/* ============================================================
   GAGAN Corporate LP — production stylesheet
   Tokens and values are hifi-confirmed (see design handoff README)
   ============================================================ */

:root {
  --bg: #fffaf0;
  --bg-sub: #f8ecd8;
  --line: #e7d9c1;
  --line-2: #e0d3bd;
  --ink: #4d4842;
  --muted: #736d64;
  --wine: #80455a;
  --wine-deep: #6d3a4d;
  --orchid: #bb96af;
  --coral: #fa7b71;
  --gold: #d29a41;
  --gold-soft: #fdd895;
  --sage: #4e6f5b;
  --sage-hover: #456352;
  --cream-text: #f7f2ea;
  --muted-on-photo: #56504a;   /* 写真の上に載る本文用 */
  --header-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-serif: 'Fraunces', 'Zen Old Mincho', serif;
  --font-sans: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth;   /* 実績は一作品ずつ止める。近くに来たときだけ効かせる */
  scroll-snap-type: y proximity;
}

[data-sec] { scroll-margin-top: 0; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

body.is-locked { overflow: hidden; }

a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--gold); }
input, textarea, button { font: inherit; color: inherit; }

/* --- Language switching --- */
html[data-lang="jp"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-jp { display: none !important; }
html[data-lang="en"] .lang-jp.lang-en-too { display: revert !important; }
.as-block { display: block; }

/* --- Keyframes --- */
@keyframes gDriftA { 0% { transform: translate3d(-4%, -2%, 0) scale(1.12); } 50% { transform: translate3d(5%, 4%, 0) scale(1.28); } 100% { transform: translate3d(-4%, -2%, 0) scale(1.12); } }
@keyframes gDriftB { 0% { transform: translate3d(3%, 5%, 0) scale(1.2); } 50% { transform: translate3d(-5%, -3%, 0) scale(1.05); } 100% { transform: translate3d(3%, 5%, 0) scale(1.2); } }
@keyframes gDriftC { 0% { transform: translate3d(0, 3%, 0) scale(1.1); } 50% { transform: translate3d(4%, -4%, 0) scale(1.3); } 100% { transform: translate3d(0, 3%, 0) scale(1.1); } }
@keyframes gShimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes gStarTwinkle { 0%, 100% { opacity: .72; transform: translateX(-50%) scale(.94); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes gDotFloat { 0%, 100% { opacity: .75; transform: translateY(0) scale(.92); } 50% { opacity: 1; transform: translateY(-3px) scale(1.06); } }
@keyframes gHint { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(7px); opacity: .9; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Wordmark (logo)
   ============================================================ */
.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 1;
}
.wm-a, .wm-n { position: relative; }
.wm-star {
  position: absolute;
  left: 50%; top: -.36em;
  width: .345em; height: .63em;
  transform: translateX(-50%);
}
.wm-dot {
  position: absolute;
  right: -.24em; bottom: .16em;
  width: .2em; height: .2em;
}
.wm-star path, .wm-star rect { fill: var(--wm-star, var(--gold)); }
.wm-dot path { fill: var(--wm-dot, var(--orchid)); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  /* スクロールに追従させない。内容に重なって読めなくなるのを避ける */
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 56px;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: transform .4s var(--ease-out), background .3s ease, border-color .3s ease;
}
.site-header.is-solid {
  background: rgba(255, 250, 240, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(231, 217, 193, .9);
}
.site-header.is-hidden { transform: translateY(-110%); }

.brand { font-size: 22px; color: var(--ink); }
.brand:hover { color: var(--ink); }

.header-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}
.nav-link:hover { color: var(--ink); }


.header-cta {
  margin-left: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--bg);
  background: var(--sage);
  border: 1px solid var(--sage);
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(78, 111, 91, .6);
  background: var(--sage-hover);
  color: var(--bg);
}

.burger-btn {
  display: none;
  width: 46px; height: 46px;
  border: none;
  background: var(--bg-sub);
  border-radius: 999px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--bg); }
/* スクロールで背景が入れ替わるぶんの高さを確保する */
.hero-track { position: relative; height: 300svh; }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* 睡蓮や花が右手に来るように寄せ、左の文字と重ならないようにする */
.hero-layer image { transform-box: fill-box; transform-origin: 50% 50%; }
/* 写真はそのままの色で見せ、文字が乗る左側だけそっと支える */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, .62) 0%, rgba(255, 250, 240, .44) 26%, rgba(255, 250, 240, .12) 50%, rgba(255, 250, 240, 0) 66%),
    linear-gradient(180deg, rgba(255, 250, 240, .2) 0%, rgba(255, 250, 240, 0) 26%, rgba(255, 250, 240, .22) 100%);
}
/* 一番下の余白は次のNEWSへ地続きに繋げる */
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22svh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: .13;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 56px 8vh;
  padding-left: clamp(56px, 7.5vw, 132px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  justify-items: start;
  text-align: left;
}
.hero-text {
  position: relative;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* 濃い葉が文字にかかる回でも読めるよう、やわらかく地の色を敷く */
.hero-text::before {
  content: "";
  position: absolute;
  inset: -70px -180px -70px -140px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 62% at 26% 52%, rgba(255, 250, 240, .88) 0%, rgba(255, 250, 240, .58) 52%, rgba(255, 250, 240, 0) 82%);
}

.hero-kicker {
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 72px;
}

.hero-display {
  font-size: 100px;
  letter-spacing: .06em;
  margin: 0 0 26px;
  text-wrap: balance;
  background-image: linear-gradient(100deg, #6d3a4d 0%, #bb96af 34%, #d9a75c 50%, #bb96af 66%, #6d3a4d 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gShimmer 14s linear infinite;
}
.hero-a { color: #94687f; position: relative; }
.hero-n { color: #b07a3c; position: relative; }
.hero-display .wm-dot { width: .17em; height: .17em; }
.hero-star { animation: gStarTwinkle 4.4s ease-in-out infinite; }
.hero-dot { animation: gDotFloat 5.8s ease-in-out infinite; }

.hero-title { margin: 0 0 22px; }
/* スクロールが進むごとに、言葉がひとつずつ増えていく */
[data-hero-step] {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(12px);
  transition: opacity 1.5s ease, filter 1.5s ease, transform 1.5s cubic-bezier(.22, .61, .36, 1);
}
[data-hero-step].is-on { opacity: 1; filter: blur(0); transform: none; }
/* 「視差効果を減らす」でも言葉は段階的に出す。にじみと動きだけ外す */
.no-motion [data-hero-step] { filter: none; transform: none; transition: opacity .45s ease; }
.no-motion [data-hero-step="0"] { opacity: 1; }
.hero-title .lang-jp {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--ink);
}
.hero-title-en {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hero-sub {
  margin: 0;
  max-width: 36em;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-hint {
  position: absolute;
  left: 0; right: 0; bottom: 34px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hint-text {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(77, 72, 66, .45);
}
.hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(77, 72, 66, .5), rgba(77, 72, 66, 0));
  animation: gHint 2.6s ease-in-out infinite;
  display: block;
}

/* Hero entrance (JS toggles .is-in) */
[data-intro] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-intro].is-in { opacity: 1; transform: none; }
.no-motion [data-intro] { opacity: 1; transform: none; transition: none; }

/* ============================================================
   News — 儚さ重視。罫は極細、文字は明朝で軽く置く
   ============================================================ */
.news {
  position: relative;
  padding: 128px 56px 168px;
  /* 下のギャラリーは上端をクリームで覆っているので、ここは地の色のまま繋げる */
  background: var(--bg);
}

.news-inner { position: relative; z-index: 1; }
.news-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.news-head .kicker { color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(231, 217, 193, .55);
}
.news-item:first-child { padding-top: 0; }
.news-date {
  font: 400 10.5px/1.9 var(--font-mono);
  letter-spacing: .14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.news-body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
}

/* ============================================================
   01 Services — depth gallery
   ============================================================ */
/* お知らせ → お花のスクロール → 区切り を、ひと続きの色として流す。
   帯の中央に大きな円弧を一本通し、その上を青紫、下をピンクに分ける。
   弧の両端は「お知らせ」の罫のあたり、頂点（中央のいちばん低いところ）は
   下の区切り写真のすぐ上に来る。半径は帯の幅と高さから引いてある。
   帯の色は、キャンバスが実際に描いている縁の色に合わせてある */
.flow-band {
  position: relative;
  background:
    radial-gradient(168% 10% at 50% 0%, rgba(255, 250, 240, 0) 40%, rgba(255, 250, 240, .7) 76%, var(--bg) 100%),
    radial-gradient(168% 10% at 50% 100%, rgba(255, 250, 240, 0) 40%, rgba(255, 250, 240, .7) 76%, var(--bg) 100%),
    radial-gradient(50% 86.5% at 50% 5%,
      rgba(170, 172, 224, .5) 0%,
      rgba(176, 178, 226, .46) 62%,
      rgba(196, 186, 220, .34) 90%,
      rgba(232, 196, 206, .34) 100%,
      rgba(236, 200, 208, .42) 104%),
    linear-gradient(180deg,
      #f3e6e0 0%,
      #f3e6e0 9%,
      #efe6e6 34%,
      #e9e3ec 62%,
      #dfdef1 91%,
      #dfdef1 100%);
}
.news, .services, .flow-band .divider { background: transparent; }
/* はみ出したオーブは、お知らせの文章や区切りの写真より後ろに回す */
.flow-band .news, .flow-band .divider { position: relative; z-index: 1; }
/* 区切りの写真の上に、円弧のグラデーションを見せる余白をとる */
.flow-band .divider { padding-top: 168px; }
.services { position: relative; z-index: 0; }
.depth-track { position: relative; height: 4700px; }
.depth-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  /* オーブが上下の節まではみ出せるよう、ここでは切らない */
  overflow: visible;
  /* 節の色をそのまま透かす。ここを塗ると縁が白く見えてしまう */
  background: transparent;
}
/* 上下の縁は直線ではなく弓なりに。中央がいちばん外へ張り出して、
   1枚目は上へ、6枚目は下へ、やわらかい縁を描きながら節へ溶ける */
depth-gallery {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='s'%20x='-40%25'%20y='-40%25'%20width='180%25'%20height='180%25'%3E%3CfeGaussianBlur%20stdDeviation='3.4'/%3E%3C/filter%3E%3Cpath%20d='M0,16%20Q50,3%20100,16%20L100,84%20Q50,97%200,84%20Z'%20fill='black'%20filter='url(%23s)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cfilter%20id='s'%20x='-40%25'%20y='-40%25'%20width='180%25'%20height='180%25'%3E%3CfeGaussianBlur%20stdDeviation='3.4'/%3E%3C/filter%3E%3Cpath%20d='M0,16%20Q50,3%20100,16%20L100,84%20Q50,97%200,84%20Z'%20fill='black'%20filter='url(%23s)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
depth-gallery {
  position: absolute;
  /* 画面の上下へ 16svh ずつはみ出し、両隣の節までオーブを届かせる */
  inset: -16svh 0;
  width: 100%;
  height: calc(100% + 32svh);
  display: block;
}

.depth-frame {
  position: absolute;
  left: clamp(2.5rem, 8vw, 12rem);
  top: calc(var(--header-h) - 36px);
  z-index: 90;
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9px;
  display: grid;
  gap: .5rem;
  pointer-events: none;
  transition: color .5s ease;
}
.depth-frame p { margin: 0; }
.depth-frame-sub { font-size: 11px; }

.depth-progress {
  position: absolute;
  right: clamp(2.5rem, 7vw, 10rem);
  bottom: 40px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.depth-dots { display: flex; gap: 7px; align-items: center; }
.depth-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .28;
  transform: scale(1);
  transition: opacity .3s ease, transform .3s ease, background .5s ease;
  display: block;
}
.depth-dot.is-active { opacity: 1; transform: scale(1.6); }
.depth-count {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color .5s ease;
}

.glabel {
  position: absolute;
  inset: 0;
  z-index: 80;
  opacity: 0;
  transition: opacity .26s ease;
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  pointer-events: none;
}
.glabel.is-active { opacity: 1; }
.glabel[data-tone="#f7f2ea"] { color: var(--cream-text); }
/* オーブが濃く混じり合う上でも読めるよう、標本のラベルだけ一段深い墨に */
.glabel[data-tone="#3a3630"] { color: #3a3630; }
.glabel-id {
  position: absolute;
  left: clamp(2.5rem, 8vw, 12rem);
  top: 50%;
  display: grid;
  gap: .75rem;
}
.glabel-num { margin: 0; font-size: 9px; }
.glabel-name { margin: 0; font-size: 11px; white-space: nowrap; }
.glabel-chip {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}
.glabel-meta {
  position: absolute;
  right: clamp(2.5rem, 7vw, 10rem);
  top: 50%;
  width: min(28vw, 360px);
  display: grid;
  gap: .3rem;
  line-height: 1.15;
}
.glabel-row {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: .8rem;
  align-items: baseline;
}
.glabel-row span:first-child { font-size: 9px; opacity: .85; }
.glabel-row span:last-child { font-size: 12px; line-height: 1.35; }

/* ============================================================
   02 Approach
   ============================================================ */
.kicker {
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
}

.approach {
  position: relative;
  padding: 140px clamp(56px, 8vw, 140px);
  background: var(--bg);
  overflow: hidden;
}
/* ヒーローから移したユーカリ。上から垂らして見出しの余白を埋める */
.approach-botanical {
  position: absolute;
  left: clamp(24px, 5vw, 96px);
  top: 0;
  z-index: 0;
  width: min(40vw, 560px);
  height: min(54%, 520px);
  background: url("../assets/hero-botanical.webp") left top / contain no-repeat;
  transform: scaleY(-1);
  opacity: 1;
  pointer-events: none;
}
.approach-inner { position: relative; z-index: 1; }
/* 左の草と入れ替えて、導入の文章は右側へ寄せる */
.approach-lead { margin-left: auto; max-width: 1000px; }
@media (min-width: 1121px) {
  .approach-lead { padding-left: 300px; }
}
.approach-inner { position: relative; max-width: 1328px; margin: 0 auto; }
.approach .kicker { margin-bottom: 44px; }
.approach-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0 0 48px;
  color: var(--ink);
  max-width: 22em;
  text-wrap: balance;
}
.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1000px;
}
.approach-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}
/* 見出しを2行ぶんの高さで固定し、3枚とも説明の書き出しを揃える */
.approach-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  min-height: calc(1.6em * 2);
  color: var(--ink);
}
.approach-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }

.process { position: relative; margin-top: 88px; }
/* 「ご依頼から導入までの流れ」の脇に、切り抜いた苗を small accent として */
.process::after {
  content: "";
  position: absolute;
  right: 0;
  top: -46px;
  width: min(15%, 132px);
  aspect-ratio: 520 / 857;
  background: url("../assets/sprout-small.webp") center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
}
.process-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 30px;
}
.process-kicker {
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
}
.process-head h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
}
.process-step { display: flex; flex-direction: column; gap: 14px; }
.process-rail { display: flex; align-items: center; gap: 8px; }
/* 節目の点は、押し花の写真から切り出した青い円 */
/* 節目の印は、標本の写真から一つずつ切り出した草花 */
.process-node {
  width: 26px; height: 26px;
  margin-left: -3px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  flex: none;
  display: block;
}
.process-step:nth-child(1) .process-node { background-image: url("../assets/step-1.webp"); }
.process-step:nth-child(2) .process-node { background-image: url("../assets/step-2.webp"); }
.process-step:nth-child(3) .process-node { background-image: url("../assets/step-3.webp"); }
.process-step:nth-child(4) .process-node { background-image: url("../assets/step-4.webp"); }
.process-step:nth-child(5) .process-node { background-image: url("../assets/step-5.webp"); }
.process-step:nth-child(6) .process-node { background-image: url("../assets/step-6.webp"); }
.process-line { flex: 1; height: 1px; background: var(--line-2); display: block; }
.process-step.is-last .process-line { background: transparent; }
.process-body { display: flex; flex-direction: column; gap: 8px; }
.process-code {
  font: 500 9.5px/1.5 var(--font-mono);
  letter-spacing: .14em;
  color: var(--muted);
}
.process-body h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.process-body p { margin: 0; font-size: 12.5px; line-height: 1.9; color: var(--muted); }

/* ============================================================
   03 Works — carousel
   ============================================================ */
.works {
  position: relative;
  padding: 184px 0 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* 見出しからピンの終わりまで、一枚の写真として貼りついたまま動かない */
/* 節に入るとき／出るときだけ、写真を地の色へ返す */
.works-fade {
  position: absolute;
  left: 0; right: 0;
  height: 40svh;
  z-index: 3;
  pointer-events: none;
}
.works-fade-top {
  top: -12px;
  background: linear-gradient(180deg, rgba(255, 250, 240, .94) 0%, rgba(255, 250, 240, .62) 26%, rgba(255, 250, 240, .3) 56%, rgba(255, 250, 240, .1) 80%, rgba(255, 250, 240, 0) 100%);
}
.works-fade-bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 250, 240, .94) 0%, rgba(255, 250, 240, .62) 26%, rgba(255, 250, 240, .3) 56%, rgba(255, 250, 240, .1) 80%, rgba(255, 250, 240, 0) 100%);
}
.works-bg {
  position: sticky;
  top: 0;
  height: 100svh;
  /* 区切りの写真の下端すれすれから見えはじめる（節の上余白 184px + 区切りの下余白 12px） */
  margin-top: -196px;
  margin-bottom: calc(-100svh + 196px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* 押し花のスキャン。撮影時の向きのまま。黒を持ち上げてあるので、
   不透明度を上げてもスクリムで濁らせずに白く保てる */
/* 作品ごとに、花の背景へちがう色みを重ねる */
.works-orb {
  position: absolute;
  inset: -14%;
  z-index: 3;
  opacity: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  filter: blur(20px);
  background:
    radial-gradient(52% 58% at 24% 30%, var(--o1) 0%, rgba(255, 255, 255, 0) 78%),
    radial-gradient(58% 62% at 78% 72%, var(--o2) 0%, rgba(255, 255, 255, 0) 80%);
}
.works-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/works-lilac.webp") center / cover no-repeat;
  opacity: .95;
}
.works-scrim {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 250, 240, .66) 0%, rgba(255, 250, 240, .34) 40%, rgba(255, 250, 240, .72) 100%);
}

.works-head {
  position: relative;
  z-index: 4;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 56px;
}
.works-head-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.works-head-text { flex: 1; min-width: 300px; }
.works-head-text .kicker { margin-bottom: 16px; }
.works-head-text h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: .02em;
  margin: 0 0 12px;
}
.works-head-text p {
  margin: 0;
  max-width: 36em;
  color: var(--muted-on-photo);
  font-size: 15px;
  line-height: 1.85;
}
.works-counter {
  font: 400 11px/1.8 var(--font-mono);
  color: var(--muted-on-photo);
  letter-spacing: .08em;
  text-align: right;
}

/* ピン留めして、写真は一枚ずつ上へ抜け、説明は入れ替わる */
.wpin-wrap { position: relative; height: 500svh; margin-top: 48px; }
/* 一作品ずつ、ちょうどの位置で止まるための目印 */
.wsnaps { position: absolute; inset: 0; pointer-events: none; }
.wsnap { position: absolute; left: 0; right: 0; height: 1px; scroll-snap-align: start; }
.wpin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.wstage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 52px;
}

/* 写真は重ねて、上の一枚が上へ抜けた分だけ下の一枚が現れる */
.wcards {
  position: relative;
  flex: 0 0 54%;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(77, 72, 66, .18);
}
.wcard {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  cursor: pointer;
  display: block;
  will-change: clip-path;
}
.wcard img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 1.1s var(--ease-out);
}
.wcards:hover .wcard img { transform: scale(1.035); }
.no-motion .wcard img { transition: none; transform: none; }
.wcard-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(6px);
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 250, 240, .94);
  border: 1px solid var(--line);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .14em;
  color: var(--ink);
  opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.wcards:hover .wcard-hint { opacity: 1; transform: translateX(-50%) translateY(0); }

.ccap-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill {
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 240, .86);
  border: 1px solid var(--line);
  color: var(--wine);
}
.tag-pill.soft { background: rgba(252, 231, 196, .5); }

/* 説明は切らずに入れ替える。標本の上でも読めるよう、地の色を一枚敷く */
.wtexts {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 330px;
  border-radius: 3px;
  background: rgba(255, 250, 240, .9);
}
.wtext {
  position: absolute;
  inset: 0;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  opacity: 0;
  will-change: opacity;
}
.wtext h3 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.45; }
.wtext p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted-on-photo); }
.wmore {
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .82);
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .14em;
  color: var(--ink);
  cursor: pointer;
  transition: background .24s ease, border-color .24s ease, transform .24s ease;
}
.wmore:hover { background: #fff; border-color: var(--wine); transform: translateY(-2px); }

.wmeta {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font: 400 11px/1 var(--font-mono);
  letter-spacing: .08em;
  color: var(--muted-on-photo);
  pointer-events: none;
}
.wdots { display: flex; gap: 7px; align-items: center; }
.wdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--muted-on-photo);
  opacity: .3;
  transition: opacity .3s ease, transform .3s ease;
}
.wdot.is-active { opacity: 1; transform: scale(1.6); }


/* ============================================================
   作品を外しているあいだの Works
   ============================================================ */
/* 節の丈は背景の写真が一度ぶん見える長さに留める */
.works.is-quiet { padding: 184px 0 132px; }

/* 作品ごとの色みは JS が付けていたので、静かに巡らせて残す */
.works.is-quiet .works-orb {
  animation: worksOrbDrift 24s ease-in-out infinite;
}
.works.is-quiet .works-orb[data-index="0"] { animation-delay: 0s; }
.works.is-quiet .works-orb[data-index="2"] { animation-delay: 8s; }
.works.is-quiet .works-orb[data-index="3"] { animation-delay: 16s; }
.works.is-quiet .works-orb[data-index="1"],
.works.is-quiet .works-orb[data-index="4"] { display: none; }
@keyframes worksOrbDrift {
  0%, 100% { opacity: 0; }
  12%, 26% { opacity: .4; }
  40% { opacity: 0; }
}
.no-motion .works.is-quiet .works-orb { animation: none; }
.no-motion .works.is-quiet .works-orb[data-index="0"] { opacity: .34; }

.works-soon {
  position: relative;
  z-index: 2;
  min-height: 42svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px 0;
  text-align: center;
}
.works-soon-mark { display: block; width: 15px; height: 15px; margin-bottom: 2px; }
.works-soon-mark svg { width: 100%; height: 100%; fill: var(--gold); opacity: .55; animation: pWink 4.6s ease-in-out infinite; }
.works-soon-lead {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--ink);
}
.works-soon-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted-on-photo);
}
.works-soon-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 13px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--wine);
  transition: transform .3s var(--ease-out), border-color .3s ease, background .3s ease;
}
.works-soon-cta .p-arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.works-soon-cta:hover {
  transform: translateY(-2px);
  border-color: var(--wine);
  background: rgba(255, 250, 240, .95);
  color: var(--wine);
}

/* ============================================================
   セクションのあいだに挟む一枚
   ============================================================ */
.divider {
  position: relative;
  background: var(--bg);
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.divider-plate { position: relative; z-index: 1; }
/* 現れるときは少しだけ小さく沈んだところから。
   そのあとは、気づくかどうかの速さで息をする */
/* 「かたちになった世界」の手前だけ、写真の下に間を取る */
.divider.is-before-works { padding-bottom: 200px; }

.divider-plate[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(.965);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.divider-plate[data-reveal].is-in {
  opacity: 1;
  transform: none;
  animation: plateBreath 14s ease-in-out 1.4s infinite;
}
@keyframes plateBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.014); }
}
.no-motion .divider-plate[data-reveal] { opacity: 1; transform: none; animation: none; }

.divider-plate {
  width: min(300px, 62vw);
  aspect-ratio: 1000 / 1250;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  /* 四方を溶かして、板の縁が背景から浮かないようにする */
  -webkit-mask-image: radial-gradient(72% 62% at 50% 50%, #000 46%, rgba(0, 0, 0, .55) 76%, transparent 100%);
  mask-image: radial-gradient(72% 62% at 50% 50%, #000 46%, rgba(0, 0, 0, .55) 76%, transparent 100%);
}

/* ============================================================
   04 About
   ============================================================ */
.about { position: relative; padding: 128px 56px; background: var(--bg); overflow: hidden; }
/* 左下の余白に、根を伸ばした苗を置く */
.about::before {
  content: "";
  position: absolute;
  /* 「会社概要」の一文字目の左端に、苗の左端をそろえる */
  left: max(56px, (100% - 1120px) / 2);
  bottom: 44px;
  width: min(30%, 320px);
  background-position: left bottom;
  aspect-ratio: 1100 / 915;
  background: url("../assets/sprout-row.webp") left bottom / contain no-repeat;
  opacity: 1;
  pointer-events: none;
}
.about-inner { position: relative; z-index: 1; }
.about-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.about-head .kicker { margin-bottom: 18px; }
.about-head h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: .02em;
  margin: 0 0 16px;
}
.about-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 26em; }

.about-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  font-variant-numeric: tabular-nums;
}
.about-dl dt {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.about-dl dd {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
}
.about-dl dt.is-last, .about-dl dd.is-last { border-bottom: 1px solid var(--line); }
.about-dl .is-muted { color: var(--muted); }
.about-sub { color: var(--muted); font-size: 13px; }

/* ============================================================
   05 Contact + Footer
   ============================================================ */
.contact {
  position: relative;
  padding: 128px 56px 0;
  background: var(--bg);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  /* 仕切りの写真の下あたりから色が変わりはじめるよう、上へ伸ばす */
  top: -42svh;
  left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
  background: url("../assets/works-circle.webp") center 92% / min(88vh, 1000px) auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%);
}
/* 文字とフォームが乗るので、上下をクリームへ返して読みやすさを確保する */
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .9) 0%, rgba(255, 250, 240, .52) 30%, rgba(255, 250, 240, .48) 62%, rgba(255, 250, 240, .86) 100%),
    radial-gradient(52% 52% at 20% 62%, rgba(255, 250, 240, .68) 0%, rgba(255, 250, 240, 0) 76%);
}
.contact-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
  padding-bottom: 120px;
}
.contact-head .kicker { margin-bottom: 18px; }
.contact-head h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: .02em;
  margin: 0 0 18px;
}
.contact-head > p { margin: 0 0 28px; color: var(--muted-on-photo); font-size: 15.5px; max-width: 26em; }
.contact-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 26em;
}
.contact-note-label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wine);
}
.contact-note p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.req-mark { color: var(--wine); }
.req-text {
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: .1em;
  color: var(--wine);
}
.contact-form input {
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.8;
  resize: vertical;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(128, 69, 90, .16);
}
.field-help { font-size: 12.5px; color: var(--muted); }

/* 送信前に読ませる同意の一文 */
.form-consent {
  margin: -4px 0 2px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}
.form-consent a {
  color: var(--wine);
  text-decoration: none;
  background-image: linear-gradient(var(--wine), var(--wine));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 1px;
  transition: background-size .35s var(--ease-out), color .35s ease;
}
.form-consent a:hover { background-size: 0 1px; color: var(--ink); }

.submit-btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  padding: 17px 40px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .28s var(--ease-out), box-shadow .28s ease, background .3s ease;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -16px rgba(77, 72, 66, .55);
}
.submit-btn.is-sending { background: var(--muted); cursor: default; }
.submit-btn.is-sent { background: var(--sage); }

.sent-note {
  display: none;
  align-items: center;
  gap: 11px;
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--sage);
  opacity: 0;
  transition: opacity .38s ease;
}
.sent-note.is-shown { display: flex; }
.sent-note.is-visible { opacity: 1; }
.sent-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 48px 56px 40px;
}
.site-footer { overflow: hidden; }
/* GAGAN の文字の左脇に、そっと一本 */
.footer-sprout {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-bottom: -12px;
  width: 46px;
  aspect-ratio: 620 / 1117;
  background: url("../assets/sprout-tall.webp") center bottom / contain no-repeat;
  opacity: 1;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 240px; display: flex; align-items: flex-end; gap: 20px; }
.footer-brand-text { min-width: 0; }
.footer-wordmark { font-size: 22px; margin-bottom: 10px; --wm-dot: var(--orchid); }
.footer-wordmark .wm-dot { width: .22em; height: .22em; }
.footer-brand p { margin: 0; font-size: 12.5px; color: var(--muted); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col-label {
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Legal pages (privacy / koukoku)
   ============================================================ */
.legal {
  position: relative;
  padding: calc(var(--header-h) + 84px) 56px 0;
  background: var(--bg);
  overflow: hidden;
}
.legal-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.legal-orb { position: absolute; border-radius: 50%; filter: blur(30px); }
.legal-orb-a {
  left: 78%; top: -14%;
  width: 820px; height: 820px;
  margin: -410px 0 0 -410px;
  background: radial-gradient(circle, rgba(255, 223, 148, .6), rgba(255, 250, 240, 0) 70%);
  animation: gDriftA 34s ease-in-out infinite;
}
.legal-orb-b {
  left: 6%; top: 26%;
  width: 700px; height: 700px;
  margin: -350px 0 0 -350px;
  background: radial-gradient(circle, rgba(252, 231, 196, .7), rgba(255, 250, 240, 0) 68%);
  animation: gDriftB 42s ease-in-out infinite;
}

.legal-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; }

.legal-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}
.legal-crumb a { color: var(--muted); }
.legal-crumb a:hover { color: var(--wine); }
.legal-crumb span { opacity: .5; }

.legal-head { max-width: 44em; margin-bottom: 56px; }
.legal-head .kicker { margin-bottom: 18px; }
.legal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.legal-lede { margin: 0; font-size: 15.5px; line-height: 1.9; color: var(--muted); }

.legal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 24px;
  font: 500 9.5px/1.6 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-body { max-width: 44em; padding-bottom: 104px; }

.legal-section { border-top: 1px solid var(--line); padding: 30px 0 8px; }
.legal-section h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.legal-num {
  flex: none;
  font: 500 9.5px/1.9 var(--font-mono);
  letter-spacing: .14em;
  color: var(--wine);
}
.legal-section p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}
.legal-section p:last-child { margin-bottom: 14px; }
.legal-section ul, .legal-section ol {
  margin: 0 0 14px;
  padding-left: 1.35em;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}
.legal-section li { margin-bottom: 7px; }
.legal-section li::marker { color: var(--gold); }
.legal-section strong { color: var(--ink); font-weight: 600; }

.legal-dl {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.legal-dl dt {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}
.legal-dl dd {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  line-height: 1.8;
  color: var(--ink);
}
.legal-dl dd.is-muted { color: var(--muted); }

/* placeholder / caution callout — values still to be confirmed */
.legal-callout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
  padding: 18px 22px;
  background: var(--bg-sub);
  border-left: 2px solid var(--wine);
  border-radius: 0 12px 12px 0;
}
.legal-callout-label {
  font: 600 9.5px/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wine);
}
.legal-callout p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* notice archive (koukoku) */
.notice-empty {
  padding: 34px 26px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.notice-list { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; }
.notice-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 4px 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.notice-date {
  font: 500 11px/1.6 var(--font-mono);
  letter-spacing: .08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.notice-title { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.7; }

.legal-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.legal-cta-btn {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bg);
  background: var(--sage);
  border: 1px solid var(--sage);
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
}
.legal-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(78, 111, 91, .6);
  background: var(--sage-hover);
  color: var(--bg);
}
.legal-cta-back { font-size: 13.5px; font-weight: 600; color: var(--wine); }

/* ============================================================
   Works detail overlay
   ============================================================ */
.detail-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: stretch;
  justify-content: center;
  background: rgba(233, 226, 214, .72);
  -webkit-backdrop-filter: blur(14px) saturate(.9);
  backdrop-filter: blur(14px) saturate(.9);
  opacity: 0;
  transition: opacity .38s ease;
}
.detail-layer.is-open { display: flex; }
.detail-layer.is-visible { opacity: 1; }

.detail-panel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: clamp(16px, 4vh, 56px) clamp(16px, 4vw, 56px);
  border-radius: 3px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 50px 110px -40px rgba(77, 72, 66, .42);
  transform: translateY(22px) scale(.985);
  transition: transform .48s var(--ease-out);
}
.detail-layer.is-visible .detail-panel { transform: none; }

.detail {
  display: none;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
}
.detail.is-active { display: flex; }

/* 見出し。標本ラベルのように、細い罫でそっと仕切る */
.detail-header {
  position: relative;
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}
.detail-header::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(30%, 300px);
  z-index: 0;
  pointer-events: none;
  opacity: .16;
  background: url("../assets/works-circle.webp") right center / contain no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.detail-heading { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.detail-heading .ccap-tags { gap: 7px; }
.detail-heading h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .02em;
  color: var(--ink);
}
.detail-close {
  position: relative;
  z-index: 1;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 250, 240, .9);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.detail-close:hover { background: #fff; border-color: var(--wine); transform: rotate(90deg); }

/* 本文は、左に覚書・右に画面という見開きに */
.detail-body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(26px, 3.4vw, 40px) clamp(24px, 4vw, 56px) clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 60px);
  row-gap: 26px;
  align-content: start;
}
.detail-lede {
  grid-column: 1; grid-row: 1;
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--muted-on-photo);
}
.detail-dl {
  grid-column: 1; grid-row: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.detail-dl dt {
  font: 500 9.5px/1.6 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wine);
}
.detail-dl dd { margin: 0 0 12px; color: var(--ink); line-height: 1.85; }
.detail-note {
  grid-column: 1; grid-row: 3;
  margin: 0;
  font: 500 9px/1.8 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-figs {
  grid-column: 2; grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 40px);
  counter-reset: fig;
}
.detail-figs figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-figs figure.is-narrow { max-width: 320px; }
.detail-fig-img {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-sub);
  box-shadow: 0 16px 40px -20px rgba(77, 72, 66, .4);
}
.detail-fig-img img { width: 100%; display: block; }
.detail-figs figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font: 500 9.5px/1.4 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-figs figcaption::before {
  counter-increment: fig;
  content: counter(fig, decimal-leading-zero);
  color: var(--wine);
}

@media (max-width: 900px) {
  .detail-panel { margin: 0; border: 0; border-radius: 0; }
  .detail-body {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  .detail-lede, .detail-dl, .detail-note, .detail-figs {
    grid-column: 1;
    grid-row: auto;
  }
  .detail-figs { order: 3; }
  .detail-note { order: 4; }
  .detail-header::after { display: none; }
}

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  flex-direction: column;
  padding: 26px 26px calc(30px + env(safe-area-inset-bottom));
  overflow-y: auto;
  color: var(--ink);
  /* サイトと同じ地。上はクリーム、下へ行くほど薄紅から藤へ沈む */
  background:
    radial-gradient(120% 62% at 82% 6%, rgba(253, 216, 149, .34) 0%, rgba(253, 216, 149, 0) 62%),
    radial-gradient(112% 56% at 6% 96%, rgba(170, 172, 224, .38) 0%, rgba(170, 172, 224, 0) 64%),
    linear-gradient(176deg, #fffaf0 0%, #fdf4e8 22%, #f5e7e1 52%, #eee5ea 76%, #e3e1f2 100%);
}
/* 右下にそっと一本、サイトと同じ植物 */
.mobile-menu::after {
  content: "";
  position: absolute;
  right: -22px; bottom: -12px;
  width: min(52%, 220px); height: 58%;
  background: url("../assets/sprout-tall.webp") right bottom / contain no-repeat;
  opacity: .16;
  pointer-events: none;
}
.mobile-menu.is-open { display: flex; }

.menu-close {
  position: absolute;
  top: 20px; right: 22px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, .72);
  color: var(--wine);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease-out), border-color .3s ease;
}
.menu-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.menu-close:active { transform: rotate(90deg); border-color: var(--wine); }

.menu-wordmark {
  font-size: 20px;
  color: var(--ink);
  margin: 10px 0 34px;
  --wm-star: var(--gold);
  --wm-dot: var(--orchid);
}
.menu-wordmark .wm-dot { width: .22em; height: .22em; }

.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 2px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.menu-nav a:first-child { border-top: 1px solid var(--line); }
/* 触れているあいだだけ、罫が葡萄色に置き換わる */
.menu-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.menu-nav a:active::after { transform: scaleX(1); }

.menu-num {
  font: 300 13px/1 var(--font-serif);
  letter-spacing: .06em;
  color: var(--wine);
}
.menu-num-blank { color: var(--line-2); }
.menu-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.menu-en {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
  color: var(--ink);
}
.menu-jp {
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--muted);
}
.menu-arrow {
  width: 19px; height: 19px;
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease-out), stroke .4s ease;
}
.menu-nav a:active .menu-arrow { transform: translateX(4px); stroke: var(--wine); }

.menu-foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.menu-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.menu-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--bg);
  background: var(--sage);
  border: 1px solid var(--sage);
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease-out), background .25s ease;
}
.menu-mail .p-petal { width: 13px; height: 13px; fill: var(--gold-soft); }
.menu-mail:active { transform: translateY(1px); background: var(--sage-hover); color: var(--bg); }

/* 開くと、上から順にひとつずつ現れる */
.mobile-menu.is-open .menu-wordmark,
.mobile-menu.is-open .menu-nav a,
.mobile-menu.is-open .menu-foot {
  animation: menuIn .5s var(--ease-out) backwards;
}
.mobile-menu.is-open .menu-nav a:nth-child(1) { animation-delay: .06s; }
.mobile-menu.is-open .menu-nav a:nth-child(2) { animation-delay: .11s; }
.mobile-menu.is-open .menu-nav a:nth-child(3) { animation-delay: .16s; }
.mobile-menu.is-open .menu-nav a:nth-child(4) { animation-delay: .21s; }
.mobile-menu.is-open .menu-nav a:nth-child(5) { animation-delay: .26s; }
.mobile-menu.is-open .menu-nav a:nth-child(6) { animation-delay: .31s; }
.mobile-menu.is-open .menu-foot { animation-delay: .36s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.no-motion .mobile-menu.is-open * { animation: none !important; }

/* 画面の短い端末では、行を詰めて全項目を収める */
@media (max-height: 700px) {
  .menu-wordmark { margin: 6px 0 20px; }
  .menu-nav a { padding: 12px 2px; }
  .menu-en { font-size: 23px; }
  .menu-foot { padding-top: 20px; }
}

/* ============================================================
   タッチ端末: スクロール連動の面をあらかじめ合成に載せておく
   ============================================================ */
.is-touch .hero-stage,
.is-touch .wpin,
.is-touch .depth-viewport {
  transform: translateZ(0);
}
.is-touch .hero-layer image,
.is-touch .wtext {
  will-change: transform, opacity;
}
.is-touch .wcard { will-change: clip-path; }
/* iOS の慣性スクロールを止めない */
.is-touch { -webkit-overflow-scrolling: touch; }

/* --- Scroll reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-motion [data-reveal] { opacity: 1; transform: none; transition: none; }

/* 中間幅では本文の折り返しが植物に届くため、
   本文を絞りつつ植物を小さく淡くして重なりを避ける。
   .hero-sub の基本定義より後ろに置かないと上書きされない */
@media (max-width: 1120px) {
  .hero-sub { max-width: 28em; }
  /* タブレット以下では、苗は「会社概要」の見出しのすぐ右へ置く */
  .about::before {
    left: auto;
    right: max(2vw, 14px);
    top: 30px;
    bottom: auto;
    width: min(48%, 250px);
    background-position: right bottom;
  }
}

/* ============================================================
   Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .site-header { padding: 0 20px; justify-content: space-between; }
  .brand { font-size: 18px; }
  .header-nav { display: none; }
  .burger-btn { display: flex; }

  .hero { min-height: max(100svh, 560px); }
  .hero-inner { padding: 40px 24px 6vh; padding-left: 24px; }
  /* 指のひと振りで3枚とも通り過ぎてしまわないよう、
     小さい画面ほど1枚あたりの道のりを長く取る */
  .hero-track { height: 340svh; }
  .hero-kicker { font-size: 9.5px; letter-spacing: .26em; margin-bottom: 46px; }
  .hero-display { font-size: 54px; letter-spacing: .08em; margin-bottom: 20px; }
  .hero-title { margin-bottom: 16px; }
  .hero-title .lang-jp { font-size: 27px; line-height: 1.6; }
  .hero-title-en { font-size: 27px; line-height: 1.24; }
  .hero-sub { font-size: 14.5px; }
  .hero-hint { bottom: 22px; gap: 8px; }
  .hint-text { font-size: 9px; letter-spacing: .24em; }
  .hint-line { height: 28px; }

  .news { padding: 72px 24px; }
  .news-inner { grid-template-columns: 1fr; gap: 20px; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .news-body { font-size: 15.5px; line-height: 1.95; }

  .depth-track { height: 3900px; }
  .depth-frame { left: 22px; top: 72px; gap: .4rem; }
  .depth-frame-sub { font-size: 10.5px; }
  .depth-progress {
    left: 22px; right: 22px; bottom: 26px;
    justify-content: space-between;
  }
  .depth-dots { gap: 6px; }
  .depth-dot { width: 5px; height: 5px; }

  .glabel {
    inset: auto 0 56px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem;
    align-items: start;
    padding: 0 22px;
  }
  .glabel-id { position: static; gap: .5rem; }
  .glabel-name { font-size: 10px; }
  .glabel-chip { width: 16px; height: 16px; }
  .glabel-meta {
    position: static;
    justify-self: end;
    width: auto;
    max-width: min(58vw, 270px);
    gap: .28rem;
  }
  .glabel-row { grid-template-columns: 2.8rem 1fr; gap: .6rem; }
  .glabel-row span:last-child { font-size: 10.5px; }

  .approach-botanical { width: 46vw; height: 22%; opacity: .4; }
  .approach { padding: 80px 24px; }
  .approach .kicker { font-size: 10px; letter-spacing: .22em; margin-bottom: 26px; }
  .approach-display { font-size: 33px; line-height: 1.35; margin-bottom: 32px; }
  .approach-cards { grid-template-columns: 1fr; gap: 22px; }
  .approach-card { padding-top: 18px; }
  .approach-card h3 { font-size: 15px; margin-bottom: 8px; }
  .approach-card p { font-size: 13.5px; }

  .process { margin-top: 46px; }
  .process-head { gap: 12px; margin-bottom: 22px; }
  .process-kicker { font-size: 9px; }
  .process-head h3 { font-size: 15px; }
  .process-steps { display: flex; flex-direction: column; gap: 0; }
  .process-step {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 14px;
    gap: 0;
  }
  .process-rail {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 5px;
  }
  .process-line { width: 1px; height: auto; flex: 1; }
  .process-body { gap: 5px; padding-bottom: 22px; }
  .process-code { letter-spacing: .16em; }
  .process-body p { font-size: 13px; line-height: 1.95; }

  .works { padding: 64px 0 68px; }
  .works-scrim {
    background: linear-gradient(180deg, rgba(255, 250, 240, .7) 0%, rgba(255, 250, 240, .24) 42%, rgba(255, 250, 240, .8) 100%);
  }
  .works { padding-top: 0; }
  .works.is-quiet { padding: 0 0 84px; }
  .works-soon { min-height: 38svh; padding: 24px 24px 0; gap: 12px; }
  .works-soon-lead { font-size: 21px; }
  .works-soon-sub { font-size: 12.5px; line-height: 1.95; }
  .works-soon-sub br { display: none; }
  .works-head { padding: 88px 24px 20px; max-width: none; }
  .wpin-wrap { margin-top: 0; }
  /* 上余白が無いぶん、写真とフェードの持ち上げ量を合わせる */
  .works-bg { margin-top: -12px; margin-bottom: calc(-100svh + 12px); }
  .works-fade { height: 15svh; }
  .works-fade-top { top: -12px; }
  .works-head-text .kicker { font-size: 10px; letter-spacing: .22em; margin-bottom: 12px; }
  .works-head-text h2 { font-size: 27px; line-height: 1.5; margin-bottom: 10px; }
  .works-head-text p { font-size: 13px; line-height: 1.8; }
  .wpin-wrap { height: 420svh; margin-top: 28px; }
  .wpin { min-height: 0; }
  .wstage { flex-direction: column; align-items: stretch; gap: 22px; padding: 0 24px; }
  .wcards { flex: none; width: 100%; }
  .wtexts { min-height: 316px; }
  .wtext { gap: 9px; padding: 22px 22px; justify-content: flex-start; }
  .wtext h3 { font-size: 18px; }
  .wtext p { font-size: 12.5px; line-height: 1.8; }
  .wmore { padding: 10px 18px; }
  .wmeta { bottom: 22px; right: 24px; }

  .about { padding: 80px 24px 88px; }
  .about::before { right: 14px; top: 26px; width: min(52%, 200px); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-head h2 { font-size: 30px; line-height: 1.5; }
  .about-dl { grid-template-columns: 104px minmax(0, 1fr); }
  .about-dl dt, .about-dl dd { padding: 14px 0; font-size: 14px; }
  .about-dl dt { font-size: 12px; }

  .contact { padding: 80px 24px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 72px; }
  .contact-head h2 { font-size: 30px; line-height: 1.5; }
  .contact-form { max-width: none; }

  .footer-sprout { display: none; }
  .site-footer { padding: 40px 24px 34px; }
  .footer-inner { gap: 32px; }
  .footer-cols { gap: 32px; }

  .detail-panel { margin: 0; border-radius: 0; }
  .detail-header { padding: 24px 20px 18px; gap: 16px; }
  .detail-heading h3 { font-size: 19px; }
  .detail-body { padding: 22px 20px 40px; gap: 22px; }
  .detail-figs figure { width: 100%; }
  .detail-figs figure.is-narrow { max-width: 220px; }

  .legal { padding: calc(var(--header-h) + 52px) 24px 0; }
  .legal-crumb { margin-bottom: 26px; }
  .legal-head { margin-bottom: 38px; }
  .legal-title { font-size: 30px; line-height: 1.38; }
  .legal-lede { font-size: 14.5px; }
  .legal-body { padding-bottom: 72px; }
  .legal-section { padding: 26px 0 6px; }
  .legal-section h2 { font-size: 16px; gap: 10px; }
  .legal-section p, .legal-section ul, .legal-section ol { font-size: 13.5px; }
  .legal-dl { grid-template-columns: 1fr; }
  .legal-dl dt { padding: 13px 0 0; font-size: 12px; }
  .legal-dl dd { padding: 4px 0 13px; border-top: none; font-size: 13.5px; }
  .legal-callout { padding: 16px 18px; }
  .notice-item { grid-template-columns: 1fr; gap: 5px; }
  .legal-cta { margin-top: 32px; }
}

/* ============================================================
   遊びの部品 — LABO から採ったもの。控えめに、要所だけ
   ============================================================ */
.no-motion [class^="p-"], .no-motion [class*=" p-"] { animation: none !important; transition: none !important; }

/* B-02 ヘッダーのボタン: 星が先へ走る */
.header-cta { display: inline-flex; align-items: center; gap: 9px; }
.p-star {
  width: 10px; height: 10px;
  fill: var(--amber, #d29a41);
  flex: none;
  transition: transform .5s var(--ease-out);
}
.header-cta:hover .p-star { transform: translateX(5px) rotate(90deg); }

/* I-05 メニュー: 線が引き抜ける */
.p-menu {
  width: 26px; height: 26px;
  stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round;
}
.p-menu path { stroke-dasharray: 40; }
.burger-btn:hover .p-menu path { animation: pRedraw .7s var(--ease-out); }
@keyframes pRedraw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* M-01 スクロールの合図: まわる点 */
.p-orbit { position: relative; width: 22px; height: 22px; display: block; }
.p-orbit i { position: absolute; inset: 0; border: 1px solid var(--line-2); border-radius: 50%; }
.p-orbit b {
  position: absolute; top: -2px; left: 50%;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--wine);
  transform-origin: 2px 13px;
  animation: pOrbit 4.2s linear infinite;
}
@keyframes pOrbit { to { transform: rotate(360deg); } }

/* I-03 アプローチの札: つぼみが浮き上がる */
.p-bud {
  width: 22px; height: 22px;
  stroke: var(--sage, #3f5c47); stroke-width: 1.1; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .55;
  transition: transform .55s var(--ease-out), opacity .45s ease;
}
.approach-card:hover .p-bud { transform: translateY(-3px); opacity: 1; }

/* I-04 会社概要の見出し: 双葉 */
.about-head h2 { display: flex; align-items: center; gap: 14px; }
.p-sprout {
  width: 24px; height: 24px;
  stroke: var(--sage, #3f5c47); stroke-width: 1.1; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .6;
  animation: pSprout 9s ease-in-out infinite;
}
@keyframes pSprout { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* M-04 お問い合わせの見出し: 水紋 */
.p-ripple { position: relative; display: inline-block; width: 16px; height: 16px; margin-left: 12px; vertical-align: -3px; }
.p-ripple i { position: absolute; inset: 0; border: 1px solid var(--wine); border-radius: 50%; opacity: 0; animation: pRipple 3.2s ease-out infinite; }
.p-ripple i:nth-child(2) { animation-delay: 1.05s; }
.p-ripple i:nth-child(3) { animation-delay: 2.1s; }
@keyframes pRipple { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }

/* B-01 + I-01 実績の「詳しく見る」: 色が満ちて、矢印が伸びる */
.wmore { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; }
.wmore::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--sage, #3f5c47);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.wmore:hover { color: #fffaf0; border-color: transparent; background: rgba(255, 250, 240, .78); }
.wmore:hover::before { transform: translateY(0); }
.p-arrow {
  width: 15px; height: 15px;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
  transition: transform .5s var(--ease-out);
}
.wmore:hover .p-arrow { transform: translateX(4px); }

/* B-04 カードのヒント: 文字が入れ替わる */
.p-swap { position: relative; display: inline-grid; overflow: hidden; height: 1em; }
.p-swap span { grid-area: 1/1; transition: transform .46s var(--ease-out); }
.p-swap span:last-child { transform: translateY(115%); }
.wcards:hover .p-swap span:first-child { transform: translateY(-115%); }
.wcards:hover .p-swap span:last-child { transform: translateY(0); }

/* I-02 詳細の閉じる: 十字が回る */
.p-cross {
  width: 17px; height: 17px;
  stroke: currentColor; stroke-width: 1.3; fill: none; stroke-linecap: round;
}

/* B-05 モバイルのお問い合わせ: 花びらがひらく */
.menu-mail { display: inline-flex; align-items: center; gap: 10px; }
.p-petal {
  width: 13px; height: 13px;
  fill: currentColor;
  flex: none;
  transition: transform .6s var(--ease-out);
}
.menu-mail:hover .p-petal { transform: rotate(180deg) scale(1.25); }

/* B-07 + M-02 送信: 押すと沈み、送信中は棒が咲く */
.submit-btn { position: relative; transition: transform .18s ease, background .3s ease, box-shadow .3s ease; }
.submit-btn:active { transform: translateY(2px); }
.p-bloom {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  gap: 6px;
}
.p-bloom i { width: 4px; border-radius: 3px; background: currentColor; animation: pBloom 1.4s ease-in-out infinite; }
.p-bloom i:nth-child(2) { animation-delay: .16s; }
.p-bloom i:nth-child(3) { animation-delay: .32s; }
.p-bloom i:nth-child(4) { animation-delay: .48s; }
@keyframes pBloom { 0%, 100% { height: 6px; opacity: .45; } 50% { height: 17px; opacity: 1; } }
.submit-btn.is-sending .submit-label { opacity: 0; }
.submit-btn.is-sending .p-bloom { display: flex; }

/* L-04 お問い合わせとフッターのあいだ: 波の罫 */
.p-wave {
  display: block;
  width: 100%; height: 20px;
  position: relative; z-index: 3;
}
.p-wave path {
  stroke: var(--line-2); stroke-width: 1; fill: none;
  stroke-dasharray: 6 5;
  animation: pWave 28s linear infinite;
}
@keyframes pWave { to { stroke-dashoffset: -220; } }

/* L-01 会社概要の各行: 罫が左から引かれる */
.about-dl dd { position: relative; }
.about-dl dd::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
  opacity: .5;
}
.about-dl dd:hover::after { transform: scaleX(1); }

/* L-03 流れの罫: 破線が流れる */
.process-line {
  background-image: linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px);
  background-size: 10px 1px;
  background-color: transparent;
  animation: pDash 8s linear infinite;
}
@keyframes pDash { to { background-position: 40px 0; } }

/* B-03 ナビとフッターのリンク: 罫が引かれる */
.nav-link, .footer-col a { position: relative; }
.nav-link::after, .footer-col a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.nav-link:hover::after, .footer-col a:hover::after { transform: scaleX(1); }

/* M-03 フッターの星: またたく */
.footer-wordmark .wm-star { animation: pTwinkle 5.2s ease-in-out infinite; }
@keyframes pTwinkle { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* F-02 入力欄: 触れると縁が色づく */
.contact-form input, .contact-form textarea {
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(148, 104, 127, .09);
}

/* T-02 流れの番号: 明朝の数字に、伸びる罫 */
.process-code { display: flex; align-items: baseline; gap: 9px; }
.p-num {
  position: relative;
  font: 300 22px/1 var(--font-serif);
  letter-spacing: .02em;
  color: var(--ink);
}
.p-num::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--amber, #d29a41);
  transform: scaleX(.24);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.process-step:hover .p-num::after { transform: scaleX(1); }
/* 同じ番号を各セクションの通し番号にも。見出しが現れると罫が伸びきる */
.kicker .p-num {
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--wine);
  margin-right: 2px;
}
.kicker .p-num::after { bottom: -4px; }
[data-reveal].is-in .kicker .p-num::after,
.kicker[data-reveal].is-in .p-num::after { transform: scaleX(1); }
/* 規約ページの条番号にも */
.legal-num.p-num {
  font: 300 15px/1.35 var(--font-serif);
  letter-spacing: .04em;
  color: var(--wine);
}
.legal-num.p-num::after { bottom: -3px; transform: scaleX(.24); }
.legal-section:hover .legal-num.p-num::after { transform: scaleX(1); }

/* T-10 実績の見出し脇: またたく星のならび */
.p-stars { display: inline-flex; gap: 7px; margin-left: 13px; vertical-align: -1px; }
.p-stars svg { width: 9px; height: 9px; fill: var(--amber, #d29a41); opacity: .4; animation: pWink 4.2s ease-in-out infinite; }
.p-stars svg:nth-child(2) { animation-delay: .6s; }
.p-stars svg:nth-child(3) { animation-delay: 1.2s; }
@keyframes pWink { 0%, 100% { opacity: .3; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

/* T-01 実績の札: そっと浮き上がる */
.tag-pill { transition: background .4s ease, border-color .4s ease, transform .4s var(--ease-out); }
.wtext:hover .tag-pill, .detail-heading:hover .tag-pill { transform: translateY(-2px); border-color: var(--wine); }
/* 札そのものに触れたときは、もう一段だけ浮かせる */
.tag-pill:hover { transform: translateY(-4px); border-color: var(--wine); background: rgba(255, 250, 240, 1); box-shadow: 0 4px 12px rgba(74, 61, 51, .09); }

/* L-04 アプローチと流れのあいだにも、波の罫 */
.p-wave-soft { margin: 68px 0 8px; max-width: 1000px; opacity: .8; }
