/* ===== ベース ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #f08300;
    --litght-or: #f083001c;
    --light-peach: #ffe7c5;
    --peach-bg: #ffe9cf;
    --gray-bg: #f5f5f5;
    --text-main: #333;
    --text-sub: #666;
    --footer-bg: #666666;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: #ffffff;
    padding-top: 72px;
    /* ヘッダーの高さに合わせて調整 */
}

@media screen and (max-width: 768px) {
    .pc_br {
        display: none;
    }
}


/* ===== ヘッダー下の白い余白（2重）を解消 ===== */
main {
    padding-top: 0 !important;
}

/* ===== ヒーロー ===== */
.hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-image: url("../img/main-visual-BH.jpg");
    background-size: cover;
    background-position: center;
    /* padding-top: 74px; */
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.4));
    filter: grayscale(100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 64px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-card {
    /* max-width: 720px; */
    background-color: rgba(255, 255, 255, 0.85);
    ;
    border-radius: 28px;
    padding: 24px 32px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-family: "M PLUS Rounded 1c", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 6px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.15;
}

.hero-text {
    font-size: 24px;
    color: #444;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-scroll {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.75rem;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    margin-top: 4px;
    background-color: #fff;
}

/* ===== こんなお悩み ===== */
.section-orange .section-title {
    color: #fff;
}

.worries-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.worries-list li {
    background-color: #ffffff;
    color: var(--text-main);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-orange .worries-section.section-title::after {
    background-color: #fff;
}

/*   お悩みリスト：チェックアイコン */

.worries-list {
    list-style: none;
    padding: 0;
    margin: 32px auto 0;
    max-width: 800px;
}

.worries-list li {
    position: relative;
    background: #fff;
    border-radius: 999px;
    padding: 14px 20px 14px 56px;
    /* ← 左に余白 */
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

/* チェック丸 */
.worries-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 2カラム ===== */
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.accent {
    color: var(--orange);
}

.image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    width: 400px;
    height: auto;
}

.image-card img {
    width: 100%;
    display: block;
}

/* ===== 特徴カード ===== */
.feature-card {
    max-width: 850px;
    margin: 24px auto 0;
    background-color: #fff;
    border-radius: 24px;
    padding: 24px 24px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-list li {
    display: flex;
    gap: 10px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--orange);
    /* オレンジ枠 */
    flex-shrink: 0;
}

.feature-icon img {
    width: 32x;
    height: 32px;
}

.feature-list h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #f28c28;
    font-size: 24px;
}

.feature-list p {
    font-size: 0.88rem;
    color: var(--text-sub);
}

/* ===== プラン（新デザイン） ===== */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: #e8820c;
    margin-bottom: 8px;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: #e8820c;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* 選択肢ガイド */
.guide-label {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 28px;
}

.guide-label span {
    color: #e8820c;
}

/* カード2列 */
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(232, 130, 12, 0.15);
    border-color: #e8820c;
}

.card-header {
    background: #e8820c;
    color: #fff;
    padding: 20px 24px 16px;
    position: relative;
}

.card-header.light {
    background: #fff3e0;
    color: #e8820c;
}

.card-badge {
    display: inline-block;
    background: #fff;
    color: #e8820c;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.card-header.light .card-badge {
    background: #e8820c;
    color: #fff;
}

.card-name {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 4px;
}

.card-tagline {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.card-header.light .card-tagline {
    opacity: 0.8;
}

.card-body {
    padding: 20px 24px 24px;
}

/* おすすめ度 */
.recommend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.plan-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.recommend-label {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.stars {
    display: flex;
    gap: 3px;
}

.star {
    font-size: 20px;
    color: #e0e0e0;
    line-height: 1;
}

.star.on {
    color: #e8820c;
}

.recommend-text {
    font-size: 12px;
    font-weight: 700;
    color: #e8820c;
}

/* 項目リスト */
.items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.item-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.item-value {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}

.item-value.price {
    font-size: 20px;
    color: #e8820c;
}

.item-value.price span {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* タグ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    background: #fff3e0;
    color: #e8820c;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* CTAボタン */
.card-cta {
    display: block;
    text-align: center;
    background: #e8820c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    border: none;
    width: 100%;
}

.card-cta:hover {
    background: #d07008;
    transform: translateY(-1px);
}

.card-cta.outline {
    background: #fff;
    color: #e8820c;
    border: 2px solid #e8820c;
}

.card-cta.outline:hover {
    background: #fff3e0;
}

/* 推奨バナー */
.recommend-banner {
    background: linear-gradient(135deg, #fff8f0, #fff3e0);
    border: 1.5px solid #f0c070;
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.recommend-banner strong {
    color: #e8820c;
}

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

    .image-card {
        width: 350px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

/* .plan-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.plan-card {
    background: var(--litght-or);
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 22px 22px 20px;
}

.plan-head {
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.plan-title {
    padding-top: 16px;
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
    border-bottom: 2px solid rgba(240, 131, 0, 0.45);
}

.plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
}

.plan-price span {
    font-size: 24px;
    font-weight: 500;
}

.plan-etc {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 16px;
}

.plan-etc02 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.plan-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: center;
}

.plan-photo img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.plan-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 10px;
}

.plan-tags li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.plan-tags i {
    font-size: 1rem;
}

.plan-desc {
    margin: 0 0 14px;
    color: var(--text-sub);
    line-height: 1.7;
    font-size: 0.92rem;
}

.plan-btn-wrap {
    display: flex;
    justify-content: center;
}

.plan-recommend {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: end;
}

.plan-recommend-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.plan-recommend-bubble {
    background: var(--gray-bg);
    border-radius: 24px;
    padding: 16px 18px;
}

.plan-recommend-title {
    margin: 0 0 8px;
    text-align: center;
    color: var(--orange);
    font-size: 22px;
    font-weight: 800;
}

.plan-recommend-text {
    margin: 0;
    color: var(--text-sub);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0 100px;
}

.plan-bottom-btn {
    margin-top: 18px;
    display: flex;
    justify-content: center;
} */

/* 既存btnに合わせてオレンジ版が無ければ追加 */
.btn-orange {
    background: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
}

.btn-orange:hover {
    opacity: 0.9;
}

/* SP調整 */
@media (max-width: 768px) {
    .plan-card {
        padding: 18px 16px 16px;
    }

    .plan-title {
        font-size: 26px;
    }

    .plan-price {
        font-size: 24px;
    }

    .plan-body {
        grid-template-columns: 1fr;
    }

    .plan-photo {
        order: 1;
    }

    .plan-info {
        order: 2;
    }

    .plan-tags li {
        justify-content: center;
        text-align: center;
        padding: 10px;
        font-size: 12px;
    }


    .plan-recommend {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .plan-recommend-text {
        margin: 0 16px;
    }

    .plan-recommend-bubble {
        width: 100%;
        z-index: 1000;
    }

    .plan-recommend-photo img {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 50px;
    }
}


/* ===== 代表挨拶 ===== */
.greeting-card {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr);
    gap: 24px;
    align-items: center;
    background-color: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

/* ★ ここが重要：左カラムを中央寄せ */
.greeting-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ← 左右中央 */
    text-align: center;
}

/* 画像 */
.greeting-image img {
    width: 70%;
    border-radius: 20px;
    display: block;
}

/* 名前 */
.greeting-image .staff-name {
    margin-top: 12px;
}

/* 役職 */
.greeting-image .staff-role {
    margin-top: 4px;
}


/* =========================
   スタッフ紹介（縦並び・公式サイト寄せ）
========================= */

.staff-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* ★ 横2列 */
    gap: 24px;
    /* カード同士の余白 */
}

.staff-card {
    border-radius: 24px;
    padding: 22px 20px;
    background-color: var(--litght-or);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* 写真 */
.staff-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    text-align: center;
    display: block;
    /* ★ inline要素をブロック化 */
    margin-left: auto;
    /* ★ 左右中央寄せ */
    margin-right: auto;
}

/* 名前 */
.staff-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    border-bottom: 2px solid var(--orange);

    display: inline-block;
    /* ★ 文字幅にする */
    padding-bottom: 4px;
    /* 線との距離 */
    border-bottom: 2px solid var(--orange);
}

/* 役職（1行目） */
.staff-role {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--orange);
    margin: 4px 0 0;
}

/* 役職（2行目） */
.staff-role02 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-sub);
    margin: 0;
    min-height: 1.4em;
    line-height: 1.4;
}

/* コメント */
.staff-text {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-top: 12px;
    border-top: 2px dotted var(--text-sub);
    padding-top: 12px;
}

@media (max-width: 768px) {
    .staff-list {
        grid-template-columns: 1fr;
        /* ★ 縦並び */
    }
}

/* ===== 当施設について ===== */
.facility-two-column {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: center;
}

.facility-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.facility-floor {
    margin-top: 32px;
    text-align: center;
}

.facility-floor img {
    max-width: 640px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    margin-left: auto;
    margin-right: auto;
}

.facility-gallery {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    height: 120px;
    background-color: #e3e3e3;
}

.gallery-item.placeholder {
    background-image: repeating-linear-gradient(45deg,
            #e3e3e3,
            #e3e3e3 6px,
            #f5f5f5 6px,
            #f5f5f5 12px);
}

/* ===== facility slider ===== */
.facility-slider {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    gap: 12px;

    max-width: 980px;
    margin: 0 auto;
}

.facility-nav {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 2px solid #e88f3e;
    background: #fff;
    color: #e88f3e;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    user-select: none;
}

.facility-nav:active {
    transform: translateY(1px);
}

.facility-slide {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.facility-slide-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

#facilitySlideImage {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.facility-caption {
    padding: 18px 20px 20px;
}

#facilitySlideTitle {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #333;
}

#facilitySlideDesc {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* ===== lightbox ===== */
.facility-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.facility-lightbox.is-open {
    display: block;
}

.facility-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.facility-lightbox-panel {
    position: relative;
    inset: 24px;
    margin: auto;
    max-width: 1000px;
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 18px;
    overflow: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    padding: 16px;
}

.facility-lightbox-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #e88f3e;
    background: #fff;
    color: #e88f3e;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

#facilityLightboxImage {
    width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    margin-top: 8px;
}

.facility-lightbox-caption {
    width: 800px;
    margin: 0 auto;
    padding: 14px 0 8px;
}

#facilityLightboxTitle {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #333;
}

#facilityLightboxDesc {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.facility-slide-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
}

.facility-slide-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

/* ★追加：ライトボックス左右ボタン */
.facility-lightbox-nav {
    position: absolute;
    top: 18%;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
}

.facility-lightbox-prev {
    left: 16px;
}

.facility-lightbox-next {
    right: 16px;
}

/* ===== mobile ===== */
@media (max-width: 768px) {
    .facility-slider {
        grid-template-columns: 44px 1fr 44px;
        gap: 10px;
    }

    .facility-nav {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    #facilitySlideTitle {
        font-size: 18px;
    }

    .facility-lightbox-panel {
        max-height: calc(100vh - 24px);
        inset: 12px;
        padding: 16px;
        max-width: none;
        /* 横スクロールが出ないように */
        overflow-x: hidden;
        margin: 10px;
    }

    .facility-slide-images {
        display: block;
        gap: 0px;
        padding: 16px;
        justify-content: center;
    }

    .facility-slide-images img {
        height: 150px;
        width: auto;
        grid-template-columns: 1fr;
        margin-left: auto;
        margin-right: auto;
    }

    .facility-slide-button:nth-child(n + 2) {
        display: none;
    }

    #facilityLightboxImage {
        /* width: 240px; */
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 80px auto 0;
        object-fit: contain;
    }

    .facility-lightbox-caption {
        width: 100%;
        max-width: 100%;
        margin: 12px auto 0;
    }
}




/* ===== グループレッスン ===== */
.lesson-guide {
    display: grid;
    grid-template-columns: 350px 680px;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    width: 1000px;
}

.lesson-guide p {
    grid-area: 1 / 2 / 2 / 3;
}

.lesson-guide-img {
    grid-area: 2 / 2 / 3 / 3;
    gap: 20px;
    display: flex;
}

.lesson-guide-img img {
    width: 300px;
    height: auto;
    justify-content: space-between;
}

.lesson-schedule {
    grid-area: 1 / 1 / 3 / 2;
    height: 500px;
    width: auto;
    border-radius: 24px;
}

.lesson-grid {
    margin-top: 24px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px;
    background-color: var(--orange);
    border-radius: 24px;
}

.lesson-card {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lesson-image img {
    width: 66%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lesson-body {
    padding: 16px 18px 20px;
    font-size: 0.9rem;
}

.lesson-title {
    color: #f08300;
    font-size: 24px;
    text-align: center;
    margin-top: 16px;
}

.lesson-body p {
    height: 50px;
    margin-bottom: 16px;
}

.lesson-body table {
    background-color: var(--light-peach);
    border-radius: 24px;
    text-align: left;
    padding: 16px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

table td {
    padding-left: 16px;
}

.lesson-btn-box .lesson-btn {
    justify-content: center;
}

/* =========================
   グループレッスン｜スマホ対応
========================= */
@media screen and (max-width: 768px) {

    /* レッスン一覧を縦並びに */
    .lesson-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* カード全体 */
    .lesson-card {
        padding: 16px;
    }

    /* タイトル */
    .lesson-title {
        font-size: 18px;
        text-align: center;
    }

    .lesson-body {
        padding: 0px;
    }

    /* 説明文 */
    .lesson-body p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* tableをスマホ向けに */
    .lesson-body table {
        width: 100%;
        font-size: 14px;
    }

    .lesson-body th {
        width: 30%;
        padding-right: 8px;
    }

    .lesson-body td {
        padding-left: 8px;
    }

    /* 予約ボタン */
    .lesson-body .btn {
        width: 100%;
        margin-top: 12px;
    }

    .lesson-guide {
        display: block;
        gap: 24px;
        width: auto;
        text-align: center;
    }

    .lesson-guide p {
        margin: 16px 0;
    }

    .lesson-schedule {
        height: auto;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .lesson-guide-img {
        display: block;
    }

    .lesson-guide-img img {
        margin-left: auto;
        margin-right: auto;
    }
}



/*===============max-width:768px===============*/

/* ===== 会員様の声 ===== */
.voice-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.voice-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 16px 16px 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
}

.voice-text {
    margin-bottom: 10px;
    border-top: 2px dotted var(--text-sub);
    padding-top: 16px;
}

.voice-name {
    font-size: 16px;
    color: var(--text-sub);
    font-weight: 700;
}

/* =========================
   会員様の声：イラスト（アバター）
========================= */

.voice-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(242, 140, 40, 0.35);
    /* オレンジ系の薄い枠 */
    flex: 0 0 auto;
}

.voice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* はみ出し防止＆トリミング */
    display: block;
}

/* ===== コラム ===== */
.column-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.column-card {
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.column-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(232, 130, 12, 0.15);
    border-color: #e8820c;
}

/* キーボード操作でも見えるように（任意だけどおすすめ） */
.column-card:focus-visible {
    outline: none;
    border-color: #e8820c;
    box-shadow: 0 0 0 4px rgba(232, 130, 12, 0.25);
}

.column-image img {
    width: 100%;
    display: block;
}

.column-body {
    padding: 16px 18px 18px;
    font-size: 0.9rem;
}

.column-category {
    font-size: 0.8rem;
    color: var(--orange);
    margin-bottom: 4px;
}

/* ===== FAQ ===== */
.faq-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "＋";
    float: right;
}

.faq-item[open] summary::after {
    content: "－";
}

.faq-answer {
    margin-top: 8px;
    color: var(--text-sub);
}

/* ===== Instagram ===== */
.insta-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.insta-item {
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.insta-item img {
    width: 100%;
    display: block;
}

.insta-item a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    /* 角丸は好みで調整OK */
}

/* 画像は親の角丸に合わせる（保険） */
.insta-item img {
    display: block;
    width: 100%;
    height: auto;
}

.insta-item a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

/* 画像 */
.insta-item img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

/* オーバーレイ（タイトル背景） */
.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0));

    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* タイトル */
.instagram-caption {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* ===== hover時の動き ===== */
.insta-item a:hover img {
    transform: scale(1.08);
}

.insta-item a:hover .instagram-overlay {
    opacity: 1;
}

.insta-item a:hover .instagram-caption {
    transform: translateY(0);
}

/* ===== お知らせ ===== */
.news-card {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 24px;
    background-color: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.news-image img {
    width: 100%;
    border-radius: 18px;
}

.news-body h3 {
    font-size: 32px;
    margin-bottom: 24px;
}

.news-text {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.news-list {
    font-size: 0.9rem;
    margin-left: 1rem;
    margin-bottom: 8px;
}

.news-sign {
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ===== 認定取得への道のり ===== */
.certification-card {
    background-color: rgba(240, 131, 0, 0.1);
    border-radius: 48px;
    padding: 56px 56px 52px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.certification-title {
    font-size: 2.2rem;
    color: var(--orange);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.certification-title-underline {
    width: 180px;
    height: 4px;
    margin: 0 auto 24px;
    background-color: var(--orange);
    border-radius: 999px;
}

.certification-lead {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* --- フロー --- */
.certification-flow {
    margin: 40px auto 32px;
    max-width: 900px;
    position: relative;
    padding-top: 64px;
    overflow-x: auto;
}

.certification-flow-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    min-width: 720px;
}

/* 背景のライン（左側オレンジ → 右側グレー） */
.certification-flow::before {
    content: "";
    position: absolute;
    left: 13%;
    right: 6%;
    top: 95px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right,
            var(--orange) 0%,
            var(--orange) 20%,
            #d5d5d5 20%,
            #d5d5d5 100%);
}

/* 各ステップ */
.cert-step {
    position: relative;
    text-align: center;
    flex: 1 1 auto;
}

.cert-step-number {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #a5a5a5;
}

.cert-step-number.is-current {
    background-color: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.cert-step-title {
    display: inline-block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    padding-bottom: 4px;

    color: var(--orange);
}

.cert-step-text {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 2px;
}

/* 下部の説明文 */
.certification-note p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 768px) {
    .certification-card {
        padding: 40px 20px 36px;
        border-radius: 32px;
    }

    .certification-title {
        font-size: 24px
    }

    .cert-step-text {
        font-size: 14px;
    }

    .certification-flow-inner {
        min-width: 640px;
        gap: 24px;
    }

    .certification-flow-inner {
        display: grid;
    }

    .cert-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-rows: repeat(2, 30px);
    }

    .cert-step-number {
        grid-area: 1 / 1 / 3 / 2;
    }

    .cert-step-title,
    .cert-step-text {
        text-align: left;
    }

    /* PC用の横ラインを消す */
    .certification-flow::before {
        display: none;
    }

    /* 横スクロールをやめて縦並びにする */
    .certification-flow {
        padding-top: 0;
        overflow: visible;
    }

    .certification-flow-inner {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
        position: relative;
    }

    /* 縦ライン（全体で1本） */
    .certification-flow-inner::before {
        content: "";
        position: absolute;
        left: 40px;
        /* 丸の中心位置（80pxカラム内で64px丸が中央） */
        top: 32px;
        /* 丸の中心（64px / 2） */
        bottom: 32px;
        /* 最後の丸の中心まで */
        width: 4px;
        background: #e0e0e0;
        border-radius: 999px;
        z-index: 0;
    }

    /* 1ステップの並び（丸 + テキスト） */
    .cert-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        column-gap: 16px;
        align-items: start;
        text-align: left;
        position: relative;
        z-index: 1;
        /* 縦線より前に出す */
    }

    .cert-step-number {
        margin: 0 auto;
        /* 80pxカラムの中央に丸 */
    }

    .cert-step-title,
    .cert-step-text {
        text-align: left;
    }
}

/* ===== アクセス ===== */
.access-grid {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex-wrap: nowrap;
    /* ★ 横並び固定 */
}

/* 左（地図）と右（カード）が縮められるようにする */
.access-map,
.access-card {
    min-width: 0;
    /* ★ これがないと、はみ出して重なりやすい */
}

/* 地図エリア */
.access-map {
    flex: 1.1;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    /* ★ はみ出し防止 */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 10;
    /* ★ 高さを安定させる（必要なら調整） */
}

/* Googleマップ（iframe）をコンテナいっぱいに */
.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* もし画像地図を使う場合もOK */
.access-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右側カード */
.access-card {
    flex: 1.2;
    background-color: #fff;
    border-radius: 24px;
    padding: 20px 22px;
}

/* ロゴ行 */
.access-logo-row {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.access-logo-row img {
    width: 50px;
    height: auto;
    margin-right: 8px;
}

.access-logo-row span {
    font-size: 1.8rem;
    font-weight: 700;
}

.access-item-title {
    color: #f08300;
}

.access-text {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.access-items {
    margin-bottom: 16px;
}

.access-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.access-item-icon {
    width: 36px;
    height: 36px;
    border: 2px solid #f08300;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f08300;
    flex: 0 0 36px;
    margin-top: 2px;
    background: #fff;
}

@media screen and (max-width:768px) {

    .access-card {
        padding: 16px;
    }

    .access-grid {
        margin-top: 24px;
        display: grid;
        gap: 16px;
    }

    .access-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .access-logo-row {
        gap: 0px;
    }

    .access-logo-row img {
        display: none;
    }

    .access-logo-row span {
        font-size: 22px;
    }

}

/*===============max-width:768px===============*/



/* ===== レスポンシブ ===== */
@media (max-width: 960px) {

    .two-column,
    .greeting-card,
    .facility-two-column,
    .news-card {
        grid-template-columns: minmax(0, 1fr);
    }

    /* .program-grid, */
    .voice-grid,
    .column-grid,
    .insta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-card {
        padding: 8px;
    }

    .hero-title {
        font-size: 40px;
        padding: 30px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .hero-text {
        font-size: 16px;
    }

    .worries-list li {
        font-size: 16px;
        padding: 14px 14px 14px 50px;
        display: grid;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .feature-list {
        /* flex-direction: column; */
        align-items: center;
        /* 横方向の中央揃え */
        gap: 32px;
        /* 要素同士の間隔（好みで調整OK） */
    }

    .feature-list>* {
        width: 100%;
        max-width: 420px;
        /* 横幅を揃えて中央に見せる（不要なら消してOK） */
        text-align: center;
        /* 中の文字も中央に */
    }

    .feature-list li {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        /* li全体を中央寄せ */
        text-align: center;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.5rem;
        color: var(--orange);
    }

    .staff-card {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .staff-text {
        text-align: left;
    }

    .voice-grid,
    /* .program-grid, */
    .column-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .facility-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
    }
}

/* =========================
   CTA：PCはヘッダー右端 / スマホは画面下固定
   ※ style.css 最下部に追記
========================= */

/* 共通（見た目はサイトに合わせて微調整OK） */
/* .header-cta,
.mobile-cta {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
} */

/* PC：ヘッダー右端CTA */
/* .header-cta {
    padding: 12px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
} */


/* スマホ下固定CTA（初期は非表示） */
/* .mobile-cta {
    display: none;
} */

/* スマホだけ：下固定CTAを表示、ヘッダーCTAは隠す */
/* @media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    .mobile-cta {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-50%);

        width: calc(100vw - 32px);
        max-width: 420px;
        box-sizing: border-box;

        height: 52px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 2000;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }

    body {
        padding-bottom: 90px;
    }
} */

/* =========================
   section-title を全て中央寄せ
========================= */
.section-title {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

/* ==================================================
   Mobile hamburger menu override (2026-01)
   - Overrides duplicated mobile nav rules
================================================== */

main {
    padding-top: 74px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 96px;
    }
}