@charset "UTF-8";
/* =========================================================
   EN.Connect corporate site
   墨（ink）と和紙（paper）を交互に。差し色は朱ひとつ。
   価・基・売の三色は、その軸を語る場面だけで使う。
   ========================================================= */
:root {
  --ink: #0A0E15;
  --ink-2: #111722;
  --paper: #F2F1ED;
  --paper-2: #E7E6E1;
  --sumi: #11151C;
  --muted-p: #555C67;
  --muted-i: #9BA4B3;
  --line-p: rgba(17, 21, 28, .14);
  --line-i: rgba(242, 241, 237, .14);
  --shu: #E0452B;
  --value: #A97410;
  --base: #2463A6;
  --sales: #D2412A;
  --value-l: #E9B24A;
  --base-l: #6FB4F2;
  --sales-l: #F2714F;
  --header-h: 80px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --brush: "Yuji Syuku", "Shippori Mincho B1", serif;
  --latin: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --script: "Great Vibes", cursive;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--sumi); background: var(--paper);
  font-size: 16px; line-height: 2; letter-spacing: .05em; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 紙の粒子感 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 990; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure, fieldset { margin: 0; }
em { font-style: normal; }
::selection { background: var(--shu); color: var(--paper); }

.inner { position: relative; width: min(1120px, 100% - 160px); margin-inline: auto; }
.sec { position: relative; padding: clamp(96px, 11vw, 160px) 0; }
.paper { background: var(--paper); color: var(--sumi); }
.paper--2 { background: var(--paper-2); }
.ink { background-color: var(--ink); color: var(--paper); background-image: linear-gradient(rgba(242, 241, 237, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 241, 237, .035) 1px, transparent 1px); background-size: 72px 72px; background-position: center top; }
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 900px) {
  .inner { width: calc(100% - 40px); }
}
@media (max-width: 767px) {
  .pc { display: none; }
  .sp { display: inline; }
}
.c-value { color: var(--value-l); }
.c-base { color: var(--base-l); }
.c-sales { color: var(--sales-l); }

/* ---------- 柱（縦書きの小見出し） ---------- */
.runner {
  position: absolute; left: clamp(20px, 3vw, 44px); top: clamp(96px, 11vw, 160px);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 13px; letter-spacing: .4em; color: var(--muted-p);
  display: flex; align-items: center; gap: 16px;
}
.runner::after { content: ""; width: 1px; height: 64px; background: currentColor; opacity: .5; }
.runner--light { color: var(--muted-i); }
@media (max-width: 900px) {
  .runner { position: static; writing-mode: horizontal-tb; width: calc(100% - 40px); margin: 0 auto 28px; letter-spacing: .3em; font-size: 12px; }
  .runner::after { width: 40px; height: 1px; }
}

/* ---------- 見出し ---------- */
.head { margin-bottom: clamp(48px, 6vw, 88px); }
.head__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.55; letter-spacing: .06em; }
.head__title--sm { font-size: clamp(24px, 2.8vw, 34px); }
.head__sub { margin-top: 20px; color: var(--muted-p); font-size: 15px; }
.ink .head__sub { color: var(--muted-i); }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.head--split .head__sub { margin: 0; }

/* ---------- 手書きの線（朱筆） ---------- */
.maru, .underline { position: relative; display: inline-block; white-space: nowrap; }
.maru svg { position: absolute; left: -10%; top: -22%; width: 120%; height: 150%; overflow: visible; pointer-events: none; }
.underline svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .4em; overflow: visible; }
.maru path, .underline path {
  fill: none; stroke: var(--shu); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s .5s cubic-bezier(.65, 0, .35, 1);
}
.is-in .maru path, .is-in .underline path { stroke-dashoffset: 0; }

/* ---------- リンク・ボタン ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.link-arrow:hover::after { width: 44px; }
.link-arrow--light { color: var(--paper); }
.cta { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.cta__seal {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: var(--shu); color: var(--paper); font-family: var(--serif); font-size: 12px; letter-spacing: 0;
  border-radius: 3px; box-shadow: inset 0 0 0 2px var(--shu), inset 0 0 0 3px rgba(238, 232, 220, .7);
  transition: transform .4s var(--ease);
}
.cta:hover .cta__seal, .submit:hover .cta__seal { transform: rotate(-8deg) scale(1.06); }

/* ---------- loader（円相） ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.enso { width: 180px; height: 180px; grid-area: 1 / 1; }
.enso__path { fill: none; stroke: var(--paper); stroke-width: 9; stroke-linecap: round; filter: url(#brush); stroke-dasharray: 520; stroke-dashoffset: 520; animation: enso 1.4s cubic-bezier(.6, 0, .3, 1) .2s forwards; }
@keyframes enso { to { stroke-dashoffset: 0; } }
.loader__ja { grid-area: 1 / 1; font-family: var(--brush); font-size: 54px; color: var(--shu); opacity: 0; animation: fadein .8s 1.2s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 998; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--shu); pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; border: 1px solid transparent; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; border-color: var(--shu); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--paper); transition: background .5s, color .5s, height .5s; }
.header.is-scrolled { background: rgba(238, 232, 220, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--sumi); --header-h: 64px; height: 64px; box-shadow: 0 1px 0 var(--line-p); }
.header__inner { height: 100%; width: calc(100% - 64px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; flex-direction: column; line-height: 1.1; }
.logo__en { font-family: var(--latin); font-weight: 600; font-size: 23px; letter-spacing: -.02em; }
.logo__en i { font-style: normal; color: var(--shu); }
.logo__ja { font-size: 9px; letter-spacing: .32em; opacity: .7; margin-top: 2px; }
.gnav { display: flex; align-items: center; gap: 40px; }
.gnav ul { display: flex; gap: 30px; font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: .12em; }
.gnav ul a { position: relative; }
.gnav ul a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--shu); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.gnav ul a:hover::after { transform: translateX(-50%) scale(1); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .header__inner { width: calc(100% - 40px); }
  .menu-btn { display: block; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit; }
  .menu-btn span { position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .menu-btn span:nth-child(1) { top: 18px; }
  .menu-btn span:nth-child(2) { top: 26px; width: 16px; }
  .menu-btn[aria-expanded="true"] { color: var(--paper); }
  .menu-btn[aria-expanded="true"] span { top: 22px; width: 24px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(30deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: rotate(-30deg); }
  .gnav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 48px; background: var(--ink); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: center; gap: 22px; font-size: 20px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2; flex: 1; width: calc(100% - 128px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  padding: calc(var(--header-h) + 48px) 0 56px; pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__title {
  grid-column: 2; grid-row: 1; align-self: center; display: flex; flex-direction: row-reverse; gap: clamp(16px, 2vw, 32px);
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.1; letter-spacing: .14em;
}
.hero__col { writing-mode: vertical-rl; display: flex; align-items: center; gap: 22px; }
.hero__col .v { display: block; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1); }
.hero__col--base .v { transition-delay: .25s; }
.hero__col--sales .v { transition-delay: .5s; }
.is-ready .hero__col .v { clip-path: inset(0 0 0 0); }
.hero__col--value em { color: var(--value-l); }
.hero__col--base em { color: var(--base-l); }
.hero__col--sales em { color: var(--sales-l); }
.seal {
  writing-mode: horizontal-tb; font-style: normal; display: grid; place-items: center; width: 1.05em; height: 1.05em;
  font-family: var(--brush); font-size: .5em; letter-spacing: 0; color: var(--ink); border-radius: 3px;
  opacity: 0; transform: scale(1.6) rotate(-10deg); transition: opacity .5s, transform .6s cubic-bezier(.34, 1.56, .64, 1);
}
.hero__col--value .seal { background: var(--value-l); transition-delay: 1.3s; }
.hero__col--base .seal { background: var(--base-l); transition-delay: 1.5s; }
.hero__col--sales .seal { background: var(--sales-l); transition-delay: 1.7s; }
.is-ready .seal { opacity: 1; transform: rotate(-4deg); }
.hero__side { grid-column: 1; grid-row: 1; align-self: end; max-width: 420px; opacity: 0; transform: translateY(16px); transition: opacity 1s 1.4s, transform 1s 1.4s var(--ease); }
.is-ready .hero__side { opacity: 1; transform: none; }
.hero__lead { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 2; margin-bottom: 32px; }
.hero__foot {
  position: relative; z-index: 2; width: calc(100% - 128px); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid var(--line-i);
  display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .2em; color: var(--muted-i);
}
.hero__foot-en { font-family: var(--latin); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 1px; height: 28px; background: var(--muted-i); transform-origin: top; animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero__inner { width: calc(100% - 40px); grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 20px) 0 32px; gap: 32px; }
  .hero__title { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; font-size: min(8.4vw, 40px); gap: 12px; }
  .hero__side { grid-row: 2; }
  .hero__foot { width: calc(100% - 40px); }
  .hero__foot { flex-wrap: wrap; gap: 2px 16px; }
  .hero__foot-en { order: 3; width: 100%; font-size: 10px; }
}

/* ---------- 縁 ---------- */
.en__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.en__mark { position: relative; justify-self: center; }
.en__kanji { display: block; font-family: var(--brush); font-size: clamp(200px, 26vw, 360px); line-height: 1; color: var(--sumi); }
.hanko {
  position: absolute; right: -6%; bottom: 8%; width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--shu); color: var(--paper); font-family: var(--latin); font-weight: 600; font-size: 22px; letter-spacing: .04em;
  border-radius: 4px; transform: rotate(-6deg); box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(238, 232, 220, .8);
}
.en__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.6; margin-bottom: 36px; letter-spacing: .06em; }
.en__strong { font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 1.2em; }
.en__body > p:not([class]) { color: var(--muted-p); }
.en__body > p + p { margin-top: 1.1em; }
.sign { margin-top: 44px; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; font-family: var(--serif); font-size: 14px; }
.sign__script { font-family: var(--script); font-size: 40px; line-height: 1; color: var(--sumi); transform: rotate(-4deg); }
@media (max-width: 900px) {
  .en__inner { grid-template-columns: 1fr; }
  .en__mark { justify-self: start; }
  .en__kanji { font-size: 180px; }
}

/* ---------- issues ---------- */
.issues__wrap { display: grid; grid-template-columns: 1fr 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.issues__list { counter-reset: q; border-top: 1px solid var(--sumi); }
.issues__list li { border-bottom: 1px solid var(--line-p); counter-increment: q; }
.issues__list label { position: relative; display: grid; grid-template-columns: 44px 28px 1fr; align-items: center; gap: 12px; padding: 18px 8px; cursor: pointer; transition: background .3s; }
.issues__list label::before { content: counter(q, cjk-ideographic); font-family: var(--serif); font-size: 13px; color: var(--muted-p); }
.issues__list label:hover { background: rgba(255, 255, 255, .35); }
.issues__list input { position: absolute; opacity: 0; pointer-events: none; }
.box { width: 22px; height: 22px; border: 1.5px solid var(--sumi); position: relative; }
.box svg { position: absolute; left: -3px; top: -8px; width: 30px; height: 30px; overflow: visible; }
.box path { fill: none; stroke: var(--shu); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .4s cubic-bezier(.65, 0, .35, 1); }
.issues__list input:checked ~ .box path { stroke-dashoffset: 0; }
.issues__list input:focus-visible ~ .box { outline: 2px solid var(--base); outline-offset: 3px; }
.issues__list .txt { font-weight: 500; transition: color .3s; }
.issues__list input:checked ~ .txt { color: var(--muted-p); text-decoration: line-through; text-decoration-color: var(--shu); text-decoration-thickness: 1px; }
.tally { position: sticky; top: 120px; padding: 28px 24px; border: 1px solid var(--sumi); text-align: center; background: var(--paper); }
.tally__label { font-family: var(--serif); font-size: 13px; letter-spacing: .3em; color: var(--muted-p); }
.tally__num { font-family: var(--latin); margin: 6px 0 12px; display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.tally__num b { font-size: 96px; font-weight: 500; line-height: 1; color: var(--shu); }
.tally__num span { font-family: var(--serif); font-size: 16px; color: var(--muted-p); }
.tally__msg { font-size: 13px; color: var(--muted-p); line-height: 1.9; }
.tally__msg a { color: var(--shu); border-bottom: 1px solid currentColor; }
@media (max-width: 900px) {
  .issues__wrap { grid-template-columns: 1fr; }
  .issues__list label { grid-template-columns: 24px 24px 1fr; padding: 14px 2px; gap: 10px; }
  .issues__list .txt { font-size: 15px; letter-spacing: .02em; line-height: 1.7; }
  .tally { position: sticky; top: auto; bottom: 12px; z-index: 5; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: center; text-align: left; padding: 12px 18px; box-shadow: 0 10px 30px rgba(20, 18, 15, .18); }
  .tally__label { grid-column: 1 / -1; font-size: 11px; letter-spacing: .2em; }
  .tally__num { margin: 0; }
  .tally__num b { font-size: 48px; }
}

/* ---------- stance ---------- */
.stance { padding: clamp(110px, 13vw, 190px) 0 clamp(96px, 11vw, 150px); }
.stance__inner { text-align: center; }
.stance__title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 70px); line-height: 1.7; letter-spacing: .08em; }
.stance__text { max-width: 760px; margin: 48px auto 0; color: var(--muted-i); font-size: clamp(15px, 1.4vw, 17px); }
.stance__text b { font-weight: 700; }
@media (max-width: 767px) { .stance__text { text-align: left; } }

/* ---------- 写真の色味をそろえる（ダブルトーン） ---------- */
.duo { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.duo video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.95); }
.duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #1B2C45, #0A0E15); mix-blend-mode: screen; opacity: .6; pointer-events: none; }
.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #DCE6F2; mix-blend-mode: multiply; opacity: .95; pointer-events: none; }
.duo { box-shadow: 0 0 0 1px var(--line-p); }
.duo--warm::before { background: #E8B98A; }
.duo--soft::before { background: #F1DED6; }

/* ---------- axes（見開き） ---------- */
.spread {
  display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "text fig" "list list";
  gap: clamp(32px, 4vw, 56px) clamp(32px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--sumi);
}
.spread--rev { grid-template-columns: .95fr 1.05fr; grid-template-areas: "fig text" "list list"; }
.spread__text { grid-area: text; align-self: center; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "kanji no" "kanji title" "kanji lead"; column-gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.spread__fig { grid-area: fig; }
.spread__list { grid-area: list; }
.spread__no { grid-area: no; font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--muted-p); }
.spread__kanji { grid-area: kanji; font-family: var(--brush); font-size: clamp(96px, 10vw, 150px); line-height: .9; }
.spread__title { grid-area: title; white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.7vw, 40px); line-height: 1.4; margin: 12px 0 20px; }
.spread__lead { grid-area: lead; color: var(--muted-p); }
.spread__fig .duo { aspect-ratio: 4 / 3; }
.spread__fig figcaption { margin-top: 12px; font-family: var(--serif); font-size: 12px; color: var(--muted-p); letter-spacing: .1em; }
.spread__list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-p); }
.spread__list li { padding: 24px 24px 0 0; }
.spread__list li + li { padding-left: 24px; border-left: 1px solid var(--line-p); }
.spread__list h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.spread__list p { font-size: 14px; color: var(--muted-p); line-height: 1.9; }
.spread--value .spread__kanji, .spread--value em { color: var(--value); }
.spread--base .spread__kanji, .spread--base em { color: var(--base); }
.spread--sales .spread__kanji, .spread--sales em { color: var(--sales); }
.spread--value .spread__list h4::before, .spread--base .spread__list h4::before, .spread--sales .spread__list h4::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; vertical-align: middle; transform: translateY(-2px) rotate(45deg); }
.spread--value .spread__list h4::before { background: var(--value); }
.spread--base .spread__list h4::before { background: var(--base); }
.spread--sales .spread__list h4::before { background: var(--sales); }
@media (max-width: 900px) {
  .spread, .spread--rev { grid-template-columns: 1fr; grid-template-areas: "text" "fig" "list"; }
  .spread__list { grid-template-columns: 1fr 1fr; }
  .spread__list li, .spread__list li + li { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line-p); }
  .spread__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-p); }
}
@media (max-width: 520px) {
  .spread__list { grid-template-columns: 1fr; }
  .spread__list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .spread__kanji { font-size: 80px; }
}

/* ---------- tech ---------- */
.tech .head__title { line-height: 1.7; }
.tech__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-i); }
.tech__list li { padding: 36px 36px 0 0; }
.tech__list li + li { padding-left: 36px; border-left: 1px solid var(--line-i); }
.tech__en { font-family: var(--latin); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--base-l); }
.tech__list h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 18px 0 10px; }
.tech__list p:not(.tech__en) { color: var(--muted-i); font-size: 14px; }
@media (max-width: 900px) {
  .tech__list { grid-template-columns: 1fr; }
  .tech__list li, .tech__list li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-i); }
}

/* ---------- build（索引） ---------- */
.index { border-top: 1px solid var(--sumi); }
.index li {
  position: relative; display: grid; grid-template-columns: 80px 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 28px 8px; border-bottom: 1px solid var(--line-p); transition: padding .5s var(--ease), color .4s;
}
.index li::after { content: "→"; font-family: var(--latin); font-size: 22px; justify-self: end; transition: transform .4s var(--ease), color .4s; }
.index__no { font-family: var(--latin); font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--shu); }
.index h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); }
.index p { color: var(--muted-p); font-size: 14px; }
@media (hover: hover) {
  .index li:hover { padding-left: 28px; color: var(--shu); }
  .index li:hover::after { transform: translateX(6px); }
}
@media (max-width: 767px) {
  .index li { grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 4px; }
  .index li::after { display: none; }
  .index p { grid-column: 2; }
}
/* ---------- process ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.steps::before { right: 0; background: var(--line-p); }
.steps::after { width: calc(var(--p) * 100%); height: 2px; top: -.5px; background: var(--shu); }
.steps li { position: relative; padding: 32px 24px 0 0; opacity: .4; transition: opacity .6s; }
.steps li.is-on { opacity: 1; }
.steps__no { font-family: var(--brush); font-size: 44px; line-height: 1; margin-bottom: 14px; }
.steps li.is-on .steps__no { color: var(--shu); }
.steps h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.steps p:not(.steps__no) { font-size: 14px; color: var(--muted-p); }
.price { margin-top: 80px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--sumi); background: var(--paper); }
.price__seal { width: 64px; height: 64px; display: grid; place-items: center; background: var(--shu); color: var(--paper); font-family: var(--serif); font-size: 15px; border-radius: 4px; transform: rotate(-4deg); box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(238, 232, 220, .8); }
.price strong { color: var(--shu); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before, .steps::after { left: 0; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { height: calc(var(--p) * 100%); bottom: auto; width: 2px; left: -.5px; }
  .steps li { padding: 0 0 32px 28px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .steps__no { grid-row: span 2; font-size: 36px; margin: 0; }
  .price { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
}

/* ---------- funeral ---------- */
.funeral__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.funeral__fig { position: sticky; top: 120px; }
.funeral__fig .duo { aspect-ratio: 3 / 4; }
.funeral__kicker { font-family: var(--serif); font-size: 14px; letter-spacing: .3em; color: var(--sales-l); margin-bottom: 20px; }
.funeral__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.65; margin-bottom: 32px; letter-spacing: .05em; }
.funeral__body > p:not([class]) { color: #C9CFD9; }
.funeral__body > p + p { margin-top: 1.1em; }
.funeral__points { margin: 40px 0 44px; border-top: 1px solid var(--line-i); }
.funeral__points li { padding: 20px 0; border-bottom: 1px solid var(--line-i); color: var(--muted-i); font-size: 14px; }
.funeral__points b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--paper); margin-bottom: 8px; letter-spacing: .08em; }
.funeral__no { display: block; font-family: var(--latin); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sales-l); margin-bottom: 8px; }
.funeral__points { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 640px) { .funeral__points { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .funeral__inner { grid-template-columns: 1fr; }
  .funeral__fig { position: relative; top: 0; }
  .funeral__fig .duo { aspect-ratio: 16 / 10; }
}

/* ---------- salon ---------- */
.salon { padding: 40px 0; border-bottom: 1px solid var(--line-p); }
.salon__inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center; }
.salon__fig { margin: 0; aspect-ratio: 10 / 9; overflow: hidden; box-shadow: 0 0 0 1px var(--line-p); }
.salon__fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.salon__name { font-family: var(--latin); font-size: 14px; letter-spacing: .3em; margin-left: 8px; color: var(--muted-p); }
.salon__title { font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.salon__inner p { font-size: 14px; color: var(--muted-p); }
.salon .link-arrow { font-size: 13px; white-space: nowrap; }
.salon__links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 767px) {
  .salon__inner { grid-template-columns: 1fr; gap: 20px; }
  .salon__links { grid-column: 1 / -1; }
}

/* ---------- company ---------- */
.company__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.company__table > div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-p); }
.company__table > div:first-child { border-top: 1px solid var(--sumi); }
.company__table dt { font-family: var(--serif); font-weight: 600; font-size: 14px; }
.company__table a { color: var(--shu); border-bottom: 1px solid currentColor; }
.map { margin-top: 64px; aspect-ratio: 21 / 8; border: 1px solid var(--line-p); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) contrast(.95); }
@media (max-width: 767px) {
  .company__inner { grid-template-columns: 1fr; gap: 0; }
  .company__table > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .map { aspect-ratio: 4 / 3; margin-top: 40px; }
}

/* ---------- faq ---------- */
.faq { padding-top: 0; }
.faq__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line-p); }
.faq details:first-child { border-top: 1px solid var(--sumi); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 44px; position: relative; font-family: var(--serif); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 0; top: 24px; font-family: var(--brush); color: var(--shu); font-size: 20px; line-height: 1.6; }
.faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 1px; background: currentColor; box-shadow: none; transition: transform .3s var(--ease); }
.faq details:not([open]) summary::after { box-shadow: 0 0 0 0 currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; height: 12px; margin-top: -6px; }
.faq details p { position: relative; padding: 0 0 24px 44px; color: var(--muted-p); }
.faq details p::before { content: "答"; position: absolute; left: 0; font-family: var(--brush); font-size: 20px; line-height: 1.6; color: var(--muted-p); }
@media (max-width: 767px) { .faq__inner { grid-template-columns: 1fr; gap: 0; } }

/* ---------- contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact__title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.6; margin-bottom: 28px; }
.contact__head > p { color: var(--muted-i); }
.contact__tel { display: inline-flex; flex-direction: column; margin-top: 48px; }
.contact__tel span { font-family: var(--serif); font-size: 13px; letter-spacing: .3em; color: var(--muted-i); }
.contact__tel strong { font-family: var(--latin); font-weight: 500; font-size: clamp(36px, 4vw, 52px); letter-spacing: .04em; line-height: 1.2; border-bottom: 1px solid var(--line-i); }
.contact__form { display: grid; gap: 26px; }
.contact__form > label, .contact__form legend { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; font-family: var(--serif); font-size: 14px; color: var(--muted-i); }
.contact__form .req { justify-self: start; align-self: center; font-family: var(--sans); font-size: 10px; padding: 0 6px; line-height: 1.8; color: var(--sales-l); border: 1px solid currentColor; }
.contact__form > label input, .contact__form textarea { grid-column: 1 / -1; }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form textarea {
  font: inherit; font-family: var(--sans); font-size: 16px; color: var(--paper); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-i); padding: 8px 0; border-radius: 0; transition: border-color .3s;
}
.contact__form textarea { border: 1px solid var(--line-i); padding: 12px; resize: vertical; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--paper); }
.contact__form fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact__form legend { margin-bottom: 12px; }
.chip { position: relative; display: inline-flex; align-items: center; padding: 6px 16px; font-family: var(--serif); font-size: 14px; border: 1px solid var(--line-i); border-radius: 999px; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.chip input { position: absolute; opacity: 0; }
.chip:has(input:checked) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip--value:has(input:checked) { background: var(--value-l); border-color: var(--value-l); }
.chip--base:has(input:checked) { background: var(--base-l); border-color: var(--base-l); }
.chip--sales:has(input:checked) { background: var(--sales-l); border-color: var(--sales-l); }
.chip:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 2px; }
.contact__form > .agree { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--shu); }
.agree a { color: var(--paper); border-bottom: 1px solid currentColor; }
.submit { justify-self: start; display: inline-flex; align-items: center; gap: 16px; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .2em; cursor: pointer; }
.submit .cta__seal { width: 56px; height: 56px; font-size: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--muted-i); padding: 24px 0 32px; font-size: 13px; overflow: hidden; border-top: 1px solid var(--line-i); }
.footer__big { font-family: var(--latin); font-weight: 600; font-size: clamp(64px, 16vw, 250px); line-height: 1.05; text-align: center; letter-spacing: -.04em; color: rgba(242, 241, 237, .08); white-space: nowrap; user-select: none; margin-bottom: 40px; }
.footer__big .lt { display: inline-block; transition: transform .5s cubic-bezier(.34, 1.8, .64, 1), color .3s; }
.footer__big .dot .lt { color: var(--shu); }
.footer__big .lt:hover, .footer__big .lt.is-jump { transform: translateY(-.14em) rotate(-6deg); color: var(--paper); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; }
.footer__nav a:hover { color: var(--paper); }
.footer__links { text-align: center; margin-top: 48px; font-size: 12px; }
.footer__links a:hover { color: var(--paper); }
.footer__copy { text-align: center; margin-top: 20px; font-family: var(--latin); font-size: 13px; letter-spacing: .1em; }
.hint { text-align: center; margin-top: 16px; font-size: 11px; letter-spacing: .1em; opacity: .7; }
.hint kbd { font-family: var(--latin); border: 1px solid var(--line-i); padding: 0 6px; border-radius: 3px; color: var(--paper); }
.hint--touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint--key { display: none; } .hint--touch { display: block; } }
@media (max-width: 767px) { .footer__nav { grid-template-columns: 1fr; } }

/* ---------- 遊び心：縁のハンコ / 文字がはじける ---------- */
.stamp {
  position: fixed; left: 50%; top: 50%; z-index: 1001; pointer-events: none;
  width: 168px; height: 168px; margin: -84px 0 0 -84px; display: grid; place-items: center;
  background: var(--shu); color: var(--paper); border-radius: 8px;
  font-family: var(--brush); font-size: 112px; line-height: 1;
  box-shadow: inset 0 0 0 6px var(--shu), inset 0 0 0 9px rgba(238, 232, 220, .85), 0 20px 50px rgba(20, 18, 15, .35);
  animation: stamp 1.9s var(--ease) forwards;
}
.stamp small { position: absolute; bottom: -44px; font-family: var(--serif); font-size: 14px; color: var(--paper); white-space: nowrap; letter-spacing: .15em; text-shadow: 0 1px 8px rgba(20, 18, 15, .8); }
@keyframes stamp {
  0% { transform: scale(2.6) rotate(-16deg); opacity: 0; }
  16% { transform: scale(.94) rotate(-7deg); opacity: 1; }
  24% { transform: scale(1) rotate(-7deg); }
  82% { opacity: 1; }
  100% { transform: scale(1) rotate(-7deg); opacity: 0; }
}
.pop { position: fixed; z-index: 997; pointer-events: none; font-family: var(--brush); font-size: 34px; line-height: 1; transform: translate(-50%, -50%); animation: pop 1.4s var(--ease) forwards; }
@keyframes pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  20% { opacity: 1; transform: translate(-50%, -80%) scale(1.1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.9) rotate(var(--rot)); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__side, .seal { opacity: 1; transform: none; }
  .hero__col .v { clip-path: none; }
  .steps li { opacity: 1; }
  .maru path, .underline path, .box path { stroke-dashoffset: 0; }
  .issues__list input:not(:checked) ~ .box path { stroke-dashoffset: 40; }
}

/* ---------- tech：背景に映像（青モノクロ） ---------- */
.tech { overflow: hidden; }
.tech__bg { position: absolute; inset: 0; z-index: 0; opacity: .32; }
.tech__bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); mix-blend-mode: screen; }
.tech__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, var(--ink)), rgba(36, 99, 166, .35); mix-blend-mode: normal; }
.tech .inner { z-index: 1; }

/* ---------- hero：技術図面のような注記 ---------- */
.callouts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts line { stroke: rgba(242, 241, 237, .35); stroke-width: 1; }
.callouts circle { fill: none; stroke: rgba(242, 241, 237, .7); stroke-width: 1; }
.callout {
  position: absolute; left: 0; top: 0; margin: 0; display: flex; align-items: baseline; gap: 12px; white-space: nowrap;
  font-family: var(--latin); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(242, 241, 237, .75);
  opacity: 0; transition: opacity 1s 2s;
}
.callout b { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; text-transform: none; font-weight: 600; }
.callout--value b { color: var(--value-l); }
.callout--base b { color: var(--base-l); }
.callout--sales b { color: var(--sales-l); }
.is-ready .callout { opacity: 1; }
@media (max-width: 900px) {
  .callout { gap: 6px; font-size: 9px; letter-spacing: .14em; }
  .callout b { font-size: 13px; }
}
@media (max-width: 520px) {
  .callout { flex-direction: column; align-items: flex-start; gap: 0; font-size: 8px; line-height: 1.5; }
  .callout em { font-size: 8px; }
}

/* =========================================================
   近未来の演出
   ========================================================= */
/* 読み進み具合の線 */
.progress { position: fixed; left: 0; top: 0; z-index: 200; width: 100%; height: 2px; background: var(--shu); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* 見出しの解読 */
.dc { display: inline; }
.dc.is-decoding { color: var(--base-l); font-family: var(--latin); font-weight: 400; opacity: .85; }
.paper .dc.is-decoding { color: var(--base); }

/* 写真：照準の枠 + 走査線で現れる */
.duo { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.65, 0, .35, 1); }
.duo.is-scanned { clip-path: inset(0 0 0 0); }
.duo .scan {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--base-l) 20%, #fff 50%, var(--base-l) 80%, transparent);
  box-shadow: 0 0 16px 2px rgba(111, 180, 242, .6); opacity: 0;
}
.duo.is-scanned .scan { animation: scan 1.2s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.spread__fig { position: relative; }
.spread__fig::before, .spread__fig::after, .funeral__fig::before, .funeral__fig::after {
  content: ""; position: absolute; z-index: 4; width: 18px; height: 18px; pointer-events: none; border-color: var(--shu); border-style: solid;
}
.spread__fig::before, .funeral__fig::before { left: -8px; top: -8px; border-width: 2px 0 0 2px; }
.spread__fig::after { right: -8px; bottom: -8px; border-width: 0 2px 2px 0; }
.spread__fig { margin-bottom: 40px; }
.spread__fig figcaption { position: absolute; left: 0; right: 0; top: 100%; }
.funeral__fig::after { right: -8px; bottom: -8px; border-width: 0 2px 2px 0; }

/* 墨の面：ゆっくり降りてくる走査光 */
.ink { position: relative; overflow: hidden; }
.ink::after {
  content: ""; position: absolute; left: 0; right: 0; top: -20%; height: 20%; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(111, 180, 242, .05) 50%, transparent);
  animation: sweep 9s linear infinite;
}
.ink > * { position: relative; z-index: 1; }
.ink > .tech__bg { position: absolute; z-index: 0; }
.ink > .runner { position: absolute; }
@media (max-width: 900px) { .ink > .runner { position: static; } }
@keyframes sweep { to { top: 120%; } }

/* 注記に小さな数値の読み取り */
.callout em { font-style: normal; font-size: 10px; letter-spacing: .1em; color: rgba(242, 241, 237, .45); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .duo { clip-path: none; }
  .ink::after { display: none; }
}
@media (max-width: 520px) { .funeral__title { font-size: 6.4vw; letter-spacing: .02em; } }

/* ---------- 導入後の拡張性 ---------- */
.expand { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--line-p); padding-top: 48px; }
.expand__en { font-family: var(--latin); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--shu); margin-bottom: 16px; }
.expand__title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; margin-bottom: 16px; }
.expand__lead { font-size: 14px; color: var(--muted-p); }
.expand__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.expand__list li { padding: 0 0 0 32px; border-left: 1px solid var(--line-p); }
.expand__no { font-family: var(--latin); font-size: 12px; letter-spacing: .16em; color: var(--muted-p); margin-bottom: 12px; }
.expand__list h4 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin-bottom: 12px; }
.expand__list p:not(.expand__no) { font-size: 14px; line-height: 2; color: var(--muted-p); }
@media (max-width: 900px) {
  .expand { grid-template-columns: 1fr; padding-top: 36px; }
  .expand__list { grid-template-columns: 1fr; }
  .expand__list li { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line-p); }
  .expand__list li + li { margin-top: 28px; }
}
.expand__title span { font-size: .72em; color: var(--muted-p); }

/* ---------- 事業別ページへのリンク ---------- */
.more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--shu); text-decoration: underline; text-underline-offset: 4px; }
.more--light { color: var(--sales-l); }
.more-wrap { margin: -20px 0 28px; }

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