@charset "utf-8";
/* =============================================================
   我が家のあんしん防犯ナビ  共通スタイル
   ターゲット: 50代以上 / 方針: 大きめ文字・高コントラスト・広い行間・明快なCTA
   カラーや屋号(サイト名)を変えたい場合は :root の変数とヘッダー/フッターの文言を編集
   ============================================================= */

/* ---------- カラー・サイズ変数 ---------- */
:root {
  --navy:        #163a63;   /* 信頼の濃紺（見出し・ヘッダー） */
  --navy-dark:   #0e2949;
  --accent:      #d9480f;   /* CTA・行動喚起のオレンジ */
  --accent-dark: #b23a0c;
  --accent-soft: #fff1e9;
  --marker:      #ffe27a;   /* 蛍光マーカー */
  --danger:      #c92a2a;   /* 注意・警告 */
  --danger-soft: #fff5f5;
  --ok:          #2b8a3e;   /* ポイント・安心 */
  --ok-soft:     #ebfbee;
  --data:        #1864ab;   /* データ系 */
  --data-soft:   #e7f1fb;
  --voice-soft:  #f4f0fb;
  --ink:         #20242b;   /* 本文 */
  --ink-soft:    #515862;
  --line:        #e3e6ea;
  --bg:          #ffffff;
  --bg-soft:     #f5f7fa;
  --bg-cream:    #fbf8f3;
  --radius:      14px;
  --shadow:      0 4px 18px rgba(22,58,99,.10);
  --shadow-lg:   0 10px 34px rgba(22,58,99,.16);
  --maxw:        1080px;
  --readw:       760px;     /* 本文の読みやすい幅 */
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic",
               "Meiryo", system-ui, -apple-system, sans-serif;
  font-size: 18px;            /* 50代以上向けに大きめ */
  line-height: 1.95;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--data); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, figure, table { margin: 0; }

/* ---------- レイアウト ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 18px; }
.section { padding-block: 56px; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.center { text-align: center; }
.center-cta { text-align: center; margin-top: 24px; }
.err-num { font-size: 5rem; font-weight: 900; color: var(--navy); line-height: 1.1; margin: 0; }
.err-cards { margin-top: 40px; text-align: left; }

/* =============================================================
   ヘッダー
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__name { font-weight: 800; color: var(--navy); font-size: 1.18rem; line-height: 1.25; letter-spacing: .01em; }
.brand__name small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; }
.brand:hover { text-decoration: none; }

.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.gnav a {
  display: block; padding: 10px 14px; color: var(--navy); font-weight: 700;
  font-size: .98rem; border-radius: 8px;
}
.gnav a:hover { background: var(--bg-soft); text-decoration: none; }

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff !important; font-weight: 800;
  padding: 11px 20px; border-radius: 999px; font-size: 1rem; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217,72,15,.32);
}
.header-cta:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }

/* ハンバーガー */
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* =============================================================
   ヒーロー
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: #fff;
}
.hero__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 60px 18px 64px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
}
.hero__eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); color: #fff;
  font-weight: 700; font-size: .92rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.25);
}
.hero h1 { font-size: 2.35rem; line-height: 1.45; font-weight: 900; letter-spacing: .01em; }
.hero h1 .hl { color: #ffd43b; }
.hero__lead { margin-top: 20px; font-size: 1.12rem; line-height: 1.9; color: #e8eef6; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 14px; font-size: .9rem; color: #cdd8e6; }
.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 360px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.3)); }

/* =============================================================
   ボタン
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; border-radius: 999px; cursor: pointer; border: 0;
  padding: 15px 30px; font-size: 1.08rem; line-height: 1.3; text-align: center;
  transition: transform .12s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--cta { background: var(--accent); color: #fff !important; box-shadow: 0 6px 18px rgba(217,72,15,.4); }
.btn--cta:hover { background: var(--accent-dark); box-shadow: 0 10px 24px rgba(217,72,15,.5); }
.btn--lg { padding: 19px 44px; font-size: 1.22rem; }
.btn--ghost { background: #fff; color: var(--navy) !important; border: 2px solid #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.9); }
.btn--block { display: flex; width: 100%; }
.btn__sub { display: block; font-size: .76rem; font-weight: 700; opacity: .92; margin-top: 2px; }

/* =============================================================
   CTAブロック（記事内・セクション）
   ============================================================= */
.cta-block {
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
  border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; margin: 38px 0;
  box-shadow: var(--shadow);
}
.cta-block__title { font-size: 1.4rem; font-weight: 900; color: var(--navy); line-height: 1.5; }
.cta-block__title .hl { background: linear-gradient(transparent 62%, var(--marker) 62%); padding: 0 .1em; }
.cta-block__text { margin: 14px 0 22px; color: var(--ink); font-size: 1.04rem; }
.cta-block__merits { list-style: none; padding: 0; margin: 0 auto 22px; max-width: 460px; text-align: left; }
.cta-block__merits li { position: relative; padding: 6px 0 6px 34px; font-weight: 700; }
.cta-block__merits li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: #fff; background: var(--ok); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .9rem;
}
.cta-block__note { margin-top: 14px; font-size: .86rem; color: var(--ink-soft); }

/* =============================================================
   コールアウト（吹き出し・ボックス）
   ============================================================= */
.box { border-radius: var(--radius); padding: 22px 24px 22px; margin: 30px 0; position: relative; }
.box__title { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.12rem; margin-bottom: 8px; }
.box__title .ico { width: 24px; height: 24px; flex-shrink: 0; }
.box p + p { margin-top: 10px; }
.box-point   { background: var(--ok-soft);     border-left: 7px solid var(--ok); }
.box-point   .box__title { color: var(--ok); }
.box-warning { background: var(--danger-soft);  border-left: 7px solid var(--danger); }
.box-warning .box__title { color: var(--danger); }
.box-data    { background: var(--data-soft);    border-left: 7px solid var(--data); }
.box-data    .box__title { color: var(--data); }
.box-voice   { background: var(--voice-soft);   border-left: 7px solid #7048e8; }
.box-voice   .box__title { color: #6741d9; }
.box-note    { background: var(--bg-soft);      border-left: 7px solid var(--ink-soft); }

/* 体験談カード（吹き出し風） */
.voice { display: flex; gap: 16px; align-items: flex-start; background: var(--voice-soft);
         border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.voice__avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: #fff;
                 display: grid; place-items: center; box-shadow: var(--shadow); }
.voice__avatar svg { width: 34px; height: 34px; }
.voice__body p { margin: 0; }
.voice__who { font-weight: 800; color: #6741d9; font-size: .92rem; margin-bottom: 4px; }

/* =============================================================
   記事本文
   ============================================================= */
.article { padding-block: 36px 60px; }
.article__head { max-width: var(--readw); margin: 0 auto 26px; }
.article__cat {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 800;
  font-size: .82rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.article__title { font-size: 2.05rem; line-height: 1.5; font-weight: 900; color: var(--navy); letter-spacing: .01em; }
.article__meta { margin-top: 14px; color: var(--ink-soft); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; }
.article__eyecatch { max-width: var(--maxw); margin: 0 auto 30px; }
.article__eyecatch img, .article__eyecatch svg { border-radius: var(--radius); width: 100%; }

.article-body { max-width: var(--readw); margin-inline: auto; }
.article-body > * + * { margin-top: 1.4em; }
.article-body p { font-size: 1.075rem; line-height: 2.0; }
.article-body h2 {
  font-size: 1.6rem; line-height: 1.5; font-weight: 900; color: var(--navy);
  margin-top: 2.2em; padding: 14px 0 14px 18px; border-left: 8px solid var(--accent);
  background: linear-gradient(90deg, var(--bg-soft), transparent);
  border-radius: 0 8px 8px 0; scroll-margin-top: 84px;
}
.article-body h3 {
  font-size: 1.3rem; line-height: 1.55; font-weight: 800; color: var(--navy-dark);
  margin-top: 1.8em; padding-bottom: 8px; border-bottom: 3px dotted var(--line); scroll-margin-top: 84px;
}
.article-body h4 { font-size: 1.12rem; font-weight: 800; color: var(--navy-dark); margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin: .5em 0; line-height: 1.85; }
.article-body ul.check { list-style: none; padding-left: 0; }
.article-body ul.check li { position: relative; padding-left: 38px; }
.article-body ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: .15em; color: #fff; background: var(--ok);
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: .95rem; font-weight: 900;
}
.article-body img { border-radius: var(--radius); box-shadow: var(--shadow); margin-inline: auto; }
.article-body figure figcaption { text-align: center; font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.article-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 強調 */
.article-body strong, strong { font-weight: 900; color: var(--navy-dark); }
.marker { background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 .08em; font-weight: 800; }
.marker--red { background: linear-gradient(transparent 58%, #ffc9c9 58%); }
.em-red { color: var(--danger); font-weight: 900; }
.big-num { color: var(--accent); font-weight: 900; font-size: 1.18em; }

/* 図表プレースホルダ（写真を後で差し込む箇所） */
.imgph {
  border: 2px dashed #c3ccd6; border-radius: var(--radius); background: var(--bg-soft);
  color: var(--ink-soft); padding: 30px 20px; text-align: center; font-size: .92rem; margin: 24px 0;
}
.imgph svg { width: 46px; height: 46px; margin: 0 auto 8px; opacity: .55; }
.imgph b { color: var(--navy); }

/* データ数値カード */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 28px 0; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; box-shadow: var(--shadow);
}
.stat__num { font-size: 2.1rem; font-weight: 900; color: var(--accent); line-height: 1.2; }
.stat__num small { font-size: 1rem; }
.stat__label { font-size: .92rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

/* SVGチャート枠 */
.chart { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 28px 0; }
.chart__title { font-weight: 900; color: var(--navy); margin-bottom: 4px; font-size: 1.08rem; }
.chart__src { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }

/* =============================================================
   表（比較表）
   ============================================================= */
.table-scroll { overflow-x: auto; margin: 28px 0; -webkit-overflow-scrolling: touch; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: 1rem; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 13px 14px; text-align: center; vertical-align: middle; }
table.cmp thead th { background: var(--navy); color: #fff; font-weight: 800; }
table.cmp th[scope="row"] { background: var(--bg-soft); text-align: left; font-weight: 800; color: var(--navy); }
table.cmp tbody tr:nth-child(even) td { background: #fbfcfd; }
table.cmp tbody .hl-col { background: var(--accent-soft) !important; }
table.cmp thead th.hl-col { background: var(--accent) !important; color: #fff; }
.badge-good { color: var(--ok); font-weight: 900; }
.badge-bad  { color: var(--ink-soft); }

/* =============================================================
   目次（TOC）
   ============================================================= */
.toc {
  max-width: var(--readw); margin: 8px auto 30px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
}
.toc__title { font-weight: 900; color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 7px 0; line-height: 1.6; }
.toc a { color: var(--ink); font-weight: 700; }
.toc a:hover { color: var(--accent); }

/* =============================================================
   パンくず
   ============================================================= */
.breadcrumb { font-size: .85rem; color: var(--ink-soft); padding: 12px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: #aab2bd; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--data); }

/* =============================================================
   トップページ：記事カード
   ============================================================= */
.sec-title { text-align: center; margin-bottom: 8px; }
.sec-title h2 { font-size: 1.85rem; font-weight: 900; color: var(--navy); line-height: 1.5; }
.sec-title .en { display: block; color: var(--accent-dark); font-weight: 800; font-size: .9rem; letter-spacing: .12em; margin-bottom: 4px; }
.sec-lead { text-align: center; color: var(--ink-soft); margin: 6px auto 36px; max-width: 640px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__thumb { aspect-ratio: 16/9; background: var(--bg-soft); position: relative; overflow: hidden; }
.card__thumb svg { width: 100%; height: 100%; }
.card__cat { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.12rem; font-weight: 800; color: var(--navy); line-height: 1.55; }
.card a.card__title:hover { color: var(--accent); text-decoration: none; }
.card__excerpt { color: var(--ink-soft); font-size: .92rem; margin-top: 10px; flex: 1; }
.card__more { margin-top: 14px; font-weight: 800; color: var(--accent-dark); font-size: .95rem; }

/* カテゴリピル */
.cat-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line);
  border-radius: 999px; padding: 11px 20px; font-weight: 800; color: var(--navy);
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.cat-pill svg { width: 22px; height: 22px; }

/* 特長3カラム */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature { text-align: center; padding: 28px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__ico { width: 64px; height: 64px; margin: 0 auto 16px; }
.feature h3 { font-size: 1.2rem; color: var(--navy); font-weight: 900; }
.feature p { color: var(--ink-soft); font-size: .96rem; margin-top: 10px; }

/* 関連記事 */
.related { max-width: var(--maxw); margin: 50px auto 0; }
.related .card-grid { grid-template-columns: repeat(3,1fr); }

/* =============================================================
   FAQ
   ============================================================= */
.faq { max-width: var(--readw); margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 14px 0; overflow: hidden; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 54px; font-weight: 800; color: var(--navy);
  position: relative; font-size: 1.05rem; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; background: var(--navy); color: #fff;
  width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-weight: 900; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px 54px; color: var(--ink); position: relative; }
.faq .faq__a::before { content: "A"; position: absolute; left: 18px; top: 0; background: var(--accent); color: #fff;
  width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-weight: 900; }

/* =============================================================
   お問い合わせフォーム
   ============================================================= */
.contact-form { max-width: var(--readw); margin: 0 auto; }
.contact-form .field { margin-bottom: 22px; }
.contact-form label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 8px; font-size: 1.02rem; }
.contact-form label .req { color: var(--danger); font-size: .82em; margin-left: 8px; font-weight: 800; }
.contact-form label .opt { color: var(--ink-soft); font-size: .82em; margin-left: 8px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 10px; padding: 13px 15px; line-height: 1.6;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 7px; }
.contact-form .submit-row { text-align: center; margin-top: 30px; }

/* =============================================================
   著者ボックス
   ============================================================= */
.author-box { max-width: var(--readw); margin: 44px auto 0; display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.author-box__avatar { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow); }
.author-box__avatar svg { width: 34px; height: 34px; }
.author-box__name { font-weight: 900; color: var(--navy); margin-bottom: 6px; font-size: 1.02rem; }
.author-box__bio { font-size: .95rem; color: var(--ink-soft); line-height: 1.85; }
.author-box__bio a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   固定CTA（モバイル下部バー / PCサイド）
   ============================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(22,58,99,.97); backdrop-filter: blur(4px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -4px 18px rgba(0,0,0,.18);
}
.sticky-cta .btn { width: 100%; }

/* =============================================================
   フッター
   ============================================================= */
.site-footer { background: var(--navy-dark); color: #cdd8e6; padding: 50px 0 28px; margin-top: 60px; }
.site-footer a { color: #cdd8e6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: .9rem; color: #9fb0c4; margin-top: 12px; }
.footer-col h4 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; font-size: .94rem; }
.footer-disclosure {
  margin-top: 30px; padding: 16px 18px; background: rgba(255,255,255,.06); border-radius: 10px;
  font-size: .84rem; color: #aebfd2; line-height: 1.8;
}
.footer-copy { text-align: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8fa1b6; }

/* PR表記バナー（全ページ上部） */
.pr-bar { background: var(--bg-soft); color: var(--ink-soft); font-size: .8rem; text-align: center; padding: 6px 14px; border-bottom: 1px solid var(--line); }

/* =============================================================
   レスポンシブ
   ============================================================= */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero__art { order: -1; }
  .hero__art svg { max-width: 240px; }
  .hero h1 { font-size: 1.92rem; }
  .card-grid, .feature-grid, .related .card-grid { grid-template-columns: repeat(2,1fr); }
  .stat-row { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .stat__num { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .gnav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
    background: #fff; transform: translateX(100%); transition: transform .28s;
    padding: 78px 22px 30px; box-shadow: -8px 0 30px rgba(0,0,0,.2); margin: 0;
    overflow-y: auto;
  }
  .gnav ul { flex-direction: column; gap: 2px; }
  .gnav a { padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .gnav .header-cta { margin-top: 16px; justify-content: center; }
  body.nav-open .gnav { transform: translateX(0); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 49; }
  .nav-toggle { display: block; z-index: 51; }
  .header-cta--header { display: none; }       /* ヘッダー右の常時CTAはモバイルで隠す */

  .sticky-cta { display: block; }
  .site-footer { margin-bottom: 76px; }          /* 固定CTA分の余白 */
}
@media (max-width: 560px) {
  .hero h1 { font-size: 1.7rem; }
  .article__title { font-size: 1.55rem; }
  .article-body h2 { font-size: 1.32rem; }
  .article-body p { font-size: 1.04rem; }
  .card-grid, .feature-grid, .related .card-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .cta-block { padding: 24px 18px; }
  .cta-block__title { font-size: 1.18rem; }
  .section { padding-block: 40px; }
}

/* 印刷・アクセシビリティ */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px; box-shadow: var(--shadow); }
