:root{--sw:240px;--accent:#443932;--pink:#c9637a;--green:#4a7c59;--text:#333;--muted:#433932;--border:#e2ddd7;--bg:#f5f3ef;--white:#fff;--font-en:'Quicksand','Zen Kaku Gothic New',sans-serif;--font:'Zen Kaku Gothic New',游ゴシック体,'Yu Gothic',YuGothic,'ヒラギノ角ゴシック Pro','Hiragino Kaku Gothic Pro',メイリオ,Meiryo,Osaka,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
html{scrollbar-gutter:stable;} /* overflow:hiddenでもガター幅を確保→ビューポート幅変化なし */
body{font-family:var(--font) !important;font-size:16px;line-height:1.8;color:var(--text);background:var(--white);}
/* 英語ラベルは丸みのある Quicksand（日本語は --font の Zen Kaku Gothic New） */
.hero-card__sub,.sec-head__en,.page-mv__en,.trouble-section__en,.footer__tel-label{font-family:var(--font-en);}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}

/* ── LAYOUT ── */
.sidebar{position:fixed;top:0;left:0;width:var(--sw);height:100vh;background:var(--white);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:200;overflow-y:auto;}
.main-wrapper{margin-left:var(--sw);min-height:100vh;}
@media(min-width:1024px){ .sidebar{overscroll-behavior:contain;} } /* PC：サイドバー上のスクロールをメインへ伝えない */

/* ── LOGO ── */
.sidebar__logo{padding:24px 16px 0;flex-shrink:0;}
.sidebar__logo a{display:block;}
/* ロゴの幅：画面の高さに連動。高さ800px以下は80px（従来どおり）、高いモニターほど大きく、上限160px
   ※ サイドバーは縦に収める必要があるため、基準は幅ではなく高さ。SPは別ルール（下の @media）で上書き */
.sidebar__logo img{width:clamp(80px, calc(80px + (100vh - 800px) * .3), 160px);max-width:100%;height:auto;margin:0 auto;display:block;}

/* ── NAV ── */
.sidebar__nav{flex:1;display:flex;flex-direction:column;padding:0 20px 20px;}

/* メニューリスト */
.sidebar__nav-center{flex:1;display:flex;flex-direction:column;justify-content:center;}
.sidebar__menu{flex-shrink:0;}
@media(min-width:1024px){ .sidebar__menu{padding:6px 0;} } /* PC：メニュー上下の余白 */
.sidebar__menu > li{border-bottom:none;}
.sidebar__menu > li > a{display:flex;align-items:center;gap:10px;min-height:37px;font-size:16px;font-weight:500;color:var(--text);transition:color .15s;}
.sidebar__menu > li > a > i{font-size:15px;width:20px;text-align:center;color:#443932;flex-shrink:0;}
.sidebar__menu > li > a:hover{color:#443932;}
.sidebar__menu > li > a::after{content:"›";font-size:16px;color:#bbb;flex-shrink:0;margin-left:auto;}
/* メニュー項目の高さを画面の高さに連動（参考：okpwithlife.kouaikai.jp。paddingではなくmin-height＋縦中央揃え）
   高さ800px以下＝37px（従来どおり）／801〜950px＝42px／951px以上＝48px */
@media(min-width:1024px) and (min-height:801px){ .sidebar__menu > li > a{min-height:42px;} }
@media(min-width:1024px) and (min-height:951px){ .sidebar__menu > li > a{min-height:48px;} }

/* ── LINKS ── */
.sidebar__links{flex-shrink:0;margin-top:20px;padding:0;}
.sidebar__links a{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:14px;font-weight:700;color:var(--text);transition:color .15s;}
.sidebar__links a:hover{color:#443932;}
.sidebar__links-icon{width:18px;height:18px;background:#443932;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sidebar__links-icon i{color:#fff;font-size:9px;}

/* 自費診療（赤テキスト＋ピルボタン） */
.sidebar__cosmetic{margin-top:24px;}
.sidebar__cosmetic-head{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:14px;font-weight:700;color:#433932;}
.sidebar__cosmetic-head::after{content:"";flex:1;height:1px;background:var(--border);}
.sidebar__cosmetic-head:hover{opacity:1;cursor:default;}
.sidebar__cosmetic-sub{padding:6px 0 0;}
.sidebar__cosmetic-sub a{display:flex;align-items:center;justify-content:center;gap:6px;padding:2px 12px;margin-bottom:8px;font-size:13px;font-weight:700;color:#fff;background:#443932;border-radius:9999px;}
.sidebar__cosmetic-sub a i{font-size:11px;color:#fff;}
.sidebar__cosmetic-sub a:hover{opacity:.85;}

/* ── HERO ── */
.hero{position:relative;height:100vh;background:#c0b8b0;}
.hero__slides{position:absolute;inset:0;overflow:hidden;}
.hero__slide{position:absolute;inset:0;background:center/cover no-repeat;opacity:0;transition:opacity 2.5s ease;}
.hero__slide.is-active{opacity:1;}
.hero__content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;z-index:2;padding:20px;}
.hero__catch{display:inline-block;color:#fff;font-size:22px;font-weight:300;line-height:1.9;letter-spacing:.05em;text-shadow:0 2px 8px rgba(0,0,0,.6),0 0 20px rgba(0,0,0,.4);}
.hero__dots{position:absolute;bottom:56px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3;}
.hero__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.45);border:none;cursor:pointer;padding:0;transition:background .3s;}
.hero__dot.is-active{background:var(--white);}

/* MV下に被さるベージュブロック（hero-cards＋hours を内包） */
/* ── MV下部の6項目カード ── */
.hero-cards{position:absolute;left:20px;right:20px;bottom:-70px;z-index:10;display:flex;flex-wrap:wrap;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:8px;overflow:hidden;}
.hero-card{flex:1 1 calc(100%/6 - 1px);min-width:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 10px;background:var(--white);text-decoration:none;transition:background .2s;}
.hero-card:hover{background:var(--bg);}
.hero-card__icon{width:34px;height:34px;border-radius:50%;background:#443932;display:flex;align-items:center;justify-content:center;}
.hero-card__icon i{color:#fff;font-size:15px;}
.hero-card__title{font-size:13px;font-weight:700;color:var(--text);}
.hero-card__sub{font-size:9px;color:var(--muted);letter-spacing:.05em;}

/* ============================================================
   予約バー（下部・グループ右スライド収納／タイトルは残る）
   ============================================================ */
.rsvbar{position:fixed;right:20px;top:20px;display:flex;align-items:center;gap:14px;padding:10px 16px 10px 30px;background-color:#ffffff6b;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:10px;box-shadow:0 2px 12px rgba(0,0,0,.08);z-index:400;}

/* トグル：バー左端の線上・上下中央 */
.rsvbar__toggle{position:absolute;left:0;top:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;border:none;background:#443932;color:#fff;cursor:pointer;font-size:13px;z-index:1;transition:transform .3s ease;}
.rsvbar.is-closed .rsvbar__toggle{transform:translate(-50%,-50%) rotate(180deg);}

.rsvbar__title{font-size:14px;font-weight:700;color:#443932;white-space:nowrap;}

/* グループ：右端。収納時は右へスライドして畳む */
.rsvbar__group{display:flex;align-items:center;gap:14px;margin-left:auto;max-width:600px;overflow:hidden;opacity:1;transition:max-width .45s ease,opacity .35s ease,transform .45s ease;}
.rsvbar.is-closed .rsvbar__group{max-width:0;opacity:0;transform:translateX(30px);pointer-events:none;}

.rsvbar__dept{display:flex;align-items:center;gap:6px;color:#443932;font-size:15px;font-weight:700;text-decoration:none;padding:6px 14px;white-space:nowrap;border-left:1px solid rgba(68,57,50,.25);transition:opacity .15s;}
.rsvbar__dept i{font-size:16px;}
.rsvbar__dept:hover{opacity:.65;}
.rsvbar__tel{display:flex;align-items:center;gap:8px;color:#443932;text-decoration:none;white-space:nowrap;padding-left:14px;border-left:1px solid rgba(68,57,50,.25);}
.rsvbar__tel i{font-size:18px;}
.rsvbar__tel span{font-size:20px;font-weight:700;letter-spacing:.03em;}
.rsvbar__tel:hover{opacity:.7;}

/* SP */
@media(max-width:900px){
.rsvbar{left:20px;flex-wrap:wrap;gap:8px;}
.rsvbar__title{width:100%;justify-content:center;}
.rsvbar__group{margin:0 auto;flex-wrap:wrap;justify-content:center;}
}

/* ============================================================
   診察・休診情報セクション
   ============================================================ */
.hours{position:relative;padding:110px 0 60px;background:var(--bg);border-radius:0 0 16px 16px;}
.hours__inner{padding:0 20px;}

/* セクション見出し */
.sec-head{margin-bottom:32px;}
.sec-head__en{font-size:30px;font-weight:700;color:#443932;letter-spacing:.08em;line-height:1.2;}
.sec-head__ja{font-size:13px;font-weight:400;color:var(--muted);letter-spacing:.1em;margin-top:4px;} /* h2化に伴い太字を打ち消し（見た目維持） */

/* 休診日ブロック */
.closure{margin-bottom:48px;}
.closure__tabs{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap;}
.closure__tab{display:inline-block;padding:5px 18px;font-size:16px;font-weight:700;color:#fff;background:#9a8f86;border:none;border-radius:9999px;cursor:pointer;font-family:var(--font);transition:background .2s;}
.closure__tab:hover{background:#80766d;}
.closure__tab.is-active{background:#443932;}
.closure__panels{position:relative;}
.closure__list{display:none;flex-direction:column;gap:8px;}
.closure__list.is-active{display:flex;}
.closure__item{display:flex;gap:24px;font-size:16px;line-height:1.7;flex-wrap:wrap;}
.closure__date{color:#443932;font-weight:700;white-space:nowrap;}
.closure__text{color:var(--text);}

/* 診療受付時間テーブル */
.sched{display:flex;gap:30px;margin-bottom:48px;background:var(--white);border-radius:8px;padding:24px 28px;} /* 白カード化：ベージュ背景上での視認性向上。戻す場合は background/border-radius/padding を削除 */
.sched__left{flex-shrink:0;width:180px;}
.sched__dept{font-size:16px;font-weight:700;padding:12px 0;}
/* 科名の左の■：文字と同じ行に置き、ベースライン基準で揃える（行の高さ・フォントに左右されない） */
.sched__dept::before{content:"";display:inline-block;width:12px;height:12px;margin-right:10px;background:currentColor;vertical-align:-1px;}
.sched__right{flex:1;min-width:0;}
.sched__table-wrap{overflow-x:auto;}
.sched__table{width:100%;border-collapse:collapse;min-width:560px;}
.sched__table th,.sched__table td{padding:12px 8px;text-align:center;font-size:14px;border-bottom:1px solid var(--border);}
.sched__rowhead{text-align:left !important;font-weight:700;color:#443932;white-space:nowrap;}
.sched__table thead th{font-weight:700;color:var(--text);}
.sched__table thead th.is-sat{color:#3f6fb0;}
.sched__table thead th.is-sun,.sched__table thead th.is-holiday{color:#b8453a;}
.sched__table td .mark{display:inline-block;width:14px;height:14px;border-radius:50%;}
.sched__table--keisei td .mark{background:#7a9a7c;}
.sched__table--hifu td .mark{background:#98564E;}
.sched__table td.is-none{color:var(--muted);}
.sched__notes{margin-top:14px;}
.sched__notes p{font-size:12px;color:var(--muted);line-height:1.9;}
.sched--keisei .sched__dept{color:#7e9286;}
.sched--hifu .sched__dept{color:#98564E;}

/* 重要なお知らせ */
.notice{position:relative;border-radius:8px;overflow:hidden;background:#3a2f28 center/cover no-repeat;margin-top:40px;}
.notice__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(40,28,22,.97) 0%,rgba(40,28,22,.9) 100%);z-index:0;}
.notice__inner{position:relative;z-index:1;display:flex;gap:40px;padding:48px 40px;flex-wrap:wrap;}
.notice__head{flex-shrink:0;width:180px;display:flex;align-items:center;gap:14px;}
.notice__head-line{width:30px;height:2px;background:#fff;flex-shrink:0;}
.notice__head-title{font-size:17px;font-weight:700;color:#fff;}
.notice__list{flex:1;min-width:0;display:flex;flex-direction:column;gap:22px;}
.notice__item-title{font-size:14px;font-weight:700;color:#fff;margin-bottom:4px;}
.notice__item-text{font-size:12px;color:rgba(255,255,255,.7);line-height:1.9;}

/* ============================================================
   診察案内（3カード）
   ============================================================ */
.guide{padding:60px 0;background:var(--white);}
.guide__inner{padding:0 20px;}
.guide__cards{display:flex;gap:16px;margin-top:32px;flex-wrap:wrap;}
.guide-card{position:relative;flex:1 1 0;min-width:240px;aspect-ratio:3/3.4;background:#999 center/cover no-repeat;text-decoration:none;display:flex;align-items:flex-end;padding:24px;overflow:hidden;border-radius:8px;}

.guide-card__overlay{position:absolute;inset:0;background:rgba(68,57,50,.7);transition:opacity .3s;} /* #443932 の均一オーバーレイ（濃さは .7 を調整） */
.guide-card:hover .guide-card__overlay{opacity:.85;}
.guide-card__title{position:relative;z-index:1;color:#fff;font-size:16px;font-weight:700;letter-spacing:.05em;text-shadow:0 1px 4px rgba(0,0,0,.4);}
.guide-card__btn{position:absolute;right:24px;bottom:24px;z-index:1;width:52px;height:32px;border-radius:9999px;background:#fff;display:flex;align-items:center;justify-content:center;color:#443932;font-size:18px;transition:background .2s;}
.guide-card:hover .guide-card__btn{background:var(--bg);}

@media(max-width:768px){
.guide-card{flex:1 1 100%;min-width:0;aspect-ratio:16/7;}
}
/* PC：必ず横3列（折り返さない）。1023px以下は縦3列（既存ルール） → 2+1 にならない */
@media(min-width:1024px){
.guide__cards{flex-wrap:nowrap;}
.guide-card{min-width:0;}
}

/* ============================================================
   News
   ============================================================ */
.news{background:#f7f4ed;border-radius:16px 0 0 16px;margin-top:40px;padding:50px 0;}
.news__inner{padding:0 20px;}
.news__list{margin-top:24px;border-top:1px dotted #c9c0b5;}
.news__item{border-bottom:1px dotted #c9c0b5;}
.news__link{display:flex;align-items:center;gap:24px;padding:18px 0;text-decoration:none;transition:opacity .15s;}
.news__link:hover{opacity:.7;}
.news__thumb{flex-shrink:0;width:120px;height:80px;background:#ccc center/cover no-repeat;border-radius:2px;}
.news__body{flex:1;min-width:0;}
.news__date{display:block;font-size:13px;font-weight:700;color:#9a8f86;letter-spacing:.05em;margin-bottom:4px;}
.news__title{display:block;font-size:15px;color:var(--text);}
.news__arrow{flex-shrink:0;color:#9a8f86;font-size:18px;}
.news__more{display:flex;justify-content:flex-end;margin-top:28px;}
.news__more-btn{display:inline-flex;align-items:center;gap:10px;background:#443932;color:#fff;font-size:14px;font-weight:700;padding:12px 28px;border-radius:4px;text-decoration:none;transition:opacity .2s;}
.news__more-btn:hover{opacity:.85;}

@media(max-width:600px){
/* SP：上に写真、下に日付とタイトル */
.news__link{flex-direction:column;align-items:stretch;gap:12px;}
.news__thumb{width:100%;height:auto;aspect-ratio:16/9;}
.news__arrow{display:none;}
}

/* スクロールフェードイン */
.guide-card,.news__item{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.guide-card.is-shown,.news__item.is-shown{opacity:1;transform:translateY(0);}

/* ============================================================
   クリニックについて（背景画像）
   ============================================================ */
.about{position:relative;background:#5a5048 center/cover no-repeat;background-attachment:fixed;padding:64px 0;overflow:hidden;}
.about__overlay{position:absolute;inset:0;background:rgba(40,32,26,.5);z-index:0;}
.about__inner{position:relative;z-index:1;padding:0 40px;}
.sec-head--light .sec-head__en{color:#fff;}
.sec-head--light .sec-head__ja{color:rgba(255,255,255,.85);}
.about__lead{color:#fff;font-size:14px;line-height:2;margin:24px 0 36px;text-shadow:0 1px 4px rgba(0,0,0,.4);}
.about__links{display:flex;flex-wrap:wrap;gap:0 60px;}
.about-link{display:flex;align-items:center;width:calc((100% - 120px)/3);min-width:240px;padding:16px 0;color:#fff;font-size:15px;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4);text-shadow:0 1px 3px rgba(0,0,0,.3);transition:opacity .15s;}
.about-link i{margin-left:auto;color:#fff;font-size:16px;}
.about-link:hover{opacity:.7;}

@media(max-width:900px){
.about-link{width:calc((100% - 60px)/2);}
}
@media(max-width:600px){
.about__inner{padding:0 20px;}
.about-link{width:100%;}
.about{background-attachment:scroll;}
}

/* ============================================================
   フッター
   ============================================================ */
.footer{background:#f8f6f2;padding:50px 0 0;margin-left:var(--sw);margin-top:60px;}
.footer__inner{padding:0 20px;}

/* 上部：マップ＋連絡先 */
.footer__top{display:flex;gap:40px;flex-wrap:wrap;align-items:stretch;}
.footer__map{flex:1 1 0;min-width:280px;min-height:300px;border-radius:16px;overflow:hidden;}
.footer__map iframe{display:block;width:100%;height:100%;}
.footer__info{flex:1 1 0;min-width:280px;text-align:center;display:flex;flex-direction:column;justify-content:center;}
.footer__logo img{width:100%;max-width:150px;height:auto;margin:0 auto 16px;}
.footer__addr{font-size:14px;color:var(--text);margin-bottom:4px;}
.footer__tel{margin-bottom:18px;}
.footer__tel a{display:inline-flex;align-items:baseline;gap:6px;color:#443932;}
.footer__tel-label{font-size:14px;font-weight:700;}
.footer__tel-num{font-size:26px;font-weight:700;letter-spacing:.03em;}
.footer__depts{font-size:12px;color:var(--muted);margin-bottom:14px;}
.footer__btn{display:inline-flex;align-items:center;gap:10px;background:#5e5249;color:#fff;font-size:14px;font-weight:700;padding:12px 28px;border-radius:9999px;text-decoration:none;transition:opacity .2s;align-self:center;}
.footer__btn i{font-size:14px;}
.footer__btn:hover{opacity:.85;}
.footer__sns{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:16px auto 0;background:#443932;border-radius:50%;color:#fff;font-size:24px;transition:opacity .2s;}
.footer__sns:hover{opacity:.85;color:#fff;}
.footer__sched{margin-top:40px;}

@media(max-width:768px){
.footer__map,.footer__info{flex:1 1 100%;}
}

/* フッター診療受付時間（独立） */
.footer__sched{margin-top:40px;display:flex;flex-direction:column;gap:40px;}
.fsched{background:var(--white);border-radius:8px;padding:24px 28px;} /* 科ごとの白カード（診療情報セクションと同じ見た目） */
.fsched__dept{font-size:14px;font-weight:700;padding:0 0 12px;}
/* 科名の左の■：文字と同じ行に置き、ベースライン基準で揃える（行の高さ・フォントに左右されない） */
.fsched__dept::before{content:"";display:inline-block;width:12px;height:12px;margin-right:10px;background:currentColor;vertical-align:-1px;}
.fsched__dept--keisei{color:#7e9286;}
.fsched__dept--hifu{color:#98564E;}
.fsched__table-wrap{overflow-x:auto;}
.fsched__table{width:100%;border-collapse:collapse;min-width:560px;}
.fsched__table th,.fsched__table td{padding:12px 8px;text-align:center;font-size:14px;border-bottom:1px solid var(--border);}
.fsched__rowhead{text-align:left !important;font-weight:700;color:#443932;white-space:nowrap;padding-left:0;width:1%;}
.fsched__table thead th{font-weight:700;color:var(--text);}
.fsched__table thead th.is-sat{color:#3f6fb0;}
.fsched__table thead th.is-sun,.fsched__table thead th.is-holiday{color:#b8453a;}
.fsched__table td .mark{display:inline-block;width:14px;height:14px;border-radius:50%;}
.fsched__table--keisei td .mark{background:#7a9a7c;}
.fsched__table--hifu td .mark{background:#98564E;}
.fsched__table td.is-none{color:var(--muted);}
.fsched__notes{margin-top:14px;}
.fsched__notes p{font-size:12px;color:var(--muted);line-height:1.9;}

/* フッター自費診療リンク（独立） */
.flinks{margin-top:40px;display:flex;flex-wrap:wrap;gap:0 60px;}
.flinks__item{display:flex;align-items:center;width:calc((100% - 120px)/3);min-width:220px;padding:16px 0;color:var(--text);font-size:14px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--border);transition:opacity .15s;}
.flinks__item i{margin-left:auto;color:var(--muted);font-size:16px;}
.flinks__item:hover{opacity:.6;}

@media(max-width:900px){
.flinks__item{width:calc((100% - 60px)/2);}
}
@media(max-width:600px){
.flinks__item{width:100%;}
}

/* フッター最下部バー */
.footer__bottom{margin-top:50px;}
.footer__bottom-inner{padding:24px 20px;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;}
.footer__bnr{flex-shrink:0;display:block;width:220px;border-radius:4px;overflow:hidden;transition:opacity .2s;}
.footer__bnr:hover{opacity:.85;}
.footer__bnr img{width:100%;height:auto;display:block;}
.footer__bottom-right{flex:1;min-width:240px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.footer__nav{display:flex;gap:20px;flex-wrap:wrap;}
.footer__nav a{font-size:12px;color:var(--text);text-decoration:none;transition:opacity .15s;}
.footer__nav a:hover{opacity:.6;}
.footer__copy{font-size:11px;color:var(--muted);}

@media(max-width:768px){
.footer__bottom-inner{flex-direction:column;align-items:flex-start;}
.footer__bottom-right{align-items:flex-start;width:100%;}
}

/* ============================================================
   SP レスポンシブ（≤1023px）
   ============================================================ */

/* ── デフォルト：PC専用要素を隠す ── */
.sidebar__hamburger{display:none;}
.sidebar__close{display:none;}
.mob-overlay{
  display:none;
  position:fixed;inset:0;
  background:rgba(0,0,0,.45);
  z-index:190;
  opacity:0;pointer-events:none;
  transition:opacity .3s;
}
.mob-overlay.is-open{opacity:1;pointer-events:auto;}

/* rsvbar アイコン：PCはchevronのみ表示 */
.rsvbar__icon-open,.rsvbar__icon-closed{display:none;}

/* ロゴ・閉じるボタン：PC制御 */
.logo-pc{display:block;}
.sidebar__logo .logo-sp-close{display:none;} /* 詳細度0,2,0でsidebar__logo imgを上書き */
/* logo-sp-open：nav内でposition:fixed、常にdisplay:blockだがopacityで制御 */
.logo-sp-open{display:none;}
.sidebar__close{display:none;}

@media(max-width:1023px){

  /* ── body ── */
  /* body.drawer-open の scroll停止は JS の position:fixed で管理 */
  /* ドロワーが開いたとき：ヘッダーカードを透明化、ロゴ白・ハンバーガー反転 */
  body.drawer-open .sidebar{background:transparent;box-shadow:none;overflow:visible;}
  body.drawer-open .sidebar__logo{background:transparent;box-shadow:none;opacity:0;}
  /* logo-sp-open：ドロワーと同期してフェードイン */
  body.drawer-open .logo-sp-open{opacity:1;pointer-events:auto;}
  body.drawer-open .sidebar__hamburger{background:#fff;}
  body.drawer-open .sidebar__hamburger span{background:#443932;}
  /* 閉じるボタン：ドロワー右上に固定表示 */
  body.drawer-open .sidebar__close{
    display:flex;
    position:fixed;
    top:14px;right:14px;
    width:46px;height:46px;
    background:#fff;
    border:none;border-radius:5px;
    color:#443932;font-size:18px;
    cursor:pointer;
    z-index:260;
    align-items:center;justify-content:center;
    flex-shrink:0;
  }

  /* ── サイドバー → 1枚のフロートカード ── */
  .sidebar{
    top:10px;left:10px;right:10px;
    width:auto;height:70px;
    flex-direction:row;align-items:stretch;
    border-right:none;border-bottom:none;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    z-index:300;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
    padding:0;gap:0;
  }
  /* ロゴエリア：白背景（親カード左側） */
  .sidebar__logo{
    padding:8px 14px;
    flex:1;
    display:flex;align-items:center;
    min-width:0;
  }
  .sidebar__logo a{display:flex;align-items:center;gap:10px;width:100%;}
  .sidebar__logo img{height:36px;width:auto;max-width:none;margin:0;flex-shrink:0;}
  /* SP閉じているとき：logo-pc非表示・logo-sp-close表示 */
  .sidebar__logo .logo-pc{display:none;}
  .sidebar__logo .logo-sp-close{display:block;}
  /* sidebar__logo：開閉でopacityフェード */
  .sidebar__logo{transition:opacity .4s ease;}
  /* logo-sp-open：nav内にposition:fixedで配置、ドロワーと同期フェード */
  .logo-sp-open{
    display:block;
    position:fixed;
    top:27px; /* (70px card - 36px img)/2 + 10px card-top */
    left:24px; /* 10px card-left + 14px logo-padding */
    height:36px;width:auto;
    opacity:0;
    pointer-events:none;
    transition:opacity .4s ease;
    z-index:251;
  }
  .sidebar__logo-text{
    display:block;
    font-size:11px;line-height:1.5;
    color:#443932;font-weight:600;
    letter-spacing:.03em;
    white-space:nowrap;
  }

  /* ── ハンバーガーボタン ── */
  /* ハンバーガーエリア：茶色背景（親カード右側・端から浮かせる） */
  .sidebar__hamburger{
    position:relative;
    overflow:hidden;
    width:46px;height:auto;
    align-self:stretch;
    padding:0;
    margin:4px 4px 4px 0;
    border:none;
    background:#443932;
    border-radius:5px;
    box-shadow:none;
    cursor:pointer;flex-shrink:0;
    display:flex;align-items:center;justify-content:center;
  }
  /* スパンをabsoluteで固定配置（flex gapによるズレ回避） */
  .sidebar__hamburger span{
    display:block;
    position:absolute;
    left:12px; /* (46-22)/2 */
    width:22px;height:2px;
    background:#fff;border-radius:2px;
    transition:top .45s ease,transform .45s ease,opacity .45s ease;
  }
  .sidebar__hamburger span:nth-child(1){top:calc(50% - 8px);}
  .sidebar__hamburger span:nth-child(2){top:calc(50% - 1px);}
  .sidebar__hamburger span:nth-child(3){top:calc(50% + 6px);}
  body.drawer-open .sidebar__hamburger span:nth-child(1){top:calc(50% - 1px);transform:rotate(45deg);}
  body.drawer-open .sidebar__hamburger span:nth-child(2){opacity:0;}
  body.drawer-open .sidebar__hamburger span:nth-child(3){top:calc(50% - 1px);transform:rotate(-45deg);}

  /* ── ナビ → ドロワー（フルスクリーン・フェード切り替え）── */
  .sidebar__nav{
    position:fixed;
    top:0;bottom:0;left:0;  /* heightを使わず上下で固定：vh/svhに依存せず全機種で「見えている画面」に収まる */
    width:100%;
    background:#443932;
    border-right:none;
    z-index:250;
    opacity:0;
    pointer-events:none;
    transform:none;
    transition:opacity .4s ease;
    overflow-y:auto;
    display:flex;flex-direction:column;
    padding:80px 20px calc(120px + env(safe-area-inset-bottom, 0px)); /* 上：ヘッダーカードを避ける／下：端末のバーに隠れないよう余白を確保 */
  }
  .sidebar__nav.is-open{opacity:1;pointer-events:auto;}
  /* ドロワー内スクロールバーを非表示（スクロール機能は維持） */
  .sidebar__nav{scrollbar-width:none;-ms-overflow-style:none;}
  .sidebar__nav::-webkit-scrollbar{display:none;}

  /* ドロワー内テキスト：白 */
  .sidebar__nav a{color:#fff;}
  .sidebar__nav .sidebar__menu li a{font-size:16px;font-weight:600;padding:10px 0;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.15);color:#fff;}
  .sidebar__nav .sidebar__menu li a::after{color:rgba(255,255,255,.5);margin-left:auto;flex-shrink:0;}
  .sidebar__nav .sidebar__cosmetic-head{color:#fff;font-size:16px;}
  .sidebar__nav .sidebar__cosmetic-info a{color:#fff;}
  .sidebar__nav .sidebar__cosmetic-sub a{background:#fff;color:#443932;}
  .sidebar__nav .sidebar__cosmetic-sub a i{color:#443932;}
  .sidebar__nav .sidebar__links a{color:rgba(255,255,255,.8);}
  .sidebar__nav .sidebar__links-icon{background:#fff;}
  .sidebar__nav .sidebar__links-icon i{color:#443932;}

  /* ドロワー内：縦並び上詰め */
  .sidebar__nav-center{flex:none;justify-content:flex-start;}
  .sidebar__links{margin-top:24px;}

  /* オーバーレイ表示 */
  .mob-overlay{display:block;}

  /* ドロワー開時にrsvbarをオーバーレイの下へ */
  body.drawer-open .rsvbar{z-index:150;}

  /* ── レイアウトリセット ── */
  .main-wrapper{margin-left:0;padding-top:0;}
  .footer{margin-left:0;}
  .fsched{padding:16px;}

  /* ── GUIDE CARDS：一気に縦並び ── */
  .guide-card{flex:1 1 100%;aspect-ratio:16/7;min-width:0;}

  /* ── HERO ── */
  /* hero-cards：hero内 grid 3列・写真透け */
  .hero-cards{
    left:12px;right:12px;bottom:16px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    background:transparent;
    border:none;
    overflow:visible;
  }
  .hero-card{
    border-radius:6px;
    padding:14px 8px;
    min-width:0;
    /* grid管理なのでflex指定は無効化 */
    flex:none;
  }

  /* キャッチコピー：カードの上の空間に収める */
  .hero__content{
    padding-top:80px;
    padding-bottom:260px;
  }
  .hero__catch{font-size:18px;}

  /* dots：カードの上へ */
  .hero__dots{bottom:260px;}

  /* hours：hero-cards補正padding不要 */
  .hours{padding:60px 0 40px;}

  /* ── SCHED ── */
  .sched{flex-direction:column;gap:12px;padding:16px;}
  .sched__left{width:auto;}
  .sched__dept{padding:4px 0;}

  /* ── NOTICE ── */
  .notice__inner{flex-direction:column;gap:16px;padding:32px 16px;}
  .notice__head{width:auto;}

  /* ── RSVBAR（SP：下部全幅・上スライド展開）── */
  .rsvbar{
    right:0;left:0;top:auto;bottom:0;
    width:100%;
    border-radius:16px 16px 0 0;
    flex-direction:column;
    align-items:stretch;
    padding:0;gap:0;
  }

  /* トグルボタン：パネル右上 */
  .rsvbar__toggle{
    position:absolute;
    left:auto;right:16px;top:10px;
    transform:none !important;
    background:transparent;
    width:36px;height:36px;
    font-size:20px;color:#443932;
    display:flex;align-items:center;justify-content:center;
    border:none;cursor:pointer;
    transition:none;
  }
  .rsvbar.is-closed .rsvbar__toggle{transform:none !important;}

  /* SP用アイコン切り替え */
  .rsvbar__icon-pc{display:none;}
  .rsvbar__icon-open{display:inline;}
  .rsvbar__icon-closed{display:none;}
  .rsvbar.is-closed .rsvbar__icon-open{display:none;}
  .rsvbar.is-closed .rsvbar__icon-closed{display:inline;}

  /* タイトルバー */
  .rsvbar__title{
    width:100%;
    padding:14px 52px 14px 20px;
    font-size:15px;
  }

  /* グループ：上スライドアニメーション */
  .rsvbar__group{
    max-width:none !important;
    width:100%;margin:0;
    padding:12px 8px;
    flex-wrap:nowrap;
    justify-content:space-around;
    gap:0;
    max-height:120px;
    overflow:hidden;
    opacity:1;
    transform:none !important;
    border-top:1px solid rgba(68,57,50,.15);
    transition:max-height .4s ease,opacity .3s ease,padding .3s ease;
  }
  .rsvbar.is-closed .rsvbar__group{
    max-width:none !important;
    max-height:0;
    opacity:0;
    padding:0 8px;
    pointer-events:none;
    transform:none !important;
  }

  /* 診療科ボタン：均等幅・縦積み */
  .rsvbar__dept{
    flex:1;
    flex-direction:column;
    justify-content:center;align-items:center;
    gap:4px;
    padding:6px 4px;
    border-left:1px solid rgba(68,57,50,.15);
    font-size:11px;
    text-align:center;
    white-space:normal;line-height:1.3;
  }
  .rsvbar__dept:first-child{border-left:none;}
  .rsvbar__dept i{font-size:18px;}

  /* 電話ボタン */
  .rsvbar__tel{
    flex:1;
    flex-direction:column;
    justify-content:center;align-items:center;
    gap:4px;
    padding:6px 4px;
    border-left:1px solid rgba(68,57,50,.15);
    text-align:center;white-space:normal;line-height:1.3;
  }
  .rsvbar__tel i{font-size:18px;}
  .rsvbar__tel span{font-size:11px;font-weight:700;letter-spacing:.01em;}

  /* フッター：rsvbarの高さ分の余白 */
  .footer__bottom{padding-bottom:70px;}

}

/* ── ドロワー内営業時間 ── */
.drawer-hours{display:none;}

@media(max-width:1023px){
  .drawer-hours{display:block;margin-top:24px;}
  .drawer-hours__dept{
    font-size:11px;font-weight:700;letter-spacing:.06em;
    padding:6px 0 4px;margin-top:12px;margin-bottom:4px;
  }
  .drawer-hours__dept--keisei{color:#8ec9a2;} /* 形成外科：緑系 */
  .drawer-hours__dept--hifu{color:#98564E;}   /* 皮膚科 */
  .drawer-hours__table{
    width:100%;border-collapse:collapse;
    font-size:12px;color:#fff;
    margin-bottom:10px;
  }
  .drawer-hours__table th,
  .drawer-hours__table td{
    text-align:center;padding:7px 3px;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .drawer-hours__table thead th{
    color:rgba(255,255,255,.55);font-weight:400;font-size:11px;
  }
  .drawer-hours__table tbody th{
    text-align:left;padding-left:0;
    color:rgba(255,255,255,.8);font-weight:500;
    white-space:nowrap;font-size:11px;
  }
  .drawer-hours__table td{color:#fff;font-size:13px;}
  .drawer-hours__table td.is-none{color:rgba(255,255,255,.3);}
  .drawer-hours__table .is-sat{color:#9ecfff;}
  .drawer-hours__table .is-holiday{color:#ffaaaa;}
  .drawer-hours__notes p{
    font-size:10px;color:rgba(255,255,255,.55);
    line-height:1.8;
  }
}

/* ── ドロワー内予約エリア ── */
.drawer-rsv{display:none;}

@media(max-width:1023px){
  .drawer-rsv{display:block;margin-top:16px;margin-bottom:20px;padding:16px;background:#fff;border-radius:8px;flex-shrink:0;} /* 予約ボタン＋電話番号を白カードにまとめる */
  /* 白カード内のラベル：濃色・大きめ・右線なし（.drawer-hours 側のラベルは従来のまま） */
  .drawer-rsv .drawer-section-label{justify-content:center;color:#443932;font-size:15px;font-weight:700;letter-spacing:.06em;}
  .drawer-rsv .drawer-section-label::after{display:none;}
  /* 「お電話はこちら」＋電話番号をベージュの箱にまとめる */
  .drawer-rsv__tel-box{padding:14px 12px 12px;background:var(--bg);border-radius:8px;}
  .drawer-rsv__tel-box .drawer-section-label{margin-bottom:4px;font-weight:400;} /* 「お電話はこちら」は細字 */

  /* セクションラベル：テキスト＋右横線 */
  .drawer-section-label{
    display:flex;align-items:center;gap:10px;
    margin-bottom:10px;
    color:rgba(255,255,255,.65);
    font-size:11px;font-weight:600;letter-spacing:.1em;
  }
  .drawer-section-label::after{
    content:'';flex:1;height:1px;
    background:rgba(255,255,255,.25);
  }

  .drawer-rsv__btns{display:flex;gap:8px;margin-bottom:20px;}

  .sidebar__nav .drawer-rsv__btn{
    flex:1;
    display:flex;flex-direction:column;
    align-items:center;justify-content:center;
    gap:8px;
    padding:18px 8px;
    background:#f8f6f2;
    border-radius:8px;
    color:#443932;text-decoration:none;
    font-size:12px;font-weight:600;letter-spacing:.04em;
    line-height:1.2;
    transition:opacity .2s;
  }
  .sidebar__nav .drawer-rsv__btn:hover{opacity:.8;}
  .sidebar__nav .drawer-rsv__btn i{font-size:26px;color:#443932;}
  /* WEB・アプリ受付（主ボタン：濃色塗り）／ご予約方法（淡色） */
  .sidebar__nav .drawer-rsv__btn--web{background:#443932;color:#fff;}
  .sidebar__nav .drawer-rsv__btn--web i{color:#fff;}
  .sidebar__nav .drawer-rsv__btn--info,
  .sidebar__nav .drawer-rsv__btn--info i{color:#443932;}

  .sidebar__nav .drawer-rsv__tel{
    display:flex;align-items:center;justify-content:center;
    gap:12px;
    padding:4px 0;
    background:none;
    color:#443932;text-decoration:none;
    transition:opacity .2s;
  }
  .sidebar__nav .drawer-rsv__tel:hover{opacity:.7;}
  .drawer-rsv__tel i{font-size:22px;color:#443932;flex-shrink:0;}
  .drawer-rsv__tel-num{
    font-size:clamp(28px, 7.5vw, 38px);
    font-weight:700;letter-spacing:.04em;color:#443932;
    line-height:1;
  }
}

/* ── sched/fsched 注釈（※1など）・手術休診（☆）── */
.sched__note{font-size:9px;vertical-align:super;color:var(--muted);letter-spacing:0;font-weight:400;margin-left:1px;}
.fsched__note{font-size:9px;vertical-align:super;color:var(--muted);letter-spacing:0;font-weight:400;margin-left:1px;}
.sched__star{font-size:13px;line-height:1;}
.sched__table--keisei .sched__star{color:#7a9a7c;}
.sched__table--hifu   .sched__star{color:#98564E;}
.fsched__table--keisei .sched__star{color:#7a9a7c;}
.fsched__table--hifu   .sched__star{color:#98564E;}
/* ドロワー内 */
.drawer-hours__table td sup{font-size:8px;color:rgba(255,255,255,.55);vertical-align:super;margin-left:1px;}
.drawer-hours__table td{position:relative;}

/* ============================================================
   下層ページ共通 MV（英語ラベル・日本語タイトル → 写真 → パンくず）
   ============================================================ */

/* ── ラッパー：#EDE9DF の帯（写真なし）・左下/右下を角丸 ── */
/* 参考：iwakura-medi.com の .c-subpage。英語ラベルは右下に絶対配置、幅に応じて可変 */
.page-mv-wrap{
  position:relative;
  background:#EDE9DF;
  border-radius:0 0 16px 16px;
  /* 英語ラベルのサイズ：PCは「画面幅−サイドバー240px」＝本文幅の7.5%、40〜100pxで可変 */
  --mv-en-fs:clamp(40px, calc((100vw - 240px) * .075), 100px);
}

/* ── 左：日本語タイトル＋パンくず ── */
.page-mv__header{
  background:transparent;
  /* 上：PCは右上固定の rsvbar を避ける／下：右下の英語ラベル分を確保 */
  padding:104px 4% calc(var(--mv-en-fs) * 1.22 + 44px);
}
.page-mv__inner{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:0;
}
.page-mv__ja{
  font-size:40px;
  font-weight:700;
  color:#443932;
  margin:0;
  line-height:1.3;
}

/* ── 右下：英語ラベル（左のタイトルより下・右端）── */
.page-mv__en{
  position:absolute;
  right:4%;
  bottom:20px;
  margin:0;
  font-size:var(--mv-en-fs);
  font-weight:700;
  line-height:1.22;
  letter-spacing:.05em;
  color:#fff;
  white-space:nowrap;
  pointer-events:none;
}

/* ── パンくず：タイトルの下・左揃え ── */
.page-mv__breadcrumb{
  display:flex;align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px;
  font-size:14px;
  font-weight:700;
  color:#443932;
  padding:0;
}
.page-mv__breadcrumb a{
  color:#443932;text-decoration:none;
  transition:opacity .15s;
}
.page-mv__breadcrumb a:hover{ opacity:.6; }
.page-mv__breadcrumb-sep{ color:#443932; opacity:.5; font-size:16px; line-height:1; }

/* ── SP対応 ── */
@media(max-width:1023px){
  .page-mv-wrap{ --mv-en-fs:clamp(40px, 6vw, 100px); } /* サイドバーなし：画面幅基準（1024pxでの値と連続） */
  .page-mv__header{ padding:128px 20px calc(var(--mv-en-fs) * 1.22 + 44px); } /* 上は固定px：SPヘッダーカード（下端80px）から約48px空けて始める。%だと縮小時に上へ潜る */
  .page-mv__en{ right:20px; }
  .page-mv__ja{ font-size:24px; }
}
/* ≤767px：英語ラベルは絶対配置をやめ、パンくずの下に右揃えで流し込む */
@media(max-width:767px){
  .page-mv__header{ padding-bottom:0; }
  .page-mv__en{
    position:static;
    text-align:right;
    padding:12px 20px 8px 0;
  }
}

/* ── ご予約 イントロ ── */
.rsv-intro{
  padding:48px 0 44px;
  margin-bottom:48px;
}
.rsv-intro__title{
  font-size:24px;
  font-weight:700;
  color:var(--accent);
  margin-bottom:16px;
  letter-spacing:.05em;
}
.rsv-intro__body{
  line-height:2;
  color:var(--text);
}
.rsv-intro__note{
  display:flex;
  align-items:flex-start;
  gap:6px;
  margin-top:20px;
  padding:14px 18px;
  background:#f8f6f2;
  border-radius:5px;
  font-size:16px;
  font-weight:700;
  line-height:1.8;
  color:var(--muted);
}

.page-content{
  max-width:67.5rem; /* 1080px */
  margin:0 auto;
  padding:48px 1.5rem 20px;
}

/* ── 診察時間（予約ページ内） ── */
.rsv-hours{
  margin-bottom:64px;
  padding-bottom:64px;
}
.rsv-hours__title,
.rsv-sec__title{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:24px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.05em;
  margin-bottom:24px;
}
/* タイトルの右から右端まで伸びる線 */
.rsv-hours__title::after,
.rsv-sec__title::after{
  content:"";
  flex:1;
  height:1px;
  background:#433933;
}
/* ご予約ページの診察時間カードだけ：上下20px・左右0（トップの .sched は従来のまま） */
.rsv-hours .sched{padding:20px 0;}

/* ── 受付方法・診療科ごとの案内・持ち物（デジスマ診療 一本化）── */
.rsv-sec{
  margin-bottom:64px;
}
.rsv-sec__lead{
  font-size:16px;
  line-height:2;
  color:var(--text);
}
.rsv-sec__lead + .rsv-sec__lead{margin-top:16px;}

/* ご家族の予約方法：家族設定の手順画像 */
.rsv-family{margin:24px 0;}
.rsv-family img{width:100%;max-width:720px;height:auto;border-radius:10px;}

/* 初診・再診の案内 */
.rsv-callout{
  margin-top:24px;
  padding:16px 24px;
  background:#f8f6f2;
  border-radius:5px;
  font-size:16px;
  font-weight:700;
  line-height:1.8;
  color:var(--muted);
}
.rsv-callout p + p{margin-top:8px;}
.rsv-callout__title{
  color:var(--accent);
  letter-spacing:.04em;
}

/* サブ見出し */
.rsv-sub{
  margin:48px 0 0;
  padding-bottom:16px;
  border-bottom:2px solid var(--border);
  font-size:24px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.05em;
}

/* アプリ／Web の選択肢（並列・番号なし） */
.rsv-sub__lead{margin-top:24px;}
.rsv-ways{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:24px;
}
.rsv-way{
  padding:32px;
  background:#f8f6f2;
  border-radius:14px;
}
.rsv-way__title{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 16px;
  margin-bottom:16px;
  font-size:24px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.05em;
}
.rsv-way__title .ti{font-size:24px;}
.rsv-way__tag{
  padding:4px 16px;
  background:var(--accent);
  border-radius:9999px;
  font-size:16px;
  font-weight:700;
  color:#fff;
  letter-spacing:.05em;
  line-height:1.5;
}
.rsv-way__text{
  font-size:16px;
  line-height:1.9;
  color:var(--text);
}
.rsv-way .rsv-badges + .rsv-way__text{margin-top:24px;}

/* アプリストアのバッジ（高さ固定・幅は画像比率に従う） */
.rsv-badges{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:24px;
}
.rsv-badges a{
  display:block;
  line-height:0;
  transition:opacity .2s;
}
.rsv-badges a:hover{opacity:.8;}
.rsv-badges img{
  display:block;
  height:56px;
  width:auto;
}

/* デジスマ予約ボタン */
.rsv-btn{
  display:inline-flex;
  align-items:center;
  gap:16px;
  margin-top:24px;
  padding:16px 32px;
  background:var(--accent);
  border-radius:10px;
  color:#fff;
  font-size:16px;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none;
  transition:box-shadow .2s,opacity .2s;
}
.rsv-btn:hover{
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  opacity:.92;
}
.rsv-btn > .ti{font-size:24px;flex-shrink:0;}
.rsv-btn__ext{font-size:16px !important;opacity:.6;}

/* 箇条書き（ドット） */
.rsv-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:24px;
  padding:0;
  list-style:none;
}
.rsv-list li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:16px;
  line-height:1.7;
  color:var(--text);
}
.rsv-list li::before{
  content:"";
  width:6px;height:6px;
  margin-top:11px;
  background:var(--text);
  border-radius:50%;
  flex-shrink:0;
}
.rsv-alert{
  color:#e22400;
  font-weight:700;
}
.rsv-list .rsv-alert{color:#e22400;}

/* 診療科・持ち物ブロック（1カラム／枠線なし：左に見出しラベル・右に内容） */
.rsv-guide{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.rsv-guide__row{
  --dept:var(--accent);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:24px;
  padding:32px;
  background:#f8f6f2;
  border-radius:14px;
}
.rsv-guide__row--hifu  {--dept:#98564E;}
.rsv-guide__row--keisei{--dept:var(--green);}
.rsv-guide__dept{
  display:inline-block;
  padding:8px 24px;
  background:var(--dept);
  border-radius:9999px;
  font-size:16px;
  font-weight:700;
  color:#fff;
  letter-spacing:.05em;
  line-height:1.5;
}
.rsv-guide__body{width:100%;min-width:0;}
.rsv-guide__lead{
  font-size:16px;
  line-height:1.9;
  color:var(--text);
}
.rsv-guide__lead + .rsv-guide__lead{margin-top:8px;}
.rsv-guide__lead strong{font-weight:700;color:var(--dept);}
.rsv-guide__time{
  margin-top:16px;
  padding:16px 24px;
  background:#fff;
  border-radius:5px;
}
.rsv-guide__time dt{
  font-size:16px;
  font-weight:700;
  line-height:1.8;
  color:var(--dept);
}
.rsv-guide__time dd{
  margin:0 0 16px;
  font-size:16px;
  line-height:1.8;
  color:var(--text);
}
.rsv-guide__time dd:last-child{margin-bottom:0;}
/* 見出し直下から始まるリストは上余白なし */
.rsv-list--first{margin-top:0;}
.rsv-guide__sub{margin-top:16px;}
.rsv-link{color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:4px;}
.rsv-link:hover{opacity:.6;}

/* SP */
@media(max-width:767px){
  .rsv-sec{margin-bottom:48px;}
  .rsv-ways{grid-template-columns:1fr;}
  .rsv-way{padding:24px;}
  .rsv-badges img{height:48px;}
  .rsv-btn{display:flex;justify-content:center;}
  .rsv-guide__row{gap:16px;padding:24px;}
}

/* ── お電話（#443932背景）── */
.rsv-method{
  /* 上：#443932 の濃いオーバーレイ／下：背景画像（CSSの位置 assets/css から見た相対パス） */
  background:
    linear-gradient(rgba(68,57,50,.95), rgba(68,57,50,.95)),
    url('../images/reservation/reservationMV.jpg') center/cover no-repeat;
  background-color:#443932; /* 画像が読み込めない場合の保険 */
  border-radius:10px;
  /* page-content外に出したので全幅になる */
}
.rsv-method__inner{
  max-width:67.5rem; /* page-contentと同じ幅 */
  margin:0 auto;
  padding:48px 1.5rem 56px;
}
.rsv-method__title{
  font-size:24px;font-weight:700;
  color:#fff;letter-spacing:.05em;
  margin-bottom:24px;
}

/* 電話カード */
.rsv-method__tel-card{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px 28px;
  background:#fff;
  border:10px solid #f8f6f2;
  border-radius:22px;
  padding:24px 36px;
  text-decoration:none;
  transition:box-shadow .2s;
}
.rsv-method__tel-card:hover{
  box-shadow:0 4px 16px rgba(0,0,0,.15);
}
.rsv-method__tel-icon{
  width:44px;height:44px;flex-shrink:0;
  background:#f8f6f2;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.rsv-method__tel-icon .ti{
  font-size:20px;color:#443932;
}
/* 各要素：内部で折り返さない */
.rsv-method__tel-label,
.rsv-method__tel-num,
.rsv-method__tel-hours{
  white-space:nowrap;
  flex-shrink:0;
}
.rsv-method__tel-label{
  font-size:clamp(13px,1.4vw,17px);
  font-weight:600;
  color:#443932;letter-spacing:.04em;
}
.rsv-method__tel-num{
  font-size:clamp(26px,3.5vw,40px);
  font-weight:700;letter-spacing:.06em;
  color:#443932;
}
.rsv-method__tel-hours{
  font-size:clamp(12px,1.3vw,16px);
  color:rgba(68,57,50,.65);
  letter-spacing:.02em;
}

/* SP */
@media(max-width:767px){
  .rsv-method__inner{padding:36px 1.5rem 44px;}
}

@media(max-width:1023px){
  .page-content{padding:40px 16px 20px;}
}

/* ============================================================
   自費診療トップ（private-section / private-cancel / private-price / private-cta）
   ============================================================ */

.private-section{
  margin-bottom:56px;
}
.private-section__title{
  font-size:24px;font-weight:700;
  color:var(--accent);letter-spacing:.05em;
  margin-bottom:20px;
}
.private-section__lead{
  font-size:16px;line-height:1.9;
  color:var(--text);margin-bottom:20px;
}

/* 注意事項ボックス */
.private-notice{
  background:#f8f6f2;
  border-radius:10px;
  padding:18px 24px;
}
.private-notice__list{
  list-style:none;padding:0;
  display:flex;flex-direction:column;gap:8px;
}
.private-notice__list li{
  display:flex;align-items:flex-start;gap:8px;
  font-size:16px;line-height:1.7;color:var(--text);
}
.private-notice__list li::before{
  content:"＊";
  color:var(--accent);font-weight:700;
  flex-shrink:0;
}

/* キャンセルテーブル */
.private-cancel{
  margin-bottom:16px;
}
.private-cancel__table{
  width:100%;border-collapse:collapse;
  margin-bottom:12px;
}
.private-cancel__table th,
.private-cancel__table td{
  padding:14px 20px;
  border:1px solid var(--border);
  font-size:16px;line-height:1.6;
}
.private-cancel__table th{
  background:#f8f6f2;
  font-weight:700;color:var(--accent);
  white-space:nowrap;width:36%;
}
.private-cancel__table strong{
  font-size:16px;color:var(--accent);
}
.private-cancel__note{
  font-size:16px;color:var(--muted);
  margin-bottom:16px;
}

/* 料金 */
.private-price{
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.private-price__head{
  background:#f8f6f2;
  color:#443932;
  font-size:16px;font-weight:700;
  letter-spacing:.06em;
  padding:10px 20px;
  text-align:center;
}
.private-price__items{
  display:flex;flex-direction:column;
}
.private-price__item{
  display:flex;align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  border-bottom:1px solid var(--border);
}
.private-price__item:last-child{border-bottom:none;}
.private-price__name{
  font-size:16px;font-weight:600;color:var(--text);
}
.private-price__amount{
  font-size:16px;font-weight:700;color:var(--accent);
  letter-spacing:.02em;
}
.private-price__amount small{
  font-size:16px;font-weight:400;color:var(--muted);
}
.private-price__note{
  font-size:16px;color:var(--muted);
  padding:10px 20px 14px;
  border-top:1px solid var(--border);
}

/* CTA（お悩み・症状から探す）全幅・背景写真 */
.private-cta{
  position:relative;
  margin:0 20px;        /* 左右20px空ける（背景は無し） */
}
.private-cta__inner{
  position:relative;z-index:1;
  max-width:67.5rem;margin:0 auto;
  padding:56px 1.5rem;
  display:flex;gap:20px;flex-wrap:wrap;
}
.private-cta__card{
  flex:1 1 0;min-width:200px;
  display:flex;flex-direction:row;           /* 中身は横並び */
  align-items:center;justify-content:center;
  gap:14px;
  padding:20px 28px;
  background:#443932;
  border-radius:9999px;                      /* ピル型 */
  text-decoration:none;
  transition:box-shadow .2s;
}
.private-cta__card:hover{
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}
.private-cta__card > .ti:first-child{
  font-size:28px;color:#fff;flex-shrink:0;
}
.private-cta__label{
  font-size:clamp(16px,1.8vw,20px);
  font-weight:700;color:#fff;
  text-align:center;
}
.private-cta__arrow{
  font-size:16px;color:#fff;
  transition:transform .2s;
}
.private-cta__card:hover .private-cta__arrow{transform:translateX(3px);}  /* 右矢印に合わせて横方向へ */

/* ti-chevron-down を右矢印（ti-chevron-right と同じ字形 \ea61）で表示する
   ※ 全ページの .ti-chevron-down に効く。common.css は Tabler より後に読み込まれるので上書きできる */
.ti-chevron-down:before{content:"\ea61";}

@media(max-width:767px){
  .private-cta__card{min-width:100%;flex:1 1 100%;}
  .private-cancel__table th{width:auto;}
}

/* ============================================================
   お悩みから探す（trouble）
   ============================================================ */

/* セクション間余白 */
.trouble-section {
  margin-bottom: 64px;
}

/* タイトル画像帯 */
.trouble-section__hero {
  position: relative;
  background: #8a7060 center/cover no-repeat;
  overflow: hidden;
  border-radius: 12px;
}
.trouble-section__hero::before {
  content: '';
  display: block;
  padding-top: 22%;
}
.trouble-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 28, 22, .58);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 32px;
  gap: 4px;
}
.trouble-section__en {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  margin: 0;
}
.trouble-section__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: .05em;
}

/* 説明テキスト＋リンクエリア */
.trouble-section__body {
  padding: 28px 0 0;
}
.trouble-section__lead {
  font-size:16px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 20px;
}

/* リンクグリッド：PC3列 */
.trouble-section__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trouble-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--accent);
  font-size:16px;
  font-weight: 700;
  background: var(--white);
  transition: border-color .2s, background .2s;
}
.trouble-link:hover {
  border-color: var(--pink);
  background: #fdf6f8;
}
.trouble-link__arrow {
  color: var(--pink);
  font-size: 16px;
  flex-shrink: 0;
}

/* SP */
@media(max-width: 767px) {
  .trouble-section__hero::before { padding-top: 40%; }
  .trouble-section__overlay { padding: 20px; }
  .trouble-section__title { font-size: 18px; }
  .trouble-section__links { grid-template-columns: 1fr; }
}
@media(min-width: 768px) and (max-width: 1023px) {
  .trouble-section__links { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   自費診療 詳細ページ共通（detail-section / treatment）
   ============================================================ */

.detail-section {
  margin-bottom: 56px;
}
.detail-section__title {
  font-size:24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.detail-section__lead {
  font-size:16px;
  line-height: 2;
  color: var(--text);
}

/* 保険診療説明ボックス */
.detail-insurance {
  font-size:16px;
  line-height: 2;
  color: var(--text);
}

/* 治療カードリスト */
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.treatment {
  border-radius: 10px;
  overflow: hidden;
  padding: 16px;
}

/* カードヘッダー：施術名＋料金 */
.treatment__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  border: 2px solid #c9637a;
  border-radius: 5px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}
.treatment__name {
  font-size:16px;
  font-weight: 700;
  color: #c9637a;
  margin: 0;
}
.treatment__price {
  font-size:16px;
  font-weight: 700;
  color: #c9637a;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 詳細テーブル */
.treatment__table {
  width: 100%;
  border-collapse: collapse;
}
.treatment__table tr {
  border-bottom: 1px solid var(--border);
}
.treatment__table tr:last-child {
  border-bottom: none;
}
.treatment__table th {
  width: 30%;
  padding: 12px 20px;
  background: #f9f7f5;
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.treatment__table td {
  padding: 12px 20px;
  font-size:16px;
  color: var(--text);
  line-height: 1.9;
  vertical-align: top;
}

/* 詳細ボタン */
.treatment__foot {
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
}
.treatment__btn {
  display: inline-flex;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 0;
  font-size:16px;
  font-weight: 700;
  line-height: 1;
  color: #443932;
  background: none;
  text-decoration: none;
  border: none;
}
.treatment__btn__arrow {
  position: relative;
  width: 60px;
  height: 10px;
  flex-shrink: 0;
}
.treatment__btn__arrow::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #443932;
  transition: width .3s ease;
}
.treatment__btn__arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(100% - 10px);
  width: 10px;
  height: 1px;
  background: #443932;
  transform: rotate(45deg);
  transform-origin: right bottom;
  transition: left .3s ease;
}
.treatment__btn:hover .treatment__btn__arrow::before {
  width: 80px;
}
.treatment__btn:hover .treatment__btn__arrow::after {
  left: calc(80px - 10px);
}
.treatment__btn i {
  color: #443932;
  font-size:16px;
}

/* SP */
@media(max-width: 767px) {
  .treatment__head {
    flex-direction: column;
    gap: 4px;
    border-radius: 5px;
  }
  .treatment__table th {
    width: 40%;
    white-space: normal;
    padding: 10px 14px;
  }
  .treatment__table td {
    padding: 10px 14px;
  }
  .treatment__foot {
    justify-content: stretch;
  }
  .treatment__btn {
    width: 100%;
    justify-content: center;
  }
  .treatment__recommend {
    flex-direction: column-reverse;
  }
  .treatment__recommend-img {
    width: 60% !important;
    max-width: 240px !important;
    align-self: center !important;
  }
  .treatment__recommend-body {
    width: 100%;
    padding: 16px;
  }
}

/* treatment__body（説明文・おすすめポイント） */
.treatment__body {
  padding: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.treatment__sub {
  font-size:16px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: .12em;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px dotted var(--pink);
}
.treatment__desc {
  font-size:16px;
  line-height: 2;
  color: var(--text);
  margin: 0;
}
.treatment__recommend {
  display: flex;
  align-items: flex-end;
  gap: 0;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
}
.treatment__recommend-img {
  width: 180px;
  flex-shrink: 0;
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
}
.treatment__recommend-img img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.treatment__recommend-body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.treatment__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.treatment__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size:16px;
  font-weight: 700;
  color: #c5798a;
}
.treatment__points li .ti {
  color: var(--pink);
  font-size:16px;
  flex-shrink: 0;
}

/* treatment__info（施術時間・推奨頻度） */
.treatment__info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.treatment__info-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.treatment__info-label {
  padding: 4px 14px;
  font-size:16px;
  font-weight: 700;
  color: #c9637a;
  background: #fdf0f3;
  border-radius: 999px;
  white-space: nowrap;
}
.treatment__info-value {
  font-size:16px;
  color: var(--text);
  white-space: nowrap;
}

/* ============================================================
   自費診療 メニュー詳細ページ共通（menu-spec / menu-recommend / menu-flow）
   ============================================================ */

/* 概要・副作用テーブル */
.menu-spec__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}
.menu-spec__table tr {
  border-bottom: 1px solid var(--border);
}
.menu-spec__table tr:last-child {
  border-bottom: none;
}
.menu-spec__table th {
  width: 28%;
  padding: 12px 16px;
  background: #f9f7f5;
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.menu-spec__table td {
  padding: 12px 16px;
  font-size:16px;
  color: var(--text);
  line-height: 1.9;
  vertical-align: top;
}
.menu-spec__note {
  font-size:16px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}

/* こんな方におすすめリスト */
.menu-recommend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-recommend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  padding: 12px 16px;
  background: #fdf0f3;
  border-radius: 8px;
}
.menu-recommend li .ti {
  color: var(--pink);
  font-size:16px;
  flex-shrink: 0;
}

/* 施術の流れ */
.menu-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.menu-flow__item {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}
.menu-flow__item:last-child {
  padding-bottom: 0;
}
/* 縦線 */
.menu-flow__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.menu-flow__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size:16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .05em;
}
.menu-flow__body {
  flex: 1;
  padding-top: 8px;
}
.menu-flow__title {
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
}
.menu-flow__desc {
  font-size:16px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

/* SP */
@media(max-width: 767px) {
  .menu-spec__table th {
    width: 36%;
    white-space: normal;
    padding: 10px 12px;
  }
  .menu-spec__table td {
    padding: 10px 12px;
  }
}

/* sidebar__cosmetic-info（注意事項・施術一覧） */
.sidebar__cosmetic-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.sidebar__cosmetic-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}
.sidebar__cosmetic-info a .ti {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   施術一覧（private-menu）
   ============================================================ */

.pmenu__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 80px;
}

.pmenu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #f9f6f2;
  border-radius: 8px;
  text-decoration: none;
}
.pmenu-item:hover .pmenu-item__name {
  color: var(--pink);
}
.pmenu-item:hover .pmenu-item__arrow {
  color: var(--pink);
}

.pmenu-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pmenu-item__name {
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  line-height: 1.5;
  transition: color .2s;
}
.pmenu-item__desc {
  font-size:16px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.pmenu-item__arrow {
  font-size:16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color .2s;
}

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

/* detail-section__subtitle（概要説明内のサブタイトル） */
.detail-section__subtitle {
  font-size:16px;
  font-weight: 700;
  color: var(--accent);
  margin: 32px 0 12px;
}

/* ============================================================
   自費診療：料金表（複数の表で列幅をそろえる／ラベルは折り返し可）
   ============================================================ */
.menu-spec__table--price{table-layout:fixed;}
.menu-spec__table--price th{width:58%;white-space:normal;}
.menu-spec__table--price td{width:42%;}
@media(max-width:767px){
  .menu-spec__table--price th{width:52%;}
  .menu-spec__table--price td{width:48%;}
}

/* ============================================================
   クリニックについて（/clinic/ 配下：トップ・診療理念・当院の特徴・医師紹介・施設・医療機器）
   ============================================================ */
.clinic-text{font-size:16px;line-height:1.9;color:var(--text);margin:0 0 14px;}
.clinic-text:last-child{margin-bottom:0;}
.clinic-photo{display:block;width:100%;height:auto;border-radius:8px;}
.clinic-photo--empty{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:12px;background:#f1ede6;border:1px dashed #c9c1b6;color:var(--muted);font-size:14px;line-height:1.6;text-align:center;}

/* 画像＋本文の2列 */
.clinic-block{display:flex;gap:36px;align-items:flex-start;margin:0 0 56px;}
.clinic-block__media{flex:0 0 42%;max-width:42%;}
.clinic-block__media:empty{display:none;}
.clinic-block__body{flex:1;min-width:0;}
.clinic-block--rev{flex-direction:row-reverse;}
.clinic-block__title{font-size:24px;font-weight:700;color:var(--accent);line-height:1.5;letter-spacing:.05em;margin:0 0 16px;}
.clinic-block__subtitle{font-size:16px;font-weight:700;color:var(--accent);line-height:1.6;margin:0 0 10px;}
.clinic-block--device{margin-bottom:40px;}
.clinic-block--device .clinic-block__media{flex-basis:30%;max-width:30%;}
.clinic-more{margin-top:16px;}
.clinic-more a{color:var(--accent);font-weight:700;text-decoration:none;}
.clinic-more a:hover{opacity:.6;}

/* 写真＋キャプション */
.clinic-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 20px;margin-top:20px;}
.clinic-gallery__item{margin:0;}
.clinic-gallery__item figcaption{margin-top:8px;font-size:16px;font-weight:700;color:var(--accent);}

/* 院長あいさつ */
.clinic-greeting{display:flex;gap:36px;align-items:flex-start;}
.clinic-greeting__media{flex:0 0 30%;max-width:30%;}
.clinic-greeting__media:empty{display:none;}
.clinic-greeting__body{flex:1;min-width:0;}
.clinic-signature{margin-top:20px;font-size:16px;font-weight:700;text-align:right;}

/* 医師紹介 */
.clinic-doctor{display:flex;gap:36px;align-items:flex-start;margin-bottom:56px;}
.clinic-doctor__media{flex:0 0 32%;max-width:32%;}
.clinic-doctor__media:empty{display:none;}
.clinic-doctor__body{flex:1;min-width:0;}
.clinic-doctor__name{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;font-size:24px;font-weight:700;color:var(--accent);line-height:1.5;margin:0 0 16px;}
.clinic-doctor__role{font-size:16px;font-weight:700;padding:2px 14px;border-radius:9999px;background:var(--bg);}
.clinic-doctor__name small{font-size:16px;font-weight:400;letter-spacing:.1em;color:var(--muted);}

/* ページ内リンク・地図 */
.clinic-anchor{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:40px;}
.clinic-anchor a{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;background:#443932;border-radius:5px;font-size:16px;font-weight:700;line-height:1.4;color:#fff;text-decoration:none;transition:opacity .2s;}
.clinic-anchor a i{font-size:16px;flex-shrink:0;}
.clinic-anchor__chev::before{content:"\ea5f";} /* ＞の下向き（Tabler の chevron-down と同じ字形。.ti-chevron-down は右向きに上書きされているため直接指定） */
.clinic-anchor a:hover{opacity:.85;}
.clinic-map{margin-top:24px;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#f1ede6;}
.clinic-map iframe{display:block;width:100%;height:100%;border:0;}

@media(max-width:767px){
  .clinic-block,.clinic-block--rev,.clinic-greeting,.clinic-doctor{flex-direction:column;gap:20px;}
  .clinic-block__media,.clinic-block--device .clinic-block__media,.clinic-greeting__media,.clinic-doctor__media{flex-basis:auto;max-width:100%;width:100%;}
  .clinic-gallery{grid-template-columns:repeat(2,1fr);gap:20px 12px;}
}

/* 法的ページ（プライバシーポリシー・免責事項） */
.legal-list{list-style:disc;margin:12px 0 16px;padding-left:1.5em;font-size:16px;line-height:1.9;color:var(--text);}
.legal-list li{margin-bottom:8px;}
.legal-list--num{list-style:decimal;}

/* 診療案内（皮膚科・形成外科）：アイコン＋導入文 */
.clinic-block--icon{align-items:center;}
.clinic-block--icon .clinic-block__media{flex-basis:22%;max-width:22%;}
@media(max-width:767px){ .clinic-block--icon .clinic-block__media{max-width:50%;} }

/* 診療案内（皮膚科・形成外科）：各項目を、薄いベージュのカードに */
.detail-section--card{background:#f8f6f2;padding:32px;border-radius:5px;}
@media(max-width:767px){ .detail-section--card{padding:20px;} }

/* 診療案内（皮膚科・形成外科）：ご予約はこちら（独立ブロック／カードと同じ横幅） */
.clinic-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-bottom:56px;
  padding:32px;
  background:#443932;
  border-radius:5px;
  color:#fff;
  font-size:24px;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.5;
  text-decoration:none;
  transition:opacity .2s;
}
.clinic-cta:hover{opacity:.85;color:#fff;}
.clinic-cta .ti{font-size:24px;}
@media(max-width:767px){ .clinic-cta{padding:24px 20px;} }

/* 自費診療ページ共通の注意書き（各ページ上部） */
.cos-notice{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:40px;
  padding:24px 32px;
  background:#f8f6f2;
  border-radius:5px;
}
.cos-notice__icon{
  flex:none;
  margin-top:2px;
  font-size:24px;
  color:var(--accent);
}
.cos-notice__text p{
  font-size:16px;
  font-weight:700;
  line-height:1.8;
  color:var(--accent);
}
.cos-notice__text p + p{margin-top:8px;}
@media(max-width:767px){
  .cos-notice{gap:12px;padding:20px;margin-bottom:32px;}
}

/* ===== お知らせ（カスタム投稿）一覧・個別 ===== */
.news--archive{margin-top:0;padding:0;background:none;border-radius:0;}
.news--archive .news__inner{padding:0;}
.news__empty{padding:24px 0;font-size:16px;color:#9a8f86;}
.news .navigation.pagination{margin-top:32px;}
.news .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;}
.news .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 8px;font-size:16px;color:#443932;background:#fff;border:1px solid #c9c0b5;border-radius:5px;text-decoration:none;}
.news .page-numbers.current{background:#443932;border-color:#443932;color:#fff;}
.news .page-numbers.dots{border:none;background:none;}
.news-single{padding-bottom:80px;}
.news-single__date{font-size:16px;font-weight:700;color:#9a8f86;letter-spacing:.05em;}
.news-single__title{margin:8px 0 24px;font-size:24px;line-height:1.5;color:#443932;}
.news-single__thumb{margin:0 0 24px;}
.news-single__thumb img{width:100%;height:auto;border-radius:5px;}
.news-single__body{font-size:16px;line-height:1.9;color:var(--text);}
.news-single__body p{margin:0 0 1.2em;}
.news-single__body img{max-width:100%;height:auto;}
.news-single__nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-top:56px;padding-top:32px;border-top:1px dotted #c9c0b5;}
.news-single__nav-item{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:16px;line-height:1.6;color:#443932;text-decoration:none;transition:opacity .2s;}
.news-single__nav-item:hover{opacity:.7;}
.news-single__nav-item--next{text-align:right;align-items:flex-end;}
.news-single__nav-label{display:inline-flex;align-items:center;gap:4px;font-size:16px;font-weight:700;color:#9a8f86;}
.news-single__nav-title{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.news-single__nav-list{display:flex;justify-content:center;}
@media (max-width:767px){
.news-single__title{font-size:20px;}
.news-single__nav{grid-template-columns:1fr 1fr;}
.news-single__nav-list{grid-column:1 / -1;grid-row:2;}
.news-single__nav-title{white-space:normal;}
}