/* ==========================================================
   退職コンパス — サイト共通スタイル
   ティール基調 / 可読性・信頼感・CVR最適化
   ========================================================== */

:root {
  /* ブランドカラー(青基調) */
  --c-navy: #0e3f38;        /* 見出し・ヘッダー */
  --c-primary: #0f766e;     /* メインティール */
  --c-primary-dark: #0b5d56;
  --c-primary-pale: #e6f4f2; /* 淡い背景 */
  --c-sky: #f3faf8;          /* セクション背景 */
  --c-accent: #f26f1d;       /* CTA(青の補色=オレンジ) */
  --c-accent-dark: #d85c10;
  --c-green: #0e9f6e;        /* 無料/OKバッジ */
  --c-red: #d64545;          /* 注意 */
  --c-text: #26303e;
  --c-text-sub: #5f6b7a;
  --c-border: #dde5ef;
  --c-bg: #ffffff;
  --c-gold: #d9a521;
  --c-silver: #94a0ac;
  --c-bronze: #b07a45;

  --shadow-1: 0 2px 8px rgba(14, 63, 56, 0.07);
  --shadow-2: 0 8px 24px rgba(14, 63, 56, 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 { 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.56rem; font-weight: 600; color: #94a3b5;
  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, #0e3f38 0%, #11635a 46%, #0f766e 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), #4b8bf5) 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 #c3d7f7; }
.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(242, 111, 29, .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), #ff9a4d); }

.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: #eefaf4; border: 1px solid #bfe8d4; }
.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), #ff8c3a);
  box-shadow: 0 4px 0 var(--c-accent-dark), 0 8px 18px rgba(242, 111, 29, .35);
}
.btn--cv:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-accent-dark), 0 6px 14px rgba(242,111,29,.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; }

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

.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: 860px) {
  .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(14,63,56,.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; }
.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(15,118,110,.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(14,63,56,.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(15,118,110,.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(15,118,110,.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; }
.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; }
.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 { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 940px; 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: .8rem; padding: 10px 12px; border-radius: 12px; background: var(--c-accent); 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: 720px; 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 { overflow-x: visible; border: 0; background: transparent; border-radius: 0; }
  .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 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: 6px 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;
  }
  .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; }
}

/* ============================================================
   ヒーローに診断ツール・比較表へのリンクを置く
   ============================================================ */
.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 {
    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, #0e3f38 0%, #11635a 46%, #0f766e 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-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)));
  }
}
