/* 機種別ガイド・機種ページの共通スタイル（トップ index.html の色・文字・余白に合わせた。元: model-pages/preview/model-page.css） */
:root { --ink:#202523; --muted:#626964; --line:#cbd0cd; --paper:#f0f2ef; --accent:#2F5D50; --accent-soft:#e8efeb; --warn:#8a5a00; --warn-soft:#fbf4e4; --max:1200px; --text:820px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; background:#fff; color:var(--ink); font-family:system-ui,-apple-system,"Hiragino Sans","Noto Sans JP","Yu Gothic","Meiryo",sans-serif; font-size:16px; line-height:1.9; letter-spacing:.025em; }
a { color:inherit; text-underline-offset:5px; }
a:focus-visible { outline:3px solid currentColor; outline-offset:6px; }
.skip { position:absolute; left:-9999px; }
.skip:focus { left:16px; top:16px; z-index:100; padding:8px 16px; background:#fff; border:2px solid var(--accent); }
.wrap { width:min(calc(100% - 112px),var(--max)); margin-inline:auto; }
.text { max-width:var(--text); }

/* ヘッダー（現行と同じ形＋小さなナビ） */
.site-header { background:#fff; border-bottom:1px solid var(--line); }
.header-inner { min-height:88px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:16px; text-decoration:none; font-size:14px; font-weight:750; }
.brand-mark { display:block; width:26px; height:30px; flex-shrink:0; border-left:8px solid var(--accent); border-bottom:8px solid var(--accent); }
.brand small { display:block; font-size:11px; font-weight:600; color:var(--accent); letter-spacing:.08em; }
.nav { display:flex; align-items:center; gap:26px; font-size:13px; font-weight:700; }
.nav a { text-decoration:none; }
.nav a[aria-current="page"] { color:var(--accent); border-bottom:2px solid var(--accent); }
.header-link { padding:10px 22px; border:1px solid var(--accent); border-radius:999px; color:var(--accent); font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.header-link:hover { background:#e4eae6; }

/* パンくず */
.crumbs { padding:18px 0 0; font-size:12px; color:var(--muted); }
.crumbs ol { display:flex; flex-wrap:wrap; gap:4px 10px; margin:0; padding:0; list-style:none; }
.crumbs li + li::before { content:"＞"; margin-right:10px; color:var(--line); }
.crumbs a { color:var(--muted); }

/* 題名まわり */
.model-head { padding:44px 0 56px; }
.eyebrow { margin:0 0 18px; font-size:12px; font-weight:700; letter-spacing:.2em; color:var(--accent); }
h1 { margin:0; font-size:clamp(34px,4.6vw,60px); font-weight:800; line-height:1.3; letter-spacing:-.04em; }
.status { display:inline-flex; align-items:center; gap:8px; margin:22px 0 0; padding:5px 14px; border:1px solid var(--accent); border-radius:4px; font-size:13px; font-weight:750; line-height:1.6; }
.status::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.status.record { background:var(--accent); color:#fff; }
.status.record::before { background:#fff; }
.status.consult { border-color:var(--muted); color:var(--ink); background:#fff; }
.status.consult::before { background:transparent; border:2px solid var(--muted); }
.status.available { background:var(--accent-soft); color:var(--accent); }
.answer { margin:26px 0 0; max-width:var(--text); font-size:clamp(18px,2vw,22px); font-weight:800; line-height:1.75; letter-spacing:0; }
.meta { margin:18px 0 0; font-size:12px; color:var(--muted); }
.meta span { display:inline-block; margin-right:18px; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px; margin-top:28px; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:54px; padding:13px 26px; border-radius:999px; background:var(--accent); color:#fff; font-size:14px; font-weight:750; text-decoration:none; }
.button::after { content:"↗"; margin-left:20px; font-size:18px; }
.button:hover { background:#244a40; }
.button.secondary { background:#fff; color:var(--accent); border:1.5px solid var(--accent); }
.button.secondary:hover { background:var(--accent-soft); }
.textlink { font-size:13px; font-weight:700; color:var(--accent); }

/* 注記 */
.notice { margin:34px 0 0; max-width:var(--text); padding:16px 20px; border-left:3px solid var(--muted); background:var(--paper); font-size:13px; line-height:1.85; color:#3b423e; }
.notice.warn { border-color:var(--warn); background:var(--warn-soft); }

/* 事実カード */
.facts { margin:34px 0 0; max-width:var(--text); border-top:2px solid var(--accent); }
.facts dl { display:grid; grid-template-columns:230px 1fr; margin:0; }
.facts dt,.facts dd { margin:0; padding:13px 0; border-bottom:1px solid var(--line); font-size:14px; line-height:1.8; }
.facts dt { font-weight:750; color:var(--accent); padding-right:16px; }
.facts-title { margin:18px 0 4px; font-size:17px; line-height:1.6; letter-spacing:0; font-weight:800; }
.facts-more { margin:12px 0 0; font-size:13px; color:#3b423e; }
.facts-more a { color:var(--accent); font-weight:700; }
/* 製品写真（メーカー公式サイト）と要点を横に並べる。スマホでは写真→要点の順に縦に */
.photo-facts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:start; margin-top:34px; }
.photo-facts .facts { margin-top:0; }
.model-photos { margin:0; }
.model-photos .frame { display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line); padding:12px; }
.model-photos .frame.main { min-height:300px; }
.model-photos img { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; }
.model-photos img.main { max-height:560px; }
.photo-subs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:10px; }
.photo-subs .frame { aspect-ratio:4/3; }
.photo-subs img { height:100%; }
.model-photos figcaption { margin-top:8px; font-size:12px; color:var(--muted); }
/* 実績動画（対応状況の節）。幅は本文の幅まで・スマホでもはみ出さない。自動再生はしない */
.model-video { margin:24px 0 28px; max-width:var(--text); }
.model-video video { display:block; width:100%; max-width:100%; height:auto; aspect-ratio:16/9; background:#000; }
.model-video figcaption { margin-top:8px; font-size:12px; color:var(--muted); }
.model-video.sub { max-width:560px; margin-top:8px; }
.scope { margin:22px 0 0; max-width:var(--text); font-size:14px; color:#3b423e; }

/* 本文 */
main section { padding:72px 0; border-top:1px solid var(--line); }
main section.tint { background:var(--paper); border-top:0; }
h2 { margin:0 0 22px; max-width:var(--text); font-size:clamp(26px,3vw,38px); line-height:1.5; letter-spacing:-.035em; font-weight:780; }
h3 { margin:38px 0 12px; font-size:19px; line-height:1.6; letter-spacing:-.01em; }
p { margin:0 0 18px; max-width:var(--text); }
.lead { font-weight:700; }
ul.plain { max-width:var(--text); margin:0 0 18px; padding-left:1.3em; }
ul.plain li { margin-bottom:6px; }
blockquote { max-width:var(--text); margin:0 0 18px; padding:14px 20px; border-left:3px solid var(--accent); background:#fff; font-size:14px; line-height:1.85; color:#3b423e; }
main section.tint blockquote { background:#fff; }
blockquote cite { display:block; margin-top:6px; font-size:12px; font-style:normal; color:var(--muted); }
sup.src { font-size:11px; font-weight:700; color:var(--accent); margin-left:2px; }
sup.src a { text-decoration:none; }

/* 表 */
.table-wrap { max-width:100%; overflow-x:auto; margin:22px 0 10px; -webkit-overflow-scrolling:touch; }
table { width:100%; border-collapse:collapse; font-size:14px; line-height:1.75; background:#fff; }
caption { caption-side:top; text-align:left; padding:0 0 10px; font-size:13px; font-weight:750; color:var(--accent); }
th,td { padding:12px 14px; border:1px solid var(--line); text-align:left; vertical-align:top; }
thead th { background:var(--accent); color:#fff; font-weight:700; border-color:var(--accent); white-space:nowrap; }
tbody th { background:var(--paper); font-weight:750; white-space:nowrap; }
td.ours { background:var(--accent-soft); }
th.ours { background:#244a40; }
.orig { font-family:ui-monospace,"SF Mono",Menlo,monospace; font-size:13px; letter-spacing:0; }
.table-note { max-width:var(--text); margin:8px 0 0; font-size:12px; line-height:1.8; color:var(--muted); }

/* 対応状況の箱 */
.ours-box { max-width:var(--text); margin:8px 0 0; padding:26px 30px; border:1px solid var(--accent); background:#fff; }
.ours-box h3 { margin-top:0; }
.ours-box p:last-child { margin-bottom:0; }

/* 流れ */
.steps { display:grid; grid-template-columns:repeat(4,1fr); counter-reset:step; margin:44px 0 0; max-width:var(--max); }
.step { position:relative; padding:30px 22px 0 0; border-top:1px solid var(--accent); counter-increment:step; }
.step::before { content:"0" counter(step); position:absolute; top:-19px; left:0; padding-right:16px; background:var(--paper); color:var(--accent); font-size:22px; line-height:36px; }
.step h3 { margin:10px 0 8px; font-size:16px; }
.step p { margin:0; color:var(--muted); font-size:13px; }

/* FAQ */
.faq { max-width:var(--text); }
.faq details { border-bottom:1px solid var(--line); }
.faq details:first-of-type { border-top:1px solid var(--line); }
.faq summary { position:relative; padding:20px 44px 20px 0; font-weight:750; font-size:16px; line-height:1.7; cursor:pointer; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"＋"; position:absolute; right:6px; top:20px; color:var(--accent); font-weight:400; font-size:20px; line-height:1.4; }
.faq details[open] summary::after { content:"－"; }
.faq details p { margin:0 0 20px; font-size:15px; }

/* 関連機種 */
.related { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:26px 0 0; padding:0; list-style:none; }
.related a { display:block; height:100%; padding:20px 22px; border:1px solid var(--line); background:#fff; text-decoration:none; }
.related a:hover { border-color:var(--accent); }
.related b { display:block; font-size:16px; }
.related span { display:block; margin-top:4px; font-size:12px; color:var(--muted); line-height:1.7; }

/* 相談案内 */
.cta { background:var(--accent); color:#fff; border-top:0; }
.cta h2 { color:#fff; }
.cta p { color:#e8efeb; }
.cta .button { background:#fff; color:var(--accent); }
.cta .button:hover { background:#e4eae6; }
.cta .button.secondary { background:transparent; color:#fff; border-color:#fff; }
.cta .button.secondary:hover { background:rgba(255,255,255,.12); }
.cta .tel { display:block; margin-top:22px; font-size:13px; color:#e8efeb; }
.cta .tel a { font-size:22px; font-weight:600; text-decoration:none; margin-left:8px; }

/* 出典 */
.sources ol { max-width:var(--text); margin:0; padding-left:1.6em; font-size:13px; line-height:1.85; color:#3b423e; }
.sources li { margin-bottom:8px; overflow-wrap:anywhere; }
.sources .lvl { color:var(--muted); }

/* フッター */
footer { padding:56px 0 28px; background:#202523; color:#fff; }
.footer-lead { margin:0 0 28px; max-width:var(--text); font-size:14px; color:#e0e5e2; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.footer-company { margin:0 0 14px; font-size:16px; font-weight:750; }
address { font-style:normal; font-size:13px; color:#cbd0cd; }
.footer-meta { font-size:12px; color:#cbd0cd; }
.footer-meta p { margin:0 0 8px; }
.tm-note { margin:34px 0 0; color:#cbd0cd; font-size:12px; max-width:none; }
.copyright { margin:18px 0 0; padding-top:18px; border-top:1px solid #555c57; font-size:10px; color:#cbd0cd; max-width:none; }


@media(max-width:1000px) {
  .photo-facts { grid-template-columns:1fr; gap:24px; }
  .model-photos { max-width:720px; }
  .wrap { width:calc(100% - 64px); }
  .nav a:not(.header-link) { display:none; }
  .steps { grid-template-columns:repeat(2,1fr); row-gap:44px; }
  .related { grid-template-columns:repeat(2,1fr); }
}

/* 機種別ガイド（/robots） */
.label-help { display:grid; grid-template-columns:240px 1fr; max-width:var(--text); margin:26px 0 0; border-top:2px solid var(--accent); }
.label-help dt,.label-help dd { margin:0; padding:16px 0; border-bottom:1px solid var(--line); font-size:14px; line-height:1.8; }
.label-help dt .status { margin:0; }
tbody th a { color:var(--accent); font-weight:750; }
td .status { margin:0; font-size:12px; white-space:nowrap; }

@media(max-width:760px) {
  .label-help { grid-template-columns:1fr; }
  .label-help dt { padding-bottom:0; border-bottom:0; }
  .label-help dd { padding-top:8px; }
  .wrap { width:calc(100% - 40px); }
  .header-inner { min-height:68px; gap:12px; }
  .brand { gap:9px; font-size:11px; line-height:1.5; }
  .brand small { font-size:10px; }
  .brand-mark { width:20px; height:25px; border-width:6px; }
  .header-link { padding:8px 12px; font-size:11px; }
  .crumbs { padding-top:12px; font-size:11px; }
  .model-head { padding:22px 0 40px; }
  .eyebrow { margin-bottom:10px; font-size:10px; }
  h1 { font-size:32px; line-height:1.35; }
  .status { margin-top:14px; font-size:12px; }
  .answer { margin-top:16px; font-size:17px; line-height:1.7; }
  .meta { margin-top:12px; font-size:11px; }
  .meta span { display:block; margin:0; }
  .actions { margin-top:18px; }
  .button { width:100%; min-height:50px; }
  main section { padding:52px 0; }
  h2 { font-size:25px; }
  h3 { font-size:17px; }
  .photo-facts { grid-template-columns:1fr; gap:22px; margin-top:26px; }
  .facts dl { grid-template-columns:1fr; }
  .facts dt { padding-bottom:0; border-bottom:0; }
  .facts dd { padding-top:2px; }
  table { font-size:13px; min-width:560px; }
  th,td { padding:10px 11px; }
  caption { display:block; width:calc(100vw - 40px); position:sticky; left:0; }
  tbody th { white-space:normal; min-width:150px; }
  .table-wrap::before { content:"表は横に動かせます →"; display:block; margin-bottom:6px; font-size:11px; color:var(--muted); }
  .ours-box { padding:20px 18px; }
  .steps { grid-template-columns:1fr; row-gap:0; margin-left:15px; }
  .step { padding:0 0 28px 30px; border-top:0; border-left:1px solid var(--accent); }
  .step::before { top:0; left:-15px; padding:0; width:30px; font-size:17px; line-height:30px; }
  .step h3 { margin-top:0; }
  .related { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:26px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
