/* =========================================================
   合同会社SPC
   ========================================================= */

:root {
  --night: #171918;
  --paper: #eeeae2;
  --green: #1f3a2c;
  --brass: #b8995a;

  --f-min: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* テーマ（色の組） */
[data-theme="night"] { --bg: #171918; --fg: #ece6d9; --muted: #bdbbb1; --faint: #75766f; --line: rgba(236,230,217,.16); --ph: #222523; --ph-fg: #6f716b; }
[data-theme="paper"] { --bg: #eeeae2; --fg: #1d201e; --muted: #4a4d47; --faint: #8a8b83; --line: rgba(29,32,30,.16); --ph: #e2ddd2; --ph-fg: #8c8a80; }
[data-theme="green"] { --bg: #1f3a2c; --fg: #ece6d9; --muted: #c2c6b8; --faint: #82907f; --line: rgba(236,230,217,.17); --ph: #284636; --ph-fg: #82927f; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
::selection { background: var(--brass); color: #171918; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--paper); color: var(--night); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; padding: 0 var(--gutter); max-width: 1480px; margin: 0 auto; }
.pc { display: inline; }
.sp { display: none; }

/* JSなし：各セクションが自分の背景を持つ。JSあり：bodyの色が切り替わる */
html:not(.js) main > section, html:not(.js) .site-footer { background: var(--bg); color: var(--fg); }
html.js main > section, html.js .site-footer { background: transparent; }

/* JSありのとき、セクション側の色変数を無効化し、bodyの変数を使う */
html.js main > section[data-theme],
html.js .site-footer[data-theme] {
  --fg: inherit; --muted: inherit; --faint: inherit; --line: inherit; --ph: inherit; --ph-fg: inherit;
}

/* ---------- 共通見出し ---------- */
.sec-title {
  font-family: var(--f-min);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.5;
  letter-spacing: .08em;
}
.sec-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 22px;
  color: var(--faint);
  margin-top: 6px;
  letter-spacing: .02em;
}

/* マスク表示用 */
.m { display: block; overflow: hidden; padding-bottom: .08em; }
h1, h2, h3, .hero-after, .statement-title { word-break: auto-phrase; }
.m > span { display: block; }

/* ---------- 写真枠 ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--ph);
}
.photo::before {
  content: "PHOTO " attr(data-no);
  position: absolute; left: 18px; top: 14px;
  font-family: var(--f-en); font-size: 15px; letter-spacing: .14em;
  color: var(--ph-fg);
}
.photo::after {
  content: attr(data-note);
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  font-size: 13px; line-height: 1.7; color: var(--ph-fg);
  max-width: 26em;
}
.photo.has-img::before, .photo.has-img::after { display: none; }
.photo > img {
  position: absolute; inset: -8% 0;
  width: 100%; height: 116%;
  object-fit: cover;
}

/* ---------- オープニング ---------- */
.opening { display: none; }
html.js .opening.is-on {
  display: block;
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.opening-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #171918; }
.opening-door--l { left: 0; }
.opening-door--r { right: 0; }
.opening-line {
  position: absolute; left: 50%; top: 18%; bottom: 18%; width: 1px;
  background: var(--brass); transform: scaleY(0); transform-origin: top;
}
.opening-logo { position: absolute; left: 50%; top: 50%; width: 132px; transform: translate(-50%, -50%); opacity: 0; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  pointer-events: none;
  transition: transform .5s var(--ease), background-color .5s, padding .4s var(--ease);
}
.site-header > * { pointer-events: auto; }
.site-header.is-solid { background: var(--bg); padding-top: 16px; padding-bottom: 16px; pointer-events: auto; }
.site-header.is-hidden { transform: translateY(-101%); }
.brand { display: block; position: relative; width: 86px; height: 35px; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .5s; }
.brand-logo--green { opacity: 0; }
body[data-theme="paper"] .brand-logo--gold { opacity: 0; }
body[data-theme="paper"] .brand-logo--green { opacity: 1; }
.header-right { display: flex; align-items: center; gap: 34px; }
.header-contact {
  font-size: 14px; text-decoration: none; letter-spacing: .1em;
  padding-bottom: 3px; border-bottom: 1px solid var(--brass);
}
.menu-btn { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .1em; }
.menu-btn-lines { display: grid; gap: 6px; width: 26px; }
.menu-btn-lines i { display: block; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
body.menu-open .menu-btn-lines i:first-child { transform: translateY(3.5px) rotate(20deg); }
body.menu-open .menu-btn-lines i:last-child { transform: translateY(-3.5px) rotate(-20deg); }
body.menu-open .site-header { color: #ece6d9; }
body.menu-open .brand-logo--gold { opacity: 1; }
body.menu-open .brand-logo--green { opacity: 0; }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--green); color: #ece6d9;
  padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-list { counter-reset: m; columns: 2; column-gap: 6vw; max-width: 1100px; }
.menu-list li { counter-increment: m; break-inside: avoid; border-top: 1px solid rgba(236,230,217,.16); }
.menu-list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0;
  font-family: var(--f-min); font-size: clamp(20px, 2.1vw, 28px); letter-spacing: .08em;
  text-decoration: none;
  transition: color .3s;
}
.menu-list a::before { content: counter(m, decimal-leading-zero); font-family: var(--f-en); font-size: 16px; color: var(--brass); }
.menu-list a:hover { color: var(--brass); }
.menu-foot { display: flex; justify-content: space-between; font-size: 13px; color: #b3b8a9; margin-top: 40px; }
.menu-foot a { text-decoration: none; }

/* ---------- 1. ファーストビュー ---------- */
.hero { position: relative; height: 270vh; }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0;
  clip-path: inset(15% 37% 15% 37%);
  will-change: clip-path;
}
.hero-photo { background: #222523; --ph-fg: #6f716b; }
.hero-photo::before { left: calc(37% + 18px); top: calc(15% + 14px); }
.hero-photo::after { left: calc(37% + 18px); right: calc(37% + 18px); bottom: calc(15% + 16px); }
.hero-photo.is-open::before, .hero-photo.is-open::after { opacity: 0; transition: opacity .3s; }
.hero-veil { position: absolute; inset: 0; background: #0f1110; opacity: 0; pointer-events: none; }
.hero-title {
  position: absolute; right: 9vw; top: 15vh;
  writing-mode: vertical-rl;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.9;
  letter-spacing: .2em;
}
.hero-title-line { display: block; }
.hero-title-line:nth-child(2) { padding-top: 1.1em; }
.hero-title-line:nth-child(3) { padding-top: 2.2em; }
.hero-lead { position: absolute; left: var(--gutter); bottom: 11vh; max-width: 27em; }
.hero-lead p { font-family: var(--f-min); font-size: 19px; line-height: 2; letter-spacing: .06em; }
.hero-lead-sub { margin-top: 14px; font-family: var(--f-sans) !important; font-size: 15.5px !important; color: var(--muted); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-en); font-style: italic; font-size: 14px; color: var(--muted); letter-spacing: .08em;
}
.hero-scroll i { display: block; width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--brass); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { transform: translateY(92px); } }
.hero-after {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; color: #ece6d9;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 56px); line-height: 1.8; letter-spacing: .14em;
  pointer-events: none;
}
html.js .hero-after .m > span { transform: translateY(110%); }

/* ---------- 2. ステートメント ---------- */
.statement { padding: 26vh 0 20vh; }
.statement-title {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 1.42; letter-spacing: .06em;
}
.statement-title .m:nth-child(2) { margin-top: .5em; }
.statement-body { margin: 10vh 0 0 auto; max-width: 32em; width: 52%; }
.statement-body p { font-size: 17.5px; line-height: 2.15; color: var(--muted); }
.statement-body p + p { margin-top: 1.2em; color: var(--fg); font-family: var(--f-min); font-size: 21px; }

/* ---------- 3. 考え方 ---------- */
.philosophy { padding: 8vh 0 14vh; }
.philosophy-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 6vw; }
.philosophy-side { position: sticky; top: 22vh; align-self: start; }
.principle { position: relative; padding: 42px 0 56px; }
.principle .rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg); opacity: .5; transform-origin: left; }
.principle h3 {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.55; letter-spacing: .06em;
}
.principle p { margin-top: 20px; max-width: 34em; font-size: 17px; line-height: 2.1; color: var(--muted); }

/* ---------- 4. 数字 ---------- */
.numbers { position: relative; }
.numbers-stick { min-height: 100vh; display: flex; align-items: center; padding: 14vh 0 10vh; }
.numbers-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: center; }
.numbers-intro { margin-top: 22px; max-width: 26em; font-size: 16.5px; line-height: 2.05; color: var(--muted); }
.formula { margin-top: 44px; display: grid; gap: 14px; }
.formula-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35em .45em;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(20px, 2vw, 32px); letter-spacing: .04em; line-height: 1.5;
}
.f-op { color: var(--faint); font-weight: 400; }
.f-term { position: relative; transition: color .4s; }
.f-term::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.f-term.is-on { color: var(--brass); }
.f-term.is-on::after { transform: scaleX(1); }

.metrics { border-top: 1px solid var(--line); }
.metric { display: grid; grid-template-columns: 9em 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .45s; }
.metric dt { display: flex; flex-direction: column; gap: 2px; }
.metric-name { font-family: var(--f-min); font-weight: 500; font-size: 24px; letter-spacing: .08em; }
.metric-side { font-size: 13.5px; color: var(--faint); letter-spacing: .1em; }
.metric dd p { font-size: 16px; line-height: 1.95; }
.metric dd .metric-svc { margin-top: 6px; font-size: 14px; color: var(--faint); }
html.js .numbers.is-pinned .metric { opacity: .28; }
html.js .numbers.is-pinned .metric.is-on { opacity: 1; }

/* ---------- 5–6. 事業 ---------- */
.biz { position: relative; padding: 18vh 0 20vh; overflow: hidden; overflow: clip; }
.biz-word {
  font-family: var(--f-en); font-style: italic; font-weight: 400;
  font-size: 23vw; line-height: .8; letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--fg); opacity: .07;
  margin: 0 0 6vh -1vw;
  user-select: none;
}
.biz--inside .biz-word { text-align: right; margin: 0 -1vw 6vh 0; }
.biz-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 7vw; align-items: start; }
.biz--inside .biz-grid { grid-template-columns: 6fr 5fr; }
.biz-visual { position: sticky; top: 14vh; }
.biz-photo { aspect-ratio: 4 / 5; }
.biz-kicker { font-family: var(--f-min); font-size: 17px; letter-spacing: .3em; color: var(--brass); }
.biz-title {
  margin-top: 14px;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 52px); line-height: 1.45; letter-spacing: .08em;
}
.biz-intro { margin-top: 26px; max-width: 30em; font-size: 17px; line-height: 2.1; color: var(--muted); }
.svc-list { margin-top: 64px; border-top: 1px solid var(--line); }
.svc { padding: 34px 0 36px; border-bottom: 1px solid var(--line); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.svc h3 { font-family: var(--f-min); font-weight: 500; font-size: clamp(23px, 2vw, 29px); letter-spacing: .06em; line-height: 1.5; }
.svc-price { white-space: nowrap; display: flex; align-items: baseline; gap: 4px; }
.svc-price .n { font-family: var(--f-en); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: .01em; font-feature-settings: "lnum" 1; }
.svc-price .u { font-size: 14.5px; color: var(--muted); }
.svc-desc { margin-top: 14px; max-width: 34em; font-size: 16.5px; line-height: 2.05; color: var(--muted); }
.svc-incl { margin-top: 12px; font-size: 14.5px; color: var(--faint); line-height: 1.8; }
.price-note { margin-top: 28px; font-size: 14.5px; color: var(--muted); line-height: 1.9; max-width: 36em; }

/* ---------- 7. 代表あいさつ ---------- */
.message { padding: 22vh 0; }
.message-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 7vw; align-items: start; }
.message-photo { aspect-ratio: 4 / 5; position: sticky; top: 14vh; }
.letter { margin-top: 44px; max-width: 30em; }
.letter p { font-family: var(--f-min); font-size: 18px; line-height: 2.3; letter-spacing: .05em; text-align: justify; }
.letter p + p { margin-top: 1.4em; }
.letter p:first-child { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.8; white-space: nowrap; }
.signature { margin-top: 56px; font-family: var(--f-min); font-size: 22px; letter-spacing: .14em; }
.signature span { display: block; font-family: var(--f-sans); font-size: 14px; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }

/* ---------- 8. 流れ ---------- */
.process { position: relative; padding: 20vh 0; }
.process-stick { overflow: hidden; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 6vw; }
.process-bar { flex: 1; max-width: 520px; height: 1px; background: var(--line); position: relative; margin-bottom: 18px; }
.process-bar i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.process-track { display: flex; gap: 0; margin-top: 10vh; padding: 0 var(--gutter); width: max-content; }
.step { width: clamp(280px, 27vw, 420px); padding: 0 3vw 0 0; margin-right: 3vw; border-left: 1px solid var(--line); padding-left: 28px; }
.step-no { display: block; font-family: var(--f-en); font-size: 76px; line-height: 1; color: var(--fg); font-weight: 400; }
.step h3 { margin-top: 34px; font-family: var(--f-min); font-weight: 500; font-size: 25px; letter-spacing: .06em; line-height: 1.5; }
.step-tag { margin-top: 8px; font-size: 14px !important; color: var(--brass) !important; letter-spacing: .08em; }
.step p { margin-top: 14px; font-size: 16px; line-height: 2; color: var(--muted); }

/* ---------- 9–10. FAQ・会社概要 ---------- */
.faq { padding: 22vh 0 10vh; }
.company { padding: 10vh 0 22vh; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 6vw; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--f-min); font-weight: 500; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: .05em; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 3em 28px 0; }
.faq-a p { font-size: 16.5px; line-height: 2.05; color: var(--muted); max-width: 38em; }

.company-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.95; }
.company-table th { width: 9em; font-weight: 400; color: var(--muted); font-size: 15px; }
.company-table .c-biz { display: block; font-family: var(--f-min); font-weight: 500; font-size: 18px; }
.company-table .c-biz + br + .c-biz, .company-table td .c-biz:not(:first-child) { margin-top: 12px; }
.company-table td { color: var(--fg); }
.company-table a { text-decoration: none; border-bottom: 1px solid var(--brass); }

/* ---------- 11. お問い合わせ ---------- */
.contact { padding: 24vh 0 18vh; }
.contact-title { font-family: var(--f-min); font-weight: 500; font-size: clamp(30px, 4.4vw, 68px); line-height: 1.55; letter-spacing: .08em; }
.contact-lead { margin-top: 30px; font-size: 17.5px; line-height: 2.05; color: var(--muted); }
.contact-mail {
  display: inline-block; margin-top: 8vh;
  font-family: var(--f-en); font-weight: 400;
  font-size: clamp(42px, 8.4vw, 136px); line-height: 1.05; letter-spacing: -.005em;
  text-decoration: none;
  background: linear-gradient(var(--brass), var(--brass)) left bottom / 100% 1px no-repeat;
  padding-bottom: .06em;
  transition: color .4s;
}
.contact-mail:hover { color: var(--brass); }
.contact-ask { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 4vw; margin-top: 9vh; border-top: 1px solid var(--line); }
.contact-ask div { padding: 22px 0; }
.contact-ask dt { font-family: var(--f-min); font-size: 19px; letter-spacing: .06em; }
.contact-ask dd { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.contact-small { font-size: 14.5px; color: var(--faint); margin-top: 6px; }

/* ---------- フッター ---------- */
.site-footer { padding: 0 0 40px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 34px 6vw; align-items: start; padding-top: 40px; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.footer-logo { width: 92px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: flex-end; font-size: 14.5px; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--fg); }
.privacy { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.privacy summary { cursor: pointer; width: max-content; }
.privacy p { margin-top: 10px; max-width: 52em; line-height: 1.9; }
.copy { grid-column: 1 / -1; font-family: var(--f-en); font-size: 14px; color: var(--faint); }

/* =========================================================
   スマートフォン
   ========================================================= */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .pc { display: none; }
  .sp { display: inline; }
  .site-header { padding: 18px var(--gutter); }
  .brand { width: 72px; height: 29px; }
  .header-contact { display: none; }
  .menu { padding-top: 96px; }
  .menu-list { columns: 1; }
  .menu-list a { padding: 13px 0; font-size: 20px; }
  .menu-foot { flex-direction: column; gap: 4px; }

  .hero { height: 230vh; }
  .hero-photo { clip-path: inset(37% 8% 29% 8%); }
  .hero-photo::before { left: calc(8% + 16px); top: calc(37% + 12px); }
  .hero-photo::after { left: calc(8% + 16px); right: calc(8% + 16px); bottom: calc(29% + 14px); }
  .hero-title {
    writing-mode: horizontal-tb;
    left: var(--gutter); right: var(--gutter); top: 12vh;
    font-size: clamp(28px, 8.4vw, 40px); line-height: 1.55; letter-spacing: .1em;
  }
  .hero-title-line:nth-child(2), .hero-title-line:nth-child(3) { padding-top: 0; }
  .hero-lead { bottom: 5vh; bottom: 5svh; right: var(--gutter); }
  .hero-lead p { font-size: 16.5px; line-height: 1.9; }
  .hero-lead-sub { font-size: 14.5px !important; margin-top: 8px; }
  .hero-scroll { display: none; }
  .hero-after { font-size: clamp(20px, 6.2vw, 27px); letter-spacing: .08em; padding: 0 var(--gutter); }

  .statement { padding: 18vh 0 14vh; }
  .statement-title { font-size: clamp(25px, 7.2vw, 40px); line-height: 1.5; letter-spacing: .04em; }
  .statement-body { width: 100%; margin-top: 7vh; }

  .philosophy-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-side { position: static; }
  .principle { padding: 32px 0 40px; }
  .principle h3 { font-size: clamp(20px, 5.6vw, 26px); letter-spacing: .04em; }
  .contact-title { font-size: clamp(24px, 6.8vw, 34px); letter-spacing: .05em; }

  .numbers-stick { padding: 16vh 0 12vh; }
  .numbers-grid { grid-template-columns: 1fr; gap: 48px; }
  .metric { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .metric dt { flex-direction: row; align-items: baseline; gap: 12px; }
  .metric-name { font-size: 22px; }
  .svc-desc, .biz-intro, .principle p, .statement-body p, .faq-a p, .step p { font-size: 16px; }

  .biz { padding: 12vh 0 14vh; }
  .biz-word { font-size: 30vw; margin-bottom: 4vh; }
  .biz-grid, .biz--inside .biz-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .biz-title { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: .04em; }
  .biz-visual { position: static; }
  .biz--inside .biz-visual { order: -1; }
  .biz-photo { aspect-ratio: 4 / 3; }
  .svc-list { margin-top: 44px; }
  .svc { padding: 26px 0 28px; }
  .svc-price .n { font-size: 38px; }

  .message { padding: 14vh 0; }
  .message-grid { grid-template-columns: 1fr; gap: 40px; }
  .message-photo { position: relative; top: auto; aspect-ratio: 4 / 3; }
  .letter { margin-top: 30px; }
  .letter p { font-size: 16.5px; line-height: 2.15; }
  .letter p:first-child { white-space: normal; font-size: clamp(16.5px, 4.6vw, 20px); }
  .site-header.is-solid { padding-top: 12px; padding-bottom: 12px; }

  .process { padding: 14vh 0; }
  .process-head { display: block; }
  .process-bar { display: none; }
  .process-track { flex-direction: column; width: auto; margin-top: 44px; }
  .step { width: auto; margin: 0; padding: 26px 0 30px; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; }
  .step-no { font-size: 40px; grid-row: span 3; }
  .step h3 { margin-top: 2px; font-size: 19px; }
  .step-tag { margin-top: 2px; }
  .step p { margin-top: 6px; grid-column: 2; }

  .faq { padding: 14vh 0 6vh; }
  .company { padding: 8vh 0 14vh; }
  .faq-list summary { padding: 20px 0; }
  .faq-a { padding-right: 0; }
  .company-table th { width: 6.5em; font-size: 14px; }
  .company-table th, .company-table td { padding: 16px 0; font-size: 15.5px; }

  .contact { padding: 16vh 0 12vh; }
  .contact-mail { font-size: clamp(34px, 11vw, 60px); word-break: break-all; }
  .contact-ask { grid-template-columns: 1fr; margin-top: 7vh; }
  .contact-ask div { padding: 16px 0; border-bottom: 1px solid var(--line); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 860px) and (max-height: 700px) {
  .hero-title { top: 11vh; font-size: clamp(24px, 7.4vw, 32px); }
  .hero-photo { clip-path: inset(36% 10% 33% 10%); }
  .hero-photo::before { left: calc(10% + 14px); top: calc(36% + 10px); }
  .hero-photo::after { display: none; }
  .hero-lead-sub { display: none; }
  .hero-lead p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero { height: auto; }
  .hero-stick { position: relative; }
  html.js .hero-after .m > span { transform: none; }
  .hero-after { display: none; }
}
