/* 株式会社Zen 試作（2026-10-15）
   白地・黒文字・赤は1点だけ（ヒアリング No.43）。動きは細やか＋少しの奥行き（No.24・44）
   客は50〜60代：本文は17px、行間は広め、押す所は大きく */
:root {
  --ink: #111418;
  --ink-2: #3b424c;
  --sub: #6b7480;
  --line: #e6e8ec;
  --soft: #f5f6f8;
  --red: #d7141e;
  --red-d: #a90f17;
  --line-g: #06c755; /* LINE のボタンだけ LINE の緑 */
  --max: 1120px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 17px; line-height: 1.9; letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== ヘッダー ===== */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd.scrolled { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .04em; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 99px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.nav .btn-line { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; border: 0; background: none; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s var(--ease), background .2s; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== ボタン ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border-radius: 99px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,20,24,.12); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-line { background: var(--line-g); border-color: var(--line-g); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-line svg { width: 22px; height: 22px; flex: none; }

/* ===== 見出しと文 ===== */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--sub); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.4; font-weight: 900; margin: 14px 0 20px; letter-spacing: .01em; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 760px; }
.sec { padding: 120px 0; }
.sec.soft { background: var(--soft); }
.sec-head { margin-bottom: 48px; }
.red { color: var(--red); }
.muted { color: var(--sub); font-size: 15px; }

/* ===== ファーストビュー ===== */
.fv { position: relative; overflow: hidden; padding: 72px 0 96px; }
.fv-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.fv-tag { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fv-tag span { font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 99px; background: var(--soft); color: var(--ink-2); }
.fv-num { display: flex; align-items: baseline; gap: 10px; font-weight: 900; line-height: 1; margin: 0 0 18px; }
.fv-num .n { font-size: clamp(64px, 10vw, 128px); letter-spacing: -.03em; }
.fv-num { flex-wrap: wrap; }
.fv-num .u { font-size: clamp(22px, 3vw, 34px); white-space: nowrap; }
.fv-num .note { font-size: 15px; font-weight: 700; color: var(--sub); align-self: flex-end; margin-bottom: 8px; }
.fv h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.35; font-weight: 900; margin: 0 0 24px; letter-spacing: .01em; }
.fv h1 .mark { position: relative; white-space: nowrap; }
.fv h1 .mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .14em; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1s .9s var(--ease); }
.is-in .fv h1 .mark::after, .fv.is-in h1 .mark::after { transform: scaleX(1); }
.fv p.lead { margin: 0 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fv-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--soft); }
.fv-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.fv-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.fv-photo figcaption b { display: block; font-size: 16px; }
.fv-photo.ill { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
.fv-photo.ill img { aspect-ratio: 1; height: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.fv-photo.ill figcaption { position: static; background: none; padding: 14px 4px 0; }
.who-photo.ill { background: #fff; border: 1px solid var(--line); }
.ph-ill { margin: 36px 0 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); max-width: 960px; }
/* 鬼軍曹キャラ（前岡さんのキャラ。2026-10-15） */
.chara { margin: 0; position: relative; }
.chara img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 20px 50px rgba(17,20,24,.12); }
.chara figcaption { position: absolute; left: -12px; bottom: 24px; background: var(--red); color: #fff; font-weight: 900; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; padding: 12px 18px; border-radius: 6px 18px 18px 6px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(215,20,30,.3); }
.ph-chara { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.shout { display: inline-block; margin: 18px 0 0; font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; background: var(--ink); padding: 6px 16px; transform: rotate(-2deg); }
.fv-bg { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(17,20,24,.05), transparent); pointer-events: none; z-index: -1; will-change: transform; }

/* お客さまの言葉が流れる（スライドショーの代わり。No.24 の C3） */
.voice-run { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.voice-run .track { display: inline-flex; gap: 56px; animation: run 48s linear infinite; padding-left: 56px; }
.voice-run span { font-size: 17px; font-weight: 700; color: var(--ink-2); }
.voice-run span::before { content: "“"; color: var(--red); margin-right: 4px; }
@keyframes run { to { transform: translateX(-50%); } }

/* ===== 数字 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-size: clamp(36px, 4.4vw, 52px); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.stat .v small { font-size: .42em; margin-left: 4px; letter-spacing: 0; white-space: nowrap; }
.stat .k { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ===== 言葉（お客さまの悩み） ===== */
.quote { font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.5; margin: 0 0 28px; }
.quote .q { color: var(--sub); }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 28px 26px; transition: transform .35s var(--ease), box-shadow .35s; }
.type:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,20,24,.08); }
.type .no { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .12em; }
.type h3 { font-size: 22px; margin: 6px 0 10px; line-height: 1.5; }
.type .said { font-size: 16px; color: var(--ink-2); margin: 0 0 14px; }
.type .re { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 16px; }
.type .re b { color: var(--red); font-size: 13px; letter-spacing: .1em; display: block; }

/* ===== 頼めること ===== */
.menu3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px 28px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17,20,24,.1); border-color: transparent; }
.card .tag { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .12em; }
.card h3 { font-size: 26px; line-height: 1.4; margin: 8px 0 12px; }
.card p { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.card .go { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.card .go .arw { transition: transform .25s var(--ease); }
.card:hover .go .arw { transform: translateX(6px); }
.saisei { margin-top: 20px; display: flex; align-items: center; gap: 24px; justify-content: space-between; background: var(--ink); color: #fff; border-radius: 20px; padding: 30px 34px; text-decoration: none; transition: transform .35s var(--ease); }
.saisei:hover { transform: translateY(-4px); }
.saisei h3 { margin: 0 0 4px; font-size: 22px; }
.saisei p { margin: 0; color: #c9ced6; font-size: 16px; }
.saisei .go { flex: none; border: 1.5px solid #fff; border-radius: 99px; padding: 10px 20px; font-weight: 700; }

/* ===== 面談の流れ ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); }
.flow .line-fill { position: absolute; left: 0; top: 22px; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.flow.is-in .line-fill { transform: scaleX(1); }
.step { position: relative; padding: 0 20px 0 0; }
.step .t { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 99px; background: #fff; border: 2px solid var(--ink); font-weight: 900; font-size: 14px; position: relative; z-index: 1; }
.step h3 { font-size: 20px; margin: 18px 0 8px; line-height: 1.5; }
.step p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ===== 代表 ===== */
.who { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.who-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
.who h2 { margin-top: 10px; }
.kake { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.kake span { border: 1px solid var(--line); border-radius: 99px; padding: 6px 16px; font-weight: 700; font-size: 15px; }
.kake span.hl { border-color: var(--red); color: var(--red); }
.career { width: 100%; border-collapse: collapse; font-size: 16px; }
.career th, .career td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.career th { white-space: nowrap; color: var(--sub); font-weight: 700; width: 9em; }

/* ===== よくある質問 ===== */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-2); }

/* ===== 締めの呼びかけ ===== */
.end { background: var(--ink); color: #fff; border-radius: 32px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden; }
.end h2 { font-size: clamp(28px, 4vw, 44px); margin: 12px 0 14px; line-height: 1.45; }
.end p { color: #c9ced6; margin: 0 auto 32px; max-width: 640px; }
.end .eyebrow { color: #c9ced6; }
.end .cta-row { justify-content: center; }
.end .btn:not(.btn-line) { background: transparent; color: #fff; border-color: #fff; }
.end .sub-links { margin-top: 22px; font-size: 15px; color: #c9ced6; }
.end .sub-links a { color: #fff; margin: 0 8px; }

/* ===== 下層ページ ===== */
.ph { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.ph h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.35; font-weight: 900; margin: 14px 0 18px; }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: 8px; }
.crumb a { color: var(--sub); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 24px; }
.box h3 { margin: 4px 0 8px; font-size: 21px; line-height: 1.5; }
.box p { margin: 0; color: var(--ink-2); font-size: 16px; }
.box .tag { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .1em; }
.sec.soft .box { border-color: transparent; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 30px; margin: 8px 0; }
.list-check li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 11em; color: var(--sub); font-weight: 700; }
.course { display: grid; gap: 14px; }
.course .row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; background: #fff; border-radius: var(--r); padding: 22px 24px; }
.course .row .n { font-weight: 900; font-size: 15px; color: var(--sub); }
.course .row .n b { display: block; font-size: 28px; color: var(--ink); line-height: 1.2; }
.course .row h3 { margin: 0 0 4px; font-size: 20px; }
.course .row p { margin: 0; font-size: 16px; color: var(--ink-2); }
.course .row .take { margin-top: 8px; font-size: 15px; }
.course .row .take b { color: var(--red); }
.before-after { width: 100%; border-collapse: collapse; }
.before-after th, .before-after td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 16px; }
.before-after thead th { font-size: 13px; color: var(--sub); letter-spacing: .1em; }
.before-after td.now { font-weight: 900; color: var(--red); }

/* ===== フォーム ===== */
.form { display: grid; gap: 18px; max-width: 760px; }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form label .req { color: var(--red); font-size: 13px; margin-left: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { min-height: 140px; }
.form .note { font-size: 14px; color: var(--sub); }
.proto-note { background: #fff7e6; border: 1px solid #f2d8a7; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.line-hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: #f1fbf4; border: 1px solid #c8eed3; border-radius: 24px; padding: 36px; }
.line-hero h2 { margin: 0 0 8px; font-size: 28px; }
.line-hero p { margin: 0 0 18px; color: var(--ink-2); }
.line-hero .qr { width: 150px; border-radius: 12px; background: #fff; padding: 8px; }

/* ===== フッター ===== */
.ft { border-top: 1px solid var(--line); padding: 64px 0 120px; margin-top: 120px; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ft h4 { font-size: 13px; letter-spacing: .14em; color: var(--sub); margin: 0 0 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 6px 0; }
.ft a { text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft .copy { margin-top: 40px; color: var(--sub); font-size: 13px; }
.proto-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

/* スマホの下に貼り付く LINE */
.sticky-line { display: none; }

/* ===== 出てくる動き（細やか。No.24 の C1） ===== */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.split.is-in .w { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .menu-open .nav { display: flex; position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 4px; overflow-y: auto; }
  .menu-open .nav a { font-size: 19px; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu-open .nav .btn-line { margin: 16px 0 0; border-bottom: 0; border-radius: 99px; justify-content: center; }
  .fv-grid, .who, .ph-chara { grid-template-columns: 1fr; gap: 40px; }
  .chara { max-width: 460px; }
  .chara figcaption { left: 8px; }
  .fv-photo { max-width: 420px; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
  .fv-photo img { height: auto; aspect-ratio: 1; border-radius: 24px; transform: none !important; }
  .fv-photo figcaption { position: static; background: none; padding: 12px 2px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 22px 14px 20px; }
  .stat .k { font-size: 14px; }
  .fv-num .note { flex-basis: 100%; margin: 6px 0 0; }
  .menu3, .grid3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before, .flow .line-fill { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow .line-fill { transform-origin: top; transform: scaleY(0); }
  .flow.is-in .line-fill { transform: scaleY(1); }
  .step { padding: 0 0 0 64px; }
  .step .t { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 6px; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hd-in { height: 64px; }
  .menu-open .nav { inset: 64px 0 0 0; }
  .sec { padding: 80px 0; }
  .fv { padding: 40px 0 64px; }
  .types, .grid2 { grid-template-columns: 1fr; }
  .type { padding: 22px 20px; }
  .card { padding: 26px 22px; }
  .saisei { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .end { padding: 52px 22px; border-radius: 24px; }
  .cta-row .btn { width: 100%; }
  .course .row { grid-template-columns: 1fr; gap: 6px; }
  .line-hero { grid-template-columns: 1fr; padding: 26px 20px; }
  .line-hero .qr { display: none; }
  .table th { width: 7em; }
  .sticky-line { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(140%); transition: transform .4s var(--ease); }
  .sticky-line.show { transform: none; }
  .sticky-line .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
  .sticky-line .btn small { font-weight: 400; font-size: 12px; opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split .w { opacity: 1; transform: none; }
  .fv h1 .mark::after, .flow .line-fill { transform: none; }
}
