/* ==========================================================================
   訪問看護ステーションよりそい
   Sage green × White × Ivory
   ========================================================================== */

:root {
  --ivory: #f7f3ea;
  --ivory-2: #efe9dc;
  --white: #fffefb;
  --sage-pale: #e4e9de;
  --sage-soft: #c9d3c0;
  --sage: #8fa184;
  --sage-deep: #4f6249;
  --sage-ink: #3b4a37;
  --ink: #2c362a;
  --ink-soft: #5a6455;
  --sand: #b49f7c;
  --sand-pale: #f3ecdd;
  --line: rgba(44, 54, 42, 0.14);
  --line-soft: rgba(44, 54, 42, 0.08);

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1120px;
  --gutter: clamp(20px, 5.4vw, 48px);
  --section: clamp(96px, 16vw, 184px);
  --header-h: 68px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -40px rgba(44, 54, 42, 0.35);
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (min-width: 768px) { body { font-size: 16px; } }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
code { font-size: 0.9em; background: rgba(255, 255, 255, 0.7); padding: 0.1em 0.4em; border-radius: 3px; word-break: break-all; }

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  padding: 10px 18px;
  background: var(--sage-ink); color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(840px + var(--gutter) * 2); }
.center { text-align: center; }
.nb { display: inline-block; }
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

.note { font-size: 0.82em; color: var(--ink-soft); line-height: 1.9; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.center .eyebrow, .section-head .eyebrow { justify-content: center; }

.section { padding-block: var(--section); position: relative; }
.section + .section:not(.tinted) { padding-top: 0; }
.tinted + .section, .section.tinted { padding-top: var(--section); }
.tinted { background: var(--white); }

.section-head { text-align: center; margin-bottom: clamp(48px, 8vw, 88px); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 5.4vw, 2.3rem);
  line-height: 1.6;
  letter-spacing: 0.14em;
  margin-top: 14px;
}
.section-title--left { text-align: left; }
.section-lead { margin-top: 22px; color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--sage-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--outline:hover { --btn-bg: var(--sage-deep); --btn-fg: var(--white); }
.btn--primary { --btn-bg: var(--sage-deep); --btn-fg: var(--white); }
.btn--primary:hover { --btn-bg: var(--sage-ink); }
.btn--primary svg[aria-hidden] { stroke: currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 36px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: 0.1em;
  color: var(--sage-ink);
  transition: border-color 0.4s var(--ease);
}
.link-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform 0.4s var(--ease); }
.link-arrow:hover { border-color: var(--sage-deep); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--sm { margin-top: 18px; font-size: 0.88rem; }
.link-arrow--sm svg { width: 16px; height: 16px; }
.link-arrow--sm:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.5s var(--ease);
  background: rgba(247, 243, 234, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.is-home .site-header:not(.is-scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  max-width: 1440px; margin-inline: auto;
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sage-ink); }
.logo-mark { width: 34px; height: 34px; color: var(--sage-deep); flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-sub { font-size: 0.62rem; letter-spacing: 0.2em; color: var(--ink-soft); }
.logo-main { font-family: var(--font-serif); font-weight: 600; font-size: 1.32rem; letter-spacing: 0.24em; }
@media (min-width: 1024px) {
  .logo-mark { width: 40px; height: 40px; }
  .logo-main { font-size: 1.5rem; }
  .logo-sub { font-size: 0.68rem; }
}

.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
  .gnav__list { display: flex; gap: clamp(18px, 2.2vw, 36px); }
  .gnav__list a {
    position: relative;
    text-decoration: none; font-size: 0.88rem; letter-spacing: 0.12em;
    padding-block: 8px;
  }
  .gnav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease);
  }
  .gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .gnav__tel {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--sage-deep); color: var(--white);
    text-decoration: none;
    font-family: var(--font-en); font-size: 1.15rem; letter-spacing: 0.08em; line-height: 1;
    transition: background-color 0.4s var(--ease);
  }
  .gnav__tel:hover { background: var(--sage-ink); }
  .gnav__tel svg { width: 15px; height: 15px; fill: currentColor; }
}

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 4px 0 12px;
  border: 0; background: none; cursor: pointer;
  color: var(--sage-ink);
}
.menu-btn__label { font-family: var(--font-en); font-size: 0.9rem; letter-spacing: 0.2em; }
.menu-btn__lines { position: relative; width: 28px; height: 10px; }
.menu-btn__lines span {
  position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-btn__lines span:first-child { top: 0; }
.menu-btn__lines span:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:first-child { top: 5px; transform: rotate(20deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:last-child { top: 5px; transform: rotate(-20deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ivory);
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.drawer[hidden] { display: block; }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.drawer__inner { max-width: 520px; margin-inline: auto; }
.drawer__list li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.drawer.is-open .drawer__list li { opacity: 1; transform: none; }
.drawer.is-open .drawer__list li:nth-child(2) { transition-delay: 0.04s; }
.drawer.is-open .drawer__list li:nth-child(3) { transition-delay: 0.08s; }
.drawer.is-open .drawer__list li:nth-child(4) { transition-delay: 0.12s; }
.drawer.is-open .drawer__list li:nth-child(5) { transition-delay: 0.16s; }
.drawer.is-open .drawer__list li:nth-child(6) { transition-delay: 0.2s; }
.drawer__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 2px;
  font-family: var(--font-serif); font-size: 1.12rem; letter-spacing: 0.14em;
  text-decoration: none;
}
.drawer__list a[aria-current="page"] { color: var(--sage-deep); }
.drawer__list .en {
  order: 2;
  font-family: var(--font-en); font-style: italic; font-size: 0.95rem; color: #6f8466; letter-spacing: 0.08em;
}
.drawer__contact {
  margin-top: 36px; padding: 28px 24px;
  background: var(--white); border-radius: var(--radius);
  text-align: center;
}
.drawer__label { font-size: 0.82rem; color: var(--ink-soft); }
.drawer__tel {
  display: block; margin-top: 4px;
  font-family: var(--font-en); font-size: 2rem; letter-spacing: 0.06em; line-height: 1.4;
  color: var(--sage-ink); text-decoration: none;
}
.drawer__hours, .drawer__fax { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.8; }
body.is-menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 580px; max-height: 1100px;
  overflow: hidden;
  color: var(--sage-ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%;
  animation: hero-zoom 9s var(--ease) both;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.5) 0%, rgba(247, 243, 234, 0) 26%),
    linear-gradient(0deg, rgba(247, 243, 234, 0.85) 0%, rgba(247, 243, 234, 0) 38%);
}
.hero__content {
  position: absolute; inset: calc(var(--header-h) + 4vh) var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(88px, 14vh, 130px);
  max-width: 1440px; margin-inline: auto;
}
.hero__title {
  position: absolute; top: 0; right: 0;
  white-space: nowrap;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, min(7.4vw, 5vh), 3.2rem);
  line-height: 1.95;
  letter-spacing: 0.26em;
  color: var(--sage-ink);
  text-shadow: 0 0 30px rgba(255, 254, 251, 0.9);
}
.hero__line { display: block; overflow: hidden; }
.hero__line:nth-child(2) { padding-top: 2.6em; }
.hero__meta { display: flex; flex-direction: column; gap: 14px; }
.hero__name { font-size: 0.82rem; letter-spacing: 0.24em; line-height: 1.7; }
.hero__name strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.3em; }
.hero__area {
  font-size: 0.78rem; letter-spacing: 0.18em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
}
.hero__area::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  color: var(--sage-ink);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(var(--sage-ink) 50%, transparent 50%) 0 0 / 1px 200%;
  animation: scroll-line 2.4s var(--ease) infinite;
}
@media (min-width: 768px) {
  .hero__content { padding-bottom: clamp(96px, 16vh, 160px); }
  .hero__title { margin-right: clamp(0px, 6vw, 120px); }
  .hero__name strong { font-size: 2rem; }
}

/* hero entrance */
.hero__line { animation: hero-line 1.6s var(--ease) both; }
.hero__line:nth-child(1) { animation-delay: 0.3s; }
.hero__line:nth-child(2) { animation-delay: 0.75s; }
.hero__meta { animation: fade-up 1.4s var(--ease) 1.2s both; }
.hero__scroll { animation: fade-in 1.4s var(--ease) 1.6s both; }

@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-line { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-0.4em); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll-line { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- Philosophy (home) ---------- */
.philosophy { padding-top: var(--section); }
.philosophy__inner { display: grid; gap: 56px; justify-items: center; }
.philosophy__head { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.philosophy__title {
  writing-mode: vertical-rl;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.6rem, 6.6vw, 2.6rem);
  letter-spacing: 0.3em; line-height: 2.1;
  color: var(--sage-ink);
}
.philosophy__title span:nth-child(2) { padding-top: 2.4em; display: block; }
.philosophy__title span:nth-child(1) { display: block; }
.philosophy__body { max-width: 34em; }
.philosophy__body p + p { margin-top: 1.6em; }
@media (min-width: 900px) {
  .philosophy__inner { grid-template-columns: auto 1fr; gap: clamp(64px, 10vw, 160px); align-items: center; justify-content: center; }
  .philosophy__head { flex-direction: row-reverse; align-items: flex-start; }
  .philosophy__head .eyebrow { writing-mode: vertical-rl; }
  .philosophy__head .eyebrow::before { width: 1px; height: 28px; }
  .philosophy__body { line-height: 2.3; }
}

/* ---------- Services preview ---------- */
.service-chips {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}
.service-chips li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 150px; padding: 26px 10px;
  background: var(--white);
  text-align: center;
  font-size: 0.86rem; line-height: 1.7; letter-spacing: 0.06em;
}
.service-chips svg { width: 42px; height: 42px; color: var(--sage-deep); }
@media (min-width: 768px) {
  .service-chips { grid-template-columns: repeat(3, 1fr); }
  .service-chips li { min-height: 180px; font-size: 0.92rem; }
}
@media (min-width: 1024px) { .service-chips { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Split ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split__body p + p { margin-top: 1.2em; }
.split__body .section-title { margin-bottom: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(64px, 9vw, 128px); }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__body { order: 1; }
}
.split__media { max-width: 460px; width: 86%; justify-self: center; }
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-pale);
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--soft { border-radius: var(--radius) var(--radius) 999px 999px; }

/* ---------- Flow preview ---------- */
.flow-preview { background: transparent; }
.flow-mini {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 920px; margin: 0 auto 56px;
  counter-reset: none;
}
.flow-mini li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 30px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.6);
}
.flow-mini__num { font-family: var(--font-en); font-style: italic; font-size: 1.6rem; color: #6f8466; line-height: 1; }
.flow-mini__text { font-family: var(--font-serif); font-size: 0.98rem; letter-spacing: 0.1em; }
@media (min-width: 768px) {
  .flow-mini { grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .flow-mini li { border: 0; border-radius: 0; padding: 40px 12px; }
  .flow-mini li + li { border-left: 1px solid var(--line); }
}

/* ---------- Staff preview ---------- */
.staff-mini { display: grid; gap: 0; border-top: 1px solid var(--line); }
.staff-mini > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.staff-mini dt { font-size: 0.82rem; color: var(--sage-deep); letter-spacing: 0.12em; padding-top: 0.3em; }
.staff-mini dd { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.18em; line-height: 1.7; }
.staff-mini small { display: block; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Info ---------- */
.info { background: transparent; }
.info-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.info-card {
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.info-card__icon { width: 30px; height: 30px; fill: none; stroke: var(--sage-deep); stroke-width: 1.3; margin-bottom: 18px; }
.info-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; letter-spacing: 0.14em; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-card__main { font-size: 1.02rem; color: var(--ink); }
.info-card p { color: var(--ink-soft); }
.info-card .note { margin-top: 10px; }

.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags li {
  padding: 4px 16px;
  border: 1px solid var(--sage-soft);
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--sage-ink);
  font-size: 0.9rem; letter-spacing: 0.12em; line-height: 1.9;
}

/* ---------- Contact band ---------- */
.contact-band {
  background: var(--sage-ink);
  color: var(--ivory);
  padding-block: clamp(88px, 14vw, 150px);
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: ""; position: absolute; right: -140px; top: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 211, 192, 0.18), transparent 70%);
}
.contact-band__inner { position: relative; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.contact-band .eyebrow { color: var(--sage-soft); justify-content: center; }
.contact-band__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 5vw, 2.1rem); letter-spacing: 0.12em; line-height: 1.7; margin-top: 16px; }
.contact-band__lead { margin-top: 18px; font-size: 0.92rem; color: rgba(247, 243, 234, 0.82); }
.contact-band__grid { display: grid; gap: 14px; margin-top: 48px; text-align: left; }
@media (min-width: 900px) { .contact-band__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 20px; } }
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 26px 28px;
  border: 1px solid rgba(247, 243, 234, 0.22);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.contact-card:hover { background: rgba(247, 243, 234, 0.06); border-color: rgba(247, 243, 234, 0.5); }
.contact-card--tel { background: var(--ivory); color: var(--sage-ink); border-color: var(--ivory); }
a.contact-card--tel:hover { background: var(--white); }
.contact-card__label { font-size: 0.78rem; letter-spacing: 0.16em; opacity: 0.8; }
.contact-card__value { font-family: var(--font-en); font-size: 1.85rem; letter-spacing: 0.06em; line-height: 1.35; }
.contact-card--tel .contact-card__value { font-size: 2.2rem; }
.contact-card__value--mail { font-family: var(--font-sans); font-size: 0.92rem; letter-spacing: 0.02em; word-break: break-all; line-height: 1.8; padding-block: 6px; }
.contact-card__note { font-size: 0.76rem; opacity: 0.78; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ivory-2); padding: 80px 0 calc(96px + env(safe-area-inset-bottom)); font-size: 0.86rem; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 28px; } }
.site-footer__inner {
  display: grid; gap: 40px;
  max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.1fr 1.4fr 1fr; gap: 56px; } }
.site-footer__philosophy { margin-top: 18px; font-family: var(--font-serif); letter-spacing: 0.18em; color: var(--sage-deep); }
.site-footer__info p + p { margin-top: 8px; }
.site-footer__info { color: var(--ink-soft); line-height: 1.9; }
.site-footer__info a { color: var(--ink); }
.site-footer__info a[href^="mailto"] { word-break: break-all; }
.site-footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (min-width: 900px) { .site-footer__nav ul { grid-template-columns: 1fr; } }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__copy { margin-top: 56px; text-align: center; color: var(--ink-soft); font-family: var(--font-en); letter-spacing: 0.1em; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 234, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line-soft);
  transition: transform 0.5s var(--ease);
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
}
.sticky-cta__btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sticky-cta__btn--tel { background: var(--sage-deep); color: var(--white); font-family: var(--font-en); font-size: 1.3rem; letter-spacing: 0.06em; }
.sticky-cta__btn--tel small { display: block; font-family: var(--font-sans); font-size: 0.64rem; letter-spacing: 0.14em; opacity: 0.85; margin-bottom: 2px; }
.sticky-cta__btn--map { border: 1px solid var(--sage-deep); color: var(--sage-ink); font-size: 0.84rem; letter-spacing: 0.1em; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 12vw, 128px)) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1;
  right: -12vw; top: -8vw;
  width: min(68vw, 560px); aspect-ratio: 1;
  background: url("/assets/img/leaf.svg") center / contain no-repeat;
  opacity: 0.5;
  animation: fade-in 2s var(--ease) both;
}
.page-hero { isolation: isolate; }
.page-hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 7vw, 3rem);
  letter-spacing: 0.16em; line-height: 1.5;
  margin-top: 16px;
  animation: fade-up 1.2s var(--ease) both;
}
.breadcrumb { margin-top: 32px; font-size: 0.78rem; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-toc { border-block: 1px solid var(--line); background: rgba(255, 254, 251, 0.5); }
.page-toc ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.page-toc ul::-webkit-scrollbar { display: none; }
.page-toc a {
  display: inline-flex; align-items: center; white-space: nowrap;
  min-height: 40px; padding: 0 18px;
  border-radius: 999px;
  text-decoration: none; font-size: 0.86rem; letter-spacing: 0.08em;
  transition: background-color 0.3s var(--ease);
}
.page-toc a::before { content: "↓"; margin-right: 8px; color: var(--sage); font-size: 0.8em; }
.page-toc a:hover { background: var(--sage-pale); }
.page-toc + .section { padding-top: var(--section); }
.page-hero + .section { padding-top: clamp(40px, 7vw, 80px); }

/* ---------- About ---------- */
.statement__inner { text-align: center; }
.statement__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 8.4vw, 3.6rem);
  letter-spacing: 0.22em; line-height: 1.75;
  margin-top: 24px;
  color: var(--sage-ink);
}
.statement__body { max-width: 36em; margin: 48px auto 0; text-align: left; line-height: 2.3; }
.statement__body p + p { margin-top: 1.6em; }
@media (min-width: 768px) { .statement__body { text-align: center; } }

.values-list { display: grid; gap: 20px; }
@media (min-width: 900px) { .values-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.value {
  padding: 44px 32px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 2px solid var(--sage-soft);
}
.value__num { font-family: var(--font-en); font-style: italic; font-size: 2.6rem; line-height: 1; color: #6f8466; }
.value__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.16rem; letter-spacing: 0.1em; line-height: 1.7; margin: 22px 0 16px; }
.value p { color: var(--ink-soft); font-size: 0.93rem; }

.link-cards { display: grid; gap: 14px; }
@media (min-width: 900px) { .link-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.link-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link-card:hover { background: var(--white); border-color: var(--sage-soft); }
.link-card .eyebrow::before { display: none; }
.link-card__title { font-family: var(--font-serif); font-size: 1.12rem; letter-spacing: 0.12em; }
.link-card svg { position: absolute; right: 26px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--sage-deep); stroke-width: 1.3; transition: transform 0.4s var(--ease); }
.link-card:hover svg { transform: translateX(5px); }

/* ---------- Service page ---------- */
.service-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .service-list { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 80px); }
}
.service-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-item__icon {
  width: 64px; height: 64px; padding: 13px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
}
.service-item h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.14rem; letter-spacing: 0.1em; line-height: 1.6; margin: 6px 0 10px; }
.service-item p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.95; }

.system-chart {
  position: relative;
  display: grid; gap: 14px;
  max-width: 880px; margin: 0 auto 64px;
}
.system-chart__center, .system-chart__node {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius);
  position: relative;
}
.system-chart__center {
  background: var(--sage-deep); color: var(--white);
  font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0.12em; line-height: 1.7;
  border-radius: 999px;
  padding: 30px;
}
.system-chart__node { background: var(--ivory); border: 1px solid var(--line); }
.system-chart__node--us { background: var(--sage-pale); border-color: var(--sage-soft); }
.system-chart__role { font-family: var(--font-serif); font-size: 1.06rem; letter-spacing: 0.12em; }
.system-chart__desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.75; margin-top: 4px; }
.system-chart__node::before {
  content: ""; position: absolute; left: 50%; top: -15px; height: 15px; width: 1px;
  border-left: 1px dashed var(--sage);
}
@media (min-width: 768px) {
  .system-chart {
    grid-template-columns: 1fr 1.05fr 1fr;
    grid-template-areas: ". doctor ." "care center us";
    gap: 40px 28px; align-items: center;
  }
  .system-chart__center { grid-area: center; aspect-ratio: 1; border-radius: 50%; }
  .system-chart__node--doctor { grid-area: doctor; }
  .system-chart__node--care { grid-area: care; }
  .system-chart__node--us { grid-area: us; }
  .system-chart__node::before { display: none; }
  .system-chart__node--doctor::after,
  .system-chart__node--care::after,
  .system-chart__node--us::after { content: ""; position: absolute; border-color: var(--sage); border-style: dashed; border-width: 0; }
  .system-chart__node--doctor::after { left: 50%; top: 100%; height: 40px; border-left-width: 1px; }
  .system-chart__node--care::after { left: 100%; top: 50%; width: 28px; border-top-width: 1px; }
  .system-chart__node--us::after { right: 100%; top: 50%; width: 28px; border-top-width: 1px; }
}

.insurance { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 768px) { .insurance { grid-template-columns: 1fr 1fr; gap: 24px; } }
.insurance__card { padding: 36px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.insurance__tag { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--sage-deep); color: var(--white); font-size: 0.76rem; letter-spacing: 0.14em; }
.insurance__card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; letter-spacing: 0.1em; margin: 16px 0 10px; }
.insurance__card p:last-child { color: var(--ink-soft); font-size: 0.93rem; }
.system .note.center { margin-bottom: 48px; }

/* ---------- Guide page ---------- */
.flow { position: relative; }
.flow__step {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding-bottom: 44px;
}
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before {
  content: ""; position: absolute; left: 28px; top: 56px; bottom: 0;
  width: 1px; background: var(--sage-soft);
}
.flow__step:last-child::before { display: none; }
.flow__num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--sage);
  background: var(--ivory);
  font-family: var(--font-en); font-style: italic; font-size: 1.3rem; color: var(--sage-deep);
}
.flow__body { padding: 10px 0 0; }
.flow__body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.16rem; letter-spacing: 0.1em; line-height: 1.6; margin-bottom: 10px; }
.flow__body p { color: var(--ink-soft); font-size: 0.94rem; }
.flow__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.flow__contact a { color: var(--sage-ink); font-weight: 500; }
@media (min-width: 768px) {
  .flow__step { grid-template-columns: 72px 1fr; gap: 36px; padding-bottom: 56px; }
  .flow__num { width: 72px; height: 72px; font-size: 1.5rem; }
  .flow__step::before { left: 36px; top: 72px; }
  .flow__body { padding: 16px 0 0; }
}

.price-basics { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .price-basics { grid-template-columns: 1fr 1fr; gap: 24px; } }
.price-basic { padding: 32px 28px; border-radius: var(--radius); background: var(--ivory); }
.price-basic h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.08rem; letter-spacing: 0.1em; margin-bottom: 10px; padding-left: 14px; border-left: 2px solid var(--sage); line-height: 1.5; }
.price-basic p { color: var(--ink-soft); font-size: 0.93rem; }

.doc-card {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 24px;
}
.doc-card__icon { width: 40px; height: 40px; fill: none; stroke: var(--sage-deep); stroke-width: 1.2; }
.doc-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.08rem; letter-spacing: 0.1em; }
.doc-card p { font-size: 0.86rem; color: var(--ink-soft); }
.doc-card .btn { grid-column: 1 / -1; }
@media (min-width: 768px) { .doc-card { grid-template-columns: auto 1fr auto; } .doc-card .btn { grid-column: auto; } }

.holiday-box { margin-top: 48px; padding: 36px 30px; border-radius: var(--radius); background: var(--ivory-2); }
.holiday-box h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.1em; margin-bottom: 16px; }
.holiday-box .note { margin-top: 12px; }
.kv > div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--sage-deep); font-size: 0.88rem; }

/* 公開前の確認枠（本番公開前にすべて解消してください） */
.pending {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px dashed var(--sand);
  border-radius: var(--radius);
  background: var(--sand-pale);
  font-size: 0.88rem; line-height: 1.9; color: #5b4c33;
}
.pending__label {
  display: inline-block; margin-bottom: 8px;
  padding: 1px 12px; border-radius: 999px;
  background: #7f6b47; color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.12em;
}
.pending--inline { margin: 20px 0 0; }

/* ---------- Staff page ---------- */
.staff-list { display: grid; gap: clamp(88px, 14vw, 160px); }
.staff { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .staff { grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(56px, 8vw, 112px); align-items: center; }
  .staff--reverse .staff__photo { order: 2; }
}
.staff__photo { width: 78%; max-width: 400px; justify-self: center; }
@media (min-width: 900px) { .staff__photo { width: 100%; } }
.photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background:
    url("/assets/img/leaf.svg") 120% 110% / 70% no-repeat,
    linear-gradient(160deg, var(--sage-pale), var(--sage-soft));
  color: var(--sage-deep);
}
.photo-slot span { font-family: var(--font-en); font-style: italic; font-size: 1.3rem; letter-spacing: 0.2em; }
.photo-slot small { font-size: 0.72rem; letter-spacing: 0.14em; }
.staff__photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.staff__role { font-size: 0.86rem; letter-spacing: 0.2em; color: var(--sage-deep); display: flex; align-items: center; gap: 10px; }
.staff__role::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.staff__name { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 6vw, 2.3rem); letter-spacing: 0.24em; line-height: 1.6; margin: 10px 0 24px; }
.staff__qual { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-bottom: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.staff__qual dt { font-size: 0.84rem; color: var(--ink-soft); padding-top: 4px; }
.qual-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.qual-tags li { padding: 3px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--sage-soft); font-size: 0.86rem; letter-spacing: 0.08em; line-height: 1.8; }
.staff__text p + p { margin-top: 1.2em; }

/* ---------- Access page ---------- */
.outline { border-top: 1px solid var(--line); }
.outline > div { display: grid; gap: 4px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.outline dt { font-size: 0.82rem; color: var(--sage-deep); letter-spacing: 0.14em; }
.outline dd { word-break: break-word; }
.outline .note { display: block; margin-top: 4px; }
.outline .area-tags { margin-top: 4px; }
@media (min-width: 768px) {
  .outline > div { grid-template-columns: 9em 1fr; gap: 24px; padding: 26px 8px; }
  .outline dt { padding-top: 0.2em; }
}
.tel-link { font-family: var(--font-en); font-size: 1.4rem; letter-spacing: 0.06em; color: var(--sage-ink); }

.map { border-radius: var(--radius); overflow: hidden; background: var(--sage-pale); aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.6) sepia(0.08); }
@media (min-width: 900px) { .map { aspect-ratio: 21 / 9; } }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.map-actions .btn svg { width: 18px; height: 18px; }
.map-actions .btn--primary svg { fill: none; stroke: currentColor; }

.area-map { max-width: 560px; margin: 0 auto 32px; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 560px; margin: 0 auto 20px; }
.area-list li {
  padding: 18px 10px; text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-soft);
  font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0.2em;
}
@media (min-width: 768px) { .area-list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 404 ---------- */
.notfound { padding: calc(var(--header-h) + 120px) 0 160px; }
.notfound p { margin: 20px 0 40px; color: var(--ink-soft); }

/* ---------- Reveal animation ---------- */
.js .reveal,
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible,
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}

@media print {
  .site-header, .sticky-cta, .drawer, .hero__scroll { display: none !important; }
  body { padding: 0; background: #fff; }
  .js .reveal, .js .reveal-group > * { opacity: 1 !important; transform: none !important; }
}
