@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');

/* =========================================================
   KTH v2 CSS  — Rose & Navy + Big Type + Gradient

/* =========================================================
   KTH v2 CSS  — Rose & Navy + Big Type + Gradient
   Path: wp-content/themes/kishi_english_v2/css/kth_v2.css
   ========================================================= */

/* テーマ側で付いているかもしれない上マージンを消す */
.site,
#page,
.site-header,
#masthead {
  margin-top: 0;
  padding-top: 0;
}

/* 固定ページだけ、タイトルの上に少し余白を足す */
body.page .page-wrap{
  padding-top: 24px;
}

/* 固定ヘッダーを考慮して body の上に余白 */
html{
  margin:0;
  padding:0;
  -webkit-text-size-adjust:100%;
  font-size:18px;
}

:root{
  --bg:#fff;
  --section:#E5C2C7;      /* dusty rose */
  --accent:#3A4B59;       /* navy for CTA/headings/links */
  --accent-hover:#31404C;
  --text:#2B2B2B;
  --muted:#6D7177;
  --surface:#fff;
  --gold:#D9C9A3;
  --silver:#D0D3D4;
  --border:#E9D9DD;
  --radius:10px;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 4px 10px rgba(0,0,0,.03);
  --hero-img:none;
}

/* ベースタイポグラフィ */
*{ box-sizing:border-box; }

body{
  margin:0;
  padding-top:88px;
  background:var(--bg);
  color:var(--text);
  font-size:18px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

@media (max-width:768px){
  body{
    padding-top:64px;
  }
}

a{
  color:var(--accent);
  text-decoration-thickness:.08em;
  text-underline-offset:.14em;
}

/* 見出し */
h1,h2,h3{
  color:var(--accent);
  font-family:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","Times New Roman",serif;
  font-weight:600;
  letter-spacing:.2px;
  line-height:1.25;
  margin:0 0 16px;
}
h1{ font-size:42px; margin-top:8px; }
h2{ font-size:26px; }
h3{ font-size:20px; }

p{ margin:0 0 20px; }

/* コンテナ */
.kth-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:32px clamp(20px, 4vw, 32px);
  width:100%;
}

/* 細いゴールドライン（任意） */
.topline{
  height:2px;
  background:linear-gradient(90deg,var(--gold),transparent);
}




/* ==================================
   ヘッダー（ユーティリティバー）
   ================================== */

.kth-utility{
  margin-top:0;
}
@media (max-width:768px){
  .kth-utility{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    background:var(--bg);
  }
}

.kth-utility .kth-bar{
  display:flex;
  align-items:center;
  gap:18px;
  padding:8px 32px;
}

/* ブランドロゴ */
.kth-brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color:var(--accent);
  white-space:nowrap;
}
.kth-brand img{
  height:65px;
  width:auto;
  display:block;
}

/* ==== Chips / buttons ==== */
.kth-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:9999px;
  border:1px solid var(--silver);
  background:#fff;
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
}
.kth-chip .i{
  line-height:1;
  display:inline-flex;
}
.kth-chip .t{
  white-space:nowrap;
}
.kth-chip--sm{
  padding:6px 10px;
}
.kth-chip--call{
  background:var(--accent);
  color:#fff;
  border-color:transparent;
}
.kth-chip--call:hover{
  background:var(--accent-hover);
}

/* WhatsApp ボタン */
.kth-chip--wa{
  border:1px solid var(--silver) !important;
  background:#fff !important;
  box-shadow:none !important;
}
.kth-wa-icon{
  width:18px;
  height:18px;
  display:block;
  color:#25D366;
}

/* JMIP バッジ */
.kth-jmip-inline{
  display:inline-flex;
}
.kth-badge--jmip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid var(--silver);
  border-radius:8px;
  background:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  line-height:1;
  color:var(--accent);
}
.kth-badge--jmip:hover{
  filter:brightness(.97);
}
.kth-badge--jmip .kth-jmip-icon{
  width:16px;
  height:16px;
  opacity:.9;
}

/* レスポンシブ調整（ヘッダーチップ） */
@media (max-width:1280px){
  .kth-chip{
    padding:8px 10px;
    font-size:15px;
  }
}
@media (max-width:1100px){
  .kth-chip:not(.kth-chip--call) .t{
    display:none;
  }
  .kth-chip:not(.kth-chip--call){
    padding:8px;
  }
}
@media (max-width:900px){
  .kth-chip.kth-chip--call{
    padding:8px 10px;
    font-size:14px;
  }
}
@media (max-width:600px){
  .kth-chip{
    padding:6px 8px;
  }
}

/* 固定バー分のスペーサ（必要なページのみ使用） */
#ubar-spacer{
  height:56px;
}






/* ==================================
   グローバルメニュー（オーバーレイ）
   ================================== */

.menu-open{ overflow: hidden; }

.nav-overlay{
  position:fixed;
  inset:0;
  z-index:1100;
  display:none;
  background:rgba(58,75,89,.40);
}
.nav-overlay[aria-hidden="false"]{ display:block; }

.nav-panel{
  position:absolute;
  top:0;
  right:0;
  width:min(96vw, 860px);
  height:100%;
  background:#fff;
  box-shadow:-18px 0 40px rgba(0,0,0,.18);
  border-left:1px solid var(--silver);
  display:flex;
  flex-direction:column;
}
.nav-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-bottom:1px solid var(--silver);
}
.nav-title{
  font-weight:700;
  color:var(--accent);
  font-size:18px;
}
.nav-close{ margin-left:auto; }
.nav-search-wrap{
  padding:12px 16px;
  border-bottom:1px solid var(--silver);
}
.nav-search{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--silver);
  outline:none;
  font-size:16px;
}
.nav-body{
  padding:8px 16px 24px;
  overflow:auto;
}
.nav-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
@media(min-width:900px){
  .nav-grid{ grid-template-columns:repeat(3,1fr); }
}
.nav-group{
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
.nav-group h3{
  margin:0 0 8px;
  font-size:16px;
}
.nav-list{
  list-style:none;
  padding-left:0;
  margin:0;
  display:grid;
  gap:6px;
}
.nav-list a{
  text-decoration:none;
  color:var(--text);
  padding:6px 4px;
  border-radius:8px;
  display:block;
}
.nav-list a:hover{
  background:#F7F8FA;
  color:var(--accent);
}
.nav-foot{
  padding:12px 16px;
  border-top:1px solid var(--silver);
  display:flex;
  gap:10px;
  justify-content:flex-end;
}





/* ==================================
   ヒーロー / カード / News など
   ================================== */

.kth-hero{
  position:relative;
  border-top:1px solid var(--silver);
  border-bottom:1px solid var(--silver);
  background:
    linear-gradient(180deg,
      rgba(229,194,199,.88) 0%,
      rgba(229,194,199,.62) 42%,
      rgba(255,255,255,1) 100%);
}

.kth-sub{
  color:var(--muted);
  margin-bottom:22px;
}

/* 最重要3カード */
.kth-quick{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
  margin-top:20px;
}
@media(min-width:780px){
  .kth-quick{
    grid-template-columns:repeat(3,1fr);
  }
}
.kth-card{
  background:var(--section);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  color:var(--text);
  text-decoration:none;
  transition:transform .16s ease, filter .16s ease;
  display:block;
}
.kth-card:hover{
  transform:scale(1.01);
  filter:brightness(1.01);
}
.kth-title{
  font-weight:700;
  color:var(--accent);
  margin-bottom:6px;
  display:flex;
  align-items:center;
  gap:8px;
}
.kth-desc{
  margin:0;
  color:#3b3b3b;
}

/* バッジ */
.kth-badges{
  display:grid;
  gap:12px;
  grid-template-columns:1fr 1fr;
  margin:18px 0 26px;
  list-style:none;
  padding:0;
}
@media(min-width:780px){
  .kth-badges{
    grid-template-columns:repeat(4,1fr);
  }
}
.kth-badges li{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  text-align:center;
  box-shadow:var(--shadow);
  min-height:80px;
  display:flex;
}
.kth-badges li > a,
.kth-badges li > .kth-badge-inner{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;
}
.kth-badges li strong{
  display:block;
  font-size:14px;
  color:var(--accent);
  font-weight:600;
  line-height:1.3;
}
.kth-badges li span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
  line-height:1.35;
}
.kth-badges li a{
  text-decoration:none;
  color:inherit;
}
.kth-badges li a:hover strong{
  filter:brightness(0.95);
}

/* Our commitment */
.kth-commit{
  background:#fff;
  border-top:1px solid var(--silver);
  border-bottom:1px solid var(--silver);
}
.kth-commit__grid{
  display:grid;
  gap:32px;
  grid-template-columns:1fr;
  align-items:center;
}
@media(min-width:900px){
  .kth-commit__grid{
    grid-template-columns:1.2fr 0.8fr;
  }
}
.kth-commit__grid article p{
  margin-bottom:20px;
  color:var(--text);
}
.kth-commit__photo{
  margin:0;
}
.kth-commit__photo img{
  width:100%;
  height:auto;
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  object-fit:cover;
}

/* 診療科カード */
.depts{
  position:relative;
  border-top:1px solid var(--silver);
  border-bottom:1px solid var(--silver);
  background:
    linear-gradient(180deg,
      rgba(229,194,199,.88) 0%,
      rgba(229,194,199,.62) 42%,
      rgba(255,255,255,1) 100%);
}
.grid{
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
@media(min-width:780px){
  .grid{ grid-template-columns:repeat(3,1fr); }
}
@media(min-width:1100px){
  .grid{ grid-template-columns:repeat(4,1fr); }
}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
  box-shadow:var(--shadow);
  transition:transform .16s ease, filter .16s ease;
  text-decoration:none;
  color:var(--text);
}
.card:hover{
  transform:scale(1.02);
  filter:brightness(1.01);
}
.card h3{
  margin-bottom:6px;
  color:var(--accent);
}
.card .muted{
  color:var(--muted);
  font-size:13px;
}
.card--more{
  border-style:dashed;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.more-right{ text-align:right; }

/* News */
.news{ background:#fff; }
.newslist{ display:grid; gap:10px; }
.newsitem{
  border-bottom:1px solid var(--border);
  padding:10px 0;
}
.newsitem a{
  text-decoration:none;
  color:inherit;
  display:block;
}
.newsmeta{
  font-size:12px;
  color:var(--muted);
}
.newstitle{
  font-weight:600;
  color:var(--accent);
  margin-top:4px;
}




/* ==================================
   Bottom dock（スマホ専用・統一版）
   ================================== */

.kth-dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1000;
  display:none;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--silver);
  border-top:1px solid var(--silver);
}
.kth-dock__item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:56px;
  background:#fff;
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
  -webkit-tap-highlight-color:transparent;
}
.kth-dock svg,
.kth-dock img{
  width:22px;
  height:22px;
  display:block;
}
@media (max-width:780px){
  body{
    padding-bottom:64px;
  }
  .kth-dock{
    display:grid;
  }
  .kth-dock__label{
    display:none;
  }
}
@media (min-width:781px){
  .kth-dock{
    display:none !important;
  }
}





/* ==================================
   Outpatient page styling
   ================================== */

.outpatient-page{
  max-width: 960px;
  margin: 0 auto 80px;
  font-size: 17px;
  line-height: 1.9;
}
.outpatient-page .op-lead{
  font-size: 18px;
  line-height: 2;
  margin-bottom: 0.4em;
}
/* hr は非表示にしてカードで区切る */
.outpatient-page .op-divider{
  display: none;
}

.outpatient-page h2{
  font-size: 24px;
  margin: 0 0 10px;
}
.outpatient-page h3{
  font-size: 19px;
  margin: 18px 0 8px;
}
.outpatient-page .op-list,
.outpatient-page .op-list-number{
  margin: 0 0 10px 1.2em;
  padding: 0;
}
.outpatient-page .op-list li,
.outpatient-page .op-list-number li{
  margin-bottom: 4px;
}
.outpatient-page .op-list-number{
  list-style: decimal;
}
.outpatient-page .op-note{
  font-size: 14px;
  color: #666;
}

/* Step list */
.outpatient-page .op-steps{
  counter-reset: op-step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.outpatient-page .op-steps li{
  counter-increment: op-step;
  margin-bottom: 10px;
  padding-left: 2.2em;
  position: relative;
}
.outpatient-page .op-steps li::before{
  content: counter(op-step) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}

/* アウトペイジ内リンクは少し強調 */
 a{
  text-decoration: underline;
}

/* Outpatient ページの H1 をヒーロー風に */
.page-outpatient-services-hours h1.big-h2{
  background: linear-gradient(180deg,
      rgba(229,194,199,.88) 0%,
      rgba(229,194,199,.62) 42%,
      rgba(255,255,255,1) 100%);
  padding: 32px 32px 40px;
  margin: 0 -40px 32px;
  border-radius: 0 0 24px 24px;
  font-size: 38px;
  line-height: 1.3;
}




/* =========================
   Quick information カード
   ========================= */

.info-card {
  border-radius: 18px;
  padding: 24px 28px 28px;
  margin: 32px auto 40px;
  border: 1px solid #f1d5dd;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  background: #fff;
}

/* ピンク背景 */
.info-card--primary {
  background: linear-gradient(
    180deg,
    rgba(229,194,199,.85) 0%,
    rgba(229,194,199,.45) 40%,
    #fff7f8 100%
  );
}

/* タイトル（Quick information） */
.info-card .info-card-title {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.9rem);
  font-weight: 600;
}

/* 1行ごと（2カラム） */
.info-card .info-item {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr; /* ★ラベル列を太めに */
  column-gap: 40px;
  align-items: baseline;
  margin: 0 0 18px;
}

/* 左ラベル */
.info-card .info-item-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

/* 右側の本文 */
.info-card .info-item-body {
  margin: 0;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* 補足メモ（英通訳の注意書きなど） → 右列に揃える */
.info-card .info-item-note {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #666;
  grid-column: 2 / 3;
}

/* スマホでは縦並びにして読みやすく */
@media (max-width: 720px){
  .info-card .info-item {
    display: block;
  }
}




/* ==================================
   共通：ページヘッダー（パンくず＋タイトル）
   ================================== */

/* パンくず：控えめ */
.page .kth-breadcrumb{
  font-size: 14px;
  color: #777;
  margin: 4px 0 20px;
}
.page .kth-breadcrumb a{
  color: inherit;
  text-decoration: none;
}
.page .kth-breadcrumb a:hover{
  text-decoration: underline;
}

/* big-h2 をページタイトルとして使用 */
.page h1.big-h2{
  margin: 10px 0 4px;
}



/* =========================
   First visit block（左右2カラム）
   ========================= */

.outpatient-page .ofv-row{
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  column-gap: 40px;
  align-items: flex-start;
  margin: 32px 0;
}

.outpatient-page .ofv-head h2{
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

.outpatient-page .ofv-body{
  max-width: 720px; /* 横幅を詰めて読みやすく */
}

.outpatient-page .ofv-body p{
  margin: 0 0 14px;
  line-height: 1.7;
}

/* スマホでは縦一列にする */
@media (max-width: 780px){
  .outpatient-page .ofv-row{
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .outpatient-page .ofv-head{
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
  }
}

/* =========================
   箇条書きのスタイル（● / 1.2.3.）
   ========================= */

/* Summary の ●リスト */
.outpatient-page .ofv-list{
  list-style: disc !important;          /* テーマの上書きを力技でつぶす */
  margin: 0 0 10px 1.5em;
  padding-left: 0;
}

/* What to bring の 1,2,3… リスト */
.outpatient-page .ofv-list-number{
  list-style: decimal !important;       /* 同じく強制 */
  margin: 0 0 10px 1.5em;
  padding-left: 0;
}

/* 念のため、ofv 内の ul/ol は必ず「リスト扱い」にする */
.outpatient-page .ofv-body ul,
.outpatient-page .ofv-body ol{
  list-style-position: outside;
}



/* ===== Global readability adjustment ===== */

.kth-sub,
.kth-desc,
.muted,
.newsmeta,
.kth-card__eyebrow {
  font-size: 16px;
  line-height: 1.6;
}