/* 採用の裏側ノート - editorial design system */
:root {
  --ink: #14213d;
  --ink-soft: #45516a;
  --navy: #0b1736;
  --blue: #3157d5;
  --teal: #16a394;
  --sky: #eaf1ff;
  --mint: #e9f8f5;
  --paper: #ffffff;
  --canvas: #f6f8fc;
  --line: #dfe5ef;
  --warm: #fff8e9;
  --warm-line: #f0d89e;
  --shadow-sm: 0 8px 24px rgba(17, 35, 72, 0.07);
  --shadow-lg: 0 24px 70px rgba(17, 35, 72, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --content: 760px;
  --wide: 1120px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible { outline: 3px solid #7ca8ff; outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 24px;
  border-bottom: 1px solid rgba(223, 229, 239, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100%, var(--wide));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-title { font-size: 1rem; font-weight: 800; letter-spacing: .035em; }
.site-title a { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.site-title a::before {
  content: "人";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), #173e84);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 46, 100, .2);
  font-family: serif;
  font-size: 1.25rem;
}

.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .86rem; font-weight: 700; }
.site-nav a { padding: 8px 11px; border-radius: 9px; color: var(--ink-soft); transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--sky); color: var(--blue); }

main {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 56px 0 88px;
}

/* Home */
.home-main { width: 100%; max-width: none; padding: 0 0 96px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 24px 82px;
  background:
    radial-gradient(circle at 80% 18%, rgba(60, 101, 222, .22), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(22, 163, 148, .16), transparent 26%),
    linear-gradient(135deg, #07122d 0%, #102a5a 60%, #15396d 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-inner { position: relative; z-index: 1; width: min(100%, var(--wide)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #cfe0ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #57ddc9; box-shadow: 0 0 0 5px rgba(87,221,201,.12); }

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.55rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}
.hero h1 span { color: #77e2d3; }
.hero-lead { max-width: 680px; margin: 28px 0 0; color: #d9e3f6; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.95; }

/* ファーストビューから記事一覧へ落とすためのCTA。スマホの1画面目に
   「読むものがある」と分かる操作対象を必ず1つ置く（2026-08-11）。 */
.hero-cta-wrap { margin: 26px 0 0; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #57ddc9;
  color: #06213a;
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(87, 221, 201, .22);
  transition: background .2s, transform .2s;
}
.hero-cta:hover { background: #77e2d3; transform: translateY(-2px); }
.hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.1); color: #edf4ff; font-size: .83rem; font-weight: 700; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: #77e2d3; }

/* 著者ストリップ。Threads「ジン｜採用の裏側」から来た読者に対して
   名前と人格の連続性を保つため、heroと記事一覧の間に1本だけ置く（2026-08-11）。 */
.author-strip {
  width: min(calc(100% - 32px), var(--wide));
  margin: 26px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.author-strip img { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--canvas); }
.author-strip p { margin: 0; }
.author-name { color: var(--navy); font-size: .95rem; line-height: 1.5; }
.author-bio { margin-top: 4px !important; color: var(--ink-soft); font-size: .85rem; line-height: 1.75; }
.author-meta { margin-top: 10px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; }
.author-badge { padding: 3px 11px; border-radius: 999px; background: var(--seg-shinsotsu-bg); color: var(--seg-shinsotsu); }

.home-section { width: min(calc(100% - 32px), var(--wide)); margin: 0 auto; padding-top: 76px; }
.home-section h2 { scroll-margin-top: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
/* 日本語キッカー。英語キッカー（Latest insights / Editorial policy）は
   読者層とちぐはぐなため2026-08-11に日本語化し、uppercase指定を外した。 */
.section-kicker { margin: 0 0 3px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .06em; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.35; letter-spacing: -.025em; }
.section-note { margin: 0; color: var(--ink-soft); font-size: .88rem; }

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-list li {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.article-list li:hover { transform: translateY(-5px); border-color: #c6d5f2; box-shadow: var(--shadow-lg); }
/* 旧: CSSの nth-child(1..3) で CAREER/DOCUMENT/AGENT のラベルを出していたが、
   記事3本時代の実装で、位置だけでラベルが決まり内容と一致しなくなっていた
   （4本目以降はラベルなしの空きスペースだけが残る／絞り込みでも位置がずれる）。
   カテゴリ表示は各カードの .card-tags（読者層タグ）に一本化した。 */
.article-list h3 { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.6; letter-spacing: -.01em; }
.article-list h3 a { color: var(--ink); }
.article-list h3 a::after { content: ""; position: absolute; inset: 0; }
.article-list p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.75; }
.article-read { margin-top: auto !important; padding-top: 20px; color: var(--blue) !important; font-weight: 800; }
.article-read::after { content: " →"; }

.trust-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
  padding: 44px;
  border: 1px solid #d8e4f8;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f0f5ff);
  box-shadow: var(--shadow-sm);
}
.trust-panel h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.45; }
.trust-panel p { margin: 0; color: var(--ink-soft); }
.trust-list { margin: 0; padding: 0; list-style: none; }
.trust-list li { position: relative; margin: 10px 0; padding: 12px 14px 12px 42px; border-radius: 12px; background: rgba(255,255,255,.85); color: var(--ink); font-size: .88rem; font-weight: 700; }
.trust-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--teal); font-weight: 900; }

/* Articles and static pages */
body:not(.home) main { background: var(--paper); }
.page-title { margin: 0 0 16px; font-size: clamp(1.75rem, 4vw, 2.45rem); line-height: 1.4; letter-spacing: -.025em; }
.page-lead { margin: 0 0 36px; color: var(--ink-soft); }

.ad-notice { margin-bottom: 30px; padding: 12px 16px; border: 1px solid var(--warm-line); border-radius: var(--radius-sm); background: var(--warm); color: #725720; font-size: .82rem; font-weight: 700; }

.article-header { margin-bottom: 38px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 0 0 16px; font-size: clamp(1.75rem, 4.5vw, 2.7rem); line-height: 1.45; letter-spacing: -.03em; }
.article-meta { margin: 0; color: #6b7690; font-size: .82rem; font-weight: 600; }

article { color: #26344d; }
article > p:first-child { font-size: 1.05rem; color: var(--ink); }
article h2 { margin: 2.8em 0 1em; padding: 18px 0 0 18px; border-top: 1px solid var(--line); border-left: 4px solid var(--teal); color: var(--navy); font-size: 1.35rem; line-height: 1.55; }
article h2:first-of-type { margin-top: 2em; }
article h3 { margin: 2em 0 .7em; color: var(--navy); font-size: 1.08rem; }
article p { margin: 0 0 1.25em; }
article ul, article ol { margin: 0 0 1.4em; padding: 18px 22px 18px 44px; border-radius: var(--radius-sm); background: #f5f8fd; }
article li { margin-bottom: .5em; }
article strong { color: var(--navy); }

/* 広告表示。本文中には表記を置かない運用（オーナー方針）なので、
   このバッジだけで「広告が含まれる」と分かる必要がある。淡いグレーだと本文より目立たず
   明瞭性を欠くため、本文と同等のサイズ・コントラストにしている。 */
.pr-tag { display: inline-block; margin-right: 9px; padding: 2px 10px; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .08em; vertical-align: 1px; }
.article-hero { display: block; width: 100%; height: auto; margin: 10px 0 34px; border: 1px solid var(--line); border-radius: 14px; }
.article-list .card-thumb { display: block; margin-bottom: 14px; }
.article-list .card-thumb img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
/* 読者層カテゴリの色。新卒＝ティール／第二新卒＝アンバー／中途＝ブルーで統一し、
   トップのフィルタ・記事カード・記事ページの見出し下すべてで同じ色を使う。 */
:root {
  --seg-shinsotsu: #0b6f60;
  --seg-shinsotsu-bg: #e2f5f1;
  --seg-shinsotsu-line: #a8ded4;
  --seg-daini: #92590a;
  --seg-daini-bg: #fdf2dc;
  --seg-daini-line: #ebcd93;
  --seg-chuto: #2a45a8;
  --seg-chuto-bg: #e8eefc;
  --seg-chuto-line: #b7c6ee;
}

/* トップページの読者層フィルタ */
.segment-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; }
.segment-filter button { padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-soft); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.segment-filter button:hover { border-color: #b9c6de; color: var(--ink); }
.segment-filter button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
/* 未選択でも所属色が分かるよう、カテゴリボタンには色を残す */
.segment-filter button[data-segment="shinsotsu"] { border-color: var(--seg-shinsotsu-line); background: var(--seg-shinsotsu-bg); color: var(--seg-shinsotsu); }
.segment-filter button[data-segment="daini"] { border-color: var(--seg-daini-line); background: var(--seg-daini-bg); color: var(--seg-daini); }
.segment-filter button[data-segment="chuto"] { border-color: var(--seg-chuto-line); background: var(--seg-chuto-bg); color: var(--seg-chuto); }
.segment-filter button[data-segment="shinsotsu"][aria-pressed="true"] { border-color: var(--seg-shinsotsu); background: var(--seg-shinsotsu); color: #fff; }
.segment-filter button[data-segment="daini"][aria-pressed="true"] { border-color: var(--seg-daini); background: var(--seg-daini); color: #fff; }
.segment-filter button[data-segment="chuto"][aria-pressed="true"] { border-color: var(--seg-chuto); background: var(--seg-chuto); color: #fff; }
.segment-status { margin: -12px 0 22px; color: var(--ink-soft); font-size: .8rem; }

/* カテゴリタグ（記事カード・記事ページ共通） */
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.card-tag { padding: 2px 9px; border-radius: 999px; background: var(--canvas); color: var(--ink-soft); font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.card-tag--shinsotsu { background: var(--seg-shinsotsu-bg); color: var(--seg-shinsotsu); }
.card-tag--daini { background: var(--seg-daini-bg); color: var(--seg-daini); }
.card-tag--chuto { background: var(--seg-chuto-bg); color: var(--seg-chuto); }

/* 記事ページの見出し下に置くカテゴリタグ */
.article-tags { margin: 0 0 18px; }
.article-tags .card-tag { padding: 3px 11px; font-size: .74rem; }

@media (prefers-reduced-motion: reduce) { .segment-filter button { transition: none; } }

/* 長文記事の目次 */
.toc { margin: 2.4em 0 2.8em; padding: 26px 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.toc > p { margin: 0 0 14px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc > ol > li { counter-increment: toc; padding: 9px 0; border-top: 1px solid var(--line); }
.toc > ol > li:first-child { border-top: 0; }
.toc > ol > li > a { font-weight: 700; }
.toc > ol > li > a::before { content: counter(toc) ". "; color: var(--teal); font-variant-numeric: tabular-nums; }
.toc ol ol { margin: 6px 0 0 1.4em; }
.toc ol ol li { padding: 4px 0; }
.toc ol ol a { color: var(--ink-soft); font-size: .88rem; font-weight: 400; }
.toc a { color: var(--ink); line-height: 1.6; }
.toc a:hover { color: var(--blue); }

/* 見出しへ飛んだときにヘッダーの下に隠れないようにする */
article h2, article h3 { scroll-margin-top: 84px; }

/* 章の区切り・補足ボックス */
.note-box { margin: 1.8em 0; padding: 18px 20px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: var(--mint); }
.note-box p { margin: 0 0 .7em; font-size: .93rem; }
.note-box p:last-child { margin-bottom: 0; }
.note-box strong { color: #0b6055; }
.caution-box { margin: 1.8em 0; padding: 18px 20px; border-left: 4px solid var(--warm-line); border-radius: 0 12px 12px 0; background: var(--warm); }
.caution-box p { margin: 0 0 .7em; font-size: .93rem; }
.caution-box p:last-child { margin-bottom: 0; }

/* 横長の表の代わりに置くスライド。横スワイプ＋スナップ。JSなし。
   スマホで3列の表が右に見切れて読めなかったため導入（2026-08-02）。 */
.slides-wrap { margin: 2em 0 2.4em; }
.slides { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; scrollbar-width: thin; }
.slides:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.slides-hint { margin: 0 0 10px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.slides-hint::before { content: "→ "; color: var(--teal); }

/* スライド1枚。画像ではなくHTMLで組む。
   画像にすると読者の文字サイズ設定が効かず、スマホでは実質8px程度まで縮んで
   「表が読めない」という元の問題が解決しないため（2026-08-02のレビュー指摘）。 */
.slide-card { flex: 0 0 86%; max-width: 520px; scroll-snap-align: center; display: flex; flex-direction: column; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff 0%, var(--canvas) 100%); }
.slide-card .sc-kicker { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .05em; }
.slide-card h4 { margin: 12px 0 0; color: var(--navy); font-size: 1.02rem; line-height: 1.45; letter-spacing: -.01em; }
.slide-card .sc-lead { margin: 8px 0 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.6; }
.slide-card .sc-body { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.slide-card p { margin: 0; }

/* 積み重ねカード（比較） */
.sc-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.sc-box .sc-t { font-size: .92rem; font-weight: 800; color: var(--navy); line-height: 1.45; }
.sc-box .sc-d { margin-top: 6px; font-size: .84rem; line-height: 1.66; color: var(--ink-soft); }
.sc-box .sc-d strong { color: var(--ink); }
.sc-box.a { border-color: #b7c6ee; background: var(--seg-chuto-bg); }
.sc-box.b { border-color: #ebcd93; background: var(--seg-daini-bg); }
.sc-box.c { border-color: #a8ded4; background: var(--seg-shinsotsu-bg); }
.sc-badge { display: inline-block; margin-bottom: 7px; padding: 2px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; color: #fff; }
.sc-box.a .sc-badge { background: var(--seg-chuto); }
.sc-box.b .sc-badge { background: var(--seg-daini); }
.sc-box.c .sc-badge { background: var(--seg-shinsotsu); }

/* 行リスト（分類） */
.sc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.sc-row .sc-lbl { flex: 0 0 62px; font-size: .84rem; font-weight: 800; color: var(--navy); }
.sc-row .sc-val { flex: 1; font-size: .84rem; line-height: 1.5; }
.sc-row .sc-sub { display: block; margin-top: 3px; color: var(--ink-soft); font-size: .76rem; }
.sc-pill { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.sc-pill.yes { background: var(--seg-shinsotsu-bg); color: var(--seg-shinsotsu); }
.sc-pill.no { background: #f1f3f7; color: var(--ink-soft); }
.sc-pill.warn { background: var(--seg-daini-bg); color: var(--seg-daini); }

/* タイムライン（スケジュール） */
.sc-tl { position: relative; padding-left: 24px; display: flex; flex-direction: column; gap: 15px; }
.sc-tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--line); }
.sc-stop { position: relative; }
.sc-stop::before { content: ""; position: absolute; left: -23px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.sc-stop.hi::before { background: var(--gold, #c9a227); border-color: #c9a227; }
.sc-mon { font-size: .9rem; font-weight: 800; color: var(--navy); }
.sc-you { margin-top: 4px; font-size: .84rem; line-height: 1.6; }
.sc-them { margin-top: 7px; padding: 9px 12px; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; background: var(--canvas); color: var(--ink-soft); font-size: .8rem; line-height: 1.6; }
.sc-them strong { color: var(--navy); }
.sc-stop.hi .sc-them { border-left-color: #c9a227; background: var(--seg-daini-bg); color: var(--seg-daini); }
.sc-stop.hi .sc-them strong { color: var(--seg-daini); }

.sc-note { padding: 12px 14px; border-left: 3px solid #c9a227; border-radius: 0 10px 10px 0; background: var(--seg-daini-bg); color: var(--seg-daini); font-size: .82rem; font-weight: 700; line-height: 1.6; }

@media (min-width: 820px) {
  .slide-card { flex-basis: 46%; }
}

/* 長い表を横スクロールさせる（スマホで崩れないように） */
.table-wrap { overflow-x: auto; margin: 1.8em 0; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 520px; border-collapse: collapse; width: 100%; font-size: .88rem; }
.table-wrap th, .table-wrap td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
.table-wrap th { background: var(--canvas); color: var(--navy); font-weight: 800; white-space: nowrap; }

.back-to-toc { display: inline-block; margin: 0 0 2.2em; color: var(--ink-soft); font-size: .8rem; font-weight: 700; }

.aff-comment { display: block; margin: .6em 0; color: var(--ink-soft); font-size: .8rem; }
.aff-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 6px 0 1.6em; padding: 11px 20px; border: 1px solid #cbd9f3; border-radius: 12px; background: var(--sky); color: var(--blue); font-size: .9rem; font-weight: 800; }
.aff-button-disabled { cursor: not-allowed; opacity: .78; user-select: none; }
.aff-status { margin-left: 7px; color: var(--ink-soft); font-weight: 500; }
.article-nav { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; }

/* 記事末の「よく読まれている記事」「関連記事」ブロック（scripts/build-article-sections.mjs が生成） */
.post-sections { margin-top: 56px; }
.post-section { margin-top: 32px; padding: 26px 24px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.post-section h2 { margin: 0 0 16px; padding: 0; border: 0; color: var(--navy); font-size: 1.05rem; letter-spacing: -.01em; }
.post-section h2::before { content: none; }
.post-section ol, .post-section ul { margin: 0; padding: 0; list-style: none; }
.post-section li { padding: 13px 0; border-top: 1px solid var(--line); }
.post-section li:first-child { border-top: 0; }
.post-section a { display: block; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.55; }
.post-section a:hover { color: var(--blue); }
.post-section .item-note { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .82rem; font-weight: 400; line-height: 1.6; }
.rank-list li { display: flex; gap: 14px; align-items: baseline; }
.rank-num { flex: 0 0 auto; width: 24px; color: var(--teal); font-size: .95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.post-section .section-caption { margin: 14px 0 18px; color: var(--ink-soft); font-size: .76rem; }

.static-page h1 { margin: 0 0 1.2em; font-size: clamp(1.75rem, 4vw, 2.35rem); letter-spacing: -.025em; }
.static-page h2 { margin: 2.2em 0 .7em; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.15rem; }
.static-page p { margin: 0 0 1.2em; }
.static-page ul { padding-left: 1.4em; }

.site-footer { padding: 48px 24px; border-top: 1px solid #dfe5ef; background: #eef2f8; text-align: center; color: #69758c; font-size: .78rem; }
.site-footer nav { margin-bottom: 12px; }
.site-footer nav a { margin: 0 9px; color: var(--ink-soft); font-weight: 700; }

@media (min-width: 820px) {
  body:not(.home) main { margin-top: 48px; margin-bottom: 72px; padding: 58px 64px 76px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
}

@media (max-width: 820px) {
  .article-list { grid-template-columns: 1fr; }
  .article-list li { min-height: 0; }
  .trust-panel { grid-template-columns: 1fr; gap: 22px; padding: 30px; }
  .hero { padding-top: 70px; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 16px; }
  .header-inner { min-height: 66px; }
  .header-inner { gap: 10px; }
  .site-title { font-size: .92rem; }
  .site-title a::before { width: 32px; height: 32px; border-radius: 10px; }
  .site-title a { gap: 8px; }
  /* 390px幅でも「記事一覧」「運営者情報」の2本は収まる。
     プライバシーポリシーだけフッターに任せて隠す（2026-08-11）。 */
  .site-nav { gap: 2px; }
  .site-nav a { display: none; padding: 8px 6px; }
  .site-nav a:first-child, .site-nav a:nth-child(2) { display: block; }
  main { width: min(calc(100% - 28px), var(--content)); padding: 38px 0 60px; }
  /* スマホのファーストビュー（844px）に サイト名＋何のサイトか＋CTA を収めるため、
     heroの余白と見出しサイズを圧縮している（2026-08-11）。 */
  .hero { padding: 32px 18px 28px; }
  /* 2行目「キャリアの迷いをほどく。」(12文字)が折り返して1文字だけ3行目に落ちないよう、
     390px幅で約29pxに収まるvw係数にしている。 */
  .hero h1 { font-size: clamp(1.6rem, 7.3vw, 2.2rem); letter-spacing: -.03em; }
  .eyebrow { margin-bottom: 16px; padding: 6px 11px; font-size: .74rem; letter-spacing: .04em; }
  .hero-cta-wrap { margin-top: 18px; }
  .hero-cta { width: 100%; padding: 12px 18px; }
  .hero-lead { margin-top: 20px; font-size: .92rem; line-height: 1.85; }
  /* スマホでは同じ内容を直下の著者ストリップ（肩書・守秘方針）が担うため、
     ファーストビューを稼ぐ目的で特徴ピルは出さない。デスクトップでは従来どおり表示。 */
  .hero-points { display: none; }
  .author-strip { width: min(calc(100% - 28px), var(--wide)); margin-top: 14px; gap: 12px; padding: 13px 14px 13px 16px; }
  .author-strip img { width: 40px; height: 40px; }
  .author-name { font-size: .9rem; }
  .author-bio { font-size: .81rem; line-height: 1.66; }
  /* 読者層の記述はheroのリード文と重複するため、狭い画面では省略する */
  .author-bio-more { display: none; }
  .author-meta { margin-top: 8px !important; gap: 8px; font-size: .76rem; }
  .home-section { width: min(calc(100% - 28px), var(--wide)); padding-top: 24px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading { display: block; }
  .section-note { margin-top: 8px; }
  .article-list li { padding: 23px; }
  .trust-panel { padding: 24px; border-radius: 22px; }
  .article-header h1 { font-size: 1.7rem; }
  article h2 { margin-top: 2.3em; padding-left: 13px; font-size: 1.2rem; }
  .aff-button { width: 100%; }
}

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

/* 悩み別の入口と、スマートフォンで読み進めやすい記事導線 */
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.journey-card { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; }
.journey-card:hover, .journey-card:focus-visible { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.journey-card > span { display: block; margin-bottom: 12px; color: var(--ink-soft); font-size: .8rem; }
.journey-card strong { display: block; font-size: 1.14rem; line-height: 1.6; }
.journey-card p { margin: 14px 0 0; font-size: .88rem; line-height: 1.8; }
.entry-note { margin-top: 16px; font-size: .88rem; line-height: 1.8; color: var(--ink-soft); }
.article-takeaway, .next-action { margin: 24px 0; padding: 24px; background: #f1f5fa; border: 1px solid var(--line); border-radius: 16px; }
.article-takeaway p, .next-action p { margin: 0 0 12px; }
.article-takeaway ul { margin: 12px 0; }
.article-toc { margin: 24px 0 32px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.article-toc summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.article-toc ol { padding-left: 24px; }
.article-toc li { margin: 10px 0; }
.next-action h2 { margin-top: 0; }
.next-links { display: grid; gap: 10px; }
.next-links a { display: block; padding: 14px 16px; background: #fff; border-radius: 10px; line-height: 1.7; }
.step-list { padding-left: 24px; }
.step-list li { padding: 16px 0; }
[id^="section-"], #career-entry { scroll-margin-top: 90px; }
@media (max-width: 820px) { .journey-grid { grid-template-columns: 1fr; } .journey-card { padding: 20px; } }
@media (max-width: 620px) { .article-takeaway, .next-action { padding: 18px; } .article-meta { line-height: 1.8; } }
.consult-card { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 16px; background: #f5f9fc; }
.consult-card h2 { margin-top: 0; padding-left: 0; border-left: 0; }
.consult-facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 16px; margin: 20px 0; }
.consult-facts dt { font-weight: 700; color: var(--navy); }
.consult-facts dd { margin: 0; }
.consult-note { color: var(--ink-soft); font-size: .88rem; }
.consult-card .aff-slot { margin: 20px 0; }
#mid-consult, #consult-options { scroll-margin-top: 90px; }
@media (max-width: 620px) { .consult-card { padding: 18px; } .consult-facts { grid-template-columns: 1fr; gap: 6px; } .consult-facts dd { margin-bottom: 10px; } }

/* 最初の画面から、図解・動画・作例へ入れるトップページ */
.home .hero { padding-top: 56px; padding-bottom: 56px; }
.visual-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.visual-hero h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
.visual-hero .hero-lead { font-size: 1rem; line-height: 1.8; margin-top: 22px; }
.hero-text-link { display: inline-block; margin-top: 18px; color: #d9e3f6; font-weight: 700; }
.hero-visual { margin: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 16px 42px #0003; }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual figcaption { padding: 18px 22px; color: var(--navy); font-weight: 700; line-height: 1.7; }
.hero-visual figcaption span { display: block; color: var(--ink-soft); font-size: .78rem; }
.short-note-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.note-video { display: block; width: 100%; aspect-ratio: 16/9; background: #102a3a; border-radius: 16px; }
.video-caption { color: var(--ink-soft); font-size: .85rem; line-height: 1.7; }
.short-note-copy h3 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.6; }
.short-note-copy p { color: var(--ink-soft); line-height: 1.9; }
.feature-link { display: block; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; line-height: 1.7; }
.feature-link:hover { color: #fff; background: #173e84; }
.feature-link--secondary { background: #e8eefc; color: var(--navy); }
.feature-link--secondary:hover { background: #d9e3f6; color: var(--navy); }
.reading-demo { margin-top: 26px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #f5f9fc; }
.reading-demo summary { font-weight: 700; cursor: pointer; line-height: 1.8; }
.reading-demo > p { line-height: 1.9; }
.demo-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.demo-examples > div { padding: 18px; background: #fff; border-radius: 12px; line-height: 1.9; }
.demo-examples span { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.journey-card--visual img { display: block; width: 100%; height: auto; aspect-ratio: 1200/630; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
#short-note { scroll-margin-top: 90px; }
@media (max-width: 820px) { .visual-hero, .short-note-grid { grid-template-columns: 1fr; gap: 24px; } .hero-visual { max-width: 560px; } }
@media (max-width: 620px) {
 .home .hero { padding: 26px 18px 28px; }
 .visual-hero h1 { font-size: 2rem; }
 .visual-hero .eyebrow { margin-bottom: 14px; }
 .visual-hero .hero-lead { margin-top: 16px; font-size: .87rem; }
 .visual-hero .hero-cta-wrap { margin-top: 18px; }
 .hero-text-link { margin-top: 12px; font-size: .85rem; }
 .hero-visual figcaption { padding: 12px 16px; font-size: .9rem; }
 .reading-demo { padding: 18px; }
 .demo-examples { grid-template-columns: 1fr; }
}
.tiktok-slot { max-width: 360px; width: 100%; margin-inline: auto; }
.tiktok-slot iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; background: #111; }
.tiktok-load { display: block; width: 100%; min-height: 200px; border: 1px solid #ded8ce; border-radius: 16px; background: #f4f0e8; color: #29251e; font: inherit; font-weight: 700; cursor: pointer; }
.tiktok-load:focus-visible { outline: 3px solid #ba6638; outline-offset: 4px; }
