/*
Theme Name:  OKA Ladies Clinic
Theme URI:   https://www.oka-lc.jp/
Author:      OKA Ladies Clinic
Description: オカ・レディース・クリニック 公式サイトテーマ
Version:     1.0.0
License:     Private
Text Domain: oka
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --bg:        #FFF9F8;
  --bg-soft:   #FDEFF1;
  --panel:     #FFFFFF;
  --ink:       #332A2E;
  --ink-soft:  #7C6A6E;
  --wine:      #FB4E76;
  --wine-deep: #D8395C;
  --wine-tint: #FFE9ED;
  --blush:     #FFD3DA;
  --sage:      #76876C;
  --sage-tint: #EBEFE6;
  --line:      #F6DEE3;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow:    0 24px 48px -28px rgba(46,36,48,.32);
  --shadow-sm: 0 10px 24px -16px rgba(46,36,48,.28);
  --maxw:      1180px;
  --serif:     'Shippori Mincho', serif;
  --sans:      'Zen Kaku Gothic New', "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --num:       'Outfit', var(--sans);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--wine); color: #fff; padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ===== EYEBROW ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--num); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine-deep); font-weight: 500; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--wine); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--wine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--wine-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--wine); color: var(--wine-deep); }
.btn-ghost:hover { background: var(--wine-tint); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,249,248,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 24px -20px rgba(46,36,48,.4); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo */
.site-logo { flex: 0 0 auto; }
.site-logo img { height: 42px; width: auto; }

/* Desktop Nav — wp_nav_menu() with OKA_Nav_Walker outputs <a> tags directly */
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 14px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a.active::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a.active, .main-nav a[aria-current] { color: var(--wine-deep); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.tel-pill { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.tel-pill .label { font-size: 11px; color: var(--ink-soft); }
.tel-pill .num { font-family: var(--num); font-size: 19px; font-weight: 600; color: var(--wine-deep); }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.hamburger span, .hamburger span::before, .hamburger span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .25s, opacity .25s; }
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after  { position: absolute; top:  6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translateY(6px) rotate(45deg); }
.hamburger.open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 190; background: var(--bg); padding: 100px 32px 40px; flex-direction: column; gap: 6px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.mobile-nav.open { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a { font-family: var(--serif); font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); display: block; }
.mobile-nav .btn { margin-top: 24px; }

/* ===== PAGE BANNER ===== */
.page-banner { padding: 56px 0 48px; background: linear-gradient(135deg, var(--wine-tint) 0%, #fff 70%); }
.page-banner .eyebrow { margin-bottom: 14px; }
.page-banner h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.4; }
.page-banner p.sub { margin-top: 12px; font-size: 15px; color: var(--ink-soft); max-width: none; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); padding: 14px 0 0; }
.breadcrumb a:hover { color: var(--wine-deep); }
.breadcrumb span { opacity: .5; }

/* ===== SECTION HEADS ===== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.section-head .more { font-size: 13.5px; font-weight: 600; color: var(--wine-deep); }
.section-head .more:hover { text-decoration: underline; }

/* ===== HERO ===== */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.65; margin-bottom: 26px; }
.hero h1 .accent { color: var(--wine); }
.hero-sub { font-size: 15.5px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .num { font-family: var(--num); font-size: 22px; font-weight: 600; color: var(--wine-deep); }
.hero-meta .lbl { font-size: 12.5px; color: var(--ink-soft); }
.hero-art { position: relative; aspect-ratio: 1/1; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art-card { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); background: var(--panel); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 12px; width: min(86%, 320px); }
.hero-art-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: 0 0 auto; }
.hero-art-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.hero-art-card strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }

/* ===== WORRIES ===== */
.worries { padding: 84px 0; background: var(--bg-soft); }
.worry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.worry-card { background: var(--panel); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.worry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.worry-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--wine-tint); display: flex; align-items: center; justify-content: center; color: var(--wine); }
.worry-card.alt .worry-icon { background: var(--sage-tint); color: var(--sage); }
.worry-tag { font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; }
.worry-card h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.worry-card .lines { font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; margin: 0; }
.worry-card .resources { font-size: 12.5px; color: var(--ink-soft); background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; line-height: 1.6; }
.worry-link { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--wine-deep); display: inline-flex; align-items: center; gap: 6px; }
.worry-link svg { transition: transform .2s; }
.worry-card:hover .worry-link svg { transform: translateX(4px); }

/* ===== NEWS ===== */
.news { padding: 84px 0; }
.news-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: flex; align-items: baseline; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.news-item time { font-family: var(--num); font-size: 13.5px; color: var(--ink-soft); flex: 0 0 110px; }
.news-item a { font-size: 15px; font-weight: 500; }
.news-item a:hover { color: var(--wine-deep); }
.reserve-card { background: var(--wine); color: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow); }
.reserve-card .eyebrow { color: #F3D9DC; }
.reserve-card .eyebrow::before { background: #F3D9DC; }
.reserve-card h3 { font-size: 21px; margin: 16px 0 12px; color: #fff; }
.reserve-card p { font-size: 13.5px; color: #fff; margin-bottom: 22px; line-height: 1.8; font-weight: 600; }
.reserve-card .btn-primary { background: #fff; color: var(--wine-deep); }
.reserve-card .btn-primary:hover { background: #F8EDEE; }
.reserve-card .tel-line { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; gap: 10px; }
.reserve-card .tel-line .num { font-family: var(--num); font-size: 21px; font-weight: 600; }
.reserve-card .tel-line .lbl { font-size: 11.5px; color: #fff; font-weight: 700; }

/* ===== SERVICES GRID ===== */
.services { padding: 84px 0; background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: var(--panel); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.service-card .head { padding: 28px 28px 22px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.service-card .head .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--wine-tint); color: var(--wine); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.service-card.sage .head .ic { background: var(--sage-tint); color: var(--sage); }
.service-card.ink  .head .ic { background: #ECE6E8; color: var(--ink); }
.service-card .head h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; }
.service-card .head span { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; letter-spacing: .05em; }
.service-list { padding: 14px 16px 22px; }
.service-list li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; }
.service-list li a:hover { background: var(--bg-soft); color: var(--wine-deep); }
.service-list li a svg { flex: 0 0 auto; opacity: .5; }

/* ===== HOURS ===== */
.hours-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.hours-card .hd { display: flex; align-items: center; gap: 10px; padding: 18px 22px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
table.hours { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.hours th, table.hours td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--line); }
table.hours th { font-weight: 600; color: var(--ink-soft); font-size: 12.5px; }
table.hours td:first-child, table.hours th:first-child { text-align: left; padding-left: 18px; color: var(--ink-soft); font-size: 12.5px; white-space: nowrap; }
table.hours tr:last-child td { border-bottom: none; }
table.hours td.yes { color: var(--wine-deep); font-weight: 700; font-size: 15px; }
table.hours td.no  { color: #C9BDB8; }
.hours-note { display: flex; gap: 10px; padding: 16px 22px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
.hours-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--wine); }

/* ===== ABOUT SECTION (homepage) ===== */
.about { padding: 84px 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); align-self: start; }
.about-photo img { width: 100%; height: auto; display: block; }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 18px; text-align: left; }
.about-copy p.lede { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 32px; }

/* ===== ACCESS SECTION ===== */
.access-section { padding: 84px 0; background: var(--bg-soft); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.access-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.access-info { background: var(--panel); padding: 40px; }
.access-info .eyebrow { margin-bottom: 18px; }
.access-info h3 { font-size: 20px; margin-bottom: 18px; }
.access-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.access-row:first-of-type { border-top: none; }
.access-row .ic  { color: var(--wine); flex: 0 0 auto; margin-top: 2px; }
.access-row .lbl { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 4px; }
.access-row .val { font-size: 14.5px; }
.access-row .val.numf { font-family: var(--num); font-size: 17px; font-weight: 600; }

/* ===== PROSE (page content) ===== */
.prose { padding: 72px 0; }
.prose h2 { font-size: clamp(19px, 2.2vw, 24px); padding-bottom: 12px; border-bottom: 2px solid var(--wine-tint); margin-bottom: 24px; }
.prose h3 { font-size: 17px; color: var(--wine-deep); margin: 28px 0 12px; }
.prose p, .prose li { font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.prose ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose > .wrap > section + section { margin-top: 64px; }
.prose > .wrap > section { border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); padding: 36px 40px; box-shadow: var(--shadow-sm); }

/* ===== SERVICES LINKS ===== */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.svc-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14.5px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.svc-item:hover { background: var(--wine-tint); border-color: var(--blush); color: var(--wine-deep); }
.svc-item svg { flex: 0 0 auto; opacity: .5; }

/* ===== CAREER TABLE ===== */
table.career { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 16px; }
table.career td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.career td:first-child { white-space: nowrap; font-weight: 700; color: var(--wine-deep); width: 130px; }
table.career tr:last-child td { border-bottom: none; }

/* ===== ESSAY LIST ===== */
.essay-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.essay-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14.5px; transition: background .2s, border-color .2s; }
.essay-item:hover { background: var(--wine-tint); border-color: var(--blush); }
.essay-item .no { font-family: var(--num); font-size: 12px; font-weight: 700; color: var(--wine-deep); flex: 0 0 36px; }
.essay-item svg { margin-left: auto; opacity: .4; }

/* ===== FAQ ===== */
.faq-group { margin-bottom: 56px; }
.faq-group h2 { font-size: clamp(18px, 2vw, 22px); padding-bottom: 12px; border-bottom: 2px solid var(--wine-tint); margin-bottom: 24px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 14px; }
.faq-q { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; background: var(--panel); cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.faq-q .badge { flex: 0 0 auto; background: var(--wine); color: #fff; border-radius: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-family: var(--num); font-size: 12px; font-weight: 700; margin-top: 1px; }
.faq-q .chevron { margin-left: auto; flex: 0 0 auto; color: var(--wine); transition: transform .25s; }
details[open] .faq-q .chevron { transform: rotate(180deg); }
.faq-a { padding: 0 24px 22px 66px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; background: var(--panel); }

/* ===== ACCESS PAGE ===== */
.access-map-full iframe { width: 100%; height: 420px; border: 0; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.access-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.access-route-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.access-route-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.access-route-card h3 .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--wine-tint); color: var(--wine); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.access-route-card ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.access-route-card ol li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.access-route-card ol li::before { counter-increment: step; content: counter(step); flex: 0 0 auto; background: var(--wine); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 2px; }
.access-route-card .note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; padding: 10px 14px; background: var(--bg-soft); border-radius: 8px; line-height: 1.7; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row .ic  { color: var(--wine); flex: 0 0 auto; margin-top: 2px; }
.info-row .lbl { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 4px; }
.info-row .val { font-size: 14.5px; }
.info-row .val.numf { font-family: var(--num); font-size: 17px; font-weight: 600; }

/* ===== 404 ===== */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-404 .num { font-family: var(--num); font-size: 96px; font-weight: 600; color: var(--wine-tint); line-height: 1; }
.error-404 h1 { font-size: 24px; margin: 16px 0 12px; }
.error-404 p { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }

/* ===== FOOTER ===== */
footer { padding: 32px 0 40px; }
.footer-hr { border: none; border-top: 1px solid var(--line); margin-bottom: 24px; }
.footer-simple { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo a { display: inline-block; }
.footer-logo img { height: 36px; width: auto; object-fit: contain; }
.footer-copy { font-size: 12px; color: var(--ink-soft); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .main-nav, .tel-pill { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .worry-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .access-map iframe { min-height: 280px; }
  .access-cards { grid-template-columns: 1fr; }
  .prose > .wrap > section { padding: 24px 22px; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 40px 0 64px; }
  .hero-meta { gap: 20px; }
  .header-inner { padding: 14px 20px; }
  .access-map-full iframe { height: 280px; }
  .faq-a { padding-left: 24px; }
  .worry-grid, .service-grid { grid-template-columns: 1fr; }
}

/* ===== Services Nav ===== */
.services-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 32px; padding: 16px 20px; background: var(--blush); border-radius: 8px; }
.services-nav a { font-size: 13.5px; font-weight: 600; color: var(--wine-deep); text-decoration: none; white-space: nowrap; }
.services-nav a:hover { text-decoration: underline; }

/* ===== Essay H2 with inline more link ===== */
h2.essay-h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
a.essay-more { font-size: 13.5px; font-weight: 600; color: var(--wine-deep); white-space: nowrap; flex-shrink: 0; }
a.essay-more:hover { text-decoration: underline; }


/* ============================================================
   診療案内 子ページ 2カラムレイアウト
   ============================================================ */
.service-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* サイドバーナビ（目立たないスタイル） */
.service-sidenav {
  flex: 0 0 180px;
  position: sticky;
  top: 100px;
}
.service-sidenav nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line-soft, #e8dde5);
}
.service-sidenav nav ul li a {
  display: block;
  padding: 7px 12px;
  font-size: 12.5px;
  color: var(--ink-soft, #9e8e9a);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s, border-left-color 0.2s;
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.service-sidenav nav ul li a:hover {
  color: var(--wine-deep, #8b2252);
}

/* メインコンテンツ */
.service-content {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 767px) {
  .service-layout {
    flex-direction: column;
    gap: 24px;
  }
  .service-sidenav {
    position: static;
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--line-soft, #e8dde5);
    padding-top: 16px;
  }
  .service-sidenav nav ul {
    border-left: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .service-sidenav nav ul li a {
    padding: 4px 8px;
    font-size: 12px;
    border-left: none;
    background: var(--bg-soft, #fdf7f9);
    border-radius: 4px;
  }
}
