/* Base Styles */
:root {
    --primary: #1A2542;
    --accent: #FFA733;
    --accent-hover: #FFB85A;
    --surface: #F7F8FA;
    --text: #333333;
    --error: #FF4D4D;
    --success: #2ECC71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--surface);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    width: 50%;
    animation: fadeUp 600ms 150ms ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-image {
    width: 45%;
    height: 450px;
    background-image: url('https://cdn.pixabay.com/photo/2017/09/09/18/25/living-room-2732939_1280.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.main-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.sub-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.sub-copy {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-container {
    margin-top: 2rem;
}

.cta-micro {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.8);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Problem-Solution Section */
.problem-solution {
    padding: 80px 0;
    background-color: white;
}

.problem-solution .container {
    display: flex;
    gap: 30px;
}

.problem, .solution {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
}

.problem {
    background-color: #FFEBE8;
    color: #DD4B39;
}

.solution {
    background-color: white;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.problem h2, .solution h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.problem ul, .solution ul {
    list-style: none;
}

.problem li, .solution li {
    margin-bottom: 12px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--surface);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefit-columns {
    display: flex;
    gap: 30px;
}

.benefit-col {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    background-color: var(--surface);
}

.benefit-col h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit-col ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.benefit-col li {
    margin-bottom: 12px;
}

.benefit-highlight {
    background-color: var(--accent);
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: var(--surface);
}

.slider {
    position: relative;
    overflow: hidden;
}

.before-after {
    display: flex;
    gap: 30px;
}

.before, .after {
    flex: 1;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.before h4, .after h4 {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 1;
}

.before {
    background-image: url('https://cdn.pixabay.com/photo/2017/03/28/12/13/chairs-2181968_1280.jpg');
    background-size: cover;
    background-position: center;
}

.after {
    background-image: url('https://cdn.pixabay.com/photo/2017/03/22/17/39/kitchen-2165756_1280.jpg');
    background-size: cover;
    background-position: center;
}

.case-info {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}

.case-detail {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.prev-slide, .next-slide {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: white;
}

.review-cards {
    display: flex;
    justify-content: center;
}

.review-card {
    background-color: var(--surface);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    max-width: 600px;
}

.stars {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.review-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.reviewer {
    text-align: right;
    font-style: italic;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--surface);
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: white;
    padding: 15px 20px;
    text-align: left;
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 15px 0 20px;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* Register CTA Section */
.register-cta {
    padding: 80px 0;
    background-color: var(--primary);
    color: white;
}

.cta-title {
    text-align: center;
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.cta-sub {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.register-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-align: center;
}

.form-info {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
}

input:invalid {
    border-color: var(--error) !important;
}

.toggle-container {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #eee;
}

.toggle-container input[type="radio"] {
    display: none;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background-color: #F0F0F0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-container input[type="radio"]:checked + .toggle-btn {
    background-color: var(--accent);
    color: white;
}

.register-form .btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 50px 0;
    background-color: var(--primary);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h2 {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--accent);
}

.terms-section {
    margin-bottom: 30px;
}

.terms-section h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.terms-section p, .terms-section li {
    margin-bottom: 15px;
}

.terms-section ol {
    padding-left: 25px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.company-table th,
.company-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.company-table th {
    width: 30%;
    font-weight: 700;
    background-color: #f8f8f8;
}

.company-history {
    list-style-type: none;
    padding: 0;
}

.company-history li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .problem-solution .container,
    .benefit-columns,
    .steps {
        flex-direction: column;
    }
    
    .step, .benefit-col {
        margin-bottom: 20px;
    }
    
    .before-after {
        flex-direction: column;
    }
    
    .before, .after {
        height: 220px;
        margin-bottom: 10px;
    }
    
    .case-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
}