/* =========================================================
   内側ページ（受診案内・産科・婦人科など）共通のデザインCSS
   トップページ(tate-front.css)とは別ファイルで独立して動作します
   （body.tate-page 配下のみに効くので、他ページへの影響はありません）
   ========================================================= */

body.tate-page{
  --paper:#F3E9E4;
  --paper-deep:#EAD9D2;
  --card:#FAF3EF;
  --ink:#2B231F;
  --ink-soft:#6B5D55;
  --wine:#B8452F;
  --wine-deep:#6E2A1C;
  --wine-tint:#F4DFD7;
  --gold:#A47C4C;
  --sage-tint:#E4E9D8;
  --line:#DCC7BF;
  --shadow: 0 10px 30px -18px rgba(110,42,28,0.35);

  margin:0 !important;
  padding:0 !important;
  background:var(--paper) !important;
  color:var(--ink) !important;
  font-family:'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
}
body.tate-page *{box-sizing:border-box;}
body.tate-page h1,
body.tate-page h2,
body.tate-page h3,
body.tate-page .mincho{font-family:'Shippori Mincho', serif;}
body.tate-page .en{font-family:'Cormorant Garamond', serif;}
body.tate-page a{color:inherit;text-decoration:none;}
body.tate-page img{max-width:100%;display:block;}
body.tate-page .wrap{max-width:840px;margin:0 auto;padding:0 28px;}

/* ---------- header（トップページと共通デザイン） ---------- */
body.tate-page .tate-header{
  position:sticky;top:0;z-index:50;
  background:rgba(243,233,228,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
body.tate-page .headbar{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;max-width:1140px;margin:0 auto;}
body.tate-page .logo{display:flex;align-items:baseline;gap:10px;font-family:'Shippori Mincho',serif;font-size:22px;font-weight:700;letter-spacing:.04em;color:var(--wine-deep);}
body.tate-page .logo small{font-family:'Cormorant Garamond',serif;font-size:12px;letter-spacing:.14em;color:var(--gold);font-weight:500;}
body.tate-page nav ul{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0;}
body.tate-page nav ul li{list-style:none;}
body.tate-page nav ul li a{font-size:14.5px;letter-spacing:.03em;position:relative;padding:4px 0;color:var(--ink-soft);}
body.tate-page nav ul li a:hover{color:var(--wine);}
body.tate-page .tel-btn{
  display:flex;align-items:center;gap:8px;
  background:var(--wine);color:#fff !important;padding:10px 18px;border-radius:2px;
  font-size:13.5px;letter-spacing:.03em;white-space:nowrap;
  box-shadow:var(--shadow);
}
body.tate-page .tel-btn .num{font-family:'Cormorant Garamond',serif;font-size:17px;font-weight:600;}
body.tate-page .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
body.tate-page .nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:5px 0;}
body.tate-page .ring-mark{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;flex:0 0 auto;}
body.tate-page .ring-mark svg{width:100%;height:100%;}

/* ---------- ページタイトル帯 ---------- */
body.tate-page .page-hero{
  position:relative;overflow:hidden;background:var(--wine-deep);
  padding:64px 28px;text-align:center;
  background-size:contain;background-position:center;background-repeat:no-repeat;
}
body.tate-page .page-hero.has-photo{padding:70px 28px;}
body.tate-page .page-hero-scrim{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(52,17,10,.35) 0%, rgba(52,17,10,.72) 100%);
}
body.tate-page .page-hero-inner{position:relative;z-index:2;}
body.tate-page .page-hero .eyebrow{
  font-size:12px;letter-spacing:.2em;color:var(--gold);margin-bottom:14px;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
body.tate-page .page-hero .eyebrow::before,
body.tate-page .page-hero .eyebrow::after{content:"";width:22px;height:1px;background:var(--gold);}
body.tate-page .page-hero h1{font-size:clamp(26px,3.6vw,38px);color:#F8F1EC;margin:0;font-weight:700;text-shadow:0 2px 10px rgba(0,0,0,.4);}
body.tate-page .page-hero p{color:#EADFD9;font-size:14px;margin:14px auto 0;max-width:50ch;}
body.tate-page .breadcrumb{font-size:12px;color:#EADFD9;margin-top:18px;}
body.tate-page .breadcrumb a{color:#EADFD9;text-decoration:underline;text-underline-offset:3px;}

/* ---------- 本文コンテンツ ---------- */
body.tate-page .page-content{max-width:760px;margin:0 auto;padding:64px 28px 100px;}
body.tate-page .content-section{margin-bottom:56px;}
body.tate-page .content-section:last-child{margin-bottom:0;}
body.tate-page .content-section h2{
  font-size:21px;color:var(--wine-deep);margin:0 0 8px;
  display:flex;align-items:center;gap:12px;
}
body.tate-page .content-section h2 .num{font-family:'Cormorant Garamond',serif;color:var(--gold);font-size:16px;font-weight:600;}
body.tate-page .content-section .divider{width:34px;height:2px;background:var(--gold);margin:0 0 20px;}
body.tate-page .content-section p{font-size:14.5px;color:var(--ink-soft);margin:0 0 14px;}
body.tate-page .content-section p:last-child{margin-bottom:0;}
body.tate-page .content-section a.inline-link{color:var(--wine) !important;text-decoration:underline;text-underline-offset:3px;}
body.tate-page .info-card{background:var(--card);border:1px solid var(--line);border-radius:3px;padding:24px 26px;margin-top:18px;}
body.tate-page .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;}
body.tate-page .gal-item{border-radius:8px;overflow:hidden;aspect-ratio:1/1;background:var(--line);}
body.tate-page .gal-item img{width:100%;height:100%;object-fit:cover;display:block;}
@media (max-width:600px){
  body.tate-page .gallery{grid-template-columns:repeat(2,1fr);}
}
body.tate-page .info-card p{margin:0;font-size:13.5px;}
body.tate-page .note-box{margin-top:18px;padding:16px 18px;background:var(--wine-tint);border-radius:3px;font-size:12.8px;color:var(--wine-deep);}

/* 診療時間の表（トップページと同じ見た目） */
body.tate-page table.hours{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:8px;}
body.tate-page table.hours th, body.tate-page table.hours td{padding:12px 8px;text-align:center;border-bottom:1px solid var(--line);}
body.tate-page table.hours th{font-weight:500;color:var(--ink-soft);font-size:12.5px;}
body.tate-page table.hours td.lbl{text-align:left;color:var(--ink-soft);font-size:12.5px;}
body.tate-page table.hours td.on{color:var(--wine);font-weight:700;}
body.tate-page table.hours td.off{color:#c9bab3;}

body.tate-page .btn{
  display:inline-flex;align-items:center;gap:10px;padding:12px 22px;font-size:13.5px;letter-spacing:.03em;
  border-radius:2px;transition:transform .18s ease;
}
body.tate-page .btn-primary{background:var(--wine);color:#fff !important;box-shadow:var(--shadow);}
body.tate-page .btn-primary:hover{transform:translateY(-2px);}

/* ---------- footer（トップページと共通デザイン） ---------- */
body.tate-page .tate-footer{background:var(--paper-deep);padding:64px 0 28px;}
body.tate-page .foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;margin-bottom:46px;max-width:1140px;margin-left:auto;margin-right:auto;padding:0 28px;}
body.tate-page .foot-logo{font-family:'Shippori Mincho',serif;font-size:20px;color:var(--wine-deep);margin-bottom:14px;}
body.tate-page .foot-col h4{font-size:12.5px;letter-spacing:.1em;color:var(--gold);margin:0 0 16px;}
body.tate-page .foot-col p, body.tate-page .foot-col a{font-size:13px;color:var(--ink-soft);display:block;margin-bottom:10px;}
body.tate-page .foot-col a:hover{color:var(--wine);}
body.tate-page .foot-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11.5px;color:var(--ink-soft);max-width:1140px;margin:0 auto;padding-left:28px;padding-right:28px;}

@media (max-width: 880px){
  body.tate-page nav, body.tate-page .tel-btn{display:none;}
  body.tate-page .nav-toggle{display:block;}
  body.tate-page .foot-grid{grid-template-columns:1fr;gap:28px;}
  body.tate-page .page-content{padding:48px 20px 72px;}
}
