/* ==============================================
   リセットと基本設定
============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E88E5;
    --primary-dark: #1565C0;
    --secondary-color: #FFB300;
    --secondary-dark: #FF9800;
    --accent-color: #4CAF50;
    --line-green: #06C755;
    --line-green-dark: #05B04B;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f7f9fc;
    --bg-cream: #FFF8E7;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.13);
    --transition: all 0.3s ease;
    --font-rounded: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 90px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.pc-only {
    display: inline;
}

/* ==============================================
   ヘッダー
============================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    height: 52px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-rounded);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.3;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.4;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ヘッダーCTAボタン */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.35;
    padding: 9px 18px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.35);
    transition: var(--transition);
    white-space: nowrap;
    text-align: left;
    flex-shrink: 0;
}

.header-cta i {
    font-size: 1.15rem;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--white);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
}

.mobile-menu-list li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-list a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-menu-cta {
    padding: 10px 20px 40px;
    text-align: center;
}

.mobile-menu-cta .btn-line {
    width: 100%;
}

/* ==============================================
   ヒーローセクション
============================================== */
.hero {
    position: relative;
    background: linear-gradient(180deg, #EAF5FE 0%, #DCEEFC 100%);
    padding: 70px 0 110px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
}

.hero-badge-accent {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.hero-catch {
    font-family: var(--font-rounded);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-dark);
}

.hero-catch::after {
    content: '';
    display: block;
    width: 110px;
    height: 6px;
    margin-top: 14px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.hero-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.hero-description {
    font-size: 1.02rem;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.hero-description strong {
    color: var(--primary-dark);
    font-weight: 900;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.98rem;
}

.hero-points i {
    color: var(--accent-color);
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 460px;
    height: auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* ==============================================
   ボタン
============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.02rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.45);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* LINEボタン（ヒーロー・CTAバナー用） */
.btn-line-hero {
    background: var(--line-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.btn-line-hero i {
    font-size: 1.5rem;
}

.btn-line-hero:hover {
    background: var(--line-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

/* LINE専用ボタン（お問い合わせセクション等） */
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--line-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    margin-top: 15px;
}

.btn-line i {
    font-size: 1.8rem;
}

.btn-line:hover {
    background: var(--line-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

/* フッター用LINEボタン */
.btn-line-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--line-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-line-footer i {
    font-size: 1.5rem;
}

.btn-line-footer:hover {
    background: var(--line-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

/* ==============================================
   セクション共通
============================================== */
section {
    padding: 90px 0;
}

.section-label {
    text-align: center;
    font-family: var(--font-rounded);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--secondary-dark);
    margin-bottom: 6px;
}

.section-title {
    text-align: center;
    font-family: var(--font-rounded);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
    line-height: 1.4;
}

.section-title .marker {
    background: linear-gradient(transparent 62%, #FFE082 62%);
    padding: 0 4px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ==============================================
   こんなお悩みありませんか？
============================================== */
.worries {
    background: var(--white);
    padding-top: 70px;
}

.worries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 40px auto 0;
}

.worry-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-light);
    border: 1.5px solid #e4eaf2;
    border-radius: 14px;
    padding: 20px 18px;
}

.worry-item i {
    color: var(--secondary-dark);
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.worry-item p {
    font-size: 0.98rem;
    line-height: 1.6;
    font-weight: 500;
}

.worry-item strong {
    color: var(--primary-dark);
}

.worries-arrow {
    text-align: center;
    margin: 34px 0 26px;
    color: var(--secondary-color);
    font-size: 2.2rem;
    animation: bounce 1.6s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.worries-answer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    max-width: 860px;
    margin: 0 auto;
}

.worries-answer-lead {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.worries-answer-main {
    font-family: var(--font-rounded);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.5;
}

.worries-answer-main span {
    color: #FFE082;
}

/* ==============================================
   選ばれる理由
============================================== */
.reasons {
    background: var(--bg-light);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.reason-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 44px 34px 36px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.reason-number {
    position: absolute;
    top: 6px;
    right: 18px;
    font-family: var(--font-rounded);
    font-size: 4.4rem;
    font-weight: 800;
    color: #EAF3FC;
    line-height: 1;
    user-select: none;
}

.reason-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reason-icon i {
    font-size: 1.7rem;
    color: var(--white);
}

.reason-card h3 {
    font-family: var(--font-rounded);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

/* ==============================================
   科目と授業時間
============================================== */
.subjects {
    background: var(--white);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.subject-card {
    background: var(--bg-light);
    border: 1.5px solid #e4eaf2;
    padding: 34px 26px;
    border-radius: 20px;
    transition: var(--transition);
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.subject-grade {
    font-family: var(--font-rounded);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-color);
}

.subject-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 22px;
}

.subject-time i {
    font-size: 1.6rem;
}

.subject-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.subject-item i {
    color: var(--accent-color);
    font-size: 1.15rem;
}

/* ==============================================
   スケジュール
============================================== */
.schedule {
    background: var(--bg-cream);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin-bottom: 36px;
}

.schedule-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 36px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-rounded);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.schedule-day i {
    font-size: 1.8rem;
    color: #FFE082;
}

.schedule-info {
    font-size: 1.08rem;
}

.schedule-note {
    background: var(--white);
    padding: 22px 26px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.schedule-note i {
    color: var(--primary-color);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ==============================================
   料金プラン
============================================== */
.pricing {
    background: var(--bg-light);
}

.pricing-chips {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.pricing-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--accent-color);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 8px 22px;
    border-radius: 50px;
}

.pricing-chip i {
    color: var(--accent-color);
}

.pricing-recommendation {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    padding: 38px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 46px;
    box-shadow: var(--shadow-hover);
}

.recommendation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--secondary-dark);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
}

.recommendation-title {
    font-family: var(--font-rounded);
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.recommendation-text {
    font-size: 1.06rem;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
    margin-bottom: 44px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 22px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 148px;
}

.pricing-header h3 {
    font-family: var(--font-rounded);
    font-size: 1.35rem;
    font-weight: 800;
}

.pricing-subjects {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.5;
}

.pricing-duration {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 2px 14px;
}

.pricing-plans {
    padding: 26px 18px;
}

.pricing-plan {
    padding: 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
}

.pricing-plan.recommended {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 3px solid var(--secondary-color);
}

.pricing-plan:last-child {
    margin-bottom: 0;
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 12px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.4);
}

.plan-label {
    font-size: 0.98rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.plan-price {
    font-family: var(--font-rounded);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.pricing-notes {
    background: var(--white);
    padding: 26px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

.pricing-note:last-child {
    border-bottom: none;
}

.pricing-note i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.pricing-note span {
    font-size: 1.02rem;
}

/* ==============================================
   CTAバナー
============================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-banner-title {
    font-family: var(--font-rounded);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.5;
}

.cta-banner-title span {
    color: #FFE082;
    background: linear-gradient(transparent 65%, rgba(255, 224, 130, 0.25) 65%);
    padding: 0 4px;
}

.cta-banner-text {
    font-size: 1.06rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ==============================================
   入塾までの流れ
============================================== */
.flow {
    background: var(--white);
}

.flow-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: flow;
    margin-top: 40px;
}

.flow-step {
    position: relative;
    background: var(--bg-light);
    border: 1.5px solid #e4eaf2;
    border-radius: 20px;
    padding: 30px 22px;
    text-align: center;
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.flow-step:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -19px;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    z-index: 1;
}

.flow-step-number {
    display: inline-block;
    font-family: var(--font-rounded);
    background: var(--primary-color);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.flow-step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.flow-step-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.flow-step h3 {
    font-family: var(--font-rounded);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.flow-step p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==============================================
   アクセス
============================================== */
.access {
    background: var(--bg-light);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
}

.access-item {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    background: var(--white);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.access-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.access-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.access-text h3 {
    font-family: var(--font-rounded);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.access-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.access-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.access-map iframe {
    display: block;
    height: 100%;
    min-height: 420px;
}

/* ==============================================
   FAQ（よくある質問）
============================================== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid #e4eaf2;
    border-radius: 15px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    background: var(--white);
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.faq-question span {
    display: flex;
    align-items: center;
    gap: 14px;
}

.faq-question em {
    font-style: normal;
    font-family: var(--font-rounded);
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question > i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question > i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 26px 24px 74px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

/* ==============================================
   お問い合わせ
============================================== */
.contact {
    background: var(--bg-cream);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
    margin-bottom: 46px;
}

.contact-method {
    background: var(--white);
    padding: 38px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-method-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.contact-method-icon.line-icon {
    background: linear-gradient(135deg, var(--line-green), var(--line-green-dark));
}

.contact-method-icon i {
    font-size: 2.3rem;
    color: var(--white);
}

.contact-method h3 {
    font-family: var(--font-rounded);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-method-description {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.98rem;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-title {
    font-family: var(--font-rounded);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 28px;
    text-align: center;
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.required {
    display: inline-block;
    background: #f44336;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

.form-helper {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* ==============================================
   フッター
============================================== */
.footer {
    background: #1e2a38;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.footer-logo h3 {
    font-family: var(--font-rounded);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #aab7c4;
}

.footer-address {
    color: #c3cdd8;
    line-height: 1.9;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-rounded);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #c3cdd8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: #c3cdd8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-line {
    margin-top: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #34455a;
    color: #8a99a8;
    font-size: 0.88rem;
}

/* ==============================================
   スマホ用固定CTAバー
============================================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
}

.mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.mobile-cta-line {
    background: var(--line-green);
    color: var(--white);
}

.mobile-cta-contact {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.mobile-cta-bar i {
    font-size: 1.2rem;
}

/* ==============================================
   スクロールトップボタン
============================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top.show {
    display: flex;
}

/* ==============================================
   アニメーション
============================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   レスポンシブデザイン
============================================== */
@media (max-width: 1080px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .worries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-step:nth-child(2)::after {
        display: none;
    }

    .access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 46px 0 90px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-catch {
        font-size: 2.1rem;
    }

    .hero-catch::after {
        width: 80px;
        height: 5px;
        margin-top: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-illustration {
        max-width: 340px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: 56px 0;
    }

    .worries-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .worries-answer-main {
        font-size: 1.4rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .subjects-grid,
    .pricing-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner-title {
        font-size: 1.55rem;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .flow-step::after,
    .flow-step:not(:last-child)::after {
        content: '\f078';
        top: auto;
        bottom: -27px;
        right: 50%;
        transform: translateX(50%);
    }

    .faq-answer p {
        padding-left: 26px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* 固定CTAバーの表示と重なり回避 */
    .mobile-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .scroll-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.62rem;
    }

    .logo-image {
        height: 44px;
    }

    .mobile-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }

    .hero-catch {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .btn-line {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .btn-line i {
        font-size: 1.5rem;
    }
}

/* ==============================================
   モーション低減設定への対応
============================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==============================================
   教室の様子
============================================== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.gallery-item-main {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

.access-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.access-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item-main {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

    .gallery-item figcaption {
        font-size: 0.8rem;
        padding: 20px 10px 8px;
    }
}
