/* ==========================================================
   いえコンパス — サイト共通スタイル
   テラコッタ基調 / 可読性・信頼感・CVR最適化
   ========================================================== */

:root {
  /* ブランドカラー(青基調) */
  --c-navy: #3a1f12;        /* 見出し・ヘッダー */
  --c-primary: #b4512e;     /* メインティール */
  --c-primary-dark: #8f3f22;
  --c-primary-pale: #fbeee8; /* 淡い背景 */
  --c-sky: #fdf7f3;          /* セクション背景 */
  --c-accent: #1b8a4c;       /* CTA(青の補色=オレンジ) */
  --c-accent-dark: #146b3a;
  --c-green: #0a7a52;        /* 無料/OKバッジ(小さい文字でも白地で4.5:1を満たす濃さ) */
  --c-red: #d64545;          /* 注意 */
  --c-text: #26303e;
  --c-text-sub: #5f6b7a;
  --c-border: #eaded6;
  --c-bg: #ffffff;
  --c-gold: #d9a521;
  --c-silver: #94a0ac;
  --c-bronze: #b07a45;

  --shadow-1: 0 2px 8px rgba(58, 31, 18, 0.07);
  --shadow-2: 0 8px 24px rgba(58, 31, 18, 0.12);
  --radius: 12px;
  --radius-s: 8px;
  --w-site: 1120px;
  --w-article: 780px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; } /* 何かが画面幅を超えてもページ全体が横スクロールしないための保険 */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }

/* ============ ヘッダー ============ */

.gnav-wrap {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.gnav {
  max-width: var(--w-site);
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand__name {
  font-family: "Zen Maru Gothic", var(--font);
  font-size: 1.38rem; font-weight: 900; color: var(--c-navy);
  letter-spacing: 0.06em; line-height: 1.1;
}
.brand__tag {
  display: block;
  font-family: var(--font);
  font-size: 0.66rem; font-weight: 600; color: var(--c-text-sub);
  letter-spacing: 0.4em; margin-top: 4px;
}

.gnav__menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.gnav__menu a {
  display: block; padding: 8px 13px;
  font-size: 0.9rem; font-weight: 600; color: var(--c-text);
  text-decoration: none; border-radius: 8px;
  transition: background .2s, color .2s;
}
.gnav__menu a:hover { background: var(--c-primary-pale); color: var(--c-primary-dark); }
.gnav__cta {
  margin-left: 8px;
  background: var(--c-primary); color: #fff !important;
  border-radius: 999px !important; padding: 9px 18px !important;
  font-size: 0.85rem !important;
}
.gnav__cta:hover { background: var(--c-primary-dark) !important; color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-navy); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============ パンくず ============ */

.breadcrumb {
  max-width: var(--w-article); margin: 0 auto; padding: 14px 20px 0;
  font-size: 0.76rem; color: var(--c-text-sub);
  overflow-x: auto; white-space: nowrap;
}
.breadcrumb ol { list-style: none; display: flex; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9aa7b5; }
.breadcrumb a { color: var(--c-text-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }

/* ============ トップ:ヒーロー ============ */

.hero {
  background: linear-gradient(140deg, #3a1f12 0%, #8f3f22 46%, #b4512e 100%);
  color: #fff;
  padding: 60px 20px 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero::before {
  content: ""; position: absolute; right: 60px; bottom: -160px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero__inner { max-width: var(--w-site); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: 2.05rem; line-height: 1.5; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 14px; }
.hero h1 .hl { color: #ffd76a; }
.hero__lead { font-size: 1rem; opacity: .95; max-width: 640px; margin-bottom: 26px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.hero__point {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px; padding: 6px 16px; font-size: 0.82rem; font-weight: 600;
}

/* ============ 診断ボックス ============ */

.finder {
  max-width: var(--w-site); margin: -34px auto 0; padding: 0 20px;
  position: relative; z-index: 5;
}
.finder__box {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 26px 28px 24px;
  border-top: 4px solid var(--c-accent);
}
.finder__title { font-size: 1.05rem; font-weight: 800; color: var(--c-navy); margin-bottom: 4px; }
.finder__sub { font-size: 0.82rem; color: var(--c-text-sub); margin-bottom: 16px; }
.finder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.finder__item {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-s);
  padding: 14px 16px; text-decoration: none; color: var(--c-text);
  font-weight: 700; font-size: 0.92rem; line-height: 1.5;
  transition: border-color .2s, background .2s, transform .15s;
}
.finder__item:hover { border-color: var(--c-primary); background: var(--c-primary-pale); transform: translateY(-2px); }
.finder__item .ico { font-size: 1.5rem; flex-shrink: 0; }
.finder__item small { display: block; font-weight: 500; font-size: 0.76rem; color: var(--c-text-sub); }

/* ============ 汎用レイアウト ============ */

.container { max-width: var(--w-site); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--sky { background: var(--c-sky); }

.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head__en { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: var(--c-primary); text-transform: uppercase; }
.sec-head h1, .sec-head h2 { font-size: 1.65rem; font-weight: 800; color: var(--c-navy); line-height: 1.5; margin-top: 4px; }
.sec-head p { font-size: 0.9rem; color: var(--c-text-sub); margin-top: 8px; }

/* ============ 記事カード ============ */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); gap: 26px; }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.card__thumb { aspect-ratio: 1200 / 630; background: var(--c-primary-pale); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700;
  color: var(--c-primary-dark); background: var(--c-primary-pale);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.card__title { font-size: 1.02rem; font-weight: 700; line-height: 1.55; margin-bottom: 8px; }
.card__title a { color: var(--c-text); text-decoration: none; }
.card__title a:hover { color: var(--c-primary); }
.card__excerpt { font-size: 0.84rem; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 12px; flex: 1; }
.card__meta { font-size: 0.75rem; color: var(--c-text-sub); display: flex; gap: 12px; }

/* ============ 信頼バナー(トップ) ============ */

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.trust__item {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-1);
}
.trust__item img { width: 64px; height: 64px; margin: 0 auto 12px; }
.trust__item h3 { font-size: 1rem; color: var(--c-navy); font-weight: 800; margin-bottom: 8px; }
.trust__item p { font-size: 0.84rem; color: var(--c-text-sub); line-height: 1.75; text-align: left; }

/* ============ 記事ページ ============ */

.article { max-width: var(--w-article); margin: 0 auto; padding: 18px 20px 64px; }

.article-head { margin-bottom: 22px; }
.article-head .card__cat { margin-bottom: 12px; }
.article-title { font-size: 1.72rem; font-weight: 800; color: var(--c-navy); line-height: 1.5; letter-spacing: 0.01em; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 0.8rem; color: var(--c-text-sub); }
.article-meta .upd { font-weight: 700; color: var(--c-primary-dark); }

/* 文中にリンクを含むため flex にしない(flex だとリンクが別カラム扱いになり
   狭い画面で縦積みになる)。 */
.pr-note {
  display: block; line-height: 1.7;
  background: var(--c-sky); border: 1px solid var(--c-border); border-radius: var(--radius-s);
  font-size: 0.76rem; color: var(--c-text-sub); padding: 9px 14px; margin: 16px 0 22px;
}

.eyecatch { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-1); }

/* 冒頭の結論ボックス(AIO対策:直接回答) */
.answer-first {
  background: linear-gradient(0deg, #fff, #fff) padding-box,
              linear-gradient(120deg, var(--c-primary), #e2a07f) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 22px 24px; margin: 26px 0;
}
.answer-first__label {
  display: inline-block; background: var(--c-primary); color: #fff;
  font-size: 0.74rem; font-weight: 700; border-radius: 999px;
  padding: 3px 14px; margin-bottom: 10px;
}
.answer-first p { font-size: 0.95rem; margin-bottom: 8px; }
.answer-first p:last-child { margin-bottom: 0; }

/* 本文 */
.article-body h2 {
  font-size: 1.38rem; font-weight: 800; color: var(--c-navy); line-height: 1.5;
  margin: 60px 0 22px; padding: 14px 18px;
  background: var(--c-primary-pale);
  border-left: 6px solid var(--c-primary);
  border-radius: 6px;
}
.article-body h3 {
  font-size: 1.14rem; font-weight: 700; color: var(--c-navy); line-height: 1.5;
  margin: 42px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary-pale);
  position: relative;
}
.article-body h3::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 88px; height: 2px; background: var(--c-primary);
}
.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--c-primary-dark); margin: 28px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 7px; }
.article-body strong { background: linear-gradient(transparent 64%, #ffe6a8 64%); }
.article-body figure { margin: 26px 0; }
.article-body figure img { border-radius: var(--radius-s); border: 1px solid var(--c-border); width: 100%; }
.article-body figcaption { font-size: 0.76rem; color: var(--c-text-sub); text-align: center; margin-top: 8px; }

/* 目次 */
.toc {
  background: var(--c-sky); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 20px 26px; margin: 30px 0;
}
.toc__title { font-weight: 800; color: var(--c-navy); font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.toc ol { margin-left: 20px; font-size: 0.89rem; }
.toc ol ol { margin-top: 4px; font-size: 0.84rem; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-primary); text-decoration: underline; }

/* 情報ボックス */
.box-point, .box-warn, .box-memo {
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; font-size: 0.93rem;
}
.box-point { background: var(--c-primary-pale); border: 1px solid #f0cfc0; }
.box-warn  { background: #fdf2ef; border: 1px solid #f3cfc4; }
.box-memo  { background: #f6f7f2; border: 1px solid #dfe2d0; }
.box-point__t, .box-warn__t, .box-memo__t { font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.box-point__t { color: var(--c-primary-dark); }
.box-warn__t  { color: #b8482c; }
.box-memo__t  { color: #6f7550; }
.box-point ul, .box-warn ul, .box-memo ul { margin: 0 0 0 22px; }

/* 吹き出し(体験談・著者コメント) */
.voice { display: flex; gap: 14px; margin: 26px 0; align-items: flex-start; }
.voice__icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--c-primary-pale); overflow: hidden; background: var(--c-primary-pale);
}
.voice__icon img { width: 100%; height: 100%; }
.voice__body {
  position: relative; background: var(--c-sky);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.9rem; line-height: 1.8;
}
.voice__body::before {
  content: ""; position: absolute; left: -8px; top: 20px;
  width: 14px; height: 14px; background: var(--c-sky);
  border-left: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  transform: rotate(45deg);
}
.voice__name { font-size: 0.7rem; color: var(--c-text-sub); text-align: center; margin-top: 4px; }

/* ============ 比較表 ============ */

.tbl-wrap {
  overflow-x: auto; margin: 26px 0;
  border: 1px solid var(--c-border); border-radius: var(--radius-s);
  -webkit-overflow-scrolling: touch;
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 660px; background: #fff; }
table.cmp th, table.cmp td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; line-height: 1.65; }
table.cmp thead th { background: var(--c-navy); color: #fff; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
table.cmp tbody th { background: var(--c-sky); font-weight: 700; white-space: nowrap; }
table.cmp tbody tr:nth-child(even) td { background: #fafcff; }
table.cmp td.best { background: #fff7e2 !important; font-weight: 700; }
table.cmp .ok { color: var(--c-green); font-weight: 700; }
table.cmp .ng { color: var(--c-red); font-weight: 700; }

/* 星評価 */
.stars { color: #f5b301; letter-spacing: 2px; font-size: 0.95rem; }
.stars small { color: var(--c-text-sub); font-size: 0.78rem; letter-spacing: 0; margin-left: 6px; }

/* ============ サービスカード(収益パーツ) ============ */

.svc {
  background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 28px 28px 26px; margin: 34px 0; position: relative;
}
.svc--push { border-color: var(--c-accent); box-shadow: 0 6px 22px rgba(27, 138, 76, .14); }
.rank {
  position: absolute; top: -15px; left: 22px;
  color: #fff; font-weight: 800; font-size: 0.82rem;
  padding: 5px 18px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.22);
}
.rank--1 { background: linear-gradient(120deg, #d9a521, #f0c14e); }
.rank--2 { background: var(--c-silver); }
.rank--3 { background: var(--c-bronze); }
.rank--n { background: var(--c-primary); }
.rank--best { background: linear-gradient(120deg, var(--c-accent), #4fb97c); }

.svc__name { font-size: 1.22rem; font-weight: 800; color: var(--c-navy); margin: 8px 0 2px; line-height: 1.5; }
.svc__co { font-size: 0.78rem; color: var(--c-text-sub); margin-bottom: 12px; }
.svc__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.svc__rating .score { font-size: 1.3rem; font-weight: 800; color: var(--c-accent-dark); }

.svc__spec { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin: 12px 0 16px; }
.svc__spec th, .svc__spec td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; line-height: 1.6; }
.svc__spec th { background: var(--c-sky); white-space: nowrap; width: 32%; font-weight: 700; }

.svc__desc { font-size: 0.93rem; margin-bottom: 16px; }

/* サービス公式バナー(A8広告素材) */
.svc__banner { text-align: center; margin: 4px 0 16px; }
.svc__banner a { display: inline-block; line-height: 0; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; }
.svc__banner img { max-width: 100%; height: auto; }
.svc__banner > img { border: 1px solid var(--c-border); border-radius: 8px; }

.merit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.merit__col { border-radius: var(--radius-s); padding: 14px 16px; font-size: 0.84rem; }
.merit__col ul { margin-left: 18px; }
.merit__col li { margin-bottom: 4px; }
.merit__good { background: #fdf3ee; border: 1px solid #f0cfc0; }
.merit__bad  { background: #fdf3f0; border: 1px solid #f0d2c8; }
.merit__t { font-weight: 800; font-size: 0.82rem; margin-bottom: 6px; }
.merit__good .merit__t { color: var(--c-green); }
.merit__bad .merit__t { color: #b8482c; }

/* CTAボタン */
.btn-area { margin-top: 18px; }
.btn {
  display: block; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 1.02rem; line-height: 1.4;
  padding: 16px 28px; border-radius: 999px; color: #fff;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn--cv {
  background: linear-gradient(120deg, var(--c-accent), #3fae6f);
  box-shadow: 0 4px 0 var(--c-accent-dark), 0 8px 18px rgba(27, 138, 76, .35);
}
.btn--cv:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-accent-dark), 0 6px 14px rgba(27,138,76,.3); filter: brightness(1.04); }
.btn--sub {
  background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary);
  font-size: 0.9rem; padding: 12px 24px; margin-top: 10px;
}
.btn--sub:hover { background: var(--c-primary-pale); }
.btn small { display: block; font-weight: 600; font-size: 0.72rem; opacity: .92; }
.micro { text-align: center; font-size: 0.74rem; color: var(--c-text-sub); margin-top: 8px; }

/* CTA大型ボックス */
.cta {
  background: linear-gradient(135deg, #fff8ef, #fdeeda);
  border: 2px solid var(--c-accent); border-radius: var(--radius);
  padding: 28px 28px 24px; margin: 40px 0; text-align: center;
}
.cta__t { font-size: 1.12rem; font-weight: 800; color: var(--c-accent-dark); margin-bottom: 8px; }
.cta p { font-size: 0.9rem; margin-bottom: 16px; }
.cta .btn { max-width: 420px; margin: 0 auto; }
.cta .btn--sub { margin-top: 10px; } /* .cta .btn の margin:0 で潰れるため再指定 */

/* ============ 手順ステップ ============ */

.steps { counter-reset: step; list-style: none; margin: 26px 0 !important; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 26px 58px; margin: 0 !important;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px;
  width: 2px; background: var(--c-primary-pale);
}
.steps__t { font-weight: 800; color: var(--c-navy); font-size: 1rem; margin-bottom: 4px; }
.steps p { font-size: 0.9rem; margin-bottom: 0 !important; }

/* ============ FAQ ============ */

.faq { margin: 26px 0; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 16px 44px 16px 52px; font-weight: 700; font-size: 0.94rem;
  list-style: none; position: relative; color: var(--c-navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 15px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--c-primary); font-size: 1.3rem; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 2px 20px 18px 52px; font-size: 0.9rem; position: relative; }
.faq .faq__a::before {
  content: "A"; position: absolute; left: 16px; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}

/* ============ 参考情報・出典 ============ */

.sources {
  background: var(--c-sky); border: 1px solid var(--c-border); border-radius: var(--radius-s);
  padding: 16px 22px; margin: 30px 0; font-size: 0.8rem;
}
.sources__t { font-weight: 800; color: var(--c-navy); margin-bottom: 8px; }
.sources ul { margin-left: 20px; }
.sources li { margin-bottom: 4px; }

/* ============ 著者・監修 ============ */

.author {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--c-sky); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 24px; margin-top: 44px;
}
.author__icon { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid #fff; box-shadow: var(--shadow-1); }
.author__name { font-weight: 800; color: var(--c-navy); margin-bottom: 2px; }
.author__role { font-size: 0.74rem; color: var(--c-text-sub); margin-bottom: 8px; }
.author p { font-size: 0.84rem; color: var(--c-text); line-height: 1.75; }
.author a { font-weight: 600; }

/* ============ 関連記事 ============ */

.related { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--c-border); }
.related h2 { font-size: 1.2rem; font-weight: 800; color: var(--c-navy); margin-bottom: 18px; padding-left: 12px; border-left: 5px solid var(--c-primary); }
.related ul { list-style: none; display: grid; gap: 12px; }
.related a {
  display: block; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s);
  padding: 14px 18px 14px 38px; text-decoration: none; color: var(--c-text);
  font-size: 0.92rem; font-weight: 600; position: relative;
  transition: background .2s, border-color .2s;
}
.related a::before { content: "▶"; position: absolute; left: 16px; color: var(--c-primary); font-size: 0.7rem; top: 50%; transform: translateY(-50%); }
.related a:hover { background: var(--c-primary-pale); border-color: var(--c-primary); }

/* ============ フッター ============ */

.footer { background: var(--c-navy); color: #c9d6e8; margin-top: 72px; font-size: 0.85rem; }
.footer__inner { max-width: var(--w-site); margin: 0 auto; padding: 48px 20px 26px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 34px; margin-bottom: 34px; }
.footer h2 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: #c9d6e8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand img { width: 36px; height: 36px; }
.footer__brand span { font-family: "Zen Maru Gothic", var(--font); font-weight: 900; color: #fff; font-size: 1.12rem; letter-spacing: .06em; }
.footer__note { font-size: 0.74rem; color: #8fa3c0; border-top: 1px solid #24457e; padding-top: 18px; line-height: 1.8; }
.footer__copy { margin-top: 12px; text-align: center; font-size: 0.78rem; color: #8fa3c0; }

/* ============ ページトップ ============ */

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--c-primary); color: #fff; border: 0;
  cursor: pointer; font-size: 1.15rem; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 150;
}
.to-top.visible { opacity: .92; pointer-events: auto; }

/* ============ 静的ページ ============ */

.static h2 { font-size: 1.3rem; font-weight: 800; color: var(--c-navy); margin: 44px 0 16px; padding: 12px 16px; background: var(--c-primary-pale); border-left: 6px solid var(--c-primary); border-radius: 6px; }
.static h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-navy); margin: 30px 0 12px; }
.static p, .static ul, .static ol { margin-bottom: 18px; }
.static ul, .static ol { margin-left: 24px; }

.profile-head { display: flex; gap: 24px; align-items: center; margin: 30px 0; flex-wrap: wrap; }
.profile-head img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--c-primary-pale); }
.profile-head h2 { all: unset; font-size: 1.4rem; font-weight: 800; color: var(--c-navy); display: block; }
.profile-head .role { font-size: 0.85rem; color: var(--c-text-sub); }

/* ============ レスポンシブ ============ */

@media (max-width: 999px) {
  .nav-toggle { display: block; }
  .gnav__menu {
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 16px; display: none;
    box-shadow: 0 10px 20px rgba(58,31,18,.1);
  }
  .gnav__menu.open { display: flex; }
  .gnav__menu a { padding: 13px 14px; }
  .gnav__cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero h1 { font-size: 1.5rem; }
  .article-title { font-size: 1.36rem; }
  .article-body h2 { font-size: 1.2rem; }
  .merit { grid-template-columns: 1fr; }
  .finder__box { padding: 20px 18px; }
}


/* ============================================================
   もう一方のサイトへの切り替えカード(フッター)
   見出しテキストを置かず、ロゴ・名前・矢印だけで移動先を示す
   ============================================================ */
.sister { min-width: 0; display: grid; gap: 10px; align-content: start; }   /* 2026-09-25: 回線コンパス + マネカルの2枚 */
.sister__card {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  text-decoration: none;
  transition: transform .24s cubic-bezier(.22,.9,.3,1), background .24s, border-color .24s, box-shadow .24s;
}
.sister__card:hover,
.sister__card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,255,255,.12);
  border-color: rgba(110,220,205,.55);
  box-shadow: 0 12px 26px rgba(180,81,46,.32);
  text-decoration: none;
}
.sister__ico { flex-shrink: 0; line-height: 0; }
.sister__ico svg { display: block; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.sister__needle { transform-origin: 50% 50%; transition: transform .55s cubic-bezier(.22,.9,.3,1); }
.sister__card:hover .sister__needle,
.sister__card:focus-visible .sister__needle { transform: rotate(-345deg); }
.sister__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sister__name {
  display: flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 800; font-size: 0.95rem; line-height: 1.3;
}
.sister__go { opacity: .7; transition: transform .24s, opacity .24s; }
.sister__card:hover .sister__go,
.sister__card:focus-visible .sister__go { transform: translateX(5px); opacity: 1; }
.sister__desc { font-size: 0.74rem; line-height: 1.6; color: #c9d6e8; }


/* ============================================================
   === 動きの演出 ===
   ・スクロールで要素が順に現れる(.reveal は main.js が付与)
   ・JS無効/非対応・動きを減らす設定では何も起きず通常表示のまま
   ============================================================ */
.reveal {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.9,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* CTAボタン: 押せる感じを強める */
.btn { transition: transform .18s cubic-bezier(.22,.9,.3,1), box-shadow .18s, filter .18s; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--cv { position: relative; overflow: hidden; }
/* 光が一度だけ横切る(視線をCTAに集める) */
.btn--cv::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn--cv:hover::after, .btn--cv:focus-visible::after { animation: ctaSheen .75s ease-out; }
@keyframes ctaSheen { to { transform: translateX(120%); } }

/* 比較カード・ボックス: 浮き上がり */
.svc, .box-point, .card { transition: transform .24s cubic-bezier(.22,.9,.3,1), box-shadow .24s; }
.svc:hover, .card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(58,31,18,.13); }

/* FAQ: 開閉をなめらかに */
.faq summary { transition: background .2s, color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] .faq__a { animation: faqOpen .32s ease-out; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 手順リスト: 番号が軽く弾む */
.steps > li { transition: transform .2s; }
.steps > li:hover { transform: translateX(3px); }

/* 結論ボックス: 初回だけ枠がすっと引かれる */
.answer-first { animation: answerIn .6s cubic-bezier(.22,.9,.3,1) both; }
@keyframes answerIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 記事内リンク: 下線が伸びる */
.prose a:not(.btn), .article a:not(.btn) { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .28s ease; }
.prose a:not(.btn):hover, .article a:not(.btn):hover { background-size: 100% 1px; }

/* 動きを減らす設定の人には静止して見せる */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .btn:active, .svc:hover, .card:hover, .steps > li:hover { transform: none; }
  .btn--cv:hover::after, .btn--cv:focus-visible::after { animation: none; }
  .faq details[open] .faq__a { animation: none; }
  .answer-first { animation: none; }
  .sister__card:hover, .sister__card:focus-visible { transform: none; }
  .sister__card:hover .sister__needle, .sister__card:focus-visible .sister__needle { transform: none; }
  .sister__card:hover .sister__go, .sister__card:focus-visible .sister__go { transform: none; }
  .prose a:not(.btn), .article a:not(.btn) { transition: none; }
}

/* ============================================================
   診断ツール(/shindan)と比較一覧(/hikaku)
   ============================================================ */
.container--narrow { max-width: 860px; }
.sec-head--left { text-align: left; }
.lead { font-size: 1.02rem; line-height: 1.9; margin-bottom: 26px; }

/* --- 質問カード --- */
.quiz { display: grid; gap: 16px; margin: 26px 0 8px; }
.quiz__q {
  border: 1.5px solid var(--c-border); border-radius: var(--radius);
  padding: 18px 18px 16px; margin: 0; background: #fff;
  transition: border-color .22s, box-shadow .22s;
}
.quiz__q:focus-within { border-color: var(--c-primary); box-shadow: 0 6px 18px rgba(180,81,46,.10); }
.quiz__q legend {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1rem; color: var(--c-navy); padding: 0;
}
.quiz__n {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--c-primary); color: #fff; font-size: .8rem; font-weight: 800;
}
.quiz__hint { font-size: .8rem; color: var(--c-text-sub); line-height: 1.7; margin: 8px 0 12px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 9px; }
.quiz__opts label {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-s);
  padding: 12px 13px; font-size: .9rem; font-weight: 700; line-height: 1.45;
  transition: border-color .18s, background .18s, transform .18s;
}
.quiz__opts label:hover { border-color: var(--c-primary); background: var(--c-primary-pale); transform: translateY(-2px); }
.quiz__opts input { accent-color: var(--c-primary); width: 18px; height: 18px; flex-shrink: 0; }
.quiz__opts input:checked + span { color: var(--c-primary); }
.quiz__opts label:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-pale); }
.quiz__status { font-size: .84rem; color: var(--c-text-sub); margin-top: 14px; font-weight: 700; }

/* --- 結果 --- */
.result-zone { margin: 34px 0 10px; scroll-margin-top: 76px; }
#resultCards { display: flex; flex-direction: column; gap: 18px; }
/* hidden 属性は display:grid に負けるので明示的に消す */
.res[hidden], .cmp-row[hidden] { display: none !important; }
.res {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  border: 1.5px solid var(--c-border); border-radius: var(--radius); overflow: hidden;
  background: #fff; animation: resIn .4s cubic-bezier(.22,.9,.3,1) both;
}
@keyframes resIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.res__img { background: var(--c-sky); align-self: center; padding: 14px; }
.res__img img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 420; border-radius: 10px; }
.res__body { padding: 18px 20px 20px; }
.res__tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  color: var(--c-primary); background: var(--c-primary-pale);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 9px;
}
.res__name { font-size: 1.15rem; font-weight: 800; color: var(--c-navy); margin: 0 0 8px; }
.res__why { font-size: .88rem; line-height: 1.85; color: var(--c-text); margin-bottom: 14px; }
@media (max-width: 640px) {
  .res { grid-template-columns: 1fr; }
  .res__img { padding: 12px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz__opts label:hover { transform: none; }
  .res { animation: none; }
}


/* --- 比較一覧(/hikaku) --- */
.cmp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 10px; }
.cmp-filter__btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1.5px solid var(--c-border); background: #fff; color: var(--c-text);
  border-radius: 999px; padding: 9px 16px; font-size: .87rem; font-weight: 700;
  font-family: inherit;
  transition: border-color .18s, background .18s, color .18s, transform .18s;
}
.cmp-filter__btn span {
  font-size: .74rem; font-weight: 800; color: var(--c-text-sub);
  background: var(--c-sky); border-radius: 999px; padding: 2px 7px;
}
.cmp-filter__btn:hover { border-color: var(--c-primary); transform: translateY(-2px); }
.cmp-filter__btn.is-on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cmp-filter__btn.is-on span { background: rgba(255,255,255,.22); color: #fff; }
.cmp-count { font-size: .82rem; color: var(--c-text-sub); font-weight: 700; margin-bottom: 16px; }

.cmp-list { display: flex; flex-direction: column; gap: 14px; }
.cmp-row {
  display: grid; grid-template-columns: 190px 1fr 218px; align-items: center; gap: 0;
  border: 1.5px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.cmp-row:hover { border-color: var(--c-primary); box-shadow: 0 10px 24px rgba(180,81,46,.10); transform: translateY(-2px); }
.cmp-row__img { align-self: center; background: var(--c-sky); padding: 12px; }
.cmp-row__img img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 420; border-radius: 8px; }
.cmp-row__main { padding: 16px 18px; min-width: 0; }
.cmp-row__cat {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  color: var(--c-primary); background: var(--c-primary-pale);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 7px;
}
.cmp-row__name { font-size: 1.02rem; font-weight: 800; color: var(--c-navy); margin: 0 0 9px; }
.cmp-row__spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 6px 14px; margin: 0 0 9px; }
.cmp-row__spec div { min-width: 0; }
.cmp-row__spec dt { font-size: .7rem; color: var(--c-text-sub); font-weight: 700; margin-bottom: 1px; }
.cmp-row__spec dd { font-size: .84rem; font-weight: 700; color: var(--c-text); margin: 0; line-height: 1.5; }
.cmp-row__feat { font-size: .82rem; line-height: 1.75; color: var(--c-text-sub); margin: 0; }
.cmp-row__cta { padding: 16px 18px; }
.cmp-row__cta .btn {
  width: 100%; font-size: .86rem; padding: 13px 12px; border-radius: 16px;
}
.cmp-row__cta .btn small { font-size: .66rem; margin-top: 2px; }

@media (max-width: 900px) {
  .cmp-row { grid-template-columns: 150px 1fr; }
  .cmp-row__cta { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row__img { padding: 12px 12px 0; }
  .cmp-row__cta { padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-filter__btn:hover, .cmp-row:hover { transform: none; }
}

/* 記事本文から診断ツール・比較一覧へ送るボックス */
.toolbox {
  margin: 26px 0; padding: 18px 20px; border-radius: var(--radius);
  background: var(--c-primary-pale); border: 1.5px solid var(--c-primary);
}
.toolbox__t { font-weight: 800; color: var(--c-navy); font-size: 1rem; margin: 0 0 6px; }
.toolbox p { font-size: .88rem; color: var(--c-text-sub); line-height: 1.8; margin: 0 0 12px; }
.toolbox__links { display: flex; flex-wrap: wrap; gap: 10px; }
.toolbox__links a {
  flex: 1 1 190px; text-align: center; text-decoration: none; font-weight: 800; font-size: .88rem;
  padding: 12px 14px; border-radius: 14px; background: var(--c-primary); color: #fff;
  transition: transform .18s, box-shadow .18s;
}
.toolbox__links a + a { background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary); padding: 10px 12px; }
.article-body .toolbox__list { margin: 0; padding-left: 1.2em; font-size: .88rem; line-height: 1.8; }   /* ハブ記事の関連ガイド(2026-09-24) */
.article-body .toolbox__list li { margin-bottom: 4px; }
.toolbox__links a:hover, .toolbox__links a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
@media (prefers-reduced-motion: reduce) { .toolbox__links a:hover, .toolbox__links a:focus-visible { transform: none; } }
/* トップページのツール導線 */
.toolhero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.toolhero__card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 22px 20px; transition: border-color .22s, box-shadow .22s, transform .22s;
}
.toolhero__card:hover, .toolhero__card:focus-visible {
  border-color: var(--c-primary); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.toolhero__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-primary-pale); margin-bottom: 12px;
}
.toolhero__icon svg { width: 26px; height: 26px; stroke: var(--c-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toolhero__t { font-size: 1.12rem; font-weight: 800; color: var(--c-navy); margin: 0 0 6px; }
.toolhero__d { font-size: .88rem; line-height: 1.8; color: var(--c-text-sub); margin: 0 0 14px; flex: 1; }
.toolhero__go { font-size: .88rem; font-weight: 800; color: var(--c-primary); }
.toolhero__go::after { content: " →"; }
@media (prefers-reduced-motion: reduce) { .toolhero__card:hover, .toolhero__card:focus-visible { transform: none; } }

/* ============================================================
   診断ウィザード
   ============================================================ */
.qz { background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 22px 22px 18px; margin: 26px 0; }
.qz__head { margin-bottom: 18px; }
.qz__step { font-size: .78rem; font-weight: 800; color: var(--c-text-sub); margin: 0 0 8px; letter-spacing: .04em; }
.qz__step b { color: var(--c-primary); font-size: 1rem; }
.qz__bar { height: 6px; border-radius: 999px; background: var(--c-border); overflow: hidden; }
.qz__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--c-primary); transition: width .3s cubic-bezier(.22,.9,.3,1); }
.qz__panel { display: none; }
.qz__panel.is-on { display: block; animation: qzIn .28s ease-out both; }
@keyframes qzIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qz__q { font-size: 1.14rem; font-weight: 800; color: var(--c-navy); line-height: 1.6; margin: 0 0 6px; }
.qz__hint { font-size: .82rem; color: var(--c-text-sub); margin: 0 0 14px; line-height: 1.7; }
.qz__opts { display: grid; gap: 10px; }
.qz__opt { position: relative; display: block; cursor: pointer; }
.qz__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qz__optIn {
  display: block; padding: 14px 16px; border: 2px solid var(--c-border); border-radius: 14px;
  background: #fff; transition: border-color .18s, background .18s, transform .18s;
}
.qz__opt:hover .qz__optIn { border-color: var(--c-primary); transform: translateY(-2px); }
.qz__opt input:focus-visible + .qz__optIn { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.qz__opt input:checked + .qz__optIn { border-color: var(--c-primary); background: var(--c-primary-pale); }
.qz__optT { display: block; font-weight: 800; font-size: .96rem; color: var(--c-navy); }
.qz__optD { display: block; font-size: .78rem; color: var(--c-text-sub); margin-top: 3px; line-height: 1.65; }
.qz__nav { display: flex; gap: 10px; margin-top: 18px; }
.qz__btn { font-family: inherit; font-weight: 800; font-size: .92rem; border-radius: 14px; padding: 13px 18px; cursor: pointer; border: 2px solid transparent; transition: transform .18s, filter .18s, background .18s; }
.qz__btn:hover:not(:disabled) { transform: translateY(-2px); }
.qz__btn--back { background: #fff; color: var(--c-text-sub); border-color: var(--c-border); flex: 0 0 auto; }
.qz__btn--next { background: var(--c-primary); color: #fff; flex: 1; }
.qz__btn:disabled { opacity: .45; cursor: not-allowed; }

/* 診断結果 */
.rs { margin: 30px 0 0; }
.rs__head { border-left: 5px solid var(--c-primary); background: var(--c-primary-pale); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-bottom: 8px; }
.rs__label { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--c-primary); margin-bottom: 4px; }
.rs__head h2 { font-size: 1.2rem; margin: 0 0 6px; border: 0; padding: 0; background: none; }
.rs__head p { font-size: .88rem; line-height: 1.8; color: var(--c-text-sub); margin: 0; }
.rs__list { display: grid; gap: 14px; margin: 18px 0; }
.rs__card { display: grid; grid-template-columns: 240px 1fr; gap: 0; border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.rs__card[hidden] { display: none !important; }
.rs__card.is-top { border-color: var(--c-primary); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.rs__media { background: var(--c-sky); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
.rs__media img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.rs__official { display: block; }
.rs__officialT { display: block; font-size: .66rem; font-weight: 800; color: var(--c-text-sub); text-align: center; margin-bottom: 5px; letter-spacing: .04em; }
.rs__body { padding: 16px 18px; min-width: 0; }
.rs__rank { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: #fff; background: var(--c-text-sub); border-radius: 999px; padding: 3px 11px; margin-bottom: 8px; }
.rs__card.is-top .rs__rank { background: var(--c-primary); }
.rs__name { font-size: 1.12rem; font-weight: 800; color: var(--c-navy); margin: 0 0 4px; }
.rs__cat { font-size: .74rem; font-weight: 800; color: var(--c-primary); background: var(--c-primary-pale); border-radius: 999px; padding: 3px 10px; }
.rs__why { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rs__why li { font-size: .76rem; font-weight: 700; color: var(--c-green); background: rgba(22,163,74,.10); border-radius: 8px; padding: 4px 10px; }
.rs__spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 6px 14px; margin: 10px 0; }
.rs__spec dt { font-size: .68rem; color: var(--c-text-sub); font-weight: 700; }
.rs__spec dd { font-size: .86rem; font-weight: 800; color: var(--c-text); margin: 0 0 4px; line-height: 1.5; overflow-wrap: anywhere; }
.rs__desc { font-size: .84rem; line-height: 1.8; color: var(--c-text-sub); margin: 0 0 12px; }
.rs__ex { margin: 18px 0; border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.rs__ex summary { cursor: pointer; padding: 14px 18px; font-weight: 800; font-size: .92rem; color: var(--c-navy); }
.rs__exList { padding: 0 18px 16px; display: grid; gap: 10px; }
.rs__exItem { font-size: .85rem; line-height: 1.75; color: var(--c-text-sub); padding-left: 14px; border-left: 3px solid var(--c-border); }
.rs__exItem b { color: var(--c-navy); display: block; font-size: .9rem; }
.rs__redo { display: block; margin: 0 auto; background: #fff; border: 2px solid var(--c-border); color: var(--c-text-sub); font-family: inherit; font-weight: 800; font-size: .88rem; border-radius: 14px; padding: 12px 26px; cursor: pointer; }
.rs__redo:hover { border-color: var(--c-primary); color: var(--c-primary); }

@media (max-width: 720px) {
  .rs__card { grid-template-columns: 1fr; }
  .rs__media { padding: 14px 14px 0; background: transparent; }
}

/* ============================================================
   比較表
   ============================================================ */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff; margin: 18px 0 8px; }
.tbl-hint { font-size: .76rem; color: var(--c-text-sub); font-weight: 700; margin: 0 0 8px; }
.cmp-tbl caption { caption-side: top; text-align: left; font-size: .78rem; font-weight: 700; color: var(--c-text-sub); padding: 10px 14px 8px; background: #fff; border-bottom: 1px solid var(--c-border); }   /* 表の出典と時点(2026-09-25) */
.stamp { font-size: .8rem; color: var(--c-text-sub); margin: -6px 0 16px; line-height: 1.7; }   /* 料金確認日(h1 直下) */
.stamp time { font-weight: 800; color: var(--c-text); }
.cmp-tbl { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1240px; font-size: .84rem; }
.cmp-tbl th, .cmp-tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.cmp-tbl thead th {
  position: sticky; top: 0; z-index: 3; background: var(--c-navy); color: #fff;
  font-size: .78rem; font-weight: 800; white-space: nowrap; border-bottom: 0;
}
.cmp-tbl tbody tr:last-child th, .cmp-tbl tbody tr:last-child td { border-bottom: 0; }
.cmp-tbl tbody tr[hidden] { display: none !important; }
.cmp-tbl tbody tr:nth-child(even) td, .cmp-tbl tbody tr:nth-child(even) th { background: var(--c-bg); }
.cmp-tbl tbody tr:hover td, .cmp-tbl tbody tr:hover th { background: var(--c-primary-pale); }
.cmp-tbl .col-name { position: sticky; left: 0; z-index: 2; background: #fff; min-width: 200px; box-shadow: 1px 0 0 var(--c-border); }
.cmp-tbl thead .col-name { z-index: 4; background: var(--c-navy); }
.tname { display: block; font-weight: 800; color: var(--c-navy); font-size: .92rem; margin-bottom: 4px; }
.tname__cat { display: inline-block; font-size: .68rem; font-weight: 800; color: var(--c-primary); background: var(--c-primary-pale); border-radius: 999px; padding: 2px 8px; margin-bottom: 6px; }
.tlogo { display: block; width: 100%; max-width: 170px; height: auto; border-radius: 6px; margin-bottom: 7px; }
.tprice { font-weight: 800; color: var(--c-navy); font-size: .95rem; display: block; }
.tsub { display: block; font-size: .72rem; color: var(--c-text-sub); margin-top: 2px; line-height: 1.55; }
.tyes { color: var(--c-green); font-weight: 800; }
.tno  { color: var(--c-text-sub); font-weight: 700; }
.tcta { display: inline-block; text-align: center; text-decoration: none; font-weight: 800; font-size: .875rem; padding: 10px 12px; border-radius: 12px; background: #0f5a30; color: #fff; white-space: nowrap; transition: transform .18s, filter .18s; }
.tcta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.tcta--sub { background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary); }
@media (prefers-reduced-motion: reduce) {
  .qz__panel.is-on { animation: none; }
  .qz__opt:hover .qz__optIn, .qz__btn:hover:not(:disabled), .tcta:hover { transform: none; }
}

/* 比較表の1列目に置く公式バナー（素材は468〜640px幅なので列幅に合わせる） */
.tlogo-wrap { display: block; margin-top: 8px; }
.tlogo-wrap img { display: block; width: 100%; max-width: 172px; height: auto; border-radius: 6px; }
.tlogo-wrap img[width="1"] { width: 1px; max-width: 1px; }
/* 診断結果カードの公式バナー */
.rs__official { display: block; width: 100%; }
.rs__official img { display: block; max-width: 100%; height: auto; border-radius: 6px; margin: 0 auto; }
.rs__official img[width="1"] { width: 1px; max-width: 1px; }

/* 比較表の料金列。長い注記でも1行あたりの折り返しが暴れないよう幅を確保する */
.cmp-tbl .col-price { min-width: 132px; }

/* fieldset/legend のブラウザ既定の枠線が透けるので打ち消す */
.qz__panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.qz__panel > legend.qz__q { display: block; width: 100%; padding: 0; float: left; }
.qz__panel > legend.qz__q + .qz__hint { clear: both; }

/* ============================================================
   比較表：横スクロールをできるだけ使わない
   - 幅が足りるときは通常の表（列を減らして min-width を 720px に）
   - 720px 未満ではカード積みに切り替え、横スクロールを完全になくす
   ============================================================ */
.cmp-tbl { min-width: 1020px; font-size: .82rem; }
.cmp-tbl th, .cmp-tbl td { padding: 11px 12px; }
.cmp-tbl .col-name { min-width: 178px; }
.cmp-tbl .col-price { min-width: 116px; }
.tbl-hint { display: none; }

/* 幅が足りず横スクロールが要るときだけヒントを出す */
.tbl-wrap.is-scrollable + .tbl-hint,
.tbl-hint.is-on { display: block; }

@media (min-width: 1000px) {
  .cmp-tbl { font-size: .84rem; }
  .cmp-tbl th, .cmp-tbl td { padding: 12px 14px; }
}

@media (max-width: 819px) {
  .tbl-wrap--cards { overflow-x: visible; border: 0; background: transparent; border-radius: 0; } /* hikaku のカード積み専用。記事内の表(.tbl-wrap > table.cmp)は横スクロールを維持する(2026-09-04: 全 .tbl-wrap に効いていて記事がページごと横スクロールしていた) */
  .tbl-hint { display: none !important; }
  .cmp-tbl { min-width: 0; width: 100%; font-size: .86rem; }
  .cmp-tbl, .cmp-tbl tbody, .cmp-tbl tr, .cmp-tbl td, .cmp-tbl th { display: block; width: auto; }
  .cmp-tbl caption { display: block; padding: 0 0 10px; border-bottom: 0; background: transparent; }
  .cmp-tbl thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .cmp-tbl tbody tr {
    border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff;
    margin-bottom: 14px; overflow: hidden;
  }
  .cmp-tbl tbody tr:nth-child(even) td,
  .cmp-tbl tbody tr:nth-child(even) th,
  .cmp-tbl tbody tr:hover td,
  .cmp-tbl tbody tr:hover th { background: transparent; }
  .cmp-tbl .col-name {
    position: static; box-shadow: none; min-width: 0;
    padding: 14px 16px 10px; background: var(--c-bg); border-bottom: 1px solid var(--c-border);
  }
  .cmp-tbl td {
    display: grid; grid-template-columns: 8.6em 1fr; gap: 0 12px; align-items: start;
    padding: 9px 16px; border-bottom: 1px dashed var(--c-border); min-width: 0;
  }
  .cmp-tbl td::before {
    content: attr(data-label); font-size: .72rem; font-weight: 800;
    color: var(--c-text-sub); line-height: 1.5; padding-top: 2px;
    grid-column: 1; grid-row: 1;
  }
  /* ラベルは左列、値(料金2段+注記など)はすべて右列に縦積み(2026-09-17) */
  .cmp-tbl td > * { grid-column: 2; }
  .cmp-tbl td:last-child { display: block; padding: 12px 16px 14px; border-bottom: 0; }
  .cmp-tbl td:last-child::before { display: none; }
  .cmp-tbl .tcta { display: block; width: 100%; }
  .cmp-tbl .tlogo-wrap img { max-width: 200px; }
}

@media (max-width: 380px) {
  .cmp-tbl td { grid-template-columns: 1fr; gap: 2px; }
  .cmp-tbl td::before { padding-top: 0; }
  .cmp-tbl td > * { grid-column: 1; }
}

/* ============================================================
   ヒーローに診断ツール・比較表へのリンクを置く
   ============================================================ */
.hero__tools {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: 12px; margin-top: 24px; text-align: left;
}
.hero__tool {
  display: flex; align-items: center; gap: 13px; min-width: 0;
  text-decoration: none; background: rgba(255,255,255,.97);
  border-radius: var(--radius); padding: 15px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  transition: transform .2s cubic-bezier(.22,.9,.3,1), box-shadow .2s;
}
.hero__tool:hover, .hero__tool:focus-visible {
  transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.hero__toolIco {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; background: var(--c-primary-pale);
}
.hero__toolIco svg { width: 24px; height: 24px; stroke: var(--c-primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__toolTxt { min-width: 0; }
.hero__toolT { display: block; font-size: 1rem; font-weight: 800; color: var(--c-navy); line-height: 1.4; }
.hero__toolD { display: block; font-size: .78rem; color: var(--c-text-sub); line-height: 1.6; margin-top: 3px; }
.hero__toolGo { flex: 0 0 auto; color: var(--c-primary); font-weight: 800; font-size: 1.05rem; }

@media (max-width: 640px) {
  .hero__tools { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .hero__tool { padding: 13px 14px; gap: 11px; }
  .hero__toolIco { width: 38px; height: 38px; border-radius: 11px; }
  .hero__toolIco svg { width: 21px; height: 21px; }
  .hero__toolT { font-size: .94rem; }
  .hero__toolD { font-size: .74rem; }
}

/* 横長で高さが足りない画面（スマホ横持ちなど）ではヒーローを詰める */
@media (max-height: 560px) and (min-width: 640px) {
  .hero__tools { margin-top: 14px; }
  .hero__tool { padding: 11px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__tool:hover, .hero__tool:focus-visible { transform: none; }
}

/* 比較表だけ本文幅より広く使う（本文は読みやすい幅のまま） */
.cmp-tbl { min-width: 660px; }
@media (min-width: 820px) {
  .tbl-wrap--wide {
    width: min(1100px, calc(100vw - 44px));
    max-width: none;
    margin-left: calc(50% - min(550px, calc(50vw - 22px)));
  }
}
@media (max-width: 819px) {
  .cmp-tbl { min-width: 0; }
  .tbl-wrap { width: auto; margin-left: 0; }
}

/* ヒーローの装飾（オーブ・信号バー）が狭い画面で画面幅を押し広げていたので閉じ込める */
.hero, .hero__bg { overflow: hidden; }
.hero__bg > * { max-width: 100%; }

/* ============================================================
   退職コンパス：ヒーローの動き
   ============================================================ */
.hero {
  background: linear-gradient(140deg, #3a1f12 0%, #8f3f22 46%, #b4512e 100%);
  background-size: 170% 170%;
  animation: heroGradient 20s ease-in-out infinite;
  isolation: isolate;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
/* 旧・静止していた装飾円は背景レイヤーに置き換えたので消す */
.hero::before, .hero::after { content: none; }

.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--sy, 0px) * .16 + var(--my, 0) * 9px), 0);
  transition: transform .35s cubic-bezier(.22,.9,.3,1);
  will-change: transform;
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__orb--a {
  right: -120px; top: -140px; width: 430px; height: 430px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.12), rgba(255,255,255,.03) 70%);
  animation: orbFloat 17s ease-in-out infinite;
}
.hero__orb--b {
  right: 56px; bottom: -170px; width: 310px; height: 310px;
  background: radial-gradient(circle at 40% 40%, rgba(255,215,106,.15), rgba(255,215,106,0) 70%);
  animation: orbFloat 23s ease-in-out infinite reverse;
}
.hero__orb--c {
  left: -110px; bottom: -130px; width: 300px; height: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), rgba(255,255,255,0) 70%);
  animation: orbFloat 28s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(-24px, 20px, 0) scale(1.06); }
  66%      { transform: translate3d(16px, -16px, 0) scale(.96); }
}
.hero__grid {
  position: absolute; inset: 0; opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 22% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 22% 40%, #000 20%, transparent 75%);
}

/* コンパス：外周がゆっくり回り、針が方角を探して落ち着く（サイト名のモチーフ） */
.hero__compass { position: absolute; right: 11%; top: 42%; width: 0; height: 0; }
.hero__ring {
  position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px;
  border: 1.5px solid rgba(255,255,255,.26); border-radius: 50%;
  animation: ringSpin 34s linear infinite;
}
.hero__ring::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: rgba(255,215,106,.75);
}
.hero__ring--2 {
  width: 124px; height: 124px; margin: -62px 0 0 -62px;
  border-color: rgba(255,255,255,.18); border-style: dashed;
  animation: ringSpin 24s linear infinite reverse;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero__needle {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 78px; margin: -62px 0 0 -1.5px;
  border-radius: 3px; transform-origin: 50% 80%;
  background: linear-gradient(180deg, #ffd76a 0%, #ffd76a 46%, rgba(255,255,255,.55) 46%, rgba(255,255,255,.35) 100%);
  animation: needleSeek 11s cubic-bezier(.3,.8,.3,1) infinite;
}
@keyframes needleSeek {
  0%   { transform: rotate(-38deg); }
  18%  { transform: rotate(26deg); }
  34%  { transform: rotate(-12deg); }
  48%  { transform: rotate(6deg); }
  60%, 88% { transform: rotate(0deg); }
  100% { transform: rotate(-38deg); }
}

/* 出口へ向かうルートが引かれていく（「状況別にルートを提示」の可視化） */
.hero__route { position: absolute; left: 4%; bottom: 6%; width: min(330px, 42%); height: 200px; opacity: .55; }
.hero__route svg { width: 100%; height: 100%; overflow: visible; }
.hero__routeLine {
  fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: routeDraw 7s cubic-bezier(.4,.5,.3,1) infinite;
}
.hero__routeDot {
  fill: #ffd76a;
  offset-path: path("M8 178 C 70 178, 74 118, 132 112 S 214 96, 236 34");
  animation: routeRun 7s cubic-bezier(.4,.5,.3,1) infinite;
}
@keyframes routeDraw {
  0%       { stroke-dashoffset: 340; }
  55%, 82% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: -340; }
}
@keyframes routeRun {
  0%       { offset-distance: 0%; opacity: 0; }
  8%       { opacity: 1; }
  55%, 82% { offset-distance: 100%; opacity: 1; }
  92%, 100%{ offset-distance: 100%; opacity: 0; }
}

/* ヒーローの中身を順番に立ち上げる */
.hero h1,
.hero__lead,
.hero__points,
.hero__tools { animation: heroRise .72s cubic-bezier(.22,.9,.3,1) both; }
.hero h1        { animation-delay: .05s; }
.hero__lead     { animation-delay: .17s; }
.hero__points   { animation-delay: .29s; }
.hero__tools    { animation-delay: .41s; }
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}

/* 見出しのハイライトを後から塗る */
.hero h1 .hl { position: relative; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -3px; right: -3px; bottom: .04em; height: .34em;
  background: linear-gradient(90deg, rgba(255,215,106,.42), rgba(255,215,106,.18));
  border-radius: 3px; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  animation: hlSweep .7s cubic-bezier(.22,.9,.3,1) .62s both;
}
@keyframes hlSweep { to { transform: scaleX(1); } }

/* ヒーロー内のチップを弾ませる */
.hero__point { animation: chipPop .5s cubic-bezier(.2,1.3,.4,1) both; }
.hero__point:nth-child(1) { animation-delay: .34s; }
.hero__point:nth-child(2) { animation-delay: .42s; }
.hero__point:nth-child(3) { animation-delay: .50s; }
@keyframes chipPop {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ツールカードの矢印をそっと動かす */
.hero__tool .hero__toolGo { transition: transform .22s cubic-bezier(.22,.9,.3,1); }
.hero__tool:hover .hero__toolGo, .hero__tool:focus-visible .hero__toolGo { transform: translateX(4px); }

/* ============================================================
   退職コンパス：本文側の動き
   ============================================================ */
/* セクション見出しの下線を引く */
.sec-head h2 { position: relative; }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 54px; height: 3px;
  margin-left: -27px; border-radius: 2px; background: var(--c-primary);
  transform: scaleX(0); transform-origin: center;
  transition: transform .55s cubic-bezier(.22,.9,.3,1);
}
.is-in .sec-head h2::after, .sec-head.is-in h2::after { transform: scaleX(1); }
.section:not(.reveal) .sec-head h2::after { transform: scaleX(1); }

/* カード・リンクのホバー */
.card { transition: transform .24s cubic-bezier(.22,.9,.3,1), box-shadow .24s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.11); }
.card__thumb img { transition: transform .5s cubic-bezier(.22,.9,.3,1); }
.card:hover .card__thumb img { transform: scale(1.045); }

.finder__item { transition: transform .2s cubic-bezier(.22,.9,.3,1), border-color .2s, background .2s; }
.finder__item:hover { transform: translateX(4px); }
.finder__item .ico { display: inline-block; transition: transform .25s cubic-bezier(.2,1.3,.4,1); }
.finder__item:hover .ico { transform: translateY(-2px) scale(1.12) rotate(-6deg); }
.finder__arrow { transition: transform .22s cubic-bezier(.22,.9,.3,1); }
.finder__item:hover .finder__arrow { transform: translateX(4px); }

/* 見出し横のコンパス絵文字を揺らす */
.finder__compass { display: inline-block; animation: compassSwing 5.5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes compassSwing {
  0%, 100% { transform: rotate(-9deg); }
  50%      { transform: rotate(9deg); }
}

/* 表の行・比較ボタンのホバー */
.cmp-filter__btn { transition: transform .18s cubic-bezier(.22,.9,.3,1), border-color .18s, background .18s; }
.cmp-filter__btn:hover { transform: translateY(-2px); }
.trust > * { transition: transform .24s cubic-bezier(.22,.9,.3,1); }
.trust > *:hover { transform: translateY(-3px); }

/* スクロールで現れる（JSが .reveal を付けた要素だけ） */
.reveal { opacity: 0; transform: translate3d(0, 22px, 0); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s cubic-bezier(.22,.9,.3,1), transform .65s cubic-bezier(.22,.9,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  .hero, .hero__orb, .hero__ring, .hero__needle,
  .hero__routeLine, .hero__routeDot,
  .hero h1, .hero__lead, .hero__points, .hero__tools,
  .hero h1 .hl::after, .hero__point, .finder__compass { animation: none !important; }
  .hero h1 .hl::after { transform: scaleX(1); }
  .sec-head h2::after { transform: scaleX(1); transition: none; }
  .card:hover, .finder__item:hover, .cmp-filter__btn:hover, .trust > *:hover { transform: none; }
  .card:hover .card__thumb img, .finder__item:hover .ico,
  .finder__item:hover .finder__arrow, .hero__tool:hover .hero__toolGo { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

.finder__title .finder__compass { margin-right: 7px; }

/* 狭い画面では装飾が本文と重なるので出さない／小さくする */
@media (max-width: 900px) {
  .hero__route { display: none; }
  .hero__compass { right: -30px; top: 30%; opacity: .7; }
}
@media (max-width: 640px) {
  .hero__compass { display: none; }
  .hero__grid { opacity: .10; }
}
/* 高さが足りない横持ちでも装飾が主張しすぎないように */
@media (max-height: 520px) {
  .hero__route, .hero__compass { display: none; }
}

/* .reveal.is-in の transition が .card のホバー用 transition を上書きして
   ホバーの持ち上がりが瞬間移動になっていたので、カードだけ個別に指定する */
.card.reveal.is-in,
.finder__item.reveal.is-in {
  transition: opacity .5s cubic-bezier(.22,.9,.3,1),
              transform .24s cubic-bezier(.22,.9,.3,1),
              box-shadow .24s, border-color .2s, background .2s;
}

/* ============================================================
   比較表の下に置く「各社の詳しい紹介」カード
   記事カード(.card)と同じ寸法感で、画像・スペック・CTAを載せる
   ============================================================ */
.brief-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: 24px; margin: 18px 0 8px;
}
.brief {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: box-shadow .25s, transform .25s cubic-bezier(.22,.9,.3,1);
}
.brief:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }

.brief__thumb { aspect-ratio: 800 / 420; background: var(--c-sky); overflow: hidden; }
.brief__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brief__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.brief__cat {
  align-self: flex-start; font-size: .7rem; font-weight: 800;
  color: var(--c-primary-dark, var(--c-primary)); background: var(--c-primary-pale);
  border-radius: 999px; padding: 3px 11px; margin-bottom: 9px;
}
.brief__name { font-size: 1.06rem; font-weight: 800; color: var(--c-navy); line-height: 1.5; margin: 0 0 10px; }

.brief__spec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 1fr));
  gap: 6px 12px; margin: 0 0 12px; padding: 11px 12px;
  background: var(--c-bg); border-radius: 12px;
}
.brief__spec div { min-width: 0; }
.brief__spec dt { font-size: .67rem; color: var(--c-text-sub); font-weight: 700; margin-bottom: 1px; }
.brief__spec dd { font-size: .84rem; font-weight: 800; color: var(--c-text); margin: 0; line-height: 1.5; }

.brief__desc { font-size: .85rem; line-height: 1.85; color: var(--c-text-sub); margin: 0 0 11px; }

.brief__fit { display: grid; gap: 6px; margin: 0 0 14px; }
.brief__fit p { font-size: .81rem; line-height: 1.75; margin: 0; padding-left: 22px; position: relative; color: var(--c-text-sub); }
.brief__fit b { color: var(--c-text); font-weight: 800; }
.brief__fit .fit-i::before { content: "\2139"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--c-text-sub); }
.brief__fit .fit-y::before,
.brief__fit .fit-n::before {
  position: absolute; left: 0; top: .1em; font-size: .9em; font-weight: 800;
}
.brief__fit .fit-y::before { content: "○"; color: var(--c-green); }
.brief__fit .fit-n::before { content: "△"; color: var(--c-text-sub); }

.brief__cta { margin-top: auto; }
.brief__cta .btn { font-size: .9rem; padding: 13px 14px; border-radius: 14px; }
.brief__cta .btn small { font-size: .7rem; }

.brief__official { margin: 0 0 12px; }
.brief__official img { display: block; width: 100%; max-width: 260px; height: auto; border-radius: 8px; }
.brief__official img[width="1"] { width: 1px; max-width: 1px; }

@media (max-width: 480px) {
  .brief-grid { gap: 18px; }
  .brief__body { padding: 14px 15px 16px; }
  .brief__spec { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .brief:hover { transform: none; }
}

/* 紹介カードも表と同じく本文幅より広く使い、記事カードに近い比率にする */
.brief-grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
@media (min-width: 820px) {
  .brief-grid {
    width: min(1100px, calc(100vw - 44px));
    max-width: none;
    margin-left: calc(50% - min(550px, calc(50vw - 22px)));
  }
}

/* ============ モバイル固定CTAバー(JSが記事の最初の広告ボタンを再掲) ============ */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  display: none; align-items: center; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid var(--c-border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.22, .9, .3, 1);
}
.stickycta.is-on { transform: none; }
.stickycta__pr { flex: 0 0 auto; font-size: .62rem; font-weight: 700; color: var(--c-text-sub); border: 1px solid var(--c-border); border-radius: 3px; padding: 1px 5px; }
.stickycta__btn {
  flex: 1 1 auto; min-width: 0; display: block; text-align: center; text-decoration: none;
  color: #fff; font-weight: 800; font-size: .93rem; line-height: 1.3; padding: 13px 14px; border-radius: 12px;
  background: linear-gradient(120deg, var(--c-accent), #3fae6f); box-shadow: 0 3px 0 var(--c-accent-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stickycta__btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--c-accent-dark); }
.stickycta__close {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-text-sub); font-size: 1.1rem; line-height: 1; cursor: pointer;
}
@media (max-width: 767px) {
  .stickycta { display: flex; }
  body.has-stickycta .to-top { bottom: 84px; }
  body.has-stickycta { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .stickycta { transition: none; } }

/* ============ 結論ボックス直下のクイックCTA ============ */
.answer-cta { margin: -12px 0 26px; }
.answer-cta__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-decoration: none; color: var(--c-navy); font-weight: 800; font-size: .95rem; line-height: 1.4;
  padding: 12px 16px; border-radius: var(--radius); background: #fff8ef; border: 2px solid var(--c-accent);
  transition: transform .15s, box-shadow .15s;
}
.answer-cta__btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.answer-cta__go { flex: 0 0 auto; color: #fff; background: linear-gradient(120deg, var(--c-accent), #3fae6f); border-radius: 999px; padding: 6px 14px; font-size: .82rem; white-space: nowrap; }
.answer-cta__pr { display: block; font-size: .68rem; color: var(--c-text-sub); margin-top: 6px; }

/* 結論直下の男性/女性ペア(2026-09-24)。押した側を sessionStorage に記憶し final-pick と固定バーが追従する */
.answer-cta--pair { display: grid; gap: 8px; }
.answer-cta__who { display: inline-block; font-size: .7rem; font-weight: 800; color: #fff; background: var(--c-navy); border-radius: 999px; padding: 2px 9px; margin-right: 8px; vertical-align: 2px; white-space: nowrap; }
.answer-cta__btn[data-sex="female"] .answer-cta__who { background: #b93b7c; }
.answer-cta--pair.is-picked .answer-cta__btn:not(.is-on) { opacity: .62; }
.answer-cta--pair .answer-cta__btn.is-on { box-shadow: 0 0 0 3px rgba(27, 138, 76, .18); }
.answer-cta--pair .answer-cta__pr { margin-top: 0; }
.final-pick__side[hidden] { display: none; }
.stickycta--pair .stickycta__btn { flex: 1 1 0; font-size: .84rem; padding: 12px 6px; }
.stickycta--pair .stickycta__btn[data-sex="female"] { background: linear-gradient(120deg, #b93b7c, #d9629b); box-shadow: 0 3px 0 #8a2a5c; }

/* 読者の意図別CTA(2026-09-24)。転職系=エージェントのミニ表(.cta--agents / .agent-mini)、お金系=マネカルの計算ツール(.answer-cta--tool)+退職代行の副ボックス(.cta--aside) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.answer-cta--tool .answer-cta__btn { background: var(--c-primary-pale); border-color: var(--c-primary); }
.answer-cta--tool .answer-cta__go { background: linear-gradient(120deg, var(--c-primary), var(--c-primary-dark)); }
.cta--aside { background: #fff; border: 1.5px solid var(--c-border); padding: 18px 18px 16px; margin: 0 0 28px; text-align: left; }
.cta--aside .cta__t { font-size: .98rem; color: var(--c-navy); }
.cta--aside .micro { text-align: left; }
.cta .answer-cta--pair { margin: 0 0 12px; text-align: left; }
.agent-mini { width: 100%; max-width: 560px; margin: 14px auto 0; border-collapse: separate; border-spacing: 0; font-size: .84rem; text-align: left; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; }
.agent-mini th, .agent-mini td { padding: 10px 12px; border-top: 1px solid var(--c-border); vertical-align: middle; line-height: 1.5; }
.agent-mini tr:first-child th, .agent-mini tr:first-child td { border-top: 0; }
.agent-mini th { font-weight: 800; color: var(--c-navy); }
.agent-mini__fit { display: block; font-weight: 400; font-size: .78rem; color: var(--c-text-sub); margin-top: 2px; }
.agent-mini__go { width: 1%; white-space: nowrap; text-align: right; }
.agent-mini__go a { display: inline-block; font-weight: 800; font-size: .8rem; color: var(--c-accent-dark); text-decoration: none; border: 2px solid var(--c-accent); border-radius: 999px; padding: 5px 12px; background: #fff; }
.agent-mini__go a:hover, .agent-mini__go a:focus-visible { background: var(--c-accent); color: #fff; }
.agent-mini + .btn { margin-top: 12px; }
/* 退職代行の answer-cta 直下「よくある不安」(2026-09-24) */
.article-body .answer-cta__q { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; line-height: 1.6; }
.answer-cta__q::before { content: "よくある不安:"; color: var(--c-text-sub); font-weight: 700; }
.article-body .answer-cta__q li { margin: 0; }
.answer-cta__q a { color: var(--c-primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-body p.answer-cta + .answer-cta__q { margin: -18px 0 26px; }

/* ============ トップ: 状況別の最適解(CTA付き) ============ */
.pick { padding: 12px 0 8px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pick-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 18px 18px 16px; box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .18s;
}
.pick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pick-card--top { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(27, 138, 76, .12), var(--shadow-1); }
.pick-card__for { display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 800; color: var(--c-primary); background: var(--c-primary-pale); border-radius: 999px; padding: 3px 12px; }
.pick-card__name { font-size: 1.08rem; font-weight: 800; color: var(--c-navy); line-height: 1.35; }
.pick-card__name small { display: block; font-size: .74rem; font-weight: 600; color: var(--c-text-sub); margin-top: 2px; }
.pick-card__price { font-size: .92rem; color: var(--c-text); }
.pick-card__price strong { font-size: 1.25rem; color: var(--c-accent-dark); font-weight: 800; }
.pick-card__spec { font-size: .82rem; color: var(--c-text-sub); line-height: 1.65; margin: 0; padding-left: 1.1em; }
.pick-card__spec li { list-style: "\2713  "; }
.pick-card .btn { margin-top: auto; font-size: .92rem; padding: 12px 16px; border-radius: 14px; }
.pick-card .btn small { font-size: .68rem; }
.pick-card__more { font-size: .78rem; text-align: center; }
.pick__note { font-size: .76rem; color: var(--c-text-sub); text-align: center; margin-top: 14px; line-height: 1.7; }
@media (max-width: 560px) { .pick-grid { grid-template-columns: 1fr; } }

/* ============ 記事末尾「迷ったらこれ」 ============ */
.final-pick { margin: 36px 0 8px; padding: 22px 22px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #fff8ef, #fdeeda); border: 2px solid var(--c-accent); text-align: center; }
.final-pick__label { display: inline-block; font-size: .78rem; font-weight: 800; color: #fff; background: var(--c-accent); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.final-pick__t { font-size: 1.1rem; font-weight: 800; color: var(--c-navy); margin-bottom: 8px; line-height: 1.45; }
.final-pick p { font-size: .9rem; margin: 0 0 14px; }
.final-pick .btn { max-width: 420px; margin: 0 auto; }
.final-pick .micro { font-size: .76rem; color: var(--c-text-sub); margin: 10px 0 0; }

/* ボタンを縦に並べたときの間隔(.cta .btn の margin:0 auto に潰されないよう再指定) */
.cta .btn + .btn, .final-pick .btn + .btn, .btn-area .btn + .btn, .cta .btn--sub, .btn-area .btn--sub { margin-top: 10px; }

/* 公式画像 + 解説カードの2枚組(2026-09-10) */
.svc__banner--duo { display: grid; grid-template-columns: 1fr; gap: 12px; text-align: left; }
@media (min-width: 640px) { .svc__banner--duo { grid-template-columns: 1fr 1fr; align-items: start; } }
.svc__banner--duo > img { display: block; width: 100%; }
.svc__official { margin: 0; min-width: 0; }
.svc__official > a { display: block; line-height: 0; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; background: #fff; }
.svc__official img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.svc__official figcaption { font-size: .72rem; color: var(--c-text-sub); margin-top: 5px; line-height: 1.45; text-align: left; }
.svc__official figcaption a { display: inline-block; padding: 4px 0; line-height: inherit; border: 0; border-radius: 0; overflow: visible; vertical-align: baseline; color: inherit; text-decoration: underline; } /* .svc__banner a の overflow:hidden を打ち消す(ベースラインが下端になり文字が浮く) */

/* hikaku / shindan の公式画像(2026-09-10) */
.brief__thumb a { display: block; width: 100%; height: 100%; line-height: 0; }
.brief__src, .rs__src { font-size: .74rem; color: var(--c-text-sub); line-height: 1.4; margin: 6px 14px 0; }
.brief__src a, .rs__src a { display: inline-block; padding: 4px 0; color: inherit; text-decoration: underline; }
.brief__card { padding: 8px 14px 0; }
.brief__card img { display: block; width: 100%; height: auto; border: 1px solid var(--c-border); border-radius: 8px; }
.rs__shot { display: block; width: 100%; line-height: 0; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; background: #fff; }
.rs__shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.rs__src { text-align: center; margin: -4px 0 0; }

/* トップ「最適解」カードの公式画像(2026-09-10) */
.pick-card__shot { display: block; line-height: 0; border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden; background: #fff; margin: -4px 0 2px; }
.pick-card__shot img { display: block; width: 100%; height: auto; }

/* 2年総額シミュレーター / 逆算ツール(2026-09-10) */
.sg { border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 18px; margin: 18px 0; }
.sg__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px 20px; }
.sg__l { display: block; font-size: .8rem; font-weight: 800; color: var(--c-text-sub); margin-bottom: 6px; }
.sg__f select, .sg__f input[type="number"], .sg__f input[type="date"] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--c-border); border-radius: 8px; font: inherit; font-size: 1rem; background: #fff; color: var(--c-text); }
.sg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sg__opt { position: relative; }
.sg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sg__opt span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--c-border); border-radius: 999px; font-size: .86rem; font-weight: 700; cursor: pointer; line-height: 1.3; }
.sg__opt input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.sg__opt input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.sg__hint { font-size: .76rem; color: var(--c-text-sub); margin: 6px 0 0; line-height: 1.6; }
.sg__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.sg__item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; border: 1.5px solid var(--c-border); border-radius: 12px; padding: 14px; background: #fff; }
.sg__item--top { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(27, 138, 76, .12); }
.sg__rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--c-sky); color: var(--c-navy); }
.sg__item--top .sg__rank { background: var(--c-accent); color: #fff; }
.sg__name { font-weight: 800; color: var(--c-navy); line-height: 1.4; }
.sg__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.sg__tag { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--c-sky); color: var(--c-navy); }
.sg__total { text-align: right; white-space: nowrap; }
.sg__total b { display: block; font-size: 1.25rem; color: var(--c-accent-dark); font-variant-numeric: tabular-nums; }
.sg__total small { display: block; font-size: .74rem; color: var(--c-text-sub); }
.sg__detail { grid-column: 1 / -1; font-size: .8rem; color: var(--c-text-sub); line-height: 1.75; border-top: 1px dashed var(--c-border); padding-top: 8px; }
.sg__detail .tcta { margin-left: 6px; vertical-align: middle; }
.tl { list-style: none; margin: 14px 0 0; padding: 0; border-left: 3px solid var(--c-primary-pale); }
.tl li { position: relative; padding: 0 0 16px 18px; }
.tl li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--c-primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--c-primary-pale); }
.tl__d { display: block; font-size: .78rem; font-weight: 800; color: var(--c-primary-dark); }
.tl__t { display: block; font-weight: 800; color: var(--c-navy); }
.tl__s { display: block; font-size: .82rem; color: var(--c-text-sub); line-height: 1.7; }
.tl li.is-warn::before { background: var(--c-red); box-shadow: 0 0 0 2px rgba(220, 38, 38, .2); }
.tl li.is-warn .tl__t { color: var(--c-red); }
@media (max-width: 560px) { .sg__item { grid-template-columns: 30px minmax(0, 1fr); } .sg__total { grid-column: 2; text-align: left; white-space: normal; } .sg { padding: 14px; } }

/* ナビ項目が増えても折り返さない(2026-09-10) */
.gnav__menu a { white-space: nowrap; }
@media (min-width: 1000px) {
  .gnav__menu a { padding: 8px 9px; font-size: .84rem; }
  .gnav__cta { padding: 8px 14px !important; font-size: .8rem !important; margin-left: 4px; }
  .brand { flex-shrink: 0; }
  .brand__name { white-space: nowrap; }
}
@media (min-width: 1000px) and (max-width: 1280px) { .brand__tag { display: none; } }
/* ナビ項目9つ(2026-09-25): 1000〜1120px では項目の余白と文字を詰めて CTA が切れないようにする */
@media (min-width: 1000px) and (max-width: 1120px) {
  .gnav__menu a { padding: 8px 6px; font-size: .78rem; }
  .gnav__cta { padding: 8px 11px !important; font-size: .74rem !important; margin-left: 2px; }
  .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: 1.2rem; }
}

/* ============ ヒーロー 2026-09-10: 見出し + 法律上の最短スケジュール ============ */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; } }
.hero__copy { min-width: 0; }
.hero h1 { margin-bottom: 22px; }
.hero__data {
  position: relative; color: #fff;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px; padding: 18px 18px 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: heroDataIn .72s cubic-bezier(.22,.9,.3,1) .38s both;
}
@keyframes heroDataIn { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
.hero__dataHead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hero__dataIco { flex: 0 0 auto; width: 30px; height: 30px; color: #fff; }
.hero__needle { transform-origin: 32px 32px; animation: needleSettle 2.2s cubic-bezier(.22,.9,.3,1) .6s both; }
@keyframes needleSettle { 0% { transform: rotate(-140deg); } 55% { transform: rotate(18deg); } 75% { transform: rotate(-8deg); } 100% { transform: rotate(0); } }
.hero__dataTitle { flex: 1; min-width: 0; font-weight: 800; font-size: .98rem; line-height: 1.3; }
.hero__dataTitle small { display: block; font-weight: 600; font-size: .72rem; opacity: .78; margin-top: 2px; }
.hero__dataStamp { flex: 0 0 auto; font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: rgba(255,215,106,.18); color: #ffd76a; border: 1px solid rgba(255,215,106,.35); }
.hero__steps { list-style: none; margin: 0; padding: 0 0 0 2px; display: grid; gap: 9px; }
.hero__steps li { position: relative; display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px; align-items: start; font-size: .84rem; line-height: 1.45; padding-left: 16px; }
.hero__steps li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #ffd76a; box-shadow: 0 0 0 3px rgba(255,215,106,.22); }
.hero__steps li + li::after { content: ""; position: absolute; left: 3px; top: -8px; height: 10px; border-left: 2px solid rgba(255,255,255,.28); }
.hero__steps .d { font-weight: 800; color: #ffd76a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__steps .t { font-weight: 700; min-width: 0; }
.hero__steps .t small { display: block; font-weight: 500; font-size: .72rem; opacity: .82; margin-top: 1px; line-height: 1.5; }
.hero__dataNote { margin: 12px 0 0; font-size: .74rem; line-height: 1.7; opacity: .86; }
.hero__dataNote a { color: #ffd76a; font-weight: 700; text-decoration: none; }
.hero__dataNote a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .hero__data { padding: 15px 14px 13px; border-radius: 16px; }
  .hero__steps li { grid-template-columns: 5.6em minmax(0, 1fr); font-size: .8rem; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hero__data, .hero__needle { animation: none !important; transform: none !important; } }
.hero h1 { word-break: auto-phrase; }
.hero h1 .nb { white-space: nowrap; }
/* hero simplified 2026-09-11: 右カラムのカードを外し1列に */
@media (min-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.hero__copy { max-width: 100%; }

/* ヒーロー 2026-09-11: サイト名を最大に、その下に一言 */
.hero__brandName { display: inline-block; position: relative; font-family: "Zen Maru Gothic", var(--font); font-weight: 900; font-size: clamp(2.6rem, 1.9rem + 3.8vw, 5rem); line-height: 1.1; letter-spacing: .06em; color: #fff; text-shadow: 0 8px 32px rgba(0,0,0,.28); padding: 0 .04em .14em; margin: 0 0 14px; animation: heroRise .6s cubic-bezier(.22,.9,.3,1) .05s both; }
.hero__brandName::after { content: ""; position: absolute; left: .04em; right: .04em; bottom: 0; height: .12em; border-radius: 999px; background: linear-gradient(90deg, #ffd76a, #ffb648); transform: scaleX(0); transform-origin: left center; animation: brandSweep .8s cubic-bezier(.22,.9,.3,1) .5s forwards; }
@keyframes brandSweep { to { transform: scaleX(1); } }
.hero__tagline { display: block; font-size: clamp(1rem, .9rem + .7vw, 1.3rem); font-weight: 700; letter-spacing: .03em; color: rgba(255,255,255,.92); animation: heroRise .6s cubic-bezier(.22,.9,.3,1) .25s both; }
@media (prefers-reduced-motion: reduce) { .hero__brandName, .hero__tagline { animation: none !important; } .hero__brandName::after { animation: none; transform: none; } }

/* ヒーローのロゴ(輪郭化した文字+文字盤) 2026-09-11 (退職コンパス _dev/tc_logo/build.py が生成。両サイト共通) */
.hero__logo { display: block; width: min(100%, 700px); margin: 0 0 12px; }
.hero__logoSvg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 28px rgba(0,0,0,.28)); --gold: #ffd76a; }
.hero__logoSvg--tc { --ink: #3a1f12; }
.hero__logoSvg--kc { --ink: #0b2c5f; }
/* 位置決めの translate は外側の g に置いてあるので、動かす要素は transform-origin: 0 0(=文字盤の中心)で回す */
/* 1. 文字盤: 面 → 外枠が描かれる → 目盛りが順に灯る → 内側の環が弾む。目盛り環は90秒で1周し続ける */
.hero__logoFace { animation: logoFade .4s ease-out 0s both; }
.hero__logoCase { stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoDraw .9s cubic-bezier(.22,.9,.3,1) .05s forwards; }
.hero__logoBezel { transform-origin: 0 0; opacity: 0; animation: logoFade .5s ease-out .6s forwards, logoBezel 90s linear 0s infinite; }
.hero__logoTick { transform-box: fill-box; transform-origin: center; animation: logoPop .3s cubic-bezier(.2,1.5,.4,1) both; animation-delay: calc(1s + var(--i) * .12s); }
.hero__logoRingIn { transform-origin: 0 0; animation: logoPop .5s cubic-bezier(.2,1.5,.4,1) 1.1s both; }
.hero__logoDial--small { transform-origin: 0 0; animation: logoPop .5s cubic-bezier(.2,1.5,.4,1) 1.1s both; }
.hero__logoRing { transform-origin: 0 0; animation: logoRing 1.4s cubic-bezier(.22,.9,.3,1) .1s both; }
/* 2. 文字: 1字ずつ黄色い線で輪郭がなぞられ、なぞり終わると白く塗られる */
.hero__logoCh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: glyphTrace .9s ease-out both; animation-delay: calc(.3s + var(--i) * .12s); }
/* 3. 針: 1回転半して振れ、北で止まる → 止まった瞬間に輪が広がる → 以後ゆっくり揺れる。hero__logoAim はマウス追従(JS) */
.hero__logoAim { transform-origin: 0 0; transition: transform .5s cubic-bezier(.2,.9,.3,1); }
.hero__logoNeedle { transform-origin: 0 0; animation: needleSpin 2.1s cubic-bezier(.16,.84,.3,1) 1.2s both, needleIdle 7s ease-in-out 3.5s infinite; }
.hero__logoNeedleB { transform-origin: 0 0; animation: needleSpin 2.1s cubic-bezier(.16,.84,.3,1) 1.2s both, needleIdle 7s ease-in-out 3.5s infinite; }
.hero__logoPing { transform-origin: 0 0; opacity: 0; animation: logoPing .9s ease-out 3.2s both; }
/* 4. 線が文字を貫いて伸び、矢印が出る。7秒ごとに光が走る */
.hero__logoRoute { stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoDraw .75s cubic-bezier(.22,.9,.3,1) 1.75s forwards; }
.hero__logoArrow { transform-box: fill-box; transform-origin: left center; animation: logoPop .4s cubic-bezier(.2,1.5,.4,1) 2.45s both; }
.hero__logoPulse { stroke-dasharray: .12 1; stroke-dashoffset: 1.12; opacity: 0; animation: logoPulse 7s linear 3.8s infinite; }
/* 5. ロゴの後にキャッチとツールカード */
.hero__tagline { animation: heroRise .6s cubic-bezier(.22,.9,.3,1) 1.6s both; }
.hero__tools { animation: heroRise .6s cubic-bezier(.22,.9,.3,1) 1.9s both; }
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes logoPop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes logoBezel { to { transform: rotate(360deg); } }
@keyframes logoRing { from { opacity: 0; transform: rotate(-40deg) scale(.9); } to { opacity: .9; transform: none; } }
@keyframes glyphTrace { 0% { stroke-dashoffset: 1; stroke: var(--gold); stroke-width: 4; fill-opacity: 0; } 55% { stroke-dashoffset: 0; stroke: var(--gold); stroke-width: 4; fill-opacity: 0; } 100% { stroke-dashoffset: 0; stroke: var(--ink); stroke-width: 12; fill-opacity: 1; } }
@keyframes needleSpin { 0% { transform: rotate(-540deg); opacity: 0; } 12% { opacity: 1; } 70% { transform: rotate(14deg); } 85% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@keyframes needleIdle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(3deg); } 70% { transform: rotate(-3deg); } }
@keyframes logoPing { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes logoPulse { 0% { opacity: 0; stroke-dashoffset: 1.12; } 4% { opacity: .9; } 32% { opacity: .9; stroke-dashoffset: -0.12; } 34%, 100% { opacity: 0; stroke-dashoffset: -0.12; } }
@media (prefers-reduced-motion: reduce) {
  .hero__logoFace, .hero__logoCase, .hero__logoBezel, .hero__logoTick, .hero__logoRingIn, .hero__logoDial--small, .hero__logoRing, .hero__logoCh, .hero__logoNeedle, .hero__logoNeedleB, .hero__logoRoute, .hero__logoArrow, .hero__tagline, .hero__tools { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
  .hero__logoCh { fill-opacity: 1; }
  .hero__logoTick, .hero__logoRingIn, .hero__logoDial--small, .hero__logoRing, .hero__logoBezel, .hero__logoArrow, .hero__logoNeedle, .hero__logoNeedleB, .hero__logoAim { transform: none !important; }
  .hero__logoPing, .hero__logoPulse { animation: none !important; opacity: 0 !important; }
}

/* ============ 退職届テンプレート /todoke (2026-09-25) ============ */
.sg__f--wide { grid-column: 1 / -1; }
.sg__f input[type="text"] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--c-border); border-radius: 8px; font: inherit; font-size: 1rem; background: #fff; color: var(--c-text); }
.sg__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sg__check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; cursor: pointer; line-height: 1.4; }
.sg__check input { width: 18px; height: 18px; accent-color: var(--c-primary); margin: 0; flex: 0 0 auto; }
.btn-area button.btn { width: 100%; font-family: inherit; cursor: pointer; }
.btn-area button.btn--cv { border: 0; }
.paper-wrap { overflow: hidden; margin: 12px 0 0; }
.paper {
  box-sizing: border-box; width: 210mm; height: 297mm; padding: 28mm 24mm;
  background: #fff; color: #111; border: 1px solid var(--c-border); box-shadow: var(--shadow-2);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS Mincho", serif;
  font-size: 12pt; line-height: 2; transform-origin: 0 0; overflow: hidden;
}
.paper--b5 { width: 182mm; height: 257mm; padding: 22mm 20mm; }
.paper__in { height: 100%; }
.paper p { margin: 0; }
.paper__title { font-size: 20pt; letter-spacing: .6em; text-indent: .6em; font-weight: 700; }
.paper__seal { display: inline-block; width: 1.7em; height: 1.7em; line-height: 1.6em; text-align: center; border: 1px solid #888; border-radius: 50%; font-size: .75em; color: #888; margin-inline-start: .6em; vertical-align: middle; text-indent: 0; letter-spacing: 0; }
.paper__seal[hidden] { display: none; }
.paper--yoko .paper__title { text-align: center; margin-bottom: 14mm; }
.paper--yoko .paper__watakushi { text-align: right; margin-bottom: 2mm; }
.paper--yoko .paper__text { text-indent: 1em; margin-bottom: 12mm; }
.paper--yoko .paper__date { margin-bottom: 6mm; }
.paper--yoko .paper__from { text-align: right; margin-bottom: 14mm; }
/* 縦書き: 右の行から 表題 → 私儀 → 本文 → 提出日 → 所属・氏名 → 宛名 */
.paper--tate .paper__in { writing-mode: vertical-rl; }
.paper--tate .paper__title { text-align: center; margin-block-end: 10mm; }
.paper--tate .paper__watakushi { text-align: end; margin-block-end: 3mm; }
.paper--tate .paper__text { text-indent: 1em; margin-block-end: 10mm; }
.paper--tate .paper__date { margin-block-end: 5mm; }
.paper--tate .paper__from { text-align: end; margin-block-end: 12mm; }
.paper--tate .paper__to { text-align: start; }
.env { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 10px 0 8px; }
.env__f { margin: 0; text-align: center; }
.env__paper { position: relative; width: 108px; height: 228px; margin: 0 auto 8px; background: #fff; border: 1.5px solid #dcc7bb; border-radius: 4px; box-shadow: var(--shadow-1); font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS Mincho", serif; color: #111; }
.env__paper--back::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34px; border-bottom: 1px dashed #e6d3c9; }
.env__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); writing-mode: vertical-rl; font-size: 1.05rem; letter-spacing: .3em; font-weight: 700; white-space: nowrap; }
.env__bl { position: absolute; left: 12px; bottom: 12px; writing-mode: vertical-rl; font-size: .72rem; line-height: 1.7; text-align: end; }
.env figcaption { font-size: .76rem; color: var(--c-text-sub); }
/* 返却物・手続きのチェックリスト(2026-09-25): localStorage に保存、印刷ボタンつき */
.chk { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--c-primary); margin: 3px 0 0; flex: 0 0 auto; }
.chk input:checked + span { text-decoration: line-through; color: var(--c-text-sub); }
.chk__tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0 18px; font-size: .8rem; color: var(--c-text-sub); }
.chk__tools button { font: inherit; font-weight: 800; color: var(--c-primary); background: #fff; border: 2px solid var(--c-primary); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chk__tools button:hover { background: var(--c-primary-pale); }

/* ============ 印刷 (2026-09-25) ============ */
@media print {
  .gnav-wrap, .breadcrumb, .footer, .to-top, .stickycta, .nav-toggle, .pr-note, .cta, .final-pick, .author, .related, .toolbox, .answer-cta, .answer-cta__q, .svc__banner, .eyecatch, .toc, .btn-area, .agent-mini, .sources, .cta--aside, .hero, .finder, .pick, .chk__tools, .cmp-row__cta { display: none !important; }
  html, body { margin: 0; padding: 0; background: #fff; color: #000; }
  .article { max-width: none; padding: 0 8mm; }
  .article-body a { text-decoration: none; color: inherit; }
  .chk input:checked + span { text-decoration: none; color: inherit; }
  /* 退職届テンプレートは用紙だけを実寸で */
  .td .container { max-width: none; padding: 0; margin: 0; }
  .td .sg, .td .lead, .td .article-title, .td .td-hide, .td h2, .td .env, .td .container > p, .td .container > ul { display: none !important; }
  .td.article { padding: 0; }
  .td .paper-wrap { overflow: visible; height: auto !important; margin: 0; }
  .td .paper { transform: none !important; box-shadow: none; border: 0; margin: 0; page-break-inside: avoid; break-inside: avoid; }
}

/* ============ 失業保険の早見表 /shitsugyo-hayamihyo (2026-09-25) ============ */
table.cmp caption { caption-side: top; text-align: left; font-size: .78rem; font-weight: 700; color: var(--c-text-sub); padding: 10px 14px 8px; background: #fff; border-bottom: 1px solid var(--c-border); line-height: 1.6; }
table.cmp.hy { min-width: 880px; font-size: .82rem; }
table.cmp.hy th, table.cmp.hy td { padding: 9px 10px; vertical-align: middle; }
table.cmp.hy thead th { white-space: normal; line-height: 1.4; }
table.cmp.hy thead th small { display: block; font-weight: 600; font-size: .68rem; opacity: .85; margin-top: 2px; }
table.cmp.hy td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.cmp.hy td small { display: block; color: var(--c-text-sub); font-size: .7rem; font-weight: 400; }
table.cmp.hy td .cap { color: var(--c-red); font-weight: 700; }
.hy__go { display: inline-block; font-size: .72rem; font-weight: 800; color: var(--c-primary); text-decoration: none; border: 1.5px solid var(--c-primary); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.hy__go:hover, .hy__go:focus-visible { background: var(--c-primary-pale); }
.hy .tbl-wrap { margin-top: 12px; margin-bottom: 22px; }   /* margin-left は 820px 以上で本文より広く出す既存ルールに任せる */
table.cmp.hy caption { width: min(calc(100vw - 44px), 1100px); box-sizing: border-box; position: sticky; left: 0; }   /* 横スクロールしても見出し文が見えるように */
.hy .answer-cta { margin-top: 0; }

/* ==================================================================
   いえコンパス 追加パーツ (2026-09-26)
   ================================================================== */
/* 補助金カード(都道府県・市区町村ページ) */
.hj-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 14px 0 18px; }
.hj { border: 1.5px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 16px 16px 12px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.hj__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.hj__kind { font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--c-primary-pale); color: var(--c-primary-dark); }
.hj__status { font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.hj__status--on { background: #e3f4ea; color: #146b3a; }
.hj__status--off { background: #f1ece8; color: #6b5a50; }
.hj__name { font-size: 1.02rem; font-weight: 800; color: var(--c-navy); line-height: 1.5; margin: 2px 0 6px; }
.hj__amount { font-size: 1.02rem; font-weight: 800; color: var(--c-primary-dark); line-height: 1.55; margin: 0 0 8px; }
.hj__conds { margin: 0 0 8px 1.1em; font-size: .84rem; line-height: 1.7; color: var(--c-text); }
.hj__period { font-size: .8rem; color: var(--c-text-sub); margin: auto 0 4px; }
.hj__src { font-size: .78rem; margin: 0; }
.article-body .hj__src a { font-weight: 700; }

/* 横棒グラフ(SVG) */
.chart-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; margin: 12px 0 20px; }
.chart-duo figure { margin: 0; }
.chart-duo figcaption { font-size: .84rem; font-weight: 800; color: var(--c-navy); margin: 0 0 6px; }
.chart-bars { width: 100%; height: auto; background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 8px; }

/* 市区町村リンク */
.city-links { list-style: none; margin: 10px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.article-body .city-links li { margin: 0; }
.city-links a { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--c-border); border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--c-navy); line-height: 1.4; transition: border-color .2s, background .2s; }
.city-links a:hover { border-color: var(--c-primary); background: var(--c-primary-pale); }
.city-links small { font-weight: 500; color: var(--c-text-sub); margin-left: 4px; }

/* 計算ツールの結果 */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin: 16px 0; }
.kpi__i { border: 1.5px solid var(--c-border); border-radius: 12px; background: #fff; padding: 12px 14px; }
.kpi__i--main { border-color: var(--c-primary); background: var(--c-primary-pale); }
.kpi__l { display: block; font-size: .76rem; font-weight: 800; color: var(--c-text-sub); }
.kpi__v { display: block; font-size: 1.45rem; font-weight: 800; color: var(--c-navy); font-variant-numeric: tabular-nums; line-height: 1.35; margin-top: 2px; }
.kpi__s { display: block; font-size: .74rem; color: var(--c-text-sub); line-height: 1.55; margin-top: 2px; }
.calc-note { font-size: .78rem; color: var(--c-text-sub); line-height: 1.7; }
.tbl-scroll { max-height: 420px; overflow: auto; border: 1px solid var(--c-border); border-radius: 10px; }
.tbl-scroll table.cmp { margin: 0; }
.hj-result { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.article-body .hj-result li { border: 1.5px solid var(--c-border); border-radius: 12px; padding: 12px 14px; background: #fff; margin: 0; }
.article-body .hj-result li.is-ok { border-color: #1b8a4c; background: #f1faf4; }
.article-body .hj-result li.is-ng { opacity: .72; }
.hj-result b { display: block; color: var(--c-navy); }
.hj-result .amt { font-size: 1.15rem; font-weight: 800; color: #146b3a; }
.hj-result .why { display: block; font-size: .8rem; color: var(--c-text-sub); line-height: 1.65; margin-top: 2px; }

/* トップ: 数字の帯・都道府県 */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; }
.statband__i { background: #fff; border: 1.5px solid var(--c-border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-1); }
.statband__l { font-size: .78rem; font-weight: 800; color: var(--c-text-sub); }
.statband__v { font-size: 1.6rem; font-weight: 800; color: var(--c-primary-dark); line-height: 1.3; font-variant-numeric: tabular-nums; }
.statband__s { font-size: .76rem; color: var(--c-text-sub); line-height: 1.6; }
.pref-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px; }
.pref-map a { display: flex; justify-content: space-between; gap: 6px; padding: 9px 12px; border: 1.5px solid var(--c-border); border-radius: 10px; background: #fff; text-decoration: none; color: var(--c-navy); font-weight: 700; font-size: .88rem; }
.pref-map a:hover { border-color: var(--c-primary); background: var(--c-primary-pale); }
.pref-map small { color: var(--c-text-sub); font-weight: 600; font-variant-numeric: tabular-nums; }
.pref-region { font-size: .9rem; font-weight: 800; color: var(--c-navy); margin: 16px 0 8px; }
.hero__lead { font-size: clamp(.95rem, .9rem + .4vw, 1.15rem); font-weight: 700; color: rgba(255,255,255,.9); margin: 0 0 8px; }
.hero__h1 { font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.45rem); font-weight: 800; line-height: 1.45; color: #fff; margin: 0 0 14px; word-break: auto-phrase; }
.hero__h1 .nb { white-space: nowrap; }
.hero__h1 em { font-style: normal; color: #ffd76a; }
.hero__sub { font-size: .92rem; color: rgba(255,255,255,.88); line-height: 1.8; margin: 0 0 6px; max-width: 760px; }

.statnote { text-align: center; font-size: .84rem; color: var(--c-text-sub); line-height: 1.8; margin: 18px auto 26px; max-width: 760px; }
.section .answer-cta { margin-top: 0; }

.article-body .hj__name { font-size: 1.02rem; margin: 2px 0 6px; padding: 0; border: 0; }
.article-body .hj__name::after { display: none; }

/* ==================================================================
   落ち着いた見た目(2026-10-10)
   ユーザーの「AI感を避ける」指摘(マネカル v6 と同じ方針)に合わせ、
   グラデーション・浮き上がり・フェードイン・ピル・大きい角丸と影を打ち消す。
   色はテラコッタ1色を文字リンク・主見出し線・強調だけに使い、区切りは罫線と余白で。
   ================================================================== */
:root { --radius: 4px; --radius-s: 3px; --shadow-1: none; --shadow-2: none; }
body { background: #fffdfa; }

/* ヘッダー */
.gnav-wrap { background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gnav__cta { border-radius: 3px !important; background: var(--c-accent) !important; box-shadow: none !important; }

/* ヒーロー: 単色・装飾なし */
.hero { background: #3a1f12 !important; animation: none !important; padding: 44px 20px 40px; }
.hero::before, .hero::after, .hero__bg { display: none !important; }
.hero__lead { color: #f3dccf; font-weight: 600; font-size: .9rem; margin: 0 0 10px; }
.hero__h1 { font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.9rem); line-height: 1.55; margin: 0 0 12px; }
.hero__h1 em { color: #fff; border-bottom: 3px solid #d98a63; }
.hero__sub { color: #eadbd2; font-size: .88rem; }
.hero__tools { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.25); max-width: 760px; animation: none !important; }
.hero__tool { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.25) !important; border-radius: 0 !important; box-shadow: none !important; padding: 12px 2px !important; transform: none !important; }
.hero__tool:hover { background: rgba(255,255,255,.06) !important; }
.hero__toolIco { background: transparent !important; border: 0 !important; width: 26px !important; height: 26px !important; }
.hero__toolIco svg { stroke: #f3dccf !important; }
.hero__toolT { color: #fff !important; font-size: .98rem !important; }
.hero__toolD { color: #e6d2c6 !important; }
.hero__toolGo { display: none !important; }

/* セクション見出し: 英字ラベルと下線の飾りをやめ、左寄せの罫線に */
.sec-head__en { display: none !important; }
.sec-head { text-align: left; margin-bottom: 22px; border-bottom: 2px solid var(--c-navy); padding-bottom: 8px; }
.sec-head h1, .sec-head h2 { font-size: 1.3rem; }
.sec-head h2::after, .sec-head h1::after { display: none !important; }
.sec-head p { margin-top: 4px; }
.section { padding: 44px 0; }
.section--sky { background: #faf5f0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }

/* 一覧: カードをやめて罫線で区切るリストに */
.finder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 28px; border-top: 1px solid var(--c-border); }
.finder__item { border: 0 !important; border-bottom: 1px solid var(--c-border) !important; border-radius: 0 !important; padding: 12px 2px !important; background: transparent !important; transform: none !important; }
.finder__item:hover { background: #faf5f0 !important; }
.finder__item .ico { display: none !important; }
.finder__item > span { font-weight: 800; color: var(--c-primary-dark); }
.finder__item small { color: var(--c-text-sub); font-weight: 500; }
.toolhero { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--c-border); }
.toolhero__card { border: 0 !important; border-bottom: 1px solid var(--c-border) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; padding: 14px 2px !important; transform: none !important; }
.toolhero__go { display: none !important; }

/* 数字の帯: カードをやめて表に近い並びに */
.statband { gap: 0; border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); }
.statband__i { border: 0; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); border-radius: 0; box-shadow: none; background: #fff; }
.statband__v { color: var(--c-navy); }

/* 都道府県・市区町村の一覧: ピルをやめ、罫線の表に */
.pref-map { gap: 0; border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); }
.pref-map a { border: 0; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); border-radius: 0; background: #fff; }
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 0 18px; }
.city-links a { display: block; border: 0; border-bottom: 1px dotted var(--c-border); border-radius: 0; background: transparent; padding: 8px 2px; color: var(--c-primary-dark); text-decoration: none; }
.city-links a:hover { background: transparent; text-decoration: underline; }

/* 記事カード: 浮かない・角丸小・影なし */
.card, .card:hover { box-shadow: none !important; transform: none !important; border-radius: var(--radius); }
.card:hover .card__thumb img { transform: none !important; }
.card__cat, .hj__kind, .hj__status { border-radius: 2px; }
.card__cat { background: transparent; border: 1px solid var(--c-primary); padding: 1px 8px; }

/* 結論ボックス・目次・囲み: グラデーション枠をやめる */
.answer-first { background: #fff !important; border: 1px solid var(--c-border) !important; border-left: 4px solid var(--c-primary) !important; animation: none !important; }
.answer-first__label { border-radius: 2px; background: var(--c-navy); }
.toc { background: #fff; }
.box-point, .box-warn, .box-memo { border-radius: var(--radius); }
.article-body h2 { background: transparent; border-left: 0; border-bottom: 2px solid var(--c-navy); border-radius: 0; padding: 0 0 8px; }
.article-body h3::after { display: none; }
.article-body strong { background: none; font-weight: 800; color: var(--c-navy); }

/* CTA: グラデーション・光・浮きをやめ、単色の四角いボタンに */
.btn { border-radius: 4px !important; }
.btn--cv { background: var(--c-accent) !important; box-shadow: none !important; }
.btn--cv::after { display: none !important; }
.btn:hover, .btn:focus-visible, .btn--cv:hover { transform: none !important; box-shadow: none !important; filter: brightness(1.06); }
.cta, .final-pick { background: #fff !important; border: 1px solid var(--c-border) !important; border-top: 3px solid var(--c-accent) !important; border-radius: var(--radius) !important; text-align: left; }
.cta .btn, .final-pick .btn { margin-left: 0; margin-right: 0; max-width: 480px; }
.cta__t { color: var(--c-navy); }
.final-pick__label { background: transparent; color: var(--c-accent-dark); border-radius: 0; padding: 0; font-size: .8rem; }
.answer-cta__btn { border-radius: 4px !important; box-shadow: none !important; }
.answer-cta__go { border-radius: 3px !important; }

/* 補助金カード・計算結果 */
.hj { box-shadow: none; }
.kpi__i, .kpi__i--main { border-radius: var(--radius); }
.hj-result li { border-radius: var(--radius) !important; }
.sg, .tbl-wrap, .chart-bars { border-radius: var(--radius); }
.sg__opt span { border-radius: 3px; }

/* 動き: フェードイン・揺れ・浮き上がりを止める(下線が伸びるリンクだけ残す) */
.reveal, .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
.finder__compass { animation: none !important; }
.steps > li:hover { transform: none; }
.svc:hover { transform: none; box-shadow: none; }

.toolnote { font-size: .88rem; color: var(--c-text-sub); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 10px 0; margin: 18px 0 26px; }
.hj__amount { color: var(--c-navy); font-size: .98rem; }

/* 話題ごとに添える無料サービス(2026-10-11) */
.subsvc { border-top: 2px solid var(--c-navy); margin: 32px 0; padding-top: 4px; }
.subsvc__t { font-size: 1.05rem; margin: 12px 0 6px; padding: 0; border: 0; background: none; }
.subsvc__t::before, .subsvc__t::after { display: none; }
.subsvc__lead { font-size: .92rem; margin: 0 0 8px; }
.subsvc__row { border-bottom: 1px solid var(--c-border); padding: 14px 0; }
.subsvc__row p { margin: 0 0 8px; font-size: .92rem; }
.subsvc__name { font-weight: 700; color: var(--c-navy); }
.subsvc__row .btn--sub { display: inline-block; width: auto; margin: 2px 0 0; }
.subsvc .micro { text-align: left; }
