:root {
  --bg: #F6F1EA;
  --bg-alt: #EDE5D8;
  --paper: #FBF8F3;
  --ink: #2A2620;
  --ink-soft: #5B534A;
  --ink-mute: #8A8278;
  --line: #D9CFBF;
  --line-soft: #E7DECD;
  --accent: #5A5A3A;
  --accent-soft: #8A8A5A;
  --highlight: #B89A5E;
  --serif: "Shippori Mincho", "Cormorant Garamond", "游明朝", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --latin-serif: "Cormorant Garamond", "Shippori Mincho", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
::selection { background: var(--accent); color: var(--paper); }

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 800px at 10% -10%, color-mix(in oklch, var(--highlight) 6%, transparent), transparent 60%),
    radial-gradient(900px 600px at 110% 20%, color-mix(in oklch, var(--accent) 5%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

/* line-break utilities */
.br-pc { display: inline; }
.br-sp { display: none; }

/* ============ TOP RIBBON (online-only banner) ============ */
.ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.ribbon__badge {
  font-family: var(--latin-serif); font-style: italic;
  color: var(--highlight);
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ribbon__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #06C755;
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.2);
  display: inline-block;
}
.ribbon__text {
  display: inline-flex; align-items: center; gap: 10px;
}
.ribbon__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 20px;
  border-left: 1px solid color-mix(in oklch, var(--paper) 30%, transparent);
  cursor: pointer;
}

/* ============ ONLINE SECTION ============ */
.online {
  padding: 120px 40px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.online__inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  padding: 80px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.online__deco {
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklch, var(--highlight) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.online__body { position: relative; z-index: 1; }
.online__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid color-mix(in oklch, var(--highlight) 70%, transparent);
  color: color-mix(in oklch, var(--highlight) 90%, white);
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.online__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}
.online__title-em {
  font-family: var(--latin-serif);
  font-style: italic;
  color: color-mix(in oklch, var(--highlight) 90%, white);
}
.online__text {
  font-size: 14px; line-height: 2;
  color: color-mix(in oklch, var(--paper) 78%, transparent);
  max-width: 520px;
  margin-bottom: 36px;
}
.online__text strong { color: var(--paper); font-weight: 500; }
.online__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  max-width: 560px;
}
.online__step {
  padding-top: 16px;
  border-top: 1px solid color-mix(in oklch, var(--paper) 24%, transparent);
}
.online__step-num {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  color: color-mix(in oklch, var(--highlight) 90%, white);
  margin-bottom: 6px;
}
.online__step-label {
  font-size: 12.5px; line-height: 1.7;
  color: var(--paper);
}
.online__cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 26px;
  background: #06C755;
  color: #fff;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease;
}
.btn-line:hover { transform: translateY(-2px); }
.online__card {
  background: color-mix(in oklch, var(--paper) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--paper) 18%, transparent);
  padding: 32px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  position: relative; z-index: 1;
}
.online__card-label {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  color: color-mix(in oklch, var(--highlight) 90%, white);
  margin-bottom: 12px;
}
.online__card-title {
  font-family: var(--serif); font-size: 22px; line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.online__card-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px;
  color: color-mix(in oklch, var(--paper) 80%, transparent);
}
.online__card-list li {
  display: flex; align-items: flex-start; gap: 10px;
}
.online__coming {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px dashed color-mix(in oklch, var(--paper) 35%, transparent);
  border-radius: 4px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: color-mix(in oklch, var(--paper) 60%, transparent);
  display: flex; align-items: center; justify-content: space-between;
}
.online__coming-em {
  color: color-mix(in oklch, var(--highlight) 90%, white);
}

/* ============ ONLINE FAB ============ */
.online-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.online-fab__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: #06C755;
  color: #fff;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 28px -12px rgba(6, 199, 85, 0.5);
  opacity: 0.95;
  transition: transform .25s;
}
.online-fab__btn:hover { transform: translateY(-2px); }

/* fade-in util */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 50;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition:
    padding .4s cubic-bezier(.4,.0,.2,1),
    background-color .3s ease,
    border-color .3s ease,
    backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav.is-scrolled {
  padding: 10px 28px;
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mark { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo {
  display: block;
  width: auto;
  height: 92px;
  transition: height .4s cubic-bezier(.4,.0,.2,1);
}
.nav.is-scrolled .nav__logo { height: 48px; }
.nav__mark-glyph {
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__mark-sep { width: 1px; height: 16px; background: var(--line); }
.nav__mark-text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-width: 0;
  overflow: hidden;
}
.nav__link {
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.nav__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .25s;
  white-space: nowrap;
  cursor: pointer;
}
.nav__cta:hover { transform: translateY(-1px); }
.nav__cta-mobile-label { display: none; }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;
}
.nav__menu-panel {
  position: fixed;
  top: calc(40px + 110px); /* ribbon (40) + initial nav height */
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 28px 28px;
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: 14px;
  transition: top .4s cubic-bezier(.4,.0,.2,1);
}
.nav.is-scrolled ~ .nav__menu-panel,
body:has(.nav.is-scrolled) .nav__menu-panel {
  top: calc(40px + 64px); /* shrunk nav height */
}
.nav__menu-panel.is-open { display: flex; }
.nav__menu-panel a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 200px 40px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.eyebrow__line { width: 44px; height: 1px; background: var(--ink-soft); }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: pretty;
}
.hero__title-em {
  font-family: var(--latin-serif);
  font-style: italic;
  font-weight: 300;
}
.hero__title-latin {
  font-family: var(--latin-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--ink-soft);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero__lead {
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
  max-width: 440px;
  margin-bottom: 44px;
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 34px;
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .3s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.hero__image-col { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.hero__grid-main { grid-column: 1 / 2; grid-row: 1 / 3; align-self: stretch; }
.hero__grid-a { grid-column: 2 / 3; grid-row: 1 / 2; }
.hero__grid-b { grid-column: 2 / 3; grid-row: 2 / 3; }
.hero__no {
  position: absolute; top: -40px; right: -10px;
  font-family: var(--latin-serif); font-style: italic;
  font-size: 14px; color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.hero__no-em { color: var(--highlight); }

.marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px; color: var(--ink-soft);
  overflow: hidden; white-space: nowrap;
}
.marquee__inner {
  display: inline-block;
  animation: scroll-left 40s linear infinite;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ IMAGE FIGURE ============ */
.img {
  margin: 0;
  position: relative;
}
.img__frame {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.img__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.img--1-1 .img__frame { aspect-ratio: 1/1; }
.img--3-4 .img__frame { aspect-ratio: 3/4; }
.img--3-43 .img__frame { aspect-ratio: 3/4.3; }
.img--4-3 .img__frame { aspect-ratio: 4/3; }

/* ============ PLACEHOLDER ============ */
.ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.ph--warm  { background: #E8DDC8; --ph-fg: #B89A5E; --ph-ink: #5A5040; }
.ph--sand  { background: #D9CBB4; --ph-fg: #8F7A52; --ph-ink: #4A4030; }
.ph--olive { background: #B8B090; --ph-fg: #5A5A3A; --ph-ink: #2F2F20; }
.ph--ink   { background: #2A2620; --ph-fg: #8A7A5A; --ph-ink: #E8DDC8; }
.ph--soft  { background: #EFE6D5; --ph-fg: #CFBE9A; --ph-ink: #6A604E; }
.ph--1-1 { aspect-ratio: 1/1; }
.ph--3-4 { aspect-ratio: 3/4; }
.ph--3-43 { aspect-ratio: 3/4.3; }
.ph--4-3 { aspect-ratio: 4/3; }
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,
    color-mix(in srgb, var(--ph-fg) 35%, transparent) 0 1.2px,
    transparent 1.2px 4px);
}
.ph__label {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-ink);
  opacity: 0.8;
}
.ph__label span {
  border-top: 1px solid var(--ph-ink);
  padding-top: 6px;
}

/* ============ SECTION MARK / COMMON ============ */
.section-mark {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 14px; letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.section-mark__no { color: var(--highlight); }
.section-mark__dash { width: 28px; height: 1px; background: var(--ink-mute); }
.heading-em {
  color: var(--highlight);
  font-style: italic;
  font-family: var(--latin-serif);
  font-weight: 400;
}

/* ============ CONCEPT ============ */
.concept {
  position: relative;
  padding: 160px 40px;
  background: var(--bg-alt);
}
.concept__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
}
.concept__image-col {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 20px;
  align-content: start;
}
.concept__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.concept__quote {
  padding: 28px 32px;
  border-left: 1px solid var(--highlight);
  font-family: var(--serif);
  font-size: 18px; line-height: 2;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-top: 24px;
}
.concept__quote-em { color: var(--highlight); }
.concept__text { position: relative; padding-top: 20px; }
.concept__big-letter {
  position: absolute;
  top: -64px; right: -20px;
  font-family: var(--latin-serif); font-style: italic;
  font-size: 160px; line-height: 1;
  color: color-mix(in oklch, var(--highlight) 40%, transparent);
  pointer-events: none;
}
.concept__heading {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 48px;
  text-wrap: pretty;
}
.concept__body,
.concept__body-2 {
  font-size: 14.5px; line-height: 2.15;
  color: var(--ink-soft);
  max-width: 540px;
}
.concept__body-2 {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.concept__body-2-em { color: var(--ink); font-weight: 500; }
.concept__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.concept__pillar {
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--paper) 60%, transparent);
  border-radius: 2px;
}
.concept__pillar-label {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px; color: var(--highlight);
  margin-bottom: 8px;
}
.concept__pillar-ja {
  font-family: var(--serif); font-size: 20px; line-height: 1.3;
  color: var(--ink); letter-spacing: 0.04em;
}
.concept__pillar-sub {
  font-size: 13px; margin-left: 8px; color: var(--ink-mute);
}

/* ============ SERVICES ============ */
.services {
  padding: 160px 40px;
  background: var(--bg);
  position: relative;
}
.services__inner { max-width: 1280px; margin: 0 auto; }
.services__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 100px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.services__heading {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}
.services__sub {
  font-size: 14px; line-height: 2; color: var(--ink-soft);
  max-width: 440px;
}
.service-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background .3s, padding .3s;
}
.service-row:hover {
  background: color-mix(in oklch, var(--paper) 55%, transparent);
  padding-left: 12px;
  padding-right: 12px;
}
.service-row__num {
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--ink-mute);
  font-weight: 300;
}
.service-row__title { display: flex; flex-direction: column; gap: 6px; }
.service-row__title-inner { display: flex; align-items: center; gap: 14px; }
.service-row__icon { color: var(--ink-soft); margin-top: 4px; }
.service-row__ja {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.4;
}
.service-row__latin {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 14px; color: var(--highlight);
  letter-spacing: 0.04em;
}
.service-row__desc {
  font-size: 13.5px; line-height: 2; color: var(--ink-soft);
}
.service-row__tags {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 10px;
}
.service-row__tags-inner {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end;
}
.tag {
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.service-row__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
}
.service-details {
  grid-column: 2 / -1;
  padding-top: 24px;
  display: grid;
  gap: 14px;
}
.service-details.is-hidden { display: none; }
.service-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.service-detail__label {
  font-family: var(--latin-serif); font-style: italic;
  color: var(--ink);
}
.services__end { border-top: 1px solid var(--line); }

/* ============ FEATURES ============ */
.features {
  padding: 160px 40px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.features__inner { max-width: 1280px; margin: 0 auto; }
.features__heading {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 80px;
  max-width: 720px;
  text-wrap: pretty;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px color-mix(in oklch, var(--ink) 30%, transparent);
}
.feature-card__num {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  color: var(--highlight);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.feature-card__img { margin: 0 -32px 28px; }
.feature-card__ja {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 16px;
}
.feature-card__ja span { display: block; }
.feature-card__latin {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.feature-card__body {
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin-top: auto;
}
.feature-card__tags {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============ DOCTOR ============ */
.doctor {
  padding: 160px 40px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.doctor__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.doctor .section-mark { color: color-mix(in oklch, var(--paper) 60%, transparent); }
.doctor .section-mark__dash { background: color-mix(in oklch, var(--paper) 40%, transparent); }
.doctor__img-wrap { position: relative; }
.doctor__caption {
  margin-top: 20px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--latin-serif); font-style: italic;
  font-size: 13px;
  color: color-mix(in oklch, var(--paper) 60%, transparent);
}
.doctor__body { position: relative; padding-top: 12px; }
.doctor__big-letter {
  position: absolute;
  top: -80px; left: -40px;
  font-family: var(--latin-serif); font-style: italic;
  font-size: 200px; line-height: 1;
  color: color-mix(in oklch, var(--highlight) 35%, transparent);
  pointer-events: none;
}
.doctor__title {
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: 14px;
  color: color-mix(in oklch, var(--paper) 70%, transparent);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.doctor__name {
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.doctor__name-latin {
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: 18px;
  color: color-mix(in oklch, var(--paper) 60%, transparent);
  margin-bottom: 28px;
}
.doctor__credentials {
  padding: 20px 0;
  margin-bottom: 36px;
  border-top: 1px solid color-mix(in oklch, var(--paper) 20%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--paper) 20%, transparent);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.doctor__cred-label {
  font-family: var(--latin-serif); font-style: italic;
  color: color-mix(in oklch, var(--paper) 55%, transparent);
}
.doctor__cred-value { color: var(--paper); }
.doctor__pullquote {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin: 0 0 32px;
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--highlight);
}
.doctor__pullquote-em {
  color: var(--highlight);
  font-style: italic;
  font-family: var(--latin-serif);
}
.doctor__message {
  font-size: 13.5px;
  line-height: 2.15;
  color: color-mix(in oklch, var(--paper) 78%, transparent);
  max-width: 580px;
}
.doctor__message-em { color: var(--paper); font-weight: 500; }
.doctor__divider {
  margin: 28px 0;
  height: 1px;
  background: color-mix(in oklch, var(--paper) 20%, transparent);
  max-width: 580px;
}
.doctor__signature {
  margin-top: 40px;
  font-family: var(--latin-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--paper);
}

/* ============ ACCESS ============ */
.access {
  padding: 160px 40px 100px;
  background: var(--bg);
}
.access__cta-banner {
  max-width: 1280px;
  margin: 0 auto 120px;
  padding: 80px 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.access__cta-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 20px;
}
.access__cta-sub {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2;
  max-width: 460px;
}
.access__cta-right {
  display: flex; flex-direction: column; gap: 16px;
}
.cta-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .3s, color .3s, transform .3s;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn--primary { background: var(--ink); color: var(--paper); }
.cta-btn--phone {
  border: none; padding: 8px 28px;
  justify-content: center; gap: 14px;
}
.cta-btn--phone span.num {
  font-family: var(--latin-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.access__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: stretch;
}
.access__heading {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 44px;
}
.access__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.access__table th {
  text-align: left;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  width: 120px;
  font-family: var(--latin-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mute);
  vertical-align: top;
}
.access__table td {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.9;
}
.access__tel { font-family: var(--latin-serif); font-size: 18px; }
.access__email {
  font-family: var(--latin-serif);
  font-size: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s, color .2s;
}
.access__email:hover { color: var(--highlight); border-bottom-color: var(--highlight); }
.access__hours {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: 2px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.access__hours-top {
  display: flex; justify-content: space-between; align-items: baseline;
}
.access__hours-top strong {
  color: var(--ink); font-weight: 500; letter-spacing: 0.1em;
}
.access__hours-top span {
  font-family: var(--latin-serif); font-style: italic;
}
.access__hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.access__hours-table th,
.access__hours-table td {
  padding: 6px 4px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
}
.access__hours-table th { color: var(--ink-mute); font-weight: 400; }
.access__hours-table td.label { text-align: left; white-space: nowrap; padding-right: 8px; }
.access__hours-table td.off { color: var(--ink-mute); }

.access__map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-alt);
}
.access__map svg { position: absolute; inset: 0; }
.access__map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.access__map-link {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px color-mix(in oklch, var(--ink) 30%, transparent);
  transition: transform .25s, background .25s, color .25s;
}
.access__map-link:hover {
  transform: translateY(-1px);
  background: var(--ink);
  color: var(--paper);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: color-mix(in oklch, var(--paper) 80%, transparent);
  padding: 80px 40px 40px;
}
.footer__inner { max-width: 1280px; margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid color-mix(in oklch, var(--paper) 15%, transparent);
}
.footer__brand {
  font-family: var(--latin-serif); font-style: italic;
  font-size: 36px;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer__logo {
  display: block;
  width: auto;
  height: 140px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .footer__logo { height: 110px; }
}
@media (max-width: 520px) {
  .footer__logo { height: 92px; }
}
.footer__brand-ja {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in oklch, var(--paper) 60%, transparent);
  margin-bottom: 24px;
}
.footer__brand-note {
  font-size: 12.5px; line-height: 1.9;
  color: color-mix(in oklch, var(--paper) 70%, transparent);
  max-width: 320px;
}
.footer__col-title {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: color-mix(in oklch, var(--paper) 55%, transparent);
  margin-bottom: 20px;
}
.footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer__list li {
  font-size: 13px;
  color: color-mix(in oklch, var(--paper) 85%, transparent);
  cursor: pointer;
}
.footer__big-mark {
  font-family: var(--latin-serif); font-style: italic;
  font-size: clamp(120px, 18vw, 260px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 40px 0 0;
  color: color-mix(in oklch, var(--paper) 18%, transparent);
  white-space: nowrap;
  overflow: hidden;
}
.footer__bottom {
  margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.12em;
  color: color-mix(in oklch, var(--paper) 50%, transparent);
}
.footer__bottom-links { display: flex; gap: 24px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav__mark-text, .nav__mark-sep { display: none; }
  .nav__links { gap: 20px; font-size: 11px; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 900px) {
  body { letter-spacing: 0.01em; }
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .nav { padding: 16px 20px; }
  .nav.is-scrolled { padding: 8px 20px; }
  .nav__logo { height: 68px; }
  .nav.is-scrolled .nav__logo { height: 42px; }

  /* Top ribbon compacts on mobile */
  .ribbon { font-size: 10px; letter-spacing: 0.08em; gap: 12px; padding: 10px 14px; }
  .ribbon__badge { display: none; }
  .ribbon__link { padding-left: 12px; }
  .ribbon__text { font-size: 10px; }

  /* Hero — text first, image second on mobile */
  .hero {
    padding: 160px 20px 60px;
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }
  .hero__text { order: 1; }
  .hero__image-col { order: 2; }
  .hero__no { display: none; }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  /* Online section compacts */
  .online { padding: 64px 16px; }
  .online__inner {
    padding: 36px 22px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .online__card { padding: 22px; }
  .online__title { font-size: 28px; }
  .online__steps { gap: 14px; }
  .online__cta-row { flex-direction: column; align-items: stretch; }
  .online__cta-row a { justify-content: center; }
  .online-fab { right: 12px; bottom: 12px; }
  .online-fab__btn { font-size: 10px; padding: 10px 14px; letter-spacing: 0.08em; }

  .concept { padding: 96px 20px; }
  .concept__grid { grid-template-columns: 1fr; gap: 48px; }
  .concept__pillars { grid-template-columns: 1fr; gap: 24px; }

  .services { padding: 96px 20px; }
  .services__header { grid-template-columns: 1fr; gap: 48px; }
  .service-row {
    grid-template-columns: 56px 1fr;
    gap: 16px 20px;
    padding: 32px 0;
  }
  .service-row__num { font-size: 28px; }
  .service-row__desc { grid-column: 1 / -1; }
  .service-row__tags { grid-column: 1 / -1; align-items: flex-start; }
  .service-row__tags-inner { justify-content: flex-start; }

  .features { padding: 96px 20px; }
  .features__grid { grid-template-columns: 1fr; gap: 24px; }

  .doctor { padding: 96px 20px; }
  .doctor__inner { grid-template-columns: 1fr; gap: 48px; }
  .doctor__big-letter { font-size: 140px; top: -50px; left: -10px; }

  .access { padding: 96px 20px; }
  .access__cta-banner { padding: 40px 24px; gap: 32px; grid-template-columns: 1fr; }
  .access__inner { grid-template-columns: 1fr; gap: 40px; }
  .access__map { min-height: 360px; }

  .footer { padding: 60px 20px 30px; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer__brand-col { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .concept__big-letter,
  .doctor__big-letter { display: none; }

  h1, h2 { letter-spacing: 0.03em; }
}

@media (max-width: 540px) {
  .nav__cta-label { display: none; }
  .nav__cta-mobile-label { display: inline; }
  .nav__cta { padding: 10px 16px; letter-spacing: 0.08em; font-size: 11px; }
}
@media (max-width: 520px) {
  .hero { padding: 130px 16px 50px; }
  .concept,
  .services,
  .features,
  .doctor,
  .access { padding: 80px 16px; }
  .access { padding-bottom: 60px; }
  .footer__top { grid-template-columns: 1fr; }
  .ribbon { gap: 8px; padding: 10px 10px; }
  .ribbon__text { font-size: 9.5px; }
  .ribbon__link span:first-child { display: none; }
}
@media (max-width: 420px) {
  .nav { padding: 12px 16px; }
  .nav__mark-glyph { font-size: 18px; }
}
