@charset "UTF-8";

:root { 
    --blue: #5d7ea3; 
    --gold-gradient: linear-gradient(135deg, #f7ce68 0%, #fbab7e 100%);
    --card-blue: rgba(93, 126, 163, 0.7); 
    --card-bronze: rgba(145, 106, 76, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Noto Serif JP", serif; background-color: #000; color: #fff; overflow-x: hidden; text-align: center; line-height: 1.6; }


/* オープニング動画のレイヤー */


#opening-video-layer {
   position:fixed;
   top:0;
   left:0;
   width:100vw;
   height:100vh;
   background:#000;
   display:flex;
   justify-content:center;
   align-items:center;
   z-index:9999;
   overflow:hidden;
}

#opening-video {
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
}

/* スキップボタン */
#video-skip-btn {
    position: absolute;
    top: 20px;             /* bottom: 20px; から変更 */
    right: 20px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

#video-skip-btn:hover {
    background: rgba(103, 181, 183, 1); /* 不透明度を100%に */
    transform: scale(1.05); /* 少し大きく */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


#video-mute-btn {
    position: absolute;
    top: 20px;            /* bottom: 20px; から変更 */
    right: 220px;         /* スキップボタン(right: 20px)と重ならないよう左に寄せる */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    border-radius: 50%;   /* 丸いボタンにする場合 */
    cursor: pointer;
    z-index: 10;
}


#video-mute-btn:hover {
    background: rgba(103, 181, 183, 1);
    transform: scale(1.05);
}



/* 動画が消えるときのアニメーション */
.video-fade-out {
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}


@media (max-width: 768px) {
  #opening-video-layer {
    display: none !important;
  }
}



/* 背景 */


.background-layer {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url("img/background.jpg") center/cover no-repeat;
    z-index: 0;
}


.background-layer::after {
    content: "";
    position: absolute;
    top: 20%; left: 10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(247, 206, 104, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}




#ambient-background {   position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none; }

#main-content {
    position: relative;
    z-index: 2;
}


#fairy-light-container { position: fixed; inset: 0; pointer-events: none; z-index: -10; }
.fairy-light { position: absolute; background: #fff; border-radius: 50%; opacity: 0; animation: fade-in-out linear infinite; }
@keyframes fade-in-out { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 0.6; } 100% { opacity: 0; transform: translateY(-50px); } }

#main-content {  position: relative;z-index: 2; }
.logo { padding: 15px 0 5px; font-weight: bold; font-size: 1.3rem; letter-spacing: 1px; }

/* ヒーロー */
.hero-section { width: 100%; max-width: 1100px; margin: 0 auto; position: relative; }
.header-img { width: 100%; display: block; border-radius: 0 0 20px 20px; }
.hero-text { position: absolute; bottom: 5%; left: 60%; text-align: left; color: #2c4a3b; z-index: 90; }
.hero-text h1 { font-size: 1.6rem; font-weight: bold; line-height: 1.3; }
.hero-subtext { font-size: 0.85rem; margin-top: 8px; font-weight: bold; color: #2c4a3b; }
.badge { background: #2c4a3b; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; }
.anchor-link-area { position: absolute; bottom: 11%; left: 23%; z-index: 100; }
.floating-glass-btn { display: flex; align-items: center; padding: 10px 18px; background: rgba(255, 255, 255, 0.9); border-radius: 8px; color: #333; text-decoration: none; font-size: 0.8rem; font-weight: bold; }

/* 巨大な右斜めメッセージ */
.message-reveal-area { margin: 80px 0 40px; }
.reveal-text-tilt {
    font-size: 3rem; line-height: 1.4; font-weight: bold; transform: rotate(-4deg); display: inline-block;
    background: linear-gradient(135deg, #fff5e1 0%, #f7ce68 50%, #fff5e1 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.reveal-text-tilt .main-msg { font-size: 1.2em; display: block; margin-top: 10px; }

/* 3連カード */
.section-title-main { font-size: 1.6rem; margin: 30px 0; }
.cards-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* 扇形にするため少し狭めて重ねる */
    width: 95%;
    max-width: 1000px;
    margin: 50px auto;
    perspective: 1500px; /* 奥行きを強調 */
}
.life-card {
    flex: 1;
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: var(--card-blue);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    /* 回転の軸を下端中央に設定（扇の要） */
    transform-origin: center bottom; 
}

/* ホバー時は正面を向いて飛び出す */
.life-card:hover {
    transform: rotateZ(0deg) rotateY(0deg) rotateX(0deg) translateZ(100px) scale(1.1) !important;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    filter: brightness(1.1);
}


.card-bronze { background: var(--card-bronze); }
.tilt-left { transform: rotateZ(-10deg) rotateY(20deg) translateZ(-20px); }
.tilt-center { transform: rotateX(5deg) translateZ(10px); }
.tilt-right { transform: rotateZ(10deg) rotateY(-20deg) translateZ(-20px); }
.card-img-frame { height: 160px; overflow: hidden; border-radius: 12px; margin-top: 10px; }
.card-img { width: 100%; height: 100%; object-fit: cover; }

/* 院長紹介（崩れ修正） */
.profile-custom-section { width: 95%;
    max-width: 1000px;
    margin: 80px auto; }
.profile-combined-layout { display: flex;
    align-items: stretch;
    position: relative;
    gap: 0; }
.profile-photo-area { flex: 0.8;
    z-index: 10;
    transform: translateX(40px);
    display: flex;
    align-items: center; }

.profile-career-box {
    flex: 1.2;
    display: flex;
}


.photo-frame-main { background: #fff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%; }
.profile-img-main { width: 100%;
    border-radius: 12px;
    display: block; }
.profile-combined-board { 
    background: #fff;
    border-radius: 30px;
    padding: 50px 40px 40px 80px; 
    color: #333;
    text-align: left;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.box-label {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 4px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}


.overlap-label { position: absolute;
    top: 15px;      /* ここをマイナスからプラスの数値にすると下がります */
    left: 30px;
    background: #fff;
    padding: 4px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    z-index: 5;    /* 重なりの順位を確保 */ }

.profile-divider { height: 1px;
    background: #eee;
    margin: 25px 0; }
.profile-bottom-flex { display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 15px; }

.qualifications-side {
    flex: 1;
}



.q-list-new { list-style: none;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 2; }


.hospital-photo-side { width: 140px;
    text-align: center; }


.hospital-frame { border: 3px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px; }


.hospital-img { width: 100%;
    height: 90px;
    object-fit: cover;
    display: block; }


.photo-caption-small {
    font-size: 0.7rem;
    color: #666;
    font-weight: bold;
}


/* ブログ（横並び修正） */
.blog-custom-section { width: 95%; max-width: 1050px; margin: 60px auto; }
.blog-layout-flex { display: flex; gap: 30px; text-align: left; }
.blog-banner-side { flex: 1.1; }
.blog-main-card { position: relative; border-radius: 30px; overflow: hidden; height: 380px; }
.blog-card-bg { width: 100%; height: 100%; object-fit: cover; }
.blog-card-inner { position: absolute; inset: 0; background: rgba(0,0,0,0.4); padding: 30px; display: flex; flex-direction: column; justify-content: flex-start;padding-top: 120px; }
.speech-bubble-mini { background: #fff; color: #333; padding: 4px 12px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; margin-bottom: 12px; width: fit-content; }
.blog-chips { display: flex; gap: 6px; margin-bottom: 15px; }
.blog-chips span { background: rgba(0,0,0,0.5); padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; border: 1px solid rgba(255,255,255,0.2); }
.blog-portal-btn { background: var(--gold-gradient); color: #fff; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: bold; }
.blog-list-side { flex: 0.9; }
.post-group-title { font-size: 1rem; border-left: 4px solid var(--blue); padding-left: 10px; margin-bottom: 15px; }
.post-item-simple { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: space-between; }

/* スクロールアニメーション用 */
.js-reveal {
    opacity: 0;
    filter: blur(10px); 
    transform: translateY(40px) scale(0.98); 
    transition: 
    opacity 2.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.0s cubic-bezier(0.22, 1, 0.36, 1),
    filter 2.5s ease; 
}


.js-reveal.active {
    opacity: 1;
    transform: translateY(0);
}



.js-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}


.mt-20 { margin-top: 20px; }

/* 予約バー */
.reservation-bar {   position: fixed;
    bottom: 20px; /* ちょっと浮かせる */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1000;}

.btn { 
    position: relative;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: rotate(45deg);
    transition: all 0.7s;
}


.btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}




.btn.tel { background: linear-gradient(135deg, #5d7ea3, #3b5a8c);
    box-shadow: 0 0 15px rgba(93,126,163,0.6), 0 0 25px rgba(93,126,163,0.4), 0 0 35px rgba(93,126,163,0.2);
    animation: pulse-tel 2s infinite; }
.btn.line {  background: linear-gradient(135deg, #06c755, #04a647);
    box-shadow: 0 0 15px rgba(6,199,85,0.6), 0 0 25px rgba(6,199,85,0.4), 0 0 35px rgba(6,199,85,0.2);
    animation: pulse-line 2s infinite; }

@media (max-width: 850px) {
    .profile-combined-layout {
        flex-direction: column;
        align-items: center;
    }

.profile-photo-area {
        transform: none;
        width: 80%;
        margin-bottom: -40px;
    }

.profile-combined-board {
        padding: 60px 30px 30px 30px;
    }

.profile-bottom-flex {
        flex-direction: column;
    }
}




/* ボタンの親要素：中央揃えと余白の調整 */
.cta-center {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 40px;
}

/* ご予約はこちらボタン：基本デザイン */
.btn-reservation-gold {
    display: inline-block;
    padding: 22px 60px;   /* ← ここでサイズUP */
    font-size: 1.2rem;    /* ← 文字も少し大きく */
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    position: relative;
}

.reserve-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6dd5fa, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


.reserve-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}


/* マウスオーバー時の動き：ふわっと浮き上がる */
.btn-reservation-gold:hover {
transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(0,0,0,0.35),
        0 0 25px rgba(255,140,0,0.8);  /* ← 発光 */
}

/* 光る演出（キラッと走る光） */
.btn-reservation-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: radial-gradient(circle at center,
                rgba(255,255,255,0.4) 0%,
                transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

/* マウスを載せた瞬間に光が左から右へ走る */
.btn-reservation-gold:hover::after {
    left: 120%;
    transition: all 0.7s inset;
}
/* --- 1. 予約ボタン周りの整理 --- */
.guide-text {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* --- 2. インパクトメッセージ本体（パソコン用） --- */
.impact-message-area {
    margin-top: -60px;   /* 予約ボタンとの間隔をギュッと詰める */
    margin-bottom: 40px;
    text-align: center;
    z-index: 50;
    position: relative;
}

.impact-title {
   font-size: 3.5rem; 
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff5e1 0%, #f7ce68 50%, #fff5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7));
    display: block;
    text-align: center;
}

.impact-sub {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* --- 3. 拡大アニメーションの設定 --- */
.js-zoom {
    transform: scale(0.3); /* 最初はかなり小さくしておく */
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.17, 0.84, 0.44, 1), opacity 1.2s ease-out;
}

.js-zoom.is-visible {
    transform: scale(1);   /* 標準サイズに拡大 */
    opacity: 1;
}

/* --- 4. スマホ用の調整（最後に1つだけ置く） --- */
@media (max-width: 850px) {
    .impact-message-area {
        margin-top: -20px;
    }
    .impact-title {
        font-size: 2.0rem; /* スマホでは読みやすいサイズに */
    }
    .impact-sub {
        font-size: 1.0rem;
    }
    }


/* --- ブログセクション前後の調整 --- */

/* ブログの「上のメッセージ」の余白 */
.blog-custom-section {
    margin-top: 60px; /* メッセージとの間にゆとりを持たせる */
}

/* ブログの「下の予約ボタン」の余白 */
/* 画面の一番下にある固定バーと重なりすぎないように調整 */
.blog-custom-section + .reservation-hybrid-area {
    margin-top: 40px;
    margin-bottom: 120px; /* スマホの予約バーに隠れないよう広めに設定 */
}

/* スマホ用の微調整 */
@media (max-width: 850px) {
    .blog-custom-section + .reservation-hybrid-area {
        margin-bottom: 140px; /* スマホはさらに余白を確保 */
    }
}



/* --- 予約ボタンをさらに目立たせる設定 --- */

/* 1. ボタン本体をパワーアップ */
.btn-gbg-gold {
    animation: pulse-gold 2s infinite; /* アニメーションを適用 */
    padding: 22px 80px;               /* 少し大きく */
    font-size: 1.4rem;               /* 文字も大きく */
    font-weight: 900;                /* 文字を太く */
}

/* 2. 脈動アニメーションの定義（これを追加！） */
@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(247, 206, 104, 0.4);
    }
    50% {
        transform: scale(1.05); /* ほんの少し膨らむ */
        box-shadow: 0 10px 30px rgba(247, 206, 104, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(247, 206, 104, 0.4);
    }
}

/* 3. ガイドテキスト（ボタンの上の文字）も目立たせる */
.guide-text {
    font-size: 1.1rem;
    color: #f7ce68; /* 金色にしてボタンとセットにする */
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}



/* 他の設定に負けないよう、セクション名から指定して強制巨大化 */
section.intro-special-zone .massive-title {
    font-size: 5.5rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    display: block !important;
    text-align: center !important;
}

section.intro-special-zone .frame-text {
    font-size: 2.8rem !important;
    color: #ffffff !important;
    text-align: center 
!important;
}



/* --- 最終修正：以前の!importantをさらに上書きする --- */

/* 1. タイトルの強制巨大化 */
/* セクション名から繋げて書くことで、233行目の設定よりも優先させます */
section.intro-special-zone h2#FORCE-BIG-TITLE {
    font-size: 5.5rem !important; /* 圧倒的なサイズに上書き */
    color: #ffffff !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    display: block !important;
    text-shadow: 0 0 20px rgba(255,255,255,0.4) !important;
}

/* 2. 額縁の装飾を確定させる */
.intro-special-zone .frame-inner-border {
    padding: 40px 80px !important;
    border: 4px double #f7ce68 !important; /* 金色の二重線 */
    background: rgba(255, 255, 255, 0.05) !important;
}

/* 3. 額縁の中の文字サイズ */
.intro-special-zone .frame-text {
    font-size: 2.8rem !important;
    color: #fff !important;
}

/* スマホ用設定（画面が小さい時に文字がはみ出さないように） */
@media (max-width: 650px) {
    section.intro-special-zone h2#FORCE-BIG-TITLE {
        font-size: 2.2rem !important;
    }
    .intro-special-zone .frame-inner-border {
        padding: 20px 30px !important;
    }
    .intro-special-zone .frame-text {
        font-size: 1.3rem !important;
    }
}

/* --- 自己治癒力セクションの最終調整 --- */

/* --- 自己治癒力セクション：洗練された高級デザイン --- */

.intro-special-zone {
    /* ヘッダーとの間隔をさらに上に詰め、全体をスッキリさせました */
    padding: 30px 20px 60px 20px !important;
    background: transparent !important;
}

/* タイトルの装飾：サイズを「ほどよく」し、文字の間隔を広げる */
#FORCE-BIG-TITLE {
    font-size: 3.2rem !important; /* 圧倒的な大きさから、読みやすい大きさに */
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important; /* 文字の間隔を広げて「品」を出す */
    line-height: 1.4 !important;
    margin-bottom: 30px !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
    display: inline-block;
}

/* タイトルの下に、さりげない金色のラインを入れる */
#FORCE-BIG-TITLE::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background: #f7ce68;
    margin: 15px auto 0;
}

/* 院名をサブタイトルのように配置 */
.massive-clinic-name {
    font-size: 1.1rem !important;
    color: #f7ce68 !important; /* 院名を金色に */
    letter-spacing: 0.3em !important;
    margin-bottom: 50px !important;
    display: block !important;
}

/* 額縁（問いかけ）のデザイン：線を細くして「知性」を感じさせる */
.intro-special-zone .frame-inner-border {
    padding: 30px 40px !important;
    border: 1px solid rgba(247, 206, 104, 0.6) !important; /* 太い二重線から細い一本線へ */
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(4px); /* 背景を少しだけボカす（高級感） */
    display: inline-block;
}

.intro-special-zone .frame-text {
    font-size: 1.6rem !important; /* 文字サイズを適正化 */
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
}

/* スマホ用の調整 */
@media (max-width: 850px) {
    #FORCE-BIG-TITLE { font-size: 1.8rem !important; letter-spacing: 0.1em !important; }
    .intro-special-zone .frame-text { font-size: 1.1rem !important; }
}



/* --- アニメーションの復活 --- */

/* 1. 最初に透明にして、少し下にずらしておく */
.reveal-text {
    opacity: 0;
    transform: translateY(30px) rotate(-5deg); /* 斜め状態を維持 */
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. スクロールして画面に入った時の動き（これが消えていた可能性が高いです） */
.reveal-text.visible {
    opacity: 1;
    transform: translateY(0) rotate(-5deg); /* 指定の斜め角度でピタッと止まる */
}

/* 3. 「諦めないで〜」の文字サイズと装飾の再調整 */
.massive-title {
    font-size: 3.5rem !important; /* 大きすぎず、インパクトのあるサイズ */
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    display: block !important;
}



/* 写真を光らせ、背景に溶け込ませる演出 */
.shining-photo-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 80px auto !important;
    text-align: center;
    overflow: hidden;
}

/* 上下をふわっと暗闇に溶け込ませるマスク */
.shining-photo-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, 
        #000 0%, 
        transparent 15%, 
        transparent 85%, 
        #000 100%);
    z-index: 2;
}

.shining-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.1) saturate(0.8); /* 少し明るく、透明感を出す */
    border-radius: 4px;
    mix-blend-mode: screen; /* 背景の黒と写真の黒を同化させ、光だけを浮かび上がらせる魔法 */
    opacity: 0.85; /* ほんの少しだけ透かすことで、背景の星が写真越しに見えるようになります */
}

/* 写真の背後から溢れる光の演出 */
.photo-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(247, 206, 104, 0.2) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

.photo-sub-message {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #f7ce68;
    letter-spacing: 0.3em;
    opacity: 0.7;
    font-weight: 300;
}

/* 額縁エリア（問いかけ）の余白調整 */
.intro-special-zone {
    margin-top: 60px !important;
    margin-bottom: 100px !important;
}


/* 比較セクション全体のスタイル */
.comparison-section {
    width: 95%;
    max-width: 900px;
    margin: 40px auto 80px;
}

.comparison-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.comparison-card {
    flex: 1;
    padding: 30px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 左側：従来の施術（少し抑えめ） */
.card-off {
    opacity: 0.7; /* 少し暗くする */
    filter: grayscale(0.3); /* わずかに色味を抑える */
}

/* 右側：当院の施術（目立たせる） */
.card-on {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(247, 206, 104, 0.5);
    box-shadow: 0 0 30px rgba(247, 206, 104, 0.2);
    transform: scale(1.05); /* 少し大きく */
    font-weight: bold;
}

.card-status {
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.2);
}

.status-gold {
    background: var(--gold-gradient);
    color: #5d4037;
    font-weight: bold;
}

.card-focus {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.comparison-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.comparison-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 1.5em;
    position: relative;
}

/* チェックマークの装飾 */
.comparison-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f7ce68;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
        align-items: center;
    }
    .card-on {
        transform: scale(1);
        margin-top: 10px;
    }
}

/* =========================================
   追加：施術イメージ案内エリアのスタイル
========================================= */

/* 1. 全体の枠：リストとの間に区切り線を入れ、余白をとる */
.treatment-intro-container {
    display: flex;
    align-items: center; /* 上下中央揃え */
    gap: 20px;           /* テキストと画像の間隔 */
    margin-top: 30px;    /* 上のリストとの間隔 */
    padding-top: 30px;   /* 区切り線からの余白 */
    border-top: 1px solid rgba(247, 206, 104, 0.4); /* 金色の薄い区切り線 */
    text-align: left;
}

/* 2. 左側のテキストエリア */
.treatment-text-side {
    flex: 1; /* 幅の比率を調整（テキスト側） */
}

/* 小見出し */
.treatment-title {
    font-size: 1.1rem;
    color: #f7ce68; /* 金色で強調 */
    margin-bottom: 12px;
    font-weight: bold;
}

/* 説明文 */
.treatment-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #eee; /* 読みやすい明るいグレー */
}

/* 3. 右側の画像エリア */
.treatment-image-side {
    flex: 0.8; /* 幅の比率を調整（画像側を少し狭く） */
    text-align: center;
}

/* GIF画像の装飾 */
.treatment-gif {
    width: 100%;
    max-width: 250px; /* 画像が大きくなりすぎないように制限 */
    height: auto;
    border-radius: 10px; /* 角を丸く */
    border: 2px solid rgba(247, 206, 104, 0.6); /* 金色の枠線で囲む */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* 立体感のある影 */
}

/* 4. スマホ対応：画面が狭いときは縦並びにする */
@media (max-width: 600px) {
    .treatment-intro-container {
        flex-direction: column-reverse; /* 画像を上に、テキストを下に */
        text-align: center;
        gap: 15px;
    }
    .treatment-text-side {
        text-align: left; /* テキストは左揃えに戻す（読みやすさ優先） */
    }
    .treatment-gif {
        max-width: 80%; /* スマホでは少し小さめに表示 */
        margin-bottom: 10px;
    }
}

/* --- 左側カード内の解説テキスト --- */
.analysis-text-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.analysis-title {
    font-size: 0.95rem;
    color: #f7ce68;
    font-weight: bold;
    margin-bottom: 8px;
}

.analysis-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* --- 右側カード内の大きな画像エリア --- */
.big-visual-area {
    margin-top: 25px;
    text-align: center;
}

.visual-caption {
    font-size: 0.85rem;
    color: #f7ce68;
    margin-bottom: 10px;
    font-weight: bold;
}

.kensagazou-big {
    width: 100%;       /* 横幅いっぱい */
    max-width: 400px;  /* 大きすぎ防止 */
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(247, 206, 104, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.visual-explanation {
    margin-top:15px;
    display:flex;
    flex-direction:column;
    gap:5px;
    font-size:0.8rem;
}

.ex-point {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
    .card-on {
        transform: scale(1);
        margin-top: 20px;
    }
}



.detail-flex-container {
    display: flex;       /* これが横並びの魔法です */
    align-items: center;
    gap: 40px;
}

@media (max-width: 850px) {
    .detail-flex-container {
        flex-direction: column-reverse; /* スマホでは縦に並ぶ */
    }
}


/* --- 検査ブロックのバランス調整 --- */
.treatment-detail-area {
    width: 95%;
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 30px;
    border: 1px solid rgba(247, 206, 104, 0.2);
    display: block; /* セクション自体はブロック */
}

.detail-flex-container {
    display: flex !important; /* 強制的に横並び */
    align-items: center;      /* 上下中央 */
    justify-content: space-between;
    gap: 40px;
}

/* 左側：説明文（幅を55%に固定） */
.detail-text-side {
    flex: 1.2;
    text-align: left;
}

/* 右側：画像エリア（幅を40%に固定） */
.detail-image-side {
    flex: 0 0 40%;
    text-align: center;
}

/* 画像そのもののサイズを枠内に収める */
.kensagazou-standalone {
    width: 100%;       /* 親要素（40%）の幅いっぱいにする */
    max-width: 400px;  /* それ以上は大きくしない */
    height: auto;
    display: block;
    border-radius: 15px;
}

.image-frame {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(247, 206, 104, 0.3);
}

/* スマホ表示の時は縦に並べて画像を小さくする */
@media (max-width: 850px) {
    .detail-flex-container {
        flex-direction: column !important; /* 文章が上、画像が下 */
    }
    .detail-text-side, .detail-image-side {
        flex: 0 0 100%;
        width: 100%;
    }
    .detail-image-side {
        order: -1; /* スマホでは画像を先に（上に）見せる場合はこれ、不要なら削除 */
    }
}


/* --- 検査詳細セクションのレイアウト調整 --- */
.treatment-detail-area {
 width: 95%;
    max-width: 1050px;
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(15, 20, 25, 0.75); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px; 
    border: 1px solid rgba(247, 206, 104, 0.2); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.detail-flex-container {
    display: flex;
    align-items: center;    /* 上下中央揃え */
    justify-content: space-between;
    gap: 50px;              /* 説明と画像の間隔 */
}

/* 左側：説明文（全体の約55%） */
.detail-text-side {
    flex: 1.3;
    text-align: left;
    /* 背景が暗いので、少し文字に厚みを持たせる */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.detail-title {
   font-size: 1.8rem;
    color: #f7ce68;
    border-left: 6px solid #f7ce68;
    padding-left: 20px;
    margin-bottom: 30px;
    /* 文字に少しだけ光（グロー）を入れると背景に負けません */
    text-shadow: 0 0 12px rgba(247, 206, 104, 0.4);
}

 .detail-desc {
    color: #f0f0f0; 
    line-height: 2.2; 
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}



/* チェックリスト項目 */
.point-item {
 background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px;
    transition: all 0.3s ease;
}


.point-txt {
   color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500; /* 少しだけ太く */
}

.point-item:hover {
    background: rgba(247, 206, 104, 0.1);
    border-color: rgba(247, 206, 104, 0.3);
}


.point-txt {
  font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
}

.point-mark {
   color: #f7ce68;
    font-size: 1.4rem;
}


/* 右側：画像エリア（全体の約40%に抑える） */
.detail-image-side {
    flex: 1;
    max-width: 400px; /* ★ここが重要：画像の最大幅を制限 */
    text-align: center;
}

.image-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(247, 206, 104, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}

.kensagazou-standalone {
    width: 100%;      /* 枠いっぱいに表示 */
    height: auto;
    display: block;
}

/* スマホ対応：画面が狭いときは縦並び */
@media (max-width: 850px) {
    .detail-title {
        font-size: 1.5rem;
    }
    .detail-desc {
        font-size: 1rem;
        line-height: 2.0;
    }
}




.authority-badge{
  width: 95%;
  max-width: 1100px;
  margin: 70px auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

.authority-card{
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(245,248,252,0.88) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.authority-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(247,206,104,0.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(93,126,163,0.12), transparent 35%);
  pointer-events: none;
}

.authority-glow{
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(247,206,104,0.28) 0%, rgba(247,206,104,0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.authority-left{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.authority-avatar{
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(247,206,104,0.55);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.authority-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.authority-meta{
  text-align: left;
}

.authority-label{
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #caa65a 0%, #e4c37f 100%);
  border-radius: 999px;
}

.authority-name{
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c2c2c;
  margin-bottom: 4px;
}

.authority-note{
  font-size: 0.82rem;
  color: #666;
  line-height: 1.6;
}

.authority-right{
  position: relative;
  z-index: 2;
  text-align: left;
}

.authority-title{
  font-size: 1.6rem;
  font-weight: bold;
  color: #2f3e4e;
  margin-bottom: 14px;
  line-height: 1.4;
}

.authority-quote{
  font-size: 1rem;
  color: #4e5b68;
  line-height: 1.9;
  margin-bottom: 18px;
}

.authority-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.authority-link{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(93,126,163,0.12);
  color: #2f4a68;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.authority-link:hover{
  background: rgba(93,126,163,0.22);
  transform: translateY(-2px);
}

.authority-chip{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: bold;
  color: #7c5d1f;
  background: rgba(247,206,104,0.18);
  border: 1px solid rgba(247,206,104,0.35);
}

@media (max-width: 820px){
  .authority-card{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .authority-left{
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .authority-meta,
  .authority-right{
    text-align: center;
  }

  .authority-title{
    font-size: 1.25rem;
  }

  .authority-quote{
    font-size: 0.95rem;
  }
}





/* --- 信頼感・3D口コミセクション（右写真ver） --- */
.trust-3d-section {
    width: 95%;
    max-width: 1050px;
    margin: 130px auto 100px;
    padding: 40px 0;
    opacity: 1;
    transform: none;
}


.trust-3d-section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.trust-3d-section.is-visible .box-1 {
    opacity: 0.85;
    transform: translateY(0) scale(0.92);
}

.trust-3d-section.is-visible .box-2 {
     opacity: 1;
    transform: translateY(0) scale(1.05);
    animation: floatCard 6s ease-in-out infinite;
}


.trust-3d-section.is-visible .box-3 {
    opacity: 0.75;
    transform: translateY(0) scale(0.88);
}



.trust-3d-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}




/* 左側：口コミ階段エリア */
.testimonial-staggered {
    flex: 0 0 320px;
    position: relative;
    height: 360px;
    min-width: 320px;
}

.testi-box {
    background: rgba(15, 20, 25, 0.78);
    border: 1px solid rgba(247, 206, 104, 0.28);
    padding: 20px;
    border-radius: 40px;
    width: 290px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(247, 206, 104, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    opacity: 0;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.testi-box:hover {
     transform: translateY(-10px) scale(1.05);
    z-index: 50;
    border-color: rgba(247,206,104,0.75);
    box-shadow:
        0 25px 50px rgba(0,0,0,0.45),
        0 0 18px rgba(247,206,104,0.20),
        0 0 36px rgba(247,206,104,0.08);
}



@keyframes floatCard {
     0%   { transform: translateY(0) scale(1.05); }
    50%  { transform: translateY(-8px) scale(1.05); }
    100% { transform: translateY(0) scale(1.05); }
}


.testi-box:hover:not(.video-box) {
    transform: translateY(-10px) scale(1.05);
    z-index: 999;
}

.box-1 {  
     top: 70px;
    left: 0;
    transform: translateY(40px) scale(0.92);
    transition-delay: 0.2s;
    z-index: 5;
}

.box-2 {    
    top: 130px;
    left: 75px;
    transform: translateY(40px) scale(1.05);
    transition-delay: 0.4s;
    z-index: 30;
}

.box-3 {
    top: 210px;
    left: 10px;
    transform: translateY(40px) scale(0.88);
    transition-delay: 0.6s;
    z-index: 4;
    background: rgba(15,20,25,0.95);
    border-color: rgba(247,206,104,0.6);
}

.testi-header { 
    color: #f7ce68;
    margin-bottom: 8px;
    font-size: 0.9rem; }

.testi-text { 
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 10px;
    text-align: left; }

.testi-name {     
    font-size: 0.8rem;
    color: #f7ce68;
    display: block;
    text-align: right;
    font-weight: bold;
}


/* 右側：施術写真エリア */
.main-photo-area {
    flex: 0 0 380px;
    margin-top: -10px;
    margin-left: 0;
}

.main-photo-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: -15px 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(247, 206, 104, 0.2);
}


.main-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.photo-overlay {
     position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 25px;
}

.photo-caption { 
    color: #f7ce68;
    font-weight: bold;
    font-size: 1.1rem;
}

/* スマホ対応：縦並びにして、階段配置を解除 */
@media (max-width: 900px) {
    .trust-3d-container {   
        flex-direction: 
        column-reverse;gap: 40px; 
}
    .testimonial-staggered { 
        flex: 0 0 320px;
        position: relative;
        height: 360px;
        min-width: 320px;
}
      .testi-box,
    .video-box {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 400px;
        transform: none !important;
    }
    .main-photo-area {
        margin-top: 0;
    }
    .main-photo-frame {  transform: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
 }
    .main-photo { height: 350px; }
}


/* 動画ボックス専用スタイル */
.video-box {
   width: 320px !important;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 2px solid #f7ce68 !important;
    padding: 15px !important;
    z-index: 25;
}


.youtube-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 10px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(247, 206, 104, 0.2);
}

.youtube-wrapper iframe {
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-improvement-section {
    margin-bottom: 90px;
}


.video-sub {
     font-size: 0.8rem;
    color: #f7ce68;
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .testimonial-staggered {
        height: auto; /* 縦並びの時は高さを自動に */
    }
    .video-box {
        width: 100% !important; /* スマホでは全幅 */
        max-width: 400px;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin: 10px 0;
    }
}



/* --- ビデオセクション全体のデザイン --- */
.video-result-section {
    width: 95% !important;
    max-width: 1000px !important;
    margin: 80px auto !important; /* 上下に余裕を持たせる */
    text-align: center !important;
}

.video-header {
    margin-bottom: 40px !important;
}

.video-main-title {
    font-size: 1.8rem !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}

.video-sub-text {
    font-size: 1rem !important;
    color: #f7ce68 !important; /* 金色っぽい色で強調 */
}

/* ビデオを横に並べる箱 */
.video-flex-container {
    display: flex !important;
    flex-direction: row !important; /* 横並び */
    gap: 30px !important;
    justify-content: center !important;
}

.video-wrapper {
    flex: 1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 15px !important;
    border-radius: 15px !important;
}

.result-video {
    width: 100% !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

.video-caption {
    margin-top: 15px !important;
    font-size: 0.9rem !important;
    color: #ccc !important;
}

/* スマホでは縦並びに切り替える */
@media (max-width: 768px) {
    .video-flex-container {
        flex-direction: column !important; /* 縦並び */
    }
}



/* --- スライドセクション：最終クリーンアップ --- */

.trust-flex-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 95% !important;
    max-width: 1000px !important;
    margin: 60px auto !important;
    padding: 30px !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(247, 206, 104, 0.2);
}

.trust-text-area {
    flex: 1 !important;
    text-align: left !important;
}

.trust-slider-area {
    flex: 0 0 45% !important; 
    position: relative !important;
    height: 300px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
    background: #000;
}

.slide-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0;
    z-index: 10 !important;
    animation: finalSlideShow 15s infinite linear !important;
}

.slide-img:nth-child(1) { animation-delay: 0s !important; }
.slide-img:nth-child(2) { animation-delay: 5s !important; }
.slide-img:nth-child(3) { animation-delay: 10s !important; }

/* --- アニメーション本体：これ1つに絞る --- */
@keyframes finalSlideShow {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1); }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

/* --- スマホ表示設定（レスポンシブ） --- */
@media (max-width: 768px) {
    .trust-flex-container {
        flex-direction: column !important; /* 縦並びにする */
        text-align: center !important;
        gap: 20px !important;
    }
    .trust-text-area {
        text-align: center !important;
    }
    .trust-slider-area {
        width: 100% !important;
        max-width: 100% !important;
        height: 250px !important;
        flex: 0 0 auto !important;
    }
}



/* --- 3連ボックス：上下黒帯フレーム構成 --- */
.synapse-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.synapse-item {
    flex: 1;
    min-width: 300px;
}

/* 上下の帯と画像をまとめるラッパー */
.synapse-box-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden; /* 全体を角丸にする */
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

/* 上下の黒帯共通スタイル */
.synapse-label-bar {
    background: rgba(0, 0, 0, 0.9); /* 濃い黒 */
    color: #fff;
    padding: 12px 0;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 30; /* 説明文より前に出す */
}

.top-bar { border-bottom: 1px solid #333; }
.bottom-bar { border-top: 1px solid #333; color: #f7ce68; } /* 下の文字は金文字で強調 */

/* 画像エリア（ここだけがホバーに反応する） */
.synapse-image-area {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}

.synapse-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* ホバー時の説明文（画像エリア内だけで展開） */
.synapse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 20;
}

.synapse-description {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ホバー挙動 */
.synapse-image-area:hover .synapse-overlay {
    opacity: 1;
}

.synapse-box-wrapper:hover .synapse-img {
    transform: scale(1.1);
}








/* --- 動画セクション：タイトルとボタンの横並び --- */
.video-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* 青色の目立つボタン */
.athlete-toggle-btn {
    background-color: #0047ab; /* ロイヤルブルー */
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}
.athlete-toggle-btn:hover {
    background-color: #003580;
    transform: translateY(-2px);
}

/* 動画のレイアウト */
.video-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.video-card { flex: 1; min-width: 300px; max-width: 500px; }
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-caption { margin-top: 10px; font-weight: bold; color: #fff; }
/* --- 3連ボックス：下部集約デザイン --- */
.synapse-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.synapse-item {
    flex: 1;
    min-width: 300px;
}

.synapse-box-wrapper {
    background: rgba(0, 0, 0, 0.8); /* ボックス全体の背景 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* 画像エリア */
.synapse-image-area {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.synapse-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 常時表示される下部エリア */
.synapse-info-bar {
    background: #000; /* 黒背景 */
    padding: 15px 10px;
    border-top: 1px solid #333;
}

/* 目的（身体バランスを整える等） */
.synapse-purpose {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 施術名（① QTEメソッド等） */
.synapse-method-name {
    color: #f7ce68; /* 金文字 */
    font-size: 1.15rem;
    font-weight: bold;
}

/* ホバー時の説明文（画像部分のみに被る） */
.synapse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.synapse-description {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ホバー挙動 */
.synapse-image-area:hover .synapse-overlay {
    opacity: 1;
}

.synapse-box-wrapper:hover .synapse-img {
    transform: scale(1.1);
}



/* 動画カード全体の調整 */
.video-card {
    background: transparent;
    padding: 0;
}


/* 動画とキャプションを包む枠 */
.video-inner-box {
    overflow: hidden;
    border-radius: 10px; /* 角丸にする場合 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


/* 動画セクションのレイアウト調整 */
.video-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* 青色の目立つボタン */
.athlete-toggle-btn {
    background-color: #0047ab;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.athlete-toggle-btn:hover {
    background-color: #003580;
}

/* YouTubeのレスポンシブ対応 */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}


/* ★ 動画下の黒帯背景と白文字 */
.video-caption-bar {
    background: #000; /* 真っ黒な背景 */
    color: #fff; /* 白文字 */
    padding: 12px 10px;
    text-align: center;
}


.video-caption-bar p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}


@keyframes pulse-tel {
    0%,100% { box-shadow: 0 0 15px rgba(93,126,163,0.6), 0 0 25px rgba(93,126,163,0.4), 0 0 35px rgba(93,126,163,0.2); }
    50% { box-shadow: 0 0 25px rgba(93,126,163,0.8), 0 0 35px rgba(93,126,163,0.6), 0 0 45px rgba(93,126,163,0.3); }
}

@keyframes pulse-line {
    0%,100% { box-shadow: 0 0 15px rgba(6,199,85,0.6), 0 0 25px rgba(6,199,85,0.4), 0 0 35px rgba(6,199,85,0.2); }
    50% { box-shadow: 0 0 25px rgba(6,199,85,0.8), 0 0 35px rgba(6,199,85,0.6), 0 0 45px rgba(6,199,85,0.3); }
}

/* レスポンシブ：スマホは縦並び */
@media (max-width: 600px) {
    .reservation-bar {
        flex-direction: column;
        gap: 15px;
    }
    .btn { width: 80%; font-size: 1rem; padding: 15px 0; }
}


