@charset "utf-8";

/* =============================================
   1. ベース・リセット設定
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "Noto Sans JP", sans-serif;
    font-weight: 400;
    color: #333;
    text-align: center;
    background-color: #fff;
    font-size: 18px;
    line-height: 1.8;
}

p {
    margin: 0 0 1.5em 0;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

.p_center { text-align: center; }
.p_left   { text-align: left; }
.p_right  { text-align: right; font-size: 0.9rem; font-weight: bold; margin-top: 10px; }
.weight700 { font-weight: 700; }

img {
    border: 0;
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
    touch-action: manipulation;
}

a:hover {
    opacity: 0.7;
}

/*PCで表示させたい時に有効な改行*/
@media screen and (max-width: 769px){
.pc-only {display: none; }
}

/*スマホで表示させたい時に有効な改行*/
@media screen and (min-width: 768px){
.sp-only {display: none; }
}


/* =============================================
   2. レイアウト・デザイン変数
   ============================================= */
:root {
    --main-blue: #0056b3;
    --accent-orange: #f39c12;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

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

section {
    padding: 80px 0;
}

/* 見出し装飾 */
h1 { font-size: 2.2rem; line-height: 1.3; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 1.8rem; line-height: 1.3; font-weight: 700; margin-bottom: 30px; color: var(--main-blue); position: relative; padding-bottom: 15px; }
h3 { font-size: 1.4rem; line-height: 1.4; font-weight: 700; margin-bottom: 1em; }


/* 共通のバーの形（色はここでは指定しない） */
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px; /* お好みで6pxにしてもOK */
    margin: 15px auto 0;
}

/* オレンジにしたい時用 */
.line-orange::after {
    background-color: #f39c12;
}

/* 水色（#bbeefc）にしたい時用 */
.line-blue::after {
    background-color: #bbeefc;
}

/* 黄色（#fcc800）にしたい時用 */
.line-yellow::after {
    background-color: #fcc800;
}


/* 丸ゴシックを適用するための専用クラス */
.rounded-font {
    font-family: 'Zen Maru Gothic', sans-serif !important;
}


/* 黄色のラインマーカー（文字の下側に色を敷く） */
.marker {
    font-weight: bold;
    background: linear-gradient(transparent 0%, #fff5a4 0%);
    padding: 0 2px;
}



/* =============================================
   【FV】静止画背景 ＆ 上端固定・成り行き設定
   ============================================= */

.fv {
    position: relative;
    width: 100%;
    
    /* 1. 【最重要】「固定の高さ」を捨てて「最低の高さ」に変える */
    min-height: 100vh; /* 最低でも画面いっぱい。中身が多ければ下に伸びる */
    height: auto !important; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 常に「上」を基準にする */
    
    /* 2. はみ出しを「隠す」のではなく「表示する」設定にする */
    overflow: visible; 
    
    /* 3. 上下の余白を確保して、文字が画面端に密着するのを防ぐ */
    padding: 80px 0 100px; 
}

/* --- 高さ700px以下のPC用の微調整 --- */
@media screen and (max-height: 700px) {
    .fv {
        min-height: 500px; /* 小さい画面では無理に100vhを追わず、成り立つ高さにする */
        padding: 60px 0 80px; 
    }
}

/* 背景画像の設定 */
.fv-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; 
    height: 100%; /* 親（.fv）が伸びれば、背景も一緒に伸びます */
    z-index: 1;
    background-image: url(../img/fv-main-bg.jpg);
    background-size: cover;
    background-position: center top; 
    background-repeat: no-repeat;
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .fv { 
        min-height: auto; /* スマホは「高さ固定」の概念を完全に捨てる */
        padding: 50px 0 70px;
    }
    .fv-background {
        background-image: url(../img/fv-main-bg-sp.jpg) !important;
    }
}


/* --- コンテンツ配置 --- */
.fv .container {
    max-width: 900px !important;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.fv-content {
    text-align: center;
    width: 100%;
    /* margin-top: -50px; は不要になったので削除しました */
}

/* メインコピー（画像） */
.fv-main-copy-img {
    width: 100%;
    max-width: 900px !important;
    margin: 0 auto 10px; /* 下との隙間を確保 */
    animation: fvSlideUp 0.4s ease-out forwards;
}

/* サブコピー（透過帯付きテキスト） */
.fv-sub-copy p {
    display: inline-block;
    
    /* ★黒の透過から「白の透過」に変更 */
    background: rgba(255, 255, 255, 0.8) !important;
    
    /* ★文字色を「濃いグレー」または「テーマカラーの紺」に変更 */
    color: #333 !important; 
    
    /* 文字の影は白背景には不要なので消すか、ごく薄くします */
    text-shadow: none !important;
    
    margin: 8px auto;
    border-radius: 6px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.5 !important;
    padding: 3px 20px 1px !important; /* 少しゆったりさせて可読性アップ */
    font-weight: 500;
    opacity: 0;
    animation: fvFadeIn 0.4s ease-out 0.2s forwards;
}

/* 強調部分 */
.fv-sub-copy p span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e90d9;
}

/* アニメーション */
@keyframes fvSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fvFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    
    /* --- コンテンツ配置 --- */
    .fv .container {
        padding: 0;
    }
    
    .fv-main-copy-img { 
        max-width: 95%; 
        margin-bottom: 10px; 
    }
    
    .fv-sub-copy {
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .fv-sub-copy p {
        display: block;
        text-align: left; /* スマホでは読みやすく左寄せ */
        font-size: 0.95rem;
        padding: 8px 10px !important;
        margin: 15px 10px;
        line-height: 1.5 !important;
    }
    /* 強調部分 */
    .fv-sub-copy p span {
        font-size: 1.05rem;
    }    
}


/* 既存のCSSの一番下に追加してください */

/* =============================================
   タブレット・iPad表示用調整 (強化版)
   PC・スマホ表示には影響しません
   ============================================= */

/* 1. iPad Air (縦向き 768px - 1023px) 向け修正 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    
    /* 1-1. FV全体を上下中央に、ぽっかり余白を解消 */
    .fv {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* 上下中央寄せ */
        min-height: 100vh !important;       /* 最低画面いっぱい */
        height: auto !important;            /* コンテンツが伸びれば自動 */
        padding-top: 5vh !important;
        padding-bottom: 5vh !important;
        overflow: visible !important;
    }

    /* 1-2. 白いコンテンツ枠（.fv-content）を大きく、バランスよく配置 */
    .fv-content {
        position: relative !important;
        z-index: 10 !important;
        
        /* 枠を大きくする */
        width: 90% !important;              /* 画面幅の90% */
        max-width: 700px !important;       /* 大きくなりすぎないように */
        
        /* 以前のscaleは廃止 */
        transform: none !important;
        
        /* 中央寄せ */
        margin: 0 auto !important;
        
        /* 中のpaddingを調整してテキストを収める */
        padding: 40px !important;
        border-radius: 30px !important;
    }

    /* 1-3. 白い枠の中のテキストを大きく、読みやすく */
    .fv-content > div {
        font-size: 1.25rem !important; /* PCに近いサイズ */
        line-height: 1.6 !important;
    }
    
    /* 中の画像のサイズ調整（念のため） */
    .fv-content img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* 2. iPad Pro (縦向き 1024px - PC以下) 向け修正 (追加) */
@media screen and (min-width: 1024px) and (max-width: 1200px) { /* PC用と競合しないよう上限を設定 */
    /* PC用の画面いっぱい設定（100vhなど）を解除する */
    .fv {
        height: auto !important;
        min-height: auto !important;
        padding-top: 10vh !important;
        padding-bottom: 10vh !important;
    }
}



/* =============================================
   【共通】ターゲット系セクション基本設定
   （吹き出し・整列・アニメーション）
   ============================================= */

/* 1. 見出し共通：丸ゴシック・吹き出し */
.s-target-audience .section-title,
.s-networking-reality .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 750px;
    min-height: 85px;
    margin: 0 auto 50px;
    position: relative;
    background-color: #fff;
    color: #0056b3;
    border: 3px solid #81d4fa;
    padding: 10px 0 !important;
    border-radius: 15px;
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700;
    
    /* アニメーション用 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    pointer-events: none;
    will-change: opacity, transform;
}

/* アニメーション実行時 */
.s-target-audience .section-title.is-active,
.s-networking-reality .section-title.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* 見出し内のドット線 */
.s-target-audience .title-inner,
.s-networking-reality .title-inner {
    border-bottom: 3px dotted #81d4fa;
    padding-bottom: 10px;
    display: inline-block;
}

/* 吹き出しのしっぽ（共通） */
.s-target-audience .section-title::before,
.s-networking-reality .section-title::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 45px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 18px 15px 0 15px;
    border-color: #81d4fa transparent transparent transparent;
    z-index: 1;
    transform: skewX(-20deg);
}
.s-target-audience .section-title::after,
.s-networking-reality .section-title::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 100%;
    left: 48px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 14px 12px 0 12px;
    border-color: #fff transparent transparent transparent;
    z-index: 2;
    margin-top: -3px;
    transform: skewX(-20deg);
}

/* 2. レイアウト：左テキスト・右画像 */
.target-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 800px;
    margin: 40px auto;
}

.target-text-side { flex: 1; }

.target-image-side {
    flex: 0 0 350px !important;
    text-align: center;
}

.target-image-side img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none !important;
}

/* 3. 箇条書き設定 */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 30px !important;
    text-align: left;
}

.check-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.4;
    font-size: 1.1rem;
    color: #333;
}

.check-list li::before {
    position: absolute;
    left: 0; top: -4px;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* アイコン色（チェック・×） */
.s-target-audience .check-list li::before {
    content: "✔";
    background: #f39c12;
    font-size: 0.9rem;
}
.s-networking-reality .check-list.list-x li::before {
    content: "×";
    background: #e56880;
    font-size: 1.2rem;
}

/* 4. テキスト系調整 */
.reality-intro p, .reality-outro p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}
.reality-outro { margin-top: 50px; font-weight: bold; }


/* =============================================
   【個別設定】セクション全体の上下余白（PC版）
   ============================================= */

.s-target-audience {
    padding: 100px 0 30px; 
}

.s-networking-reality {
    padding: 30px 0 80px; 
}


/* =============================================
   【スマホ調整】隙間を徹底的に殺すための修正版
   ============================================= */
@media screen and (max-width: 767px) {

    /* 画像の箱そのものの余白を殺す */
    .target-image-side {
        margin-bottom: 0 !important;
        height: auto !important;
        line-height: 0 !important;
    }

    .target-image-side img {
        width: 100%;
        height: auto;
        display: block; /* インライン要素の隙間を消す */
        margin: 7px 0 0;
        padding: 0;
    }

    /* 2. セクション（枠）自体のパディングを限界まで削る */
    /* 画像があるセクション自体の高さを無理やり縮める */
    .s-target-audience {
        padding-top: 50px; 
        padding-bottom: 0 !important;
        margin-bottom: -50px !important; /* ★下のセクションを50px分、上に吸い寄せる */
    }

    .s-networking-reality {
        padding: 0 0 50px !important; /* 上側のパディングをゼロに */
        /* 次のセクションの見出しを上に引き寄せる */
        margin-top: -10px; 
    }

    /* 3. 画像の下にある「結論テキスト（outro）」との距離 */
    .s-networking-reality .target-flex-wrapper {
        margin-bottom: 0 !important;
    }
    
    /* 4. テキスト系調整 */
    .reality-intro p, .reality-outro p {
        text-align: left;
    }

    /* 画像の下の文章（outro）も上に詰める */
    .reality-outro {
        margin-top: -80px !important; /* ★画像にめり込むくらい上に上げます */
        position: relative;
        z-index: 5;
    }
    
    .reality-outro p {
        margin-bottom: 0 !important; /* 段落の下マージンも消す */
    }

    /* --- その他の微調整（維持） --- */
    /* 1. フレックス要素の「下の余白」をリセット */
    .target-flex-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0;
        padding: 0 20px 0;
        margin: 0 auto 0 !important; 
    }

    .check-list {
        margin-left: 0 !important;
        padding-left: 0;
        width: 100%;
    }

    .check-list li::before {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important; 
        top: -2px !important; 
    }

    .check-list li {
        padding-left: 32px !important;
        margin-bottom: 12px !important;
        font-size: 1rem !important;
    }

    /* バツ印（×）のサイズも個別に微調整する場合 */
    .s-networking-reality .check-list.list-x li::before {
        font-size: 0.9rem !important; /* ×は✔より小さく見えがちなので少し大きめに */
    }
    
    .s-target-audience .section-title {
        font-size: 1.4rem;
        min-height: 70px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    /* 次のセクションの見出し（吹き出し）を強制的に上に持ち上げる */
    .s-networking-reality .section-title {
        margin-top: -30px !important; /* ★さらに上にズラしたい場合はこの数値を -60px などに大きく */
        z-index: 10; /* 画像の上に重なるように念のため設定 */
        font-size: 1.4rem;
        min-height: 70px;
        margin-bottom: 25px;
        width: 100%;
    }
}


/* =============================================
   【コンテナ】カラオケコミュニティ 特徴（繋がった背景）
   指定されたセクションを一繋ぎの背景で見せるための設定
   ============================================= */
.karaoke-features-container {
    /* 1. ベースの背景色：薄く明るい水色（bb eefcよりさらに薄く文字を邪魔しない色） */
    background-color: #eff8fb;
    
    /* 2. さりげない水玉（ドット）模様をCSSだけで作成 */
    /* radial-gradient(円の色 円の半径, 透明にする位置) */
    /* 文字の邪魔をしないよう、非常に薄い青で小さく、間隔を広く設定 */
    background-image: radial-gradient(#bbdefb 1.5px, transparent 1.5px);
    background-size: 30px 30px; /* ドットの間隔 */
    
    /* コンテナ全体の上下余白を微調整 */
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden; /* ドット模様のはみ出し防止 */
}

/* コンテナ内のセクション共通設定 */
.karaoke-features-container section {
    /* 背景色を透明にして、親コンテナの背景を見せる */
    /* 既存の .target クラスの灰色背景を上書きするために !important を使用 */
    background-color: transparent !important;
    
    /* セクションごとの上下パディングを調整して、一繋ぎに見えるように間隔を詰める */
    /* 既存の 80px 0 から少し狭くしています */
    padding: 50px 0;
}

/* 最初のセクションは上パディングをなくしてコンテナの上端と合わせる */
.karaoke-features-container section:first-of-type {
    padding-top: 0;
}

/* 最後のセクションは下パディングをなくしてコンテナの下端と合わせる */
.karaoke-features-container section:last-of-type {
    padding-bottom: 0;
}

/* 特徴コンテナ内の文章だけ、読みやすい幅に絞る */
.karaoke-features-container p {
    max-width: 720px; /* 800pxより少し狭くする */
    margin-left: auto;
    margin-right: auto;
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .karaoke-features-container {
        /* スマホは余白をさらに狭く */
        padding-top: 50px;
        padding-bottom: 20px;
        /* スマホ画面に合わせてドットの間隔を少し狭く */
        background-size: 20px 20px;
    }
    
    .karaoke-features-container section {
        /* スマホのセクション余白 */
        padding: 30px 0;
    }
}


/* =============================================
   【修正版】吹き出し見出し（センター配置を強制）
   ============================================= */
.karaoke-features-container .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 90%;
    max-width: 650px;
    min-height: 85px;
    margin: 0 auto 50px;
    position: relative;
    
    background-image: linear-gradient(180deg, #81d4fa 0%, #2196f3 100%);
    
    color: #fff;
    /* ↓ 重要：テーマの標準パディングをリセット（!importantで強制） */
    padding: 10px 0 !important; 
    
    border-radius: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center; /* 万が一のための保険 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ↓ 重要：以前の「バー」が残っている場合は完全に消す */
.karaoke-features-container .section-title::after {
    display: none !important;
}

/* 文字下の白いドット線（ここも念のためセンター指定） */
.title-inner {
    border-bottom: 3px dotted rgba(255, 255, 255, 0.8);
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

/* 吹き出しのしっぽ（ここは変更なし） */
.karaoke-features-container .section-title::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 45px;
    transform: skewX(-20deg);
    border: 15px solid transparent;
    border-top-color: #2196f3;
    display: block; /* 確実に表示 */
}

/* =============================================
   【修正版】アニメーション（本体はまっすぐに）
   ============================================= */
.karaoke-features-container .section-title {
    /* 最初は透明にして、30px下に下げておく */
    opacity: 0;
    transform: translateY(30px); /* ★ここを修正。skewXを削除しました */
    
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    pointer-events: none;
    will-change: opacity, transform; /* アニメーションを滑らかにする魔法 */
}

/* 画面内に入った時に付与するクラス（JSで制御） */
.karaoke-features-container .section-title.is-active {
    opacity: 1;
    transform: translateY(0); /* ★ここも修正。skewXを削除しました */
    pointer-events: auto;
}

/* --- しっぽの斜めは、こっちで維持しています --- */
.karaoke-features-container .section-title::before {
    /* 以前設定した「しっぽ」のCSSは変更なしです */
    content: "";
    position: absolute;
    top: 100%;
    left: 45px;
    transform: skewX(-20deg); /* しっぽの斜めはここで生きています */
    border: 15px solid transparent;
    border-top-color: #2196f3;
}

/* --- スマホ調整 (767px以下) --- */
    @media screen and (max-width: 767px) {
    .karaoke-features-container .section-title {
        width: 100%;
        font-size: 1.5rem;
    }        
}


/* =============================================
   【修正版】5つの要素（数字なし・サイズ統一）
   ============================================= */
.value-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 5つ目が中央に来るように配置 */
    gap: 15px;               /* 枠同士の隙間を少し詰めるとバランスが良くなります */
    margin: 40px auto;
    max-width: 720px;
}

.value-grid-item {
    /* PCでは3つ並ぶ設定 */
    flex: 0 1 calc(33.333% - 15px);
    background: #fff;
    border: 3px solid #ffcc80; /* 薄いオレンジ */
    border-radius: 12px;
    padding: 20px 15px;        /* 数字がなくなった分、上下の余白を均等に */
    box-sizing: border-box;
    min-height: 80px;          /* 少し高さを抑えてスッキリさせました */
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-grid-item p {
    margin: 0 !important;
    text-align: center !important;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
    font-family: 'Zen Maru Gothic', sans-serif; /* 指定のフォントを適用 */
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .value-grid-item {
        /* スマホでも「2列」を維持し、幅を統一する */
        /* 100%から隙間を引いて2で割ったサイズ */
        flex: 0 1 calc(50% - 10px); 
        min-height: 70px;
        padding: 15px 10px;
    }

    /* 5番目の幅を広げる設定（last-child）を削除したことで、他と同じサイズになります */
}

/* さらに小さい画面（縦持ちのスマホなど）での微調整 */
@media screen and (max-width: 480px) {
    .value-grid-container {
        gap: 10px;
    }
    .value-grid-item {
        flex: 0 1 calc(50% - 5px);
        font-size: 0.9rem;
    }
}


/* =============================================
   【デザイン】モダン比較表（カプセル見出し）
   ============================================= */

/* 表を包む白背景のボックス */
.comparison-table-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow-x: auto; /* スマホでは横スクロール可能に */
    margin: 40px 0;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px; /* 行間に少し隙間を作る */
    min-width: 600px;
}

/* ヘッダー全体の設定 */
.modern-table th {
    padding: 10px 5px;
    background: transparent;
    border: none;
    vertical-align: middle;
}

/* カプセル状の見出し（画像のデザインを再現） */
.modern-table .capsule {
    display: block;
    padding: 10px 20px 10px;
    border-radius: 50px; /* 完全に丸いカプセル型 */
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
    line-height: 1.3;
}

/* 一般的な交流会（グレーまたは落ち着いた青） */
.type-general .capsule {
    background-color: #90a4ae;
}

/* 社長のカラオケ交流会（メインブルー） */
.type-karaoke .capsule {
    background-color: var(--accent-orange);
}

/* 左端の項目名カラム */
.modern-table .label-column {
    width: 180px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

/* 各セルの設定 */
.modern-table td {
    padding: 20px 15px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

/* 行の角を丸く見せるための処理 */
.modern-table td:first-child { border-left: 1px solid #eee; border-radius: 10px 0 0 10px; }
.modern-table td:last-child { border-right: 1px solid #eee; border-radius: 0 10px 10px 0; }

/* 項目名の強調 */
.modern-table .item-name {
    font-weight: 700;
    background: #f8f9fa;
    color: var(--main-blue);
}

/* 勝ち・強調セルの装飾 */
.modern-table .highlight-cell {
    background-color: #fff9e1; /* 薄い黄色 */
    font-weight: 700;
    color: #d35400; /* オレンジ */
}

/* メッセージ専用のスタイル（前回の修正） */
.comparison-message {
    text-align: center;
    margin-top: 30px;
    padding: 20px 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    background: #fdfdfd; /* 少し背景色をつけても綺麗です */
    border-radius: 10px;
}

/* PC表示ではスマホ用Gridを隠す */
.comparison-grid-sp {
    display: none;
}

/* --- スマホ調整（767px以下） --- */
@media screen and (max-width: 767px) {

    /* 1. コンテナの調整：画面端まで使いつつ、上下の余白を調整 */
    .comparison-table-container {
        padding: 0; /* 内部のパディングは各ブロックへ。コンテナは画面端まで。 */
        margin: 30px -10px; /* 左右画面端まで */
        overflow-x: visible; /* 横スクロールを解除 */
        background: transparent; /* 背景は .comparison-grid-sp に持たせるので透明に */
        box-shadow: none;
    }

    /* 2. PC用のテーブルは非表示にする */
    .modern-table {
        display: none;
    }

    /* 3. スマホ専用Gridを表示 */
    .comparison-grid-sp {
        display: block;
        width: 100%;
        /* ★【最重要】独立していた白枠をここにまとめる */
        background: #fff;
        border-radius: 20px; /* PC用と同じ角丸 */
        box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* PC用と同じ影 */
        padding: 0 0 20px; /* 上下のパディング。左右は各ブロックで。 */
    }

    /* 各項目のブロック（白背景、角丸、影を削除） */
    .comparison-block {
        /* background: #fff; (削除) */
        /* border-radius: 15px; (削除) */
        /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); (削除) */
        /* margin-bottom: 25px; (削除) */
        
        padding: 30px 10px 0; /* 左右のパディング。上は項目名と調整。 */
    }
    
    /* 最後のブロックはボーダー不要 */
    .comparison-block:last-child {
        border-bottom: none;
    }

    /* 項目名（「出会い方」など）の調整 */
    .comparison-item-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--main-blue);
        text-align: center;
        margin-top: 0;
        margin-bottom: 15px;
        border-bottom: 2px solid #eee;
        padding-bottom: 1px;
    }

    /* 2列のレイアウトの親（カプセルが上に飛び出すための隙間を作る） */
    .comparison-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
        /* ★追加：カプセルが上に飛び出す分のスペースを確保 */
        margin-top: 30px; 
    }

    /* 各データ列（左：グレー / 右：薄い黄色） */
    .comparison-col {
        padding: 15px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* カプセル見出しの調整 */
    .comparison-col .capsule {
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 6px 5px 3px;
        border-radius: 30px;
        font-size: 0.75rem; 
        text-align: center;
        min-height: 40px;
        width: 100%;
        
        font-weight: 700;
        line-height: 1.2;
        /* 文字が枠ギリギリなら、少しだけ字間を詰めるとプロっぽくなります */
        letter-spacing: -0.02em;        

        /* ★ここが今回のポイント */
        position: relative;
        top: 0;
        /* カプセルの高さ(40px)の半分＋パディング分くらいをマイナスする */
        margin-top: -35px; 
        margin-bottom: 10px; /* 下のテキストとの距離 */
        z-index: 5; /* 枠線の上に確実に重なるように */
    }

    /* テキストの微調整 */
    .comparison-data {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        margin: auto 0;
        color: #333; /* 文字を少しハッキリさせる */
    }

    /* ★【追加】一般的な交流会（左列）の背景色 */
    .type-general {
        background-color: #f5f5f5; /* PC版の雰囲気に合わせた薄いグレー */
    }
    
    /* 左側：一般的な交流会の文字 */
    .type-general .capsule {
        color: #ffffff;      /* 文字の色（16進数で指定） */
        font-size: 0.85rem;  /* 文字の大きさ（小さめにして収まりを良くする） */
    }

    /* 右側：カラオケ交流会の文字 */
    .type-karaoke .capsule {
        color: #ffffff;      /* 文字の色 */
        font-size: 0.85rem;  /* 右側を強調したいので、少しだけ大きく */
    }

    /* 社長のカラオケ（右列）の背景色（既存のクラスを整理） */
    .highlight-cell-bg-sp {
        background-color: #fff9e1; /* 薄い黄色 */
        /* paddingなどは .comparison-col で共通化したので削除OK */
    }
    
    /* メッセージエリア：以前の修正を維持 */
    .comparison-message {
        text-align: left;
        font-size: 0.95rem;
        padding: 15px;
        margin: 20px 0;
        min-width: auto;
    }
}


/* =============================================
   【デザイン】5つの価値（大きめの数字バッジ＋水色枠）
   ============================================= */

.values-list {
    margin-top: 60px;
}

.value-item {
    position: relative; /* 数字バッジの基準位置 */
    margin-bottom: 35px; /* 項目同士の間隔 */
}

/* 左上の丸い数字バッジ（サイズアップ版） */
.value-circle {
    position: absolute;
    top: -25px;    /* バッジが大きくなった分、位置を調整 */
    left: -20px;
    width: 70px;   /* 44pxから60pxに大きくしました */
    height: 70px;
    background-color: #9deaff; /* 以前の水色に戻しました */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem; /* 数字も少し大きく */
    font-weight: 700;
    font-family: 'Zen Maru Gothic', sans-serif;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(157, 234, 255, 0.4); /* 水色の影 */
    border: 4px solid #fff; /* 白いフチをつけてバッジを強調 */
}

/* 枠の設定（水色のしっかりした枠） */
.value-box-outer {
    background: #fff;
    border: 4px solid #9deaff; /* 以前のような太めの水色枠 */
    border-radius: 24px;
    padding: 30px 35px 30px; /* 上の余白を少し増やしてバッジとのバランスを調整 */
    z-index: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
}

.value-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.value-text-side {
    flex: 1;
    text-align: left;
}

.value-text-side h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    color: #0056b3; /* タイトルも少し濃いめの水色に */
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.value-text-side p {
    margin: 0 !important;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* 右側の画像エリア */
.value-img-side {
    flex: 0 0 240px;
    text-align: center;
}

.value-img-side img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .value-item {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .value-circle {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        top: -20px;
        left: 0px;
    }

    .value-box-outer {
        padding: 40px 20px 30px;
        border-width: 3px; /* スマホでは枠線を少し細く */
    }

    .value-content {
        flex-direction: column-reverse; /* 画像を上、テキストを下に */
        gap: 0;
    }

    .value-img-side {
        width: 100%;
        max-width: 400px;
    }

    .value-text-side h3 {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 10px;
    }
}


/* =============================================
   【専用】相性チェックリスト（match-check-list）
   ============================================= */

/* PC版：リストを中央に寄せるための枠 */
.match-list-wrapper {
    max-width: 560px;
    margin: 30px auto;
    text-align: left;
}

.match-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.match-check-list li {
    position: relative;
    padding-left: 45px; /* アイコン分の余白 */
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.6;
    text-align: left;
}

/* アイコン共通（背景の丸） */
.match-check-list li::before {
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

/* ✔マーク（相性がいい） */
.match-check-list li::before {
    content: "✔";
    background-color: #f39c12; /* オレンジ */
    font-size: 0.9rem;
}

/* ×マーク（向いていない） */
.match-list-x li::before {
    content: "×" !important;
    background-color: #e56880 !important; /* 赤系 */
    font-size: 1.2rem !important;
}

/* --- スマホ調整（767px以下） --- */
@media screen and (max-width: 767px) {
    .match-list-wrapper {
        max-width: 100%;
        padding: 0 10px;
        margin: 20px 0;
    }

    /* アイコンの丸を小さくする調整 */
    .match-check-list li::before {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
        top: -2px !important;
    }

    /* ×印のサイズ微調整 */
    .match-list-x li::before {
        font-size: 0.9rem !important;
    }

    .match-check-list li {
        padding-left: 35px !important; /* 丸を小さくした分、余白も詰める */
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
}



/* =============================================
   【決定版】2026年の活動予定セクション
   ============================================= */

/* セクション全体の余白 */
.s-activity-plan {
    padding: 80px 0 20px;
}

/* 見出し：上下4pxの紺色ライン */
.s-activity-plan .section-title {
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
    padding: 15px 10px 10px;
    border-top: 4px solid #0056b3;
    border-bottom: 4px solid #0056b3;
    font-family: sans-serif; /* 標準ゴシック */
    font-weight: bold;
    color: #0056b3;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.05em;
}

/* 共通設定のバー（::after）が出ないように強制消去 */
.s-activity-plan .section-title::after {
    display: none !important;
}

/* 導入文：センター寄せ */
.plan-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* イベント予定エリア：枠・背景を完全に排除し、上の隙間を確保 */
.event-schedule-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important; 
    margin-top: 110px !important; /* ★ここの数値で上の隙間を調整 */
}

/* イベント予定の見出し：標準ゴシック */
.event-schedule-box h3 {
    margin-top: -30px;
    margin-bottom: 20px;
    color: #0056b3;
    font-family: sans-serif !important;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
}

/* 1. リスト本体：3列から2列へ */
.event-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ★ここを2列に変更 */
    gap: 3px 30px; /* 縦の間隔を少し広げて、読みやすく */
    list-style: none;
    padding: 0;
    margin: 20px 0 15px 0;
}

/* 2. 各項目：文字を少し小さくし、改行を許可する */
.event-list li {
    font-size: 1.0rem; /* ★1.1remから1.0remへ少し小さく */
    color: #333;
    display: flex;
    align-items: flex-start; /* ★点(・)と文字の頭を揃える */
    line-height: 1.2;
    
    /* ★重要：はみ出し防止（改行を許可） */
    white-space: normal !important; 
    text-align: left;
}

/* 紺色の大きな「・」の設定（維持） */
.event-list li::before {
    content: "・";
    color: #004080;
    font-size: 1.8rem; /* 文字に合わせて少しだけサイズ調整 */
    font-weight: bold;
    margin-right: 5px;
    line-height: 1;
    flex-shrink: 0; /* 点が潰れないように固定 */
}

/* 画像ギャラリー：3枚並び */
.event-image-gallery {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    flex: 1;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

/* 注釈：センター寄せ、小さめ文字 */
.s-activity-plan .note {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    .s-activity-plan .section-title {
    font-size: 1.5rem;
    }
    .event-schedule-box {
        margin-top: 100px !important;
    }
    
    .event-schedule-box h3 {
        font-size: 1.3rem;
    }
    
    .event-list {
        grid-template-columns: 1fr; /* スマホは潔く1列に */
        gap: 0 0;
    }
    .event-list li {
        font-size: 0.95rem;
    }

    .event-image-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item:last-child {
        display: none; /* 3枚目を消して2列に収める */
    }
}

/* 注釈テキスト（※内容は〜）のスタイル */
.s-tournament-schedule .note {
    display: block;      /* 幅を持たせるためにブロック要素に */
    text-align: center;  /* センター合わせ */
    font-size: 0.8rem;   /* 文字を小さく */
    color: #888;         /* 少し薄めのグレーで控えめに */
    margin-top: 10px;    /* 上に少し余白 */
    margin-bottom: 0;
}



/* =============================================
   イベント予定：表組み内のレイアウト調整
   ============================================= */

/* 確定イベント部分のフレックス設定 */
.event-detail-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.event-info {
    flex: 1;
    text-align: left;
}

.event-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: -5px !important;
}

.event-time {
    font-size: 0.9rem;
    color: #666;
    margin: 0 !important;
}

/* 日程横の小さな写真 */
.event-mini-photo {
    flex: 0 0 180px; /* 写真の幅 */
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.event-mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 7月以降の見出しの隙間 */
.mt-80 {
    margin-top: 50px !important;
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
    /* 1. 日程ラベルと内容を縦に並べる（日付を上に、内容を下に） */
    .venue-row {
        flex-direction: column; 
    }

    .venue-label {
        width: 100%; /* 日付ラベルを横いっぱいに */
        padding: 10px;
        border-radius: 10px 10px 0 0; /* 上側だけ角丸 */
    }

    /* 2. テキストと画像を縦並びに変更 */
    .event-detail-flex {
        flex-direction: column !important; /* 縦積み */
        gap: 15px; /* テキストと画像の間隔 */
        padding: 20px 15px !important;
        align-items: center; /* 中央寄せ */
    }

    .event-info {
        text-align: center !important; /* テキストも中央寄せにしてバランスを取る */
        width: 100%;
    }

    .event-name {
        font-size: 1.1rem; /* スマホで読みやすいサイズに少しアップ */
        margin-bottom: 5px !important;
    }
    
    /* もし個別の文字がまだ左に寄るなら、これらも追加 */
    .event-name, .event-time {
        text-align: center !important;
    }    

    /* 3. 画像を大きく表示 */
    .event-mini-photo {
        flex: none; /* 固定幅を解除 */
        width: 100% !important; /* 横幅を広げる */
        max-width: 280px; /* 広がりすぎないよう制限 */
        height: 180px !important; /* 高さを出してしっかり見せる */
        margin: 0 auto;
        border-radius: 12px;
    }

    .event-mini-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mt-80 {
        margin-top: 50px !important;
    }
}



/* =============================================
   予選大会日程セクション（2列横並び・縦積み）
   ============================================= */

.s-tournament-schedule {
    padding: 80px 0 60px;
}

/* 見出し：標準ゴシック */
.s-tournament-schedule h3 {
    margin-bottom: 30px;
    color: #0056b3;
    font-family: sans-serif !important;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
}

/* 会場リストのコンテナ */
.venue-list {
    max-width: 700px;
    margin: -10px auto 50px;
}

/* 会場ごとの1行分（2列構成） */
.venue-row {
    display: flex;
    border: 2px solid #0056b3;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden; /* 角丸を反映させる */
    background: #fff;
}

/* 左側：会場名（紺色背景） */
.venue-label {
    width: 180px;
    background: #0056b3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    padding: 20px;
}

/* 右側：日程リスト */
.venue-dates {
    flex: 1;
    padding: 10px 10px 10px 30px;
}

.date-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.date-list li {
    padding: 8px 0;
    font-size: 1.1rem;
    text-align: left;
    border-bottom: 1px dashed #eee;
    color: #333;
}

.date-list li:last-child {
    border-bottom: none;
}

/* --- 画像ギャラリー（活動予定と同じ設定） --- */
.s-tournament-schedule .event-image-gallery {
    display: flex;
    gap: 20px;
    margin: 40px auto;
}

.s-tournament-schedule .gallery-item {
    flex: 1;
}

.s-tournament-schedule .gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

/* --- スマホ調整 (767px以下) --- */
@media screen and (max-width: 767px) {
    /* 見出し：標準ゴシック */
    .s-tournament-schedule h3 {
        font-size: 1.3rem;
    }
    .venue-row {
        flex-direction: column; /* スマホでは縦に積む */
    }

    .venue-label {
        width: 100%;
        padding: 10px;
    }

    .venue-dates {
        padding: 15px 20px;
    }

    .date-list li {
        text-align: center;
        font-size: 1rem;
    }

    .s-tournament-schedule .event-image-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .s-tournament-schedule .gallery-item:last-child {
        display: none; /* 3枚目を隠して2列に */
    }
}


/* =============================================
   【決定版】参加者の声セクション（水色統一・引き算）
   ============================================= */

/* セクション背景：5つの価値と同じ水色に設定 */
.s-testimonials {
    padding: 100px 0;
    background-color: #f0faff; /* 水色の背景 */
    position: relative;
}

/* 1. 見出し本体：白い色を完全に消し、青グラデーションへ */
.s-testimonials .section-title {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 90% !important;
    max-width: 650px !important; /* 5つの価値の幅に合わせる */
    min-height: 85px;
    margin: 0 auto 50px !important;
    position: relative;
    
    /* ★青いグラデーション・枠なし */
    background-image: linear-gradient(180deg, #81d4fa 0%, #2196f3 100%) !important;
    border: none !important;
    color: #fff !important; /* ★文字の色を白に */
    
    /* ★追加：背景色を透明にして白い色を完全に消す */
    background-color: transparent !important;
    
    border-radius: 15px;
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700;
}

/* 文字下のドット線を白くする（前回のでOK） */
.s-testimonials .section-title .title-inner {
    border-bottom: 3px dotted rgba(255, 255, 255, 0.8) !important;
    padding-bottom: 5px;
    display: inline-block;
}

/* 2. 吹き出しのしっぽ（青色）を追加 */
/* 「5つの価値」と同じデザインの ::before を提示し、既存の ::after を消します */
.s-testimonials .section-title::before {
    content: "" !important;
    position: absolute;
    top: 100%;
    left: 45px;
    transform: skewX(-20deg);
    
    /* ★5つの価値と同じ青一色の三角形 */
    border: 15px solid transparent !important;
    border-top-color: #2196f3 !important; /* 青グラデーションの下側の色 */
    
    display: block !important;
    z-index: 1; /* 重なり順調整 */
    
    /* ❌以前の水色のしっぽの設定は上書きされます ❌ */
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-style: solid !important;
}

/* 不要な既存しっぽ（::after）を消す */
.s-testimonials .section-title::after {
    display: none !important;
}

/* 3. リストとカードのレイアウト */
.testimonial-list {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    border: 3px solid #9deaff; /* 5つの価値のバッジと同じ色 */
    border-radius: 20px;
    padding: 30px 30px 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
}

/* 写真枠 */
.user-icon {
    width: 90px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
    flex: 0 0 80px;
}

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

/* テキストエリア */
.testimonial-content {
    flex: 1;
    text-align: left;
}

.testimonial-title {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
    display: block;
    color: #333;
    font-weight: bold;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.testimonial-content .p_right {
    font-size: 0.95rem;
    font-weight: bold;
    color: #666;
    margin: 0;
    text-align: right;
}

/* =============================================
   【スマホ調整】参加者の声
   ============================================= */
@media screen and (max-width: 767px) {
    .s-testimonials {
        padding: 60px 0;
    }
    .s-testimonials .section-title {
        font-size: 1.4rem;
        min-height: 70px;
        width: 100%;
        margin-bottom: 30px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: center;
        padding: 25px 20px;
    }
    .user-info {
        margin-bottom: 10px;
    }
    .testimonial-content {
        margin-top: -10px;
    }   
    
    /* --- お客様の声：タイトルの行間・隙間を徹底的に詰める --- */
    .testimonial-title {
        text-align: center;
        display: block !important;
        
        /* 1. 2行になった時の行間をさらに詰める（0.9〜1.1の間で調整） */
        line-height: 1.5 !important; 
        
        /* 2. 下の文章との隙間を「2px」まで削る（PC版の8pxを強制上書き） */
        margin-bottom: 8px !important; 
        
        /* 3. 上側の余白も気になる場合はここを調整（0にすると上に詰まります） */
        margin-top: 0 !important; 

        /* ついでに文字サイズも微調整 */
        font-size: 1.15rem !important;
    }
}



/* =============================================
   参加者の声 動画
   ============================================= */

/* セクション全体のスタイル */
.testimonials-section {
  padding: 60px 0 100px !important;
  background-color: #f9f9f9; /* 背景色はお好みに合わせて調整してください */
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

/* 動画のグリッドレイアウト */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
  gap: 30px;
}

/* スマホ表示（768px以下）では1列にする */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-item {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 動画の比率を16:9に保つレスポンシブ対応 */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.video-caption {
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
  color: #444;
}



/* =============================================
   フォトスライドショー：JavaScript連携版（全設定）
   ============================================= */

/* 1. セクション全体の背景と余白 */
.s-karaoke-slideshow {
    padding: 30px 0 60px;
    margin: -50px 0 30px; /* 前のセクションとの隙間を詰める設定 */
    background-color: #f0faff; /* お客様の声と同じ水色 */
    text-align: center;
}

/* タイトルエリア */
.slideshow-title-area {
    margin-bottom: 30px;
    padding: 0 20px;
}

.mini-sub-heading {
    font-size: 0.85rem;
    color: #0056b3;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin: 0;
}

.gallery-main-title {
    font-size: 1.5rem;
    color: #333;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.4;
}

/* 2. スライドの外枠（1枚分だけ見せる窓） */
.slideshow-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* はみ出た画像は見せない */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 3. 画像を横に並べるレール（7枚並ぶので700%） */
.slides-wrap {
    display: flex;
    width: 700%; 
    /* JSで transform を動かした時に、ヌルッと動かすための設定 */
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

/* 4. スライド1枚ごとの設定 */
.slide-item {
    width: calc(100% / 7); /* 全体の7分の1の幅 */
}

/* --- 以前のスライドショーCSSに追加・上書き --- */
.slide-item a {
    display: block; /* リンクをブロック化して画像にフィットさせる */
    width: 100%;
    height: 100%;
    cursor: zoom-in; /* 拡大できることを示すカーソル */
}

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

/* 5. ドットナビゲーション（JSで active クラスを付け替えます） */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

/* 現在表示されているスライドのドット */
.dot.active {
    background-color: #f39c12; /* オレンジ */
    transform: scale(1.2);    /* 少し大きくして目立たせる */
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
}

/* 6. スマホ調整（767px以下） */
@media screen and (max-width: 767px) {
    .slideshow-container {
        max-width: 95%; /* 画面端に少し余白 */
        border-radius: 12px;
    }
    
    /* スマホでの高さ調整 */
    .slide-item img {
        height: 250px;
    }

    .gallery-main-title {
        font-size: 1.25rem;
    }
    
    .slideshow-title-area {
        margin-bottom: 15px;
    }
}


/* =============================================
   会員プランセクション（整理版）
   ============================================= */

.s-membership-plans {
    padding: 30px 0 80px;
    background-color: #fff;
}

/* 見出し：上下4pxの紺色ライン */
.s-membership-plans .section-title {
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
    padding: 15px 10px 10px;
    border-top: 4px solid #0056b3;
    border-bottom: 4px solid #0056b3;
    font-family: sans-serif;
    font-weight: bold;
    color: #0056b3;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.s-membership-plans .section-title::after {
    display: none !important;
}

.plan-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #333;
    font-weight: bold;
    line-height: 1.5;
}

/* 料金グリッド */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto 40px;
}

.price-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border: 3px solid #eee;
    border-radius: 15px;
    position: relative;
    padding: 40px 25px;
}

.price-card.recommended {
    border-color: #f39c12;
    background-color: #fffce7;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffa20f;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0056b3;
}

.plan-name-year{
    color: #f26c00;
}

.price-box {
    margin-top: -15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.period {
    font-size: 1rem;
    font-weight: bold;
}

.admission_fee {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: -10px;
    display: block;
}

.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
    line-height: 1.4
}

.plan-features li {
    padding: 8px 0 8px 25px;
    font-size: 0.95rem;
    position: relative;
    line-height: 1.4;
}

.plan-features li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
}

.plan-features span {
    font-size:1.1rem;
    font-weight: 700;
    color: #f26c00;
}


.weight700 { font-weight: bold; }
.color-blue { color: #0056b3; }
.color-pink { color: #fd1471; }
.color-orange { color: #f39c12; }



/* --- 年払い限定特典エリア --- */
.yearly-benefits-box {
    max-width: 850px;
    margin: 80px auto 0;
    padding: 40px;
    background: #fff;
    border: 5px solid #ff89b8;
    border-radius: 20px;
    text-align: left;
}

.benefits-title {
    text-align: center;
    color: #0056b3;
    font-size: 1.5rem;
    margin-bottom: 40px;
    background: #ffd4e5;
    padding: 12px 0 5px;
    border-radius: 8px;
}

/* 特典ごとの枠：間にグレーの罫線を引く設定 */
.benefit-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd; /* ★細いグレーの罫線 */
}

.benefit-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; /* ★最後の項目の下の線は消す */
}

/* テキストと画像を横並びにする設定 */
.benefit-flex-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.benefit-content-inner {
    flex: 1; /* テキスト側を広げる */
}

/* 右側の画像設定 */
.benefit-image {
    flex: 0 0 180px; /* ★画像の幅を固定（小さめに調整） */
    text-align: center;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 特典の見出し設定 */
.benefit-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/* 「特典1」「特典2」のオレンジラベル */
.benefit-label {
    display: inline-block;
    background-color: #fd1471;
    color: #fff;
    font-size: 1.3rem;
    padding: 5px 20px 1px;
    border-radius: 50px;
    margin-right: 12px;
    margin-bottom: 3px;
    font-weight: bold;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* 特典の中のリスト */
.benefit-sub-list {
    margin: -10px 0 25px 20px;
}

.benefit-sub-list li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 5px;
}

.benefit-sub-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 0.1em;
}

.benefit-note {
    font-size: 0.85rem !important;
    color: #777;
    line-height: 1.5;
    margin-top: -10px;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    /* 見出し：上下4pxの紺色ライン */
    .s-membership-plans .section-title {
        font-size: 1.5rem;
    }
    .plan-features li {
    padding: 12px 0 0 20px;
    font-size: 1rem;
    line-height: 1.3;
    }
    .benefit-item {
    margin-top: 20px;    
    margin-bottom: 40px;
    padding-bottom: 40px;
    }
    .benefit-flex-wrapper {
        flex-direction: column; /* スマホでは縦並び */
        gap: 0;
    }
    .benefit-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* 1. 特典全体の枠：上に飛び出すスペースを作る */
    .yearly-benefits-box {
        margin: 100px 0 0 !important; /* 上を大きく空けてタイトルを逃がす */
        padding: 50px 15px 30px !important; /* 上のパディングを増やして重なりを調整 */
        border: 4px solid #ff89b8 !important;
        position: relative; /* 基準点 */
    }

    /* 2. ピンクのタイトルを枠線の上に浮かせる */
    .benefits-title {
        position: absolute !important;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%); /* これで上下左右の真ん中に重なります */
        
        width: 90% !important; /* スマホ画面に合わせた幅 */
        margin: 0 !important;
        font-size: 1.3rem !important;
        line-height: 1.4;
        padding: 12px 10px 10px !important;
        border-radius: 20px !important; /* カプセル型 */
        white-space: nowrap; /* 改行させずに1行でバシッと見せる */
        z-index: 10;
    }

    /* 3. 特典見出し（特典1＋内容）を縦並びにする */
    .benefit-item h4 {
        display: flex !important;
        flex-direction: column !important; /* 縦並び */
        align-items: center !important;    /* 中央寄せ（左寄せが良ければ flex-start） */
        gap: 20px !important;
        font-size: 1.3rem !important;
        text-align: center !important;
        letter-spacing: 0.05em;
        margin-bottom: 25px;
    }

    /* 「特典1」ラベルの調整（縦並び用） */
    .benefit-label {
        margin-right: 0 !important; /* 横の隙間は不要 */
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 1.3rem !important;
        padding: 4px 20px !important;
    }
}    



/* 特典終了時のスタイル */
.benefit-item.benefit-finish {
    position: relative;    /* 膜を張る基準にする */
    background-color: #ededed; /* 背景を少しだけグレーに */
    opacity: 0.6;          /* ★全体を少し薄くする（下の文字が透ける） */
    filter: grayscale(1);  /* ★画像も文字もすべて白黒にする */
    pointer-events: none;  /* クリックやリンクを無効化する */
    user-select: none;     /* 文字をコピーできないようにする */
}

/* さらに「終了しました」という文字を中央に浮かせる（お好みで） */
.benefit-item.benefit-finish::after {
    content: "終了しました";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg); /* 少し斜めにする */
    color: #cc0000;         /* 赤っぽい色で目立たせる */
    font-size: 2.5rem;
    font-weight: bold;
    border: 4px solid #cc0000;
    padding: 10px 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8); /* 文字の背景を少し白くして読みやすく */
    border-radius: 10px;
    white-space: nowrap;
}


/* 緊急追加特典：ピンク下地 ＋ 外側にピンクの細い線 */
.benefit-label.emergency-version {
    background-color: #fd1471 !important; /* ★内側の塗りつぶし（ピンク） */
    color: #fff !important;                /* ★文字色（白） */
    font-weight: bold !important;          /* ★文字（太字） */
    
    /* 枠線の設定 */
    border: 2px solid #fd1471 !important;  /* 内側のフチ（下地と同色） */
    outline: 2px solid #fd1471 !important; /* ★外側の細い線 */
    outline-offset: 3px;                   /* 下地と外線の間のスキマ */
    
    /* 形状と余白 */
    display: inline-block;
    padding: 7px 12px 3px !important;          /* カプセル内の余白 */
    margin: 5px 12px 8px 5px !important;   /* 外線がハミ出さないための余白 */
    border-radius: 50px !important;        /* カプセル型 */
    line-height: 1.2;
    letter-spacing: 0.05em;
}

/* スマホ用の微調整 */
@media screen and (max-width: 767px) {
    .benefit-label.emergency-version {
        font-size: 1.3rem !important;
        padding: 4px 15px !important;
        outline-offset: 2px;               /* スマホでも隙間を維持 */
        margin-bottom: 5px !important;
    }
}



/* =============================================
   会員プラン：縦並び用追加調整
   ============================================= */

.plan-vertical-stack {
    max-width: 600px; /* カードが横に広がりすぎないように制限 */
    margin: 0 auto;
}

.plan-vertical-stack .price-card {
    margin-bottom: 0; /* 下のマージンをリセット */
    width: 100%;
}

/* プランの間をつなぐメッセージ */
.plan-bridge-message {
    padding: 40px 0 20px;
    text-align: center;
}

.plan-bridge-message p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.8;
}

/* 下向き矢印のデザイン（簡易版） */
.down-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 50px 0 50px; /* 三角形のサイズ */
    border-color: #bbeefc transparent transparent transparent; /* 紺色の矢印 */
    margin: 0 auto 20px; /* ★三角形とボタンの間の隙間 */
}

/* 最後のメッセージエリア */
.plan-closing-message {
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.plan-closing-message p {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 10px !important; /* 30pxあったのを10pxまで削ります */
}

/* ★ピンクの太字キャッチコピー */
.cta-catch-pink {
    color: #fd1471 !important; /* 鮮やかなピンク */
    font-size: 1.8rem !important; /* ドカンと大きく */
    font-weight: 700 !important;  /* 極太 */
    margin: 0 0 10px 0 !important; /* 下のボタンとの隙間 */
    text-align: center;
    line-height: 1.2;
}

.cta-catch-small {
    color: #fd1471 !important; /* 鮮やかなピンク */
    font-size: 2rem !important; /* ドカンと大きく */
    font-weight: 900 !important;  /* 極太 */
    margin: -20px 0 0 0 !important; /* 下のボタンとの隙間 */
    text-align: center;
    line-height: 1.2;
}

.cta-note {
    font-size: 0.95rem !important;
    color: #000;
    line-height: 1.5;
    text-align: center;
    font-weight: 400 !important;
    margin-top: 30px;
}


/* スマホ調整 */
@media screen and (max-width: 767px) {
    .plan-bridge-message p {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    .plan-closing-message p {
        font-size: 1.2rem;
    }
    .cta-catch-pink {
        font-size: 1.6rem !important; /* スマホでは少し控えめに、でも目立つサイズ */
        margin-bottom: 5px !important;
    }    
}




/* =============================================
   迷っている方へセクション（矢印をボタンの上に配置）
   ============================================= */

.s-hesitation {
    padding: 60px 0 80px; /* ★上下のパディングを標準に戻します */
    background-color: #fefceb;
    text-align: center;
    position: relative; /* ★z-index制御のために必要 */
}

/* 見出し：標準ゴシック */
.s-hesitation h3 {
    margin-bottom: 30px;
    color: #0056b3;
    font-family: sans-serif !important;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
}

.s-hesitation .section-title::after {
    display: none !important;
}

.hesitation-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.intro-text {
    margin-bottom: 30px;
    color: #333;
}

.core-message {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* チェックリスト */
.hesitation-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    display: inline-block;
    text-align: left;
}

.hesitation-check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.hesitation-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #0056b3;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.outro-text p {
    font-size: 1.1rem;
    margin-top: -10px;
    margin-bottom: 10px;
}

.note-text {
    font-size: 0.95rem;
    color: #666;
}

/* ★以前のセクション全体のしっぽ（::after）設定を削除します */
.s-hesitation::after {
    display: none !important;
}

/* ★追加：ボタンの上の「下向きの三角矢印」 */
.hesitation-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 50px 0 50px; /* 三角形のサイズ */
    border-color: #bbeefc transparent transparent transparent; /* 紺色の矢印 */
    margin-bottom: 20px; /* ★三角形とボタンの間の隙間 */
}



/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .s-hesitation {
        padding: 60px 0;
    }

    .s-hesitation .section-title {
        font-size: 1.5rem;
    }

    .core-message {
        font-size: 1.1rem;
    }

    .hesitation-check-list li {
        font-size: 1rem;
    }

    .hesitation-arrow {
        border-width: 30px 40px 0 40px; /* スマホでは矢印を少し小さく */
        margin-bottom: 15px;
    }

    .sp-only {
        display: block; /* スマホのみボタン内で改行 */
    }
}

/* PCでは改行を消す設定 */
@media screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }
}


/* =============================================
   CTAボタン：一本化した最終版（隙間調整済み）
   ============================================= */

.cta-wrapper {
    /* ★ここを10pxにすることで、上の文章とピタッとくっつきます */
    margin-top: 40px !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-btn {
    display: block;
    width: 520px; 
    max-width: 95%; 
    background: #10d14d;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 60px;
    line-height: 1.4;
    text-decoration: none;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: cta-pulse 2s infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ホバー時の挙動 */
.cta-btn:hover {
    background: #14e456;
    animation-play-state: paused;
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 209, 77, 0.4);
}

/* 脈打ちアニメーション */
@keyframes cta-pulse {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 15px 45px rgba(16, 209, 77, 0.5); }
    100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .cta-btn {
        width: 95%;
        font-size: 1.3rem;
        padding: 20px 0;
    }
}


/* =============================================
   よくある質問（FAQ）セクション
   ============================================= */

.s-faq {
    padding: 80px 0;
}

/* 見出し：活動予定・参加者の声と完全に統一 */
.s-faq .section-title {
    display: block;
    width: fit-content;
    margin: 0 auto 60px;
    padding: 15px 10px 10px;
    border-top: 4px solid #0056b3;
    border-bottom: 4px solid #0056b3;
    font-family: sans-serif;
    font-weight: bold;
    color: #0056b3;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.s-faq .section-title::after {
    display: none !important;
}

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

.faq-item {
    margin-bottom: 30px;
    background: #fff;
    border: 2px solid #dcebf8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 質問エリア（目立たせる） */
.faq-q {
    background-color: #dcebf8; /* 薄い水色 */
    padding: 15px 25px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.q-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0056b3;
    flex-shrink: 0;
}

.q-text {
    margin: 0 !important;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
}

/* 回答エリア */
.faq-a {
    padding: 25px 25px 25px 25px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #eef2f6;
}

.a-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f39c12; /* オレンジでアクセント */
    flex-shrink: 0;
}

.a-content {
    flex: 1;
}

.a-content p {
    margin: 0 !important;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .s-faq .section-title {
        font-size: 1.5rem;
    }
    .faq-q, .faq-a {
        padding: 15px;
        gap: 10px;
    }
    .q-text {
        font-size: 1rem;
    }
    .a-icon, .q-icon {
        font-size: 1.2rem;
    }
}


/* =============================================
   最後にセクション & 最終CTA
   ============================================= */

.s-final-message {
    padding: 30px 0 140px;
    background-color: #fff;
    text-align: center;
}

/* 見出し：活動予定・FAQと共通のデザイン */
.s-final-message .section-title {
    display: block;
    width: fit-content;
    margin: 0 auto 50px;
    padding: 15px 10px 10px;
    border-top: 4px solid #0056b3;
    border-bottom: 4px solid #0056b3;
    font-family: sans-serif;
    font-weight: bold;
    color: #0056b3;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.s-final-message .section-title::after {
    display: none !important;
}

.final-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-text {
    text-align: center !important;
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 40px;
    color: #333;
}

/* 追伸ボックス */
.ps-box {
    margin-top: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 15px;
    text-align: left;
    position: relative;
}

.ps-label {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 15px;
    border-bottom: 2px solid #0056b3;
}

.ps-box p {
    margin: 0 !important;
    font-size: 1.1rem;
    color: #444;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .s-final-message .section-title {
    font-size: 1.5rem;
    }
    .final-text {
        text-align: left !important;
    }
}


/* ボタン上の三角形（紺色） */
.hesitation-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 50px 0 50px;
    border-color: #bbeefc transparent transparent transparent;
    margin-bottom: 25px;
}


/* =============================================
   主催・運営セクション（省スペース・スッキリ版）
   ============================================= */

.s-organizer {
    padding: 80px 0 40px;
    background-color: #f9f9f9;
    color: #000; /* 基本を黒に設定 */
}

/* メイン見出し：上下ライン */
.s-organizer .section-title {
    display: block;
    width: fit-content;
    margin: 0 auto 40px;
    
    /* 上下の余白を「10px」で統一し、左右に少し余裕を持たせます */
    padding: 20px 15px 0 !important; 
    
    border-top: 4px solid #0056b3;
    border-bottom: 4px solid #0056b3;
    color: #0056b3;
    font-size: 1.8rem;
    
    /* ★重要：行の高さを「1」にすることで、文字上下の余分な隙間を消します */
    line-height: 1 !important; 
    
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
}

/* 他の場所（活動予定など）の見出しも同じ間隔にしたい場合は、
   以下の共通クラスにも line-height: 1.2 を入れると完璧に揃います */
.section-title {
    line-height: 1.2 !important;
}

/* 小見出し（運営、概要など）：黒・小さめ */
.mini-sub-heading {
    font-size: 1rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.org-simple-text {
    margin-bottom: 30px;
}

.org-simple-text p {
    font-size: 1rem;
    color: #000;
    margin: 0;
}

/* --- 理事カード：ここだけ枠あり --- */
.directors {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 10px;
    max-width: 850px;
}

.director {
    flex: 1;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
}

.director img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #8abef7;
    object-fit: cover;
}

.director-text .org-small { font-size: 0.8rem; color: #0056b3; font-weight: bold; }
.director-text .title-small { font-size: 0.85rem; color: #333; margin-bottom: 5px; }
.director-text .name-large { font-size: 1.1rem; font-weight: bold; margin-bottom: 5px; }
.director-text .prof-small { font-size: 0.8rem; line-height: 1.4; color: #333; margin: 0; text-align: center; }

/* --- 協会概要 & お問い合わせ：枠なしスッキリ --- */
.association-footer {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 30px;
}

.info-group {
    margin-bottom: 25px;
}

.info-group p {
    font-size: 0.9rem; /* 小さめに設定 */
    color: #000;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* お問い合わせリンク */
.inquiry-group a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .directors { flex-direction: column; }
    .director { width: 100%; }
    .s-organizer .section-title { font-size: 1.5rem; }
    .info-group p { text-align: left; } /* スマホでは概要は左寄せが見やすい */
    .inquiry-group p { text-align: center; }
}


/* =============================================
   サイトフッター
   ============================================= */

.site-footer {
    background-color: #f9f9f9;
    color: #000; /* 基本を黒に設定 */
    padding: 40px 0 40px;
    text-align: center;
    font-size: 0.8rem; /* 本文より少し小さく */
    border-top: 1px solid #dddddc; /* 境界線だけ薄く入れる */
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* スマホで入り切らない時に折り返す */
    gap: 15px;
    margin-bottom: 25px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.separator {
    color: #666; /* 区切り線は少し薄く */
}

.copyright {
    color: #000; /* コピーライトはさらに控えめな色に */
    letter-spacing: 0.05em;
    text-align: center;
    font-size: 0.8rem; /* 本文より少し小さく */  
    margin-top: -25px;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
    .site-footer {
        padding: 40px 20px;
    }
    .footer-links {
        flex-direction: column; /* スマホでは縦に並べる */
        gap: 10px;
    }
    .separator {
        display: none; /* 縦並びの時は棒線を消す */
    }
}



/* =============================================
   フローティングボタン：完全版
   ============================================= */
.floating-btn {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10d14d;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    /* アニメーションに干渉しないようにフェードで制御 */
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s ease;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 表示中 */
.floating-btn.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: pulse-green 2s infinite;
}

/* 脈打ち（位置を動かさないよう scale のみに限定） */
@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 209, 77, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(16, 209, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 209, 77, 0); }
}

/* PC：右下固定 */
@media screen and (min-width: 768px) {
    .floating-btn {
        right: 30px;
        bottom: 30px;
        width: 340px;
        height: 70px;
        border-radius: 50px;
        font-size: 1.2rem;
    }
}

/* スマホ：中央カプセル（はみ出し防止） */
@media screen and (max-width: 767px) {
    .floating-btn {
        right: 0 !important;
        left: 0 !important;
        margin: 0 auto !important; /* 強制中央寄せ */
        width: 90% !important;
        max-width: 350px;
        bottom: 20px !important;
        height: 60px;
        border-radius: 50px;
        font-size: 1.1rem;
    }
    /* スマホ版アニメーション用の中央維持 */
    @keyframes pulse-green {
        0% { transform: translateX(0) scale(1); box-shadow: 0 0 0 0 rgba(16, 209, 77, 0.7); }
        70% { transform: translateX(0) scale(1.05); box-shadow: 0 0 0 15px rgba(16, 209, 77, 0); }
        100% { transform: translateX(0) scale(1); box-shadow: 0 0 0 0 rgba(16, 209, 77, 0); }
    }
}