/* アスタ コーポレートサイト 共通スタイル
   レイアウトの考え方：「町の相談窓口」。左寄せの大きな見出し、実際の社員写真、
   サービスごとの受付状況（受付中／受付停止中）を札のように見せる。 */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --mist: #f6fafd;
  --mist-2: #eef3f8;
  --ink: #0f1822;
  --ink-2: #44566b;
  --line: #dde7f1;
  --blue: #0071bc;
  --blue-deep: #003f78;
  --blue-soft: #e7f2fb;
  --orange: #f28a22;
  --orange-btn: #f28a22;
  --orange-btn-hover: #e07714;
  --orange-soft: #fff3e3;
  --stop: #6a7a8c;
  --stop-soft: #eceff3;
  --night: #00345f;
  --font-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 6px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid #003f78; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.45; letter-spacing: 0.03em; text-wrap: balance; }
@supports (word-break: auto-phrase) {
  h1, h2, h3, h4, .phrase, .faq summary span, .checks li, .dots li,
  .offer-inner b, .price-table th a, .svc .for, .worry p, .stat p, .report li span, .timeline span, .page-info dd { word-break: auto-phrase; }
}
ul, ol { margin: 0; padding: 0; }
.nowrap, .price, .num { white-space: nowrap; }
.num, .price { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap-narrow { max-width: calc(820px + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* 文の並び（句点ごとに1行） */
.lines { display: grid; gap: 0.35em; }
.lines + .lines { margin-top: 1em; }

/* ---------- ヘッダー ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 168px; height: auto; }
.gnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gnav > a, .gnav-group > button {
  font: 500 15px/1 var(--font-body); color: var(--ink); text-decoration: none;
  padding: 12px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer; letter-spacing: 0.04em;
}
.gnav > a:hover, .gnav-group > button:hover, .gnav > a[aria-current="page"] { background: var(--mist); color: var(--blue-deep); }
.gnav-group { position: relative; }
.gnav-group > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.gnav-menu {
  position: absolute; left: -12px; top: calc(100% + 6px); min-width: 330px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,52,95,0.12); padding: 10px; display: none;
}
.gnav-group:hover .gnav-menu, .gnav-group:focus-within .gnav-menu, .gnav-group.is-open .gnav-menu { display: grid; }
.gnav-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.5; }
.gnav-menu a:hover { background: var(--mist); }
.gnav-menu .menu-sep { border-top: 1px solid var(--line); margin: 6px 4px; }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-toggle span { top: 23px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.sp-menu { border-top: 1px solid var(--line); background: var(--paper); padding-block: 8px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.sp-menu h2 { font-size: 14px; color: var(--ink-2); margin: 16px 0 4px; letter-spacing: 0.08em; }
.sp-menu a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--mist-2); color: var(--ink); text-decoration: none; font-size: 16px; }
.sp-menu .btn { margin-top: 20px; width: 100%; }

@media (max-width: 1080px) {
  .gnav > a.gnav-sub { display: none; }
}
@media (max-width: 900px) {
  .gnav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 150px; }
  :root { --header-h: 64px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; border-radius: 8px;
  font: 700 17px/1.4 var(--font-body); letter-spacing: 0.04em; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-main { background: var(--orange-btn); color: #fff; box-shadow: none; }
.btn-main:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-main::after { content: ""; width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: rotate(45deg); }
.btn-sub { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-sub:hover { background: var(--ink); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-sm.btn-main { box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.btn-note { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.text-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.text-link:hover { text-decoration: underline; }

/* ---------- 札（受付状況） ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1 var(--font-body); padding: 6px 10px; border-radius: 999px; letter-spacing: 0.06em; white-space: nowrap; }
.tag-open { background: var(--blue-soft); color: var(--blue-deep); }
.tag-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; }
.tag-stop { background: var(--stop-soft); color: #4d5966; }
.tag-free { background: var(--orange-soft); color: #9a4703; }

/* ---------- セクション共通 ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--mist); }
.section-blue { background: var(--blue-soft); }
.eyebrow { display: block; font: 700 14px/1.4 var(--font-body); color: var(--blue); letter-spacing: 0.12em; margin-bottom: 12px; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 760px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.sec-head .lead { color: var(--ink-2); }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head-row .sec-head { margin-bottom: 0; }

/* ---------- トップのファーストビュー ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-place { font: 700 15px/1.5 var(--font-body); color: var(--blue-deep); letter-spacing: 0.06em; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 20px; }
.hero-place span + span::before { content: ""; display: inline-block; width: 1px; height: 14px; background: var(--line); margin-right: 14px; vertical-align: -2px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; line-height: 1.32; letter-spacing: 0.04em; margin-bottom: 24px; }
.hero h1 .hl { color: var(--blue); }
.hero .hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink); margin-bottom: 32px; max-width: 34em; }
.hero .btn-note { margin-top: 14px; }
.hero-photo { position: relative; }
.hero-photo { margin: 0; }
.hero-photo .frame { position: relative; margin-right: 28px; }
.hero-photo .frame::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--blue); border-radius: var(--radius); }
.hero-photo img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 30%; }
.hero-photo figcaption { position: relative; margin-top: 44px; font-size: 14px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 8px 20px 0; display: grid; gap: 2px; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 32px); }
.fact dt { font-size: 15px; color: var(--ink-2); }
.fact dd { margin: 0; font: 700 clamp(28px, 3.6vw, 42px)/1.2 var(--font-display); color: var(--ink); letter-spacing: 0.02em; }
.fact dd small { font-size: 0.45em; font-weight: 700; margin-left: 4px; color: var(--ink-2); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { max-width: 560px; }
  .hero-photo .frame { margin-right: 16px; }
  .hero-photo .frame::before { inset: 16px -16px -16px 16px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-photo figcaption { margin-top: 26px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact { grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- お悩み ---------- */
.worry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.worry { background: var(--paper); border-radius: var(--radius); padding: 28px 26px 26px; display: grid; gap: 14px; align-content: start; }
.worry svg { width: 56px; height: 56px; }
.worry p { font-weight: 700; font-size: 18px; line-height: 1.7; }
.worry-answer { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.worry-answer p { font: 700 clamp(19px, 2vw, 23px)/1.7 var(--font-display); }
@media (max-width: 860px) {
  .worry-grid { grid-template-columns: minmax(0, 1fr); }
  .worry { grid-template-columns: 48px minmax(0, 1fr); align-items: center; padding: 20px; }
  .worry svg { width: 48px; height: 48px; }
  .worry-answer { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- サービス ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px;
}
.svc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-top svg { width: 48px; height: 48px; flex: 0 0 auto; }
.svc h3 { font-size: clamp(22px, 2.3vw, 26px); font-weight: 700; }
.svc .for { font-weight: 700; color: var(--blue-deep); line-height: 1.6; }
.svc .desc { color: var(--ink-2); }
.svc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 16px; padding-top: 18px; margin-top: 6px; border-top: 1px dashed var(--line); }
.svc-price { font: 700 clamp(24px, 2.6vw, 30px)/1.2 var(--font-display); color: var(--ink); }
.svc-price small { display: block; font: 500 14px/1.4 var(--font-body); color: var(--ink-2); margin-top: 4px; }
.stop-board { margin-top: 40px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 26px 28px; display: grid; gap: 16px; }
.stop-board h3 { font-size: 19px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.stop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 28px; list-style: none; }
.stop-list li { border-bottom: 1px solid var(--mist-2); }
.stop-list a, .stop-list .static { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 2px; color: var(--ink); text-decoration: none; font-weight: 500; }
.stop-list a:hover { color: var(--blue-deep); }
.stop-board .note { color: var(--ink-2); font-size: 16px; }
@media (max-width: 800px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 24px 22px; }
  .stop-board { padding: 22px 20px; }
}

/* ---------- 実績 ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; list-style: none; }
.works-grid figure { margin: 0; display: grid; gap: 10px; }
.works-grid img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.works-grid figcaption { font-weight: 700; font-size: 16px; }
.own-products { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px 48px; align-items: center; padding: 30px; background: var(--mist); border-radius: var(--radius); }
.own-products h3 { font-size: 21px; margin-bottom: 8px; }
.own-products ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.own-products li { background: var(--paper); border-radius: 8px; padding: 14px 14px 12px; display: grid; gap: 2px; }
.own-products li b { font: 700 18px/1.4 var(--font-display); }
.own-products li span { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.works-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
@media (max-width: 860px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .own-products { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
}
@media (max-width: 520px) {
  .own-products ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- お客様の声 ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.voice { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px 30px 26px; display: grid; gap: 18px; align-content: space-between; border: 1px solid var(--line); }
.voice blockquote { margin: 0; font: 700 clamp(18px, 1.8vw, 21px)/1.75 var(--font-display); position: relative; padding-top: 34px; }
.voice blockquote::before { content: "“"; position: absolute; top: -18px; left: -4px; font: 700 72px/1 Georgia, serif; color: var(--orange); }
.voice figcaption { font-size: 15px; color: var(--ink-2); display: grid; gap: 2px; }
.voice figcaption b { color: var(--ink); font-size: 16px; }
.voice .svc-label { font-size: 14px; font-weight: 700; color: var(--blue-deep); }
@media (max-width: 800px) { .voice-grid { grid-template-columns: minmax(0, 1fr); } .voice { padding: 24px 22px; } }

/* ---------- 料金表 ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.06em; }
.price-table tbody th { font-weight: 700; font-size: 17px; }
.price-table tbody th a { color: var(--ink); text-decoration: none; }
.price-table tbody th a:hover { color: var(--blue); text-decoration: underline; }
.price-table td.p { font: 700 21px/1.3 var(--font-display); white-space: nowrap; }
.price-table td.d { color: var(--ink-2); font-size: 16px; }
.price-table tr.is-stop th, .price-table tr.is-stop td { color: var(--stop); }
.price-table .tag { margin-left: 8px; vertical-align: 2px; }
.table-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 720px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table td.p { margin-top: 6px; }
  .price-table td.d { margin-top: 2px; }
}

/* ---------- 流れ ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: var(--paper); border-radius: var(--radius); padding: 26px 24px 24px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font: 700 30px/1 var(--font-display); color: var(--blue); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.steps .when { font-size: 14px; font-weight: 700; color: var(--orange-btn); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 20px; }
  .steps li::before { grid-row: span 3; }
}

/* ---------- 代表 ---------- */
.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.person img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.person h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.person .role { color: var(--ink-2); margin-bottom: 20px; }
.person .lines { margin-bottom: 24px; }
@media (max-width: 760px) { .person { grid-template-columns: minmax(0, 1fr); } .person img { max-width: 360px; } }

/* ---------- よくある質問 ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; font-size: 17px; line-height: 1.7; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font: 700 20px/1.4 var(--font-display); color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 28px; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq .a { padding: 0 22px 22px 56px; color: var(--ink); display: grid; gap: 0.35em; }
.faq .a ul { padding-left: 1.2em; display: grid; gap: 4px; margin-top: 6px; }

/* ---------- 最後の呼びかけ ---------- */
.cta-band { background: var(--night); color: #fff; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin-bottom: 18px; }
.cta-band .lines { color: #d8e4ef; margin-bottom: 28px; }
.cta-band .btn-note { color: #c4d3e2; margin-top: 14px; }
.cta-band img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cta-band .stop-note { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 14px 16px; color: #e3ecf4; font-size: 16px; margin-bottom: 24px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta-band img { max-height: 320px; } .cta-band .btn { width: 100%; } }

/* ---------- 下層ページ ---------- */
.crumbs { font-size: 14px; color: var(--ink-2); padding-block: 16px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero .svc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font: 700 16px/1.4 var(--font-body); color: var(--blue-deep); margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 700; line-height: 1.38; margin-bottom: 22px; }
.page-hero .lines { margin-bottom: 26px; font-size: clamp(17px, 1.4vw, 18px); }
.page-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; list-style: none; }
.page-hero .chips li { background: var(--mist); border-radius: 6px; padding: 6px 12px; font-size: 15px; font-weight: 500; }
.page-hero-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-simple { padding-block: clamp(28px, 4vw, 48px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero-simple h1 { font-size: clamp(26px, 6.4vw, 44px); font-weight: 700; margin-bottom: 14px; }
.page-hero-simple .lines { color: var(--ink-2); max-width: 46em; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-photo { order: -1; }
  .page-hero-photo img { aspect-ratio: 16 / 9; }
  .page-hero .btn-row .btn { width: 100%; }
}

.notice { background: var(--stop-soft); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.notice .tag { justify-self: start; }
.notice-orange { background: var(--orange-soft); }

.overview { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin: 0; }
.overview dt, .overview dd { padding: 18px 22px; border-bottom: 1px solid var(--line); margin: 0; }
.overview dt { background: var(--mist); font-weight: 700; font-size: 16px; }
.overview dt:last-of-type, .overview dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) {
  .overview { grid-template-columns: minmax(0, 1fr); }
  .overview dt { padding: 12px 18px; border-bottom: 0; }
  .overview dd { padding: 10px 18px 18px; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: var(--paper); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.feature h3 { font-size: 20px; }
.feature p { color: var(--ink-2); }
.feature svg { width: 44px; height: 44px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.reverse > :first-child { order: 2; }
.split .shot img { aspect-ratio: auto; object-fit: contain; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.dots { list-style: none; display: grid; gap: 8px; }
.dots li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.dots li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-top: 0.8em; }

.plan-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; display: grid; gap: 10px; align-content: start; }
.plan.is-main { border: 2px solid var(--blue); }
.plan h3 { font-size: 19px; }
.plan .price { font: 700 clamp(28px, 3vw, 34px)/1.2 var(--font-display); }
.plan .price small { display: block; font: 500 14px/1.4 var(--font-body); color: var(--ink-2); margin-top: 4px; }
.plan p, .plan li { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }

.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 12px; border: 1px solid var(--line); }
.quote blockquote { margin: 0; font: 700 clamp(17px, 1.6vw, 19px)/1.8 var(--font-display); }
.quote figcaption { font-size: 15px; color: var(--ink-2); }

.page-info { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.page-info div { padding: 16px 0; display: grid; gap: 2px; }
.page-info div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.page-info dt { color: var(--ink-2); }
.page-info dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .page-info { grid-template-columns: minmax(0, 1fr); } .page-info div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

.prose { display: grid; gap: 1.2em; }
.prose h2 { font-size: clamp(21px, 2.2vw, 25px); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 4px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.info-table th { width: 30%; min-width: 120px; background: var(--mist); font-weight: 700; }
@media (max-width: 600px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 12px 14px; border-bottom: 0; }
  .info-table td { padding: 10px 14px 18px; }
}

/* 実績一覧ページ */
.work-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.work-item { display: grid; gap: 12px; align-content: start; }
.work-item img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.work-item .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.work-item .meta span { font-size: 14px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); border-radius: 4px; padding: 3px 8px; }
.work-item h3 { font-size: 21px; }
.work-item p { color: var(--ink-2); font-size: 16px; }
.plan-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 56px 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.plan-title:first-child { margin-top: 0; }
.plan-title h2 { font-size: clamp(22px, 2.4vw, 28px); }
.plan-title span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .work-list { grid-template-columns: minmax(0, 1fr); } }

/* お客様の声 個別 */
.story { display: grid; gap: 40px; }
.story section { display: grid; gap: 12px; }
.story h2 { font-size: clamp(20px, 2.2vw, 24px); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.big-quote { margin: 0; background: var(--blue-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.big-quote p { font: 700 clamp(19px, 2.2vw, 24px)/1.75 var(--font-display); }
.voice-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 15px; }

/* AI活用診断 セルフチェック */
.selfcheck { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); max-width: 760px; }
.selfcheck .progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 20px; }
.selfcheck .progress span { height: 6px; border-radius: 3px; background: var(--mist-2); }
.selfcheck .progress span.on { background: var(--blue); }
.selfcheck .qnum { font-size: 14px; font-weight: 700; color: var(--blue-deep); }
.selfcheck h3 { font-size: clamp(19px, 2vw, 22px); margin: 6px 0 18px; }
.selfcheck .opts { display: grid; gap: 10px; }
.selfcheck .opts button { text-align: left; font: 500 16px/1.6 var(--font-body); color: var(--ink); background: var(--mist); border: 2px solid transparent; border-radius: 8px; padding: 14px 16px; cursor: pointer; }
.selfcheck .opts button:hover { border-color: var(--blue); background: var(--paper); }
.selfcheck .back { margin-top: 16px; background: none; border: 0; color: var(--ink-2); font: 500 15px var(--font-body); cursor: pointer; text-decoration: underline; padding: 6px 0; }
.selfcheck .result { display: grid; gap: 14px; }
.selfcheck .result .label { font: 700 clamp(19px, 2vw, 22px)/1.6 var(--font-display); color: var(--blue-deep); }

/* LP（AI検索の点検） */
.lp-hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.lp-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.55; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,31,58,0.94) 0%, rgba(0,31,58,0.82) 48%, rgba(0,31,58,0.25) 100%); }
.lp-hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px); }
.lp-hero .svc-name { color: #ffd0a3; font-weight: 700; margin-bottom: 18px; display: block; }
.lp-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; line-height: 1.4; margin-bottom: 22px; max-width: 13em; }
.lp-hero .lines { color: #e3ecf4; margin-bottom: 30px; max-width: 34em; }
.lp-hero .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lp-hero .chips li { background: rgba(255,255,255,0.12); border-radius: 6px; padding: 6px 12px; font-size: 15px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; border: 1px solid var(--line); align-content: start; }
.stat b { font: 700 clamp(34px, 4vw, 46px)/1.1 var(--font-display); color: var(--blue-deep); }
.stat p { font-weight: 700; }
.stat small { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: minmax(0, 1fr); } }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.timeline li { padding: 16px 16px 0 0; display: grid; gap: 2px; }
.timeline li b { font-size: 15px; color: var(--ink-2); }
.timeline li span { font-weight: 700; }
@media (max-width: 640px) { .timeline { grid-template-columns: minmax(0, 1fr); } .timeline li { padding: 12px 0; border-bottom: 1px solid var(--line); } }
.shot { margin: 0; display: grid; gap: 10px; }
.shot img { border-radius: 8px; border: 1px solid var(--line); width: 100%; }
.shot figcaption { font-size: 14px; color: var(--ink-2); }
.cause-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cause { background: var(--paper); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.cause img { width: 100%; max-width: 220px; justify-self: center; }
.cause .k { font: 700 14px/1 var(--font-body); color: var(--orange-btn); letter-spacing: 0.1em; }
.cause h3 { font-size: 19px; }
.cause p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .cause-grid { grid-template-columns: minmax(0, 1fr); } .cause { grid-template-columns: 110px minmax(0, 1fr); column-gap: 16px; } .cause img { grid-row: span 3; max-width: 110px; } }
.report { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.report-head { background: var(--ink); color: #fff; padding: 14px 20px; font-weight: 700; }
.report ol { list-style: none; }
.report li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.report li:last-child { border-bottom: 0; }
.report li .n { font: 700 20px/1 var(--font-display); color: var(--blue); }
.report li .who { font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.who-a { background: var(--orange-soft); color: #9a4703; }
.who-b { background: var(--blue-soft); color: var(--blue-deep); }
.who-c { background: var(--stop-soft); color: #4d5966; }
@media (max-width: 560px) { .report li { grid-template-columns: 28px minmax(0, 1fr); } .report li .who { grid-column: 2; justify-self: start; } }
.flow-photo { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.flow-photo li { display: grid; gap: 8px; align-content: start; }
.flow-photo img { border-radius: 8px; aspect-ratio: 6 / 5; object-fit: cover; width: 100%; }
.flow-photo .when { font-size: 14px; font-weight: 700; color: var(--orange-btn); }
.flow-photo h3 { font-size: 18px; }
.flow-photo h3::before { counter-increment: step; content: counter(step) ". "; color: var(--blue); }
.flow-photo p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .flow-photo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flow-photo { grid-template-columns: minmax(0, 1fr); } .flow-photo li { grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; } .flow-photo img { grid-row: span 4; } }

/* ---------- フッター ---------- */
.offer { background: var(--orange-soft); }
.offer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding-block: 32px; }
.offer-inner b { font: 700 19px/1.6 var(--font-display); display: block; }
.offer-inner p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .offer-inner { grid-template-columns: minmax(0, 1fr); } .offer-inner .btn { width: 100%; } }
.site-footer { background: #001f3a; color: #c9d6e3; font-size: 15px; padding-block: 56px 32px; }
.site-footer a { color: #e8f0f7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { width: 170px; margin-bottom: 16px; }
.foot-grid h2 { font: 700 14px/1.4 var(--font-body); color: #8fa6bc; letter-spacing: 0.1em; margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid .tag { font-size: 11px; padding: 3px 7px; margin-left: 6px; background: rgba(255,255,255,0.1); color: #b8c7d6; }
.foot-company { display: grid; gap: 4px; line-height: 1.8; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: #8fa6bc; }
.foot-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* スマホ下部の固定ボタン */
.sp-cta { display: none; }
@media (max-width: 900px) {
  .sp-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,0.97); border-top: 1px solid var(--line);
  }
  .sp-cta .btn { flex: 1 1 auto; min-height: 52px; padding: 10px 14px; font-size: 16px; }
  .sp-cta .btn-sub { flex: 0 0 auto; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== 第2版：青い大見出し・用件から選ぶ入口・イラスト ===== */
.hero { background: var(--blue); color: #fff; padding-bottom: clamp(88px, 10vw, 128px); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: #ffd0a3; }
.hero-place { color: #d5e9f8; }
.hero-place span + span::before { background: rgba(255,255,255,0.35); }
.hero .hero-lead { color: #fff; }
.hero .btn-note { color: #d5e9f8; }
.hero .btn-main { box-shadow: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-ghost:hover { background: #fff; color: var(--blue-deep); }
.hero-photo .frame::before { background: rgba(255,255,255,0.16); }
.hero-photo figcaption { color: #d5e9f8; }
.hero .facts { border-color: rgba(255,255,255,0.28); }
.hero .fact + .fact { border-color: rgba(255,255,255,0.28); }
.hero .fact dt { color: #d5e9f8; }
.hero .fact dd, .hero .fact dd small { color: #fff; }
.entry { margin-top: clamp(-72px, -6vw, -56px); position: relative; z-index: 2; padding-bottom: clamp(40px, 5vw, 64px); }
.entry-title { font: 700 15px/1.4 var(--font-body); color: #fff; letter-spacing: 0.1em; margin-bottom: 12px; }
.entry-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.entry-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 16px 16px 16px 12px; text-decoration: none; color: var(--ink); box-shadow: 0 14px 34px rgba(0,31,58,0.14); border: 2px solid transparent; transition: border-color .15s, transform .15s; height: 100%; }
.entry-list a:hover { border-color: var(--orange); transform: translateY(-2px); }
.entry-list img { grid-row: span 3; width: 72px; height: 72px; object-fit: contain; }
.entry-list .q { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.entry-list b { font: 700 17px/1.45 var(--font-display); }
.entry-list .price { font: 700 15px/1.4 var(--font-body); color: var(--orange-btn); }
@media (max-width: 1000px) { .entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .entry-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .entry-list a:hover { transform: none; } }
.worry img { width: 100%; max-width: 220px; aspect-ratio: 1 / 1; object-fit: contain; justify-self: center; }
@media (max-width: 860px) { .worry { grid-template-columns: 96px minmax(0, 1fr); } .worry img { width: 96px; } }
.svc-top img { width: 132px; height: 132px; object-fit: contain; margin: -8px 0 -4px -10px; }
.svc-top { align-items: start; }
.steps .step-img { width: 100%; max-width: 200px; aspect-ratio: 1 / 1; object-fit: contain; justify-self: center; order: -1; }
@media (max-width: 860px) {
  .steps.has-img li { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .steps.has-img li::before { display: none; }
  .steps.has-img .step-img { grid-row: span 3; width: 96px; align-self: start; }
}
.ill { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: contain; justify-self: center; margin-inline: auto; }
.split img.ill { aspect-ratio: 1 / 1; object-fit: contain; border-radius: 0; max-width: 420px; }
.feature img { width: 120px; height: 120px; object-fit: contain; margin: -10px 0 -6px -12px; }

@media (min-width: 1001px) {
  .entry-list a { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding: 18px 20px 18px; align-content: start; gap: 2px; }
  .entry-list img { grid-row: auto; width: 76px; height: 76px; margin: -6px 0 6px -6px; }
}
.svc-top img { width: 150px; height: 150px; }

/* ===== 第3版：プロジェクト定義（規模感・熱量設計）に合わせた部品 ===== */
.topbar { background: var(--night); color: #c3d3e2; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 7px; }
.topbar p { letter-spacing: 0.06em; }
.topbar .sep { display: inline-block; width: 1px; height: 12px; background: rgba(255,255,255,0.3); margin: 0 12px; vertical-align: -1px; }
@media (max-width: 640px) { .topbar-inner p:first-child { display: none; } .topbar-inner { justify-content: center; } }
.h-xl { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.45; margin-bottom: 20px; }
.h-lg { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 18px; }
.sub-h { font-size: clamp(19px, 2vw, 22px); margin: 56px 0 20px; }
.ph { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.eyebrow-w { font: 700 14px/1.4 var(--font-body); color: #ffd0a3; letter-spacing: 0.14em; margin-bottom: 14px; }

/* ファーストビュー */
.mv { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.mv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.mv::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,31,58,0.93) 0%, rgba(0,31,58,0.82) 42%, rgba(0,31,58,0.35) 72%, rgba(0,31,58,0.15) 100%); }
.mv-inner { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.mv-eyebrow { font: 700 15px/1.5 var(--font-body); color: #c0d6eb; letter-spacing: 0.08em; margin-bottom: 20px; }
.mv h1 { color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.28; letter-spacing: 0.04em; margin-bottom: 28px; }
.mv-lead { max-width: 33em; font-size: clamp(17px, 1.5vw, 19px); color: #e8f0f7; margin-bottom: 34px; }
.mv-lead p:first-child { font-weight: 700; color: #fff; }
.mv-note { margin-top: 14px; font-size: 15px; color: #c3d3e2; }
.mv .btn-main { box-shadow: none; }
.mv-proof { position: relative; z-index: 2; background: rgba(0,31,58,0.72); border-top: 1px solid rgba(255,255,255,0.14); }
.mv-proof dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mv-proof dl > div { padding: 20px 16px 18px 0; display: grid; gap: 2px; }
.mv-proof dl > div + div { border-left: 1px solid rgba(255,255,255,0.16); padding-left: clamp(14px, 2.4vw, 28px); }
.mv-proof dt { font-size: 14px; color: #a9bdd0; }
.mv-proof dd { margin: 0; font: 700 15px/1.3 var(--font-body); color: #fff; }
.mv-proof dd .num { font: 700 clamp(28px, 3.2vw, 40px)/1.15 var(--font-display); margin-right: 4px; }
@media (max-width: 760px) {
  .mv::before { background: linear-gradient(180deg, rgba(0,31,58,0.80) 0%, rgba(0,31,58,0.92) 60%); }
  .mv-proof dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-proof dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .mv-proof dl > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.16); }
  .mv .btn-row .btn { width: 100%; }
}

/* 見えない人件費の計算 */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.cost-photo { margin: 28px 0 0; }
.cost-photo img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.calc { background: var(--night); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); }
.calc-title { font: 700 18px/1.5 var(--font-display); margin-bottom: 8px; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: #c9d8e6; margin-top: 10px; }
.calc label b { font: 700 22px/1 var(--font-display); color: #fff; white-space: nowrap; }
.calc input[type=range] { width: 100%; accent-color: var(--orange); height: 28px; cursor: pointer; }
.calc-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.18); display: grid; gap: 10px; }
.calc-result p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-result .k { color: #c9d8e6; font-size: 16px; }
.calc-result .v { font: 700 30px/1.1 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-result .v.big { font-size: clamp(38px, 4.4vw, 52px); color: #ffd0a3; }
.calc-result small { font-size: 16px; margin-left: 4px; font-weight: 700; }
.calc-sub { color: #e8f0f7; font-weight: 700; }
.calc-note { font-size: 14px; color: #9fb4c8; margin-top: 6px; }
@media (max-width: 900px) { .cost-grid { grid-template-columns: minmax(0, 1fr); } .calc { position: static; } }

/* 失うもの */
.section-night { background: var(--night); color: #e3ecf4; }
.section-night h2, .section-night h3 { color: #fff; }
.section-night .eyebrow { color: #ffd0a3; }
.section-night .sec-head .lead { color: #c9d8e6; }
.loss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,0.18); }
.loss { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.loss + .loss { border-left: 1px solid rgba(255,255,255,0.18); padding-left: 28px; }
.loss-k { font: 700 14px/1.4 var(--font-body); color: #ffd0a3; letter-spacing: 0.08em; }
.loss h3 { font-size: clamp(19px, 1.9vw, 22px); }
.loss p:last-child { color: #c9d8e6; }
@media (max-width: 860px) { .loss-grid { grid-template-columns: minmax(0, 1fr); } .loss, .loss + .loss { border-left: 0; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.18); } }

/* 実績 */
.proof-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; }
.result { margin: 0; background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); }
.result-num { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font: 700 clamp(36px, 5vw, 60px)/1.1 var(--font-display); color: var(--stop); }
.result-num .to { color: var(--blue); }
.result-num .arrow { width: 44px; height: 3px; background: var(--orange); position: relative; }
.result-num .arrow::after { content: ""; position: absolute; right: -2px; top: -6px; width: 12px; height: 12px; border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: rotate(45deg); }
.result-k { font-weight: 700; font-size: 18px; }
.result blockquote { margin: 6px 0 0; font: 700 clamp(17px, 1.7vw, 20px)/1.8 var(--font-display); }
.result figcaption { color: var(--ink-2); font-size: 15px; display: grid; gap: 8px; }
.voice-stack { display: grid; gap: 12px; align-content: start; }
.voice-mini { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); display: grid; gap: 6px; }
.voice-mini blockquote { margin: 0; font: 700 16px/1.75 var(--font-display); }
.voice-mini figcaption { font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .proof-top { grid-template-columns: minmax(0, 1fr); } }

/* サービス（失っているものから選ぶ） */
.svc2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc2 { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.svc2 img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.svc2-body { padding: 24px 28px 26px; display: grid; gap: 10px; grid-template-rows: auto auto 1fr auto; }
.svc2-loss { font: 700 14px/1.5 var(--font-body); color: var(--orange-btn); letter-spacing: 0.04em; }
.svc2 h3 { font-size: clamp(22px, 2.3vw, 26px); }
.svc2 p { color: var(--ink-2); }
.svc2-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); margin-top: 6px; }
@media (max-width: 800px) { .svc2-grid { grid-template-columns: minmax(0, 1fr); } .svc2-body { padding: 20px 20px 22px; } }

/* 担当する会社 */
.who { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.who-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 30%; }
.who .lines { margin-bottom: 22px; }
@media (max-width: 800px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* やらない理由をなくす */
.reason-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.reason-grid li { background: var(--paper); border-radius: var(--radius); padding: 20px 18px; display: grid; gap: 6px; align-content: start; }
.reason-grid b { font: 700 18px/1.4 var(--font-display); }
.reason-grid span { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1000px) { .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .reason-grid { grid-template-columns: minmax(0, 1fr); } }

/* 最後の呼びかけ */
.final { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,31,58,0.72); }
.final-inner { position: relative; z-index: 2; padding-block: clamp(80px, 11vw, 150px); max-width: calc(860px + 40px); }
.final h2 { color: #fff; font-size: clamp(32px, 5vw, 60px); font-weight: 700; line-height: 1.35; margin-bottom: 24px; }
.final .lines { color: #e8f0f7; font-size: clamp(17px, 1.6vw, 19px); margin-bottom: 34px; }
.final .lines p:first-child { color: #ffd0a3; font-weight: 700; }
@media (max-width: 560px) { .final .btn-row .btn { width: 100%; } }
.calc-result p.calc-sub { display: block; }
@supports (word-break: auto-phrase) { .mv-proof dt, .mv-eyebrow { word-break: auto-phrase; } }

/* ===== 第4版：レビュー指摘の反映 ===== */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.section-night :focus-visible, .mv :focus-visible, .lp-hero :focus-visible, .final :focus-visible, .calc :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .topbar :focus-visible { outline-color: #ffd0a3; box-shadow: none; }
.btn { border-radius: 6px; }
.btn-main, .btn-sm.btn-main, .hero .btn-main, .mv .btn-main { box-shadow: none; }
.gnav-group:focus-within .gnav-menu { display: none; }
.gnav-group:hover .gnav-menu, .gnav-group.is-open .gnav-menu { display: grid; }
.sp-menu-h { font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 16px 0 4px; letter-spacing: 0.08em; }
h1, h2 { font-feature-settings: "palt" 1; letter-spacing: 0.02em; }
.section-blue { background: var(--mist); }

/* 下層ページの最初の画面を、トップと同じ濃紺に */
.crumbs { background: var(--night); color: #a9bdd0; padding-top: 14px; padding-bottom: 0; max-width: none; padding-left: max(20px, calc((100% - var(--wrap)) / 2)); padding-right: max(20px, calc((100% - var(--wrap)) / 2)); }
.crumbs a { color: #c9d8e6; }
.crumbs li + li::before { color: #5d7389; }
.page-hero { background: var(--night); color: #e8f0f7; }
.page-hero h1 { color: #fff; }
.page-hero .svc-name { color: #c0d6eb; }
.page-hero .lines { color: #e3ecf4; }
.page-hero .btn-note { color: #c3d3e2; }
.page-hero .btn-sub { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.page-hero .btn-sub:hover { background: #fff; color: var(--blue-deep); }
.page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
.page-hero-photo img { aspect-ratio: 3 / 2; object-position: 60% 25%; filter: saturate(0.9) brightness(0.96); }
.chips-line { color: #c3d3e2; font-size: 15px; margin-bottom: 26px; }
.lp-hero .chips-line { margin: 20px 0 0; }
.hero-stop { background: rgba(255,255,255,0.1); border-radius: 6px; padding: 14px 16px; margin-bottom: 22px; display: grid; gap: 6px; font-size: 15px; color: #e8f0f7; }
.hero-stop .tag { justify-self: start; }
.hero-stop a { color: #ffd0a3; }
.page-hero-simple { background: var(--night); border-bottom: 0; }
.page-hero-simple h1 { color: #fff; }
.page-hero-simple .lines, .page-hero-simple .voice-meta, .page-hero-simple p { color: #c9d8e6; }
.page-hero-simple .voice-meta a { color: #ffd0a3; }
.page-hero-simple .eyebrow { color: #ffd0a3; }

/* 最後の呼びかけ（写真なし） */
.cta-one { padding-block: clamp(56px, 8vw, 96px); max-width: calc(860px + 40px); }
.cta-band .stop-note { margin-bottom: 24px; }

/* 箱を減らす */
.steps li { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 20px 4px 4px 0; }
.section-night .steps li { border-top-color: rgba(255,255,255,0.4); }
.feature { background: transparent; border: 0; padding: 4px 0; }
.stat { background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 4px 0 4px 20px; }
@media (max-width: 860px) { .steps li { padding: 16px 0 6px; } }

/* AI検索の点検 */
.report li { grid-template-columns: minmax(0, 1fr) auto; }
.who-tag { font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 560px) { .report li { grid-template-columns: minmax(0, 1fr); } .report li .who-tag { justify-self: start; } }
@media (max-width: 640px) { .cause { grid-template-columns: minmax(0, 1fr); } .cause img { grid-row: auto; max-width: 160px; } }

/* トップの追加部品 */
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; }
.calc-row label { font-size: 16px; color: #c9d8e6; margin: 0; }
.calc-row output { font: 700 22px/1 var(--font-display); color: #fff; white-space: nowrap; }
.calc-cut { color: #ffd0a3 !important; }
.calc-btn { margin-top: 14px; width: 100%; }
.stop-line { margin-top: 28px; color: var(--ink-2); font-size: 16px; }
.stop-line a { font-weight: 700; margin-left: 6px; }
.who-photo { margin: 0; }
.who-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.voice-mini.sys { background: var(--night); border-color: var(--night); }
.voice-mini.sys blockquote, .voice-mini.sys p { color: #fff; }
.voice-mini.sys figcaption { color: #a9bdd0; }
.sys-k { font: 700 14px/1.4 var(--font-body); color: #ffd0a3 !important; }
@media (max-width: 760px) {
  .mv::before { background: linear-gradient(180deg, rgba(0,31,58,0.45) 0%, rgba(0,31,58,0.9) 45%, rgba(0,31,58,0.95) 100%); }
  .mv-bg { height: 46%; object-position: 50% 30%; }
  .mv-inner { padding-top: 150px; }
}
/* スマホのフッターは短く */
@media (max-width: 640px) {
  .foot-grid > div:nth-child(2), .foot-grid > div:nth-child(3) { display: none; }
}
.site-footer .tag { font-size: 14px; }
.page-hero h1 { font-size: clamp(25px, 6.6vw, 50px); }
.page-hero h1 { font-size: clamp(25px, 5.2vw, 50px); } @media (max-width: 420px) { .page-hero h1 { font-size: 24px; } }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero h1 { font-size: clamp(24px, 6.2vw, 40px); } }

/* 第6版：失うものの段に、オフィスの写真を背景として敷く */
.loss-sec { position: relative; overflow: hidden; }
.loss-sec .loss-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.loss-sec::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,31,58,0.66) 0%, rgba(0,31,58,0.9) 50%, rgba(0,31,58,0.96) 100%); }
.loss-sec > .wrap { position: relative; z-index: 2; }

/* 第7版：メインビジュアルは今の astha.jp の画像（明るい背景）を使う */
.mv-light { background: #f4f8fc; color: var(--ink); }
.mv-light::before { display: none; }
.mv-light .mv-bg { object-position: 100% 50%; }
.mv-light h1 { color: var(--ink); }
.mv-light .mv-eyebrow { color: var(--blue-deep); }
.mv-light .mv-lead { color: var(--ink); }
.mv-light .mv-lead p:first-child { color: var(--ink); }
.mv-light .mv-note { color: var(--ink-2); }
.mv-light .btn-ghost { color: var(--ink); border-color: var(--ink); }
.mv-light .btn-ghost:hover { background: var(--ink); color: #fff; }
.mv-light :focus-visible { outline-color: #003f78; box-shadow: 0 0 0 6px #fff; }
.mv-light .mv-inner { max-width: calc(var(--wrap) + 40px); }
.mv-light .mv-inner > * { max-width: 560px; }
.mv-light .mv-proof { background: var(--night); }
.mv-light { background: #f7fafd; }
.mv-light .mv-bg { left: auto; right: 0; width: 72%; object-fit: cover; object-position: 100% 50%; }
.mv-light .mv-inner > * { max-width: 520px; }
@media (min-width: 1500px) { .mv-light .mv-bg { width: 64%; } }
@media (max-width: 1000px) {
  .mv-light .mv-bg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-position: 85% 50%; }
  .mv-light .mv-inner { padding-top: 28px; }
  .mv-light .mv-inner > * { max-width: none; }
}
.final::before { background: linear-gradient(90deg, rgba(0,31,58,0.9) 0%, rgba(0,31,58,0.78) 55%, rgba(0,31,58,0.45) 100%); }
.mv-light h1 { font-size: clamp(36px, 4.6vw, 66px); max-width: 680px !important; }
.mv-light::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 72%; z-index: 1; background: linear-gradient(90deg, #f7fafd 0%, rgba(247,250,253,0.85) 22%, rgba(247,250,253,0) 48%); pointer-events: none; }
@media (min-width: 1500px) { .mv-light::after { width: 64%; } }
@media (max-width: 1000px) { .mv-light::after { display: none; } }
.mv-light .mv-inner > .btn-row { max-width: 680px; }

/* 確認用ページ（お問い合わせ・予約・資料・ブログの代わり） */
.mock-note { background: var(--orange-soft); border-radius: 6px; padding: 14px 16px; font-size: 15px; color: #6b3a06; margin-bottom: 28px; }
.form { display: grid; gap: 20px; max-width: 720px; }
.form .field { display: grid; gap: 8px; }
.form label { font-weight: 700; font-size: 16px; }
.form label .req { font-size: 14px; margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: var(--blue-deep); color: #fff; font-weight: 700; }
.form input, .form select, .form textarea { font: 400 16px/1.6 var(--font-body); color: var(--ink); background: #fff; border: 1px solid #b9c9d9; border-radius: 6px; padding: 12px 14px; width: 100%; }
.form textarea { min-height: 160px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid #003f78; outline-offset: 1px; }
.form .hint { font-size: 14px; color: var(--ink-2); }
.form-done { background: var(--blue-soft); border-radius: 6px; padding: 18px 20px; font-weight: 700; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.book { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; display: grid; gap: 12px; align-content: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.book h2 { font-size: 22px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots button { font: 500 15px var(--font-body); padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--mist); cursor: pointer; color: var(--ink); }
.slots button[aria-pressed="true"] { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
@media (max-width: 800px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }

/* 見出しは <wbr> の位置でだけ折り返す（どうしても入らないときは任意の位置で折り返す） */
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* 数字より単位を小さく */
.result-num small { font-size: 0.42em; font-weight: 700; margin-left: 2px; }
/* 会社概要の写真スクロール（リニューアル前と同じ動き） */
.carousel { overflow: hidden; width: 100%; padding: 24px 0; background: var(--paper); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); }
.carousel-track { display: flex; gap: 14px; width: max-content; animation: carousel-scroll 60s linear infinite; }
.carousel-item { flex: none; width: 300px; height: 200px; margin: 0; overflow: hidden; border-radius: 6px; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes carousel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carousel-track { animation: none; } }
@media (max-width: 760px) { .carousel-item { width: 220px; height: 148px; } }
.stat b small { font-size: 0.5em; font-weight: 700; margin: 0 2px; }

/* image2.5 で作ったアイコン（白い背景は重ねて消す） */
img.icon { width: 88px; height: 88px; mix-blend-mode: multiply; margin-left: -6px; }
.feature img.icon { margin-bottom: 2px; }

/* 改善を表す矢印（image2.5 で作成） */
.result-num .arrow-img { width: clamp(72px, 9vw, 120px); height: auto; mix-blend-mode: multiply; }

.result-img { width: 100%; max-width: 520px; height: auto; mix-blend-mode: multiply; margin: -8px 0 0 -10px; }

/* 作ってきた業務システム（画面＋手作業との比較） */
.sys-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sys-cards a { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.sys-cards a:hover { border-color: var(--blue); }
.sys-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.sys-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.sys-who { font-size: 14px; font-weight: 700; color: var(--blue-deep); }
.sys-body h4 { font: 700 22px/1.3 var(--font-display); margin: 0; }
.sys-before, .sys-after { font-size: 15px; line-height: 1.7; display: grid; gap: 2px; }
.sys-before { color: var(--ink-2); }
.sys-after { color: var(--ink); font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line); }
.sys-before span, .sys-after span { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.sys-before span { color: var(--stop); }
.sys-after span { color: var(--orange-btn); }
@media (max-width: 900px) { .sys-cards { grid-template-columns: minmax(0, 1fr); } .sys-cards a { grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: none; } .sys-cards img { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); } }
@media (max-width: 520px) { .sys-cards a { grid-template-columns: minmax(0, 1fr); } .sys-cards img { aspect-ratio: 16 / 10; height: auto; border-right: 0; border-bottom: 1px solid var(--line); } }

.gnav-menu-sm { min-width: 220px; }

/* 図解（image2.5 で作成） */
.diagram { display: block; width: 100%; max-width: 980px; height: auto; mix-blend-mode: multiply; margin: 8px auto 28px; }
.cost-photo .diagram { margin: 8px 0 0; }
.stack { display: grid; gap: 8px; }
.cost-diagram { margin: 48px auto 0; max-width: 1040px; }

/* メインビジュアル：見込み客の悩み */
.mv-pains { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: -12px 0 30px; max-width: 640px !important; }
.mv-pains li { font-size: 15px; font-weight: 700; color: var(--blue-deep); background: rgba(255,255,255,0.88); border: 1px solid #c0d6eb; border-radius: 999px; padding: 6px 14px 6px 32px; position: relative; }
.mv-pains li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat; }

/* お客様の声の写真 */
.voice-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin-bottom: 6px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.result .voice-av, .voice-mini .voice-av { width: 48px; height: 48px; float: left; margin: 0 12px 4px 0; }
.voice-hero { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; align-items: center; }
.voice-hero-img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 4px solid rgba(255,255,255,0.9); }
@media (max-width: 600px) { .voice-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; } .voice-hero-img { width: 104px; height: 104px; } }
.voice .voice-av { width: 72px; height: 72px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 4px 0 26px; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); }
.hero-facts > div { padding: 12px 20px 10px 0; margin-right: 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { font-size: 14px; color: #a9bdd0; }
.hero-facts dd { margin: 0; color: #fff; font-weight: 700; }
.hero-facts .num { font: 700 clamp(24px, 2.6vw, 32px)/1.2 var(--font-display); margin-right: 3px; }
@media (min-width: 901px) { .page-hero h1 { font-size: clamp(30px, 3.4vw, 44px); } }

/* 会社概要（第23版） */
.company-hero .wrap { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 72px); max-width: calc(980px + 40px); margin-left: max(0px, calc((100% - var(--wrap) - 40px) / 2)); }
.company-hero h1 { font-size: clamp(26px, 3.6vw, 46px); }
.company-hero .lines { max-width: 40em; }
.origin { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.origin img { border-radius: 6px; border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.origin-k { font: 700 15px/1.5 var(--font-body); color: var(--blue-deep); margin-bottom: 10px; }
.origin-quote { margin-top: 22px; }
.origin-after { margin-top: 32px; max-width: 46em; color: var(--ink-2); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 24px 24px 22px; display: grid; align-content: start; gap: 14px; }
.case-k { font: 700 19px/1.5 var(--font-display); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.case-k span { font: 700 14px/1 var(--font-body); color: var(--blue-deep); background: var(--blue-soft); border-radius: 4px; padding: 5px 8px; }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dt { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.case dd { margin: 2px 0 0; font-size: 16px; line-height: 1.75; }
.case-fee { padding-top: 12px; border-top: 1px dashed var(--line); }
.case-fee dd { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .origin, .case-grid { grid-template-columns: minmax(0, 1fr); } }

/* サービス・実績のドロップダウン：ボタンとメニューの間の隙間でも閉じないようにする */
.gnav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gnav-group::after { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 10px; }

/* 第25版：アイコンなしの特長ブロック、ページ情報は小さな1行に */
.feature { border-top: 2px solid var(--ink); padding-top: 18px; gap: 8px; }
.feature h3 { font-size: 19px; }
.section-night .feature { border-top-color: rgba(255,255,255,0.4); }
.page-meta { font-size: 14px; color: var(--ink-2); margin: 0; }
.quote .voice-av { width: 48px; height: 48px; display: inline-block; vertical-align: middle; margin: 0 10px 0 0; }
.quote figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }

/* 第26版：特長ブロックは白いカード＋短い青の線で見出しを立てる */
.feature { background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 6px; padding: 26px 26px 24px; gap: 10px; position: relative; }
.feature::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 6px; }
.feature h3 { font-size: 20px; line-height: 1.5; }
.feature p, .feature li { font-size: 16px; color: var(--ink-2); }
.section-tint .feature, .section-blue .feature { border-color: transparent; }

/* ページ情報（小さな1行を整える） */
.page-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.page-meta > div { display: flex; gap: 8px; align-items: baseline; padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--line); }
.page-meta > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.page-meta dt { font-weight: 700; color: var(--ink-2); }
.page-meta dd { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .page-meta { flex-direction: column; } .page-meta > div { border-right: 0; margin-right: 0; padding-right: 0; } }
/* ロゴを大きく */
.brand img { width: 230px; }
:root { --header-h: 80px; }
@media (max-width: 900px) { .brand img { width: 190px; } :root { --header-h: 68px; } }
@media (max-width: 400px) { .brand img { width: 170px; } }

/* 第28版：50人評価の反映 */
.sp-cta[hidden] { display: none !important; }
.svc-price, .plan .price, .price-table td.p { white-space: nowrap; }
.mv-quick { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 560px; }
.mv-quick a { font-weight: 700; }
.case-mini { background: var(--paper); }
.case-mini figcaption a { color: var(--blue); }
.selfcheck h3 { line-break: strict; text-wrap: balance; }
.reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 860px) { .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 520px) { .reason-grid { grid-template-columns: minmax(0, 1fr); } }
.case-mini .sys-k { color: var(--orange-btn) !important; }
.after-note { margin-top: 28px; padding: 18px 22px; background: var(--blue-soft); border-radius: 6px; font-weight: 700; max-width: 46em; }

/* v30 */
.hero-sub-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.hero-sub-note a { color: var(--blue-deep); text-decoration: underline; }
.calc-btn { flex-wrap: wrap; justify-content: center; text-align: center; }
.form-lead { margin-bottom: 8px; color: var(--ink-2); }
.page-hero .hero-sub-note, .mv .hero-sub-note { color: rgba(255,255,255,0.86); }
.page-hero .hero-sub-note a { color: #fff; }

/* v33 メインビジュアル：説明文は1文1行、悩みバッジ、返信の目安 */
@media (min-width: 1180px) {
  .mv-light .mv-inner > .mv-lead { max-width: none; }
  .mv-light .mv-lead p { white-space: nowrap; }
  .mv-light::after { background: linear-gradient(90deg, #f7fafd 0%, rgba(247,250,253,0.94) 30%, rgba(247,250,253,0.6) 46%, rgba(247,250,253,0) 62%); }
}
.mv-pains2 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: -6px 0 32px; padding: 0; }
.mv-light .mv-inner > .mv-pains2 { max-width: 700px; }
.mv-pains2 li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #d7e3ef; border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(0, 52, 95, 0.07); }
.mv-pains2 img { width: 52px; height: 52px; flex: none; }
.mv-pains2 span { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--night); word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .mv-pains2 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mv-pains2 li { padding: 10px 14px; }
  .mv-pains2 img { width: 44px; height: 44px; }
}
.mv-assure { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin: 26px 0 0; background: #fff; border: 1px solid #d7e3ef; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 52, 95, 0.07); }
.mv-light .mv-inner > .mv-assure { max-width: 700px; }
.mv-assure > div { padding: 16px 20px; }
.mv-assure > div + div { border-left: 1px solid #e2eaf2; }
.mv-assure dt { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 4px; }
.mv-assure dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.mv-assure dd b { color: var(--night); }
.mv-assure a { font-weight: 700; color: var(--blue-deep); }
@media (max-width: 760px) {
  .mv-assure { grid-template-columns: minmax(0, 1fr); }
  .mv-assure > div + div { border-left: 0; border-top: 1px solid #e2eaf2; }
}
.mv-light .mv-inner > .mv-pains2, .mv-light .mv-inner > .mv-assure { max-width: 840px; }
.mv-pains2 span { word-break: normal; overflow-wrap: normal; }
.mv-assure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .mv-pains2 span br, .mv-assure dd br { display: none; } }
@media (min-width: 761px) and (max-width: 1000px) { .mv-pains2 li { flex-direction: column; align-items: flex-start; } }
@media (max-width: 760px) {
  .mv-assure { grid-template-columns: minmax(0, 1fr); }
  .mv-assure .nowrap { white-space: normal; }
}
.mv-lead p { text-wrap: pretty; }
@supports (word-break: auto-phrase) { .mv-lead p { word-break: auto-phrase; } }
.mv-lead p { word-break: keep-all; overflow-wrap: anywhere; }

/* v34 記章（エンブレム）・流れの図・地図 */
img.em { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.reason-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px; }
.reason-grid li > div { display: grid; gap: 6px; }
.feature.has-em::before { display: none; }
.feature.has-em img.em { width: 64px; height: 64px; margin: 0 0 6px; }
.plan img.em { width: 52px; height: 52px; margin-bottom: 4px; }
.loss img.em { width: 56px; height: 56px; margin-bottom: 14px; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
.map-img { width: 100%; height: auto; border-radius: var(--radius); background: #f4f8fc; }
@media (max-width: 520px) { img.em { width: 48px; height: 48px; } .feature.has-em img.em { width: 56px; height: 56px; } }
.split img.map-img { aspect-ratio: auto; object-fit: contain; }

/* v35 受付停止中の料金は、開いたときだけ見せる */
.stop-prices { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 18px; }
.stop-prices summary { cursor: pointer; font-weight: 700; color: var(--ink-2); font-size: 16px; }
.stop-prices[open] summary { margin-bottom: 16px; }
.hero-sub-note a { font-weight: 700; }
.plan-grid[style*="--n:1"] { max-width: 620px; }

/* v36 下層ページのメインビジュアル：画像を幅いっぱいに敷き、左の青へ自然につなぐ */
.page-hero:has(.page-hero-photo) { position: relative; overflow: hidden; isolation: isolate; }
.page-hero-photo { position: relative; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
@media (min-width: 901px) {
  .page-hero:has(.page-hero-photo) { padding-block: clamp(56px, 6vw, 96px); min-height: clamp(460px, 40vw, 620px); display: flex; align-items: center; }
  .page-hero:has(.page-hero-photo) > .wrap { position: static; width: 100%; }
  .page-hero-grid > :not(.page-hero-photo) { position: relative; z-index: 1; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid > :not(.page-hero-photo) { max-width: min(600px, 52%); }
  .page-hero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; z-index: 0; }
  .page-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 60% 35%; filter: none; }
  .page-hero-photo::after { background: linear-gradient(90deg, #00345f 0%, rgba(0,52,95,0.9) 14%, rgba(0,52,95,0.55) 30%, rgba(0,52,95,0.15) 46%, rgba(0,52,95,0) 58%); }
}
@media (max-width: 900px) {
  .page-hero-photo { margin-inline: calc(50% - 50vw); margin-top: calc(-1 * clamp(28px, 4vw, 48px)); }
  .page-hero-photo img { border-radius: 0; aspect-ratio: 16 / 10; filter: none; }
  .page-hero-photo::after { background: linear-gradient(180deg, rgba(0,52,95,0) 45%, rgba(0,52,95,0.7) 80%, #00345f 100%); }
}

/* v37 AI検索の点検のメインビジュアルも、下層ページと同じ見せ方にそろえる */
.lp-hero::after { display: none; }
.lp-hero .wrap > * { max-width: min(600px, 52%); }
@media (min-width: 901px) {
  .lp-hero { min-height: clamp(480px, 40vw, 640px); display: flex; align-items: center; }
  .lp-hero .wrap { width: 100%; }
  .lp-hero img.bg { left: auto; right: 0; width: 64%; opacity: 1; object-position: 60% 40%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 18%, rgba(0,0,0,0.8) 34%, #000 50%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 18%, rgba(0,0,0,0.8) 34%, #000 50%); }
}
@media (max-width: 900px) {
  .lp-hero .wrap > * { max-width: none; }
  .lp-hero img.bg { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
  .lp-hero .wrap { padding-top: 8px; }
}
/* v37 調整：人物が右端で切れないように右寄せで切り抜く。スマホは人物の周りだけ見せる */
@media (min-width: 901px) {
  .page-hero-photo img { object-position: 88% 40%; }
  .lp-hero img.bg { object-position: 88% 40%; }
  .lp-hero h1 { font-size: clamp(30px, 3.4vw, 44px); max-width: none; }
}
@media (max-width: 900px) {
  .page-hero-photo img, .lp-hero img.bg { aspect-ratio: 4 / 3; object-position: 90% 35%; }
}

/* v38 フォントは普通のゴシック（Noto Sans JP）に統一。極太（900）は使わず太字（700）にする */
h1, h2, h3, h4 { letter-spacing: 0.02em; }

/* v40 計算のバー：つまみを明滅させて「動かせる」ことを伝える。動かしたら止め、ボタンを明滅させる */
.calc input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; height: 32px; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.28); }
.calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.28); }
.calc input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.calc input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
@keyframes calc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,138,34,0.7), 0 1px 4px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 0 10px rgba(242,138,34,0), 0 1px 4px rgba(0,0,0,0.3); }
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,138,34,0.75); }
  50% { box-shadow: 0 0 0 12px rgba(242,138,34,0); }
}
.calc.is-hint input[type=range]::-webkit-slider-thumb { animation: calc-pulse 1.6s ease-in-out infinite; }
.calc.is-hint input[type=range]::-moz-range-thumb { animation: calc-pulse 1.6s ease-in-out infinite; }
.calc-btn.is-next { animation: btn-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .calc.is-hint input[type=range]::-webkit-slider-thumb, .calc.is-hint input[type=range]::-moz-range-thumb, .calc-btn.is-next { animation: none; }
}
.calc-btn { column-gap: 0; }
.calc input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--orange) var(--p, 0%), rgba(255,255,255,0.28) var(--p, 0%)); }
.calc-btn::after { margin-left: 10px; }
.loss img.em { box-shadow: none; }

/* v45 サービスカードの困りごとを大きく */
.svc2-loss { font: 700 clamp(18px, 1.6vw, 20px)/1.55 var(--font-body); color: var(--night); letter-spacing: 0.02em; display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.svc2-loss span { font-size: 14px; color: var(--blue); letter-spacing: 0.08em; }
/* v45 お客様の声を同じデザインのカードでそろえる */
.vcard { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 14px; align-content: start; }
.vcard blockquote { margin: 0; font: 700 17px/1.75 var(--font-display); color: var(--ink); }
.vcard blockquote p::before { content: "“"; color: var(--orange); font-size: 1.3em; margin-right: 2px; }
.vcard figcaption { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.vcard figcaption b { display: block; color: var(--ink); font-size: 15px; }
.vcard figcaption small { display: block; color: var(--blue); font-size: 14px; font-weight: 700; }
.vcard-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.result.vcard blockquote { font-size: clamp(17px, 1.7vw, 20px); }
.voice-stack { gap: 14px; }
.proof-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* v45 アスタに頼むと */
.who-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 16px; }
.who-points li { display: grid; gap: 4px; padding-left: 18px; position: relative; }
.who-points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.who-points b { font-size: 18px; color: var(--ink); line-height: 1.6; }
.who-points span { color: var(--ink-2); }
.svc2 .svc2-body p.svc2-loss { color: var(--ink); font-size: clamp(19px, 1.7vw, 21px); font-weight: 700; }
.svc2 .svc2-body p.svc2-loss span { color: var(--blue); font-size: 14px; }

/* v47 見出しの上の一言を、見出しと一緒に読める大きさに */
.eyebrow, .eyebrow-w { font-size: clamp(18px, 1.7vw, 21px); letter-spacing: 0.04em; margin-bottom: 8px; }
.loss-k { font-size: 16px; letter-spacing: 0.04em; }
.eyebrow, .eyebrow-w { font-size: clamp(19px, 1.9vw, 23px); }

/* v50 お客様の写真は角丸の四角で見せる（元写真で頭が切れていても自然に見えるように） */
.vcard-av, .voice-av, .voice-hero-img { border-radius: 12px !important; object-position: 50% 0%; }
.voice-hero-img { border-radius: 16px !important; }

/* v51 実績の声：左に矢野様・武智様、右に3名。左右の高さをそろえる */
.proof-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.proof-top > .voice-stack { display: grid; gap: 14px; grid-auto-rows: auto; align-content: stretch; }
.proof-top > .voice-stack > .vcard { height: 100%; }
.voice-left { grid-template-rows: auto 1fr; }
.result.vcard .result-img { width: 100%; max-height: 180px; object-fit: contain; }
.vcard .text-link { align-self: end; }
@media (max-width: 860px) { .proof-top { grid-template-columns: minmax(0, 1fr); } }
.proof-top > * , .voice-stack > * { min-width: 0; }

/* v54 濃い青の背景の上の文中リンクは、白に近い色＋下線で見やすく */
.page-hero-simple a:not(.btn), .page-hero a:not(.btn), .section-night a:not(.btn), .lp-hero a:not(.btn), .final a:not(.btn), .cta-band a:not(.btn), .loss a:not(.btn) { color: #ffd0a3; text-decoration: underline; text-underline-offset: 3px; }
.page-hero-simple .crumbs a, .page-hero .crumbs a { color: #fff; }
.final-bg { object-position: 78% 30%; }
@media (max-width: 760px) { .final-bg { object-position: 82% 30%; } }

/* v60 実績欄：声・サイト・システムの3ブロックをはっきり区切る */
.proof-block { padding-top: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.proof-block:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }
.block-h { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 0 0 24px; color: var(--ink); }
.block-h span { font-size: 15px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 6px; padding: 4px 9px; letter-spacing: 0.04em; line-height: 1; transform: translateY(-3px); }
.sec-head + .proof-block { padding-top: 0; margin-top: 0; border-top: 0; }

/* 本番のContact Form 7を、新デザインのフォームに合わせる */
.form .wpcf7 { max-width: 720px; }
.form .wpcf7-form { display: grid; gap: 20px; }
.form .hidden-fields-container { display: none; }
.form .cf7-field-group { display: grid; gap: 8px; }
.form .cf7-label { display: grid; gap: 8px; font-weight: 700; font-size: 16px; }
.form .cf7-label br { display: none; }
.form .cf7-required, .form .cf7-optional { font-size: 14px; margin-left: 8px; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.form .cf7-required { background: var(--blue-deep); color: #fff; }
.form .cf7-optional { background: var(--mist-2); color: var(--ink-2); }
.form .wpcf7-form-control-wrap { display: block; }
.form .wpcf7-not-valid { border-color: #b3261e; }
.form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: #b3261e; }
.form .wpcf7-response-output { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 16px; }
.form input[type="submit"] { width: auto; min-height: 54px; padding: 14px 44px; border: 0; border-radius: var(--radius); background: var(--orange-btn); color: #fff; font-weight: 700; cursor: pointer; }
.form input[type="submit"]:hover { background: var(--orange-btn-hover); }
.form input[type="checkbox"], .form input[type="radio"] { width: auto; }
.form .wpcf7-spinner { margin-left: 12px; }

/* Cocoonの画像拡大の部品が残っていても表示しない */
#baguetteBox-overlay { display: none !important; }

/* 問い合わせフォームの営業利用へのお断り */
.form-refuse { background: var(--mist-2); border-radius: var(--radius); padding: 14px 18px; font-size: 16px; color: var(--ink); }
.form-refuse p { margin: 0; text-wrap: balance; }
@supports (word-break: auto-phrase) { .form-refuse p { word-break: auto-phrase; } }
.form-refuse p + p { margin-top: 4px; }

/* 送信中の表示。送信の処理に時間がかかっても、止まったように見えないようにする */
.form .wpcf7-form[data-status="submitting"] input[type="submit"] { opacity: .6; cursor: progress; pointer-events: none; }
.form-sending { display: none; background: var(--mist-2); border-radius: var(--radius); padding: 14px 18px; font-size: 16px; color: var(--ink); }
.form-sending p { margin: 0; text-wrap: pretty; }
.form-sending p:first-child { font-weight: 700; }
.form-sending p + p { margin-top: 4px; }
.wpcf7:has(form[data-status="submitting"]) + .form-sending { display: block; margin-top: 20px; max-width: 720px; }

/* 404ページ。説明文が語の途中で折り返さないようにする */
.notfound-lead p { text-wrap: balance; }
@supports (word-break: auto-phrase) { .notfound-lead p { word-break: auto-phrase; } }

/* 404ページのリンク一覧 */
.notfound-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.notfound-links li { border-bottom: 1px solid var(--mist-2); }
.notfound-links a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; }
