/*
Theme Name: 就活ドック
Theme URI: https://example.com/
Author: 就活ドック運営
Description: 大学3・4年生向け就活サイト「就活ドック」のオリジナルテーマ。段階別の入口、セルフチェック、閲覧数ランキング、ブックマーク機能付き。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: shukatsu-dock
*/

/* ==========================================================
   1. 変数・リセット
   ========================================================== */
:root {
  --c-accent: #2B6CA3;
  --c-accent-dark: #1D4A72;
  --c-ink: #14304A;
  --c-sub: #3A5670;
  --c-muted: #4B6379;
  --c-line: #D5E2EF;
  --c-line-strong: #BACDE0;
  --c-soft: #EFF5FB;
  --c-tint: #E3EEF8;
  --c-white: #FFFFFF;
  --c-amber: #F5B83D;
  --c-amber-dark: #C4861A;
  --c-focus: #F5B83D;
  --f-head: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --f-body: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --radius: 20px;
  --wrap: 1120px;
  --tabbar-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ==========================================================
   2. ボタン・バッジ・共通パーツ
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1.2;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); }
.btn--outline { background: #fff; color: var(--c-accent); border-color: var(--c-accent); }
.btn--amber { background: var(--c-amber); color: var(--c-ink); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }

.badge {
  display: inline-block; background: var(--c-amber); color: var(--c-ink);
  font-size: 12px; font-weight: 700; line-height: 1.6; padding: 2px 10px; border-radius: 999px;
}
.chip {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6;
  padding: 2px 10px; border-radius: 999px;
  background: var(--c-tint); color: var(--c-accent-dark);
}
.chip--link:hover { background: var(--c-line-strong); }
.eyebrow { font-weight: 700; letter-spacing: .08em; font-size: 14px; color: var(--c-accent); }

.section { padding: 56px 0 24px; }
.section__title { font-family: var(--f-head); font-size: 36px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.section__lead { color: var(--c-sub); margin-bottom: 28px; }
.section__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-bottom: 8px; }
.section__head .section__title { margin-bottom: 0; }

/* ==========================================================
   3. ヘッダー
   ========================================================== */
.site-header { border-bottom: 1px solid var(--c-line); background: #fff; position: relative; z-index: 20; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 24px; color: var(--c-accent); }
.gnav { display: flex; flex-wrap: wrap; gap: 8px 28px; flex-grow: 1; }
.gnav a { padding: 10px 0; font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.search-form { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--c-line-strong); border-radius: 999px; padding: 0 6px 0 16px; height: 44px; background: #F6F9FD; min-width: 240px; }
.search-form svg { color: var(--c-muted); flex: 0 0 auto; }
.search-form input[type="search"] { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; height: 100%; }
.search-form input[type="search"]:focus-visible { outline: 0; }
.search-form:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-focus); }
.search-form button { border: 0; background: var(--c-accent); color: #fff; border-radius: 999px; min-width: 36px; height: 34px; padding: 0 12px; font-size: 13px; font-weight: 700; }
.search-form--large { height: 56px; max-width: 560px; }
.search-form--large input[type="search"] { font-size: 17px; }
.search-form--large button { height: 44px; padding: 0 20px; font-size: 15px; }

.menu-toggle { display: none; }

/* ==========================================================
   4. トップ: ヒーロー
   ========================================================== */
.hero { background: var(--c-soft); position: relative; overflow: hidden; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 104px; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__label { display: inline-block; background: #fff; border: 1px solid var(--c-line-strong); color: var(--c-accent); font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero__title { font-family: var(--f-head); font-weight: 700; font-size: 56px; line-height: 1.25; letter-spacing: .01em; margin-bottom: 20px; }
.hero__lead { font-size: 18px; color: var(--c-sub); max-width: 30em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { flex: 0 1 380px; min-width: 280px; }
.hero__search { display: none; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; display: block; }

.sample-card { background: #fff; border: 1px solid var(--c-line); border-radius: 24px; padding: 24px 24px 20px; box-shadow: 0 12px 32px rgba(43,108,163,.12); }
.sample-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.sample-card__head strong { font-family: var(--f-head); font-size: 18px; }
.sample-card__head span { font-size: 12px; color: var(--c-muted); }
.sample-card svg { display: block; max-width: 300px; margin: 0 auto; width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--c-sub); margin-top: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; background: var(--c-accent); }
.legend i.dash { height: 0; background: none; border-top: 3px dashed var(--c-amber-dark); border-radius: 0; }

/* ==========================================================
   5. 段階カード
   ========================================================== */
.stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.stage-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius);
  padding: 22px 22px 20px; min-height: 150px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.stage-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(43,108,163,.16); border-color: var(--c-accent); }
.stage-card:active { transform: scale(.98); }
.stage-card__top { display: flex; align-items: center; gap: 12px; }
.stage-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-tint); color: var(--c-accent); flex: 0 0 auto; }
.stage-card__no { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--c-muted); letter-spacing: .08em; }
.stage-card__top .badge { margin-left: auto; }
.stage-card__name { font-size: 18px; font-weight: 700; line-height: 1.45; }
.stage-card__desc { font-size: 14px; color: var(--c-muted); line-height: 1.6; }
.stage-card__count { margin-top: auto; font-size: 13px; color: var(--c-accent); font-weight: 700; }

/* ==========================================================
   6. セルフチェック帯
   ========================================================== */
.check-band { background: var(--c-accent-dark); color: #fff; margin-top: 48px; }
.check-band__inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.check-band .eyebrow { color: #A9CCEC; margin-bottom: 8px; }
.check-band__title { font-family: var(--f-head); font-size: 36px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.check-band__lead { max-width: 40em; color: #DAE8F6; }
.check-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.check-steps li { background: #fff; color: var(--c-ink); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.check-steps__no { font-family: var(--f-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--c-accent); }
.check-steps strong { font-size: 20px; }
.check-steps span.check-steps__desc { font-size: 15px; color: var(--c-sub); }
.check-band__foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.check-band__note { font-size: 14px; color: #DAE8F6; flex: 1 1 320px; }

/* ==========================================================
   7. カード（コラム・理系ルート）
   ========================================================== */
.col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.col-grid--rank { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.col-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.col-card { position: relative; background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.col-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(43,108,163,.16); border-color: var(--c-accent); }
.col-card__link { display: flex; flex-direction: column; height: 100%; }
.col-card__thumb { height: 120px; background: var(--c-accent); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.col-card__thumb--img { padding: 0; height: auto; aspect-ratio: 16 / 9; background: var(--c-tint); }
.col-card__thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.col-card__chip { align-self: flex-start; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.col-card__mark { font-family: var(--f-head); font-weight: 700; font-size: 36px; line-height: 1; opacity: .6; }
.col-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.col-card__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.col-card__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.col-card__excerpt { font-size: 13px; color: var(--c-muted); line-height: 1.6; }
.col-card__rank { position: absolute; left: 0; top: 0; z-index: 1; background: var(--c-amber); color: var(--c-ink); font-family: var(--f-head); font-weight: 700; font-size: 15px; padding: 2px 14px 2px 12px; border-bottom-right-radius: 14px; }

.bm-btn {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: var(--c-accent-dark);
  box-shadow: 0 2px 8px rgba(20,48,74,.16);
}
.bm-btn svg { width: 22px; height: 22px; }
.bm-btn[aria-pressed="true"] { background: var(--c-amber); color: var(--c-ink); }
.bm-btn[aria-pressed="true"] svg path { fill: currentColor; }

.sci-card { display: flex; flex-direction: column; gap: 8px; background: var(--c-soft); border: 1.5px solid var(--c-line); border-radius: var(--radius); padding: 24px; height: 100%; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.sci-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(43,108,163,.16); border-color: var(--c-accent); }
.sci-card strong { font-size: 19px; line-height: 1.5; }
.sci-card span.sci-card__desc { font-size: 14px; color: var(--c-muted); }
.sci-card .more { margin-top: auto; padding-top: 8px; color: var(--c-accent); font-weight: 700; font-size: 14px; }

/* ==========================================================
   8. プロフィール・約束
   ========================================================== */
.profile { background: var(--c-soft); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.profile__photo { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: #fff; border: 2px dashed #9DB8D3; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.profile__photo--set { border-style: solid; border-color: #fff; }
.profile__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.profile__name { font-family: var(--f-head); font-size: 28px; font-weight: 700; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.profile__tags li { background: #fff; border: 1px solid var(--c-line-strong); border-radius: 999px; padding: 2px 14px; font-size: 14px; font-weight: 500; }
.profile__bio { font-size: 15px; color: #2C4A66; }
.profile__media { font-size: 14px; color: var(--c-muted); }
.profile__media strong { color: var(--c-ink); }

.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.promise-list li { border-top: 3px solid var(--c-accent); padding-top: 16px; font-weight: 700; font-size: 15px; line-height: 1.7; }

/* ==========================================================
   9. フッター・タブバー
   ========================================================== */
.site-footer { background: var(--c-ink); color: #DAE8F6; padding: 40px 0; margin-top: 72px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.site-footer__brand strong { display: block; font-family: var(--f-head); font-size: 22px; color: #fff; }
.site-footer__brand span { font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; list-style: none; }
.footer-nav a { padding: 8px 0; display: inline-block; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer__copy { margin-top: 24px; font-size: 12px; color: #A3BBD2; }

.tabbar { display: none; }

/* ==========================================================
   10. 一覧・記事ページ
   ========================================================== */
.page-hero { background: var(--c-soft); padding: 40px 0 36px; }
.page-hero__title { font-family: var(--f-head); font-size: 40px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.page-hero__desc { color: var(--c-sub); max-width: 40em; }
.page-hero .stage-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--c-accent); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.topic-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #fff; border: 1.5px solid var(--c-line-strong); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--c-accent-dark); }
.topic-chips a:hover, .topic-chips a[aria-current="true"] { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }

.breadcrumb { font-size: 13px; color: var(--c-muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--c-line-strong); }
.breadcrumb a:hover { text-decoration: underline; }

.archive-body { padding: 40px 0 0; }
.empty-note { background: var(--c-soft); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--c-sub); }

.pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--c-line-strong); border-radius: 999px; font-weight: 700; }
.pagination .page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); }

.article { max-width: 760px; margin: 0 auto; padding: 24px 32px 0; }
.article__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 12px; }
.article__title { font-family: var(--f-head); font-size: 36px; font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.article__lead { background: var(--c-soft); border-radius: 16px; padding: 18px 22px; color: var(--c-sub); margin-bottom: 20px; }
.article__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.article__thumb { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.article__thumb img { display: block; width: 100%; }

.bm-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--c-accent); background: #fff; color: var(--c-accent); font-weight: 700; font-size: 14px; }
.bm-inline svg { width: 20px; height: 20px; }
.bm-inline[aria-pressed="true"] { background: var(--c-amber); border-color: var(--c-amber); color: var(--c-ink); }
.bm-inline[aria-pressed="true"] svg path { fill: currentColor; }

.entry h2 { font-family: var(--f-head); font-size: 26px; line-height: 1.45; margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 3px solid var(--c-line); position: relative; }
.entry h2::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 72px; height: 3px; background: var(--c-accent); }
.entry h3 { font-size: 20px; line-height: 1.5; margin: 36px 0 12px; padding-left: 12px; border-left: 5px solid var(--c-accent); }
.entry h4 { font-size: 17px; margin: 28px 0 8px; }
.entry p { margin: 0 0 1.4em; }
.entry ul, .entry ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.entry li { margin-bottom: .4em; }
.entry a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--c-accent-dark); }
.entry strong { background: linear-gradient(transparent 62%, #FCE7B0 62%); }
.entry blockquote { margin: 0 0 1.6em; padding: 16px 22px; background: var(--c-soft); border-left: 5px solid var(--c-accent); border-radius: 0 12px 12px 0; color: var(--c-sub); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.entry th, .entry td { border: 1px solid var(--c-line-strong); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry th { background: var(--c-soft); }
.entry img { border-radius: 12px; }
.entry .wp-block-table { overflow-x: auto; }
.entry .point-box { background: var(--c-soft); border: 1.5px solid var(--c-line); border-radius: 16px; padding: 18px 22px; margin: 0 0 1.6em; }
.entry .point-box > :last-child { margin-bottom: 0; }
.entry .point-box__label { display: inline-block; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 13px; padding: 1px 12px; border-radius: 999px; margin-bottom: 8px; }

.article-cta { background: var(--c-accent-dark); color: #fff; border-radius: 24px; padding: 28px; margin: 48px 0 0; display: flex; flex-direction: column; gap: 12px; }
.article-cta strong { font-family: var(--f-head); font-size: 22px; line-height: 1.5; }
.article-cta p { color: #DAE8F6; font-size: 15px; }
.article-cta .btn { align-self: flex-start; }

.share { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--c-line); }
.share__title { font-weight: 700; margin-bottom: 10px; font-size: 14px; color: var(--c-muted); }
.share__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--c-line-strong); background: #fff; font-weight: 700; font-size: 14px; }
.share__btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.share__btn svg { width: 18px; height: 18px; }

.author-box { margin-top: 40px; display: flex; gap: 16px; align-items: center; background: var(--c-soft); border-radius: 20px; padding: 20px 24px; }
.author-box__photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid #fff; }
.author-box__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-box__label { font-size: 12px; font-weight: 700; color: var(--c-accent); letter-spacing: .06em; }
.author-box__name { font-weight: 700; font-size: 18px; font-family: var(--f-head); }
.author-box__role { font-size: 13px; color: var(--c-muted); }

.related { margin-top: 64px; }
.related__title { font-family: var(--f-head); font-size: 26px; margin-bottom: 20px; }

.page-body { max-width: 760px; margin: 0 auto; padding: 32px 32px 0; }
.page-body--wide { max-width: var(--wrap); }

.not-found { text-align: center; padding: 72px 0 24px; }
.not-found h1 { font-family: var(--f-head); font-size: 40px; margin-bottom: 12px; }
.not-found p { color: var(--c-sub); margin-bottom: 28px; }

/* ==========================================================
   11. セルフチェック
   ========================================================== */
.check-app { max-width: 760px; margin: 0 auto; padding: 32px 32px 0; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; }
.progress li { flex: 1 1 0; padding: 10px 6px; text-align: center; border-radius: 12px; background: var(--c-soft); color: var(--c-muted); font-size: 13px; font-weight: 700; border: 1.5px solid transparent; }
.progress li[aria-current="step"] { background: var(--c-accent); color: #fff; }
.progress li.done { background: var(--c-tint); color: var(--c-accent-dark); border-color: var(--c-line-strong); }
.check-panel[hidden] { display: none; }
.check-panel__title { font-family: var(--f-head); font-size: 28px; line-height: 1.4; margin-bottom: 8px; }
.check-panel__lead { color: var(--c-sub); margin-bottom: 24px; }
.exp-input { display: block; width: 100%; border: 1.5px solid var(--c-line-strong); border-radius: 14px; padding: 12px 16px; font-size: 16px; background: #fff; margin-bottom: 28px; }
.exp-label { display: block; font-weight: 700; margin-bottom: 6px; }
.axis-group { border: 1.5px solid var(--c-line); border-radius: var(--radius); padding: 20px 20px 8px; margin: 0 0 20px; min-width: 0; }
.axis-group legend { padding: 0 10px; font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--c-accent-dark); }
.axis-group__hint { font-size: 13px; color: var(--c-muted); margin: -4px 0 12px; }
.q { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.q legend { padding: 0; font-weight: 500; line-height: 1.6; margin-bottom: 8px; font-family: var(--f-body); font-size: 16px; color: var(--c-ink); float: left; width: 100%; }
.q__scale { clear: both; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.q__opt { position: relative; }
.q__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.q__opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--c-line-strong); border-radius: 12px; background: #fff; font-weight: 700; font-size: 16px; color: var(--c-muted); transition: background-color .1s ease, border-color .1s ease; }
.q__opt input:checked + span { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.q__opt input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.q__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.check-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; align-items: center; }
.check-error { color: #A12B2B; font-weight: 700; font-size: 14px; margin-top: 8px; }
.check-error:empty { display: none; }

.result-chart { max-width: 360px; margin: 0 auto 8px; }
.result-chart svg { display: block; width: 100%; }
.result-block { margin: 32px 0 0; }
.result-block__title { font-family: var(--f-head); font-size: 22px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.result-list { list-style: none; display: grid; gap: 12px; }
.result-item { border: 1.5px solid var(--c-line); border-radius: 16px; padding: 16px 20px; background: #fff; }
.result-item__head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 6px; }
.result-item__head strong { font-size: 17px; }
.result-item p { font-size: 15px; color: var(--c-sub); }
.result-item--strength { border-left: 6px solid var(--c-accent); }
.result-item--gap { border-left: 6px solid var(--c-amber); }
.result-item--asset { border-left: 6px solid #7FA6CC; }
.result-item--low { border-left: 6px solid var(--c-line-strong); }
.fit-box { background: var(--c-soft); border-radius: 16px; padding: 18px 22px; }
.fit-box h4 { font-size: 17px; margin-bottom: 4px; }
.fit-box p { font-size: 14px; color: var(--c-sub); }
.disclaimer { font-size: 13px; color: var(--c-muted); margin-top: 28px; }
.exp-memo { background: var(--c-soft); border-radius: 14px; padding: 12px 16px; margin-bottom: 24px; font-size: 15px; }

/* ==========================================================
   12. 保存したコラム
   ========================================================== */
.saved-list { list-style: none; display: grid; gap: 14px; }
.saved-item { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--c-line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.saved-item__link { flex: 1 1 auto; min-width: 0; }
.saved-item__link strong { display: block; line-height: 1.5; }
.saved-item__link span { font-size: 13px; color: var(--c-muted); }
.saved-item button { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--c-line-strong); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--c-muted); }
.saved-item button:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ==========================================================
   13. レスポンシブ
   ========================================================== */
@media (max-width: 1024px) {
  .col-grid--rank { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .col-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 16px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .btn { width: 100%; min-height: 56px; }
  .btn--small { width: auto; }

  /* ヘッダー */
  .site-header__inner { padding-top: 0; padding-bottom: 0; height: 56px; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .logo { font-size: 21px; }
  .logo svg { width: 28px; height: 28px; }
  .site-header .search-form { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 56px; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--c-line); box-shadow: 0 12px 24px rgba(20,48,74,.12); }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; }

  /* ヒーロー */
  .hero__inner { padding-top: 28px; padding-bottom: 56px; gap: 24px; }
  .hero__label { font-size: 13px; padding: 2px 12px; margin-bottom: 12px; }
  .hero__title { font-size: 40px; margin-bottom: 12px; }
  .hero__lead { font-size: 15px; margin-bottom: 20px; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__visual { display: none; }
  .hero__wave { height: 20px; }
  .hero__search { display: block !important; margin-top: 16px; }

  .section { padding: 32px 0 8px; }
  .section__title { font-size: 26px; }
  .section__lead { font-size: 14px; margin-bottom: 16px; }

  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stage-grid > li:first-child, .stage-grid > li:last-child { grid-column: 1 / -1; }
  .stage-card { padding: 16px; min-height: 128px; gap: 8px; border-radius: 18px; }
  .stage-card__icon { width: 44px; height: 44px; border-radius: 12px; }
  .stage-card__name { font-size: 15px; }
  .stage-card__desc { font-size: 13px; line-height: 1.55; }
  .stage-card__no { font-size: 13px; letter-spacing: .06em; }

  .check-band { margin-top: 32px; }
  .check-band__inner { padding-top: 36px; padding-bottom: 36px; gap: 20px; }
  .check-band__title { font-size: 24px; }
  .check-band__lead { font-size: 14px; }
  .check-steps { grid-template-columns: 1fr; gap: 12px; }
  .check-steps li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 18px; }
  .check-steps__no { font-size: 32px; flex: 0 0 auto; }
  .check-steps strong { font-size: 16px; }
  .check-steps span.check-steps__desc { font-size: 13px; }
  .check-steps li > div { display: flex; flex-direction: column; gap: 2px; }
  .check-band__note { font-size: 12px; }

  /* 横スクロールのカード列 */
  .hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; list-style: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hscroll > li { flex: 0 0 260px; scroll-snap-align: start; }
  .col-grid, .col-grid--rank, .col-grid--3 { grid-template-columns: 1fr; }
  .col-grid.hscroll, .col-grid--rank.hscroll, .col-grid--3.hscroll { display: flex; }
  .col-card__thumb { height: 96px; padding: 12px 14px; }
  .col-card__mark { font-size: 32px; }
  .col-card__body { padding: 14px 16px 16px; }
  .col-card__title { font-size: 15px; }
  .sci-card { padding: 18px; border-radius: 18px; }
  .sci-card strong { font-size: 16px; }

  .profile { padding: 24px 20px; border-radius: 24px; gap: 16px; flex-direction: column; }
  .profile__photo { flex-basis: 88px; width: 88px; height: 88px; font-size: 11px; }
  .profile__name { font-size: 22px; }
  .profile__bio { font-size: 14px; }
  .promise-list { grid-template-columns: 1fr; gap: 12px; }
  .promise-list li { font-size: 14px; padding-top: 10px; }

  .site-footer { padding: 28px 0 36px; margin-top: 40px; }
  .footer-nav { flex-direction: column; gap: 0; width: 100%; }
  .footer-nav li { border-top: 1px solid #2E4C68; }
  .footer-nav li:last-child { border-bottom: 1px solid #2E4C68; }
  .footer-nav a { padding: 12px 0; display: block; }

  /* 下部タブバー */
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(20,48,74,.08); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--tabbar-h); padding: 6px 0; font-size: 11px; font-weight: 700; color: var(--c-muted); }
  .tabbar a[aria-current="page"] { color: var(--c-accent); }

  /* 一覧・記事 */
  .page-hero { padding: 24px 0 24px; }
  .page-hero__title { font-size: 28px; }
  .archive-body { padding-top: 24px; }
  .article { padding: 16px 16px 0; }
  .article__title { font-size: 26px; }
  .entry h2 { font-size: 22px; margin-top: 40px; }
  .entry h3 { font-size: 18px; }
  .article-cta { padding: 22px 20px; border-radius: 20px; }
  .article-cta .btn { align-self: stretch; }
  .page-body, .check-app { padding-left: 16px; padding-right: 16px; }
  .related__title { font-size: 22px; }

  /* セルフチェック */
  .check-panel__title { font-size: 22px; }
  .axis-group { padding: 16px 14px 4px; }
  .q__opt span { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .tabbar, .bm-btn, .share, .check-actions { display: none !important; }
}
