/* Resets & Base */
:root {
    --color-bg-dark: #122540;
    /* Slightly softer Navy */
    --color-bg-light: #f7f9fb;
    --color-gold: #c5a059;
    --color-gold-light: #f0e6d2;
    --color-text-main: #4a4a4a;
    /* Softer text color */
    --color-text-white: #ffffff;

    /* Font Settings */
    --font-main: 'fot-tsukuardgothic-std', 'TsukuARDGothic-Std', 'Noto Sans JP', sans-serif;
    --font-eng: 'fot-tsukuardgothic-std', sans-serif;
    /* Use same rounded feel for Eng */

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.8;
    /* More breathing room */
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.text-bold {
    font-weight: 700;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-white {
    background-color: #fff;
}

.bg-gold {
    background-color: var(--color-gold-light);
}

.section {
    position: relative;
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: var(--radius-full);
    /* Fully rounded */
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: var(--font-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #d4af67, #b08d45);
    /* Soft gold gradient */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

.btn-white {
    background-color: #fff;
    color: var(--color-bg-dark);
}

.btn-white:hover {
    background-color: #f2f2f2;
}

.btn-large {
    font-size: 1.2rem;
    padding: 22px 70px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.3rem;
    color: var(--color-bg-dark);
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-image: url('../assets/family_hero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding-top: 80px;
    border-bottom-left-radius: 50px;
    /* Modern curve */
    border-bottom-right-radius: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better text contrast */
    background: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.4;
    margin: 25px 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Shadow for readability */
}

.hero-sub {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    /* Stack on mobile by default or wrap */
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    /* Slightly more padding */
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Slight border for definition */
}

/* Instructor Section */
.instructor-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.instructor-img-box {
    flex-shrink: 0;
}

.instructor-img {
    width: 280px;
    height: 280px;
    background: url('../assets/kuranari.jpg') center/cover no-repeat;
    border-radius: 50%;
    border: 5px solid var(--color-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.organizer-img {
    width: 280px;
    height: 280px;
    background: url('../assets/shioya.png') center/cover no-repeat;
    border-radius: 50%;
    border: 5px solid var(--color-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.instructor-content {
    text-align: left;
    flex: 1;
}

@media (max-width: 768px) {
    .instructor-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .instructor-content {
        text-align: center;
    }
}

/* Badge Section (Round) */
.badge-round {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #f6f1e6;
    /* Soft border */
    color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.badge-round:hover {
    transform: translateY(-5px);
}

.badge-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 700;
}

.badge-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

/* Problem Section */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.problem-item {
    background: #fff;
    padding: 20px;
}

.circle-img {
    width: 130px;
    height: 130px;
    background-color: #eee;
    border-radius: 50%;
    /* Circle */
    margin: 0 auto 25px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.problem-item h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--color-bg-dark);
}

.problem-arrow {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin: 50px 0 30px;
    opacity: 0.5;
}

.section-lead {
    font-size: 1.6rem;
    color: var(--color-bg-dark);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    /* Rounded card */
    position: relative;
    top: 0;
    transition: top 0.3s;
}

.feature-box:hover {
    top: -10px;
}

.feature-num {
    font-size: 3.5rem;
    color: #f0f0f0;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-box h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--color-bg-dark);
}

/* Section Dark CTA */
.section-dark-cta {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 100px 0;
    border-radius: 50px;
    margin: 40px 20px;
    /* Floating rounded section */
    width: auto;
}

/* Voice */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.voice-item {
    background: #fdfdfd;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.voice-content {
    text-align: left;
    width: 100%;
}

.voice-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e0e0e0;
    margin-bottom: 20px;
}

.voice-title {
    color: var(--color-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 90px 0;
    background: #fffbf2;
    border-radius: 60px 60px 0 0;
    /* Top rounded */
}

/* Flow */
.flow-steps {
    max-width: 850px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.step-num {
    font-size: 2.8rem;
    color: var(--color-gold);
    font-weight: 700;
    margin-right: 40px;
    min-width: 80px;
    text-align: center;
}

.step-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-bg-dark);
}

/* FAQ */
.faq-item {
    background: #fff;
    padding: 35px;
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    border: 1px solid #f0f0f0;
}

.question {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background-color: #122540;
    color: #fff;
    padding: 80px 0 30px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -50px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
}

.footer-logo h3 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .section-dark-cta {
        margin: 20px 10px;
        border-radius: 30px;
        padding: 60px 0;
    }

    .hero {
        border-radius: 0 0 30px 30px;
        min-height: 550px;
    }

    .hero-overlay {
        border-radius: 0 0 30px 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    /* Buttons */
    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 16px 40px;
    }

    /* Header */
    .header-inner {
        height: 60px;
    }

    .logo {
        font-size: 1rem;
    }

    /* Comparison Table */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table-wrapper table {
        min-width: 520px;
        font-size: 0.75rem;
    }

    .comparison-table-wrapper th,
    .comparison-table-wrapper td {
        padding: 10px 6px !important;
        font-size: 0.72rem !important;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        padding: 30px 25px;
    }

    .feature-num {
        font-size: 2.5rem;
    }

    .feature-box h4 {
        font-size: 1.2rem;
    }

    /* Instructor */
    .instructor-img,
    .organizer-img {
        width: 200px;
        height: 200px;
    }

    /* Steps */
    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-num {
        margin: 0 0 15px 0;
    }

    /* Voice */
    .voice-grid {
        grid-template-columns: 1fr;
    }

    .voice-item {
        padding: 25px;
    }

    /* Problems */
    .problems-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-item {
        padding: 25px;
    }

    /* Footer */
    .footer-logo {
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-contact {
        text-align: center;
        width: 100%;
    }

    footer {
        padding: 50px 0 20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    /* Curriculum */
    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Badge rounds */
    .badge-round {
        width: 120px;
        height: 120px;
    }

    .badge-value {
        font-size: 1.4rem;
    }

    .badge-label {
        font-size: 0.75rem;
    }

    /* Section lead */
    .section-lead {
        font-size: 1.2rem;
    }

    /* CTA section */
    .cta-section {
        padding: 50px 0;
        border-radius: 30px 30px 0 0;
    }

    /* Inline grid overrides */
    .mobile-features-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .mobile-voice-grid {
        grid-template-columns: 1fr !important;
    }

    .mobile-flow-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Curriculum Section */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.curriculum-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.curriculum-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.curr-num {
    background: var(--color-gold);
    color: #fff;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.curr-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-bg-dark);
}

.curr-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 768px) {
    .curriculum-item {
        flex-direction: column;
        gap: 15px;
    }
}