/* 谷町デンタルガイド — editorial stylesheet */
:root {
  --navy: #16324a;
  --teal: #0e7490;
  --teal-dark: #0b5c73;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --line: #e2e8f0;
  --bg-soft: #f4f8fa;
  --bg-note: #eef6f8;
  --max: 860px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.sitehead { border-bottom: 1px solid var(--line); background: #fff; }
.sitehead-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: 1040px; margin: 0 auto; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.logo:hover { text-decoration: none; }
.logo .tag { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.08em; }
.gnb { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.gnb a { color: var(--ink); font-weight: 500; }
.gnb a.on { color: var(--teal-dark); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

/* hero (home) */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #1d4a63 60%, var(--teal-dark) 100%); color: #fff; padding: 56px 0 48px; }
.hero h1 { font-size: 30px; line-height: 1.5; letter-spacing: 0.03em; }
.hero p { margin-top: 14px; color: #d7e5ec; max-width: 620px; font-size: 15px; }
.hero .area { display: inline-block; margin-bottom: 14px; font-size: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 3px 12px; border-radius: 999px; letter-spacing: 0.08em; }

/* section */
.sec { padding: 44px 0 8px; }
.sec-t { font-size: 22px; color: var(--navy); border-left: 4px solid var(--teal); padding-left: 12px; line-height: 1.5; margin-bottom: 20px; }
.sec-lead { color: var(--ink-soft); font-size: 15px; margin: -8px 0 20px; }

/* card grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 20px 20px 18px; background: #fff; transition: box-shadow .15s; }
.card:hover { box-shadow: 0 4px 14px rgba(22,50,74,.10); text-decoration: none; }
.card .c-cat { font-size: 12px; color: var(--teal-dark); letter-spacing: 0.06em; font-weight: 700; }
.card h3 { font-size: 16px; color: var(--ink); margin: 6px 0 8px; line-height: 1.6; }
.card p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* article body */
.post-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 36px 0 30px; }
.post-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.post-meta .sep { margin: 0 8px; color: #cbd5e1; }
.post-head h1 { font-size: 26px; line-height: 1.55; color: var(--navy); }
.post-author { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.post-author .nm { font-weight: 700; color: var(--ink); }
.post-body { max-width: var(--max); margin: 0 auto; padding: 34px 20px 20px; }
.post-body p { margin-bottom: 1.2em; }
.post-body h2 { font-size: 21px; color: var(--navy); margin: 2em 0 0.8em; border-left: 4px solid var(--teal); padding-left: 12px; line-height: 1.5; }
.post-body h3 { font-size: 17px; color: var(--ink); margin: 1.6em 0 0.6em; }
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.4em; }
.post-body li { margin-bottom: 0.4em; }
.post-body figure { margin: 1.6em 0; }
.post-body figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.note { background: var(--bg-note); border: 1px solid #cfe6ec; border-radius: 8px; padding: 14px 18px; font-size: 14px; margin: 1.4em 0; }
.note strong { color: var(--teal-dark); }

/* tables */
.tbl-scroll { overflow-x: auto; margin: 1.4em 0; -webkit-overflow-scrolling: touch; }
table.tbl { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
table.tbl th, table.tbl td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.7; }
table.tbl th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; }
table.tbl td .sub { display: block; font-size: 12px; color: var(--ink-soft); }

/* clinic list card */
.clinic { border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; margin-bottom: 18px; }
.clinic h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.clinic .c-access { font-size: 13px; color: var(--teal-dark); font-weight: 600; margin-bottom: 8px; }
.clinic p { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.clinic .c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.clinic .c-tags span { font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--ink-soft); }
.clinic .c-link { font-size: 13px; }

/* disclaimer / refs */
.refs { font-size: 13px; color: var(--ink-soft); }
.refs li { margin-bottom: 6px; }
.disclaim { font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 14px; }

/* post foot nav */
.post-foot { max-width: var(--max); margin: 0 auto; padding: 8px 20px 48px; }
.post-back { text-align: center; margin-top: 20px; }
.post-back a { display: inline-block; border: 1px solid var(--teal-dark); color: var(--teal-dark); border-radius: 999px; padding: 8px 28px; font-size: 14px; }

/* footer */
.sitefoot { background: var(--navy); color: #c8d6e0; margin-top: 56px; font-size: 13px; }
.sitefoot-in { max-width: 1040px; margin: 0 auto; padding: 36px 20px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.sitefoot .brand { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sitefoot .col-t { font-weight: 700; color: #fff; margin-bottom: 8px; }
.sitefoot a { color: #c8d6e0; display: block; margin-bottom: 5px; }
.sitefoot-bot { border-top: 1px solid rgba(255,255,255,.15); text-align: center; padding: 14px; font-size: 12px; color: #8ea8ba; }

@media (max-width: 720px) {
  .hero h1 { font-size: 23px; }
  .post-head h1 { font-size: 21px; }
  .sitefoot-in { grid-template-columns: 1fr; gap: 20px; }
  .gnb { gap: 12px; font-size: 13px; }
}

/* ── visual extensions (2026-08-21 design pass) ── */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: end; }
.hero-visual { position: relative; min-height: 320px; display: flex; align-items: flex-end; justify-content: center; }
.hero-visual .bgsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual img { position: relative; width: min(300px, 82%); height: auto; filter: drop-shadow(0 14px 26px rgba(8, 22, 36, .38)); }
.hero-credit { position: absolute; right: 10px; bottom: 6px; font-size: 10.5px; color: #b7cfdb; letter-spacing: .04em; }
.card.has-thumb { padding: 0 0 18px; overflow: hidden; display: flex; flex-direction: column; }
.card.has-thumb .c-thumb { display: block; width: 100%; aspect-ratio: 40 / 26; object-fit: cover; background: #eaf4f7; border-bottom: 1px solid var(--line); }
.card.has-thumb .c-body { padding: 14px 20px 0; }
.photo-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 10px; }
.photo-band figure { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.photo-band figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.6; }
.post-visual { margin: 0 0 24px; }
.post-visual img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); display: block; }
.clinic-photo { float: right; width: 180px; margin: 0 0 12px 18px; border-radius: 10px; }
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 230px; margin-top: 6px; }
  .hero-visual img { width: 210px; }
  .clinic-photo { float: none; width: 100%; margin: 0 0 14px; }
}
