/* ==========================================================
   DX職人 — スタイル(freeca.jp のレイアウト寸法に合わせた構成)
   ========================================================== */

:root {
  --navy: #0b1f3f;
  --navy-800: #11294f;
  --navy-700: #1a3763;
  --deep: #061329;
  --green: #06c755;
  --green-hover: #07a047;
  --ink: #14223a;
  --muted: #4d5b72;
  --line: #d9dfe8;
  --paper: #f5f7fa;
  --tint: #e8eef7;
  --radius: 18px;
  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-hand: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--font); font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4 { font-weight: 700; }
.ph { display: inline-block; }
.pc-only { display: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--24 { width: 24px; height: 24px; }
.icon--64 { width: 64px; height: 64px; stroke-width: 1.25; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: var(--navy); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: calc(100% - 40px); max-width: 1120px; margin-inline: auto; }
.section { position: relative; padding: 72px 0; isolation: isolate; }

/* ---------- 文字スタイル ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px 6px 10px;
  color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.6;
}
.section-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.section-label.light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.challenges .section-label, .contact .section-label { display: inline-flex; }
.challenges .wrap, .contact .wrap { text-align: center; }
.challenges .challenge-grid, .challenges .challenge-card { text-align: left; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -.02em; }
h2 .accent { color: var(--navy); }
.light-bg h2 .accent, .opportunity h2 .accent, .approach h2 .accent, .about h2 .accent { color: var(--green); }
h2.center, .intro.center { text-align: center; }
.intro { margin-top: 24px; font-size: 15px; line-height: 1.9; color: var(--muted); max-width: 44em; }
.intro.center { margin-inline: auto; }
.fine { font-size: 12px; line-height: 1.9; color: var(--muted); }
.tbd { color: var(--green-hover); font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--navy); text-underline-offset: 5px; text-decoration: underline; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link.light { color: #fff; }

/* ---------- ボタン ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 19px 32px; border: 1px solid transparent; border-radius: 999px;
  background: var(--green); color: var(--deep); font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.cta:hover { background: var(--green-hover); color: var(--deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(6, 19, 41, .1); }
.cta.small { min-height: 44px; padding: 12px 18px; font-size: 12px; white-space: nowrap; }
.cta.dark { background: var(--deep); color: #fff; }
.cta.dark:hover { background: var(--navy); color: #fff; }
.cta .icon { width: 18px; height: 18px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  height: 70px; padding: 0 20px;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(11, 31, 63, .08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; }
.brand__logo { display: grid; place-items: center; width: 38px; height: 38px; flex: none; font-size: 14px; font-weight: 800; letter-spacing: -.02em; color: #fff; background: var(--navy); border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__mark { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--navy); }
.brand__dx { color: var(--green); }
.brand__sub { font-size: 10px; letter-spacing: .04em; color: var(--muted); line-height: 1.4; }
.nav { display: none; }
.nav a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 700; color: var(--ink); border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: #fff; color: var(--navy); }
.nav a[aria-current] { background: var(--navy); color: #fff; }
.site-header .cta.small { font-size: 11px; padding: 10px 14px; min-height: 40px; }
.site-header .cta.small .icon { width: 14px; height: 14px; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 20px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11, 31, 63, .08); }
.nav.is-open a { min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav.is-open a[aria-current] { background: none; color: var(--navy); }
.nav.is-open a:last-child { border: 0; }

/* ---------- 1. hero(写真を背景にしたファーストビュー) ---------- */
.hero { position: relative; display: flex; flex-direction: column; padding: 0 0 36px; isolation: isolate; color: #fff; background: var(--deep); }
.hero-bg { position: relative; z-index: 0; flex: none; height: 280px; height: clamp(240px, 36svh, 320px); overflow: hidden; background: var(--deep); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .hero-bg__a { object-position: 50% 44%; animation: hero-slide-a 12s ease-in-out infinite; }
.hero-bg .hero-bg__b { height: 122%; object-position: 70% 38%; animation: hero-slide-b 12s ease-in-out infinite; }
@keyframes hero-slide-a { 0% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hero-slide-b { 0% { opacity: 0; } 50% { opacity: 0; } 58% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 19, 41, .1) 0%, rgba(6, 19, 41, .08) 40%, rgba(6, 19, 41, .62) 74%, var(--deep) 100%);
}
.hero-inner { position: relative; z-index: 2; width: calc(100% - 40px); max-width: 1240px; margin: -40px auto 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.6; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(6, 199, 85, .28); flex: none; }
.hero-lead { margin-bottom: 12px; font-size: 14px; letter-spacing: .015em; color: rgba(255, 255, 255, .82); }
.hero h1 { font-size: clamp(34px, 7.2vw, 53px); line-height: 1.4; letter-spacing: -.04em; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 24px rgba(6, 19, 41, .45); }
.hero h1 em { font-style: normal; color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 6px; text-underline-offset: 10px; }
.hero-description { font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .88); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-actions .cta { padding: 20px 25px; width: 100%; box-shadow: 0 12px 32px rgba(6, 199, 85, .28); }
.hero .text-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.hero-note { margin-top: 14px; font-size: 11px; color: rgba(255, 255, 255, .72); }
.hero-visual__note { position: absolute; right: 14px; top: 12px; z-index: 2; padding: 3px 10px; font-size: 10px; color: #fff; background: rgba(6, 19, 41, .45); border-radius: 999px; }
.has-js .eyebrow, .has-js .hero-lead, .has-js .hero h1, .has-js .hero-description, .has-js .hero-actions, .has-js .hero-note { animation: enter .65s both; }
.has-js .hero h1 { animation-delay: 70ms; }
.has-js .hero-description { animation-delay: 140ms; }
.has-js .hero-actions { animation-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .hero-bg__a { animation: none; opacity: 1; }
  .hero-bg .hero-bg__b { animation: none; opacity: 0; }
}

@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes photo-enter { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- 2. 数字の帯 ---------- */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; }
.stat { padding: 26px 0; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; }
.stat__label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.stat__value { margin-top: 10px; line-height: 1.2; }
.stat__value strong { font-size: clamp(30px, 5vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.stat__value span { margin-left: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.stat__desc { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- 3. promotion ---------- */
.promotion { background: var(--paper); }
.promotion-layout { display: grid; gap: 28px; align-items: center; }
.promotion h2 { font-size: clamp(28px, 3vw, 42px); }
.video-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.player { position: relative; padding: 14px; background: var(--deep); border-radius: 28px; color: #fff; overflow: hidden; }
.player__bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.player__logo { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.player__tag { font-size: 10px; letter-spacing: .18em; color: rgba(255, 255, 255, .6); }
.player__note { margin: 12px 6px 2px; font-size: 11px; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.demo__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.demo__tab { min-height: 44px; padding: 6px 4px; font-size: 12px; font-weight: 700; line-height: 1.35; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; transition: background-color .15s, color .15s; }
.demo__tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--deep); }
.chat { display: flex; flex-direction: column; height: 460px; background: #dfe7f1; border-radius: 20px; overflow: hidden; color: var(--ink); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 30px; height: 30px; font-size: 11px; font-weight: 700; color: #fff; background: var(--green); border-radius: 50%; }
.chat__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.chat__tag { padding: 1px 8px; font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; }
.chat__log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; }
.chat__log > * { flex: none; animation: msg-in .22s ease both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.chat__foot { padding: 10px 12px 12px; background: #fff; border-top: 1px solid var(--line); }
.chat__foot:empty { display: none; }
.phone__foot-label { margin-bottom: 6px; font-size: 11px; font-weight: 700; color: var(--muted); }
.msg { max-width: 84%; padding: 9px 13px; font-size: 14px; line-height: 1.6; border-radius: 16px; }
.msg--me { align-self: flex-end; margin-left: auto; background: #9fe88d; color: #0c2a14; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg--hint { align-self: center; max-width: 100%; padding: 4px 12px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .7); border-radius: 8px; text-align: center; }
.msg__card { margin-top: 8px; font-size: 12px; line-height: 1.6; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.msg__card-title { padding: 6px 10px; font-weight: 700; color: var(--navy); background: var(--tint); border-bottom: 1px solid var(--line); }
.msg__card-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; }
.msg__card-row + .msg__card-row { border-top: 1px solid var(--line); }
.msg__card-row span:first-child { flex: none; color: var(--muted); }
.msg__card-row span:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.msg__card-text { padding: 8px 10px; }
.msg__file { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--tint); border-radius: 8px; }
.typing { display: inline-flex; gap: 4px; align-items: center; min-height: 22px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa7ba; animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.suggest { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px 10px 8px 14px; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: left; color: var(--deep); background: #fff; border: 1.5px solid var(--green); border-radius: 999px; transition: background-color .15s; }
.suggest:hover { background: #effaf3; }
.suggest__text { flex: 1; min-width: 0; }
.suggest__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: var(--deep); background: var(--green); border-radius: 50%; }
.suggest__icon .icon { width: 16px; height: 16px; }
.suggest--again { justify-content: center; border-color: var(--line); }

/* ---------- 4. challenges ---------- */
.challenges { background: #fff; }

.challenge-grid { display: grid; gap: 20px; margin-top: 40px; }
.challenge-card { padding: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.challenge-card__art { height: 200px; margin-bottom: 22px; background: var(--tint); overflow: hidden; }
.challenge-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .challenge-card:hover .challenge-card__art img { transform: scale(1.04); } }
.card-index { display: block; margin: 0 24px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--navy); }
.challenge-card h3 { margin: 12px 24px 0; font-size: 19px; line-height: 1.6; letter-spacing: -.01em; }
.challenge-card p { margin: 12px 24px 0; font-size: 14px; line-height: 2; color: var(--muted); }
.challenge-close { margin-top: 36px; text-align: center; font-size: 17px; font-weight: 700; }
.challenge-close strong { color: var(--navy); border-bottom: 3px solid var(--green); }

/* ---------- 5. opportunity ---------- */
.opportunity { background: var(--deep); color: #fff; overflow: hidden; }
.opportunity-layout { display: grid; gap: 30px; align-items: center; }
.opportunity .intro { color: #b9c5d8; }
.calc-card { padding: 28px 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.calc-card__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #b9c5d8; }
.calc-card__formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 16px; }
.calc-item { display: inline-flex; align-items: baseline; gap: 4px; }
.calc-item__key { font-size: 13px; color: #b9c5d8; }
.calc-item strong, .calc-card__result strong { font-size: clamp(36px, 8vw, 56px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.calc-item__unit { font-size: 14px; font-weight: 700; }
.calc-op { font-size: 20px; color: #b9c5d8; }
.calc-card__result { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 16px; font-weight: 700; line-height: 1.3; }
.calc-card__result strong { font-size: clamp(48px, 12vw, 84px); margin: 0 2px; }
.calc-card__text { margin-top: 18px; font-size: 14px; line-height: 1.9; color: #dfe6f1; }
.calc-card .fine { margin-top: 14px; color: #8fa0b9; }

/* ---------- 6. change ---------- */
.change { background: var(--tint); }
.change-list { margin-top: 36px; border-top: 1px solid var(--line); }
.change-row { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.before > span, .after > span { display: block; font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.after > span { color: var(--navy); }
.before p { margin-top: 6px; font-size: 16px; line-height: 1.8; color: #5b6880; font-weight: 700; }
.after h3 { margin: 7px 0 10px; font-size: 21px; line-height: 1.5; color: var(--navy); letter-spacing: -.01em; }
.after p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.change .fine { margin-top: 20px; }

/* ---------- 7. approach ---------- */
.approach { background: var(--navy); color: #fff; }
.feature-grid { display: grid; gap: 26px; margin-top: 44px; }
.feature-grid article { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); }
.feature-number { display: block; font-size: 54px; font-weight: 800; line-height: 1.3; letter-spacing: -.04em; color: var(--green); }
.feature-grid h3 { font-size: 23px; margin: 20px 0 16px; line-height: 1.5; }
.feature-grid p { font-size: 14px; line-height: 2; color: #d6dfec; }
.feature-tag { display: inline-block; margin-top: 22px; padding: 5px 12px; font-size: 11px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; }

/* ---------- 8. system ---------- */
.system { background: var(--paper); }
.system-layout { display: grid; gap: 32px; margin-top: 8px; }
.feature-list { display: grid; gap: 10px; margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.feature-list__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--deep); background: var(--green); border-radius: 10px; }
.feature-list h3 { font-size: 17px; line-height: 1.5; }
.feature-list p { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.product-card { padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); }
.product-card__tag { display: inline-block; padding: 3px 12px; font-size: 12px; font-weight: 700; color: var(--green-hover); background: #effaf3; border-radius: 6px; }
.product-card__name { margin-top: 14px; font-size: clamp(30px, 7vw, 40px); line-height: 1.3; letter-spacing: -.02em; color: var(--navy); }
.product-card__catch { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.product-card__text { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.check-list { display: grid; gap: 10px; margin: 20px 0 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.check-list .icon { margin-top: 3px; color: var(--green-hover); }
.product-card .cta { width: 100%; }
.product-card .fine { margin-top: 12px; }
.system-more { display: grid; gap: 16px; margin-top: 16px; }
.card { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card--soon { background: var(--tint); border-style: dashed; }
.card__icon { color: var(--navy); }
.card h3 { margin-top: 16px; font-size: 18px; line-height: 1.5; }
.card p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.card .text-link { margin-top: 8px; }

/* ---------- 9. case ---------- */
.case { background: var(--paper); }
.case-grid { display: grid; gap: 20px; margin-top: 40px; }
.case-card { position: relative; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.case-card::before { content: ""; position: absolute; top: 0; left: 24px; width: 55px; height: 4px; background: var(--navy); }
.case-card__dept { display: block; font-size: 12px; font-weight: 700; color: var(--navy); }
.case-card h3 { margin: 14px 0 10px; font-size: 22px; line-height: 1.5; }
.case-card__want { font-size: 14px; line-height: 1.9; color: var(--muted); }
.mini { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.mini__label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.mini__label--ai { color: var(--navy); }
.mini__arrow { width: 22px; height: 22px; color: var(--green-hover); transform: rotate(90deg); justify-self: center; }
.case-card__check { margin-top: 18px; padding-left: 12px; border-left: 4px solid var(--green); font-size: 13px; font-weight: 700; line-height: 1.7; }
.case .fine { margin-top: 24px; }

.paper { position: relative; padding: 14px 14px 10px; font-size: 12px; line-height: 1.8; background: #fff; border: 1px solid #d9dfe8; border-radius: 3px; box-shadow: 0 1px 0 #e6eaf0, 0 6px 16px rgba(11, 31, 63, .06); }
.paper__title { font-size: 14px; font-weight: 700; letter-spacing: .3em; text-align: center; border-bottom: 2px solid var(--ink); margin-bottom: 8px; padding-bottom: 4px; }
.paper--invoice p:not(.paper__title) { padding: 3px 0; border-bottom: 1px solid #e6eaf0; }
.paper--invoice p:last-child { margin-top: 6px; padding-top: 6px; font-weight: 700; font-size: 13px; border-top: 2px solid var(--ink); border-bottom: 0; }
.paper--invoice::after { content: ""; position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border: 2px solid rgba(11, 31, 63, .45); border-radius: 50%; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(11, 31, 63, .3); transform: rotate(-8deg); opacity: .8; }
.paper--memo { padding: 8px 12px 8px 26px; font-family: var(--font-hand); font-size: 14px; line-height: 26px; color: #2b2b2b; background-color: #fffdf6; border-color: #e3dcc6; background-image: linear-gradient(transparent 25px, #d8d2c0 25px, #d8d2c0 26px), linear-gradient(90deg, transparent 16px, rgba(200, 80, 43, .45) 16px, rgba(200, 80, 43, .45) 17px, transparent 17px); background-size: 100% 26px, 100% 100%; background-position: 0 8px, 0 0; }
.paper--memo p { padding: 0; border: 0; }
.stable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; line-height: 1.5; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stable th, .stable td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.stable th { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--tint); }
.stable tbody tr:last-child td { border-bottom: 0; }
.stable .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sdl > div { display: grid; grid-template-columns: 5em 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.sdl dt { font-weight: 700; color: var(--muted); }
.draft { padding: 12px 14px; font-size: 13px; line-height: 1.8; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 6px; background: #fff; }

/* ---------- 10. program ---------- */
.program { background: #fff; }
.program-list { display: grid; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.program-list article { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.program-list article:last-child { border-bottom: 0; }
.program-list article > span:first-child { margin-bottom: 14px; font-size: 38px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; color: var(--navy); }
.program-step { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.program-list h3 { margin-top: 6px; font-size: 19px; line-height: 1.7; }
.program-list article > div > p:last-of-type { margin: 12px 0 18px; font-size: 13px; line-height: 2; color: var(--muted); }
.program-tag { display: inline-block; padding: 4px 12px; font-size: 11px; font-weight: 700; color: var(--navy); border: 1px solid var(--navy); border-radius: 30px; }
.program-after { display: grid; gap: 14px; margin-top: 36px; padding: 28px 24px; background: var(--tint); border-radius: var(--radius); }
.program-after .section-label { margin-bottom: 10px; }
.program-after h3 { font-size: 22px; line-height: 1.5; letter-spacing: -.01em; }
.program-after > p { font-size: 14px; line-height: 2; color: var(--muted); }

/* ---------- 12. flow ---------- */
.flow { background: var(--paper); }
.timeline { display: grid; gap: 28px; margin-top: 30px; }
.timeline article { padding-top: 20px; border-top: 2px solid var(--navy); }
.timeline article > span { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--navy); }
.timeline h3 { margin: 12px 0 10px; font-size: 21px; line-height: 1.5; }
.timeline p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.price-note { display: grid; gap: 24px; margin-top: 40px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.price-note > div + div { padding-top: 24px; border-top: 1px solid var(--line); }
.price-note > div > span { font-size: 11px; font-weight: 700; color: var(--muted); }
.price-note h3 { margin: 10px 0 12px; font-size: 19px; line-height: 1.5; }
.price-note > div + div h3 { color: var(--navy); }
.price-note p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.price-note .text-link { font-size: 13px; }

/* ---------- 13. subsidy ---------- */
.subsidy { background: var(--tint); }
.subsidy h2 { font-size: clamp(28px, 3.5vw, 48px); }
.subsidy-intro { margin: 24px 0 14px; font-size: 15px; font-weight: 700; }
.tag { display: inline-block; padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--deep); background: var(--green); border-radius: 30px; }
.subsidy .intro { margin-top: 18px; }
.subsidy-notes h3 { font-size: 19px; line-height: 1.6; }
.subsidy-notes > p { margin-top: 14px; font-size: 12px; line-height: 2; color: var(--muted); }
.payment-steps { margin: 26px 0; counter-reset: payment; border-top: 1px solid #c6d0de; }
.payment-steps > li { counter-increment: payment; position: relative; padding: 22px 0 22px 56px; border-bottom: 1px solid #c6d0de; }
.payment-steps > li::before { content: "0" counter(payment); position: absolute; top: 20px; left: 0; font-size: 23px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.payment-owner { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; color: var(--navy); }
.payment-steps strong { display: block; font-size: 15px; line-height: 1.6; }
.payment-steps p { margin-top: 6px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.subsidy-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.subsidy-links .icon { width: 16px; height: 16px; }

/* ---------- 14. about ---------- */
.about { background: var(--deep); color: #fff; }
.about-layout { display: grid; gap: 35px; align-items: center; }
.about h2 { font-size: clamp(26px, 3vw, 41px); }
.about-layout > div > p:not(.section-label) { margin-top: 24px; font-size: 14px; line-height: 2.15; color: #c7d3e6; }
.company-card { padding: 28px 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.company-card__label { display: block; font-size: 11px; letter-spacing: .12em; color: #9fb0c9; font-weight: 700; }
.company-card__name { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.company-card dl { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.company-card dl > div { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 13px; line-height: 1.8; }
.company-card dt { display: flex; align-items: center; gap: 6px; color: #9fb0c9; font-weight: 700; }
.company-card dt .icon { width: 16px; height: 16px; }
.company-card dd a { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.company-card dd .icon { width: 14px; height: 14px; }
.company-card .text-link { margin-top: 14px; font-size: 12px; }

/* ---------- 15. faq ---------- */
.faq { background: #fff; }
.faq-layout { display: grid; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: var(--navy); background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 24px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 24px no-repeat; }
details[open] > summary::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
details p { margin: 0 24px 22px 0; font-size: 14px; line-height: 2; color: var(--muted); }
details p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
details[open] > p { animation: enter .3s both; }

/* ---------- 16. contact ---------- */
.contact { padding: 72px 0; background: var(--green); color: var(--deep); text-align: center; }
.contact .section-label { color: var(--deep); background: rgba(255, 255, 255, .35); border-color: rgba(6, 19, 41, .15); }
.contact .section-label::before { background: var(--deep); }
.contact h2 { font-size: clamp(26px, 3.4vw, 44px); }
.contact__text { margin: 20px auto 0; max-width: 40em; font-size: 15px; line-height: 1.9; color: #1f3a2a; }
.contact .cta { margin-top: 28px; width: 100%; }
.contact__note { margin-top: 14px; font-size: 12px; line-height: 1.8; color: #1f3a2a; }
.contact__mail { margin-top: 16px; font-size: 13px; font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer { background: var(--paper); }
.site-footer__inner { display: grid; gap: 24px; padding: 42px 0; }
.site-footer p { margin-top: 12px; font-size: 11px; line-height: 1.9; color: var(--muted); }
.site-footer__inner > div:nth-child(2) { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.site-footer__inner > div:nth-child(2) strong { color: var(--ink); }
.site-footer__inner > div:nth-child(2) a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__right { display: flex; flex-direction: column; gap: 4px; }
.site-footer small { font-size: 10px; color: var(--muted); }

/* ---------- モバイル固定CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 20px max(10px, env(safe-area-inset-bottom)); background: rgba(245, 247, 250, .93); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s, visibility .3s; }
.mobile-cta .cta { width: 100%; min-height: 48px; padding: 13px 20px; font-size: 13px; }
.mobile-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
body { padding-bottom: 76px; }

/* ---------- スクロールで現れる ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   タブレット以上
   ========================================================== */
@media (min-width: 600px) {
  .hero-actions .cta { width: auto; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 32px 28px; border-top: 0; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .challenge-grid { grid-template-columns: repeat(3, 1fr); }
  .change-row { grid-template-columns: .8fr 1.2fr; gap: 30px; }
  .before { padding: 5px 30px 0 0; border-right: 1px solid #c6d0de; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .system-more { grid-template-columns: 1fr 1fr; }
  .product-card .cta, .contact .cta { width: auto; }
  .mini { grid-template-columns: 1fr auto 1.1fr; align-items: start; }
  .mini__arrow { transform: none; margin-top: 60px; }
  .program-list { grid-template-columns: 1fr 1fr; }
  .program-list article { padding: 30px 25px; border-right: 1px solid var(--line); }
  .program-list article:nth-child(odd) { padding-left: 0; }
  .program-list article:nth-child(even) { border-right: 0; padding-right: 0; }
  .program-after { grid-template-columns: .8fr 1.2fr; align-items: center; padding: 36px 40px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 38px; }
  .price-note { grid-template-columns: 1fr 1fr; gap: 36px; padding: 30px 36px; }
  .price-note > div + div { padding: 0 0 0 36px; border-top: 0; border-left: 1px solid var(--line); }
  .site-footer__inner { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 32px; }
  .site-footer__right { align-items: flex-end; }
}

/* ==========================================================
   PC
   ========================================================== */
@media (min-width: 1001px) {
  .pc-only { display: inline; }
  .wrap { width: calc(100% - 104px); }
  .section { padding: 112px 0; }
  .site-header { height: var(--header-h); gap: 26px; padding: 0 max(32px, calc((100% - 1240px) / 2)); }
  .brand__mark { font-size: 24px; }
  .brand__sub { font-size: 11px; }
  .nav { display: flex; gap: 2px; margin-left: auto; padding: 4px; background: var(--tint); border-radius: 999px; }
  .brand { margin-right: 0; }
  .menu-btn { display: none; }
  .site-header .cta.small { font-size: 12px; padding: 12px 18px; min-height: 44px; }

  .hero { justify-content: center; min-height: 600px; min-height: min(calc(100svh - var(--header-h)), 720px); padding: 72px 0 80px; }
  .hero-bg { position: absolute; inset: 0; height: auto; }
  .hero-bg .hero-bg__a { left: auto; right: 0; width: 46%; object-position: 50% 62%; transform: scaleX(-1); -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 70%, transparent 100%); }
  .hero-bg .hero-bg__b { height: 100%; object-position: 50% 30%; }
  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(6, 19, 41, .9) 0%, rgba(6, 19, 41, .82) 34%, rgba(6, 19, 41, .5) 58%, rgba(6, 19, 41, .18) 80%, rgba(6, 19, 41, .1) 100%),
      linear-gradient(180deg, rgba(6, 19, 41, 0) 60%, rgba(6, 19, 41, .45) 100%);
  }
  .hero-inner { width: calc(100% - 104px); max-width: 1240px; margin-top: 0; }
  .hero-inner > * { max-width: 56%; }
  .hero .eyebrow { margin-bottom: 32px; }
  .hero-lead { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(40px, 3.65vw, 53px); line-height: 1.58; margin-bottom: 28px; letter-spacing: -.05em; white-space: nowrap; }
  .hero h1 br { display: none; }
  .hero-description { font-size: 13px; line-height: 2.2; margin-bottom: 30px; }
  .hero-note { margin-top: 16px; }
  .hero-visual__note { top: auto; right: 24px; bottom: 16px; }

  .promotion-layout { grid-template-columns: .85fr 1.3fr; gap: 66px; }
  .player { padding: 18px; }
  .chat { height: 500px; }
  .challenge-card__art { height: 220px; }
  .opportunity-layout { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .calc-card { padding: 40px 44px; }
  .change-row { padding: 36px 0; }
  .feature-grid { gap: 45px; margin-top: 56px; }
  .system-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .product-card { padding: 40px; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .case-card { padding: 36px 28px; }
  .case-card::before { left: 28px; }
  .mini { grid-template-columns: 1fr; }
  .mini__arrow { transform: rotate(90deg); margin: 0; }
  .program-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .program-list article { border-bottom: 0; }
  .program-list article:nth-child(odd) { padding-left: 25px; }
  .program-list article:first-child { padding-left: 0; }
  .program-list article:nth-child(even) { border-right: 1px solid var(--line); padding-right: 25px; }
  .program-list article:last-child { border-right: 0; padding-right: 0; }
  .program-list h3 { min-height: 65px; }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 45px; }
  .timeline h3 { font-size: 22px; margin: 18px 0 12px; }
  .about-layout { grid-template-columns: 1fr 360px; gap: 100px; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
  .faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
  .contact { padding: 100px 0; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 1000px) {
  .hero h1 { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 微調整 */
@media (max-width: 1000px) {
  .brand__sub { display: none; }
  .site-header .cta.small { margin-left: auto; }
}
.subsidy-highlight strong .tbd, .subsidy-metrics strong .tbd, .payment-total strong .tbd, .subsidy h2 .tbd { font-weight: 800; }
.contact__mail .tbd { color: var(--deep); }

/* 追加:帯のリンク・賃金助成・料金 */
.stat__link { display: inline-flex; align-items: center; min-height: 32px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.stat__link:hover { text-decoration-color: currentColor; }
.price-tax { font-size: 14px; font-weight: 700; }
.wage { display: grid; gap: 18px; margin-top: 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.wage h3 { margin: 6px 0 10px; font-size: 19px; line-height: 1.5; }
.wage h3 strong { color: var(--navy); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.wage__sum { display: grid; gap: 8px; }
.wage__sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.wage__sum dd { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.program-tag, .feature-tag, .tag, .chat__tag, .product-card__tag { border-radius: 999px; }
.feature-list li, .card, .case-card, .challenge-card, .product-card, .price-note, .subsidy-metrics article, .payment-summary, .company-card, .calc-card { border-radius: 20px; }
.case-card { overflow: hidden; }
.subsidy-highlight { border-radius: 20px; }
.mobile-cta .cta { border-radius: 999px; }
@media (min-width: 600px) {
  .wage { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 28px 32px; }
  .subsidy-highlight { border-radius: 24px; }
}
.brand__mark { white-space: nowrap; }
@media (max-width: 1000px) { .site-header .cta.small { font-size: 11px; padding: 10px 12px; } .site-header .cta.small .icon { display: none; } }
.nav a[aria-current] { background: var(--navy); color: #fff; }

/* ==========================================================
   助成金:台帳型レイアウト・リング・ルート
   ========================================================== */
.subsidy-head { display: grid; gap: 28px; }
.ring-card { display: grid; justify-items: center; gap: 16px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.ring { position: relative; width: 190px; height: 190px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--pct) * 1%), var(--navy) 0); }
.ring__inner { position: absolute; inset: 18px; display: grid; place-content: center; text-align: center; background: #fff; border-radius: 50%; }
.ring__inner strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.ring__inner small { font-size: 16px; margin-left: 2px; }
.ring__inner span { margin-top: 6px; font-size: 11px; line-height: 1.5; color: var(--muted); font-weight: 700; }
.ring__legend { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.ring__legend li { display: flex; align-items: center; gap: 8px; }
.ring__dot { width: 10px; height: 10px; border-radius: 50%; }
.ring__dot--green { background: var(--green); }
.ring__dot--navy { background: var(--navy); }

.ledger { margin-top: 32px; padding: 8px 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.ledger__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label amount" "note amount"; align-items: center; gap: 2px 16px; padding: 18px 0; }
.ledger__row + .ledger__row { border-top: 1px solid var(--line); }
.ledger__label { grid-area: label; font-size: 15px; font-weight: 700; }
.ledger__note { grid-area: note; font-size: 11px; line-height: 1.7; color: var(--muted); }
.ledger__amount { grid-area: amount; font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger__amount small { font-size: 14px; margin-left: 3px; letter-spacing: 0; }
.ledger__op { display: flex; align-items: center; gap: 12px; }
.ledger__op::before, .ledger__op::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ledger__op span { padding: 2px 12px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--tint); border-radius: 999px; }
.ledger__row--total { margin: 8px -20px -8px; padding: 22px 20px; background: var(--navy); color: #fff; border-radius: 0 0 24px 24px; }
.ledger__row--total .ledger__note { color: #c7d3e6; }
.ledger__row--total .ledger__amount { color: var(--green); }
.subsidy > .wrap > .fine { margin-top: 14px; }
.subsidy-grid { display: grid; gap: 16px; margin-top: 24px; }
.scard { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.scard__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.scard h3 { margin: 8px 0 10px; font-size: 19px; line-height: 1.5; }
.scard h3 strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.scard__sum { display: grid; gap: 0; margin-top: 14px; }
.scard__sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.scard__sum dd { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.scard--pay { background: var(--navy); color: #fff; border-color: var(--navy); }
.scard--pay .scard__label, .scard--pay .fine { color: #c7d3e6; }
.scard__big { margin-top: 6px; font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--green); }
.scard__big small { font-size: 14px; margin-left: 4px; color: #fff; letter-spacing: 0; }
.scard__text { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12px; line-height: 1.9; color: #dfe6f1; }
.subsidy-notes { margin-top: 40px; }
.route { position: relative; margin: 24px 0; padding-left: 28px; }
.route::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.route > li { position: relative; padding: 0 0 26px; }
.route > li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-sizing: border-box; }
.route > li:last-child { padding-bottom: 0; }
.route__owner { display: inline-block; margin-bottom: 6px; padding: 2px 10px; font-size: 10px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.route strong { display: block; font-size: 15px; line-height: 1.6; }
.route p { margin-top: 6px; font-size: 12px; line-height: 1.9; color: var(--muted); }
@media (min-width: 600px) {
  .ledger { padding: 8px 32px; }
  .ledger__row--total { margin: 8px -32px -8px; padding: 26px 32px; }
  .subsidy-grid { grid-template-columns: 1.1fr .9fr; }
  .ring { width: 220px; height: 220px; }
}
@media (min-width: 1001px) {
  .subsidy-head { grid-template-columns: 1fr 380px; align-items: center; gap: 64px; }
  .ring-card { padding: 36px; }
  .ledger__row { padding: 22px 0; }
  .route { padding-left: 36px; }
  .route::before { left: 9px; }
  .route > li::before { left: -36px; width: 20px; height: 20px; border-width: 5px; }
  .route > li { padding-bottom: 30px; }
}
.ledger .ledger__row--total { padding: 22px 20px; }
@media (min-width: 600px) { .ledger .ledger__row--total { padding: 26px 32px; } }
@media (min-width: 1001px) {
}

/* 注意書き・注記・連絡先 */
.caution { margin-top: 20px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; }
.caution ul { display: grid; gap: 6px; }
.caution li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.8; font-weight: 700; color: var(--ink); }
.caution li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.subsidy-links { display: grid; gap: 6px; }
.subsidy-links a { font-size: 12px; font-weight: 700; }
.program-note { margin-top: 20px; }
.contact__mail a { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }


/* iPhone風のデモ枠 */
.player { max-width: 400px; margin-inline: auto; }
.phone { position: relative; padding: 10px; background: #0c0f14; border: 1px solid rgba(255, 255, 255, .22); border-radius: 44px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 2px #2a2f38; }
.phone__island { position: absolute; left: 50%; top: 18px; z-index: 3; width: 96px; height: 26px; margin-left: -48px; background: #0c0f14; border-radius: 999px; }
.chat { height: 520px; border-radius: 36px; }
.chat__head { padding: 44px 16px 10px; }
.demo__tabs { max-width: 400px; margin-inline: auto; }
@media (min-width: 1001px) {
  .promotion-layout { grid-template-columns: 1fr 440px; gap: 80px; }
  .player { padding: 18px; max-width: 440px; }
  .chat { height: 560px; }
}
@media (min-width: 1001px) { .hero h1 { font-size: clamp(36px, 3.3vw, 48px); } }

.program-after__action { margin-top: 18px; }
.program-after__action .cta { width: 100%; }
.program-after__action > span { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.system-more { grid-template-columns: 1fr; }
.system-more .card--soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.system-more .card--soon .card__icon { flex: none; }
.system-more .card--soon h3 { margin: 0; }
.system-more .card--soon p { margin: 0; flex: 1 1 100%; }
@media (min-width: 600px) {
  .program-after__action .cta { width: auto; }
  .system-more .card--soon p { flex: 1; }
}
@media (min-width: 1001px) { .program { padding-bottom: 112px; } }

/* ==========================================================
   下層ページ共通・問い合わせ・コラム
   ========================================================== */
.page-head { padding: 28px 0 8px; background: var(--paper); }
.crumb { margin-bottom: 20px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.page-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -.02em; }
.page-title .accent { color: var(--navy); }
.nav a[aria-current="true"] { background: var(--navy); color: #fff; }
.cta.light { background: #fff; color: var(--deep); border-color: rgba(6, 19, 41, .15); }
.cta.light:hover { background: #fff; color: var(--deep); }
.contact__actions { display: grid; gap: 12px; margin-top: 28px; }
.contact .contact__actions .cta { margin-top: 0; width: 100%; }
.product-card__hero { display: block; margin: -32px -24px 20px; overflow: hidden; border-radius: 20px 20px 0 0; }
.product-card__hero img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .product-card__hero:hover img { transform: scale(1.03); } }

.contact-page { padding-top: 40px; }
.contact-grid { display: grid; gap: 20px; }
.contact-card { padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.contact-card--line { background: var(--tint); border-color: transparent; }
.contact-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; color: #fff; background: var(--navy); border-radius: 14px; }
.contact-card__icon--line { background: var(--green); color: var(--deep); }
.contact-card__head h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.01em; }
.contact-card__head p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 8px; }
.form label, .form__label { font-size: 14px; font-weight: 700; }
.form__req, .form__opt { display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 10px; font-weight: 700; border-radius: 999px; vertical-align: middle; }
.form__req { color: #fff; background: var(--navy); }
.form__opt { color: var(--muted); background: var(--tint); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 31, 63, .12); background: #fff; }
.form textarea { resize: vertical; min-height: 120px; }
.form__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; font-size: 14px; font-weight: 700; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.form__note { font-size: 12px; line-height: 1.8; color: var(--muted); }
.form__submit { width: 100%; }
.form__error { font-size: 13px; font-weight: 700; color: #c0392b; }
.form input:user-invalid, .form textarea:user-invalid { border-color: #c0392b; }
.line-steps { display: grid; gap: 12px; margin-bottom: 22px; }
.line-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.line-steps li span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; font-size: 13px; font-weight: 800; color: var(--deep); background: var(--green); border-radius: 50%; }
.contact-card--line .cta { width: 100%; }
.contact-card--line .fine { margin-top: 12px; }
.contact-card--line .fine a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-card__alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(11, 31, 63, .12); }
.contact-card__alt-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.contact-card__alt a { display: inline-block; margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.contact-faq { margin-top: 48px; }
.contact-faq h2 { margin-bottom: 8px; font-size: 20px; letter-spacing: -.01em; }

.post-grid { display: grid; gap: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.post-card__img { display: block; aspect-ratio: 1672 / 941; overflow: hidden; background: #0b1f3f; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .post-card__img:hover img { transform: scale(1.04); } }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.post-card__cat { padding: 2px 10px; font-weight: 700; color: var(--navy); background: var(--tint); border-radius: 999px; }
.post-card h2 { margin: 12px 0 8px; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; }
.post-card h2 a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.post-card p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.post-card .text-link { margin-top: auto; padding-top: 12px; }
.post .page-head { padding-top: 28px; }
.post .page-title { font-size: clamp(24px, 3vw, 36px); margin-top: 14px; }
.post__hero { margin-top: 24px; }
.post__hero img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; display: block; background: #0b1f3f; border-radius: 24px; }
.post__body { max-width: 760px; padding: 40px 0 72px; }
.post__body h2 { margin: 36px 0 12px; font-size: 21px; line-height: 1.5; letter-spacing: -.01em; }
.post__body h2:first-child { margin-top: 0; }
.post__body > p { font-size: 16px; line-height: 2; color: var(--ink); }
.post__cta { margin-top: 48px; padding: 28px 24px; background: var(--tint); border-radius: 24px; }
.post__cta .section-label { margin-bottom: 10px; }
.post__cta h2 { margin: 0 0 8px; }
.post__cta p { font-size: 14px; color: var(--muted); }
.post__cta .cta { margin-top: 16px; width: 100%; }
.post__others { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post__others h2 { margin: 0 0 10px; font-size: 16px; }
.post__others ul { display: grid; gap: 6px; }
.post__others li a { display: block; padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }

@media (min-width: 600px) {
  .contact__actions { display: flex; justify-content: center; }
  .contact .contact__actions .cta { width: auto; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post__cta .cta { width: auto; }
}
@media (min-width: 1001px) {
  .page-head { padding: 48px 0 16px; }
  .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
  .contact-card { padding: 36px; }
  .contact-card--line { position: sticky; top: calc(var(--header-h) + 24px); }
  .product-card__hero { margin: -40px -40px 24px; }
  .nav { gap: 2px; }
  .nav a { padding: 0 12px; font-size: 12.5px; }
}
.cta.is-disabled { background: var(--line); color: var(--muted); cursor: default; pointer-events: none; }

/* ロゴ画像 */
.brand__img { display: block; height: 44px; width: auto; }
.site-footer__logo { display: block; height: 56px; width: auto; }
@media (min-width: 1001px) { .brand__img { height: 56px; } }
@media (max-width: 1000px) { .brand__img { height: 40px; } }
.post-card__img img { object-fit: contain; object-position: 50% 50%; }

/* コラム記事:要点・手順・参考・関連 */
.post__hero { max-width: 960px; }
.post__hero img { border-radius: 16px; }
.post__points { padding: 22px 24px; background: var(--tint); border-radius: 16px; }
.post__points h2 { margin: 0 0 10px; font-size: 16px; }
.post__points ul { display: grid; gap: 6px; }
.post__points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.8; font-weight: 700; }
.post__points li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.post__body > p.post__step { padding: 10px 16px; margin-top: 8px; background: var(--paper); border-left: 3px solid var(--navy); border-radius: 0 8px 8px 0; font-size: 15px; }
.post__body > h2 { padding-top: 8px; border-top: 1px solid var(--line); padding-top: 28px; }
.post__body .post__points h2, .post__cta h2, .post__others h2, .post__related h2, .post__refs h2 { border-top: 0; padding-top: 0; }
.post__refs { margin-top: 36px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.post__refs h2 { margin: 0 0 8px; font-size: 16px; }
.post__refs li a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; line-height: 1.8; }
.post__refs .icon { width: 16px; height: 16px; }
.post__related { margin-top: 36px; }
.post__related h2 { margin: 0 0 10px; font-size: 16px; }
.post__related ul { display: flex; flex-wrap: wrap; gap: 8px; }
.post__related li a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.post__related li a:hover { border-color: var(--navy); }
@media (min-width: 1001px) { .post__hero img { border-radius: 24px; } .post__body { padding-top: 48px; } }

/* コラム:カテゴリ・目次・本文画像・中間CTA・FAQ・ページ送り(自動生成ページ用) */
.cat-tabs { margin-bottom: 28px; }
.cat-tabs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tabs li a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.cat-tabs li a span { font-size: 11px; color: var(--muted); }
.cat-tabs li a[aria-current] { color: #fff; background: var(--navy); border-color: var(--navy); }
.cat-tabs li a[aria-current] span { color: rgba(255, 255, 255, .7); }
a.post-card__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-grid--3 { gap: 20px; }
.post__toc { margin-top: 24px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.post__toc h2 { margin: 0 0 8px; font-size: 16px; border-top: 0; padding-top: 0; }
.post__toc ol { counter-reset: toc; display: grid; gap: 4px; }
.post__toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 15px; line-height: 1.7; }
.post__toc li::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--green); padding-top: 3px; }
.post__toc li a { font-weight: 700; color: var(--navy); }
.post__toc li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post__body h3 { margin: 28px 0 8px; font-size: 17px; line-height: 1.6; }
.post__body .post__fig { margin: 20px 0 24px; }
.post__body .post__fig img { width: 100%; height: auto; border-radius: 16px; background: var(--tint); }
.post__body .post__fig figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.post__body .post__list { display: grid; gap: 8px; margin: 8px 0 20px; }
.post__body .post__list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.9; }
.post__body .post__list li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.post__body .post__steps { counter-reset: step; display: grid; gap: 8px; margin: 8px 0 20px; }
.post__body .post__steps li { counter-increment: step; position: relative; padding: 10px 16px 10px 48px; background: var(--paper); border-left: 3px solid var(--navy); border-radius: 0 8px 8px 0; font-size: 15px; line-height: 1.9; }
.post__body .post__steps li::before { content: counter(step); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 24px; height: 24px; font-size: 12px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 50%; }
.post__body .post__table { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.post__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.post__body th, .post__body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.post__body th { background: var(--tint); font-weight: 700; white-space: nowrap; }
.post__body tr:last-child td { border-bottom: 0; }
.post__body .post__quote { margin: 8px 0 20px; padding: 14px 18px; border-left: 3px solid var(--green); background: #fff; border-radius: 0 8px 8px 0; color: var(--muted); }
.post__body .post__quote p { font-size: 15px; }
.post__body > p a, .post__body li a, .post__body td a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post__mid { margin: 32px 0 8px; padding: 22px 24px; color: #fff; background: var(--navy); border-radius: 16px; }
.post__mid-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--green); }
.post__mid-heading { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.post__mid-text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .78); }
.post__mid .cta { margin-top: 14px; }
.post__faq { margin-top: 40px; }
.post__faq h2 { margin: 0 0 12px; }
.post__others .post-grid { margin: 0 0 16px; }
.post__others .post-card h2 { font-size: 16px; }
.pager { margin-top: 32px; }
.pager ol { display: flex; justify-content: center; gap: 8px; }
.pager li a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.pager li a[aria-current] { color: #fff; background: var(--navy); border-color: var(--navy); }
@media (min-width: 600px) { .post__others .post-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1001px) {
  .post-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .post__others .post-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .post__mid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
  .post__mid .cta { margin-top: 0; grid-row: 1 / 4; grid-column: 2; }
}
