/* 合同会社C-WAVE — 業務の設計図を描く会社
   paper / ink / navy の3つで組む。角は立てる。影・グラデーションは使わない。 */

@font-face { font-family: "CW Mincho"; src: url("/assets/fonts/shippori-mincho-500.f750edb9.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "CW Mincho"; src: url("/assets/fonts/shippori-mincho-600.2ebd117d.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "CW Sans"; src: url("/assets/fonts/noto-sans-jp.4e9dc906.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "CW Mono"; src: url("/assets/fonts/ibm-plex-mono-400.baa384f4.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "CW Mono"; src: url("/assets/fonts/ibm-plex-mono-500.9cc669e1.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F6F4EE;
  --paper-2: #ECE8DF;
  --ink: #14161C;
  --ink-2: #4A4D55;
  --rule: #CFCAC0;
  --line: #14161C;
  --navy: #00316A;
  --navy-tint: #DCE5F0;
  --night: #101318;
  --night-2: #1B1F27;
  --bone: #EDEAE3;
  --bone-2: #A3A6AD;
  --sky: #9DBBE6;

  --f-min: "CW Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "CW Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-mono: "CW Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: 20px;
  --gut: 16px;
  --hd: 60px;
  --sec-y: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 820px) {
  :root { --pad: 40px; --gut: 24px; --hd: 72px; --sec-y: 144px; }
}
@media (min-width: 1240px) {
  :root { --pad: 56px; --sec-y: 168px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 8px); }
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .03em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 820px) { body { font-size: 17px; } }

img, svg { display: block; max-width: 100%; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
small { font-size: inherit; }
::selection { background: var(--navy); color: var(--paper); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.sec--night :focus-visible, .ft :focus-visible { outline-color: var(--sky); }
.sec--navy :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1280px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--gut); }
@media (min-width: 820px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ type */
.h1, .h2, .h3, .prof__nm {
  font-family: var(--f-min);
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: .01em;
}
.ph { display: inline-block; }
.ln { display: block; }

.h1 {
  font-size: clamp(34px, 10.2vw, 44px);
  line-height: 1.34;
  letter-spacing: 0;
}
@media (min-width: 820px) { .h1 { font-size: clamp(52px, 5.55vw, 80px); line-height: 1.26; } }
.h1 .ln--ai { color: var(--navy); }

.h2 { font-size: 28px; line-height: 1.5; }
@media (min-width: 820px) { .h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.44; } }
.h2--s { font-size: 28px; }
@media (min-width: 820px) { .h2--s { font-size: 36px; } }
.h2--xl { font-size: clamp(25px, 7.3vw, 32px); line-height: 1.46; }
@media (min-width: 820px) { .h2--xl { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.36; } }

.two .ln--2 { color: var(--ink-2); }
.sec--night .two .ln { color: var(--bone); }
.sec--night .two .ln--2 { color: var(--bone-2); }

p, li, dd, dt, figcaption { line-break: strict; overflow-wrap: break-word; }
.kd { letter-spacing: -.14em; }
.nw { white-space: nowrap; }

.arw { font-family: var(--f-mono); font-weight: 400; display: inline-block; transition: transform .25s var(--ease); }

/* ------------------------------------------------------------------ buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 52px; padding: 0 24px;
  background: var(--navy); color: var(--paper);
  border: 1px solid var(--navy);
  font-size: 15px; font-weight: 500; letter-spacing: .08em; line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:hover .arw, .tlink:hover .arw, .idx a:hover .arw { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 10px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 16px; }
.btn--xl { min-height: 76px; width: 100%; justify-content: space-between; padding: 0 26px; font-size: 17px; gap: 20px; }
@media (min-width: 820px) { .btn--xl { width: auto; min-width: 560px; min-height: 104px; padding: 0 44px; font-size: 21px; gap: 40px; } }
.btn--xl .arw { font-size: 1.15em; }
.btn--paper { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn--paper:hover { background: var(--bone); border-color: var(--bone); color: var(--navy); }

.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); text-decoration: none; font-weight: 500; padding-bottom: 4px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.tlink:hover::after { transform: scaleX(1.08); }

/* ------------------------------------------------------------------ header */
.hd { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hd__in { display: flex; align-items: center; gap: 16px; height: var(--hd); }
.wm { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wm__pre { font-family: var(--f-sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-2); }
.wm__name { font-family: var(--f-min); font-weight: 600; font-size: 21px; letter-spacing: .06em; }
.wm--stack { flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.wm--stack .wm__pre { font-size: 12px; letter-spacing: .26em; }
.wm--stack .wm__name { font-size: 25px; letter-spacing: .04em; }
@media (min-width: 820px) { .wm--stack .wm__name { font-size: 28px; } }
.hd__nav { display: none; margin-left: auto; }
.hd__nav ul { display: flex; gap: 26px; }
.hd__nav a, .ft__nav a, .ft__link {
  position: relative; display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .06em;
  text-decoration: none; padding: 6px 0; white-space: nowrap;
}
.hd__nav a::after, .ft__nav a::after, .ft__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.hd__nav a:hover::after, .ft__nav a:hover::after, .ft__link:hover::after { transform: scaleX(1); }
.hd__cta { margin-left: auto; }
@media (min-width: 1080px) {
  .hd__nav { display: block; }
  .hd__cta { margin-left: 12px; }
}

/* ------------------------------------------------------------------ section frame */
.sec { padding-block: var(--sec-y); position: relative; }
.sec--paper { background-color: var(--paper); }
.sec--sand { background-color: var(--paper-2); }
.sec--night { background-color: var(--night); color: var(--bone); }
.sec--navy { background-color: var(--navy); color: var(--bone); }
.sec--services { border-top: 1px solid var(--ink); padding-bottom: calc(var(--sec-y) * .55); }

.sec__head { row-gap: 28px; margin-bottom: 64px; }
@media (min-width: 820px) {
  .sec__head { margin-bottom: 112px; }
  .sec__label { grid-column: 1 / 4; }
  .sec__main { grid-column: 4 / 13; }
}
.sec__head--tight { margin-bottom: 40px; }
@media (min-width: 820px) { .sec__head--tight { margin-bottom: 56px; } }

.sec__label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; letter-spacing: .1em; line-height: 1.4; }
@media (min-width: 820px) { .sec__label { padding-top: 14px; align-self: start; } }
.sec__no { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 14px; }
.sec__no::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.sec--night .sec__label { color: var(--bone); }
.sec--navy .sec__label { color: var(--bone); }

.sec__lead { margin-top: 36px; max-width: 40em; color: var(--bone-2); }
@media (min-width: 820px) { .sec__lead { font-size: 17px; } }
.sec__note { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.key { width: 14px; height: 14px; background: var(--navy); flex: none; }

/* ------------------------------------------------------------------ figures (shared) */
.figcap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 14px; margin-bottom: 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2); letter-spacing: .04em; }
.figcap__ref { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2); margin-top: 2px; }
.figcap__no { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.sec--night .figcap { color: var(--bone-2); }
.sec--night .figcap__no { color: var(--bone); }

.figbox svg { width: 100%; height: auto; }
/* phone-version drawings keep a phone-like size up to the tablet break */
@media (max-width: 819px) {
  .fig1box, .figcap--hero { max-width: 460px; }
  .orgfig .figbox { max-width: 460px; }
  .mockbox, .svc__fig .flow { max-width: 520px; }
}

/* SVG text */
.t-step { font-family: var(--f-sans); font-size: 15px; font-weight: 500; letter-spacing: .03em; }
.t-step--s { font-size: 14px; }
.t-step--m { font-size: 13px; }
.t-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.t-num--b { font-weight: 500; font-size: 13px; }
.t-note { font-family: var(--f-sans); font-size: 13px; font-weight: 500; letter-spacing: .04em; fill: var(--ink-2); }
.t-note--ink { fill: var(--ink); }
.t-note--bone { fill: var(--bone); }
.t-note--bone2 { fill: var(--bone-2); }
.t-ui { font-family: var(--f-sans); font-size: 12.5px; font-weight: 400; letter-spacing: .02em; fill: var(--ink); }
.t-ui--sub { font-weight: 500; fill: var(--ink-2); }
.t-ui--b { font-weight: 700; font-size: 13.5px; }
.t-ui--navy { font-weight: 500; fill: var(--navy); }
.t-ui--tag { font-size: 12.5px; font-weight: 500; }
.t-mono-s { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; }
.t-role { font-family: var(--f-sans); font-size: 15px; font-weight: 500; letter-spacing: .03em; }
.t-role--s { font-size: 14px; }
.t-hub { font-family: var(--f-sans); font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.t-hub--s { font-size: 15px; }
.t-person { font-family: var(--f-min); font-weight: 500; font-size: 46px; }
.t-person--s { font-size: 34px; }
.t-hum { font-family: var(--f-min); font-weight: 500; font-size: 28px; letter-spacing: .02em; font-feature-settings: "palt"; }
.t-hum--s { font-size: 22px; }
.t-iso { font-family: var(--f-sans); font-size: 14px; font-weight: 500; letter-spacing: .03em; fill: var(--ink-2); }
.t-wave { font-family: var(--f-sans); font-size: 15px; font-weight: 500; letter-spacing: .24em; }
.t-tag { font-family: var(--f-sans); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
/* colour classes come last so they win */
.c-paper { fill: var(--paper); } .c-paper2 { fill: var(--paper-2); } .c-ink { fill: var(--ink); } .c-ink2 { fill: var(--ink-2); }
.c-navy { fill: var(--navy); } .c-tint { fill: var(--navy-tint); } .c-night { fill: var(--night); } .c-night2 { fill: var(--night-2); }
.c-bone { fill: var(--bone); } .c-bone2 { fill: var(--bone-2); } .c-sky { fill: var(--sky); }

/* ------------------------------------------------------------------ hero
   the first sheet: sand ground under a paper header; four steps as blocks, the W wave carrying them back */
.hero { background-color: var(--paper-2); padding-top: 26px; }
@media (min-width: 820px) { .hero { padding-top: 40px; } }
.hero__grid { row-gap: 28px; align-items: start; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--ink-2); line-height: 1.5; }
.eyebrow__rule { width: 28px; height: 1px; background: var(--ink); flex: none; }
.hero__lead { margin-top: 18px; font-size: 16px; color: var(--ink); max-width: 32em; line-height: 1.8; }
.br-pc { display: none; }
.hero__act { margin-top: 24px; }
.hero__fig { min-width: 0; }
.fig1--d { display: none; }
@media (min-width: 820px) {
  .eyebrow { font-size: 14px; margin-bottom: 44px; }
  .eyebrow__rule { width: 40px; }
  .hero__lead { margin-top: 44px; font-size: 18px; }
  .br-pc { display: inline; }
  .hero__act { margin-top: 52px; }
  .fig1--m { display: none; }
  .fig1--d { display: block; }
}
@media (min-width: 820px) and (max-width: 1179px) {
  .hero__text { grid-column: 1 / -1; }
  .hero__fig { grid-column: 2 / 12; }
}
@media (min-width: 1180px) {
  .hero__grid { align-items: center; }
  .hero__text { grid-column: 1 / 8; padding-bottom: 56px; }
  .hero__fig { grid-column: 8 / 13; margin-left: -64px; }
  /* ノートPCの高さ（1366x768 など）でも、波の全形と「使いながら直す」まで最初の画面に収める */
  .hero .fig1.fig1--d { width: auto; max-width: 100%; height: clamp(440px, calc(100svh - 204px), 636px); }
}

/* caption, the key, and the one sentence: above the drawing so they are always in the first screen */
.figcap--hero {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px;
  margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.figcap--hero .figcap__t { flex: 1 1 auto; }
.figcap__key { flex: 1 0 100%; font-weight: 500; color: var(--ink); font-size: 15px; letter-spacing: .03em; }
.figcap__key .mono { font-size: 13px; padding: 0 .25em; }
.legend { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); line-height: 1.6; }
.legend__i { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sw { display: inline-block; width: 12px; height: 12px; flex: none; }
.sw--ai { background: var(--navy); }
.sw--hu { background: var(--paper); border: 1.5px solid var(--ink); }
.sw-wave { width: 36px; height: 14px; flex: none; }
.btn--line { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
@media (max-width: 819px) {
  /* phone: the drawing comes straight after the button; its caption follows it */
  .hero__fig { display: flex; flex-direction: column; }
  .figcap--hero { order: 2; margin: 8px 0 0; padding: 12px 0 0; border-bottom: 0; border-top: 1px solid var(--rule); }
  .figcap--hero .legend { margin-left: auto; }
  .hero__act { margin-top: 22px; }
}

.f-dot { opacity: 0; transition: opacity .6s ease; }
.f-dot.on { opacity: 1; }

/* index of the 3 businesses at the foot of the hero */
.idx { margin-top: 64px; border-top: 1px solid var(--ink); }
.idx li { border-bottom: 1px solid var(--rule); }
.idx a { display: flex; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.idx .arw { margin-left: auto; }
.mk-s { width: 32px; height: 32px; flex: none; }
.idx__no { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
@media (min-width: 820px) {
  .idx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); margin-top: 56px; }
  .idx li { border-bottom: 0; }
  .idx a { padding: 22px 0 26px; }
  .idx li + li a { border-left: 1px solid var(--rule); padding-left: 24px; margin-left: -24px; }
}

/* ------------------------------------------------------------------ services */
.svc { border-top: 1px solid var(--ink); }
.svc__row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 28px;
  padding: 48px 0 56px; border-bottom: 1px solid var(--rule);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background-color: var(--paper); transition: background-color .35s ease;
}
.svc__row:hover::before { background-color: var(--paper-2); }
.svc__row:last-child { border-bottom-color: var(--ink); }
.sec--services { isolation: isolate; }
.svc__name { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; row-gap: 20px; }
.svc__no { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; grid-column: 1 / -1; }
.mk { width: 56px; height: 56px; }
.h3 { font-size: 28px; line-height: 1.32; }

.svc__eg-h { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-2); }
.svc__eg-h::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: var(--rule); }
.svc__eg { margin-top: 10px; }
.svc__eg li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.7; }
.svc__eg li:last-child { border-bottom: 0; }
.svc__eg li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 7px; border: 1px solid var(--ink); }
.svc__fig { min-width: 0; }
.mockbox svg { width: 100%; height: auto; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.6; }
.flow__i { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.flow__i--ai { color: var(--navy); }
.flow__arw { font-family: var(--f-mono); color: var(--ink-2); }
@media (min-width: 820px) {
  .svc__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding: 64px 0 72px; }
  .svc__name { grid-column: 1 / 4; display: block; align-self: start; }
  .svc__name .mk { margin: 22px 0 26px; width: 64px; height: 64px; }
  .h3 { font-size: clamp(26px, 2.4vw, 34px); }
  .svc__body { grid-column: 4 / 9; padding-right: 24px; }
  .svc__fig { grid-column: 9 / 13; }
}
@media (min-width: 820px) and (max-width: 1179px) {
  .svc__body { grid-column: 4 / 13; padding-right: 0; }
  .svc__fig { grid-column: 4 / 11; }
}

/* ------------------------------------------------------------------ system (night) */
.sec--night { padding-block: calc(var(--sec-y) * .44); }
.sec--night .sec__head { margin-bottom: 48px; }
@media (min-width: 820px) { .sec--night .sec__head { margin-bottom: 44px; } .sec--night .sec__lead { margin-top: 26px; } }
.stats__list { border-top: 1px solid var(--bone-2); }
.stat { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 22px 0 22px; border-bottom: 1px solid var(--bone-2); }
.stat dt { display: flex; flex-direction: column; gap: 6px; }
.stat__k { font-size: 17px; font-weight: 500; color: var(--bone); letter-spacing: .06em; line-height: 1.5; }
.stat__s { font-size: 14px; color: var(--bone-2); line-height: 1.75; }
.stat dd { display: flex; align-items: baseline; gap: 12px; }
.stat__n { font-family: var(--f-min); font-weight: 500; font-size: 76px; line-height: .86; color: var(--sky); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__u { font-family: var(--f-min); font-size: 22px; color: var(--bone-2); }
.stats__note { margin-top: 14px; font-size: 13px; color: var(--bone-2); letter-spacing: .04em; }
.stats__note .mono { font-size: 12.5px; margin-right: .5em; }
.fig5--d { display: none; }
@media (min-width: 820px) {
  .stat { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; padding: 20px 0 16px; }
  .stat dt { grid-column: 1 / 6; padding-top: 10px; }
  .stat dd { grid-column: 6 / 13; }
  .stat__k { font-size: 19px; }
  .stat__n { font-size: clamp(100px, 8.4vw, 120px); }
  .stat__u { font-size: 28px; }
  .fig5--m { display: none; }
  .fig5--d { display: block; }
}
.sys { row-gap: 56px; align-items: start; margin-top: 20px; }
@media (min-width: 820px) and (max-width: 1179px) {
  .sys .day { grid-column: 1 / -1; }
  .orgfig { grid-column: 2 / 12; }
}
@media (min-width: 1180px) {
  .sys .day { grid-column: 1 / 6; margin-top: 0; padding-top: 0; }
  .orgfig { grid-column: 6 / 13; }
}

.day { margin-top: 0; }
.day__list { position: relative; margin-top: 18px; }
.day__i { position: relative; padding: 0 0 30px 30px; }
.day__i::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: -10px; width: 1px; background: var(--bone-2); }
.day__i:last-child::before { display: none; }
.day__i::after { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; background: var(--sky); }
.day__t { font-size: 17px; font-weight: 500; color: var(--sky); line-height: 1.3; letter-spacing: .06em; }
.day__t--mono { font-family: var(--f-mono); font-size: 18px; letter-spacing: .04em; }
.day__d { margin-top: 10px; color: var(--bone); font-size: 16px; }
@media (min-width: 820px) and (max-width: 1179px) {
  .day { margin-top: 64px; }
  .day__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); margin-top: 24px; }
  .day__list::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--bone-2); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
  .day__i { padding: 30px 32px 0 0; }
  .day__i::before { display: none; }
  .day__i::after { top: 0; }
  .day__t { font-size: 18px; }
  .day__t--mono { font-size: 20px; }
}

/* ------------------------------------------------------------------ process */
.proc .figcap { margin-bottom: 8px; }
.proc__line { display: none; }
.proc__key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 36px; font-size: 14px; color: var(--navy); font-weight: 500; }
.step__no { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.step__art { margin: 14px 0 10px; max-width: 360px; }
.iso { width: 100%; height: auto; }
.step__t { font-family: var(--f-min); font-weight: 500; font-feature-settings: "palt"; font-size: 24px; line-height: 1.4; }
.step__d { margin-top: 10px; font-size: 16px; line-height: 1.8; color: var(--ink); }

/* mobile: a vertical line, and the wave returning from 04 to 02 beside it */
.steps { display: grid; grid-template-columns: 22px 22px minmax(0, 1fr); --node: 8px; }
.step { grid-column: 3; position: relative; padding-bottom: 52px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -13px; top: var(--node); bottom: calc(var(--node) * -1); width: 1px; background: var(--ink); }
.step:last-child::before { display: none; }
.step::after { content: ""; position: absolute; left: -17.5px; top: calc(var(--node) - 4.5px); width: 9px; height: 9px; background: var(--paper-2); border: 1px solid var(--ink); }
.step:first-child::after { background: var(--ink); }
.steps::after {
  content: ""; grid-column: 1 / 3; grid-row: 2 / 4; margin: var(--node) 0 calc(var(--node) * -1) 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='52' viewBox='0 0 22 52'%3E%3Cg fill='none' stroke='%2300316A' stroke-width='1.3'%3E%3Cpath d='M7 0C10.6 3.4 12 7.4 12 13S10.6 22.6 7 26 2 32.6 2 39 3.4 48.6 7 52'/%3E%3Cpath d='M11 0C14.6 3.4 16 7.4 16 13S14.6 22.6 11 26 6 32.6 6 39 7.4 48.6 11 52'/%3E%3Cpath d='M15 0C18.6 3.4 20 7.4 20 13S18.6 22.6 15 26 10 32.6 10 39 11.4 48.6 15 52'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='2'%3E%3Cpath d='M0 1H26' stroke='%2300316A' stroke-width='1.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='2'%3E%3Cpath d='M0 1H26' stroke='%2300316A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat round, no-repeat, no-repeat;
  background-size: 22px 52px, 20px 2px, 20px 2px;
  background-position: 0 1px, 7px 0, 7px 100%;
  margin-block: calc(var(--node) - 1px) calc(var(--node) * -1 - 1px);
}
.steps::before {
  content: ""; grid-column: 2; grid-row: 2; align-self: start; justify-self: start;
  width: 8px; height: 10px; margin: calc(var(--node) - 5px) 0 0 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='10'%3E%3Cpath d='M1.5 1L6 5 1.5 9' fill='none' stroke='%2300316A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat;
}
@media (min-width: 820px) {
  .proc__line { display: block; }
  .proc__line svg { width: 100%; height: auto; }
  .proc__key { margin: 4px 0 8px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); margin-top: 18px; }
  .steps::before, .steps::after { display: none; }
  .step { grid-column: auto; padding: 0 12px 0 0; }
  .step::before, .step::after { display: none; }
  .step__art { margin: 18px -8px 18px -4px; max-width: none; }
  .step__t { font-size: clamp(22px, 2vw, 28px); }
  .step__d { font-size: 16px; }
}

/* ------------------------------------------------------------------ profile */
.prof { border-top: 1px solid var(--ink); padding-top: 40px; row-gap: 40px; }
.prof__name { display: flex; align-items: baseline; gap: 14px; }
.prof__role { font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--ink-2); line-height: 1.4; }
.prof__nm { font-size: 44px; line-height: 1.2; letter-spacing: .08em; display: flex; gap: .4em; }
.prof__h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--ink-2); line-height: 1.4; }
.prof__h::after { content: ""; width: 40px; height: 1px; background: var(--rule); }
.prof__h--gap { margin-top: 36px; }
.prof__text { font-size: 18px; line-height: 1.9; }
.tags { border-top: 1px solid var(--rule); }
.tags li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.mk-t { width: 32px; height: 32px; flex: none; }
.prof__note { font-size: 16px; margin-bottom: 14px; }
@media (min-width: 820px) {
  .prof { padding-top: 64px; }
  .prof__name { grid-column: 1 / 4; flex-direction: row; align-items: flex-start; gap: 18px; }
  .prof__name .prof__role { writing-mode: vertical-rl; letter-spacing: .4em; padding-top: 4px; }
  .prof__nm { writing-mode: vertical-rl; font-feature-settings: "vpal"; font-size: clamp(56px, 5vw, 72px); line-height: 1; gap: .45em; letter-spacing: .08em; }
  .prof__bio { grid-column: 4 / 11; }
  .prof__text { font-size: 20px; line-height: 1.9; }
  .prof__side { grid-column: 9 / 13; border-left: 1px solid var(--rule); padding-left: 28px; }
}
@media (min-width: 820px) and (max-width: 1179px) {
  .prof__bio { grid-column: 4 / 13; }
  .prof__side { grid-column: 4 / 13; border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------------ company */
.co__wrap { row-gap: 28px; }
.sec__label--h { margin: 0; }
.co { border-top: 1px solid var(--ink); }
.co__r { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.co dt { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-2); padding-top: 3px; }
.co dd { font-size: 16px; line-height: 1.7; }
@media (min-width: 820px) {
  .co__wrap .sec__label--h { grid-column: 1 / 4; padding-top: 22px; }
  .co { grid-column: 4 / 13; }
  .co__r { grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gut); padding: 24px 0; }
  .co dt { grid-column: 1 / 3; font-size: 14px; }
  .co dd { grid-column: 3 / 10; font-size: 17px; }
}

/* 会社概要の下の、控えめな代表プロフィール */
.coprof { margin-top: 36px; }
.coprof__h { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-2); }
.coprof__name { margin-top: 10px; font-family: var(--f-min); font-weight: 500; font-size: 22px; letter-spacing: .06em; }
.coprof__text { margin-top: 10px; max-width: 40em; font-size: 15px; line-height: 1.85; color: var(--ink); }
.coprof__link { margin-top: 12px; font-size: 15px; }
@media (min-width: 820px) {
  .coprof { grid-column: 4 / 13; margin-top: 44px; }
}

/* ------------------------------------------------------------------ 自社での活用：仕事ごとの表 */
.tasks { margin-top: 8px; }
.tasks__head { display: none; }
.tasks__list { border-top: 1px solid var(--bone-2); }
.task { padding: 22px 0; border-bottom: 1px solid var(--bone-2); }
.task__n { font-family: var(--f-min); font-weight: 500; font-size: 22px; line-height: 1.4; letter-spacing: .04em; color: var(--bone); }
.task__ai, .task__hu { display: flex; gap: 12px; align-items: baseline; margin-top: 10px; font-size: 15px; line-height: 1.8; }
.task__ai { color: var(--bone); }
.task__hu { color: var(--bone-2); }
.task__k { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.task__ai .task__k { background: var(--sky); color: var(--night); }
.task__hu .task__k { border: 1px solid var(--bone-2); color: var(--bone-2); }
.tasks__note { margin-top: 18px; font-size: 14px; color: var(--bone-2); letter-spacing: .04em; }
.tasks__note .mono { font-size: 13px; }
.sw--sky { background: var(--sky); }
.sw--bone { background: transparent; border: 1.5px solid var(--bone); }
@media (min-width: 820px) {
  .tasks__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--bone-2); }
  .tasks__head > span { display: inline-flex; align-items: center; gap: 8px; }
  .tasks__head > span:nth-child(1) { grid-column: 1 / 4; }
  .tasks__head > span:nth-child(2) { grid-column: 4 / 10; }
  .tasks__head > span:nth-child(3) { grid-column: 10 / 13; }
  .task { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: baseline; padding: 24px 0; }
  .task__n { grid-column: 1 / 4; font-size: 26px; }
  .task__ai { grid-column: 4 / 10; margin-top: 0; font-size: 16px; }
  .task__hu { grid-column: 10 / 13; margin-top: 0; font-size: 16px; }
  .task__k { display: none; }
}

/* ------------------------------------------------------------------ contact (navy) */
.sec--navy .sec__head { margin-bottom: 0; }
.contact__lead { margin-top: 36px; max-width: 34em; color: var(--bone); font-size: 16px; }
.contact__act { margin-top: 44px; }
.contact__note { margin-top: 26px; font-size: 15px; line-height: 1.85; color: var(--bone); max-width: 40em; }
.contact__note a { color: var(--bone); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact__note a:hover { text-decoration-thickness: 2px; }
@media (min-width: 820px) {
  .contact__lead { margin-top: 48px; font-size: 18px; }
  .contact__act { margin-top: 56px; }
}

/* ------------------------------------------------------------------ footer */
.ft { background: var(--night); color: var(--bone); padding: 64px 0 40px; }
.ft__in { display: grid; row-gap: 36px; }
.ft__name { font-family: var(--f-min); font-weight: 600; font-size: 28px; letter-spacing: .04em; display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.ft__name .wm__pre { color: var(--bone-2); font-size: 12px; letter-spacing: .26em; }
.ft__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-top: 1px solid var(--night-2); }
.ft__nav li { border-bottom: 1px solid var(--night-2); }
.ft__nav a { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 14px 0; color: var(--bone); font-size: 15px; }
.ft__nav a::after { display: none; }
.ft__nav .arw { margin-left: auto; color: var(--bone-2); }
.ft__nav a:hover .arw { transform: translateX(4px); }
.ft__no { font-family: var(--f-mono); font-size: 12px; color: var(--sky); }
.ft__link { color: var(--bone); }
.ft__link .arw { margin-left: 8px; }
.ft__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 4px; }
.ft__copy { font-family: var(--f-sans); font-size: 13px; color: var(--bone-2); letter-spacing: .06em; margin-left: auto; }
@media (min-width: 820px) {
  .ft { padding: 96px 0 48px; }
  .ft__in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 72px; }
  .ft__name { grid-column: 1 / 4; font-size: 32px; }
  .ft__nav { grid-column: 4 / 13; }
  .ft__nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); }
  .ft__end { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ document pages (privacy / 404) */
.doc { padding: 72px 0 120px; }
.doc__grid { row-gap: 24px; }
.doc__title { margin-bottom: 40px; }
.doc__body { max-width: 40em; }
.doc__body h2 { font-family: var(--f-min); font-weight: 500; font-feature-settings: normal; font-size: 22px; line-height: 1.5; margin: 56px 0 16px; padding-top: 22px; border-top: 1px solid var(--rule); }
.doc__body p + p { margin-top: 1em; }
.doc__body ul { margin: 12px 0 0; }
.doc__body ul li { position: relative; padding-left: 22px; margin-top: 6px; }
.doc__body ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border: 1px solid var(--ink); }
.doc__body ul + p { margin-top: 16px; }
.doc__body dl { display: grid; grid-template-columns: 6em minmax(0, 1fr); border-top: 1px solid var(--rule); margin-top: 8px; }
.doc__body dt, .doc__body dd { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.doc__body dt { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: .08em; padding-top: 16px; }
.doc__body a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.doc__date { margin-top: 56px !important; font-size: 14px; color: var(--ink-2); }
.doc--404 { min-height: 60vh; }
@media (min-width: 820px) {
  .doc { padding: 120px 0 168px; }
  .doc__label { grid-column: 1 / 4; align-self: start; padding-top: 14px; }
  .doc__body { grid-column: 4 / 11; }
  .doc__title { margin-bottom: 56px; }
}

/* ------------------------------------------------------------------ motion
   隠す状態は html.js の下でだけ効かせる。JS がなければ完成形がそのまま見える。 */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.js .h1 .ln, .js .hero .eyebrow, .js .hero__lead, .js .hero__act, .js .idx {
  opacity: 0; animation: rise .8s var(--ease) forwards;
}
.js .h1 .ln:nth-child(1) { animation-delay: .1s; }
.js .h1 .ln:nth-child(2) { animation-delay: .22s; }
.js .h1 .ln:nth-child(3) { animation-delay: .34s; }
.js .hero .eyebrow { animation-delay: 0s; }
.js .hero__lead { animation-delay: .5s; }
.js .hero__act { animation-delay: .62s; }
.js .idx { animation-delay: 1s; }

/* figures: lines are drawn, navy fills grow from the left, labels fade in.
   transitions, not keyframes: the finished state must survive any re-render. */
.js .anim .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s cubic-bezier(.4, 0, .2, 1); }
.js .anim .dr--wave { transition-duration: .8s; }
.js .anim .dr--slow { transition-duration: 1.2s; }
.js .anim .dr--hero { transition-duration: 1s; transition-timing-function: cubic-bezier(.45, 0, .25, 1); }
.js .anim .fd { opacity: 0; transition: opacity .45s ease-out; }
.js .anim .fx { transform: scaleX(0); transform-box: fill-box; transform-origin: 0 50%; transition: transform .5s var(--ease); }
.js .anim.is-in .dr { stroke-dashoffset: 0; }
.js .anim.is-in .fd { opacity: 1; }
.js .anim.is-in .fx { transform: none; }
.anim .d0 { transition-delay: 0s; } .anim .d0x { transition-delay: 0.2s; }
.anim .d1 { transition-delay: 0.1s; } .anim .d1x { transition-delay: 0.3s; }
.anim .d2 { transition-delay: 0.2s; } .anim .d2x { transition-delay: 0.4s; }
.anim .d3 { transition-delay: 0.3s; } .anim .d3x { transition-delay: 0.5s; }
.anim .d4 { transition-delay: 0.4s; } .anim .d4x { transition-delay: 0.6s; }
.anim .d5 { transition-delay: 0.5s; } .anim .d5x { transition-delay: 0.7s; }
.anim .d6 { transition-delay: 0.6s; } .anim .d6x { transition-delay: 0.8s; }
.anim .d7 { transition-delay: 0.7s; } .anim .d7x { transition-delay: 0.9s; }
.anim .d8 { transition-delay: 0.8s; } .anim .d8x { transition-delay: 1s; }
.anim .d9 { transition-delay: 0.9s; } .anim .d9x { transition-delay: 1.1s; }
.anim .d10 { transition-delay: 1s; } .anim .d10x { transition-delay: 1.2s; }
.anim .d11 { transition-delay: 1.1s; } .anim .d11x { transition-delay: 1.3s; }
.anim .d12 { transition-delay: 1.2s; } .anim .d12x { transition-delay: 1.4s; }
.anim .d13 { transition-delay: 1.3s; } .anim .d13x { transition-delay: 1.5s; }
.anim .d14 { transition-delay: 1.4s; } .anim .d14x { transition-delay: 1.6s; }
.anim .d15 { transition-delay: 1.5s; } .anim .d15x { transition-delay: 1.7s; }
.anim .d16 { transition-delay: 1.6s; }
.anim .d17 { transition-delay: 1.7s; }
.anim .d18 { transition-delay: 1.8s; }
.anim .d19 { transition-delay: 1.9s; }
.anim .d20 { transition-delay: 2s; }

/* blocks rise once when they enter the view */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease-out, transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-lines .ln { opacity: 0; transform: translateY(14px); transition: opacity .7s ease-out, transform .8s var(--ease); }
.js .rv-lines.is-in .ln { opacity: 1; transform: none; }
.js .rv-lines.is-in .ln:nth-child(2) { transition-delay: .12s; }
.js .svc__row.rv.is-in .svc__fig { transition-delay: .15s; }
@media (min-width: 820px) {
  .js .day.rv .day__list::before { transform: scaleX(1); }
  .js .day.rv.is-in .day__list::before { transform: scaleX(1); transition-delay: .2s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .h1 .ln, .js .hero .eyebrow, .js .hero__lead, .js .hero__act, .js .idx { opacity: 1; animation: none; }
  .js .anim .dr { stroke-dashoffset: 0; transition: none; }
  .js .anim .fd { opacity: 1; transition: none; }
  .js .anim .fx { transform: none; transition: none; }
  .js .rv, .js .rv-lines .ln { opacity: 1; transform: none; transition: none; }
  .js .day.rv .day__list::before { transform: none; transition: none; }
  .f-dot { display: none; }
  .arw, .tlink::after, .hd__nav a::after, .svc__row::before { transition: none; }
}
.ft__up { margin-left: 8px; font-family: var(--f-sans); }

/* fit:begin — generated: measures chosen so lines do not end on a lone tail or split short words */
@media (max-width: 819px) {
  .fit.fit-2 { max-width: 21.25em; }
  .fit.fit-3 { max-width: 19.25em; }
  .fit.fit-6 { max-width: 23.0em; }
  .fit.fit-7 { max-width: 20.25em; }
  .fit.fit-14 { max-width: 19.0em; }
  .fit.fit-15 { max-width: 21.25em; }
  .fit.fit-17 { max-width: 21.25em; }
  .fit.fit-18 { max-width: 20.25em; }
  .fit.fit-19 { max-width: 21.5em; }
  .fit.fit-20 { max-width: 19.25em; }
  .fit.fit-21 { max-width: 19.25em; }
  .fit.fit-22 { max-width: 18.25em; }
  .fit.fit-23 { max-width: 18.25em; }
  .fit.fit-24 { max-width: 18.0em; }
}
@media (min-width: 820px) {
  .fit.fit-1 { max-width: 40.0em; }
  .fit.fit-2 { max-width: 27.5em; }
  .fit.fit-3 { max-width: 27.0em; }
  .fit.fit-4 { max-width: 28.25em; }
  .fit.fit-5 { max-width: 30.5em; }
  .fit.fit-6 { max-width: 38.75em; }
  .fit.fit-7 { max-width: 34.5em; }
  .fit.fit-14 { max-width: 40.0em; }
  .fit.fit-15 { max-width: 39.75em; }
  .fit.fit-16 { max-width: 40.0em; }
  .fit.fit-17 { max-width: 40.0em; }
  .fit.fit-18 { max-width: 37.5em; }
  .fit.fit-19 { max-width: 40.0em; }
  .fit.fit-20 { max-width: 38.75em; }
  .fit.fit-21 { max-width: 34.5em; }
  .fit.fit-22 { max-width: 38.5em; }
  .fit.fit-23 { max-width: 38.5em; }
  .fit.fit-24 { max-width: 35.5em; }
}
/* fit:end */
