/* ==========================================
   1. サイト全体の共通設定（リセット・初期化）
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ページ全体でアンカー移動を滑らかにする */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333333;
    background-color: #fcf9f5;
    overflow-x: hidden;
}

/* ハンバーガーメニュー展開時に背景をスクロールさせないクラス（JSで制御） */
body.is-fixed {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #333333;
}

ul {
    list-style: none;
}

/* 共通コンテナ（横幅の制限・中央寄せ） */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

/* PC専用改行のコントロール */
.pc-only {
    display: inline;
}

/* 【バグ解消】スマホ専用改行の初期設定（PCでは非表示にする） */
.sp-only {
    display: none;
}


/* ==========================================
   2. ヘッダー全体のレイアウト
   ========================================== */
.site-header {
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ */
.header-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #b58d53;
}

.logo-branch {
    font-size: 11px;
    border: 1px solid #b58d53;
    color: #b58d53;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

/* ナビゲーション（PC用） */
.header-nav {
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 28px;
}

.nav-list a {
    font-size: 14px;
    font-weight: bold;
    color: #444444;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #b58d53;
}

/* SP用ナビ内コンバージョンボタン（PC時は非表示） */
.sp-nav-buttons {
    display: none;
}

/* ヘッダー右側ボタン（PC用） */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-mail, .btn-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    transition: opacity 0.3s;
}

.btn-mail { background-color: #b58d53; }
.btn-line { background-color: #06c755; }

.btn-mail:hover, .btn-line:hover {
    opacity: 0.85;
}

/* ハンバーガーボタン（PC時は非表示） */
.header-hamburger {
    display: none;
}

.header-mail-btn {
    display: inline-flex;     
    align-items: center;     
    justify-content: center; 
    text-decoration: none; 
    color: #fff;
    background: #b58d53;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

/* アイコンの余白調整 */
.header-mail-btn .icon {
    margin-right: 8px;
}


/* ==========================================
   3. メインビジュアル（MV）エリア
   ========================================== */
.main-content { padding-top: 90px; }

.main-visual {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('img/CHULA GYM2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.mv-left { width: 100%; max-width: 520px; }
.mv-right { width: 100%; max-width: 520px; }

/* タイトル周り */
.sub-title {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    color: #b58d53;
    background-color: #f5ece0;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 54px;
    line-height: 1.25;
    color: #333333;
    margin-bottom: 28px;
    font-weight: 700;
    word-break: keep-all;
    line-height: 1.3;
}

.mv-lead { font-size: 18px; line-height: 1.7; color: #555555; margin-bottom: 32px; font-weight: bold;}

/* チェックリスト */
.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 40px;
}
.check-list li { font-size: 17px; font-weight: bold; color: #444444; display: flex; align-items: center; }
.check-icon { color: #b58d53; margin-right: 8px; }

/* ボタン */
.mv-buttons { display: flex; gap: 16px; }
.mv-btn-line, .mv-btn-mail {
    display: inline-flex; align-items: center; justify-content: center;
    width: 250px; height: 54px; border-radius: 50px; font-size: 14px; font-weight: bold;
    color: #ffffff; transition: opacity 0.3s;
}
.mv-btn-line { background-color: #06c755; }
.mv-btn-mail { background-color: #ffffff; color: #b58d53; border: 1px solid #b58d53; }

/* PC時：画像非表示 ＆ レイアウト確定 */
@media screen and (min-width: 961px) {
    .mv-image { display: none !important; }
}

/* --- スマホ表示用（960px以下） --- */
@media screen and (max-width: 960px) {

    /* 1. リード文を2行にするための調整 */
    .mv-lead {
        padding: 0 10px;
        line-height: 1.6;
        word-break: break-all;
        font-size: 11px;
    }

    /* 2. リストを中央寄せにする */
    .check-list {
        display: block;
        width: fit-content;
        margin: 0 auto 30px auto;
        text-align: left;
    }

    
    .check-list li {
        margin-bottom: 8px;
    }

    .mv-image {
        width: 90%; 
        max-width: 400px;
        margin: 20px auto;
    }

    .mv-image img {
        width: 100%;
        height: auto;
        display: block; 
        border-radius: 12px; 
    }

    .mv-buttons {
        margin-top: 120px;
        flex-direction: column;
        gap: 12px;
    }

    @media screen and (max-width: 960px) {
    .main-visual {
        /* coverだと拡大されすぎるので、containを使って全体を表示させる */
        background-size: contain; 
    }
}
}


/* ==========================================
   4. 共通セクションタイトルヘッダー
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-sub {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #b58d53;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    color: #333333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #b58d53;
}

.access-info .section-title::after {
    position: static;        /* 中央寄せ（absolute）を解除 */
    transform: none;         /* ズレをリセット */
    display: block;          /* 改行してブロック要素にする */
    margin: 15px 0 25px 0;   /* 左寄せで余白を作る */
    width: 50px;             /* 線の長さ */
}


/* ==========================================
   5. お悩み解決セクション（RECOMMENDED）
   ========================================== */
.troubles-section {
    width: 100%;
    padding: 80px 0;
}

.troubles-wrapper {
    background-color: #f3f4f6;
    border-radius: 24px;
    padding: 60px 50px;
}

.troubles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.trouble-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.trouble-icon {
    width: 28px;
    height: 28px;
    background-color: #ff4d4d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.trouble-content {
    flex: 1;
}

.trouble-title {
    font-size: 17px;
    font-weight: bold;
    color: #222222;
    line-height: 1.5;
    margin-bottom: 12px;
}

.trouble-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
}

/* グレー枠の「内側」に合わせたリード文スタイル */
.troubles-lead {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #b58d53;
    margin-top: 50px;
    line-height: 1.6;
}


/* ==========================================
   06.選ばれる理由セクション
   ========================================== */
.strength-section { padding: 100px 0; background-color: #fcf9f5; }

.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.strength-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); 
    cursor: pointer; 
}

.number {
    font-size: 24px;
    font-weight: bold;
    color: #b58d53;
    background: #f5ece0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 30px;
}

.strength-title { font-size: 22px; font-weight: bold; margin-bottom: 20px; color: #333; }
.strength-text { font-size: 14px; line-height: 1.8; color: #666; }

/* スマホ対応 */
@media screen and (max-width: 960px) {
    .strength-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   4つの独自アプローチセクション
   ========================================== */
.features-section { padding: 100px 0; background-color: #fcf9f5; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #f7f1eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 26px;
}

.feature-card-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: #222; }
.feature-card-text { font-size: 13px; line-height: 1.7; color: #666; }

/* スマホ・タブレット対応 */
@media screen and (max-width: 960px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
}
/* ==========================================
   9. 実績＆喜びの声セクション（VOICE & RESULTS）
   ========================================== */
.results-section {
    width: 100%;
    padding: 0;
    background-color: transparent;
    margin-bottom: 60px;
}

.results-grid {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

.result-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.course-label {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #b58d53;
    background-color: #f5ece0;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.result-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.user-info {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
}

/* BEFORE/AFTER 比較ボックス */
.compare-box {
    margin: 20px 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.result-img {
    width: 100%;       
    height: auto;     
    display: block;  
}

.img-placeholder {
    flex: 1;
    height: 180px;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    font-weight: bold;
}

/* データ表示ボックス */
.data-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; 
    background-color: #fcf9f5;
    padding: 15px; 
    border-radius: 16px;
    margin-bottom: 25px;
}

.data-item {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    text-align: center; 
}

.highlight {
    font-size: 22px; 
    font-weight: 800; 
    color: #ff4d4d;
    display: inline-block;
    margin: 0 4px;
}
.voice-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.diff-text {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ff4d4d;
    margin-top: 2px;
}

/* SP調整用（@media内に追加） */
@media screen and (max-width: 960px) {
    .results-grid {
        flex-direction: column;
    }
    .result-card {
        padding: 30px 20px;
    }
}

/* ==========================================
   10. お客様の声セクション（Voice & Reviews）
   ========================================== */
.voice-section {
    padding: 0;
    background-color: transparent;
}

/* 全体を囲む白いボックス */
.voice-box {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* ヘッダー部分（タイトルとGoogle評価） */
.voice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.voice-main-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.voice-sub-text {
    font-size: 13px;
    color: #999;
}

.google-rating {
    text-align: right;
}

.rating-score {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}

.stars {
    color: #ffb800;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 11px;
    color: #666;
}

/* カードのグリッドレイアウト */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.voice-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.avatar {
    width: 45px;
    height: 45px;
    background-color: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #777;
}

.name {
    font-size: 15px;
    font-weight: bold;
}

.plan {
    font-size: 11px;
    color: #b58d53;
}

.voice-comment {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-top: 15px;
}

/* SP調整用 */
@media screen and (max-width: 960px) {
    .voice-box {
        padding: 30px 20px;
    }
    .voice-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .voice-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   11. 料金プランセクション（Plans & Price）
   ========================================== */
.plans-section {
    padding-top: 100px; 
    padding-bottom: 50px;
}

.admission-fee {
    text-align: center;
    background: #ffffff;
    padding: 25px 40px;
    border-radius: 12px;
    border: 1px solid #e0d0b8;
    margin: 30px auto;
    max-width: 500px;
}


.fee-label { 
    font-size: 11px; 
    color: #999999; 
    font-weight: bold; 
    margin-bottom: 8px; 
    letter-spacing: 0.1em;
}


.fee-text { 
    font-size: 20px; 
    font-weight: bold; 
    color: #333333; 
}


.price-amount {
    color: #b58d53;
    font-size: 28px; 
    margin: 0 5px;
}


.fee-text span:last-child { 
    font-size: 13px; 
    color: #333333; 
    font-weight: normal;
}

.course-heading {
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.plans-grid { display: flex; gap: 30px; }

.plan-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    position: relative;
}


.plan-tag, .plan-tag-orange {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}
.plan-tag { background: #f3f3f3; color: #666; }
.plan-tag-orange { background: #fdf2e9; color: #d35400; }

.high-results-badge {
    position: absolute;
    top: 0; right: 20px;
    background: #c5a069;
    color: #fff;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 0 0 6px 6px;
}

.plan-title { font-size: 20px; margin-bottom: 10px; }
.plan-desc { font-size: 13px; color: #777; margin-bottom: 20px; }

.plan-table { width: 100%; border-collapse: collapse; }
.plan-table th { font-size: 12px; color: #888; padding: 10px 5px; text-align: left; border-bottom: 1px solid #eee; }
.plan-table td { padding: 15px 5px; font-weight: bold; border-bottom: 1px solid #f9f9f9; }

/* スマホ対応 */
@media screen and (max-width: 960px) {
    .plans-grid { flex-direction: column; }
}

@media screen and (max-width: 600px) {
    .badge {
        display: block !important;    /* 縦積みにする */
        white-space: nowrap !important; /* 折り返し禁止 */
        font-size: 10px !important;    /* 小さくして収まりを良くする */
        margin-top: 2px !important;    /* 24回との隙間を少し空ける */
        text-align: center !important; /* 中央寄せ */
    }
}

/* ==========================================
   その他のサービスセクション
   ========================================== */

/* Flexboxで横並びを管理 */
.extra-services-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}


.service-col {
    flex: 0 1 calc(50% - 15px);
    min-width: 350px;
}

/* 3. カード本体：見た目の定義 */
.service-card {
    background: #ffffff;
    border: 1px solid #ede1d1;
    border-radius: 20px;
    padding: 40px;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

/* 4. スマホ対応：完全に縦並びにする */
@media screen and (max-width: 960px) {
    .service-col {
        min-width: 100%;
    }
}

/* --- カード内部のパーツ設定 --- */
.service-card h3 { font-size: 20px; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.service-card .desc { font-size: 14px; color: #666; margin-bottom: 25px; }
.service-row { background: #fdfaf7; padding: 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: bold; }
.locker-price-row { display: flex; justify-content: space-between; align-items: center; background: #fcfcfc; padding: 15px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: bold; border: 1px solid #eee; }
.locker-box {
    background: #fdfaf7;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}
.locker-label { font-size: 11px; color: #b58d53; margin-bottom: 10px; font-weight: bold; display: block;}
.locker-grid {
    display: flex !important; /* 他のスタイルを上書き */
    flex-direction: row !important; /* 強制的に横並び */
    flex-wrap: nowrap !important; /* スマホでも無理やり横に並べる */
    gap: 5px !important; /* 隙間を詰める */
    margin: 15px 0 !important;
}

/* 各アイテム：幅を固定してはみ出さないようにする */
.locker-item {
    flex: 1 !important; /* 3つが均等な幅になる */
    min-width: 0 !important; /* 折り返しを防止 */
    padding: 10px 2px !important;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}
.locker-item strong { display: block; margin-bottom: 5px; color: #666; }
.locker-note {
    font-size: 10px;
    color: #888;
    line-height: 1.5;
    margin-top: 10px;
    order: 2;
}



@media screen and (min-width: 601px) {
    .locker-label br {
        display: none;
    }
}

/* --- スマホ専用の修正（画面幅600px以下に適用） --- */
@media screen and (max-width: 600px) {
    
    /* 1. グリッドを強制縦並び */
    .locker-grid {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }
    
    /* 2. アイテムの横並び設定を解除 */
    .locker-item {
        flex: 1 1 100% !important;
        white-space: normal !important; /* 折り返しを許可 */
        width: 100% !important;
    }

    /* 3. ラベルと注意書きのレイアウト修正 */
    .locker-label,
    .locker-note {
        white-space: normal !important; /* 改行を許可 */
        word-break: break-all !important;
        display: block !important;
        width: 100% !important;
    }
}

/* --- ビジター利用エリアの調整 --- */

/* スマホの時だけレイアウトを縦積みにする */
@media screen and (max-width: 600px) {
    /* マンツーマンやペア利用の行を縦並びに変更 */
    .service-row {
        flex-direction: column !important; /* 横並びから縦並びへ */
        align-items: flex-start !important; /* 左寄せにする */
        gap: 5px !important; /* メニュー名と料金の間の隙間 */
        padding: 15px !important;
    }

    /* 料金の文字を強調 */
    .service-row span:last-child {
        font-size: 16px !important;
        font-weight: bold;
        color: #333; /* 必要であれば色を合わせる */
    }
}

@media screen and (min-width: 601px) {
    .desc br {
        display: none;
    }
}

/* ==========================================
   トレーナー紹介セクション
   ========================================== */
.trainer-section { padding: 100px 0; background-color: #ffffff; }

.trainer-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; 
    max-width: 900px;
    margin: 50px auto 0;
}

.trainer-image { 
    flex: 0 0 300px; 
}

.trainer-image img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.trainer-content {
    flex: 0 0 500px;
}

.trainer-content h3 { font-size: 28px; margin: 15px 0 25px; line-height: 1.4; color: #333; }
.trainer-text { font-size: 14px; line-height: 1.8; color: #666; margin-bottom: 20px; }
.gold-text {
    color: #b58d53;
}

/* 実績・資格ボックス */
.trainer-stats { 
    display: flex; 
    gap: 20px; 
    background: #fcfcfc; 
    padding: 20px; 
    border-radius: 16px; 
    border: 1px solid #eee;
    margin-top: 25px; 
}
.stat-label { font-size: 11px; color: #999; display: block; margin-bottom: 5px; }
.stat-value { font-size: 14px; font-weight: bold; color: #333; }

.accent-text {
    color: #333; 
    font-weight: 800; 
}

.text-accent {
    color: #333;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 960px) {
    .trainer-wrapper { flex-direction: column; gap: 40px; }
    .trainer-image { flex: 1; width: 100%; }
}

/* ==========================================
   ご入会の流れセクション
   ========================================== */
.flow-section { padding: 100px 0; background-color: #fcfcfc; }

.flow-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.flow-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step-num { font-size: 12px; color: #b58d53; font-weight: bold; margin-bottom: 10px; }
.step-icon { font-size: 30px; margin-bottom: 15px; }
.flow-item h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.flow-item p { font-size: 13px; color: #666; line-height: 1.6; }

/* スマホ対応：画面が狭いときは縦積み */
@media screen and (max-width: 768px) {
    .flow-wrapper { grid-template-columns: 1fr; }
}

/* ==========================================
   店舗アクセスセクション
   ========================================== */
.access-section { padding: 100px 0; background-color: #fff; }

.access-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}



.access-info { flex: 1; }
.access-map {
    flex: 0 0 50%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* 詳細部分のスタイル */
.access-detail h3 { font-size: 24px; margin: 20px 0 10px; color: #333; }
.business-hours { display: flex; gap: 40px; margin-top: 20px; }
.business-hours .label { font-size: 12px; color: #888; letter-spacing: 0.1em; }
.business-hours p { font-size: 18px; font-weight: bold; margin-top: 5px;}

.hour-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

/* ロッカーボックス */
.locker-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #eee;
}

.locker-box p {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* スマホ対応 */
@media screen and (max-width: 960px) {
    /* 縦並びのとき、文字を上にしたいので column に変更 */
    .access-wrapper { flex-direction: column; gap: 40px; }
    .access-map { flex: 1; width: 100%; height: 300px; }
    .access-map iframe { height: 300px; }
}

/* ==========================================
   問い合わせセクション
   ========================================== */
/* カード全体 */
.reservation-card {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 40px auto; 
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

#mail-reserve .section-title,
#mail-reserve .sub-text {
    text-align: center;
    display: block;
}

#mail-reserve .line {
    margin: 20px auto 40px; 
}

#mail-reserve {
    padding-top: 80px;    
    padding-bottom: 80px; 
}

/* 行のレイアウト */
.form-row {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-bottom: 20px;
}

.form-group {
    flex: 1; 
    min-width: 0;  
}

/* 入力欄自体の幅をしっかり確保 */
.form-group input {
    width: 100%; 
    box-sizing: border-box;
}
/* 入力欄のデザイン */
input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
}

/* ラジオボタンの選択肢ボックス */
.radio-row { display: flex; gap: 15px; }
.radio-box {
    flex: 1;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

/* 送信ボタン */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: #b58d53;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}

@media screen and (max-width: 480px) {
    .submit-btn {
        font-size: 14px; /* 今のサイズ（おそらく16px）より少しだけ小さくする */
        padding: 16px 10px; /* パディングを調整してさらに余裕を作る */
    }
}

#mail-reserve {
    scroll-margin-top: 100px; 
}

/* 予約希望日時のグループ全体に余白を作る */
.reservation-group {
    display: flex;
    flex-direction: column;
    gap: 15px; /* ここが「日時入力欄同士」の隙間です。数値を大きくするとより広くなります */
    margin-top: 10px;
}

/* フォームの各ラベルの調整（タイトルとの間隔を確保） */
.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
}


label:has(+ input[required]), 
label:has(+ textarea[required]),
label:has(+ .reservation-group) {
    position: relative;
}

label:has(+ input[required])::after,
label:has(+ textarea[required])::after,
label:has(+ .reservation-group)::after {
    content: " ※";
    color: #ff4d4d;
    font-size: 14px;
    font-weight: bold;
}

.required-label::after {
    content: " ※";
    color: #ff4d4d;
    font-size: 14px;
    font-weight: bold;
}


.radio-box::after {
    content: none !important;
}

/* ==========================================
   必須項目未入力時の赤枠スタイル
   ========================================== */
.input-error {
    border: 2px solid #ff4d4d !important;
    outline: none;
    background-color: #fff0f0;
}


/* ==========================================
   6. スマートフォン（SP）用レスポンス対応
   ========================================== */
@media screen and (max-width: 960px) {
    
    .container, .header-container, .mv-container {
        padding: 0 20px;
    }
    
    .pc-only {
        display: none;
    }

    /* 💡スマホの時に改行を有効化する */
    .sp-only {
        display: block;
    }

    /* ヘッダーのSP仕様 */
    .site-header {
        height: 70px;
    }
    .main-content {
        padding-top: 70px;
    }
    .header-buttons {
        display: none;
    }

    /* ドロップダウン型スマホメニュー */
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        padding: 40px 30px;
        z-index: 999;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    }

    .header-nav.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-list a {
        display: block;
        padding: 18px 0;
        font-size: 16px;
        color: #333;
    }

    .sp-nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        width: 100%;
        align-items: center;
    }
    .sp-nav-buttons .btn-mail,
    .sp-nav-buttons .btn-line {
        width: 100%;
        max-width: 300px;
        height: 48px;
        justify-content: center;
        font-size: 14px;
    }

    /* ハンバーガー（三本線）ボタン */
    .header-hamburger {
        display: block;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .header-hamburger span {
        display: block;
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #b58d53;
        left: 10px;
        transition: all 0.3s ease;
    }

    .header-hamburger span:nth-child(1) { top: 14px; }
    .header-hamburger span:nth-child(2) { top: 21px; }
    .header-hamburger span:nth-child(3) { top: 28px; }

    .header-hamburger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .header-hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .header-hamburger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* メインビジュアル（SP） */
    .mv-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .mv-left {
        max-width: 100%;
    }
    .main-title {
        font-size: 32px;
        white-space: normal;
        line-height: 1.4;
    }
    .main-title span {
        display: inline;
        
    }
    .check-list {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }
    .mv-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .mv-btn-line, .mv-btn-mail {
        width: 100%;
        max-width: 340px;
    }
    .mv-right {
        width: 100%;
    }

    /* セクション共通タイトル */
    .section-title {
        font-size: 24px;
    }

    /* お悩み解決セクション（SP調整） */
    .troubles-section {
        padding: 60px 0;
    }
    .troubles-wrapper {
        padding: 30px 16px;
        border-radius: 16px;
    }
    .troubles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trouble-card {
        padding: 20px;
        gap: 14px;
    }
    .trouble-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .trouble-text {
        font-size: 13px;
    }
    
    /* お悩みボックス内リード文（SP調整） */
    .troubles-lead {
        font-size: 14px;
        margin-top: 35px;
        padding: 0;
        text-align: center;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    /* 選ばれる理由セクション（SP調整） */
    .reasons-section {
        padding: 60px 0;
    }
    .reasons-grid {
        grid-template-columns: 1fr; /* スマホは1列縦並び */
        gap: 48px;
        margin-top: 50px;
    }
    .reason-card {
        padding: 40px 24px 30px;
    }
    .reason-card-title {
        font-size: 19px;
        margin-bottom: 16px;
    }
    .reason-card-text {
        font-size: 13px;
        line-height: 1.7;
    }
    
    /* 4つの特徴セクション（SP調整） */
    .features-section {
        padding: 60px 0;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホ・タブレットでは横に2個ずつ並べる */
        gap: 16px;
        margin-top: 40px;
    }
    .feature-card {
        padding: 30px 16px;
    }
    /* 画面幅が非常に狭いスマホ（480px以下等）を考慮し、必要に応じてさらに1列にする保険 */
    @media (max-width: 480px) {
        .features-grid {
            grid-template-columns: 1fr; /* 超小型スマホでは縦1列に */
        }
    }
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    .feature-icon {
        font-size: 22px;
    }
    .feature-card-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .feature-card-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* 料金プラン共通 */
.course-heading { font-size: 18px; font-weight: bold; margin: 40px 0 20px; border-bottom: 2px solid #b58d53; padding-bottom: 10px; }
.plan-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.plan-table th { font-size: 12px; color: #888; padding: 12px 8px; border-bottom: 1px solid #eee; text-align: left; }
.plan-table td { padding: 12px 8px; font-size: 14px; border-bottom: 1px solid #f9f9f9; }
.highlight-row { background-color: #fff9f0; }

/* バッジ類 */
.badge { background: #b58d53; color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; vertical-align: middle; }
.plan-features { font-size: 12px; color: #666; border-top: 1px solid #eee; padding-top: 15px; }
.plan-features ul { margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.note { color: #b58d53; font-weight: bold; font-size: 11px; margin-top: 10px; }
.note-box { background: #fcfcfc; padding: 10px; border-radius: 8px; margin-top: 10px; line-height: 1.6; }

/* ハイライトカード用 */
.highlight-plan { border: 2px solid #b58d53; }


