/* ============================================================
   春日メンタルクリニック — Design v2.0
   Based on DESIGN.md
   ============================================================ */

/* --- Variables ------------------------------------------------ */
:root {
  /* Brand */
  --pink:         #E98989;
  --pink-light:   #ECA9A9;
  --pink-hover:   #D97777;
  --pink-active:  #C96666;
  --navy:         #305398;
  --navy-hover:   #1A3A7A;
  --teal:         #7CC8C3;
  --teal-hover:   #5BB8B2;
  --caramel:      #AB8154;

  /* Text */
  --text:         #333333;
  --text-sub:     #424242;
  --text-muted:   #757575;

  /* Surface */
  --bg:           #FFFFFF;
  --surface:      #FFFFFF;
  --surface-pink: #FFF0F0;
  --border:       #DCDDDD;
  --border-sub:   #ABB8C3;

  /* Semantic */
  --error:        #CF2E2E;

  /* Layout */
  --max-wide:     1240px;
  --max-content:  1000px;
  --max-narrow:   760px;

  /* Backward-compat aliases used in PHP templates */
  --color-bg:          var(--bg);
  --color-surface:     var(--surface);
  --color-surface-alt: var(--surface-pink);
  --color-text:        var(--text);
  --color-text-muted:  var(--text-muted);
  --color-border:      var(--border);
  --color-heading:     var(--text);
  --color-link:        var(--navy);
  --color-cta:         var(--pink);
  --color-cta-hover:   var(--pink-hover);
  --color-phone:       var(--pink);
  --color-alert:       var(--error);
  --shadow-soft:       none;
  --max-wide:          1240px;
  --max-content:       1000px;
  --header-height:     72px;
  --radius-md:         4px;
}

/* --- Reset & Base -------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'a-otf-ud-shin-maru-go-pr6n','Hiragino Maru Gothic ProN','Hiragino Sans','Yu Gothic','Meiryo',sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--navy-hover); }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 { font-weight: 400; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.screen-reader-text,
.skip-link { position: absolute; left: -9999px; }

.skip-link:focus {
  left: 16px; top: 16px; z-index: 999;
  padding: 10px 14px; background: #fff; color: var(--text);
}

/* --- Layout -------------------------------------------------- */
.site-shell { min-height: 100vh; }

.site-width,
.site-header__top-inner,
.site-nav__inner,
.site-footer__inner,
.site-main,
.site-topbar__inner {
  width: min(calc(100% - 32px), var(--max-wide));
  margin: 0 auto;
}

/* --- Topbar -------------------------------------------------- */
.site-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.site-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}

/* --- Site Header (white bar with logo + actions) ------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
}

.site-header__inner {
  width: min(calc(100% - 32px), var(--max-wide));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.site-header__top-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.site-branding__logo {
  display: block;
  line-height: 1;
}

.site-branding__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-branding__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.site-branding__name a {
  color: inherit;
  text-decoration: none;
}

.site-branding__tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.button-link--phone {
  color: var(--pink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background: none;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}

.button-link--phone:hover { color: var(--pink-hover); }

/* --- Site Nav (pink bar) ------------------------------------- */
.site-nav {
  background: var(--pink-light);
}

.site-nav__inner {
  min-height: var(--nav-h, 52px);
  display: flex;
  align-items: center;
}

.mobile-navigation {
  display: none;
}

/* --- Menu ---------------------------------------------------- */
.menu,
.sub-menu,
.footer-links,
.card-grid,
.link-grid,
.page-links,
.entry-meta,
.breadcrumbs__list,
.cta-panel__links,
.mobile-cta,
.site-footer__meta {
  margin: 0; padding: 0; list-style: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 15px;
  font-weight: 400;
}

.menu > li > a,
.menu-label {
  display: flex;
  align-items: center;
  min-height: var(--nav-h, 52px);
  padding: 0 18px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.menu > li > a:hover,
.menu-label:hover {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
}

.menu-item-has-children { position: relative; }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: rgba(0,0,0,0.12) 0 2px 8px;
  z-index: 100;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { display: block; }

.sub-menu li + li { margin-top: 2px; }

.sub-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.sub-menu a:hover { background: var(--surface-pink); color: var(--pink); }

/* --- Buttons ------------------------------------------------- */
.menu-item--cta > a,
.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 25px;
  border-radius: 25px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.button:hover,
.button-link:hover,
.menu-item--cta > a:hover { transform: translateY(-1px); }

.button--primary,
.menu-item--cta > a {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.button--primary:hover,
.menu-item--cta > a:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  color: #fff;
}

.button--secondary {
  background: var(--surface);
  color: var(--pink);
  border-color: var(--pink);
}

.button--secondary:hover {
  background: var(--surface-pink);
  color: var(--pink-hover);
  border-color: var(--pink-hover);
}

.button--ghost {
  background: var(--surface-pink);
  color: var(--text);
  border-color: var(--border);
}

.button--ghost:hover {
  background: #FFE8E8;
  color: var(--pink);
}

/* WEB予約 — teal */
.button--reserve,
.site-header__actions .button--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.button--reserve:hover,
.site-header__actions .button--primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: #fff;
}

/* WEB予約 floating side widget */
.reserve-fab {
  position: fixed;
  right: 0;
  top: 80px;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  padding: 20px 10px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: background-color 0.2s ease;
}

.reserve-fab:hover {
  background: var(--teal-hover);
  color: #fff;
}

/* Mobile toggle */
.site-header__toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  justify-self: end;
}

/* --- Main ---------------------------------------------------- */
.site-main {
  padding: 0 0 80px;
}

/* --- Front Page Hero ----------------------------------------- */
.hero-front {
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-front__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

@supports not (aspect-ratio: 16/7) {
  .hero-front__visual { padding-top: 43.75%; height: 0; }
}

.hero-front__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-front__lady {
  position: absolute;
  right: 4%;
  bottom: 0;
  height: 95%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

.hero-front__strip {
  background: var(--pink-light);
  padding: 20px 0;
}

.hero-front__strip-inner {
  width: min(calc(100% - 32px), var(--max-content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.hero-front__text { flex: 1; }

.hero-front__eyebrow {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.hero-front__h1,
.hero-front__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.hero-front__lead {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.7;
}

.hero-front__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-front__actions .button {
  min-height: 46px;
}

.hero-front__facts {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

.hero-front__facts li::before {
  content: "✓ ";
}

.hero-front__sub-img {
  display: block;
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

/* --- Section Blocks ------------------------------------------ */
.section-block {
  margin-top: 56px;
}

.section-block:first-child { margin-top: 48px; }

/* Notice callout gets pink background */
.section-block--notice {
  margin-top: 0;
  background: var(--pink-light);
  padding: 32px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 100;
  line-height: 1.4;
  color: var(--text);
  position: relative;
  padding-bottom: 14px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.section-heading__eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Hero (inner pages) ------------------------------------- */
.hero,
.page-header,
.archive-hero,
.entry-content,
.cta-panel,
.site-footer__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: none;
}

.hero,
.archive-hero,
.page-header,
.entry-content,
.cta-panel,
.site-footer__panel {
  padding: 28px;
}

.hero h1,
.page-header h1,
.archive-hero h1,
.entry-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
  font-weight: 400;
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__lead,
.page-header__lead,
.archive-hero__lead {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--text-muted);
}

.hero__actions,
.page-links,
.link-grid,
.cta-panel__links,
.card-grid {
  display: grid;
  gap: 16px;
}

.hero__actions {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero__info {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* --- Cards & Grids ------------------------------------------ */
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.surface-card,
.summary-card,
.entry-card,
.quick-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.surface-card h3,
.surface-card h4,
.summary-card h3,
.entry-card h3,
.quick-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.surface-card h3 a,
.surface-card h4 a,
.entry-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.surface-card h3 a:hover,
.surface-card h4 a:hover,
.entry-card h3 a:hover {
  color: var(--navy-hover);
  text-decoration: underline;
}

.surface-card p,
.summary-card p,
.entry-card p,
.quick-card p,
.entry-card__meta,
.entry-meta {
  color: var(--text-muted);
}

.category-group + .category-group {
  margin-top: 24px;
}

.category-group h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.author-box {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-pink);
}

.author-box h2 {
  margin-top: 0;
}

.author-box__name {
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 700;
}

/* --- Feature Cards (当院の特徴) ----------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--pink-light);
  box-shadow: 0 2px 12px rgba(233,137,137,0.12);
}

.feature-card__icon {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* --- Greeting Card (ご挨拶) --------------------------------- */
.greeting-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
}

.greeting-card__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
}

.greeting-card__photo-wrap {
  background: var(--surface-pink);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
}

.greeting-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.greeting-card__body {
  padding: 32px;
}

.greeting-card__body p {
  line-height: 1.85;
  color: var(--text);
}

.greeting-card__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-align: right;
}

/* --- Notice Callout ----------------------------------------- */
.notice-callout {
  margin: 0;
  padding: 24px 28px;
  border: 2px solid var(--pink-light);
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  line-height: 1.9;
}

.notice-callout p { margin: 0 0 10px; }
.notice-callout p:last-child { margin-bottom: 0; }

/* --- Disease Tiles ------------------------------------------ */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.disease-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.disease-card:hover {
  border-color: var(--pink);
  background: var(--surface-pink);
}

.disease-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.disease-card h3 a {
  color: var(--navy);
  text-decoration: none;
  display: block;
}

.disease-card:hover h3 a { color: var(--pink-hover); }

#disease-list {
  scroll-margin-top: 120px;
}

/* --- Page Image Hero ---------------------------------------- */
.page-hero-image { margin-bottom: 8px; }

.page-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* --- Page Shell --------------------------------------------- */
.page-shell {
  width: min(100%, var(--max-narrow));
  margin: 40px auto;
}

.page-shell--features { width: min(100%, 900px); }

.page-shell--features .page-header,
.page-shell--features .entry-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.page-shell--features .page-header {
  padding-top: 0;
  padding-bottom: 6px;
}

.page-shell--features .hero__eyebrow,
.page-shell--features .page-header__lead { display: none; }

.page-shell--features .entry-content { padding-top: 8px; }

.page-shell--features .entry-content > * + * { margin-top: 18px; }

.page-shell--features .entry-content img { border-radius: 4px; }

.page-shell--first-visit .entry-content,
.page-shell--guide .entry-content {
  display: grid;
  gap: 22px;
  line-height: 1.95;
}

.page-shell--first-visit .entry-content > *,
.page-shell--guide .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.page-shell--first-visit .entry-content > p:first-of-type,
.page-shell--guide .entry-content > p:first-of-type {
  padding: 18px 20px;
  border-left: 4px solid var(--pink);
  border-radius: 4px;
  background: var(--surface-pink);
}

.page-shell--first-visit .entry-content h2,
.page-shell--guide .entry-content h2 {
  margin-top: 0;
}

.page-shell--first-visit .entry-content h3,
.page-shell--guide .entry-content h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.page-shell--first-visit .entry-content ul,
.page-shell--first-visit .entry-content ol,
.page-shell--guide .entry-content ul,
.page-shell--guide .entry-content ol {
  margin-bottom: 0;
}

.page-shell--guide .entry-content h2 {
  padding-bottom: 10px;
}

.page-shell--guide .entry-content h3 {
  font-size: 18px;
}

.page-shell--access { width: min(100%, 860px); }

.page-shell--access .page-header,
.page-shell--access .entry-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.page-shell--access .page-header {
  padding-top: 0;
  padding-bottom: 6px;
}

.page-shell--access .hero__eyebrow,
.page-shell--access .page-header__lead { display: none; }

.page-shell--access .entry-content { padding-top: 4px; }

.page-shell--access .content-section + .content-section { margin-top: 20px; }

/* --- Embed Blocks ------------------------------------------- */
.map-embed,
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.map-embed iframe,
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-embed__fallback {
  margin: 0 0 20px;
}

.article-figure {
  margin: 20px 0 24px;
}

.article-figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.article-figure--soft img {
  box-shadow: 0 18px 36px rgba(46, 60, 92, 0.08);
}

/* --- Access top links --------------------------------------- */
.page-links--access-top {
  margin: 8px 0 6px;
  grid-template-columns: minmax(180px, max-content);
  justify-content: start;
}

/* --- Link Grid ---------------------------------------------- */
.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.page-links li + li,
.footer-links li + li { margin-top: 8px; }

.link-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 25px;
  color: var(--navy);
  font-size: 14px;
  text-decoration: none;
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.link-chip:hover {
  border-color: var(--pink);
  background: var(--surface-pink);
  color: var(--pink);
}

.page-links a {
  text-decoration: none;
}

/* --- Content Sections --------------------------------------- */
.content-section + .content-section { margin-top: 28px; }

.entry-content > .content-section { margin-top: 28px; }

.content-section h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
}

.content-section__text p { margin: 0 0 14px; }

/* --- Page Header -------------------------------------------- */
.page-header {
  margin-bottom: 4px;
}

.page-header h1 {
  font-weight: 400;
}

.page-header .hero__eyebrow {
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* --- Entry Content ------------------------------------------ */
.entry-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin: 1.6em 0 0.6em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink-light);
}

.entry-content h3 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  margin: 1.4em 0 0.5em;
}

.entry-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 1.2em 0 0.4em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.entry-content li { margin-bottom: 0.3em; }

/* --- Meta --------------------------------------------------- */
.page-header__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Tables ------------------------------------------------- */
.table-wrap { overflow-x: auto; }

.hours-table,
.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

.hours-table th,
.hours-table td,
.info-table th,
.info-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.hours-table thead th {
  background: var(--pink-light);
  color: #fff;
  font-weight: 700;
}

.hours-table tbody th {
  background: var(--surface-pink);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.info-table th {
  background: var(--surface-pink);
  text-align: left;
}

.hours-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Breadcrumbs -------------------------------------------- */
.breadcrumbs { margin-bottom: 18px; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
}

.breadcrumbs__item a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumbs__item a:hover { text-decoration: underline; }

/* --- Archive Grid ------------------------------------------- */
.archive-grid { display: grid; gap: 18px; }

.entry-card__meta,
.entry-card__footer { font-size: 13px; }

.entry-card__footer { margin-top: 14px; }

.pagination {
  margin-top: 24px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--navy);
  text-decoration: none;
}

.page-numbers:hover {
  border-color: var(--pink-light);
  color: var(--navy-hover);
}

.page-numbers.current {
  border-color: var(--pink);
  background: var(--surface-pink);
  color: var(--pink-hover);
  font-weight: 700;
}

/* --- Check list ---------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; }

.check-list li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 6px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

/* --- Admin note ---------------------------------------------- */
.admin-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 4px;
  background: rgba(233,137,137,0.06);
  border: 1px solid rgba(233,137,137,0.24);
}

.admin-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
}

/* --- CTA Panel ---------------------------------------------- */
.cta-panel { padding: 26px; }

.cta-panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(18px, 2.5vw, 24px);
}

.cta-panel__links {
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* --- Surface panel ------------------------------------------ */
.surface-panel {
  padding: 24px 28px;
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  margin-top: 80px;
  padding-bottom: 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer__inner { display: grid; gap: 32px; padding-top: 48px; }

.site-footer__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

.site-footer__panel > div:nth-of-type(2) > h2 {
  display: none;
}

.site-footer__meta {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer .menu {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer .menu > li > a {
  min-height: 0;
  padding: 4px 0;
  color: var(--text);
  font-size: 14px;
}

.site-footer .menu > li > a:hover {
  color: var(--pink);
  background: none;
}

.site-footer .sub-menu {
  position: static;
  display: block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.site-footer .sub-menu a {
  color: var(--text-muted);
  font-size: 13px;
  padding: 2px 0;
  border-radius: 0;
}

.site-footer .sub-menu a:hover {
  background: none;
  color: var(--pink);
}

.footer-links {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover { color: var(--pink); }

.site-branding__name-footer {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.site-footer__copyright {
  color: var(--text-muted);
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Mobile CTA --------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 12px 12px 12px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 95;
}

.mobile-cta a {
  min-height: 52px;
  border-radius: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  font-size: 15px;
}

.mobile-cta__phone {
  background: var(--pink);
  color: #fff;
  border: 1px solid var(--pink);
}

.mobile-cta__phone:hover {
  background: var(--pink-hover);
  color: #fff;
}

.mobile-cta__reserve {
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
}

.mobile-cta__reserve:hover {
  background: var(--teal-hover);
  color: #fff;
}

/* --- Page links spacing ------------------------------------- */
.page-links {
  margin-top: 20px;
}

/* --- Eleventy markdown compatibility ------------------------ */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.entry-content thead th {
  background: var(--pink-light);
  color: #fff;
  font-weight: 700;
}

.entry-content tbody th {
  background: var(--surface-pink);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-header__top-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .site-nav { display: none; }

  .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-navigation {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    top: 104px;
    z-index: 120;
    max-height: calc(100vh - 120px);
    overflow: auto;
    width: auto;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  .mobile-navigation.is-open { display: block; }

  .mobile-navigation .menu {
    display: block;
  }

  .mobile-navigation .menu > li > a {
    color: var(--text);
    min-height: 40px;
    padding: 8px 6px;
    line-height: 1.4;
    background: none;
  }

  .mobile-navigation .menu-label {
    min-height: 40px;
    padding: 8px 6px;
    line-height: 1.4;
    color: var(--text);
  }

  .mobile-navigation .menu > li > a:hover {
    color: var(--pink);
    background: var(--surface-pink);
    border-radius: 4px;
  }

  .mobile-navigation .menu li + li { margin-top: 2px; }

  .mobile-navigation .sub-menu {
    position: static;
    display: block;
    margin-top: 2px;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--pink-light);
  }

  .mobile-navigation .sub-menu a {
    padding: 6px 8px;
    line-height: 1.45;
  }

  .greeting-card__inner {
    grid-template-columns: 180px 1fr;
  }
}

@media (max-width: 860px) {
  .hero-front__strip-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-front__sub-img { display: none; }

  .greeting-card__inner {
    grid-template-columns: 1fr;
  }

  .greeting-card__photo-wrap {
    min-height: 200px;
    max-height: 260px;
  }
}

@media (max-width: 782px) {
  .hero-front__strip {
    padding: 16px 0;
  }

  .hero-front__title {
    font-size: clamp(24px, 7.8vw, 32px);
    line-height: 1.25;
  }

  .hero-front__actions {
    gap: 10px;
    margin-top: 10px;
  }

  .site-topbar {
    font-size: 12px;
  }

  .site-topbar__inner {
    gap: 2px 12px;
    padding: 4px 0;
    line-height: 1.45;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "branding toggle";
    gap: 8px 10px;
    min-height: 54px;
  }

  .site-branding {
    grid-area: branding;
  }

  .site-branding__logo img {
    height: 42px;
  }

  .site-header__actions {
    display: none;
  }

  .site-header__actions .button--reserve {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .site-header__toggle {
    grid-area: toggle;
    min-height: 40px;
    min-width: 40px;
    padding: 0 12px;
    font-size: 13px;
    justify-self: end;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .mobile-cta { display: grid; }

  .site-topbar__inner { display: flex; }

  .hero-front__visual {
    aspect-ratio: 4 / 3;
  }

  .hero-front__lady {
    height: 80%;
    right: 0;
  }

  .hero,
  .archive-hero,
  .page-header,
  .entry-content,
  .cta-panel,
  .site-footer__panel {
    padding: 20px;
    border-radius: 4px;
  }

  .section-block { margin-top: 36px; }

  .site-footer__panel {
    grid-template-columns: 1fr;
  }

  .greeting-card__photo-wrap { min-height: 180px; }

  .mobile-navigation {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    top: 104px;
    z-index: 120;
    max-height: calc(100vh - 120px);
    overflow: auto;
    width: auto;
    margin: 0;
    padding: 14px 14px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  .mobile-navigation.is-open {
    display: block;
  }

  body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 480px) {
  .hours-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 13px;
  }

  .hours-table th,
  .hours-table td {
    padding: 10px 6px;
  }

  .hours-table th:first-child,
  .hours-table td:first-child {
    width: 112px;
  }

  .hero-front__visual {
    aspect-ratio: 1 / 1;
  }

  .hero-front__lady { display: none; }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .disease-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Homepage V2 (DESIGN-v2.md based) */
.home-v2 {
  --v2-primary: #234846;
  --v2-secondary: #365B73;
  --v2-accent: #8F3F34;
  --v2-accent-hover: #74332A;
  --v2-bg: #F3F7F6;
  --v2-surface: #FFFFFF;
  --v2-surface-alt: #E5EFEF;
  --v2-notice: #F1E4D2;
  --v2-ink: #1E2D2C;
  --v2-muted: #5B6B68;
  --v2-line: #C8D9D5;
  --v2-focus: #6A58B8;
  --v2-radius: 8px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
  background: var(--v2-bg);
  color: var(--v2-ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.home-v2 *,
.home-v2 *::before,
.home-v2 *::after {
  letter-spacing: 0;
}

.home-v2 a {
  color: var(--v2-secondary);
}

.home-v2 a:focus-visible,
.home-v2 .button:focus-visible {
  outline: 3px solid var(--v2-focus);
  outline-offset: 3px;
}

.home-v2__inner {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
}

.home-v2__band {
  padding: 52px 0;
  border-top: 1px solid var(--v2-line);
}

.home-v2__band:first-child {
  border-top: 0;
}

.home-v2__band--surface {
  background: var(--v2-surface-alt);
}

.home-v2__band--notice {
  background: var(--v2-notice);
}

.home-v2__band--final {
  background: var(--v2-primary);
  color: #fff;
}

.home-v2__hero {
  padding: 44px 0 56px;
  background: var(--v2-bg);
}

.home-v2__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.home-v2__hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.home-v2__kicker {
  margin: 0;
  color: var(--v2-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
  color: var(--v2-ink);
}

.home-v2 h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.24;
}

.home-v2 h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.42;
}

.home-v2 h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.home-v2 p {
  color: var(--v2-muted);
}

.home-v2__lead {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.86;
}

.home-v2__actions,
.home-v2__inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.home-v2 .button {
  min-height: 50px;
  border-radius: var(--v2-radius);
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.5;
}

.home-v2 .button--primary {
  background: var(--v2-accent);
  border-color: var(--v2-accent);
  color: #fff;
}

.home-v2 .button--primary:hover {
  background: var(--v2-accent-hover);
  border-color: var(--v2-accent-hover);
  color: #fff;
}

.home-v2 .button--secondary {
  background: var(--v2-surface);
  border-color: var(--v2-primary);
  color: var(--v2-primary);
}

.home-v2 .button--secondary:hover {
  background: var(--v2-primary);
  border-color: var(--v2-primary);
  color: #fff;
}

.home-v2 .button--ghost {
  background: transparent;
  border-color: var(--v2-line);
  color: var(--v2-secondary);
}

.home-v2 .button--ghost:hover {
  background: var(--v2-surface);
  border-color: var(--v2-secondary);
  color: var(--v2-secondary);
}

.home-v2__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 0;
}

.home-v2__facts div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: rgba(255,255,255,0.64);
}

.home-v2__facts dt {
  margin: 0 0 4px;
  color: var(--v2-muted);
  font-size: 13px;
  font-weight: 700;
}

.home-v2__facts dd {
  margin: 0;
  color: var(--v2-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.home-v2__hero-media {
  position: relative;
  min-height: 360px;
  border-radius: var(--v2-radius);
  overflow: hidden;
  background: var(--v2-surface);
}

.home-v2__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.home-v2__section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.home-v2__section-head p {
  margin: 0;
}

.home-v2__section-head--split {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
}

.home-v2__text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--v2-secondary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.home-v2__route-grid,
.home-v2__feature-grid,
.home-v2__guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-v2__route-card,
.home-v2__condition-card,
.home-v2__link-list a,
.home-v2__chip-row a {
  text-decoration: none;
}

.home-v2__route-card {
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-surface);
  color: var(--v2-ink);
  display: grid;
  align-content: start;
  gap: 8px;
}

.home-v2__route-card:hover,
.home-v2__condition-card:hover,
.home-v2__link-list a:hover,
.home-v2__chip-row a:hover {
  border-color: var(--v2-secondary);
  background: #F7FAFA;
  color: var(--v2-secondary);
}

.home-v2__route-card span {
  color: var(--v2-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.home-v2__route-card small {
  color: var(--v2-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2__notice-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) 1fr;
  gap: 28px;
  align-items: start;
}

.home-v2__notice-body {
  padding: 22px 24px;
  border: 1px solid rgba(35,72,70,0.2);
  border-radius: var(--v2-radius);
  background: rgba(255,255,255,0.48);
}

.home-v2__notice-body p {
  margin: 0 0 8px;
  color: var(--v2-ink);
}

.home-v2__notice-body p:last-child {
  margin-bottom: 0;
}

.home-v2__info-grid,
.home-v2__lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 20px;
}

.home-v2__info-panel,
.home-v2__step,
.home-v2__feature,
.home-v2__guidance-grid article,
.home-v2__article-list article {
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-surface);
}

.home-v2__info-panel {
  padding: 22px;
}

.home-v2__info-panel h3 {
  margin-bottom: 14px;
}

.home-v2__info-panel p {
  margin: 0 0 12px;
}

.home-v2__table-wrap {
  overflow-x: auto;
  margin: 0 0 12px;
}

.home-v2__hours-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 15px;
}

.home-v2__hours-table th,
.home-v2__hours-table td {
  padding: 11px 12px;
  border: 1px solid var(--v2-line);
  text-align: center;
  vertical-align: middle;
}

.home-v2__hours-table thead th {
  background: var(--v2-primary);
  color: #fff;
}

.home-v2__hours-table tbody th {
  background: var(--v2-surface-alt);
  color: var(--v2-ink);
  white-space: nowrap;
}

.home-v2__note {
  margin: 0;
  font-size: 14px;
}

.home-v2__condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.home-v2__condition-card {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-surface);
  color: var(--v2-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.home-v2__step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-v2__step {
  padding: 22px;
}

.home-v2__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--v2-primary);
  color: #fff;
  font-weight: 700;
}

.home-v2__step p {
  margin: 10px 0 0;
}

.home-v2__feature {
  padding: 20px;
  text-align: left;
}

.home-v2__feature img {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  object-fit: contain;
}

.home-v2__greeting {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.home-v2__greeting-photo {
  border-radius: var(--v2-radius);
  overflow: hidden;
  background: var(--v2-surface-alt);
}

.home-v2__greeting-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-v2__greeting p {
  margin: 0 0 14px;
  line-height: 1.86;
}

.home-v2__signature {
  color: var(--v2-ink);
  font-weight: 700;
  text-align: right;
}

.home-v2__link-list,
.home-v2__article-list,
.home-v2__chip-row {
  display: grid;
  gap: 10px;
}

.home-v2__link-list a,
.home-v2__chip-row a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-surface);
  color: var(--v2-ink);
  font-weight: 700;
  line-height: 1.45;
}

.home-v2__article-list article {
  padding: 16px;
}

.home-v2__article-list h3 {
  font-size: 16px;
}

.home-v2__article-list h3 a {
  color: var(--v2-ink);
  text-decoration: none;
}

.home-v2__article-list h3 a:hover {
  color: var(--v2-secondary);
  text-decoration: underline;
}

.home-v2__article-list p {
  margin: 8px 0 0;
  font-size: 13px;
}

.home-v2__guidance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v2__guidance-grid article {
  padding: 18px;
}

.home-v2__guidance-grid p {
  margin: 8px 0 0;
}

.home-v2__chip-row {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.home-v2 .cta-panel {
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: var(--v2-radius);
  background: rgba(255,255,255,0.08);
}

.home-v2 .cta-panel__links {
  margin-top: 0;
}

.home-v2 .cta-panel .button--primary {
  background: #fff;
  border-color: #fff;
  color: var(--v2-primary);
}

.home-v2 .cta-panel .button--primary:hover {
  background: var(--v2-notice);
  border-color: var(--v2-notice);
  color: var(--v2-primary);
}

.home-v2 .cta-panel .button--ghost,
.home-v2 .cta-panel .button--secondary {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.home-v2 .cta-panel .button--ghost:hover,
.home-v2 .cta-panel .button--secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

@media (min-width: 900px) {
  .home-v2 h1 {
    font-size: 44px;
  }

  .home-v2 h2 {
    font-size: 30px;
  }
}

@media (max-width: 960px) {
  .home-v2__hero-grid,
  .home-v2__notice-layout,
  .home-v2__info-grid,
  .home-v2__lower-grid {
    grid-template-columns: 1fr;
  }

  .home-v2__route-grid,
  .home-v2__feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .home-v2__band {
    padding: 38px 0;
  }

  .home-v2__hero {
    padding-top: 30px;
  }

  .home-v2 h1 {
    font-size: 32px;
  }

  .home-v2 h2 {
    font-size: 24px;
  }

  .home-v2__hero-grid {
    gap: 24px;
  }

  .home-v2__facts,
  .home-v2__step-grid,
  .home-v2__greeting,
  .home-v2__guidance-grid {
    grid-template-columns: 1fr;
  }

  .home-v2__section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-v2__hero-media,
  .home-v2__hero-media img {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .home-v2__route-grid,
  .home-v2__feature-grid {
    grid-template-columns: 1fr;
  }

  .home-v2 .button {
    width: 100%;
  }

  .home-v2__condition-grid {
    grid-template-columns: 1fr;
  }
}
