/* =====================================================================
   こぐまの酸素屋さん 公式サイト スタイル
   ---------------------------------------------------------------------
   ・連動仕様.md のデザイントークン（CSS変数）をそのまま採用。
   ・世界観：医療系の信頼感 × ポップさ × インダストリアル。
     帳票（app/static/css/document.css）の「計器風バー・番号付きセクション・
     アンバーのセクションタブ・余白の取り方」を画面用に翻案したもの。
   ・モバイルファースト（iPhone 実機閲覧が主）。max-width で PC に広げる。
   ・素の CSS のみ。ビルド不要・プリプロセッサ不要。手で直せる状態を保つ。
   ===================================================================== */

:root {
  /* --- 連動仕様.md 共通トークン（そのまま） --- */
  --bg: #FBF7EF;         /* クリーム地 */
  --ink: #2A241C;        /* ガンメタル・インク */
  --ink-soft: #6B6153;
  --line: #DFD5C0;
  --card: #FFFFFF;
  --o2: #2F7A6E;         /* 酸素安定度・緑 */
  --o2-bg: #E3EFEA;
  --comfort: #C9863A;    /* 快適性・工業アンバー */
  --comfort-bg: #F4E7D3;
  --stress: #B4534A;     /* ストレス・注意の暖色 */
  --stress-bg: #F3E1DD;
  --caution: #9C7A2E;

  /* --- サイト用の派生トークン --- */
  --accent: var(--comfort);        /* 主アクセント＝工業アンバー */
  --accent-deep: #A96A24;
  --steel: #3B4248;                /* ガンメタル（帳票と共通の思想） */
  --steel-deep: #23282C;
  --hair: #EDE6D6;                 /* クリーム地に映える薄罫 */
  --shadow: 0 2px 14px rgba(42, 36, 28, .08);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 960px;
  --pad: 20px;

  /* フォント */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 画像プレースホルダ（写真未支給の間の仮置き。差し替え時に削除想定） */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #F1E9D8 0 10px, #EDE3CF 10px 20px);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  min-height: 160px;
  padding: 16px;
}

/* ============================ レイアウト ============================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 44px 0; }
.section-cream { background: var(--bg); }
.section-tint { background: #F6EFE1; }

/* eyebrow（英字オーバーライン）＋番号付きセクション見出し：帳票の .sec/.eyebrow の思想 */
.eyebrow {
  font-family: "Segoe UI", Consolas, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .24em;
  font-weight: 700;
  color: var(--accent-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.sec-head {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin: 0 0 22px;
}
.sec-head h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0;
  color: var(--steel-deep);
  letter-spacing: .02em;
}
.sec-head .sec-num {
  font-family: "Segoe UI", Consolas, Arial, sans-serif;
  color: var(--accent);
  font-weight: 700;
  margin-right: .5em;
}

/* ============================ ヘッダー ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .head-rule {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 72px, var(--steel) 72px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.brand .brand-mark {
  width: auto; height: 44px; flex: 0 0 auto;
  display: block;
}
.brand .brand-text { line-height: 1.25; min-width: 0; overflow: hidden; }
.brand .brand-name { font-weight: 700; font-size: 16px; color: var(--steel-deep); letter-spacing: .02em; white-space: nowrap; }
.brand .brand-sub { font-size: 11px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ハンバーガー */
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 10px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--steel-deep); display: block; }

/* ナビ（モバイル：開閉式） */
.site-nav { width: 100%; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: none; flex-direction: column;
}
.site-nav.is-open ul { display: flex; }
.site-nav li { border-top: 1px solid var(--line); }
.site-nav a {
  display: block; padding: 12px 4px; color: var(--ink);
  font-size: 15px; font-weight: 500;
}
.site-nav a.is-vets {
  color: var(--o2);
  font-weight: 700;
}
.site-nav a.is-cta {
  color: var(--accent-deep);
  font-weight: 700;
}
.site-nav a[aria-current="page"] { color: var(--accent-deep); }

/* お申込みページ：料金の要点サマリー */
.order-price-list { list-style: none; margin: 0; padding: 0; }
.order-price-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.order-price-list li:last-child { border-bottom: none; }
.order-price-list .opl-label { color: var(--ink-soft); font-size: 14.5px; }
.order-price-list .opl-amt { font-weight: 700; font-size: 18px; color: var(--steel-deep); }
.order-price-list .opl-unit { font-weight: 500; font-size: 12.5px; color: var(--ink-soft); margin-left: 2px; }

/* 「獣医師の先生方へ」ヘッダーCTA。
   モバイルでは幅が厳しくブランド名を圧迫するため隠し、ハンバーガー内のナビ項目
   （is-vets）＋中段の獣医師バナーで導線を確保する。720px 以上でチップ表示。 */
.vets-cta {
  display: none;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--o2);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}
.vets-cta:hover { text-decoration: none; opacity: .92; }

/* ============================ ボタン ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); text-decoration: none; }
.btn-o2 { background: var(--o2); color: #fff; }
.btn-o2:hover { text-decoration: none; opacity: .92; }
.btn-ghost { background: transparent; color: var(--steel-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* ============================ ヒーロー ============================ */
.hero {
  padding: 52px 0 40px;
  background:
    radial-gradient(120% 90% at 80% -10%, var(--comfort-bg) 0%, transparent 55%),
    var(--bg);
}
.hero .eyebrow { color: var(--o2); }
.hero h1 {
  font-family: var(--font-serif);   /* 見出し Shippori Mincho 併用の試作 */
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: .02em;
  margin: 6px 0 14px;
  color: var(--steel-deep);
}
.hero .lede { font-size: 17px; color: var(--ink); margin: 0 0 12px; }
.hero .creed {
  border-left: 4px solid var(--o2);
  background: var(--o2-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 15px;
}
.hero .creed .creed-lead { font-weight: 700; color: var(--o2); }
.hero .creed .creed-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-visual { margin-top: 26px; }
.hero-visual .ph { min-height: 220px; }

/* ============================ 信頼要素（数値カード） ============================ */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.trust-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--steel);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.trust-card .tc-value {
  font-size: 26px; font-weight: 700; color: var(--steel-deep);
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.trust-card .tc-value .tc-unit { font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-left: .3em; }
.trust-card .tc-label { font-size: 14px; color: var(--ink); margin-top: 2px; font-weight: 600; }
.trust-card .tc-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ============================ 汎用カード／リード導線 ============================ */
.card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.vets-banner {
  background: linear-gradient(100deg, #F0F6F4 0%, var(--o2-bg) 100%);
  border: 1px solid #CFE3DD;
  border-left: 4px solid var(--o2);
  border-radius: var(--radius);
  padding: 22px;
}
.vets-banner h2 { margin: 0 0 6px; font-size: 20px; color: var(--o2); }
.vets-banner p { margin: 0 0 14px; font-size: 15px; }

/* ============================ 計器風 評価バー（method） ============================ */
.method-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 20px;
  overflow: hidden;
}
.method-card .mc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #F6EFE1;
  border-bottom: 1px solid var(--hair);
  padding: 14px 18px;
}
.method-card .mc-name { font-size: 17px; font-weight: 700; color: var(--steel-deep); }
.method-card .mc-badge {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 11px;
  border: 1.5px solid var(--accent); color: var(--accent-deep); background: var(--comfort-bg);
  white-space: nowrap;
}
.method-card .mc-badge.is-standard { background: var(--accent); color: #fff; border-color: var(--accent); }
.method-card .mc-body { padding: 16px 18px 20px; }
.method-card .mc-desc { font-size: 14.5px; color: var(--ink); margin: 0 0 14px; }

/* 計器バー本体 */
.gauge { margin: 0 0 12px; }
.gauge:last-child { margin-bottom: 0; }
.gauge .g-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.gauge .g-axis { font-size: 13px; font-weight: 600; color: var(--steel-deep); letter-spacing: .02em; }
.gauge .g-score { font-size: 12px; color: var(--ink-soft); }
.gauge .g-track {
  position: relative;
  height: 12px;
  background: #EFE7D6;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--hair);
}
.gauge .g-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;                       /* JS/CSSアニメで --val まで伸ばす */
  border-radius: 999px;
  transition: width 900ms cubic-bezier(.22,.61,.36,1);
}
/* 軸ごとの色（帳票の約束：酸素系＝緑階調／快適・範囲＝アンバー階調／低刺激性＝暖色）。
   全軸「高いほど良い」に統一（低刺激性の反転ロジックは廃止、色分けのみ踏襲）。 */
.gauge.axis-o2 .g-fill { background: var(--o2); }
.gauge.axis-o2 .g-axis { color: var(--o2); }
.gauge.axis-stability .g-fill { background: var(--steel); }
.gauge.axis-stability .g-axis { color: var(--steel); }
.gauge.axis-range .g-fill { background: var(--accent-deep); }
.gauge.axis-range .g-axis { color: var(--accent-deep); }
.gauge.axis-comfort .g-fill { background: var(--comfort); }
.gauge.axis-comfort .g-axis { color: var(--caution); }
.gauge.axis-stress .g-fill { background: var(--stress); }
.gauge.axis-stress .g-axis { color: var(--stress); }
.gauge.axis-stress .g-track { background: var(--stress-bg); }

/* くわしい解説（features 原文）の <details> */
.mc-details { margin-top: 14px; }
.mc-details summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--accent-deep);
  list-style: none;
}
.mc-details summary::-webkit-details-marker { display: none; }
.mc-details summary::before { content: "▸ "; }
.mc-details[open] summary::before { content: "▾ "; }
.mc-details .mc-features {
  margin: 10px 0 0; padding: 12px 14px; font-size: 13px; line-height: 1.8;
  color: var(--ink-soft); background: var(--bg); border-radius: var(--radius-sm);
  border: 1px solid var(--hair);
}

.axis-note {
  font-size: 12px; color: var(--ink-soft);
  background: var(--stress-bg); border-radius: var(--radius-sm);
  padding: 8px 12px; margin-top: 4px;
}

/* ============================ 料金（pricing） ============================ */
.price-hero {
  background: var(--card);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 22px;
}
.price-hero .ph-plan { font-size: 15px; font-weight: 700; color: var(--accent-deep); }
.price-lines { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 12px 0 0; }
.price-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-bottom: 1px dashed var(--hair); padding-bottom: 10px;
}
.price-line .pl-label { font-size: 15px; color: var(--ink); }
.price-line .pl-amt { font-size: 22px; font-weight: 700; color: var(--steel-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-line .pl-amt .pl-unit { font-size: 13px; font-weight: 500; color: var(--ink-soft); margin-left: .2em; }
.price-line .pl-ex { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 400; }

table.price-table {
  width: 100%; border-collapse: collapse; margin: 6px 0 0; font-size: 14.5px;
}
table.price-table th, table.price-table td {
  padding: 11px 12px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top;
}
table.price-table thead th {
  background: #F6EFE1; color: var(--steel-deep); font-size: 13px; letter-spacing: .03em;
}
table.price-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.price-table .ex { color: var(--ink-soft); font-size: 12px; }
.price-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
.data-stamp { font-size: 11px; color: var(--ink-soft); margin-top: 8px; }

/* ============================ 概算料金シミュレーター（estimate） ============================ */
.estimate-card {
  margin: 22px 0;
  border-left: 4px solid var(--o2);
}
.estimate-card .estimate-lede {
  font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px;
}
.estimate-inputs {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px;
}
.estimate-inputs .field { margin-bottom: 0; }
.estimate-opts { margin-bottom: 16px; }
.estimate-result { margin-top: 6px; }

.estimate-block { margin-bottom: 14px; }
.estimate-h3 {
  font-size: 14px; font-weight: 700; color: var(--steel-deep); margin: 0 0 8px;
  border-bottom: 1px solid var(--hair); padding-bottom: 6px;
}
.estimate-list { list-style: none; margin: 0; padding: 0; }
.estimate-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--hair);
}
.estimate-list li:last-child { border-bottom: none; }
.estimate-list li.estimate-month-head {
  font-weight: 700; border-bottom: none; padding-bottom: 2px;
}
.estimate-list li.estimate-sub {
  padding-left: 14px; font-size: 13px; color: var(--ink-soft);
  border-bottom: 1px dashed var(--hair);
}
.estimate-list li.estimate-sub + li.estimate-month-head {
  border-top: 1px solid var(--hair); margin-top: 4px; padding-top: 8px;
}
.estimate-list li.estimate-subtotal {
  font-weight: 700; border-bottom: none; border-top: 1px solid var(--hair); margin-top: 2px;
}
.estimate-amt {
  font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--steel-deep);
}
.estimate-empty { font-size: 13.5px; color: var(--ink-soft); }
.estimate-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  background: var(--o2-bg); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-top: 8px;
}
.estimate-total span:first-child { font-size: 15px; font-weight: 700; color: var(--o2); }
.estimate-total-amt {
  font-size: 22px; font-weight: 700; color: var(--o2); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.estimate-disclaimer {
  font-size: 11.5px; color: var(--ink-soft); margin: 10px 0 0;
}
.estimate-card-order .estimate-other-link {
  font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0;
}

/* ============================ 準備中プレースホルダ ============================ */
.prep {
  text-align: center; padding: 40px 0;
}
.prep .prep-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-deep); background: var(--comfort-bg);
  border: 1px solid var(--accent); border-radius: 999px; padding: 5px 14px;
}
.prep h1 { font-size: 24px; margin: 16px 0 8px; color: var(--steel-deep); }
.prep p { color: var(--ink-soft); }

/* ============================ 汎用ページ本文（Markdown） ============================ */
.prose { font-size: 16px; }
.prose h1 { font-size: 26px; color: var(--steel-deep); margin: 0 0 14px; }
.prose h2 {
  font-size: 20px; color: var(--steel-deep); margin: 30px 0 12px;
  border-left: 4px solid var(--accent); padding-left: 12px;
}
.prose h3 { font-size: 17px; color: var(--steel-deep); margin: 22px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.4em; }
.prose li { margin: 4px 0; }
.prose blockquote {
  border-left: 4px solid var(--o2); background: var(--o2-bg);
  margin: 16px 0; padding: 12px 16px; border-radius: 0 8px 8px 0; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--hair); padding: 9px 11px; text-align: left; }
.prose th { background: #F6EFE1; }

/* ============================ お知らせ（news） ============================ */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--hair); }
.news-list a { display: flex; gap: 14px; padding: 14px 0; align-items: baseline; color: var(--ink); }
.news-list a:hover { text-decoration: none; color: var(--accent-deep); }
.news-list .n-date { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ============================ 紹介フロー（vets） ============================ */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow > li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 0 0 18px 0; position: relative;
}
.flow > li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 0;
  width: 2px; background: var(--hair);
}
.flow .flow-n {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px;
  background: var(--o2); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.flow .flow-body { padding-top: 2px; }
.flow .flow-body h3 { margin: 4px 0 4px; font-size: 17px; color: var(--steel-deep); }
.flow .flow-body p { margin: 0; font-size: 15px; color: var(--ink); }

/* ============================ 役割グリッド ============================ */
.role-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.role-grid .card ul { margin: 8px 0 0; padding-left: 1.2em; }
.role-grid .card li { margin: 5px 0; }

/* ============================ フォーム ============================ */
.form-fallback {
  background: var(--comfort-bg);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 14.5px;
}
.form-fallback ul { margin: 8px 0; padding-left: 1.2em; }
.form-fallback .ff-note { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.ff-note { font-size: 12.5px; color: var(--ink-soft); }

.site-form { margin: 0; }

/* ハニーポット（bot 誘導用の隠しフィールド）。画面外へ飛ばし、支援技術からも隠す。 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信完了のインライン表示（JS が form を差し替える）。 */
.form-done {
  background: var(--o2-bg);
  border: 1px solid var(--o2);
  border-left: 4px solid var(--o2);
  border-radius: var(--radius);
  padding: 18px 20px;
  line-height: 1.7;
}
.form-done strong { display: block; margin-bottom: 6px; font-size: 16px; }

.form-group {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 18px;
}
.form-group .fg-head { border-left: 4px solid var(--accent); padding-left: 12px; margin: 0 0 14px; }
.form-group .fg-head h2 { margin: 0; font-size: 18px; color: var(--steel-deep); }

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .field-legend {
  display: block; font-size: 14px; font-weight: 600; color: var(--steel-deep); margin-bottom: 6px;
}
.field .req {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--stress);
  border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: middle;
  display: inline-block; white-space: nowrap; /* 「必須」の途中で折り返させない */
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--comfort-bg);
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.choice input { accent-color: var(--o2); }
.field-actions { margin-top: 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-form button[disabled] { opacity: .5; cursor: not-allowed; }

/* ============================ 設置報告書サンプル（vets/report） ============================ */
.report-sample {
  position: relative;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  overflow: hidden;
}
.report-sample .rs-watermark {
  position: absolute; top: 14px; right: -30px;
  transform: rotate(20deg);
  background: var(--stress); color: #fff;
  font-weight: 700; letter-spacing: .3em; font-size: 12px;
  padding: 4px 40px; opacity: .85;
}
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  border-bottom: 1.5px solid var(--steel); padding-bottom: 10px; }
.rs-brand { display: flex; align-items: center; gap: 10px; }
.rs-brand .rs-mark { font-size: 26px; }
.rs-shop { font-weight: 700; color: var(--steel-deep); letter-spacing: .03em; }
.rs-sub { font-size: 12px; color: var(--ink-soft); }
.rs-doc-no { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.rs-title {
  text-align: center; font-weight: 700; font-size: 18px; letter-spacing: .12em;
  color: var(--steel-deep); margin: 14px 0 12px;
}
.rs-addressee { font-size: 15px; font-weight: 700; letter-spacing: .04em; margin: 0 0 4px; }
.rs-lead { font-size: 13.5px; color: var(--ink); margin: 0 0 12px; }
.rs-sec { border-left: 3px solid var(--accent); padding-left: 10px; margin: 16px 0 8px; }
.rs-sec .rs-sec-title { display: block; font-weight: 700; font-size: 14px; color: var(--steel-deep); }
.rs-kv { width: 100%; border-collapse: collapse; margin: 4px 0; font-size: 13.5px; }
.rs-kv th, .rs-kv td { border-bottom: 1px solid var(--hair); padding: 8px 6px; text-align: left; vertical-align: top; }
.rs-kv th { background: #F6EFE1; color: var(--steel-deep); width: 34%; font-weight: 600; white-space: nowrap; }
.rs-stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 8px 0; }
.rs-stat { border: 1px solid var(--hair); border-top: 2px solid var(--steel); border-radius: 8px; padding: 10px 12px; }
.rs-stat-label { display: block; font-size: 11.5px; color: var(--ink-soft); }
.rs-stat-value { font-size: 17px; font-weight: 700; color: var(--steel-deep); font-variant-numeric: tabular-nums; }
.rs-stat-unit { font-size: 12px; font-weight: 500; color: var(--ink-soft); margin-left: .2em; }
.rs-opt {
  display: inline-block; border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 8px; margin: 0 6px 4px 0; font-size: 12.5px; color: #A9A18C;
}
.rs-opt-on { color: var(--steel-deep); border-color: var(--steel); background: #EEF1F2; font-weight: 600; }
.rs-note { border: 1px solid var(--hair); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; }
.rs-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-top: 1.5px solid var(--steel); margin-top: 16px; padding-top: 10px; flex-wrap: wrap; }
.rs-foot-shop { font-weight: 700; font-size: 13.5px; color: var(--steel-deep); }
.rs-foot-note { font-size: 11.5px; color: var(--ink-soft); }

/* ============================ フッター ============================ */
.site-footer {
  margin-top: 20px;
  background: var(--steel-deep);
  color: #E9E4D8;
  border-top: 4px solid var(--accent);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--pad); }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 24px; }
.site-footer h3 { font-size: 14px; color: #fff; margin: 0 0 10px; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #CFC9BB; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand .fb-name { font-weight: 700; color: #fff; font-size: 15px; }
.footer-brand p { font-size: 13px; color: #B7B1A4; margin: 8px 0 0; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 22px; padding-top: 16px; font-size: 12px; color: #9A948860;
  color: #9A9488;
}
.footer-legal .fl-qr { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.footer-legal .fl-qr img { width: 76px; height: 76px; background: #fff; border-radius: 6px; padding: 4px; }

/* 旧サイトからの移転告知など、注意帯 */
.notice-band {
  background: var(--comfort-bg);
  border-bottom: 1px solid var(--line);
  color: var(--caution);
  font-size: 13px;
  text-align: center;
  padding: 8px var(--pad);
}

/* スキップリンク（アクセシビリティ） */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--steel-deep); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================ PC 向け拡張（min-width） ============================ */
@media (min-width: 720px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 19px; }
  .sec-head h2 { font-size: 26px; }

  .header-inner { gap: 18px; }
  .vets-cta { display: inline-block; order: 3; }
  .nav-toggle { display: none; }
  .site-nav { width: auto; }
  .site-nav ul { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 2px; align-items: center; justify-content: flex-end; }
  .site-nav li { border-top: none; }
  .site-nav a { padding: 8px 8px; border-radius: 8px; font-size: 14px; }
  .site-nav a:hover { background: #F1E9D8; text-decoration: none; }
  .site-nav a.is-cta {
    background: var(--accent-deep);
    color: #fff;
    padding: 8px 14px;
  }
  .site-nav a.is-cta:hover { background: var(--accent-deep); opacity: .92; }

  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .price-lines { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field-narrow { max-width: 220px; }
  .estimate-inputs { grid-template-columns: 1fr 1fr; }
  .estimate-inputs .field-narrow { max-width: 220px; }
  .rs-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 2fr 1fr 1fr; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
  .hero-visual { margin-top: 0; }
}

@media (min-width: 720px) and (prefers-reduced-motion: no-preference) {
  /* PC ではヒーローを2カラムに */
}

/* モーション配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gauge .g-fill { transition: none; }
}

/* ============================ 作り替え（Part A）追加スタイル ============================ */

/* フッターのクレジット表記 */
.footer-credit {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

/* ヒーローの2キャラ並び */
.hero-chars {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: center;
}
.hero-chars img { width: 48%; height: auto; }

/* 即答バー */
.quick-facts-sec { padding: 18px 0 6px; }
.quick-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.qf-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.qf-head {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .04em;
  color: #fff;
  background: var(--accent-deep);
  border-radius: 6px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.qf-main { margin: 4px 0; font-weight: 700; font-size: 18px; }
.qf-sub { margin: 2px 0; font-size: 14px; color: var(--ink-soft); }
.qf-cell .btn { margin-top: 8px; }
.qf-note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }

/* 案内枠（ルート選び／お申込み分岐） */
.callout {
  background: var(--comfort-bg);
  border-left: 4px solid var(--accent-deep);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  line-height: 1.7;
}

/* ご利用の流れダイジェスト（トップ） */
.flow-digest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 16px 0;
}
.fd-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.fd-char { width: 88px; height: auto; float: right; margin: 0 0 8px 12px; }
.fd-card h3 { margin: 0 0 6px; font-size: 17px; }
.fd-card p { margin: 0; }
.flow-digest-common {
  background: var(--o2-bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
}

/* お知らせ最新リスト（トップ） */
.news-latest { list-style: none; padding: 0; margin: 0 0 12px; }
.news-latest li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  flex-wrap: wrap;
}
.nl-date { color: var(--ink-soft); font-size: 14px; min-width: 6em; }

/* 締めCTA */
.closing-cta { text-align: center; padding: 8px 0; }
.closing-cta h2 { font-size: 24px; margin: 0 0 8px; }
.closing-cta p { max-width: 40em; margin: 0 auto 16px; }

/* ご利用の流れページ ルートカード */
.flow-routes { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 16px 0; }
.route-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.route-card .hero-actions { margin-top: auto; padding-top: 14px; }
.rc-head { display: flex; align-items: center; gap: 12px; }
.rc-char { height: 90px; width: auto; flex: 0 0 auto; }
.rc-head h2 { font-size: 19px; margin: 0; }
.rc-sub { display: inline-block; }

/* 冒頭ガイド：配送方法別のメリット・デメリット比較 */
.guide-compare { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0 22px; }
.guide-compare h3 { font-size: 16px; }
.pm-list { list-style: none; margin: 10px 0 0; padding: 0; }
.pm-list li { position: relative; padding: 4px 0 4px 26px; font-size: 14px; }
.pm-list li::before { position: absolute; left: 0; font-weight: 700; }
.pm-plus::before { content: "○"; color: #2F7A6E; }
.pm-minus::before { content: "△"; color: #C9863A; }
@media (min-width: 720px) {
  .guide-compare { grid-template-columns: 1fr 1fr; }
}

/* かんたん診断（CSSラジオ式・JS不要） */
.fq { margin: 16px 0 6px; }
.fq-title { font-size: 20px; margin: 0 0 4px; }
.fq-lede { font-size: 13.5px; color: var(--muted, #6b6257); margin: 0 0 8px; }
.fq-q { margin: 14px 0 0; }
.fq-q2 { display: none; }
.fq-label { font-weight: 700; font-size: 14.5px; margin: 0 0 8px; }
.fq-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.fq-opts label {
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  padding: 8px 16px; font-size: 14px; cursor: pointer; user-select: none;
  transition: background .15s, border-color .15s, color .15s;
}
.fq-opts label:hover { border-color: #2F7A6E; }
.fq-opts input { position: absolute; opacity: 0; pointer-events: none; }
.fq-opts label:has(input:checked) { background: #2F7A6E; border-color: #2F7A6E; color: #fff; }
.fq-opts label:has(input:focus-visible) { outline: 2px solid #C9863A; outline-offset: 2px; }
.fq-result { display: none; margin-top: 16px; background: var(--tint, #F8F1E4); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 18px; }
.fq-result h3 { margin: 0 0 6px; font-size: 16.5px; color: #2F7A6E; }
.fq-result p { margin: 0 0 12px; font-size: 14px; }
.fq-reset { display: none; margin-top: 12px; border: 0; background: none; color: var(--accent-deep, #A66A24); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
@keyframes fq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fq:has(#fq1-a:checked) #fq-res-a { display: block; animation: fq-in .25s ease; }
.fq:has(#fq1-b:checked) .fq-q2 { display: block; animation: fq-in .25s ease; }
.fq:has(#fq1-b:checked):has(#fq2-a:checked) #fq-res-b { display: block; animation: fq-in .25s ease; }
.fq:has(#fq1-b:checked):has(#fq2-b:checked) #fq-res-c { display: block; animation: fq-in .25s ease; }
.fq:has(input:checked) .fq-reset { display: inline-block; }
.route-steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.route-steps li {
  position: relative;
  padding: 10px 0 10px 40px;
  border-bottom: 1px solid var(--hair);
  counter-increment: step;
}
.route-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  background: var(--accent-deep); color: #fff; border-radius: 50%;
  font-size: 14px; font-weight: 700;
}
.rs-title { display: block; font-weight: 700; }
.rs-body { display: block; font-size: 14.5px; color: var(--ink); }
.rc-note { font-size: 13.5px; color: var(--ink-soft); margin: 12px 0 0; }
.return-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }

/* 規約ページ */
.terms-actions { margin-top: 10px; }
.terms-body h1 { font-size: 22px; }
.terms-body h2 { font-size: 18px; margin-top: 24px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.terms-body ol { padding-left: 1.4em; }
.terms-body li { margin: 4px 0; }
.terms-version { margin-top: 28px; font-size: 14px; color: var(--ink-soft); }

/* 同意ボックス（お申込み） */
.terms-scroll {
  height: 200px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.terms-fulllink { margin: 8px 0; font-size: 14px; }
.choice-terms { margin-top: 6px; font-weight: 500; }

/* お申込み 確認・完了ステップ */
.order-summary .order-dl {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 6px 12px;
  margin: 12px 0;
}
.order-summary dt { color: var(--ink-soft); font-size: 14px; }
.order-summary dd { margin: 0; }
.order-confirm-estimate { margin: 12px 0; }
.order-delivery-note {
  background: var(--o2-bg);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
}
.order-confirm-actions { flex-wrap: wrap; gap: 10px; }
.order-receipt-ver { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }

/* equipment 使い方 動画 façade */
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--steel-deep);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-top: 16px;
}
.vf-thumb { width: 100%; height: 100%; object-fit: cover; }
.vf-play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; line-height: 64px; text-align: center;
  background: rgba(0,0,0,.55); color: #fff; border-radius: 50%;
  font-size: 24px;
}
.vf-iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-prep {
  margin-top: 16px;
  background: var(--comfort-bg);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--ink-soft);
}

/* equipment 酸素濃度計（GX-3R）製品写真 */
.gx3r-photo {
  float: right;
  width: 190px;
  height: auto;
  margin: 0 0 12px 20px;
  border-radius: var(--radius);
  background: #fff;
}
@media (max-width: 720px) {
  .gx3r-photo { width: 132px; margin: 0 0 10px 14px; }
}

/* 料金05 オプション区分バッジ */
.opt-kind {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  padding: 1px 9px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: 1px;
  white-space: nowrap;
}
.opt-kind-rental   { background: #E3EFEA; color: #2F7A6E; }
.opt-kind-purchase { background: #F6E7D2; color: #9A6524; }
.opt-kind-service  { background: #E8EDF0; color: #3B4248; }

/* howto 実例動画の2列グリッド */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.video-grid figure { margin: 0; }
.video-caption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* method ページ 追加 */
.method-subtitle { font-family: var(--font-serif); color: var(--accent-deep); font-size: 15px; margin: 2px 0 10px; }
.mc-sublabel { font-size: 14px; color: var(--ink-soft); font-weight: 500; margin-left: 4px; }
.method-disclaimer { font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }

/* ============================ 印刷用（@media print） ============================ */
@media print {
  .site-header, .site-nav, .site-footer, .notice-band,
  .skip-link, .btn, .field-actions, .hero-actions,
  .order-confirm-actions, .terms-actions { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  .wrap { max-width: 100%; padding: 0; }
  section { padding: 0 !important; }
  a { color: #000; text-decoration: underline; }

  /* 規約ページ：本文＋版数のみ */
  .terms-body { color: #000; }

  /* お申込み控え印刷：確認 or 完了の印字領域だけ残す */
  body.printing-order .order-step[hidden] { display: none !important; }
  body.printing-order .order-step-input { display: none !important; }
  body.printing-order .order-price,
  body.printing-order .order-branch,
  body.printing-order .form-fallback,
  body.printing-order .prose { display: none !important; }
  .terms-scroll { height: auto !important; overflow: visible !important; border: none; }
}

/* ============================ PC 向け（追加分） ============================ */
@media (min-width: 720px) {
  .quick-facts { grid-template-columns: repeat(3, 1fr); }
  .flow-digest { grid-template-columns: 1fr 1fr; }
  .flow-routes { grid-template-columns: 1fr 1fr; }
  .return-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== 2026-07-05 トップ細部修正（ヒーローチップ・即答バー改・静音・シミュレーター） ===== */

/* 読みやすい自動改行 */
h1, h2, h3, .qf-head, .tc-label { text-wrap: balance; }
p, li, .lede, .price-note, .tc-note { text-wrap: pretty; }

/* ヒーロー差別化チップ */
.hero-points { list-style: none; margin: 18px 0 4px; padding: 0; display: grid; gap: 10px; }
.hero-points li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; display: flex; align-items: baseline; gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-points .hpt-title {
  flex: 0 0 auto; font-weight: 700; color: var(--o2-deep, #1c6b62);
  border-bottom: 2px solid var(--amber, #c9622e); padding-bottom: 1px;
  white-space: nowrap;
}
.hero-points .hpt-body { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }
.hero-points-note { font-size: 11.5px; color: var(--ink-soft); margin: 6px 0 0; }

/* 即答バー：2行構成・強調 */
.qf-row { margin: 6px 0; font-size: 13.5px; line-height: 1.6; }
.qf-row strong { font-size: 14.5px; color: var(--steel-deep); }
.qf-strong { font-weight: 700; color: var(--steel-deep); }

/* 即答バー内ミニシミュレーター */
.qf-sim { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.qf-sim summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--amber, #c9622e);
  list-style: none;
}
.qf-sim summary::before { content: "▸ "; }
.qf-sim[open] summary::before { content: "▾ "; }
.qf-sim summary::-webkit-details-marker { display: none; }
.qfs-body { padding: 8px 2px 2px; }
.qfs-body label { font-size: 13px; display: block; margin-bottom: 4px; }
.qfs-body input[type="range"] { width: 100%; }
.qfs-result { font-size: 13px; margin: 8px 0 2px; }
.qfs-result strong { font-size: 14.5px; color: var(--steel-deep); }
.qfs-note { font-size: 11px; color: var(--ink-soft); margin: 4px 0 0; }

/* 機器写真・スペック表 */
.equip-photo { margin: 16px 0; text-align: center; }
.equip-photo img { max-width: 100%; height: auto; }
.spec-table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.spec-table th { width: 8em; background: var(--cream-deep, #f4ecdf); font-weight: 700; white-space: nowrap; }
.spec-note { font-size: 11.5px; color: var(--ink-soft); }

/* 騒音レベルの目安グラフ */
.noise-scale { margin: 16px 0 4px; display: grid; gap: 8px; }
.ns-row { display: grid; grid-template-columns: 3.2em 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.ns-db { grid-row: 1 / span 2; font-weight: 700; font-size: 13px; color: var(--steel-deep); }
.ns-bar { height: 12px; border-radius: 6px; background: var(--line); }
.ns-ours .ns-bar { background: var(--amber, #c9622e); }
.ns-label { font-size: 12.5px; color: var(--ink-soft); }
.ns-ours .ns-label { color: var(--steel-deep); }
.ns-note { font-size: 11.5px; color: var(--ink-soft); }
.measure-videos { padding-left: 1.2em; }
.measure-videos li { margin: 6px 0; }

/* 流れルートカードのリード */
.rc-lead { font-size: 14.5px; font-weight: 700; color: var(--o2-deep, #1c6b62); margin: 2px 0 10px; }

@media (min-width: 720px) {
  .hero-points { grid-template-columns: repeat(3, 1fr); }
  .hero-points li { flex-direction: column; gap: 6px; }
}

/* 実測比較ブロック（equipment） */
.cmp-block { margin: 20px 0; }
.cmp-block h4 { font-size: 14.5px; margin: 0 0 8px; color: var(--steel-deep); }

/* ===== 2026-07-05 細部修正第2弾 ===== */

/* 即答バー：セルをflex縦積みにし、CTAボタンを下端固定 */
.qf-cell { display: flex; flex-direction: column; }
.qf-cell .btn { margin-top: auto; align-self: flex-start; }

/* METHODグレード切替（radio + :checked、JS不要） */
.grade-switch .gs-radio { display: none; }
.gs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.gs-tab {
  cursor: pointer; font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
}
.gs-panels .gs-panel { display: none; }
#grade-1:checked ~ .gs-tabs label[for="grade-1"],
#grade-2:checked ~ .gs-tabs label[for="grade-2"],
#grade-3:checked ~ .gs-tabs label[for="grade-3"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
#grade-1:checked ~ .gs-panels .gs-p1,
#grade-2:checked ~ .gs-panels .gs-p2,
#grade-3:checked ~ .gs-panels .gs-p3 { display: block; }
.mc-sublabel { font-size: 13px; color: var(--ink-soft); font-weight: 700; margin-left: 4px; }
.qf-mini { font-size: 11.5px; color: var(--ink-soft); line-height: 1.55; display: inline-block; margin-top: 2px; }
p.qf-mini { display: block; margin: 8px 0 0; }

/* ===== 2026-07-05 仕上げ：ヒーロースライド・アイキャッチ・フェードイン ===== */

/* ヒーロー：クロスフェードスライド */
.hero-slides { position: relative; min-height: 260px; }
.hero-slides .hs-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.hero-slides .hs-1 { animation-delay: 0s; }
.hero-slides .hs-2 { animation-delay: 6s; }
.hero-slides .hs-3 { animation-delay: 12s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

/* セクション見出しのアイキャッチ */
.sec-head-visual { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-eyecatch { width: 120px; height: auto; flex: 0 0 auto; }
.vets-banner { position: relative; }
.vb-eyecatch { position: absolute; top: 14px; right: 16px; width: 96px; opacity: .95; }

/* スクロールフェードイン（JSで .is-visible を付与） */
.fade-sec { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.fade-sec.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-slides .hs-slide { animation: none; opacity: 0; }
  .hero-slides .hs-1 { opacity: 1; }
  .fade-sec { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 719px) {
  .sec-eyecatch { width: 88px; }
  .vb-eyecatch { width: 72px; top: 10px; right: 10px; }
}
/* アニメ停止環境でもヒーローが空にならないフォールバック（動作時はkeyframesが優先） */
.hero-slides .hs-1 { opacity: 1; }
.cta-eyecatch { width: 100px; height: auto; margin: 0 auto 10px; display: block; }

/* 下層ページのヘッド（h1右にアイキャッチ） */
.page-head-visual { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-head-visual > div { min-width: 0; }
.page-head-visual .sec-eyecatch { width: 140px; }
/* 本文(prose)先頭ページ用：右にフロート */
.prose-eyecatch { float: right; width: 130px; margin: 0 0 8px 16px; }
@media (max-width: 719px) {
  .page-head-visual .sec-eyecatch { width: 96px; }
  .prose-eyecatch { width: 92px; }
}

/* シミュレーションの必須費用行 */
.req-choice { background: var(--paper, #F9F5EC); border-radius: 8px; opacity: .92; cursor: default; }
.req-choice input[type="checkbox"] { accent-color: #2F7A6E; }

/* お支払い方法（07） */
.pay-blocks { display: grid; gap: 14px; margin-top: 14px; }
.pay-block h3 { margin: 0 0 8px; font-size: 16px; }
.pay-block .pb-sub { margin-left: 10px; font-size: 12px; font-weight: normal; color: var(--muted, #6b7278); }
.pay-block ul { margin: 0; padding-left: 20px; }
.pay-block li + li { margin-top: 6px; }

/* お申込み：沖縄県・離島の電話受付ご案内モーダル */
.order-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(59, 66, 72, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.order-modal {
  background: #FFFDF8; border-radius: 14px; border: 1px solid var(--line);
  max-width: 460px; width: 100%; padding: 22px 22px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.order-modal h3 { margin: 0 0 10px; font-size: 18px; color: var(--accent-deep); }
.order-modal p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; }
.order-modal-tel { text-align: center; }
.order-modal-tel .btn { width: 100%; }
.order-modal-note { font-size: 13px; color: var(--ink-soft, #6b7278); }
.order-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.order-hokkaido-note { font-size: 13.5px; color: var(--accent-deep); margin-top: 8px; }

/* ===== モバイル専用改行（デスクトップでは無効） ===== */
.sp-br { display: none; }
@media (max-width: 640px) { .sp-br { display: inline; } }

/* 見出し等の折返し単位（語中折れ防止。flowの.rc-subと同じ考え方の汎用版） */
.nb { display: inline-block; }

/* ===== 協力動物病院 導線（紹介バー・マルキー帯・絞り込み） ===== */

/* 「動物病院からのご紹介でお越しの方へ」スリムな1行 callout */
.referral-bar-sec { padding: 8px 0 0; }
.referral-bar { margin: 0; font-size: 14.5px; }
.referral-bar strong { color: var(--accent-deep); }

/* トップの協力病院名スクロール帯（マルキー） */
.partner-marquee-sec { padding: 8px 0 20px; }
.partner-marquee-sec .pm-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.partner-marquee-sec .pm-head h2 { margin: 4px 0 0; font-size: 19px; }
.partner-marquee {
  display: block; overflow: hidden; text-decoration: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--comfort-bg); padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partner-marquee:hover { text-decoration: none; }
.pm-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  will-change: transform; animation: pm-scroll 75s linear infinite;
}
.partner-marquee:hover .pm-track { animation-play-state: paused; }
.pm-dup { display: inline-flex; align-items: center; }
.pm-item {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 0 18px; font-size: 14px; color: var(--steel-deep);
  border-right: 1px solid var(--line);
}
.pm-item .pm-pref { font-size: 12px; font-weight: 700; color: var(--accent-deep); }
@keyframes pm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  .pm-track { animation: none; }
}

/* /hospitals/ 絞り込み検索ボックス */
.hospital-filter-wrap { margin: 0 0 16px; }
.hospital-filter-wrap label {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--steel-deep); margin-bottom: 6px;
}
.hospital-filter-wrap input {
  width: 100%; max-width: 420px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px;
}
.hospital-filter-wrap input:focus { outline: none; border-color: var(--accent); }

/* order: かかりつけ病院が協力動物病院と一致したときの成功表示 */
.vet-match-ok {
  margin: 6px 0 0; font-size: 13px; font-weight: 600;
  color: var(--o2); line-height: 1.6;
}

/* ヘッダ直下の案内バンド（病院お持ち帰りレンタルへの控えめな導線・全ページ共通） */
.pickup-band {
  background: var(--o2-bg);
  border-bottom: 1px solid var(--line);
}
.pickup-band .wrap { padding-top: 7px; padding-bottom: 7px; }
.pickup-band a {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--o2); line-height: 1.6; text-align: center;
}
.pickup-band a:hover { text-decoration: underline; }

/* order/pickup: STEP見出しと注意喚起ボックス */
.pickup-step-head {
  display: flex; align-items: baseline; gap: 10px; margin: 28px 0 12px;
}
.pickup-step-num {
  font-size: 13px; font-weight: 700; color: #fff; background: var(--o2);
  border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.pickup-note {
  margin: 10px 0 0; padding: 10px 14px; font-size: 13px; line-height: 1.7;
  background: var(--o2-bg); border-left: 3px solid var(--o2); border-radius: 4px;
}
