/* ==========================================================
   ふじ内科クリニック — top page
   ========================================================== */
:root {
  --navy: #0b2a55;
  --navy-deep: #08214a;
  --blue: #1257b5;
  --blue-bright: #1a6ad6;
  --sky: #eaf2fc;
  --line: #dbe3ee;
  --bg-soft: #f5f8fc;
  --text: #1c2a3d;
  --text-sub: #4a5a70;
  --red: #d32124;
  --white: #fff;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 42, 85, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
  word-break: auto-phrase;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #5aa0ff; outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; top: 8px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em;
  transition: background .2s, color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.85); color: var(--white); background: rgba(8,33,74,.35); }
.btn--outline { border: 1px solid rgba(255,255,255,.7); color: var(--white); border-radius: 4px; min-width: 188px; justify-content: space-between; }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--sm { min-height: 44px; padding: 0 22px 0 26px; font-size: 15px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 15px; font-weight: 500;
}
.text-link svg { width: 14px; height: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.header { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--white); }
.header__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1600px; margin: 0 auto; padding: 0 0 0 var(--gutter); height: 84px;
}
.header__logo { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: .06em; white-space: nowrap; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(16px, 2vw, 36px); }
.gnav a { position: relative; display: block; padding: 28px 0; font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--white); transform: scaleX(0); transition: transform .25s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after, .gnav a.is-current::after { transform: scaleX(1); }
.header__tel {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  align-self: stretch; padding: 0 26px; background: var(--blue); line-height: 1.3;
}
.header__tel:hover { background: var(--blue-bright); }
.header__tel-num { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.header__tel-num svg { width: 20px; height: 20px; }
.header__tel-hours { font-size: 14px; opacity: .92; }
.menu-btn {
  width: 72px; align-self: stretch; border: 0; background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 7px; color: var(--white);
}
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.header.is-fixed { position: fixed; background: rgba(8,33,74,.96); box-shadow: 0 2px 16px rgba(0,0,0,.18); animation: slideDown .3s ease; }
.header.is-fixed .header__inner { height: 68px; }
.header.is-fixed .gnav a { padding: 20px 0; }
.header.is-fixed .gnav a::after { bottom: 12px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header.is-open { position: fixed; background: var(--navy-deep); }

.drawer {
  position: fixed; inset: 84px 0 0; overflow-y: auto; background: var(--navy-deep);
  padding: 24px var(--gutter) 48px;
}
.header.is-fixed .drawer { top: 68px; }
.drawer[hidden] { display: none; }
.drawer ul { max-width: 640px; margin: 0 auto; }
.drawer li a { display: flex; justify-content: space-between; padding: 16px 4px; font-size: 19px; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer__tel, .drawer__web { display: block; max-width: 640px; margin: 24px auto 0; text-align: center; border-radius: var(--radius); }
.drawer__tel { background: var(--blue); padding: 16px; }
.drawer__tel span { display: inline-flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 700; }
.drawer__tel svg { width: 24px; height: 24px; }
.drawer__tel small { display: block; font-size: 14px; line-height: 1.6; opacity: .92; }
.drawer__web { margin-top: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.6); font-weight: 700; }

/* ---------- hero (full-bleed FV) ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: clamp(640px, 50vw, 760px);
  display: flex; flex-direction: column;
  background: var(--navy);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,33,74,.82) 0%, rgba(8,33,74,.55) 32%, rgba(8,33,74,.08) 58%, rgba(8,33,74,0) 75%),
    linear-gradient(180deg, rgba(8,33,74,.55) 0%, rgba(8,33,74,0) 22%),
    url(../img/hero.jpg) 62% 30% / cover no-repeat;
}
.hero__inner {
  flex: 1; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto; padding: 128px var(--gutter) 40px;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.38; letter-spacing: .08em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  padding-bottom: 26px; margin-bottom: 26px; position: relative;
}
.hero__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 1px; background: rgba(255,255,255,.85); }
.hero__lead { font-family: var(--serif); font-size: clamp(16px, 1.3vw, 19px); line-height: 2; letter-spacing: .08em; }
.hero__cta-sp { display: none; }

.quick { position: relative; z-index: 2; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); transform: translateY(-14px); }
.quick__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.quick__item {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 22px 14px 22px 18px; color: var(--text); position: relative;
  transition: background .2s;
}
.quick li + li .quick__item::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.quick__item:hover { background: var(--sky); }
.quick__item--primary { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: var(--white); border-radius: var(--radius) 0 0 var(--radius); margin: -8px 0 -8px 0; padding-top: 30px; padding-bottom: 30px; box-shadow: 0 8px 24px rgba(18,87,181,.35); }
.quick__item--primary:hover { background: var(--navy); }
.quick__icon { width: 36px; height: 36px; color: var(--blue); }
.quick__item--primary .quick__icon { color: var(--white); width: 44px; height: 44px; }
.quick__body { flex: 1; display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.quick__body strong { white-space: nowrap; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.quick__body small { font-size: 14px; color: var(--text-sub); }
.quick__item--primary small { color: rgba(255,255,255,.92); }
.quick__arrow { width: 16px; height: 16px; color: currentColor; opacity: .8; }

/* ---------- alert ---------- */
.alert {
  display: flex; align-items: center; gap: 32px;
  margin-top: 16px; padding: 14px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
.alert__label { display: flex; align-items: center; gap: 10px; color: var(--red); font-weight: 700; font-size: 15px; white-space: nowrap; }
.alert__label svg { width: 22px; height: 22px; }
.alert__list { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.alert__list li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.alert__list a { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.alert__list a:hover span { color: var(--blue); text-decoration: underline; }
.alert__list time { color: var(--text-sub); white-space: nowrap; }
.alert__list span { flex: 1; }
.alert__list svg { width: 14px; height: 14px; color: var(--text-sub); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--symptoms { padding-top: 56px; padding-bottom: 24px; }
.section--features { padding-top: 32px; padding-bottom: 48px; }
.section--info { padding-top: 0; }
.section--news { padding-top: 16px; padding-bottom: 72px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head__aside { display: flex; align-items: center; gap: 24px; font-size: 15px; color: var(--text-sub); flex-wrap: wrap; }
.sec-head__aside .text-link { text-decoration: underline; text-underline-offset: 4px; }
.sec-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.4; letter-spacing: .12em;
  color: var(--navy); padding-left: 22px; position: relative;
}
.sec-title::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; background: var(--blue); }

/* symptoms */
.symptoms { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.symptoms a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 140px; padding: 20px 6px 18px; text-align: center;
  background: var(--sky); border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; line-height: 1.5; color: var(--text);
  transition: background .2s, border-color .2s, transform .2s;
}
.symptoms a:hover { background: var(--white); border-color: var(--blue); transform: translateY(-3px); }
.symptoms svg { width: 44px; height: 44px; color: var(--blue); }

/* banners */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.banner {
  position: relative; display: flex; align-items: center; min-height: 196px; padding: 32px 36px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background-size: cover; background-position: right center;
}
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .3s; }
.banner--dark { color: var(--white); background-image: url(../img/banner-lifestyle.jpg); }
.banner--dark::after { background: linear-gradient(90deg, rgba(8,33,74,.92) 0%, rgba(8,33,74,.7) 50%, rgba(8,33,74,.1) 85%); }
.banner--light { color: var(--navy); background-image: url(../img/banner-equipment.jpg); }
.banner--light::after { background: linear-gradient(90deg, rgba(244,248,253,.97) 0%, rgba(244,248,253,.85) 48%, rgba(244,248,253,0) 80%); }
.banner > * { position: relative; }
.banner__body { display: flex; flex-direction: column; gap: 12px; max-width: 470px; }
.banner__title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.1vw, 30px); letter-spacing: .1em; line-height: 1.4; }
.banner__text { font-size: 16px; line-height: 1.8; }
.banner--light .banner__text { color: var(--text); }
.banner__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.banner--light .banner__more { color: var(--blue); }
.banner__more svg { width: 14px; height: 14px; }
.banner { transition: transform .25s, box-shadow .25s; }
.banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-reset: none; }
.feature { padding: 28px 24px 30px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.feature__head > svg { width: 52px; height: 52px; color: var(--blue); }
.feature__num { display: block; font-family: var(--serif); font-size: 20px; line-height: 1; color: #55709a; letter-spacing: .04em; margin-bottom: 6px; }
.feature h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--navy); }
.feature p { font-size: 16px; line-height: 1.8; color: var(--text-sub); }

/* info: doctor + access */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 32px; border-top: 1px solid transparent; }
.doctor .sec-title { margin-bottom: 28px; }
.doctor__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.doctor__photo { position: relative; }
.doctor__photo img { aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 20%; width: 100%; border-radius: 2px; }
.doctor__photo figcaption { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.doctor__catch { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.6; color: var(--navy); margin-bottom: 14px; }
.doctor__text { font-size: 16px; line-height: 1.85; color: var(--text-sub); margin-bottom: 20px; }

.access .sec-head { margin-bottom: 20px; }
.access__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.hours-wrap { overflow-x: auto; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; border: 1px solid var(--line); }
.hours th, .hours td { padding: 10px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hours thead th { background: var(--sky); font-weight: 700; color: var(--navy); }
.hours tbody th { font-weight: 500; padding: 10px 10px; }
.hours i.on { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); vertical-align: middle; }
.hours .tri { color: var(--blue); font-weight: 700; }
.hours td > span:not(.tri) { color: #5d6b80; }
.hours-note { font-size: 14px; color: var(--text-sub); margin-top: 10px; }
.access__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; color: var(--navy); letter-spacing: .03em; line-height: 1.3; }
.access__tel svg { width: 26px; height: 26px; color: var(--blue); }
.access__addr { font-size: 14px; color: var(--text-sub); margin-top: 6px; }
.access__photo { position: relative; }
.access__photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 2px; }
.access__map {
  position: absolute; right: 0; bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 24px;
  background: var(--blue); color: var(--white); font-size: 15px; font-weight: 700; border-radius: 4px 0 0 4px;
}
.access__map svg { width: 14px; height: 14px; }
.access__map:hover { background: var(--navy); }

/* news */
.news { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.news__head { display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--line); padding-right: 24px; }
.news__head .text-link { align-self: flex-end; text-decoration: underline; text-underline-offset: 4px; }
.news__list li a { display: grid; grid-template-columns: 110px 96px 1fr; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.news__list li:first-child a { padding-top: 4px; }
.news__list time { font-size: 15px; color: var(--text-sub); }
.news__list a:hover .news__title { color: var(--blue); text-decoration: underline; }
.tag { display: inline-block; text-align: center; font-size: 14px; font-weight: 700; padding: 2px 8px; border-radius: 2px; background: var(--sky); color: var(--blue); line-height: 1.6; }
.tag--red { background: #fdecec; color: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--white); padding: 48px 0 36px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1.1fr auto; gap: 40px; align-items: start; }
.footer__logo { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; }
.footer__addr { font-size: 14px; opacity: .88; margin-top: 10px; }
.footer__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 500; letter-spacing: .03em; margin-top: 6px; }
.footer__tel svg { width: 24px; height: 24px; }
.footer__hours { font-size: 14px; opacity: .88; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.footer__nav a { display: block; white-space: nowrap; padding: 4px 0; font-size: 15px; }
.footer__nav a:hover, .footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 48px; }
.footer__actions { display: flex; align-items: center; gap: 24px; }
.pagetop { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.pagetop svg { width: 20px; height: 20px; }
.pagetop:hover { background: rgba(255,255,255,.1); }
.footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; font-size: 14px; }
.footer__legal a { padding: 0 14px; border-right: 1px solid rgba(255,255,255,.4); }
.footer__legal a:first-child { padding-left: 0; }
.footer__legal small { font-size: 14px; padding-left: 20px; opacity: .85; }

.pc { display: inline; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1280px) {
  .gnav { display: none; }
  .header__tel { margin-left: auto; }
  .symptoms { grid-template-columns: repeat(5, 1fr); }
  .quick__list { grid-template-columns: repeat(4, 1fr); }
  .quick__item { flex-direction: column; align-items: flex-start; padding: 18px 16px; }
  .quick__item--primary { margin: -8px 0; }
  .quick__arrow { position: absolute; right: 14px; top: 22px; }
  .quick__body strong { white-space: normal; }
  .quick__body small br { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .info { grid-template-columns: 1fr; gap: 56px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 900px) {
  .quick { transform: none; margin-top: 0; padding-top: 0; background: var(--white); }
  .quick__list { grid-template-columns: 1fr 1fr; box-shadow: none; gap: 10px; background: transparent; padding-top: 16px; }
  .quick__item { flex-direction: row; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 14px 36px 14px 14px; }
  .quick__item--primary { margin: 0; border: 0; padding: 16px 40px 16px 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-bright), var(--blue)); }
  .quick li + li .quick__item::before { display: none; }
  .quick__arrow { top: 50%; transform: translateY(-50%); }
  .quick__icon { width: 32px; height: 32px; }
  .quick__body strong { white-space: nowrap; }
  .quick__item:not(.quick__item--primary) small { display: none; }
  .hero { min-height: 0; }
  .hero__inner { padding-bottom: 36px; }
  .hero__cta-sp { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .hero__cta-sp .btn { flex: 1 1 200px; }
  .alert { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 18px; }
  .alert__list { grid-template-columns: 1fr; gap: 0; width: 100%; }
  .alert__list li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .alert__list a { padding: 10px 0; flex-wrap: wrap; gap: 0 12px; }
  .banners { grid-template-columns: 1fr; }
  .doctor__body { grid-template-columns: 1fr; }
  .doctor__photo { max-width: 520px; }
  .access__body { grid-template-columns: 1fr; }
  .access__photo img { aspect-ratio: 16 / 9; height: auto; }
  .news { grid-template-columns: 1fr; gap: 16px; }
  .news__head { flex-direction: row; justify-content: space-between; align-items: center; border-right: 0; padding-right: 0; }
  .news__head .text-link { align-self: auto; }
  .news__list li a { grid-template-columns: auto auto; justify-content: start; gap: 4px 12px; }
  .news__title { grid-column: 1 / -1; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__side { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .header { position: absolute; }
  .header__inner { height: auto; min-height: 60px; flex-wrap: wrap; gap: 0; padding: 0; }
  .header__logo { font-size: 21px; padding: 0 16px; flex: 1; line-height: 60px; }
  .menu-btn { width: 60px; height: 60px; order: 2; }
  .header__tel {
    order: 3; flex: 1 0 100%; margin: 0; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 0 12px; padding: 6px 16px; min-height: 44px;
  }
  .header__tel-num { font-size: 18px; }
  .header__tel-num svg { width: 16px; height: 16px; }
  .header.is-fixed .header__inner { height: auto; }
  .drawer { top: 104px; }
  .header.is-fixed .drawer { top: 104px; }
  .drawer li a { font-size: 18px; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(8,33,74,.7) 0%, rgba(8,33,74,.25) 30%, rgba(8,33,74,.35) 55%, rgba(8,33,74,.9) 100%),
      url(../img/hero.jpg) 66% 20% / cover no-repeat;
  }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 250px; padding-left: 20px; padding-right: 20px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); letter-spacing: .06em; padding-bottom: 18px; margin-bottom: 18px; }
  .hero__lead { font-size: 16px; line-height: 1.9; }
  .hero__cta-sp { margin-top: 20px; }
  .hero__cta-sp .btn { flex: 1 1 130px; padding: 0 16px; }
  .quick { padding: 0 16px; }
  .quick__list { grid-template-columns: 1fr; }
  .quick__body strong { white-space: nowrap; font-size: 16px; }
  .section { padding: 48px 0; }
  .sec-head__aside { gap: 4px 16px; }
  .symptoms { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .symptoms a { min-height: 112px; font-size: 14px; padding: 14px 4px; gap: 8px; }
  .symptoms svg { width: 36px; height: 36px; }
  .banner { min-height: 220px; padding: 28px 22px; align-items: flex-end; }
  .banner--dark { background-position: 70% center; }
  .banner--dark::after { background: linear-gradient(180deg, rgba(8,33,74,.25) 0%, rgba(8,33,74,.92) 62%); }
  .banner--light { background-position: 75% center; }
  .banner--light::after { background: linear-gradient(180deg, rgba(244,248,253,.3) 0%, rgba(244,248,253,.96) 58%); }
  .pc { display: none; }
  .features { grid-template-columns: 1fr; border-bottom: 0; }
  .feature { padding: 24px 4px; border-bottom: 1px solid var(--line); }
  .feature + .feature { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 0; }
  .doctor__photo { max-width: none; }
  .hours th, .hours td { padding: 9px 2px; }
  .hours tbody th { padding: 9px 6px; }
  .footer__logo { font-size: 24px; }
  .footer__nav { gap: 0 16px; }
  .footer__nav a { white-space: normal; }
  .footer__inner > * { min-width: 0; }
  .footer__tel { font-size: 26px; }
  .footer__legal a { padding: 0 10px; }
  .footer__legal small { padding-left: 0; flex-basis: 100%; margin-top: 8px; }
  .btn--outline { min-width: 0; white-space: nowrap; }
  .alert__list a { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
  .alert__list time { grid-column: 1; }
  .alert__list span { grid-column: 1; }
  .alert__list a svg { grid-column: 2; grid-row: 1 / span 2; }
  .news__list li a { display: flex; flex-wrap: wrap; align-items: center; }
  .news__title { flex-basis: 100%; }
}

@media (max-width: 360px) {
  .hero__cta-sp .btn { flex-basis: 100%; }
  .header__logo { font-size: 19px; }
  .hero__inner { padding-top: 230px; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.nw { white-space: nowrap; }

/* ==========================================================
   Sub pages（診療案内・診療詳細）
   ========================================================== */
.page-hero {
  position: relative; color: var(--white); isolation: isolate; background: var(--navy);
  display: flex; flex-direction: column; min-height: clamp(520px, 42vw, 620px);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,33,74,.9) 0%, rgba(8,33,74,.68) 34%, rgba(8,33,74,.12) 62%, rgba(8,33,74,0) 80%),
    linear-gradient(180deg, rgba(8,33,74,.55) 0%, rgba(8,33,74,0) 25%, rgba(8,33,74,0) 70%, rgba(8,33,74,.45) 100%),
    var(--hero-img) var(--hero-pos, 70% 30%) / cover no-repeat;
}
.page-hero--medical { --hero-img: url(../img/medical/hero-medical.jpg); --hero-pos: 75% 25%; }
.page-hero--cardio { --hero-img: url(../img/medical/hero-cardio.jpg); --hero-pos: 70% 30%; }
.page-hero__inner { flex: 1; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 112px var(--gutter) 36px; }
.page-hero__foot { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); transform: translateY(-18px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin: 0 14px 0 10px; opacity: .8; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero__en { margin-top: 28px; font-size: 16px; letter-spacing: .14em; color: #8fc0ff; }
.page-hero__en--serif { margin-top: 10px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .06em; color: rgba(255,255,255,.9); }
.page-hero__title { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: 1.3; letter-spacing: .08em; margin-top: 6px; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.page-hero--cardio .page-hero__title { margin-top: 28px; }
.page-hero__lead { margin-top: 18px; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; letter-spacing: .06em; }
.page-hero__lead--rule { position: relative; padding-top: 22px; }
.page-hero__lead--rule::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 2px; background: var(--white); }

/* CTA 2連（診察状況 / 電話） */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.cta-duo a { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 92px; padding: 14px 64px 14px 32px; position: relative; transition: background .2s; }
.cta-duo__tel { color: var(--navy); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.cta-duo__tel:hover { background: var(--sky); }
.cta-duo__icon { width: 34px; height: 34px; }
.cta-duo__label { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: .08em; line-height: 1.4; display: flex; flex-direction: column; }
.cta-duo__label small { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: .02em; opacity: .92; margin-top: 2px; }
.cta-duo__tel-body { display: flex; flex-direction: column; line-height: 1.2; }
.cta-duo__tel-body small { font-size: 14px; font-weight: 700; }
.cta-duo__tel-body strong { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: .02em; }
.cta-duo__arrow { position: absolute; right: 28px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.cta-duo--band { margin-top: 32px; }
.cta-duo--single { grid-template-columns: 1fr; max-width: 640px; }
.cta-duo--single .cta-duo__tel { border-left: 1px solid var(--line); border-radius: var(--radius); justify-content: flex-start; padding-left: 40px; }
.cta-duo--band.cta-duo--single { margin-left: auto; margin-right: auto; }
.cta-duo--band .cta-duo__tel { justify-content: center; }

/* 見出し */
.sub-section { padding: 72px 0; }
.sub-section--tight { padding-top: 24px; }
.sub-section--sky { background: linear-gradient(180deg, #eef5fd, #f6f9fd); }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.heading-row--tight { align-items: center; margin-bottom: 24px; }
.heading-row__text { font-size: 16px; line-height: 1.8; color: var(--text); max-width: 560px; }
.heading__en { font-size: 14px; letter-spacing: .2em; color: var(--blue); text-transform: uppercase; margin-bottom: 4px; }
.heading__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.4; letter-spacing: .1em; color: var(--navy); }
.heading--rule .heading__title { position: relative; padding-bottom: 14px; }
.heading--rule .heading__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--blue); }
.heading--sm .heading__title { font-size: clamp(22px, 2vw, 28px); }
.lead-text { margin: 16px 0 28px; font-size: 16px; color: var(--text-sub); }

/* 診療内容：大カード */
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-feature { position: relative; display: flex; align-items: center; min-height: 290px; padding: 36px 32px; border-radius: var(--radius); overflow: hidden; isolation: isolate; background: var(--sky); box-shadow: 0 2px 10px rgba(11,42,85,.06); }
.svc-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transition: transform .5s; }
.svc-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,250,255,.97) 0%, rgba(246,250,255,.88) 40%, rgba(246,250,255,.15) 75%); }
.svc-feature:hover .svc-feature__img, .svc-card:hover img { transform: scale(1.04); }
.svc-feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.svc__title { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.4; letter-spacing: .06em; color: var(--navy); }
.svc-feature .svc__title { font-size: clamp(28px, 2.6vw, 38px); }
.svc__en { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.svc__desc { font-size: 16px; color: var(--text); margin-top: 18px; padding-top: 18px; position: relative; }
.svc__desc::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 2px; background: var(--blue); }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 172px; min-height: 44px; margin-top: 16px; padding: 0 24px; border: 1.5px solid var(--blue); border-radius: 999px; color: var(--blue); font-size: 15px; font-weight: 700; background: var(--white); transition: background .2s, color .2s; }
.pill-btn svg { width: 14px; height: 14px; }
.svc-feature:hover .pill-btn, .svc-card:hover .pill-btn { background: var(--blue); color: var(--white); }

/* 診療内容：小カード */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.svc-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .25s; }
.svc-card:hover { box-shadow: var(--shadow); }
.svc-card img { width: 100%; aspect-ratio: 3 / 1.1; object-fit: cover; transition: transform .5s; }
.svc-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 24px 24px; position: relative; background: var(--white); }
.svc-card .svc__desc { margin-top: 12px; padding-top: 14px; }

/* 症状から探す（帯） */
.sym-band { padding: 56px 0; background: linear-gradient(120deg, #eaf3fd 0%, #f4f8fd 60%, #e3eefb 100%); }
.sym-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.sym-tiles a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 124px; padding: 16px 6px; text-align: center; background: var(--white); border-radius: var(--radius); border: 1px solid transparent; font-size: 15px; line-height: 1.5; box-shadow: 0 2px 8px rgba(11,42,85,.05); transition: border-color .2s, transform .2s; }
.sym-tiles a:hover { border-color: var(--blue); transform: translateY(-3px); }
.sym-tiles svg { width: 40px; height: 40px; color: var(--blue); }

/* 紹介 */
.referral { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 32px; padding: 0; background: linear-gradient(90deg, var(--white) 50%, #eef5fd 100%); }
.referral__img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 2px; }
.referral__title { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.6; color: var(--navy); margin-bottom: 10px; }
.referral__body p { font-size: 16px; color: var(--text-sub); }
.referral__icon { width: 88px; height: 88px; color: var(--blue); margin-right: 40px; }

/* 循環器：症状 */
.cardio-sym { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cardio-sym li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding: 22px 8px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 16px; line-height: 1.5; background: var(--white); box-shadow: 0 2px 8px rgba(11,42,85,.04); }
.cardio-sym svg { width: 64px; height: 64px; color: var(--blue); }

/* 循環器：対象疾患 */
.disease-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.disease-list li { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 12px 18px 12px 14px; background: var(--white); border-radius: var(--radius); font-size: 17px; font-weight: 500; line-height: 1.55; color: var(--navy); box-shadow: 0 2px 10px rgba(11,42,85,.06); }
.disease-list__num { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue-bright), #0b47a0); color: var(--white); font-size: 20px; font-weight: 700; border-radius: 2px; }

/* 循環器：検査カード（矢印なし） */
.exam-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.exam-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.exam-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exam-card__body { padding: 16px 18px 20px; }
.exam-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.exam-card p { font-size: 15px; line-height: 1.75; color: var(--text-sub); }

.notice { display: flex; align-items: center; gap: 28px; margin-top: 24px; padding: 24px 32px; border-radius: var(--radius); background: #eef5fd; }
.notice__icon { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; background: var(--white); color: var(--blue); }
.notice__icon svg { width: 40px; height: 40px; }
.notice__title { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); color: var(--navy); margin-bottom: 4px; }
.notice p { font-size: 16px; color: var(--text-sub); }

/* 関連する診療案内 */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { display: grid; grid-template-columns: 46% 1fr auto; align-items: center; gap: 16px; padding-right: 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--navy); transition: box-shadow .25s; }
.related a:hover { box-shadow: var(--shadow); }
.related img { width: 100%; height: 100%; min-height: 80px; aspect-ratio: 2 / 1; object-fit: cover; }
.related svg { width: 16px; height: 16px; color: var(--blue); }

/* ページ内ナビ */
.page-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(135deg, var(--blue-bright), #0b47a0); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-nav a { display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 8px; font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .08em; position: relative; }
.page-nav li + li a::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.45); }
.page-nav a:hover { background: rgba(255,255,255,.1); }
[id] { scroll-margin-top: 90px; }

@media (max-width: 1280px) {
  .sym-tiles { grid-template-columns: repeat(4, 1fr); }
  .cardio-sym { grid-template-columns: repeat(3, 1fr); }
  .exam-cards { grid-template-columns: repeat(2, 1fr); }
  .referral { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .referral__icon { display: none; }
}
@media (max-width: 900px) {
  .page-hero__foot { transform: none; padding-bottom: 20px; }
  .cta-duo, .cta-duo--band { grid-template-columns: 1fr; }
  .cta-duo__tel { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .cta-duo--single .cta-duo__tel { border-top: 1px solid var(--line); border-radius: var(--radius); }
  .cta-duo--single { max-width: none; }
  .cta-duo a { justify-content: flex-start; min-height: 76px; padding: 12px 56px 12px 24px; gap: 16px; }
  .svc-features { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .disease-list { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .referral { grid-template-columns: 1fr; gap: 20px; background: none; }
  .page-nav ul { grid-template-columns: 1fr 1fr; }
  .page-nav li:nth-child(3) a::before { display: none; }
  .page-nav li:nth-child(n+3) a { border-top: 1px solid rgba(255,255,255,.3); }
}
@media (max-width: 767px) {
  .page-hero { min-height: 0; }
  .page-hero__bg {
    background:
      linear-gradient(180deg, rgba(8,33,74,.75) 0%, rgba(8,33,74,.45) 40%, rgba(8,33,74,.85) 100%),
      var(--hero-img) var(--hero-pos-sp, 72% 30%) / cover no-repeat;
  }
  .page-hero__inner { padding: 124px 20px 28px; }
  .page-hero__foot { padding: 0 16px 20px; }
  .page-hero__en { margin-top: 20px; }
  .page-hero--cardio .page-hero__title { margin-top: 20px; }
  .page-hero__lead { font-size: 16px; }
  .cta-duo__label { font-size: 20px; }
  .cta-duo__tel-body strong { font-size: 28px; }
  .cta-duo__icon { width: 28px; height: 28px; }
  .sub-section { padding: 52px 0; }
  .sub-section--tight { padding-top: 16px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .svc-feature { min-height: 260px; padding: 28px 22px; align-items: flex-end; }
  .svc-feature::before { background: linear-gradient(180deg, rgba(246,250,255,.2) 0%, rgba(246,250,255,.95) 55%); }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card img { aspect-ratio: 16 / 7; }
  .sym-band { padding: 48px 0; }
  .sym-tiles { grid-template-columns: repeat(2, 1fr); }
  .sym-tiles a { min-height: 108px; }
  .cardio-sym { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cardio-sym svg { width: 52px; height: 52px; }
  .cardio-sym li { font-size: 15px; }
  .disease-list { grid-template-columns: 1fr; }
  .exam-cards { grid-template-columns: 1fr; }
  .exam-card { display: grid; grid-template-columns: 40% 1fr; }
  .exam-card img { height: 100%; aspect-ratio: auto; }
  .exam-card__body { padding: 14px 16px; }
  .exam-card h3 { font-size: 16px; }
  .notice { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
  .notice__icon { width: 60px; height: 60px; }
  .related a { grid-template-columns: 38% 1fr auto; font-size: 17px; }
  .page-nav a { font-size: 16px; min-height: 56px; letter-spacing: .04em; }
  .page-nav li + li a::before { top: 16px; bottom: 16px; }
}
@media (max-width: 360px) {
  .exam-card { grid-template-columns: 1fr; }
  .exam-card img { aspect-ratio: 16 / 9; }
  .cta-duo a { padding-left: 18px; padding-right: 44px; }
  .cta-duo__arrow { right: 18px; }
}
