@charset "UTF-8";
/* ==========================================================================
   株式会社大新建装 リニューアル提案デモ  共通スタイル
   配色・タイポグラフィは 13_Web構成.md の指定値のみを使用する。
   禁止：--green-500 / --amber-300 の上に文字を置くこと（淡色文字を作らない）
   ========================================================================== */

:root {
  --green-900: #2F5417;
  --green-700: #488422;
  --green-500: #67BD31;
  --green-050: #F1F7EB;
  --amber-700: #966E09;
  --amber-300: #F7D57F;
  --ink:       #1A1A1A;
  --ink-sub:   #595959;
  --base:      #FCFCFC;
  --line:      #E3E3E0;

  --wrap: 1120px;
  --gap: 24px;
  --sec-y: 96px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(26, 26, 26, .08);
  --shadow-hover: 0 6px 20px rgba(26, 26, 26, .14);

  --fast: 180ms;
  --normal: 400ms;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;      /* 本文17px：現行サイト10px問題への回答。これより小さくしない */
  line-height: 1.9;
  font-feature-settings: "palt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* 1行=全角35字前後で折り返す */
.measure { max-width: 35em; }

/* ---------- 見出し ---------- */
.sec-head { margin: 0 0 12px; font-size: 32px; line-height: 1.4; color: var(--green-900); font-weight: 700; }
.sec-lead { margin: 0 0 40px; max-width: 35em; color: var(--ink-sub); }
.sub-head { margin: 0 0 8px; font-size: 22px; line-height: 1.6; color: var(--green-900); font-weight: 700; }
.note { font-size: 15px; line-height: 1.8; color: var(--ink-sub); }
/* 写真直下のAI生成注記 */
.img-note { font-size: 15px; line-height: 1.8; color: var(--ink-sub); margin: 6px 0 0; }

section { padding-block: var(--sec-y); }
.band { background: var(--green-050); }   /* 面としてのみ使用 */

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-size: 17px; font-weight: 700; line-height: 1.5;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) var(--ease-out),
              color var(--fast) var(--ease-out),
              border-color var(--fast) var(--ease-out),
              transform var(--fast) var(--ease-out);
}
/* 主：緑700の面に白文字（4.57:1） */
.btn-primary { background: var(--green-700); color: #fff; }
/* ホバーはアンバー300の面＋グリーン900の濃い文字（淡色文字は作らない） */
.btn-primary:hover { background: var(--amber-300); color: var(--green-900); }
/* 副：白面に緑700の文字 */
.btn-ghost { background: #fff; color: var(--green-900); border-color: var(--green-700); }
.btn-ghost:hover { background: var(--amber-300); color: var(--green-900); border-color: var(--amber-300); }
.btn-block { width: 100%; }
.btn .ico { width: 22px; height: 22px; flex: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--green-900);
  transition: background-color var(--normal) var(--ease-out), box-shadow var(--normal) var(--ease-out);
}
.site-header.is-shrunk { background: rgba(47, 84, 23, .92); box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 88px; transition: height var(--normal) var(--ease-out);
}
.site-header.is-shrunk .header-inner { height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.3; }
.brand b { font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.brand span { font-size: 15px; color: #E8F0DF; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  color: #fff; text-decoration: none; font-size: 17px; font-weight: 500;
  transition: background-color var(--fast) var(--ease-out);
}
.gnav a:hover { background: rgba(255, 255, 255, .14); }
.gnav a[aria-current="page"] { background: rgba(255, 255, 255, .18); font-weight: 700; }
/* 右端に固定するボタン形状のCTA（白面に濃緑文字＝最も強い対比） */
.gnav .nav-cta a { background: #fff; color: var(--green-900); font-weight: 700; padding: 12px 20px; }
.gnav .nav-cta a:hover { background: var(--amber-300); color: var(--green-900); }

.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; padding: 0; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(420px, 52vw, 620px); object-fit: cover; }
.hero-box {
  background: var(--green-900); color: #fff;
  border-radius: var(--radius); padding: 36px 40px;
  max-width: 620px; box-shadow: var(--shadow);
}
@media (min-width: 981px) {
  .hero-box { position: absolute; left: max(24px, calc(50% - var(--wrap) / 2 + 24px)); bottom: 56px; }
  .hero-inner { position: relative; }
}
.hero-box h1 { margin: 0 0 14px; font-size: 46px; line-height: 1.3; font-weight: 700; }
.hero-box p { margin: 0 0 24px; font-size: 17px; line-height: 1.9; color: #EAF2E1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { padding: 8px 0 0; }

/* スクロール誘導の矢印 */
.scroll-cue { display: flex; justify-content: center; padding: 24px 0 0; }
.scroll-cue img { width: 34px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- 信頼バー ---------- */
.trust { background: var(--green-050); padding-block: 28px; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.trust li { text-align: center; padding: 12px; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust b { display: block; font-size: 19px; color: var(--green-900); line-height: 1.5; }
.trust span { font-size: 15px; color: var(--ink-sub); }

/* ==========================================================================
   主役層：劣化サインマップ（index.html のみ）
   ========================================================================== */
.signmap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.signmap-figure { position: relative; margin: 0; }
.signmap-figure img.house { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hotspot-layer { position: absolute; inset: 0; }

.hotspot {
  position: absolute; width: 28px; height: 28px; padding: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green-500);          /* 面としてのみ使用（文字は載せない） */
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(26, 26, 26, .45);
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
}
/* タップ領域は44px以上を確保（見た目は28pxのまま） */
.hotspot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.hotspot:hover { animation-play-state: paused; transform: translate(-50%, -50%) scale(1.18); }
.hotspot[aria-pressed="true"] {
  animation: none;
  background: var(--green-900);
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.22);
  box-shadow: 0 0 0 6px rgba(103, 189, 49, .38);
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%, -50%) scale(1.18); opacity: .6; }
}

.signmap-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; font-size: 17px; color: var(--green-900); font-weight: 700; }
.signmap-hint img { width: 26px; }

/* 症状カード */
.sign-card {
  border: 1px solid var(--line); border-left: 6px solid var(--green-700);
  border-radius: var(--radius); background: #fff; padding: 26px 24px;
  box-shadow: var(--shadow); position: sticky; top: 116px;
}
.sign-card h3 { margin: 0 0 16px; font-size: 22px; line-height: 1.6; color: var(--green-900); }
.sign-row { margin: 0 0 14px; }
.sign-row dt { font-size: 15px; font-weight: 700; color: var(--ink-sub); margin: 0 0 2px; }
.sign-row dd { margin: 0; font-size: 17px; line-height: 1.9; }
.sign-row.is-warn dd { color: var(--amber-700); font-weight: 700; }
.sign-card .ashiba-note { font-size: 15px; color: var(--ink-sub); margin: 6px 0 18px; }

/* ---------- 汎用カード ---------- */
.cards { display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.cards.col2 { grid-template-columns: repeat(2, 1fr); }
.cards.col3 { grid-template-columns: repeat(3, 1fr); }
.cards.col4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform var(--fast) var(--ease-out), box-shadow var(--fast) var(--ease-out);
}
.card:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.6; color: var(--green-900); }
.card p { margin: 0 0 12px; }
.card .card-cta { margin-top: auto; padding-top: 12px; font-weight: 700; }
.card-media { overflow: hidden; border-radius: var(--radius); margin: -24px -24px 18px; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media + .img-note { margin-top: -12px; margin-bottom: 12px; }

/* 劣化サイン一覧カードの警告行 */
.warn { color: var(--amber-700); font-weight: 700; }

/* ---------- 工事の流れ ---------- */
.flow-steps { counter-reset: step; display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.flow-steps.col4 { grid-template-columns: repeat(4, 1fr); }
.flow-steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-top: 5px solid var(--green-500);   /* 面としての緑500 */
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.flow-steps li::before {
  content: "STEP " counter(step);
  display: block; font-size: 15px; font-weight: 700; color: var(--green-700); margin-bottom: 6px;
}
.flow-steps h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.6; color: var(--green-900); }
.flow-steps p { margin: 0; }

/* 縦並びの詳細ステップ（flow.html） */
.flow-long { list-style: none; margin: 0; padding: 0; counter-reset: fstep; }
.flow-long > li {
  counter-increment: fstep; position: relative;
  border-left: 3px solid var(--line); padding: 0 0 48px 40px; margin-left: 22px;
}
.flow-long > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow-long > li::before {
  content: counter(fstep);
  position: absolute; left: -25px; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-900); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 19px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow);
}
.faq summary { font-size: 22px; line-height: 1.6; font-weight: 700; color: var(--green-900); cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-050); color: var(--green-900); display: grid; place-items: center; font-size: 17px; }
.faq details[open] summary { margin-bottom: 12px; }
.faq .a { display: flex; gap: 12px; }
.faq .a::before { content: "A"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-900); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 700; }

/* ---------- 表（会社概要） ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.9; }
.spec-table th { width: 30%; background: var(--green-050); color: var(--green-900); font-weight: 700; white-space: nowrap; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:empty::after { content: ""; display: block; min-height: 1.9em; }

/* 許可番号・有資格を最も大きく見せるブロック */
.license-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.license-card { background: #fff; border: 2px solid var(--green-700); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.license-card .label { display: inline-block; font-size: 15px; font-weight: 700; color: var(--green-900); background: var(--green-050); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.license-card .value { font-size: 32px; line-height: 1.4; font-weight: 700; color: var(--green-900); margin: 0; }
.license-card .value small { display: block; font-size: 17px; font-weight: 500; color: var(--ink-sub); line-height: 1.9; margin-top: 8px; }

/* ---------- 連絡先 ---------- */
.tel-link { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--green-900); text-decoration: none; letter-spacing: .01em; }
.tel-link:hover { text-decoration: underline; }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.contact-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.contact-col h3 { margin: 0 0 14px; font-size: 22px; color: var(--green-900); }
.contact-col ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.contact-col .tel-label { display: block; font-size: 15px; color: var(--ink-sub); }
.mail-link { font-size: 22px; font-weight: 700; color: var(--green-700); word-break: break-all; }

/* ---------- 事例 ---------- */
.work-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 40px; }
.work-item > h3 { margin: 0 0 6px; font-size: 32px; line-height: 1.4; color: var(--green-900); }

/* ドラッグ比較スライダー */
.compare {
  position: relative; overflow: hidden; border-radius: var(--radius);
  touch-action: pan-y; user-select: none; cursor: ew-resize; margin: 20px 0 0;
  background: var(--green-050);
}
.compare img { width: 100%; display: block; pointer-events: none; }
.compare .clip-pane { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.compare .clip-pane img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; }
.compare .handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px;
  background: #fff; box-shadow: 0 0 8px rgba(26, 26, 26, .5);
}
.compare .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green-700);
  display: grid; place-items: center; color: var(--green-900); font-size: 19px; font-weight: 700;
  box-shadow: 0 2px 10px rgba(26, 26, 26, .35);
}
.compare .tag {
  position: absolute; top: 14px; padding: 6px 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; background: rgba(47, 84, 23, .88); color: #fff;
}
.compare .tag-before { left: 14px; }
.compare .tag-after { right: 14px; }
.compare:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; }

.work-meta { width: 100%; border-collapse: collapse; margin-top: 20px; }
.work-meta th, .work-meta td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; font-size: 17px; line-height: 1.9; }
.work-meta th { width: 30%; background: var(--green-050); color: var(--green-900); font-weight: 700; white-space: nowrap; }
.card-empty { background: #fff; border: 2px dashed var(--line); box-shadow: none; color: var(--ink-sub); text-align: center; justify-content: center; min-height: 190px; }
.card-empty:hover { transform: none; box-shadow: none; }
.card-empty p { margin: 0; }

/* ---------- フォーム ---------- */
.form-grid { display: grid; gap: 22px; max-width: 760px; }
.field label { display: block; font-weight: 700; color: var(--green-900); margin-bottom: 8px; font-size: 17px; }
.field .req { font-size: 15px; color: #fff; background: var(--green-700); border-radius: 4px; padding: 2px 8px; margin-left: 8px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-size: 17px; line-height: 1.9;
  font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  min-height: 56px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field .help { font-size: 15px; color: var(--ink-sub); margin: 6px 0 0; }

/* ---------- フッター ---------- */
.pre-footer { background: var(--green-050); text-align: center; }
.pre-footer h2 { margin: 0 0 10px; font-size: 32px; line-height: 1.4; color: var(--green-900); }
.pre-footer p { margin: 0 auto 26px; max-width: 35em; color: var(--ink-sub); }

.site-footer { background: var(--green-900); color: #fff; padding-block: 56px 40px; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h2 { font-size: 21px; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .f-sub { color: #DCE8D2; font-size: 15px; line-height: 1.8; }
.site-footer .tel-link { color: #fff; }
.demo-note {
  border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 22px;
  font-size: 15px; line-height: 1.8; color: #E6EFDD;
}
.copy { margin: 14px 0 0; font-size: 15px; color: #DCE8D2; }

/* ---------- モバイル固定バー ---------- */
.mobile-bar { display: none; }

/* ---------- パンくず ---------- */
.crumb { background: var(--green-050); padding-block: 14px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-sub); }
.crumb li + li::before { content: "／"; margin-right: 8px; }

/* ページ見出し */
.page-head { background: var(--green-900); color: #fff; padding-block: 64px; }
.page-head h1 { margin: 0 0 12px; font-size: 46px; line-height: 1.3; }
.page-head p { margin: 0; max-width: 35em; color: #E6EFDD; }

/* ---------- 基礎層アニメーションの初期状態 ----------
   既定は「見えている」状態。reveal-guard.js が動いたときだけ透明にする。
   （CDNが落ちても本文が消えないようにするため） */
.reveal { opacity: 1; transform: none; }
.anim-ready .reveal { opacity: 0; transform: translateY(28px); }
.no-motion .reveal, .is-revealed { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1100px) {
  .signmap-grid { grid-template-columns: minmax(0, 1fr) 330px; }
}

@media (max-width: 980px) {
  :root { --sec-y: 64px; }
  .header-inner { height: 72px; }
  .site-header.is-shrunk .header-inner { height: 64px; }

  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 52px; height: 52px; padding: 0;
    background: transparent; border: 2px solid rgba(255, 255, 255, .6); border-radius: var(--radius);
    color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  }
  .gnav {
    position: fixed; inset: 72px 0 0; margin: 0;
    background: var(--green-900); padding: 24px;
    overflow-y: auto; display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .gnav a { padding: 16px; font-size: 19px; }
  .gnav .nav-cta a { text-align: center; margin-top: 10px; }

  .hero-media img { height: clamp(320px, 60vw, 460px); }
  .hero-box { max-width: none; border-radius: 0; padding: 28px 24px; }
  .hero-box h1 { font-size: 34px; }

  .signmap-grid { grid-template-columns: 1fr; }
  .sign-card { position: static; }

  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(2n) { border-right: 0; }

  .cards.col2, .cards.col3, .cards.col4 { grid-template-columns: repeat(2, 1fr); }
  .flow-steps.col4 { grid-template-columns: repeat(2, 1fr); }
  .contact-cols { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .page-head h1 { font-size: 34px; }
  .sec-head { font-size: 27px; }

  /* モバイル下部固定バー */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(252, 252, 252, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -2px 12px rgba(26, 26, 26, .08);
  }
  .mobile-bar .btn { min-height: 56px; font-size: 17px; padding: 12px 10px; }
  body { padding-bottom: 84px; }
}

@media (max-width: 620px) {
  .cards.col2, .cards.col3, .cards.col4 { grid-template-columns: 1fr; }
  .flow-steps.col4 { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust li:last-child { border-bottom: 0; }
  .spec-table th, .work-meta th { width: 38%; white-space: normal; }
  .license-card .value { font-size: 27px; }
  .work-item { padding: 20px 16px; }
}

/* ==========================================================================
   prefers-reduced-motion：全アニメーションを無効化
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hotspot { animation: none !important; }
  .scroll-cue img { animation: none !important; }
  .card:hover { transform: none !important; }
  .card:hover .card-media img { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   下層ページ用のブロック（トップの配色・余白・装飾を踏襲する）
   ========================================================================== */

/* signs.html：症状ごとの詳細 */
.sign-detail {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--green-700);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 32px;
}
.sign-detail.no-media { grid-template-columns: 1fr; }
.sign-detail > div > h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.4; color: var(--green-900); }
.sign-media { margin: 0; }
.sign-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.sign-blocks { margin: 0 0 12px; }
.sign-blocks > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sign-blocks > div:last-child { border-bottom: 0; }
.sign-blocks dt { font-size: 15px; font-weight: 700; color: var(--ink-sub); margin: 0 0 2px; }
.sign-blocks dd { margin: 0; font-size: 17px; line-height: 1.9; }
.sign-blocks .is-warn dd { color: var(--amber-700); font-weight: 700; }
.ashiba-note { font-size: 15px; line-height: 1.8; color: var(--ink-sub); margin: 0 0 20px; }

/* service.html：工種カード */
.service-card h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; color: var(--green-900); }
.service-card .need { margin: 0 0 14px; }
.service-card .rel { font-size: 15px; line-height: 1.8; color: var(--ink-sub); margin: 14px 0 0; }
.service-card .card-cta { margin-top: auto; padding-top: 18px; }
.do-list { margin: 0; padding: 0; list-style: none; }
.do-list li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 17px; line-height: 1.9; }
.do-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-500);        /* 図形としての緑500（文字は載せない） */
}
/* アンカーで飛んだときに追従ヘッダーへ隠れないようにする */
.service-card, .sign-detail, .work-item { scroll-margin-top: 110px; }

/* flow.html */
.flow-long h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.4; color: var(--green-900); }
.flow-long p { margin: 0 0 14px; }
.flow-media { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.flow-media figure { margin: 0; }
.flow-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.callout {
  background: var(--green-050); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; margin-top: 16px;
}
.callout h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.4; color: var(--green-900); }
.callout p { margin: 0 0 20px; }

@media (max-width: 980px) {
  .sign-detail { grid-template-columns: 1fr; padding: 22px; }
  .sign-detail > div > h2 { font-size: 27px; }
  .flow-media { grid-template-columns: 1fr; }
  .flow-long h2, .callout h2 { font-size: 27px; }
  .flow-long > li { padding-left: 28px; margin-left: 18px; }
  .flow-long > li::before { width: 40px; height: 40px; left: -21px; font-size: 17px; }
  .service-card, .sign-detail, .work-item { scroll-margin-top: 90px; }
}
