@charset "UTF-8";
/* ==========================================================
   高久内科医院  共通スタイル
   WordPress(Elementor) から静的HTML/CSSへ移行
   ========================================================== */

:root {
  --gold: #D1B982;
  --gold-dark: #AD8A39;
  --brown: #3F220F;
  --text: #333333;
  --accent: #DECEAA;
  --cream: #F3F0E4;
  --cream2: #F5F0E3;
  --white: #FFFFFF;
  --header-h: 130px;
  --font-serif: "Noto Serif JP", "Noto Serif", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  font-family: var(--font-serif);
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s, color .3s; }
a:hover { opacity: .75; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- 汎用見出し ---------- */
.sec-label {
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: .1em;
}
.sec-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .08em;
  padding-bottom: 14px;
  position: relative;
  display: inline-block;
}
.sec-title::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: var(--gold-dark);
}

/* 英字画像見出し (ACCESS / INFORMATION) */
.sec-heading-en img { width: auto; max-height: 90px; }
.sec-heading-en .sub {
  font-size: 16px;
  letter-spacing: .1em;
  margin-top: -6px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}
.sec-heading-en .sub::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: var(--gold-dark);
}

/* ---------- ボタン ---------- */
.btn-line {
  display: inline-block;
  border: 1px solid var(--text);
  background: var(--white);
  padding: 14px 44px;
  font-size: 14px;
  letter-spacing: .1em;
  position: relative;
  transition: background .3s, color .3s;
}
.btn-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -36px;
  width: 52px;
  height: 1px;
  background: var(--text);
  transition: right .3s;
}
.btn-line:hover { background: var(--brown); color: #fff; opacity: 1; }
.btn-line:hover::after { right: -46px; }

.btn-reserve {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .08em;
  padding: 15px 26px;
  border-radius: 30px;
  transition: background .3s;
}
.btn-reserve:hover { background: var(--gold-dark); opacity: 1; }
.btn-reserve svg { flex-shrink: 0; }
.btn-reserve.pill { border-radius: 50px; padding: 12px 30px; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 40px 23px 50px;
}
.logo img { width: 84px; display: block; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.header-contacts { display: flex; align-items: center; gap: 24px; }

.tel-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--brown);
  border-radius: 50px;
  padding: 4px 34px;
  line-height: 1.3;
}
.tel-badge .tel-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--text);
}
.tel-badge .tel-hours { font-size: 10px; letter-spacing: .06em; color: var(--text); }

.global-nav ul { display: flex; align-items: center; }
.global-nav li { position: relative; }
.global-nav li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: #c9c9c9;
}
.global-nav a {
  display: block;
  padding: 4px 22px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .08em;
}
.global-nav a:hover,
.global-nav a.is-active { color: var(--gold); opacity: 1; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* モバイル専用：ヘッダー右端の診療時間タイル */
.btn-hours {
  display: none;
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62px;
  background: var(--gold);
  color: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  letter-spacing: .08em;
}

/* モバイル専用：WEB予約 / よくある質問 ボタン */
.mobile-quick {
  display: none;
  gap: 14px;
  padding: 14px 14px 0;
}
.mobile-quick a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 16px 10px;
}
.mobile-quick img { width: 28px; height: auto; }

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 18px 34px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mm-brand { display: flex; flex-direction: column; gap: 2px; }
.mm-brand-name { font-size: 15px; letter-spacing: .1em; color: var(--text); }
.mm-brand-en { font-size: 9px; letter-spacing: .28em; color: #7A5F22; }
.mobile-menu .mm-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.mm-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.mm-nav a { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.mm-row { display: flex; align-items: baseline; gap: 14px; }
.mm-num { width: 22px; font-size: 11px; letter-spacing: .1em; color: #7A5F22; }
.mm-label { font-size: 22px; font-weight: 500; letter-spacing: .14em; }
.mm-en { font-size: 9px; letter-spacing: .3em; color: #7A5F22; padding-left: 36px; }
.mm-bottom {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.mm-bottom::before { content: ""; display: block; height: 1px; background: #E0D9C2; }
.mm-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--brown);
  font-size: 15px;
  letter-spacing: .14em;
  font-weight: 500;
}
.mm-links { display: flex; justify-content: center; align-items: center; gap: 12px; }
.mm-links a { font-size: 13px; letter-spacing: .08em; color: var(--text); }
.mm-links a:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-dark);
  margin-right: 12px;
  vertical-align: 2px;
}

/* ==========================================================
   フッター / PAGE TOP
   ========================================================== */
.site-footer {
  background: var(--gold);
  text-align: center;
  padding: 36px 20px 28px;
  position: relative;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.footer-brand img { width: 40px; }
.footer-brand span {
  font-size: 22px;
  letter-spacing: .12em;
  color: var(--brown);
  font-weight: 600;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
  margin-top: 22px;
}
.footer-nav a { color: #fff; font-size: 14px; letter-spacing: .08em; }
.footer-nav a.is-active { color: var(--brown); }
.copyright {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--brown);
  font-weight: 600;
}

.page-top {
  position: absolute;
  right: 26px; top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--brown);
  font-weight: 600;
}
.page-top .pt-box {
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-top .pt-box svg { width: 16px; height: 16px; }

/* ==========================================================
   トップページ
   ========================================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  margin: var(--header-h) 0 50px 140px;
  background: url("../img/fv-pc.jpg") center / cover no-repeat;
}
.hero-title {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brown);
  white-space: nowrap;
}
.hero-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 310px;
  height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  padding: 40px;
}
.hero-card .hc-name { font-size: 18px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }
.hero-card h2 { font-size: 24px; font-weight: 600; letter-spacing: .06em; line-height: 1.25; margin-top: 2px; }
.hero-scroll {
  position: absolute;
  left: -80px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text);
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: var(--text);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-schedule {
  position: absolute;
  right: 0;
  bottom: -50px;
  z-index: 2;
  width: 410px;
  background: var(--white);
  padding: 19px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(51,51,51,.15);
}
.hero-schedule .schedule { width: 100%; }
/* 本家はタブレット幅(~1024px)でFVタイトルを非表示 */
@media (min-width: 901px) and (max-width: 1024px) {
  .hero-title { display: none; }
}

/* 診療時間テーブル */
.schedule { border-collapse: collapse; }
.schedule th, .schedule td {
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  padding: 6px 10px;
}
.schedule thead th { border-bottom: 1px solid var(--text); font-weight: 600; }
.schedule tbody th { border-bottom: 1px solid #ddd; letter-spacing: .04em; }
.schedule tbody td { border-bottom: 1px solid #ddd; }
.schedule .dot { color: var(--gold); font-size: 11px; }
.schedule .bar { color: #999; }
.schedule .tri { color: var(--gold); font-size: 11px; }
.schedule-note {
  font-size: 12px;
  margin-top: 10px;
  letter-spacing: .04em;
}
.schedule-note .tri { color: var(--gold); margin-right: 6px; }
.schedule-note span + span { margin-left: 18px; }

/* --- NEWS --- */
.news-section { padding: 110px 0 90px; }
.news-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.news-list { border-top: 1px solid #ddd; }
.news-list li { border-bottom: 1px solid #ddd; }
.news-list a {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 10px;
}
.news-list .date { font-size: 13px; color: #888; letter-spacing: .06em; }
.news-list .title { font-size: 15px; letter-spacing: .06em; }
.news-list .arrow { margin-left: auto; display: flex; }

/* --- 診療について --- */
.treatment-section { padding: 40px 0 0; }
.treatment-section .sec-title { margin-left: max(24px, calc((100% - 1192px) / 2)); }
.treatment-visual {
  position: relative;
  margin-top: 56px;
  padding-bottom: 70px;
}
.treatment-visual::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 46%;
  background: url("../img/bg.jpg") center / cover;
  z-index: -1;
}
.treatment-photos {
  position: relative;
  display: flex;
  justify-content: center;
}
.treatment-photos .tp-main { width: 38%; min-width: 300px; }
.treatment-photos .tp-left {
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 24%;
  min-width: 200px;
}
.treatment-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 0 24px;
}
.treatment-body .tb-text p { margin-bottom: 34px; text-align: justify; }
.treatment-body .tb-photo-wrap { width: 92%; justify-self: end; }
.treatment-body .tb-photo { width: 100%; }

/* --- 発熱外来について --- */
.fever-section { padding: 120px 0 60px; }
.fever-section .sec-title { margin-left: max(24px, calc((100% - 1192px) / 2)); }
.fever-grid {
  display: grid;
  grid-template-columns: minmax(300px, 540px) 1fr;
  gap: 48px;
  margin-top: 70px;
  align-items: start;
  position: relative;
}
.fever-grid::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 0;
  width: 62%;
  height: 180px;
  background: url("../img/bg.jpg") center / cover;
  z-index: -1;
}
.fever-text { padding: 90px 0 0 max(24px, calc((100vw - 1192px) / 2)); }
.fever-text p { margin-bottom: 20px; text-align: justify; }
.fever-text .btn-line { margin-top: 16px; }
.fever-photos { display: flex; flex-direction: column; gap: 20px; }
.fever-photos img { width: 100%; object-fit: cover; }
.fever-photos .fp-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fever-photos .fp-sub img { aspect-ratio: 4 / 3; }

/* --- 自由診療について --- */
.free-section { padding: 90px 0 110px; }
.free-section .sec-title { margin-left: max(24px, calc((100% - 1192px) / 2)); }
.free-visual {
  position: relative;
  margin-top: 60px;
  background: url("../img/free-medical-examination-bg.jpg") center / cover no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.free-card {
  background: rgba(255,255,255,.94);
  max-width: 500px;
  margin-left: 50%;
  padding: 48px 46px;
  text-align: center;
}
.free-card h3 { font-size: 22px; font-weight: 600; letter-spacing: .1em; margin-bottom: 24px; }
.free-card p { text-align: left; margin-bottom: 18px; }
.free-card .btn-line { margin-top: 10px; }
.free-gallery {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 90px;
  padding: 0 24px;
}
.free-gallery img { width: 310px; object-fit: cover; }

/* ==========================================================
   共通セクション：ACCESS / INFORMATION
   ========================================================== */
.access-section {
  background: url("../img/bg.jpg") center / cover;
  padding: 90px 0 110px;
}
.access-grid {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 50px;
  margin-top: 60px;
  align-items: start;
}
.access-name { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.access-name img { width: 44px; }
.access-name h3 { font-size: 24px; font-weight: 600; letter-spacing: .1em; }
.access-info p { margin-bottom: 8px; letter-spacing: .04em; }
.access-info .addr { font-size: 15px; }
.access-info .addr span + span { margin-left: 1em; }
.access-info .tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  letter-spacing: .1em;
  margin: 14px 0;
}
.access-info .link-row a { border-bottom: 1px solid var(--text); padding-bottom: 1px; }
.access-info .btn-line { margin-top: 28px; }
.access-map { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-section { padding: 90px 0 110px; }
.info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}
.info-text h3 { font-size: 17px; font-weight: 600; letter-spacing: .08em; margin-bottom: 10px; }
.info-text p { margin-bottom: 18px; }
.info-text .btn-reserve { margin: 4px 0 40px; }
.info-visual img { width: 100%; }
.info-visual .schedule-card {
  background: var(--white);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 19px 25px;
  width: 410px;
  margin-top: 24px;
}
.info-visual .schedule-card .schedule { width: 100%; }

/* ==========================================================
   下層ページ共通
   ========================================================== */
.page-main { padding-top: var(--header-h); }
.page-title-bar { padding: 22px 0 20px; }
.page-title-bar h1 { font-size: 16px; font-weight: 500; letter-spacing: .1em; }
.page-hero img { width: 100%; object-fit: cover; }

/* ==========================================================
   あいさつ (greeting)
   ========================================================== */
.doctor-section { padding: 90px 0 0; }
.doctor-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.doctor-text .sec-label { display: block; }
.doctor-text .sec-title { margin-bottom: 36px; }
.doctor-text p { text-align: justify; margin-bottom: 26px; }
.doctor-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 30px;
}
.doctor-photos img:nth-child(1) { margin-top: 50px; }
.doctor-photos img:nth-child(2) { margin-top: 25px; }

.career-section {
  background: var(--cream);
  margin-top: 90px;
  padding: 80px 0 90px;
  position: relative;
}
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.career-block h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .1em;
  border-left: 3px solid var(--gold-dark);
  padding-left: 14px;
  margin-bottom: 20px;
}
.career-block + .career-block { margin-top: 48px; }
.career-block p { letter-spacing: .04em; }
.career-photo { justify-self: end; width: 100%; }

/* ==========================================================
   診療について (menu)
   ========================================================== */
.menu-intro { padding: 90px 0 0; text-align: center; }
.menu-intro .sec-label { display: block; }
.menu-intro h2 { font-size: 24px; font-weight: 600; letter-spacing: .14em; margin: 4px 0 14px; }
.menu-intro .lead { font-size: 15px; letter-spacing: .06em; }

.menu-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  padding: 0 24px;
}
.menu-card {
  width: 185px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: var(--white);
  text-align: center;
  padding: 26px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: box-shadow .3s;
}
.menu-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); opacity: 1; }
.menu-card .mc-icon { height: 72px; display: flex; align-items: center; }
.menu-card .mc-icon svg, .menu-card .mc-icon img { max-height: 72px; width: auto; }
.menu-card h3 { font-size: 15px; font-weight: 600; line-height: 1.6; letter-spacing: .04em; }
.menu-card .view-more { font-size: 10px; color: var(--gold-dark); letter-spacing: .18em; }
.menu-card .chevron { margin-top: -6px; }

.disease-section {
  margin-top: 110px;
  background: url("../img/menu.jpg") center / cover no-repeat;
  padding: 120px 24px;
}
.disease-cards {
  display: flex;
  justify-content: center;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.disease-card {
  background: rgba(245,240,227,.96);
  padding: 42px 38px 48px;
  width: 400px;
}
.disease-card h4 { font-size: 19px; font-weight: 600; letter-spacing: .1em; margin-bottom: 22px; }
.disease-card p {
  border-left: 1px solid var(--gold-dark);
  padding-left: 18px;
  font-size: 14px;
  text-align: justify;
}

.inspection-section { padding: 110px 0 60px; }
.inspection-head { display: flex; align-items: center; gap: 36px; }
.inspection-head h2 { font-size: 26px; font-weight: 600; letter-spacing: .14em; flex-shrink: 0; }
.inspection-head::after { content: ""; flex: 1; height: 1px; background: var(--gold-dark); }
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 70px;
  margin-top: 80px;
}
.inspection-item { text-align: center; }
.inspection-item .ins-icon {
  width: 100px;
  height: 100px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inspection-item .ins-icon img { width: 48px; height: 48px; }
.inspection-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  padding-bottom: 12px;
  margin-bottom: 18px;
  position: relative;
}
.inspection-item h3::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 44px;
  height: 1px;
  background: var(--gold-dark);
}
.inspection-item p { font-size: 14px; text-align: justify; }

/* ==========================================================
   発熱外来について (outpatient-fever)
   ========================================================== */
.flow-section { padding: 90px 0 40px; }
.flow-head { text-align: center; }
.flow-head .sec-label { display: block; }
.flow-head h2 { font-size: 24px; font-weight: 600; letter-spacing: .14em; margin: 4px 0 14px; }
.flow-head .lead { letter-spacing: .06em; }
.flow-list { max-width: 860px; margin: 70px auto 0; }
.flow-step {
  display: grid;
  grid-template-columns: 64px 1fr 300px;
  gap: 44px;
  align-items: start;
  position: relative;
  padding-bottom: 76px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 70px;
  bottom: 6px;
  width: 1px;
  background: var(--gold-dark);
}
.flow-step:last-child::before { display: none; }
.step-badge {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.step-badge .s { font-size: 10px; color: var(--gold-dark); letter-spacing: .08em; }
.step-badge .n { font-size: 22px; color: var(--text); }
.flow-step .fs-text { padding-top: 10px; letter-spacing: .04em; }
.flow-step img { width: 100%; }

.faq-section { padding: 70px 0 30px; }
.faq-section .sec-label { display: block; }
.faq-section h2 { font-size: 22px; font-weight: 600; letter-spacing: .1em; margin-bottom: 34px; }
.faq-item { margin-bottom: 44px; }
.faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream2);
  padding: 10px 22px;
}
.faq-q .badge { background: var(--gold-dark); }
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px 0;
}
.faq-a .badge { background: var(--gold); margin-top: 4px; }
.badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q p { font-weight: 600; letter-spacing: .06em; }
.faq-a a { color: var(--gold-dark); }
.faq-btn { margin: 10px 0 0 70px; }

.drive-section { padding: 60px 0 110px; }
.drive-grid {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 540px);
  gap: 70px;
  align-items: center;
}
.drive-text h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  padding-bottom: 12px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}
.drive-text h3::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 0;
  width: 110px;
  height: 1px;
  background: var(--gold-dark);
}
.drive-text p { margin-bottom: 18px; text-align: justify; }

/* ==========================================================
   自由診療 (free-medical-examination)
   ========================================================== */
.free-cards {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 80px 24px 0;
}
.free-cards .menu-card { width: 175px; }

.vaccine-section { padding: 110px 0 40px; }
.vaccine-head { display: flex; align-items: center; gap: 36px; margin-bottom: 30px; }
.vaccine-head h2 { font-size: 26px; font-weight: 600; letter-spacing: .14em; flex-shrink: 0; }
.vaccine-head::after { content: ""; flex: 1; height: 1px; background: var(--gold-dark); }

.vaccine-row {
  display: grid;
  grid-template-columns: 150px 1fr minmax(260px, 360px);
  gap: 44px;
  align-items: start;
  padding: 60px 0;
}
.vaccine-row .v-label { font-size: 16px; font-weight: 600; letter-spacing: .06em; line-height: 1.7; }
.vaccine-row .v-body h4 { font-size: 17px; font-weight: 600; letter-spacing: .06em; margin-bottom: 14px; }
.vaccine-row .v-body p { margin-bottom: 14px; text-align: justify; }
.vaccine-row .v-body a { color: var(--gold-dark); word-break: break-all; }
.vaccine-row .v-body ul { margin-bottom: 14px; }
.vaccine-row img { width: 100%; object-fit: cover; }

/* ==========================================================
   ギャラリー (access)
   ========================================================== */
.gallery-section { padding: 90px 0 40px; }
.gallery-section .sec-label { display: block; }
.gallery-section h2 { font-size: 24px; font-weight: 600; letter-spacing: .14em; margin-bottom: 60px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 56px;
  align-items: center;
}
.gallery-grid img { width: 100%; object-fit: cover; }
.g-1 { grid-column: 1 / 6; }
.g-2 { grid-column: 7 / 12; }
.g-3 { grid-column: 1 / 4; }
.g-4 { grid-column: 5 / 13; }
.g-5 { grid-column: 1 / 5; }
.g-6 { grid-column: 6 / 13; }

.dx-section { padding: 40px 0 90px; }
.dx-box { border: 1px solid var(--gold-dark); padding: 36px 40px; }
.dx-box h3 { font-size: 16px; font-weight: 600; letter-spacing: .06em; margin-bottom: 16px; }
.dx-box p { font-size: 13px; text-align: justify; }

/* ==========================================================
   お知らせ記事 (october-news)
   ========================================================== */
.article-section { padding: 70px 0 90px; }
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 22px; font-weight: 600; letter-spacing: .08em; margin-bottom: 8px; }
.article .post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gold-dark);
  margin-bottom: 34px;
}
.article p { margin-bottom: 22px; }
.article a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-dark); }
.article h2 {
  font-size: 18px;
  font-weight: 600;
  border-left: 3px solid var(--gold-dark);
  padding-left: 14px;
  margin: 44px 0 26px;
}
.article .calendar-img { width: 100%; max-width: 560px; }

/* ==========================================================
   スクロールフェードイン
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.fade-in.is-shown { opacity: 1; transform: none; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1100px) {
  .global-nav a { padding: 4px 14px; font-size: 13px; }
  .tel-badge { padding: 3px 20px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 8px 18px; }
  .logo img { width: 48px; }
  .header-right { display: none; }
  .menu-toggle { display: block; margin-right: 66px; }
  .btn-hours { display: flex; }

  /* WEB予約/よくある質問はヘッダー直下にスクロール固定 */
  .mobile-quick {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    padding: 10px 14px 12px;
    background: var(--white);
  }
  /* 固定化したボタンの分だけ本文を下げる(トップ・下層共通) */
  main#pagetop { padding-top: calc(var(--header-h) + 76px); }

  .hero {
    background-image: url("../img/fv-sp.jpg");
    height: auto;
    min-height: 0;
    margin: 0;
    padding-top: 30vh;
    padding-bottom: 0;
  }
  .hero-title {
    display: block;
    font-size: 26px;
    letter-spacing: .18em;
    top: 42%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.72);
    padding: 14px 34px;
    white-space: nowrap;
  }
  .hero-scroll { display: none; }
  .hero-card {
    position: static;
    width: fit-content;
    height: auto;
    display: block;
    padding: 16px 26px 20px;
    margin-top: 34vh;
    margin-left: 0;
  }
  .hero-card .hc-name { font-size: 14px; }
  .hero-card h2 { font-size: 20px; }
  .hero-schedule { display: none; }

  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-section { padding: 80px 0 60px; }

  /* 診療について：本家モバイルは「大理石帯の中に診察券写真 → テキスト → ボタン」 */
  .treatment-photos { display: none; }
  .treatment-visual { margin-top: 44px; padding-bottom: 0; }
  .treatment-visual::after { display: none; }
  .treatment-body { display: flex; flex-direction: column; margin-top: 0; gap: 30px; }
  .treatment-body .tb-photo-wrap {
    order: -1;
    width: auto;
    margin: 0 -24px;
    padding: 44px 24px;
    background: url("../img/bg.jpg") center / cover;
  }

  .fever-grid { grid-template-columns: 1fr; }
  /* 大理石はテキスト上の細い帯に、本文と重ねない */
  .fever-grid::before { top: 0; width: 88%; height: 58px; }
  .fever-text { padding: 100px 24px 0; }

  /* 「詳しく見る」はモバイルでは中央寄せ(診療について・発熱外来) */
  .tb-text .btn-line,
  .fever-text .btn-line {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .free-card { margin: 0 24px; max-width: none; }
  .free-visual { padding: 60px 0; min-height: 0; }
  /* 本家モバイルは「小さい写真2枚 → 全幅1枚」の段組み */
  .free-gallery { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 60px; padding: 0 12px; }
  .free-gallery img { width: 46%; }
  .free-gallery img:first-child { order: 3; width: 100%; }

  .access-grid, .info-grid { grid-template-columns: 1fr; gap: 36px; }

  /* アクセス：本家モバイルは「地図 → 医院情報 → 中央寄せの詳しく見る」 */
  .access-grid { display: flex; flex-direction: column; }
  .access-map { order: -1; }
  .access-info .addr span { display: block; }
  .access-info .addr span + span { margin-left: 0; }
  .access-info .link-row a { border-bottom: none; }
  .access-info .btn-line {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
  }

  /* 英字見出し画像(ACCESS/INFORMATION)はモバイルでは小さく */
  .sec-heading-en img { width: min(62%, 300px); max-height: none; }
  .sec-heading-en .sub { font-size: 14px; margin-top: 2px; }

  /* 診察WEB予約ボタンを中央寄せ */
  .info-text .btn-reserve { display: flex; width: max-content; margin-left: auto; margin-right: auto; }

  /* フッター：ナビを縦積み(行ごとに矢印+罫線)、コピーライト左寄せ、PAGE TOPは右下 */
  .site-footer { text-align: left; padding: 36px 20px 24px; }
  .footer-brand { display: flex; width: 100%; justify-content: center; }
  .footer-nav ul {
    flex-direction: column;
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid var(--brown);
  }
  .footer-nav li { border-bottom: 1px solid var(--brown); }
  .footer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6px;
    font-size: 15px;
    color: var(--brown);
  }
  .footer-nav a.is-active { color: var(--cream2); }
  .footer-nav a::after {
    content: "";
    width: 15px;
    height: 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1.25 7.5H13.75M13.75 7.5L8.125 1.875M13.75 7.5L8.125 13.125" stroke="%233F220F" stroke-width="1.5"/></svg>') center / contain no-repeat;
  }
  .copyright { margin-top: 24px; padding-right: 70px; }
  .page-top { top: auto; bottom: 20px; right: 20px; }

  /* 本家のモバイル表示に合わせ、写真+診療時間カードをWEB予約テキストより先に */
  .info-grid { display: flex; flex-direction: column; }
  .info-visual { order: -1; }
  .info-visual .schedule-card {
    width: 100%;
    margin: 24px 0 0;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 20px 20px;
  }
  .info-visual .schedule-card .schedule { width: 100%; }
  .info-visual .schedule-card .schedule th,
  .info-visual .schedule-card .schedule td { padding: 12px 4px; font-size: 14px; }
  .info-visual .schedule-card .schedule-note { font-size: 13px; margin-top: 14px; }

  /* 下層ページのバナーはコンテナ内に収める(-sp画像) */
  .page-hero { padding: 0 24px; }

  /* あいさつ：廊下写真はコンテナ内で互い違い、下部が経歴のクリーム帯に重なる */
  .doctor-grid { grid-template-columns: 1fr; gap: 40px; }
  .doctor-photos { position: relative; z-index: 1; padding-top: 0; gap: 12px; }
  .doctor-photos img:nth-child(1) { margin-top: 110px; }
  .doctor-photos img:nth-child(2) { margin-top: 56px; }
  .doctor-section { padding-top: 60px; }
  .career-section { margin-top: -120px; padding: 200px 0 80px; }
  .career-grid { grid-template-columns: 1fr; }

  .menu-cards { flex-wrap: wrap; }
  .disease-cards { flex-direction: column; align-items: center; }
  .disease-card { width: 100%; max-width: 440px; }
  .inspection-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 36px; }

  .flow-step { grid-template-columns: 52px 1fr; gap: 20px; }
  .flow-step::before { left: 26px; }
  .step-badge { width: 52px; height: 52px; }
  .flow-step img { grid-column: 2; }

  .drive-grid { grid-template-columns: 1fr; gap: 36px; }

  .vaccine-row { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .vaccine-row img { max-width: 420px; }

  .gallery-grid { gap: 20px; }
  .faq-btn { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .hero { background-image: url("../img/fv-sp.jpg"); min-height: 520px; }
  .hero-title { font-size: 26px; letter-spacing: .2em; }
  .sec-title { font-size: 22px; }
  .inspection-grid { grid-template-columns: 1fr; }
  .free-cards, .menu-cards { gap: 16px; }
  .free-cards .menu-card, .menu-cards .menu-card { width: calc(50% - 8px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 { grid-column: 1 / -1; }
  .schedule th, .schedule td { padding: 6px 6px; font-size: 12px; }
  .hero-schedule { padding: 16px 14px 12px; }
  .treatment-photos .tp-main { width: 70%; }
  .treatment-photos .tp-left { width: 36%; min-width: 0; }
  .dx-box { padding: 24px 20px; }
}
