/* ---- 00-base.css ---- */
/* ==========================================================
   WINNOVATION renewal — top page
   Direction: PC_TOP_C_2 (mint mist → cream arc, Zen Old Mincho × Cormorant)
   ========================================================== */

:root {
  --ink: #3d3935;
  --ink-soft: #6e6964;
  --ink-faint: #77716c;
  --line: rgba(61, 57, 53, 0.16);
  --line-strong: rgba(61, 57, 53, 0.32);
  --green: #009844;          /* brand mark, dots, rules */
  --green-ui: #00853c;       /* filled buttons (white text AA) */
  --green-ink: #007a37;      /* small green text on light grounds */
  --mint: #e6f4e8;
  --mint-pale: #f1f8f1;
  --cream: #f2f1eb;
  --white: #fff;
  --charcoal: #2f2c29;

  --f-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-gothic: "Zen Kaku Gothic Antique", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-display: "Cormorant", "Times New Roman", serif;
  --f-latin: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --container: 1216px;
  --radius-lg: 20px;
  --radius: 6px;
  --shadow-card: 0 10px 30px -12px rgba(30, 60, 40, 0.28), 0 2px 6px rgba(30, 60, 40, 0.06);
  --header-h: 120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-gothic);
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
small { font-size: 12px; }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 8px 16px; background: var(--white); border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.pc-only { display: none; }
@media (min-width: 961px) { .pc-only { display: inline; } }

/* ---------- shared atoms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 26px;
  font-family: var(--f-mincho); font-size: 14px; letter-spacing: 0.1em;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.btn--pill { background: var(--green-ui); color: var(--white); }
.btn--pill:hover { background: #00702f; }
.btn--light { background: var(--white); color: var(--green-ink); min-height: 56px; padding: 0 36px; font-size: 15px; }
.btn--light:hover { background: var(--mint); }

/* small filled dot with arrow (from the mock's audience cards) */
.dot-arrow {
  flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 9h6M10 6.5 12.5 9 10 11.5' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform 0.25s var(--ease);
}

.more-link {
  flex: none; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--f-mincho); font-size: 15px; color: var(--ink); text-decoration: none;
}
.more-link:hover .dot-arrow { transform: translateX(4px); }

.text-link { color: var(--green-ink); text-underline-offset: 4px; }

.tag {
  display: inline-block; padding: 0 10px; font-size: 12px; line-height: 22px; letter-spacing: 0.06em;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft);
}

/* section heading: small Japanese label over large Cormorant word */
.section-head { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.section-head__ja { font-family: var(--f-mincho); font-size: clamp(16px, 1.5vw, 21px); letter-spacing: 0.08em; }
.section-head__en {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 5.2vw, 78px); line-height: 1; letter-spacing: 0.01em;
}
.section-head--light { color: var(--white); }
.section-lead { margin-top: clamp(24px, 3vw, 40px); max-width: 40em; font-size: 15px; line-height: 2.2; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h); padding-inline: clamp(20px, 3.8vw, 58px) clamp(16px, 4vw, 62px);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .site-header__inner { height: 76px; }

.brand { flex: none; margin-right: auto; }
.brand img { width: clamp(180px, 16vw, 246px); }

.gnav__list { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); }
.gnav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
  font-family: var(--f-mincho); font-size: 15px; letter-spacing: 0.06em;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  background-image: linear-gradient(var(--green), var(--green)); background-size: 0 1px;
  background-repeat: no-repeat; background-position: left 100%;
  transition: background-size 0.3s var(--ease);
}
.gnav__link:hover { background-size: 100% 1px; }
.plus { position: relative; width: 10px; height: 10px; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 4.5px 0 auto; height: 1px; background: var(--green); transition: transform 0.25s var(--ease); }
.plus::after { transform: rotate(90deg); }
.gnav__item--sub { position: relative; }
.gnav__item--sub.is-open .plus::after { transform: rotate(0deg); }
.gnav__sub {
  position: absolute; top: calc(100% + 10px); left: -20px; min-width: 210px;
  padding: 14px 8px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.gnav__item--sub.is-open .gnav__sub { opacity: 1; visibility: visible; transform: none; }
.gnav__sub a {
  display: block; padding: 6px 14px; font-family: var(--f-mincho); font-size: 14px; text-decoration: none; border-radius: 4px;
}
.gnav__sub a:hover { background: var(--mint-pale); color: var(--green-ink); }

.site-header__cta { flex: none; }

.menu-btn {
  flex: none; display: grid; place-items: center;
  width: clamp(52px, 4.6vw, 70px); aspect-ratio: 1; border-radius: 50%; border: 0;
  background: var(--green-ui); color: var(--white); cursor: pointer;
  transition: background-color 0.2s;
}
.menu-btn:hover { background: #00702f; }
.menu-btn__bars { display: grid; gap: 6px; width: 22px; }
.menu-btn__bars span { height: 1px; background: currentColor; }
.menu-btn__x { position: relative; width: 22px; height: 22px; }
.menu-btn__x::before, .menu-btn__x::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: currentColor; transform: rotate(45deg); }
.menu-btn__x::after { transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .gnav, .site-header__cta { display: none; }
}

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  background: var(--mint) url("../img/mist.jpg") center / cover;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.drawer.is-open { opacity: 1; }
.drawer__inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 clamp(16px, 4vw, 62px) 40px clamp(20px, 3.8vw, 58px); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-right: clamp(0px, 0.2vw, 4px); }
.drawer__logo { width: clamp(180px, 16vw, 246px); }
.drawer__nav { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 40px; }
.drawer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 80px); width: min(1080px, 100%); }
.drawer__group ul { margin-top: 10px; display: grid; gap: 2px; }
.drawer__group li a { display: inline-block; padding: 4px 0; font-size: 14px; text-decoration: none; color: var(--ink-soft); }
.drawer__group li a:hover { color: var(--green-ink); }
.drawer__top {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer__ja { font-family: var(--f-mincho); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; white-space: nowrap; }
.drawer__en { font-family: var(--f-display); font-size: 16px; line-height: 1.3; color: var(--green-ink); }
.drawer__top:hover .drawer__ja { color: var(--green-ink); }
.drawer__foot { display: grid; justify-items: center; gap: 16px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.drawer__foot p a { text-decoration: none; white-space: nowrap; }
@media (max-width: 960px) { .drawer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .drawer__grid { grid-template-columns: 1fr; gap: 20px; }
  .drawer__group ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

/* ==========================================================
   Mist zone (hero, audience, intro)
   ========================================================== */
.mist {
  position: relative;
  padding-top: calc(var(--header-h) + 30px);
  background: var(--mint) url("../img/mist.jpg") center top / cover no-repeat;
  overflow: hidden;
}
/* a second soft bloom keeps the lower half alive like the mock */
.mist::after {
  content: ""; position: absolute; inset: auto -10% -20% -10%; height: 70%; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 45%, rgba(182, 223, 188, 0.55), transparent 70%),
              radial-gradient(40% 40% at 15% 60%, rgba(255, 255, 255, 0.7), transparent 70%);
}

.hero { position: relative; margin-inline: clamp(10px, 1.3vw, 20px); }
.hero__media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  height: clamp(520px, 46vw, 760px);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%;
}
.hero__copy {
  position: absolute; z-index: 1;
  left: 41%; top: 26%; right: 4%;
}
.hero__en {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(17px, 1.45vw, 23px); letter-spacing: 0.02em;
}
.hero__title {
  margin-top: clamp(10px, 1.2vw, 18px);
  font-family: var(--f-mincho); font-weight: 700; font-feature-settings: "palt";
  font-size: clamp(30px, 3.55vw, 56px); line-height: 1.68; letter-spacing: 0.12em;
}
.hero__line { display: block; }
.dot { margin-inline: -0.22em; }

/* the one orchestrated moment: image settles, then the copy */
.js .hero__media img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.js .hero__en, .js .hero__line, .js .audience-card {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.is-ready .hero__media img { transform: none; }
.is-ready .hero__en, .is-ready .hero__line, .is-ready .audience-card { opacity: 1; transform: none; }
.is-ready .hero__en { transition-delay: 0.35s; }
.is-ready .hero__line:nth-child(1) { transition-delay: 0.55s; }
.is-ready .hero__line:nth-child(2) { transition-delay: 0.75s; }
.is-ready .audience li:nth-child(1) .audience-card { transition-delay: 1.0s; }
.is-ready .audience li:nth-child(2) .audience-card { transition-delay: 1.1s; }
.is-ready .audience li:nth-child(3) .audience-card { transition-delay: 1.2s; }

/* audience cards straddling the hero edge */
.audience { position: relative; z-index: 2; margin-top: clamp(-92px, -6vw, -56px); }
.audience__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.3vw, 36px);
  width: min(1332px, 100% - clamp(40px, 13vw, 200px)); margin-inline: auto;
}
.audience-card {
  position: relative; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px);
  height: 100%; padding: clamp(14px, 1.3vw, 20px) clamp(16px, 1.4vw, 22px) clamp(14px, 1.3vw, 20px) clamp(14px, 1.6vw, 24px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
  text-decoration: none;
}
.audience-card__img { flex: none; width: clamp(84px, 8.6vw, 130px); aspect-ratio: 1; object-fit: cover; }
.audience-card__body { flex: 1; display: grid; gap: 6px; }
.audience-card__title { font-family: var(--f-mincho); font-size: clamp(16px, 1.4vw, 21px); line-height: 1.6; letter-spacing: 0.06em; }
.audience-card__en { font-family: var(--f-latin); font-weight: 300; font-size: clamp(12px, 0.9vw, 14px); color: var(--ink-faint); letter-spacing: 0; line-height: 1.4; }
.audience-card .dot-arrow { align-self: flex-start; margin-top: clamp(18px, 2vw, 30px); }
.audience-card:hover .dot-arrow { transform: translateX(3px); }
.audience-card:hover .audience-card__title { color: var(--green-ink); }

/* intro statement */
.intro {
  position: relative; z-index: 1;
  width: min(800px, 100% - var(--gutter) * 2); margin-inline: auto;
  padding: clamp(96px, 13vw, 210px) 0 clamp(200px, 22vw, 330px);
}
.intro__title {
  font-family: var(--f-mincho); font-weight: 400; text-align: center; font-feature-settings: "palt";
  font-size: clamp(22px, 2.75vw, 42px); line-height: 1.95; letter-spacing: 0.14em;
}
.intro__title > span { display: block; }
.intro__body { margin-top: clamp(36px, 4.5vw, 64px); display: grid; gap: 1.1em; font-size: 15px; line-height: 2.25; }

/* ==========================================================
   Business (cream, arched top)
   ========================================================== */
.business {
  position: relative; z-index: 1; overflow-x: clip;
  background: var(--cream);
  padding: clamp(40px, 6vw, 90px) 0 clamp(96px, 11vw, 170px);
}
.business::before {
  content: ""; position: absolute; z-index: -1; left: -15%; right: -15%;
  top: clamp(-150px, -10vw, -70px); height: clamp(240px, 22vw, 360px);
  background: var(--cream); border-radius: 50%;
}
.business__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.carousel-ctrl { display: flex; gap: 20px; flex: none; margin-bottom: 4px; }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--green); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover:not(:disabled) { background: var(--green-ui); color: var(--white); }
.round-btn:disabled { opacity: 0.4; cursor: default; }

.carousel {
  position: relative; margin-top: clamp(40px, 4.2vw, 64px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-inline: clamp(20px, 5.1vw, 78px);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -4px; }
.carousel__track {
  display: flex; gap: clamp(18px, 2.55vw, 39px);
  width: max-content; padding-inline: clamp(20px, 5.1vw, 78px);
}
.biz-card { width: clamp(270px, 27.5vw, 420px); scroll-snap-align: start; }
.biz-card__link { display: block; text-decoration: none; }
.biz-card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 420 / 540; background: #5b5650;
}
.biz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.biz-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 26, 22, 0.42), rgba(30, 26, 22, 0.08) 70%); }
.biz-card__link:hover .biz-card__media img { transform: scale(1.04); }
.biz-card__vertical {
  position: absolute; z-index: 1; top: clamp(22px, 2vw, 32px); left: clamp(12px, 1.2vw, 18px);
  writing-mode: vertical-rl; color: var(--white);
  font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(40px, 3.9vw, 60px); line-height: 1.02; letter-spacing: 0.01em;
}
.biz-card__vertical > span { display: block; }
.biz-card__vertical .biz-card__kicker {
  margin-left: clamp(8px, 0.9vw, 14px);
  font-family: var(--f-latin); font-weight: 300; font-size: clamp(11px, 0.95vw, 14px); letter-spacing: 0.32em; line-height: 1.6;
}
.biz-card__title { margin-top: 18px; font-family: var(--f-mincho); font-weight: 400; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: 0.06em; line-height: 1.5; }
.biz-card__text { margin-top: 8px; font-size: 14px; line-height: 2; }
.biz-card__link:hover .biz-card__title { color: var(--green-ink); }

/* ==========================================================
   Team pharmacy (white)
   ========================================================== */
.pharmacy { padding: clamp(96px, 11vw, 170px) 0 clamp(64px, 7vw, 110px); background: var(--white); }
.pharmacy__intro {
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 0.95fr); gap: clamp(32px, 4.4vw, 72px);
  align-items: center; margin-top: clamp(40px, 5vw, 72px);
}
.pharmacy__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.motto {
  writing-mode: vertical-rl; align-self: center;
  font-family: var(--f-mincho);
}
.motto > span { display: block; }
.motto__main { font-size: clamp(16px, 1.3vw, 20px); line-height: 2; letter-spacing: 0.22em; }
.motto__sub { margin-right: 12px; font-size: 12.5px; letter-spacing: 0.24em; color: var(--green-ink); padding-inline-start: 3.2em; }
.motto__sub::before { content: ""; display: inline-block; inline-size: 2em; block-size: 1px; background: var(--green); margin-inline-end: 0.8em; vertical-align: middle; }
.pharmacy__lead {
  font-family: var(--f-mincho); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 34px); line-height: 1.75; letter-spacing: 0.08em; margin-bottom: 28px;
}
.pharmacy__text p + p { margin-top: 1em; }
.pharmacy__text p { line-height: 2.15; }

.services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(64px, 7vw, 110px);
}
.service { padding-top: 22px; border-top: 1px solid var(--ink); }
.service__title {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--f-mincho); font-weight: 500; font-size: 19px; letter-spacing: 0.06em; line-height: 1.5;
}
.service__title small { font-size: 13px; font-weight: 400; color: var(--green-ink); padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; line-height: 20px; }
.service p { margin-top: 12px; font-size: 14px; line-height: 2; color: var(--ink-soft); }

/* ==========================================================
   Group tree + stores (white → pale mint)
   ========================================================== */
.group {
  padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 11vw, 170px);
  background: linear-gradient(var(--white), var(--mint-pale) 30%);
}
.group__head { max-width: 760px; }

.tree { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.tree__root {
  position: relative; display: inline-grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; text-align: left;
  padding: 18px 34px 18px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.tree__crest { grid-row: span 2; width: 28px; height: auto; }
.tree__root-name { font-family: var(--f-mincho); font-size: clamp(17px, 1.5vw, 21px); letter-spacing: 0.06em; line-height: 1.5; }
.tree__root-role { font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.tree__root::after { /* trunk */
  content: ""; position: absolute; top: 100%; left: 50%; width: 1px; height: 36px; background: var(--green);
}

.tree__branches {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-top: 36px; padding-top: 30px;
}
.tree__branches::before { /* horizontal bus from first to last node centres */
  content: ""; position: absolute; top: 0; height: 1px; background: var(--green);
  left: calc((100% - 14px * 5) / 12); right: calc((100% - 14px * 5) / 12);
}
.tree__branches > li { position: relative; }
.tree__branches > li::before { content: ""; position: absolute; left: 50%; top: -30px; width: 1px; height: 30px; background: var(--green); }
.tree__node {
  display: grid; gap: 8px; align-content: start; width: 100%; height: 100%;
  padding: 18px 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); cursor: pointer; text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.tree__name { font-family: var(--f-mincho); font-size: clamp(14px, 1.15vw, 16px); letter-spacing: 0.04em; line-height: 1.6; }
.tree__meta { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.tree__node:hover, .tree__root:hover { border-color: var(--green); }
.tree__node[aria-pressed="true"], .tree__root[aria-pressed="true"] {
  background: var(--green-ui); border-color: var(--green-ui); color: var(--white);
}
.tree__node[aria-pressed="true"] .tree__meta, .tree__root[aria-pressed="true"] .tree__root-role { color: rgba(255, 255, 255, 0.86); }
.tree__root[aria-pressed="true"] .tree__crest { filter: drop-shadow(0 0 0.5px #fff); }

.group-result {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 80px); text-align: left;
}
.hq { display: grid; gap: 24px; align-content: start; }
.hq__card { padding: 26px 26px 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.hq__card[hidden] { display: none; }
.hq__name { font-family: var(--f-mincho); font-size: 19px; letter-spacing: 0.06em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.hq__card dd { font-size: 14px; line-height: 1.85; display: flex; gap: 14px; }
.hq__card dd + dd { margin-top: 6px; }
.hq__label { flex: none; width: 3em; color: var(--ink-soft); font-size: 12px; padding-top: 2px; }

.storefronts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.storefronts:empty, .storefronts.is-empty { display: none; }
.storefronts figure[hidden] { display: none; }
.storefronts img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.storefronts figcaption { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }

.stores__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-family: var(--f-mincho); font-size: 15px; }
.stores__count [data-store-count] { font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--green-ink); margin-right: 4px; }
.stores__date { margin-left: auto; font-family: var(--f-gothic); font-size: 12px; color: var(--ink-soft); }
.region { margin-top: 32px; }
.region[hidden] { display: none; }
.region__title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mincho); font-weight: 500; font-size: 15px; letter-spacing: 0.1em; color: var(--green-ink);
}
.region__title::after { content: ""; flex: 1; height: 1px; background: var(--green); opacity: 0.5; }
.store {
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; grid-template-areas: "name address map" "company address map";
  column-gap: 28px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.store[hidden] { display: none; }
.store__name { grid-area: name; font-family: var(--f-mincho); font-size: 17px; letter-spacing: 0.04em; line-height: 1.6; }
.store__company { grid-area: company; font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.store__address { grid-area: address; font-size: 14px; line-height: 1.8; }
.store__map {
  grid-area: map; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px;
  font-size: 13px; text-decoration: none; color: var(--green-ink);
  border: 1px solid currentColor; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
}
.store__map:hover { background: var(--green-ui); border-color: var(--green-ui); color: var(--white); }

/* ==========================================================
   Works + News (cream)
   ========================================================== */
.works { padding: clamp(96px, 11vw, 170px) 0 clamp(56px, 6vw, 90px); background: var(--cream); }
.works__head, .news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.works__grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(40px, 5vw, 64px);
}
.work__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.work__img { width: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work--race .work__img { aspect-ratio: 16 / 9; object-position: 50% 40%; }
.work--award .work__img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--white); padding: 24px 0 0; }
.work__link:hover .work__img { transform: scale(1.03); }
.work__body { flex: 1; padding: clamp(22px, 2.2vw, 34px); position: relative; background: var(--white); }
.work__meta { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 17px; }
.work__title { margin-top: 12px; font-family: var(--f-mincho); font-weight: 400; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.7; letter-spacing: 0.04em; }
.work__link:hover .work__title { color: var(--green-ink); }
.race-data { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 16px; }
.race-data div { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.race-data dt { color: var(--ink-soft); font-size: 12px; }
.race-data dd { font-family: var(--f-mincho); }
.work__note { margin-top: 14px; font-size: 13px; color: var(--green-ink); }

.news { padding: clamp(40px, 5vw, 70px) 0 clamp(96px, 11vw, 170px); background: var(--cream); }
.news__inner { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.news__head { flex-direction: column; align-items: flex-start; gap: 28px; }
.news-list { border-top: 1px solid var(--line-strong); }
.news-list a {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 22px;
  padding: 26px 4px; border-bottom: 1px solid var(--line-strong); text-decoration: none;
}
.news-list time { font-family: var(--f-display); font-size: 18px; }
.news-list__title { font-size: 15px; line-height: 1.8; }
.news-list a:hover .news-list__title { color: var(--green-ink); }

/* ==========================================================
   Company (white)
   ========================================================== */
.company { padding: clamp(96px, 11vw, 170px) 0; background: var(--white); }
.company__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
}
.greeting__title { font-family: var(--f-mincho); font-weight: 400; font-size: clamp(21px, 1.95vw, 29px); line-height: 1.8; letter-spacing: 0.08em; margin-bottom: 24px; }
.greeting p { line-height: 2.2; }
.greeting__sign { margin-top: 28px; text-align: right; font-family: var(--f-mincho); font-size: 20px; letter-spacing: 0.12em; }
.greeting__sign span { font-size: 13px; margin-right: 16px; letter-spacing: 0.08em; }

.profile { border-top: 1px solid var(--ink); }
.profile div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-family: var(--f-mincho); font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.profile dd { font-size: 14px; line-height: 1.9; }
.profile a { text-decoration: none; }

/* ==========================================================
   Contact + footer
   ========================================================== */
.contact { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 140px) 0; background: var(--green-ui); color: var(--white); }
.contact::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
}
.contact__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.contact__lead { margin-top: 28px; line-height: 2.1; }
.contact__lead a { color: inherit; text-underline-offset: 4px; }
.contact__actions { display: grid; gap: 22px; justify-items: start; }
.contact__tel { display: grid; text-decoration: none; }
.contact__tel-label { font-family: var(--f-mincho); font-size: 14px; letter-spacing: 0.1em; }
.contact__tel-num { font-family: var(--f-display); font-weight: 400; font-variant-numeric: lining-nums; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; letter-spacing: 0.02em; }

.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, 0.86); padding: clamp(64px, 7vw, 96px) 0 28px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); }
.site-footer__brand img { width: 230px; }
.site-footer__brand p { margin-top: 24px; font-size: 13px; line-height: 2; }
.site-footer__brand a { text-decoration: none; }
.site-footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.site-footer__top { font-family: var(--f-mincho); font-size: 15px; text-decoration: none; color: var(--white); }
.site-footer__col ul { margin-top: 10px; display: grid; gap: 2px; }
.site-footer__col li a { font-size: 13px; text-decoration: none; line-height: 2.1; }
.site-footer__nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.site-footer__bottom small { font-family: var(--f-latin); font-weight: 300; letter-spacing: 0.06em; }
.to-top { font-size: 12px; text-decoration: none; }
.to-top:hover { text-decoration: underline; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .tree__branches { gap: 10px; }
  .tree__branches::before { left: calc((100% - 10px * 5) / 12); right: calc((100% - 10px * 5) / 12); }
  .tree__node { padding-inline: 6px; }
  .group-result { grid-template-columns: 1fr; }
  .storefronts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  body { font-size: 14.5px; }
  .mist { padding-top: calc(var(--header-h) + 8px); }
  .hero { margin-inline: 10px; }
  .hero__media { height: auto; aspect-ratio: 4 / 3.4; }
  .hero__media img { object-position: 22% 40%; }
  .hero__copy { position: static; padding: 32px var(--gutter) 0; }
  .audience { margin-top: 32px; }
  .audience__list { grid-template-columns: 1fr; width: min(560px, 100% - var(--gutter) * 2); gap: 12px; }
  .audience-card .dot-arrow { align-self: center; margin-top: 0; }
  .intro { padding: 80px 0 180px; }
  .intro__title { text-align: left; }
  .business__head { flex-direction: column; align-items: stretch; }
  .carousel-ctrl { align-self: flex-end; }
  .pharmacy__intro { grid-template-columns: 1fr; }
  .motto { writing-mode: horizontal-tb; flex-direction: column; gap: 6px; }
  .motto__sub { padding-inline-start: 0; }
  .services { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .works__grid, .company__grid, .contact__inner, .site-footer__inner { grid-template-columns: 1fr; }
  .news__inner { grid-template-columns: 1fr; }
  .news__head { flex-direction: row; align-items: flex-end; }
}

/* the tree folds into an indented list on narrow screens */
@media (max-width: 760px) {
  .tree { text-align: left; }
  .tree__root { display: grid; width: 100%; }
  .tree__root::after { display: none; }
  .tree__branches { grid-template-columns: 1fr; gap: 10px; margin-top: 0; padding: 14px 0 0 48px; }
  .tree__branches::before { left: 24px; right: auto; top: 0; bottom: 30px; width: 1px; height: auto; }
  .tree__branches > li::before { left: -24px; top: 50%; width: 24px; height: 1px; }
  .tree__node { gap: 2px; text-align: left; padding: 12px 16px; }
  .tree__name br { display: none; }
}

@media (max-width: 640px) {
  .section-head__en { font-size: 44px; }
  .hero__title { font-size: 27px; letter-spacing: 0.08em; }
  .biz-card { width: 78vw; }
  .services { grid-template-columns: 1fr; }
  .storefronts { grid-template-columns: 1fr 1fr; }
  .store { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name map" "company map" "address address"; row-gap: 2px; }
  .store__address { margin-top: 6px; }
  .news-list a { grid-template-columns: auto 1fr; }
  .news-list__title { grid-column: 1 / -1; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .hero__media img { transform: none; }
}

/* ---- 10-components.css ---- */
/* ==========================================================
   Shared components for sub pages.
   Page-specific rules live in 20-*.css files owned per section.
   ========================================================== */

/* ---------- navigation states ---------- */
.gnav__link[aria-current="page"], .gnav__trigger.is-current { background-size: 100% 1px; }
.gnav__sub li.is-divider { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.gnav__sub a[aria-current="page"] { color: var(--green-ink); }

/* ---------- page hero (mint mist) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 0;
  background: var(--mint) url("/img/mist.jpg") center top / cover no-repeat;
}
.page-hero__inner { position: relative; z-index: 1; padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero__title { margin-top: clamp(28px, 3.4vw, 48px); }
.page-hero__lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 38em; font-size: 15px; line-height: 2.2; }
.page-hero__media {
  position: relative; z-index: 1; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-inline: clamp(10px, 1.3vw, 20px); height: clamp(220px, 30vw, 460px);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* when there is no image the next section arcs up into the mist, like the top page */
.page-hero:not(:has(.page-hero__media)) .page-hero__inner { padding-bottom: clamp(110px, 12vw, 180px); }
.page-hero:not(:has(.page-hero__media)) + .page-section { position: relative; z-index: 1; overflow-x: clip; padding-top: clamp(40px, 5vw, 72px); }
.page-hero:not(:has(.page-hero__media)) + .page-section::before {
  content: ""; position: absolute; z-index: -1; left: -15%; right: -15%;
  top: clamp(-110px, -7vw, -50px); height: clamp(200px, 18vw, 300px);
  background: inherit; border-radius: 50%;
}
/* detail pages: the Japanese name is the headline, the English word steps back */
.page-hero--detail .section-head { flex-direction: column-reverse; }
.page-hero--detail .section-head__ja { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.5; letter-spacing: 0.08em; }
.page-hero--detail .section-head__en { font-size: clamp(18px, 1.6vw, 24px); color: var(--green-ink); }

.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--ink-soft); }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 10px; vertical-align: middle; background: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sections ---------- */
.page-section { padding: clamp(80px, 9vw, 140px) 0; background: var(--white); }
.page-section--cream { background: var(--cream); }
.page-section--mint { background: var(--mint-pale); }
.page-section--tight { padding-block: clamp(56px, 6vw, 90px); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-intro + *, .section-head + :is(.cols, .steps, .link-rows, .faq, .spec, .split, .store-list, .post-list, .prose) { margin-top: clamp(40px, 5vw, 72px); }
.section-lead { color: var(--ink); }

/* Arc: the mock's convex edge, reusable on any section whose top meets a mist or a different ground. */
.arc-top { position: relative; z-index: 1; overflow-x: clip; }
.arc-top::before {
  content: ""; position: absolute; z-index: -1; left: -15%; right: -15%;
  top: clamp(-120px, -8vw, -56px); height: clamp(200px, 18vw, 300px);
  background: inherit; border-radius: 50%;
}

/* headings inside content */
.h3 { font-family: var(--f-mincho); font-weight: 400; font-size: clamp(21px, 2vw, 30px); line-height: 1.75; letter-spacing: 0.08em; }
.h4 { font-family: var(--f-mincho); font-weight: 500; font-size: 19px; line-height: 1.6; letter-spacing: 0.06em; }
.stack > * + * { margin-top: 1em; }
.stack p { line-height: 2.15; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; line-height: 1.9; }

/* ---------- split: image + text ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.split__media--portrait img { aspect-ratio: 4 / 5; }
.split + .split { margin-top: clamp(64px, 8vw, 120px); }

/* ---------- columns with a top rule (features, services) ---------- */
.cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(20px, 3vw, 44px); }
.col { padding-top: 22px; border-top: 1px solid var(--ink); }
.col__en { display: block; font-family: var(--f-display); font-size: 17px; color: var(--green-ink); line-height: 1.4; }
.col__title { margin-top: 4px; font-family: var(--f-mincho); font-weight: 500; font-size: 19px; line-height: 1.6; letter-spacing: 0.06em; }
.col p { margin-top: 12px; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.col__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.col--img { padding-top: 0; border-top: 0; }

/* ---------- steps (only for real sequences) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.step { counter-increment: step; display: grid; grid-template-columns: 88px minmax(0, 15em) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--green-ink); }
.step__title { font-family: var(--f-mincho); font-weight: 500; font-size: 18px; letter-spacing: 0.06em; line-height: 1.6; }
.step p { font-size: 14px; line-height: 2; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative; display: flex; gap: 18px; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-family: var(--f-mincho); font-size: 17px; line-height: 1.7; letter-spacing: 0.04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; font-family: var(--f-display); font-size: 24px; line-height: 1.1; color: var(--green-ink); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--green), var(--green)) center / 100% 1px no-repeat, linear-gradient(var(--green), var(--green)) center / 1px 100% no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green-ink); }
.faq__a { display: flex; gap: 18px; padding: 0 48px 26px 0; font-size: 14.5px; line-height: 2.1; }
.faq__a::before { content: "A"; flex: none; font-family: var(--f-display); font-size: 24px; line-height: 1.1; color: var(--ink-faint); }

/* ---------- spec list (dt/dd rows, like company profile) ---------- */
.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mincho); font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.spec dd { font-size: 14.5px; line-height: 1.9; }
.spec a { color: var(--green-ink); }

/* ---------- index rows linking to child pages ---------- */
.link-rows { border-top: 1px solid var(--line-strong); }
.link-row {
  display: grid; grid-template-columns: clamp(120px, 18vw, 240px) minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line-strong); text-decoration: none;
}
.link-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); transition: transform 0.6s var(--ease); }
.link-row__media { overflow: hidden; border-radius: var(--radius); }
.link-row__en { font-family: var(--f-display); font-size: 17px; color: var(--green-ink); }
.link-row__title { display: block; font-family: var(--f-mincho); font-size: clamp(19px, 1.7vw, 24px); letter-spacing: 0.06em; line-height: 1.6; }
.link-row__text { display: block; margin-top: 6px; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.link-row:hover img { transform: scale(1.04); }
.link-row:hover .link-row__title { color: var(--green-ink); }
.link-row:hover .dot-arrow { transform: translateX(4px); }

/* ---------- note for client-supplied content ---------- */
.todo-note {
  display: flex; gap: 12px; align-items: baseline;
  margin-block: 16px; padding: 14px 18px; border: 1px dashed #c58a1a; border-radius: var(--radius);
  background: #fff8e8; color: #6b4a0e; font-size: 13px; line-height: 1.8;
}
.todo-note__label { flex: none; padding: 0 8px; border-radius: 999px; background: #c58a1a; color: #fff; font-size: 11.5px; line-height: 20px; letter-spacing: 0.08em; }

/* ---------- long-form text (policies, articles) ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 2.6em; font-family: var(--f-mincho); font-weight: 500; font-size: 21px; letter-spacing: 0.06em; line-height: 1.7; }
.prose h3 { margin-top: 2em; font-family: var(--f-mincho); font-weight: 500; font-size: 17px; line-height: 1.7; }
.prose p, .prose ul, .prose ol { margin-top: 1em; line-height: 2.1; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.6em; }
.prose a { color: var(--green-ink); text-underline-offset: 3px; }
.prose > :first-child { margin-top: 0; }

/* ---------- posts (news / works lists) ---------- */
.post-list { border-top: 1px solid var(--line-strong); }
.post-list a {
  display: grid; grid-template-columns: 7em auto minmax(0, 1fr); align-items: center; gap: 8px 22px;
  padding: 26px 4px; border-bottom: 1px solid var(--line-strong); text-decoration: none;
}
.post-list time { font-family: var(--f-display); font-size: 18px; }
.post-list .tag { justify-self: start; }
.post-list__title { font-size: 15px; line-height: 1.8; }
.post-list a:hover .post-list__title { color: var(--green-ink); }
.post-meta { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 18px; }
.post-nav { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

/* ---------- inline CTA (end of content, before the contact band) ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn--outline { border: 1px solid var(--green-ui) !important; color: var(--green-ink); background: transparent; }
.btn--outline:hover { background: var(--green-ui); color: var(--white); }
.btn--solid { background: var(--green-ui); color: var(--white); min-height: 52px; padding: 0 32px; }
.btn--solid:hover { background: #00702f; }

/* ---------- forms ---------- */
.form { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.form__row { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.form__label { display: flex; align-items: center; gap: 10px; font-family: var(--f-mincho); font-size: 15px; line-height: 1.6; padding-top: 10px; }
.form__req, .form__opt { flex: none; padding: 0 8px; border-radius: 999px; font-family: var(--f-gothic); font-size: 11px; line-height: 20px; }
.form__req { background: var(--green-ui); color: var(--white); }
.form__opt { border: 1px solid var(--line-strong); color: var(--ink-soft); line-height: 18px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 15px; line-height: 1.6; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green-ui); outline-offset: 0; border-color: transparent; }
.form [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.form__hint { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }
.form__error { margin-top: 6px; font-size: 12.5px; color: #b3261e; line-height: 1.7; }
.form__error:empty { display: none; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.choice label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer;
}
.choice input { accent-color: var(--green-ui); }
.choice label:has(input:checked) { border-color: var(--green-ui); background: var(--mint-pale); color: var(--green-ink); }
.form__agree { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 32px; font-size: 14px; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--green-ui); }
.form__submit { display: flex; justify-content: center; margin-top: 24px; }
.form__status { margin-top: 24px; text-align: center; font-size: 14px; line-height: 1.9; }

/* ---------- store directory (shared by home + /stores/) ---------- */
.store__name a { text-decoration: none; }
.store__name a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cols { --cols: 2 !important; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .step p { grid-column: 2; }
  .step::before { font-size: 32px; grid-row: span 2; }
  .form__row { grid-template-columns: 1fr; gap: 8px; }
  .form__label { padding-top: 0; }
  .spec > div { grid-template-columns: 8em minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cols { --cols: 1 !important; }
  .link-row { grid-template-columns: 96px minmax(0, 1fr); }
  .link-row .dot-arrow { display: none; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .post-list a { grid-template-columns: auto 1fr; }
  .post-list__title { grid-column: 1 / -1; }
  .section-intro { flex-direction: column; align-items: flex-start; }
}

/* ---- 20-home.css ---- */
/* ---- Home additions for the multi-page site ---- */
.home-more { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: clamp(40px, 5vw, 64px); }
.greeting .home-more { margin-top: 28px; }

.home-links { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(64px, 7vw, 110px); }
.link-tile {
  position: relative; display: grid; gap: 4px; height: 100%;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(28px, 3vw, 40px);
  border-radius: var(--radius); text-decoration: none;
  background: var(--mint) url("/img/mist.jpg") center / cover;
}
.link-tile__en { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 54px); line-height: 1.1; text-transform: uppercase; }
.link-tile__ja { font-family: var(--f-mincho); font-size: 17px; letter-spacing: 0.08em; }
.link-tile__text { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.link-tile .dot-arrow { position: absolute; right: clamp(24px, 3vw, 40px); bottom: clamp(28px, 3vw, 40px); width: 28px; height: 28px; }
.link-tile:hover .dot-arrow { transform: translateX(4px); }
.link-tile:hover .link-tile__ja { color: var(--green-ink); }

@media (max-width: 640px) {
  .home-links { grid-template-columns: 1fr; }
}

/* ---- Stores ---- */
.group--page { background: var(--mint-pale); }
.group--page .tree { margin-top: 0; }
.store-detail { align-items: start; }
.store-detail__media { display: grid; gap: 20px; }
.store-detail__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.store-detail__map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mint-pale); }
.store-detail__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.04); }
.store-detail__spec { margin-top: 24px; }
.store-detail__spec .todo-note { margin-block: 6px 0; }
.stores-asof { margin-top: 16px; text-align: right; }

/* ---- 30-pharmacy.css ---- */
/* ==========================================================
   Pharmacy business, recruit, succession (/pharmacy/*, /recruit/, /succession/)
   ========================================================== */

/* concept: vertical motto beside the text (motto itself lives in 00-base) */
.ph-concept {
  display: grid; grid-template-columns: auto minmax(0, 46em); justify-content: center;
  gap: clamp(36px, 6vw, 110px); align-items: start; margin-top: clamp(40px, 5vw, 72px);
}
.ph-concept .motto { align-self: start; }
.ph-concept__text .h3 { margin-bottom: 0.4em; }

/* quotation from the representative */
.ph-quote {
  max-width: 46em; margin: clamp(56px, 7vw, 100px) auto 0; padding: clamp(28px, 3.4vw, 44px) clamp(24px, 4vw, 56px);
  background: var(--mint-pale); border-radius: var(--radius-lg);
}
.ph-quote blockquote p { font-family: var(--f-mincho); font-size: clamp(15px, 1.25vw, 17px); line-height: 2.2; letter-spacing: 0.04em; }
.ph-quote blockquote p + p { margin-top: 1em; }
.ph-quote__sign { margin-top: 20px; text-align: right; font-family: var(--f-mincho); font-size: 18px; letter-spacing: 0.12em; }
.ph-quote__sign span { margin-right: 14px; font-size: 13px; letter-spacing: 0.08em; }

/* service columns: keep the trailing link apart from the text */
.ph-services .col p:last-child { margin-top: 18px; }

/* heading on the left, content on the right */
.ph-target { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ph-target .section-lead { font-size: 14px; }
.ph-target__note { margin-top: 24px; font-size: 14.5px; line-height: 2.1; }

/* check list with a green dot */
.ph-checks { border-top: 1px solid var(--line-strong); }
.ph-checks li {
  position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line-strong);
  font-family: var(--f-mincho); font-size: 16.5px; line-height: 1.7; letter-spacing: 0.04em;
}
.ph-checks li::before { content: ""; position: absolute; left: 4px; top: calc(16px + 0.85em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.h4 + .ph-checks { margin-top: 16px; }

/* subject-attributed example (one company's practice) */
.ph-example { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.ph-example p { margin-top: 12px; font-size: 14.5px; line-height: 2.1; }
.ph-example .todo-note { margin-bottom: 0; }

/* two attributed blocks side by side */
.ph-care, .ph-consult { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.ph-care { margin-top: clamp(40px, 5vw, 64px); }
.ph-care > div { padding-top: 22px; border-top: 1px solid var(--ink); }

/* spacing for blocks that follow a section heading (shared components carry no top margin) */
.ph-block { margin-top: clamp(40px, 5vw, 64px); }

/* stores grouped by region */
.ph-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.section-intro + .ph-places { margin-top: clamp(32px, 4vw, 56px); }
.ph-places__region { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--f-mincho); font-weight: 500; font-size: 17px; letter-spacing: 0.06em; }
.ph-places li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; }
.ph-places a { color: var(--ink); text-underline-offset: 4px; }
.ph-places a:hover { color: var(--green-ink); }
.ph-places__city { font-size: 12.5px; color: var(--ink-soft); }

/* recruit: mission line above the values */
.ph-mission { margin-bottom: 28px; font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); line-height: 1.3; }
.ph-mission__label { display: block; font-family: var(--f-latin); font-weight: 300; font-size: 12px; letter-spacing: 0.16em; color: var(--green-ink); }
.ph-mission__sub { display: block; margin-top: 6px; font-family: var(--f-mincho); font-size: 15px; letter-spacing: 0.06em; color: var(--ink-soft); }

/* recruit: requirements table */
.ph-table-wrap { overflow-x: auto; }
.ph-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14.5px; line-height: 1.9; }
.ph-table th, .ph-table td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ph-table thead th { font-family: var(--f-mincho); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; }
.ph-table tbody th { width: 9em; font-family: var(--f-mincho); font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.ph-table .todo-note__label, .spec dd > .todo-note__label { display: inline-block; margin-right: 10px; vertical-align: 1px; }

/* closing CTA */
.ph-cta { background: var(--cream); }
.ph-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ph-cta__text { margin-top: 8px; font-size: 14.5px; line-height: 2; color: var(--ink-soft); }
/* when the section above is also cream, separate with a rule instead of a color change */
.page-section--cream + .ph-cta { padding-top: 0; }
.page-section--cream + .ph-cta .ph-cta__inner { padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-strong); }

@media (max-width: 960px) {
  .ph-concept { grid-template-columns: 1fr; gap: 28px; }
  .ph-target, .ph-care, .ph-consult { grid-template-columns: 1fr; }
  .ph-places { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ph-table tbody th { width: 6.5em; }
  .ph-table th, .ph-table td { padding-right: 12px; }
  .ph-places { grid-template-columns: 1fr; }
  .ph-cta__inner .cta-row { width: 100%; }
  .ph-cta__inner .btn { width: 100%; }
  .ph-checks li { font-size: 15.5px; }
}

/* ---- 40-business.css ---- */
/* ==========================================================
   その他の事業: /business/ /buy/ /investment/ /bukken/ /racehorse/ /takusyoku/
   ========================================================== */

/* feature columns that follow an intro split in the same section */
.bz-feature { margin-top: clamp(56px, 7vw, 104px); }
.bz-cols { margin-top: clamp(40px, 5vw, 72px); }

/* two-column comparison (仲介 / 買取) */
.bz-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); }
.bz-compare__col { padding-top: 22px; border-top: 1px solid var(--ink); }
.bz-compare__col .h4 { margin-top: 28px; font-size: 17px; }
.bz-compare__col p { margin-top: 8px; font-size: 14.5px; line-height: 2.1; color: var(--ink-soft); }

/* heading between two step lists */
.bz-flow-head { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 20px; }
.bz-flow-head + .steps { margin-top: 0; }

/* steps with a photo in a fourth column */
.bz-steps { margin-top: clamp(40px, 5vw, 72px); }
.bz-steps .step { grid-template-columns: 88px minmax(0, 12em) minmax(0, 1fr) clamp(150px, 16vw, 220px); align-items: center; }
.bz-steps__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.bz-steps .step p a { color: var(--green-ink); }

/* closing block: licence + call to action */
.bz-info { align-items: start; }
.bz-licence__title { margin-bottom: 16px; }
.bz-licence dt { font-size: 13px; }
.bz-cta { margin-top: clamp(32px, 4vw, 48px); }
.bz-cta .small a { color: var(--green-ink); }

/* split pairs inside one section */
.bz-buy-diff, .bz-race-point, .bz-record { margin-top: clamp(40px, 5vw, 72px); }
.bz-race-point .split__media { max-width: 400px; justify-self: center; width: 100%; }
.bz-record__award { max-width: 280px; justify-self: center; width: 100%; }
.bz-record__award img { aspect-ratio: auto; object-fit: contain; }
.bz-record .spec { margin-top: 20px; }

/* external site banner (THE HORSE) */
.bz-horse-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; }
.bz-horse-link img { width: 200px; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.bz-horse-link__text { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; }
.bz-horse-link:hover .bz-horse-link__text { color: var(--green-ink); }
.bz-horse-link:hover .dot-arrow { transform: translateX(4px); }

/* /bukken/ empty state */
.bz-empty .cta-row { margin-top: 28px; }
.bz-bukken-links { margin-top: 18px; gap: 18px 40px; }

/* /takusyoku/ lodging entry */
.bz-lodging { align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.bz-lodging__spec { margin-top: 20px; }
.bz-lodging__media .todo-note { margin-top: 0; }

@media (max-width: 960px) {
  .bz-compare { grid-template-columns: 1fr; }
  .bz-steps .step::before { grid-row: span 3; align-self: start; }
  .bz-steps .step { grid-template-columns: 64px minmax(0, 1fr); }
  .bz-steps__img { grid-column: 2; max-width: 320px; margin-top: 8px; }
  .bz-race-point .split__media { max-width: 320px; }
}

/* ---- 50-corporate.css ---- */
/* ==========================================================
   Corporate pages: /concept/ /company/ /jisseki/ /news/ /contact/ /privacy/ /404.html
   Prefix: co-
   ========================================================== */

/* ---------- /concept/: who we are ---------- */
.co-who { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.co-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--ink); }
.co-figures div { display: flex; flex-direction: column; justify-content: space-between; padding-top: 16px; }
.co-figures dt { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.co-figures dd { margin-top: 4px; font-family: var(--f-mincho); font-size: 15px; }
.co-figures__num { margin-right: 4px; font-family: var(--f-display); font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--green-ink); font-variant-numeric: lining-nums; }
.co-figures__asof { margin-top: 12px; }

/* ---------- /concept/: the name ---------- */
.co-name { text-align: center; }
.co-name__head { display: grid; justify-items: center; gap: 18px; font-weight: 400; }
.co-name__label { font-family: var(--f-mincho); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.1em; }
.co-name__words { font-family: var(--f-mincho); font-weight: 400; font-size: clamp(38px, 5vw, 72px); letter-spacing: 0.16em; line-height: 1.3; }
.co-name__x { margin-inline: 0.35em 0.5em; font-family: var(--f-display); font-weight: 300; color: var(--green); }
.co-name__sub { margin-top: 14px; font-family: var(--f-mincho); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: 0.1em; line-height: 1.8; }
.co-name__text { max-width: 36em; margin: clamp(28px, 3.4vw, 44px) auto 0; text-align: left; }
.co-name__text p { line-height: 2.2; }
.co-name__text p + p { margin-top: 1em; }

/* ---------- /concept/: 医・食・住・夢 ---------- */
.co-fields__lead { max-width: 44em; }
.co-field-main { margin-top: clamp(48px, 6vw, 88px); }
.co-field__char { font-family: var(--f-mincho); font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--green); }
.co-field__en { display: block; font-family: var(--f-display); font-size: 17px; color: var(--green-ink); letter-spacing: 0; line-height: 1.4; }
.co-fields { margin-top: clamp(64px, 8vw, 120px); }
.co-fields .col__img { aspect-ratio: 3 / 2; }
.co-fields .todo-note { margin-block: 12px 0; }
.co-field__links { display: grid; gap: 6px; margin-top: 16px; }
.co-fields .more-link { font-size: 14px; }

/* ---------- /concept/: message ---------- */
.co-message { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.co-message .greeting .stack p { line-height: 2.2; }
.co-message .todo-note { margin-top: 32px; }

/* ---------- /company/: profile ---------- */
.co-profile { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.co-profile__head { position: sticky; top: calc(var(--header-h) + 24px); }
.co-profile__nav { margin-top: clamp(24px, 3vw, 40px); }
.co-history__title { margin-top: clamp(48px, 6vw, 72px); margin-bottom: 18px; }
.co-history > div { grid-template-columns: 10em minmax(0, 1fr); }

/* ---------- /company/: group ---------- */
.co-group__intro { margin-bottom: 0; }
.co-group__intro + .tree { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- /company/: headquarters table ---------- */
.co-table-wrap { margin-top: clamp(40px, 5vw, 64px); }
.co-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; line-height: 1.85; }
.co-table thead th { padding: 14px 16px 14px 0; font-family: var(--f-mincho); font-weight: 400; font-size: 13px; color: var(--ink-soft); text-align: left; border-bottom: 1px solid var(--line-strong); }
.co-table tbody th, .co-table td { padding: 20px 16px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.co-table tbody th { width: 24%; font-weight: 400; }
.co-table td:nth-child(3) { width: 16%; }
.co-table__name { display: block; font-family: var(--f-mincho); font-size: 16px; letter-spacing: 0.04em; line-height: 1.7; }
.co-table tbody th .text-link { font-size: 12.5px; }
.co-table td a { color: var(--green-ink); text-underline-offset: 3px; }
.co-table__asof { margin-top: 14px; text-align: right; }

/* ---------- /company/: affiliates ---------- */
.co-aff { margin-top: clamp(40px, 5vw, 64px); }
.co-aff__logo { width: 100%; max-width: 280px; height: auto; margin-bottom: 18px; border-radius: var(--radius); }
.co-aff .col__title { font-size: 17px; }
.co-aff .col { display: flex; flex-direction: column; align-items: flex-start; }
.co-aff .col > p:last-child { margin-top: auto; padding-top: 14px; }

/* ---------- /company/: access ---------- */
.co-access { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.co-access__map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mint-pale); }
.co-access__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.04); }
.co-access .section-head { margin-bottom: 8px; }

/* ---------- /404.html ---------- */
.co-paths { max-width: 880px; border-top: 1px solid var(--line-strong); }
.co-paths__link {
  display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr) auto; gap: 8px 32px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line-strong); text-decoration: none;
}
.co-paths__title { font-family: var(--f-mincho); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: 0.06em; }
.co-paths__text { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.co-paths__link:hover .co-paths__title { color: var(--green-ink); }
.co-paths__link:hover .dot-arrow { transform: translateX(4px); }

/* ---------- /jisseki/ + /news/ ---------- */
.co-cats { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--ink-soft); }
.co-cats li { display: inline-flex; align-items: baseline; gap: 2px; }
.co-cats__count { margin-left: 8px; font-family: var(--f-display); font-size: 22px; line-height: 1; color: var(--green-ink); }
.co-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 6px; font-family: var(--f-display); font-size: 17px; }
.link-row .co-meta { color: var(--ink); }
.co-news-list .tag { justify-self: start; }

.co-award { align-items: center; }
.co-award__media { justify-self: center; width: min(100%, 360px); }
.co-award__media img { width: 100%; height: auto; border-radius: var(--radius); background: var(--white); }

/* article / work detail */
.co-article > * { max-width: 880px; }
.co-article__figure { margin-top: clamp(28px, 3.4vw, 44px); }
.co-article__figure img { width: 100%; height: auto; border-radius: var(--radius); }
.co-article__figure--logo { width: min(100%, 320px); }
.co-article__figure + .h3, .co-article__figure + .prose { margin-top: clamp(36px, 4vw, 56px); }
.co-article .post-meta + .prose { margin-top: clamp(28px, 3.4vw, 44px); }
.co-article__spec { margin-top: 20px; }
.co-article__nav { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: clamp(40px, 5vw, 64px); }

.co-pager {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px 32px; align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-strong);
}
.co-pager__link { display: grid; gap: 4px; text-decoration: none; }
.co-pager__link--next { text-align: right; }
.co-pager__label { font-size: 12px; color: var(--ink-soft); }
.co-pager__title { font-size: 14px; line-height: 1.8; }
.co-pager__link:hover .co-pager__title { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- /contact/ ---------- */
.co-tel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.co-tel__num {
  display: inline-block; font-family: var(--f-display); font-weight: 400; font-variant-numeric: lining-nums;
  font-size: clamp(44px, 5vw, 72px); line-height: 1.1; letter-spacing: 0.02em; color: var(--green-ink); text-decoration: none;
}
.co-tel__num:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.co-form { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.co-form__intro > p { margin-top: clamp(24px, 3vw, 36px); line-height: 2.1; }
.co-form__req-inline { display: inline-block; margin-inline: 4px; vertical-align: 1px; }
.co-form .form__label { align-self: start; }
.co-form .btn { border: 0; cursor: pointer; }
.co-form .form__row:has(.choice) { align-items: start; }
.co-form [role="radiogroup"][aria-invalid="true"] { background: none; border-color: var(--line); }
.co-form [role="radiogroup"][aria-invalid="true"] .choice label { border-color: #b3261e; }
.co-form__caution {
  margin-bottom: 10px; padding: 10px 14px; border-left: 3px solid var(--green); background: var(--mint-pale);
  font-size: 13.5px; line-height: 1.8;
}
.co-form__caution[hidden] { display: none; }
.co-form__policy { margin-top: 32px; text-align: center; font-size: 14px; line-height: 1.9; }
.co-form__policy + .form__agree { margin-top: 12px; }
.co-form .form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.co-form__agree-error { text-align: center; }
.co-form .form__status:empty { display: none; }
.co-form .form__status { padding: 16px 20px; border-radius: var(--radius); background: var(--mint); color: var(--green-ink); }
.co-form .form__status.is-error { background: #fff6f5; color: #b3261e; }

/* ---------- /privacy/ ---------- */
.co-policy .todo-note { line-height: 1.8; margin-top: 16px; }
.co-policy__contact { margin-top: 20px; }
.co-policy__contact > div { grid-template-columns: 9em minmax(0, 1fr); }
.co-policy__sign { margin-top: 3em; text-align: right; }
.co-policy__sign .todo-note { text-align: left; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .co-who, .co-message, .co-profile, .co-access, .co-tel, .co-form { grid-template-columns: 1fr; }
  .co-profile__head { position: static; }
  .co-aff { --cols: 2 !important; }
  .co-access__map { order: 2; aspect-ratio: 16 / 10; }
  .co-table thead { display: none; }
  .co-table, .co-table tbody, .co-table tr, .co-table th, .co-table td { display: block; width: auto !important; }
  .co-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .co-table tbody th, .co-table td { padding: 0; border: 0; }
  .co-table td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; margin-top: 8px; }
  .co-table td::before { content: attr(data-label); font-size: 12.5px; color: var(--ink-soft); }
}

@media (max-width: 640px) {
  .co-aff { --cols: 1 !important; }
  .co-figures__num { font-size: 52px; }
  .co-name__words { letter-spacing: 0.1em; }
  .co-paths__link { grid-template-columns: minmax(0, 1fr) auto; }
  .co-paths__text { grid-column: 1; }
  .co-paths__link .dot-arrow { grid-row: 1 / span 2; grid-column: 2; }
  .co-history > div, .co-policy__contact > div { grid-template-columns: 1fr; }
  .co-table td { grid-template-columns: 1fr; gap: 0; }
  .co-pager { grid-template-columns: 1fr; }
  .co-pager__link--next { text-align: left; }
  .co-pager > span:empty { display: none; }
  .co-tel__num { font-size: 40px; }
}
