@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --waseda-red: #8E2034;
    --waseda-red-light: #B02E48;
    --waseda-red-dark: #6A1828;
    --bg-gray: #F9FAFB;
    --bg-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #4B5563;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --gold: #B8960C;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 0;
}

strong { color: var(--waseda-red); font-weight: 700; }

a { color: inherit; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ── Hero ── */
.hero-container {
    background: linear-gradient(150deg, var(--waseda-red-dark) 0%, var(--waseda-red) 50%, #A52840 100%);
    color: white;
    padding: 7rem 2rem 5rem;
    text-align: center;
    border-radius: 0 0 60px 60px;
    margin-bottom: 5rem;
    box-shadow: 0 20px 40px -10px rgba(142, 32, 52, 0.4);
    position: relative;
    overflow: hidden;
}
.hero-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 60px;
    padding: 0.7rem 2.5rem;
    font-size: clamp(0.95rem, 3.5vw, 1.55rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    color: #FFFFFF;
    font-family: 'Noto Serif JP', serif;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.hero-title {
    font-size: clamp(1.55rem, 5.5vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: white !important;
}
.hero-title .highlight {
    color: #FFD580 !important;
    font-style: normal;
}
.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    line-height: 1.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    color: white;
}

/* ── CTA Button ── */
.btn-scroll {
    display: inline-block;
    background-color: var(--waseda-red);
    color: white !important;
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142,32,52,0.35);
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}
.btn-scroll:hover {
    background-color: var(--waseda-red-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(142,32,52,0.4);
    color: white !important;
    text-decoration: none;
}

/* ── Stats bar ── */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin: 0 0 4rem;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--waseda-red);
    font-family: 'Noto Serif JP', serif;
    line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-gray); margin-top: 0.25rem; }

/* ── Section Header ── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
    display: inline-block;
    border-bottom: 4px solid var(--waseda-red);
    padding-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}
.section-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--waseda-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ── Cards ── */
.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--border);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.card-icon { font-size: 2.8rem; margin-bottom: 1rem; text-align: center; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ── Pain Grid ── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ── Features ── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.feature-h3 {
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    margin-bottom: 0.75rem;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
}
.feature-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

/* ── Instructors Grid ── */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.profile-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.profile-card-header {
    background: linear-gradient(135deg, var(--waseda-red-dark), var(--waseda-red));
    padding: 1.5rem 1rem 1rem;
    text-align: center;
}
.profile-avatar {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    border: 3px solid rgba(255,255,255,0.5);
}
.profile-name { color: white !important; font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem; font-family: 'Noto Serif JP', serif; }
.profile-dept { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.profile-card-body { padding: 1.25rem; }
.profile-badge {
    display: inline-block;
    background: #FEF2F2;
    color: var(--waseda-red);
    border-radius: 50px;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0.2rem 0.15rem;
}
.profile-strength {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.5rem;
}
.profile-message {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

/* ── Comparison Table ── */
.compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 700px;
    margin: 0 auto;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-size: 0.9rem;
}
.compare-table th {
    background: var(--waseda-red);
    color: white;
    padding: 1rem 1.25rem;
    text-align: center;
}
.compare-table th:first-child { text-align: left; background: var(--waseda-red-dark); }
.compare-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: white;
    text-align: center;
}
.compare-table td:first-child { text-align: left; font-weight: 600; background: #FAFAFA; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: #FEF8F8; }

/* ── Pricing ── */
.pricing-single-wrap {
    display: flex;
    justify-content: center;
}
.pricing-single-wrap .pricing-card {
    max-width: 480px;
    width: 100%;
}
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--waseda-red); border-width: 2px; }
.pricing-badge {
    position: absolute; top: 0; right: 0;
    background: var(--waseda-red);
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom-left-radius: 12px;
}
.pricing-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--waseda-red);
    font-family: 'Noto Serif JP', serif;
}
.pricing-unit { font-size: 1rem; color: var(--text-gray); font-weight: 400; }
.pricing-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.pricing-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.pricing-list li:last-child { border-bottom: none; }
.pricing-plan-title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.pricing-plan-desc { font-size: 0.82rem; color: #666; margin-bottom: 1rem; }
.pricing-sessions { font-size: 0.78rem; color: #888; margin: 0.25rem 0 1rem; }

/* ── Flow Steps ── */
.flow-steps {
    display: flex;
    gap: 0;
    align-items: flex-start;
    margin: 0 0 2rem;
}
.flow-step {
    flex: 1;
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
}
.flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.6rem;
    top: 1.1rem;
    font-size: 1.4rem;
    color: var(--waseda-red);
    font-weight: 900;
}
.flow-number {
    width: 52px; height: 52px;
    background: var(--waseda-red);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 900;
    margin: 0 auto 0.75rem;
    font-family: 'Noto Serif JP', serif;
    box-shadow: 0 4px 12px rgba(142,32,52,0.3);
}
.flow-title {
    font-weight: 700; font-size: 0.95rem;
    margin-bottom: 0.4rem; color: var(--text-dark);
}
.flow-desc {
    font-size: 0.82rem; color: var(--text-gray); line-height: 1.65;
}
.flow-card {
    background: white; border-radius: 16px;
    padding: 1.25rem 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: white;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.97rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--waseda-red);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
    padding: 0.75rem 1.25rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
    border-top: 1px solid var(--border);
}
.faq-answer-label { font-weight: 700; color: var(--waseda-red); }

/* ── Urgency Banner ── */
.urgency-banner {
    background: #FEF2F2;
    border: 1.5px solid var(--waseda-red);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--waseda-red);
    margin: 0 auto 2rem;
    max-width: 680px;
}

/* ── Contact Form ── */
#contact { scroll-margin-top: 2rem; }
.contact-box {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    background: white;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}
.contact-box-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-box-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; font-family: 'Noto Serif JP', serif; }
.contact-box-desc { font-size: 0.9rem; color: #555; line-height: 1.7; margin-bottom: 1rem; }
.contact-box-checks { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; font-size: 0.88rem; color: #444; }

.form-wrapper { max-width: 760px; margin: 0 auto; }
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.form-grid-2-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background: white;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--waseda-red);
    box-shadow: 0 0 0 2px rgba(142,32,52,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Custom multiselect */
.multiselect-wrapper { position: relative; }
.multiselect-trigger {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background: white;
    width: 100%;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.multiselect-trigger:focus,
.multiselect-trigger.open {
    outline: none;
    border-color: var(--waseda-red);
    box-shadow: 0 0 0 2px rgba(142,32,52,0.15);
}
.multiselect-trigger-arrow { font-size: 0.7rem; color: var(--text-gray); }
.multiselect-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.multiselect-dropdown.open { display: block; }
.multiselect-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}
.multiselect-option:hover { background: #FEF2F2; }
.multiselect-option input[type="checkbox"] {
    width: auto;
    accent-color: var(--waseda-red);
    cursor: pointer;
    margin: 0;
    border: none;
    box-shadow: none;
    padding: 0;
}
.multiselect-option input[type="checkbox"]:focus {
    box-shadow: none;
    border: none;
}

/* Form submit */
.btn-submit {
    width: 100%;
    background-color: var(--waseda-red);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142,32,52,0.3);
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 1rem;
}
.btn-submit:hover {
    background-color: var(--waseda-red-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(142,32,52,0.35);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* reCAPTCHA */
.recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0.5rem;
}
.recaptcha-note {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 4px;
}

/* Privacy Policy */
.privacy-wrap {
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 11px;
    color: #888;
    line-height: 1.6;
}
.privacy-wrap p { text-align: center; margin-bottom: 12px; }
.privacy-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
}
.privacy-details summary {
    cursor: pointer;
    font-weight: bold;
    color: #555;
    list-style: none;
}
.privacy-details summary::-webkit-details-marker { display: none; }
.privacy-content { margin-top: 10px; }

/* Alert messages */
.alert {
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.95rem;
    display: none;
}
.alert.show { display: block; }
.alert-success {
    background: #F0FFF4;
    border: 1px solid #68D391;
    color: #276749;
}
.alert-error {
    background: #FFF5F5;
    border: 1px solid #FC8181;
    color: #C53030;
}

/* ── Footer ── */
.footer {
    text-align: center;
    margin-top: 5rem;
    padding: 2.5rem 1rem;
    color: #9CA3AF;
    border-top: 1px solid #E5E7EB;
    font-size: 0.85rem;
}
.footer-brand { font-weight: 700; color: #6B7280; margin-bottom: 0.5rem; }
.footer p { margin-bottom: 0.25rem; }
.footer-legal {
    display: inline-block;
    text-align: left;
    max-width: 560px;
    background: #F3F4F6;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #E5E7EB;
    font-size: 0.78rem;
    color: #6B7280;
    margin-top: 1rem;
}
.footer-legal summary {
    cursor: pointer;
    font-weight: 700;
    color: #4B5563;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-legal summary::-webkit-details-marker { display: none; }
.footer-legal-table {
    width: 100%;
    margin-top: 0.75rem;
    border-collapse: collapse;
    font-size: 0.78rem;
    line-height: 1.8;
}
.footer-legal-table td {
    padding: 0.3rem 0;
    vertical-align: top;
}
.footer-legal-table td:first-child {
    padding-right: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    color: #4B5563;
}
.footer-legal-table td:last-child { color: #6B7280; }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 900px) {
    .instructors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 5%; }

    .hero-container {
        padding: 3rem 1rem 2.5rem;
        border-radius: 0 0 28px 28px;
        margin-bottom: 2rem;
    }
    .hero-eyebrow {
        padding: 0.5rem 1.1rem;
        letter-spacing: 0.03em;
        margin-bottom: 1.25rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.75;
        max-width: 100%;
    }
    .hero-badges { gap: 0.4rem; }
    .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.6rem; }

    .btn-scroll { font-size: 0.95rem; padding: 0.7rem 1.6rem; }

    .stats-bar { gap: 1.25rem; padding: 1rem 0.75rem; margin-bottom: 2rem; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 0.72rem; }

    .section-header { margin-bottom: 1.5rem; }
    .section-header p { font-size: 0.88rem; }

    .pain-grid { grid-template-columns: 1fr; }

    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-h3 { font-size: 1.25rem; }

    .instructors-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .profile-card-body { padding: 0.85rem; }
    .profile-message { font-size: 0.8rem; }

    .pricing-card { padding: 1.25rem; }
    .pricing-price { font-size: 1.8rem; }

    .compare-table { font-size: 0.76rem; }
    .compare-table th,
    .compare-table td { padding: 0.55rem 0.6rem; }

    .flow-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    .flow-step { padding: 0; }
    .flow-step:not(:last-child)::after {
        content: "↓";
        position: static;
        display: block;
        margin: 0.5rem auto 0;
        font-size: 1.2rem;
    }

    .urgency-banner { font-size: 0.82rem; padding: 0.7rem 0.9rem; }

    .form-grid-2 { grid-template-columns: 1fr; }
    .form-grid-2-inner { grid-template-columns: 1fr; }

    .card { padding: 1.1rem; }
    .card-title { font-size: 1rem; }
}

@media (max-width: 480px) {
    .instructors-grid { grid-template-columns: 1fr; }
}
