/* ===== CSS Variables ===== */
:root {
  --sky-light: #9dd9f6;
  --sky-pale:  #e8f6fd;
  --sky-mid:   #5ab8e8;
  --navy:      #1e3d6e;
  --navy-light: #2a5298;
  --white:     #ffffff;
  --gray-bg:   #f4f8fb;
  --gray-text: #555f6e;
  --border:    #d4eaf7;
  --accent:    #0071bc;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-num:  'Josefin Sans', sans-serif;
  --font-maru: 'Zen Maru Gothic', serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  color: #00406C;
  background: var(--white);
  line-height: 1.66667em;
  letter-spacing: 0.1em;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== Utilities ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-mid);
  display: block;
  margin-bottom: 6px;
}
.section-title {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: bold;
  font-size: 36px;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: .1em;
}
.section-title-en {
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--sky-mid);
  letter-spacing: 0.15em;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background 0.35s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--navy-light); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #5ab8e8;
  color: #5ab8e8;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 4px;
  background: transparent;
  transition: background 0.35s, color 0.35s;
  cursor: pointer;
}
.btn-outline:hover { background: #5ab8e8; color: var(--white); }
.arrow-right { font-size: 1rem; }

/* ===== HEADER ===== */
header.main-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(30,61,110,0.08);
  display: flex;
  align-items: stretch;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
  padding: 0px 15px 0 35px;
  flex-shrink: 0;
}
.header-logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo-icon {
  display: block;
  height: auto;
  width: auto;
  flex-shrink: 0;
}
.header-logo-icon img {
  height: 78px;
  width: auto;
  display: block;
}
.header-former-name {
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 6px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  background: var(--sky-pale);
  border-radius: 4px;
  white-space: nowrap;
}
.header-logo-text { display: none; }
.header-logo-en { display: none; }
.header-logo-ja { display: none; }

/* ナビ（中央） */
nav.main-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
}
.nav-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}
.nav-inner a {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-inner a:hover {
  color: var(--sky-mid);
  border-bottom-color: var(--sky-mid);
}
svg.nav-arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  fill: var(--navy);
  opacity: 0.5;
  display: inline-block;
  transition: transform 0.2s;
}

/* ドロップダウン */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-item > a {
  height: 100%;
}
.nav-item:hover > a {
  color: var(--sky-mid);
  border-bottom-color: var(--sky-mid);
}
.nav-item:hover svg.nav-arrow {
  fill: var(--sky-mid);
  opacity: 1;
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(30,61,110,0.12);
  min-width: 180px;
  z-index: 200;
  border-top: 2px solid var(--sky-mid);
}
.nav-item:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}
.dropdown-menu a:hover {
  background: var(--sky-pale);
  color: var(--sky-mid);
}

/* ハンバーガーボタン（モバイル） */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 12px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ（ドロワー） */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 500;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(30,61,110,0.15);
  transition: right 0.3s ease;
  padding-top: 60px;
}
.mobile-nav.is-open {
  right: 0;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 499;
}
.mobile-nav-overlay.is-open { display: block; }
.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-list > li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav-list > li > a,
.mobile-nav-list > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
}
.mobile-nav-list > li > button svg {
  width: 10px;
  height: 10px;
  fill: var(--navy);
  opacity: 0.5;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.mobile-nav-list > li > button.is-open svg {
  transform: rotate(180deg);
}
.mobile-sub-list {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--sky-pale);
}
.mobile-sub-list.is-open { display: block; }
.mobile-sub-list a {
  display: block;
  padding: 11px 20px 11px 32px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  border-top: 1px solid var(--border);
}

/* 中間サイズ：ナビを縮小して収める */
@media (max-width: 1520px) and (min-width: 1025px) {
  .header-left { padding: 0 12px; }
  .header-logo-icon img { height: 68px; }
  .nav-inner > a, .nav-item > a { font-weight: 500; font-size: 16px; padding: 0 5px; }
  .nav-sep { height: 10px; }
  .header-tel { padding: 0 10px; }
  .header-tel-num { font-size: 1.05rem; }
  .header-cta-web, .header-cta-tel { padding: 10px 9px; min-width: 76px; }
  .header-cta-label { font-size: 13px; }
  .header-cta-sub { font-size: 11px; }
}

/* タブレット以下：ハンバーガー */
@media (max-width: 1279px) {
  nav.main-nav { display: none; }
  .hamburger-btn { display: flex; margin-left: auto; align-self: center; height: auto; }
  .mobile-nav { display: block; }
  .header-left { padding: 0 16px; }
}

/* ヘッダー電話番号（nav上部中央） */
.header-tel {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  padding: 15px 16px 0;
}
.header-tel-num {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Lato", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.header-tel-num:hover { color: var(--sky-mid); }
.header-tel-num svg { fill: var(--navy); flex-shrink: 0; }

/* ===== 言語切替（ダミー：Google Language Translator 想定） ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sky-mid);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch .lang-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 11px;
  background: transparent;
  color: var(--sky-mid);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch .lang-btn.is-active { background: var(--sky-mid); color: #fff; }
.lang-switch .lang-btn:not(.is-active):hover { background: rgba(90,184,232,0.12); }
/* モバイルナビ内の言語切替 */
.mobile-lang-switch {
  display: flex;
  justify-content: center;
  padding: 8px 20px 16px;
  border-bottom: 1px solid #eef3f8;
  margin-bottom: 8px;
}

/* 右側 縦型 追尾 言語切替（ダミー） */
.lang-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  box-shadow: -2px 3px 14px rgba(30,61,110,0.20);
  transition: opacity 0.2s;
}
/* モバイルメニューを開いている間は隠す
   （z-indexがナビより高く、右端のサブメニュー「∨」印に重なるため） */
body.is-mobile-nav-open .lang-float {
  opacity: 0;
  pointer-events: none;
}
.lang-float-btn {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding: 18px 16px;
  border: none;
  background: rgba(255,255,255,0.96);
  color: #f59e0b;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-float-btn.is-active { background: #f59e0b; color: #fff; }
.lang-float-btn:not(.is-active):hover { background: #fff4e2; }
.lang-float-btn + .lang-float-btn { border-top: 1px solid rgba(245,158,11,0.3); }

/* CTAブロック（右端） */
.header-cta {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}
.header-cta-web,
.header-cta-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
  width: 111px;
}
.header-cta-web { background: #5ab8e8; border-right: 1px solid rgba(255,255,255,0.3); }
.header-cta-tel { background: #f59e0b; gap: 2px; border-color: #f59e0b; }
.header-cta-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.88;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-top: 5px;
  white-space: normal;
  text-align: center;
}
.header-cta-web:hover { opacity: 0.8; }
.header-cta-tel:hover { opacity: 0.8; }
.header-cta-icon {
  width: 22px;
  height: 22px;
  fill: var(--white);
  flex-shrink: 0;
}
.header-cta-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 76vh;
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  background: #c8e8f5;
}
.hero-photo {
  position: absolute;
  inset: 0;
  /* パスは front.css（assets/css/）からの相対指定。PHPは .css では展開されないため使わない */
  background: url('../front/img/main.webp') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,50,90,0.52) 0%,
    rgba(20,50,90,0.30) 50%,
    rgba(20,50,90,0.08) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  max-width: 980px;
}
.hero-en {
  font-family: var(--font-num);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 600;
  color: var(--sky-light);
  line-height: 1;
  margin-bottom: 28px;
}
.hero-catch {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.hero-catch span { display: block; }

/* ===== ヒーロー内 訴求タグ ===== */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
  padding: 6px 15px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hero-tag-accent {
  background: #5ab8e8;
  border-color: #5ab8e8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(90,184,232,0.35);
}

/* ===== ヒーロー内 予約ボタン ===== */
.hero-reserve-btns {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-reserve:hover { background: #fff; color: #5ab8e8; border-color: #5ab8e8; }
.btn-reserve-first {
  background: #5ab8e8;
  color: var(--white);
  border: 2px solid #5ab8e8;
}
.btn-reserve-return {
  background: #f59e0b;
  color: var(--white);
  border: 2px solid #f59e0b;
}
.btn-reserve-return:hover { background: #fff; color: #f59e0b; border-color: #f59e0b; }
.btn-reserve svg { flex-shrink: 0; }
.btn-reserve-first,
.btn-reserve-return { flex-direction: column; gap: 2px; min-width: 160px; }
.btn-reserve-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* ===== ヒーロー内 診療時間カード ===== */
.hero-schedule-card {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 4;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 20px 15px;
  box-shadow: 0 8px 40px rgba(30,61,110,0.16);
  min-width: 480px;
}
.schedule-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.schedule-tbl th {
  text-align: center;
  padding: 0 12px 8px;
  font-weight: 600;
  font-size: 15px;
  color: #444;
}
.schedule-tbl th.sat { color: #2a7dc5; }
.schedule-tbl th.sun { color: #c05252; }
.schedule-tbl tbody tr {
  border-top: 1.5px solid #e8eef4;
}
.schedule-tbl td {
  text-align: center;
  padding: 15px 12px;
  font-size: 18px;
  line-height: 1;
}
.schedule-tbl .time-col {
  text-align: left;
  white-space: nowrap;
  font-size: 17px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: #2c3e5a;
  padding-right: 16px;
  letter-spacing: 0.02em;
}
.dot-blue  { color: #4a90c8; }
.dot-orange { color: #d96b4a; }
.dot-tri   { color: #c8982a; font-size: 18px; }
.tbl-open    { color: var(--sky-mid); }
.tbl-special { color: var(--navy); }
.tbl-close   { color: #ccc; font-size: 18px; }
.hero-schedule-legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: #555;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  line-height: 1.6;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.legend-dot-blue  { color: #4a90c8; font-size: 16px; }
.legend-dot-orange { color: #d96b4a; font-size: 16px; }
.legend-dot-tri   { color: #c8982a; font-size: 14px; }
.hero-schedule-note {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-top: 6px;
  text-align: right;
}
.hero-schedule-note span {
  color: #c05252;
  font-weight: 500;
}

/* 診療時間カード → 診療カレンダー（PC・スマホ共通） */
.schedule-cal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid var(--sky-mid);
  border-radius: 999px;
  background: var(--sky-pale);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.schedule-cal-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.schedule-cal-link:hover,
.schedule-cal-link:focus-visible {
  background: var(--sky-mid);
  color: var(--white);
}

/* ===== 診療時間バンド（簡略化） ===== */
.schedule-band {
  background: var(--white);
  border-bottom: 2px solid var(--sky-pale);
  box-shadow: 0 4px 16px rgba(30,61,110,0.06);
}
.schedule-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.schedule-band-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  padding-right: 20px;
  border-right: 1.5px solid var(--border);
  line-height: 1.7;
}
.schedule-band-note {
  font-size: 0.875rem;
  color: var(--gray-text);
  white-space: nowrap;
  line-height: 1.8;
}
.dot-open { color: var(--sky-mid); font-size: 1rem; }
.dot-close { color: #ddd; font-size: 1rem; }

/* ===== 当院の特徴 ===== */
.section-features {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-features::before {
  content: 'FEATURES';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-num);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(157,217,246,0.06);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}
.section-features .section-eyebrow { color: var(--sky-light); }
.section-features .section-title { color: var(--white); }
.section-features .section-title-en { color: var(--sky-light); }
.features-header {
  text-align: center;
  margin-bottom: 48px;
}
.features-num {
  font-family: var(--font-num);
  font-size: 4rem;
  font-weight: 700;
  color: var(--sky-light);
  line-height: 1;
  display: inline-block;
  margin-right: 8px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(157,217,246,0.2);
  border-radius: 12px;
  padding: 0 0 24px;
  text-align: center;
  overflow: hidden;
  transition: background 0.2s, transform 0.2s;
}
.feature-card .feature-img {
  border-radius: 0;
  margin-bottom: 20px;
}
.feature-card .feature-num,
.feature-card .feature-title,
.feature-card .feature-desc {
  padding: 0 20px;
}
.feature-card:hover {
  background: rgba(157,217,246,0.12);
  transform: translateY(-4px);
}
.feature-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  background: rgba(157,217,246,0.12);
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-num {
  font-family: var(--font-num);
  font-size: 1rem;
  color: var(--sky-light);
  letter-spacing: 0.15em;
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}
.feature-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.features-cta {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #5ab8e8;
  color: #5ab8e8;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 4px;
  background: transparent;
  transition: background 0.35s, color 0.35s;
}
.btn-feature:hover { background: #5ab8e8; color: var(--white); }

/* ===== お知らせ・コラム ===== */
.section-news {
  padding: 60px 0;
  background: var(--gray-bg);
}
.section-news .container {
  max-width: 1050px;
}
.news-card {
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.news-card-left {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 24px;
  border-right: 1px solid var(--border);
}
.news-card-icon {
  color: var(--navy);
  opacity: 0.5;
}
.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.6;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky-mid);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  margin-top: 4px;
  transition: background 0.35s;
}
.news-more { background: #5ab8e8; border: 2px solid #5ab8e8; }
.news-more:hover { background: #fff; color: #5ab8e8; }
.news-card-right {
  flex: 1;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list { list-style: none; }
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.news-item:first-child { border-top: none; }
.news-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tag-notice { background: #fde8e0; color: #c0522a; }
.tag-info { background: #fff5e6; color: #b85c00; }
.news-date {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-text { color: var(--navy); line-height: 1.5; }

/* ===== 診療メニュー ===== */
.section-treatment {
  padding: 100px 0;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(157,217,246,0.15) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(157,217,246,0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: center center;
}
.treatment-header {
  text-align: center;
  margin-bottom: 48px;
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.treatment-card {
  background: var(--sky-pale);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.treatment-card:hover {
  background: var(--sky-light);
  border-color: var(--sky-mid);
  transform: translateY(-3px);
}
.treatment-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 2px 8px rgba(30,61,110,0.08);
}
.treatment-icon img {
  width: 34px;
  height: 34px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(55%) saturate(700%) hue-rotate(190deg) brightness(90%) contrast(95%);
}
.treatment-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.treatment-desc {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.5;
}
.treatment-cta {
  text-align: center;
  margin-top: 60px;
}

/* ===== よくある症状 ===== */
.section-symptoms {
  padding: 80px 0;
  background: var(--sky-pale);
}
.symptoms-header {
  text-align: center;
  margin-bottom: 40px;
}
.symptoms-label {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 20px;
  text-align: center;
}
.symptoms-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}
.symptom-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.symptom-tag:hover {
  background: var(--sky-light);
  border-color: var(--sky-mid);
}
.symptom-tag img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(55%) saturate(700%) hue-rotate(190deg) brightness(90%) contrast(95%);
}

/* ===== 特色診療 ===== */
.section-special {
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(30, 61, 110, 0.88), rgba(30, 61, 110, 0.66)),
    url(../front/img/special-bg.webp) center / cover no-repeat;
}
.special-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.special-left {
  flex: 0 0 320px;
}
.special-left .section-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--sky-light);
}
.special-left h2 {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: .1em;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}
.special-left-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: 36px;
}
.special-left-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: #5ab8e8;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  padding: 16px 24px;
  border-radius: 4px;
  border: 2px solid #5ab8e8;
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
  width: 210px;
}
.special-left-btn:hover { background: #fff; color: #5ab8e8; }
.special-left-btn svg { flex-shrink: 0; }
.special-left-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
  aspect-ratio: 4 / 3;
  background: var(--sky-pale);
}
.special-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.special-btn-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}
.special-right {
  flex: 1;
}
.special-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.special-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 26px 32px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.special-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  transform: translateY(-3px);
}
.special-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.special-icon img {
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
}
.special-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  flex: 1;
  text-align: left;
  line-height: 1.5;
}
.special-desc {
  display: none;
}
.special-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
  text-decoration: none;
}

/* ===== コラム ===== */
.section-column {
  padding: 100px 0;
  background: #f2f5f5;
}
.column-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.column-left {
  width: 220px;
  flex-shrink: 0;
}
.column-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sky-mid);
  margin-bottom: 16px;
}
.column-eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky-mid);
}
.column-heading {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.column-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5ab8e8;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  border: 2px solid #5ab8e8;
  margin-top: 4px;
  transition: background 0.35s, color 0.35s;
}
.column-view-all:hover { background: #fff; color: #5ab8e8; }
.column-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.column-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,61,110,0.1);
}
.column-card-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 16px 0;
  font-family: var(--font-num);
  color: var(--gray-text);
  font-size: 0.8rem;
}
.column-card-date strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.column-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-top: 10px;
}
.column-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--sky-pale);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-mid);
  font-size: 0.85rem;
}
.column-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.column-card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--gray-bg);
  color: var(--gray-text);
  align-self: flex-start;
}
.column-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

/* ===== 院長挨拶 ===== */

/* ===== 診療時間・アクセス ===== */

/* ===== FOOTER ===== */
/* 記事内の <footer class="article-footer">（お知らせ・コラム詳細の前後記事ナビ）には
   サイトフッターの背景・余白を適用しない */
footer:not(.article-footer) {
  background: #f0f7fc;
  color: var(--navy);
  padding: 56px 0 0;
}
.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-logo img {
  height: 80px;
  max-width: 100%;
  width: auto;
  display: inline-block;
}
.footer-former-name {
  display: block;
  width: fit-content;
  margin: 0 auto 25px;
  padding: 2px 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  background: var(--sky-pale);
  border-radius: 4px;
}
.footer-address {
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.75;
  margin-bottom: 24px;
}
/* 記事詳細の「トップページへ」ボタン
   article.css はSCSSからのビルド生成物のため、手編集できる front.css 側に記述 */
.article-back {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
}
.article-back-btn:hover {
  background: var(--navy);
  color: #fff;
}
.footer-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 24px;
  font-size: clamp(13px, 3.6vw, 15px);
  color: var(--navy);
  opacity: 0.75;
}
.footer-payment img {
  height: clamp(22px, 6vw, 28px);
  width: auto;
}
.footer-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-btn-web,
.footer-btn-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  transition: background 0.35s, color 0.35s;
  min-width: 380px;
  justify-content: center;
}
.footer-btn-web {
  background: #5ab8e8;
  border: 2px solid #5ab8e8;
}
.footer-btn-web:hover { background: #fff; color: #5ab8e8; }
.footer-btn-info {
  background: #f59e0b;
  border: 2px solid #f59e0b;
}
.footer-btn-info:hover { background: #fff; color: #f59e0b; }
.footer-tel-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 40px;
  max-width: 700px;
  margin-top: 30px;
}
.footer-tel-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-tel-label {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 2;
  text-align: center;
  white-space: nowrap;
}
.footer-tel-num {
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sky-mid);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.footer-middle-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.footer-schedule-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  flex: 1 1 0;
  min-width: 0;
  overflow-x: auto;
}
.footer-schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 10px;
}
.footer-schedule-table th {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 8px;
  border-bottom: 2px solid var(--border);
}
.footer-schedule-table th.sat { color: #2a7dc5; }
.footer-schedule-table th.sun,
.footer-schedule-table th.hol { color: #c05252; }
.footer-schedule-table td {
  padding: 8px 4px;
  font-size: 1.1rem;
}
.footer-schedule-table .time-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  text-align: left;
  white-space: nowrap;
  padding-right: 12px;
}
.dot-open { color: var(--sky-mid); }
.dot-am { color: var(--navy); }
.dot-close { color: #ccc; }
.footer-schedule-note {
  font-size: 0.85rem;
  color: var(--gray-text);
  text-align: left;
  margin-top: 8px;
}
/* 休診日の注記から診療カレンダーへ */
.footer-schedule-note-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.footer-schedule-note-link:hover,
.footer-schedule-note-link:focus-visible {
  color: var(--sky-mid);
  text-decoration: none;
}
.footer-schedule-caution {
  font-size: 0.8rem;
  color: #c05252;
  text-align: left;
  margin-top: 10px;
  line-height: 1.8;
}
.footer-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}
.footer-map {
  margin: 0;
}
.footer-map iframe {
}
.footer-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.footer-info-badge {
  flex-shrink: 0;
  background: var(--sky-mid);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}
.footer-info-text {
  color: var(--navy);
  line-height: 1.6;
  font-size: 0.95rem;
}
.footer-nav-section {
  background: #f0f7fc;
  padding: 50px 0 0;
}
footer:not(.article-footer) .container {
  max-width: 1050px;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-size: 1rem;
  margin-bottom: 60px;
}
.footer-nav-group h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sky-mid);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(157,217,246,0.2);
}
.footer-nav-group ul { list-style: none; }
.footer-nav-group li { padding: 3px 0; }
.footer-nav-group a {
  color: var(--navy);
  transition: color 0.2s;
  font-size: 1rem;
}
.footer-nav-group a:hover { color: var(--sky-mid); }
.footer-bottom {
  background: var(--navy);
  border-top: none;
  padding: 25px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.btn-web-reserve {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
}
.btn-tel-reserve {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-tel-num { font-family: var(--font-num); font-size: 1.1rem; }

/* 追従CTAはデスクトップで非表示 */
.mobile-sticky-cta { display: none; }
.mobile-page-top { display: none; }

/* ===== ノートPC帯：ヒーローの圧縮（文字サイズ・余白・高さ） ===== */
@media (min-width: 769px) and (max-width: 1440px) {
  .hero { height: 70vh; min-height: 440px; max-height: 640px; }
  .hero-en { font-size: clamp(3rem, 5.2vw, 4.2rem); margin-bottom: 18px; }
  .hero-catch { font-size: 18px; line-height: 1.55; }
  .hero-reserve-btns { margin-top: 24px; }
}

/* 769-1099px：診療時間カード分の余白を確保すると見出しが狭すぎるため、カード自体を隠す */
@media (min-width: 769px) and (max-width: 1099px) {
  .hero-schedule-card { display: none !important; }
}

/* 1100-1440px：診療時間カード（右下・最小480px）と見出しが重ならない幅に収める */
@media (min-width: 1100px) and (max-width: 1440px) {
  .hero-content { right: 560px; }
}

/* ===== 診療時間 追従ボタン（スマホのみ） ===== */
/* PC は非表示 */
@media (min-width: 769px) {
  .schedule-float-wrap { display: none; }
  .sp-schedule-card { display: none; }
}

/* スマホ */
@media (max-width: 768px) {
  .schedule-float-wrap {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
  }

  .schedule-float-btn {
    width: 56px;
    background: #5ab8e8;
    color: #fff;
    border-radius: 16px 0 0 16px;
    padding: 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: -4px 4px 16px rgba(0,0,0,0.18);
    border: none;
    font-family: var(--font-sans);
    user-select: none;
    transition: border-radius 0.25s, box-shadow 0.25s;
  }
  .schedule-float-wrap.is-open .schedule-float-btn {
    border-radius: 0;
    box-shadow: none;
  }
  .schedule-float-btn:hover { background: #3a9fd4; }

  .schedule-float-label {
    font-size: 15px;
    font-weight: 700;
    writing-mode: vertical-rl;
    letter-spacing: 0.15em;
    line-height: 1;
  }
  .schedule-float-icon {
    font-weight: 300;
    line-height: 1;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s;
  }
  .schedule-float-btn.is-open .schedule-float-icon { transform: rotate(45deg); }

  .schedule-float-panel {
    background: #fff;
    border-radius: 16px 0 0 16px;
    padding: 20px 18px 18px;
    position: fixed;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100vw - 56px);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: -6px 4px 24px rgba(30,61,110,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-50%) translateX(12px);
    z-index: 9989;
  }
  .schedule-float-wrap.is-open .schedule-float-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }
  .schedule-float-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .schedule-float-panel-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #5ab8e8;
    border-radius: 2px;
  }
  .schedule-float-tbl {
    width: 100%;
    border-collapse: collapse;
  }
  .schedule-float-tbl th {
    text-align: center;
    padding: 0 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
  }
  .schedule-float-tbl th.sat { color: #2a7dc5; }
  .schedule-float-tbl th.sun { color: #c05252; }
  .schedule-float-tbl tbody tr { border-top: 1px solid #e8eef4; }
  .schedule-float-tbl td {
    text-align: center;
    padding: 10px 4px;
    font-size: 15px;
    line-height: 1;
  }
  .schedule-float-tbl .time-col {
    font-size: 12px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    text-align: left;
    padding-right: 8px;
  }
  .schedule-float-tbl td { font-size: 18px; }
  .schedule-float-tbl .f-open { color: var(--sky-mid); }
  .schedule-float-tbl .f-special { color: var(--navy); }
  .schedule-float-tbl .f-close { color: #ccc; font-size: 14px; }
  .schedule-float-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 12px;
    font-size: 11px;
    color: #444;
  }
  .schedule-float-legend span { display: flex; align-items: center; gap: 3px; }
  .schedule-float-legend .dot-open { color: var(--sky-mid); font-size: 16px; }
  .schedule-float-legend .dot-special { color: var(--navy); font-size: 16px; }
  .schedule-float-note {
    font-size: 11px;
    color: #c05252;
    margin-top: 6px;
    line-height: 1.7;
    font-weight: 500;
  }

  /* ヒーロー診療時間カードはスマホ非表示 */
  .hero-schedule-card { display: none !important; }
}

/* ===== Divider ===== */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {

  .schedule-float-wrap { display: none; }

  /* ヘッダー */
  .main-header { height: auto; }
  .header-cta { display: none; }
  .header-tel { display: none; }
  .header-left { padding: 5px 12px 0; }
  .header-logo-icon img { height: clamp(36px, 12vw, 52px); }
  .header-left { min-width: 0; }
  .header-former-name { font-size: 11px; padding: 1px 6px; margin-top: 3px; }

  /* ヒーロー */
  .hero { height: auto; min-height: 60vh; max-height: unset; padding-bottom: 24px; }
  .hero-content {
    position: relative;
    padding: 40px 20px 24px;
    max-width: 100%;
  }
  .hero-en { font-size: clamp(2.8rem, 12vw, 4rem); margin-bottom: 16px; }
  .hero-catch { font-size: 18px; letter-spacing: 0.05em; }
  .hero-reserve-btns { flex-direction: column; gap: 10px; margin-top: 24px; }
  .btn-reserve-first,
  .btn-reserve-return { min-width: unset; width: 100%; }
  .hero-reserve-btns { display: none; }

  /* 追従CTA */
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }

  /* JP/EN切替：右端の縦中央だとスクロール時に親指が当たるため、
     右端は維持したまま追従CTA（約69px）のすぐ上へ下げる */
  .lang-float {
    top: auto;
    bottom: 81px;
    transform: none;
  }
  .mobile-sticky-cta a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
  }
  .mobile-sticky-cta .sticky-first { background: #5ab8e8; }
  .mobile-sticky-cta .sticky-return { background: #f59e0b; }
  .mobile-sticky-cta .sticky-tel { background: var(--navy); color: var(--white); }
  .mobile-sticky-cta svg { display: block; }

  /* h2統一 28px */
  .section-title { font-size: 28px; line-height: 1.4; }
  .column-heading { font-size: 28px; }
  h2 { font-size: 28px; }
  .feature-title { font-size: 18px; }
  body { font-size: 15px; }

  /* フッター下余白 */
  footer { padding-bottom: 70px; }

  /* 診療時間カード */
  .hero-schedule-card {
    position: relative;
    right: auto;
    bottom: auto;
    min-width: unset;
    width: calc(100% - 40px);
    margin: 0 20px 24px;
    border-radius: 12px;
  }
  .schedule-tbl .time-col { font-size: 11px; }
  .schedule-tbl td { padding: 10px 6px; font-size: 14px; }
  .schedule-tbl th { padding: 0 6px 8px; font-size: 13px; }

  /* お知らせ */
  .news-card { flex-direction: column; }
  .news-card-left {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .news-card-icon { display: none; }
  .news-card-right { padding: 0 20px; }
  .news-item { flex-wrap: wrap; row-gap: 4px; }
  .news-tag { order: 1; }
  .news-date { order: 2; }
  .news-text {
    order: 3;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 当院の特徴 */
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-cta { flex-direction: column; gap: 12px; margin-top: 40px; }
  .btn-feature { width: 100%; justify-content: center; }

  /* 診療メニュー */
  .treatment-grid { grid-template-columns: 1fr; gap: 10px; }
  .section-treatment { padding: 60px 0; }
  .treatment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 14px;
  }
  .treatment-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .treatment-name { font-size: 16px; margin-bottom: 0; flex: 1; }
  .treatment-desc { display: none; }
  .treatment-card::after {
    content: "›";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--sky-mid);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    padding-left: 1px;
  }

  /* よくある症状 */
  .symptoms-grid { grid-template-columns: 1fr 1fr; }
  .section-symptoms { padding: 60px 0; }
  .symptoms-tags { gap: 10px; }
  .symptom-tag { width: 100%; justify-content: flex-start; padding: 16px 20px; font-size: 1rem; min-height: 56px; }

  /* 特色診療 */
  .treatment-cta { margin-top: 40px; }
  .footer-map iframe { height: 220px; }
  .special-inner { flex-direction: column; gap: 24px; }
  .special-left { width: 100%; flex: unset; }
  .special-left-img { display: none; }
  .special-grid { gap: 12px; }
  .special-card { padding: 16px 18px; gap: 14px; }
  .special-icon { width: 44px; height: 44px; }
  .special-icon img { width: 40px; height: 40px; }
  .section-special { padding: 48px 0; }

  /* スマホ診療時間カード */
  .sp-schedule-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30,61,110,0.1);
    padding: 20px 10px 16px;
    margin: 0 15px 32px;
  }
  .sp-schedule-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sp-schedule-card-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #5ab8e8;
    border-radius: 2px;
    flex-shrink: 0;
  }
  .sp-schedule-tbl {
    width: 100%;
    border-collapse: collapse;
  }
  .sp-schedule-tbl th {
    text-align: center;
    padding: 0 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
  }
  .sp-schedule-tbl th.sat { color: #2a7dc5; }
  .sp-schedule-tbl th.sun { color: #c05252; }
  .sp-schedule-tbl tbody tr { border-top: 1px solid #e8eef4; }
  .sp-schedule-tbl td {
    text-align: center;
    padding: 10px 3px;
    font-size: 17px;
    line-height: 1;
  }
  .sp-schedule-tbl .sp-time-col {
    font-size: 14px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    text-align: left;
  }
  .sp-schedule-tbl .f-open { color: var(--sky-mid); }
  .sp-schedule-tbl .f-special { color: var(--navy); }
  .sp-schedule-tbl .f-close { color: #ccc; font-size: 13px; }
  .sp-schedule-legend {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    font-size: 14px;
    color: #444;
  }
  .sp-schedule-legend span { display: flex; align-items: center; gap: 3px; }
  .sp-schedule-legend .dot-open { color: var(--sky-mid); font-size: 15px; }
  .sp-schedule-legend .dot-special { color: var(--navy); font-size: 15px; }
  .sp-schedule-note {
    font-size: 14px;
    color: #c05252;
    font-weight: 500;
    margin-top: 6px;
  }

  /* 特色診療 */
  .special-left-desc { margin-bottom: 0; }
  .special-left-btn { margin-top: 20px; }
  .special-title { font-size: 16px; }

  /* コラム */
  .column-inner { flex-direction: column; gap: 24px; }
  .column-left { width: 100%; flex-direction: column; align-items: flex-start; gap: 8px; }
  .column-eyebrow { margin-bottom: 4px; font-size: 0.8rem; }
  .column-heading { margin-bottom: 12px; font-size: 28px; line-height: 1.4; }
  .column-cards { grid-template-columns: 1fr; }
  .section-column { padding: 48px 0; }

  /* フッター */
  .footer-cta-row { flex-direction: column; }
  .footer-btn-web, .footer-btn-info { min-width: unset; width: 100%; }
  .footer-middle-row {
    flex-direction: column;
    gap: 15px;
  }
  .footer-schedule-section {
    width: 100%;
    overflow-x: visible;
    background: #fff;
    border-radius: 10px;
    padding: 20px 15px;
    border: none;
  }
  .footer-schedule-table {
    min-width: unset;
    font-size: 11px;
  }
  .footer-schedule-table th {
    padding: 4px 3px;
    font-size: 14px;
  }
  .footer-schedule-table td {
    padding: 6px 2px;
    font-size: 13px;
  }
  .footer-schedule-table .time-label {
    font-size: 14px;
    font-weight: bold;
    padding-right: 4px;
    white-space: nowrap;
  }
  .footer-info-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-info-item {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(90,184,232,0.25);
    gap: 12px;
    font-size: 0.9rem;
  }
  .footer-info-item:last-child { border-bottom: none; }
  .footer-info-badge {
    font-size: 13px;
    padding: 8px 0;
    width: 76px;
    border-radius: 6px;
  }
  .footer-info-text { font-size: 14px; }
  .footer-tel-row {
    background: #fff;
    border-radius: 10px;
    border: none;
    margin-top: 15px;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 15px 10px;
  }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-logo img { height: 100%; }
  .footer-address { font-size: 15px; }
  .footer-nav-group a { font-size: 13px; }
  .footer-bottom { padding: 15px 0; font-size: 11px; line-height: 1.65; }
}
