/* しごと相性研究室  サイト共通スタイル（デザイン：Astra B案 v1／design/2026-10-12_B-design-spec_approved-v1.md）
   基準幅：375px（スマホ）と 1440px（PC）。区切り：〜767／768〜1199／1200〜 */
:root {
  --bg: #FAF8F5;
  --ink: #2B2D33;
  --ink-2: #5F5B54;        /* 補足文字（背景との差 4.5:1 以上） */
  --green: #477365;
  --green-dark: #2F5A4C;
  --underline: #98AF96;
  --glow: #FFF0CE;
  --peach: #F8E6DD;
  --comic-ink: #76523E;
  --comic-line: #A7715D;
  --future: #EAF0E5;
  --footer: #EEECE5;
  --line: #DEDBD2;
  --accent: #BE9653;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --gutter: 20px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 14px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.hero-title, .h-section, .h-comic, .comic-lead, .comic-card-summary, .reader-lead, .h-closing, .h-future, .section-sub, .hero-lead { word-break: auto-phrase; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 359px) { :root { --gutter: 16px; } }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 20px; } body { font-size: 15px; } }

/* ---------- 共通の部品 ---------- */
.squiggle { display: inline-block; width: .42em; height: .56em; color: var(--accent); margin-left: .25em; vertical-align: -.02em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.4; text-align: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #3D6558; }
.btn .arrow { font-size: 1.15em; font-weight: 500; }
.btn.is-disabled { background: #E7E4DD; color: var(--ink-2); flex-direction: column; gap: 0; cursor: default; }
.btn.is-disabled small { font-size: 12px; font-weight: 500; }
.btn-sm { min-height: 44px; padding: 8px 22px; font-size: 14px; }
.eyebrow { font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 6px 0; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: .12em; }
.logo-book { width: 34px; height: 27px; color: #4E6B5F; }
.pc-nav { display: none; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; border-radius: 8px; }
.menu-icon { width: 24px; height: 17px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-icon i { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(7.7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-7.7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 8px 0 24px; }
.js .mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(43,45,51,.06); }
.js .mobile-menu.is-open { display: block; }
.mm-item { border-bottom: 1px solid var(--line); }
.mm-item a, .mm-item.is-preparing { display: flex; align-items: center; gap: 10px; min-height: 52px; font-size: 15px; font-weight: 600; text-decoration: none; }
.mm-item.is-preparing { color: var(--ink-2); font-weight: 500; }
.mm-item small, .pc-nav-item small { font-size: 12px; color: var(--ink-2); }
.mm-item.is-preparing small { border: 1px solid #A39D92; border-radius: 999px; padding: 0 8px; line-height: 1.6; }
.mobile-menu .btn { width: 100%; min-height: 52px; margin-top: 20px; font-size: 15px; }
@media (min-width: 1200px) {
  .header-inner { min-height: 100px; }
  .logo-text { font-size: 22px; }
  .logo-book { width: 40px; height: 31px; }
  .menu-btn, .js .mobile-menu, .mobile-menu { display: none !important; }
  .pc-nav { display: flex; align-items: center; gap: 30px; }
  .pc-nav ul { display: flex; align-items: center; gap: 30px; }
  .pc-nav-item { display: flex; flex-direction: column; align-items: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
  .pc-nav-item a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
  .pc-nav-item a:hover { color: var(--green); }
  .pc-nav-item.is-preparing { color: var(--ink-2); font-weight: 500; }
  .pc-nav-item.is-preparing small { font-size: 10.5px; border-bottom: 1px dotted #A39D92; line-height: 1.5; }
}

/* ---------- ヒーロー ---------- */
.hero { background: radial-gradient(ellipse 60% 55% at 92% 30%, var(--glow) 0%, rgba(255,240,206,0) 70%), var(--bg); overflow: hidden; }
.hero-inner {
  display: grid; padding-top: 24px; padding-bottom: 24px;
  grid-template-columns: minmax(0, 1fr) min(133px, 36vw);
  grid-template-areas: "eyebrow eyebrow" "title frame" "controls controls" "lead lead" "cta cta";
  column-gap: 12px;
}
.hero-eyebrow { grid-area: eyebrow; font-size: 12px; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 14px; }
.hero-title { grid-area: title; font-family: var(--font-head); font-weight: 700; font-size: 27px; line-height: 1.55; letter-spacing: .08em; align-self: center; }
.hero-title .ln, .hero-title .ln > span { display: block; }
.hero-title em { font-style: normal; background: linear-gradient(transparent calc(100% - 3px), var(--underline) 0) no-repeat; background-size: 100% 100%; padding-bottom: 1px; }
.hero-visual { display: contents; }
.hero-frame { grid-area: frame; position: relative; width: 100%; aspect-ratio: 133 / 206; align-self: center; }
/* キャラクター画像は6人とも同じ枠（720×1080・下そろえ）に入れ直してあるので、切り替わっても大きさ・位置が揺れない */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero-img.is-back { opacity: 0; }
.hero-img.is-fading { transition: opacity 600ms ease-in-out; }
.hero-controls { grid-area: controls; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; min-height: 44px; margin: 4px -10px 2px 0; }
.hero-dots { display: flex; }
.hero-dot, .hero-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.hero-dot i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #8F8A80; background: transparent; }
.hero-dot[aria-pressed="true"] i { background: var(--green); border-color: var(--green); }
.hero-toggle { color: #5F5B54; }
.hero-toggle .ico-pause { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-toggle .ico-play { display: none; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.hero-toggle.is-paused .ico-pause { display: none; }
.hero-toggle.is-paused .ico-play { display: block; }
html:not(.js) .hero-controls { visibility: hidden; }          /* JS が無いときは 04 の静止画だけ（場所は確保） */
.hero-controls.no-toggle .hero-toggle { visibility: hidden; } /* 動きを減らす設定：再生ボタンは出さない（位置は変えない） */
.hero-lead { grid-area: lead; font-size: 14px; line-height: 1.9; margin-top: 6px; }
.hero-cta { grid-area: cta; text-align: center; margin-top: 24px; }
.cta-label { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.btn-hero { width: 100%; max-width: 385px; min-height: 54px; font-size: 14px; padding: 10px 20px; }
.cta-note { font-size: 12px; color: var(--ink-2); margin-top: 10px; }
/* 中間幅（768〜1199px）：PCと同じく、左にコピーとCTA・右にキャラクターと切り替えボタン */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 308px; padding-top: 40px; padding-bottom: 40px; column-gap: 24px;
    grid-template-areas: "eyebrow frame" "title frame" "lead frame" "cta controls"; grid-template-rows: auto auto 1fr auto;
  }
  .hero-eyebrow { margin-top: 8px; }
  .hero-title { font-size: 34px; align-self: start; }
  .hero-title .ln > span { display: inline; }
  .hero-frame { width: 240px; aspect-ratio: 305 / 425; justify-self: center; }
  .hero-lead { font-size: 15px; margin-top: 16px; }
  .hero-cta { width: 100%; max-width: 385px; margin-top: 20px; }
  .hero-controls { align-self: start; justify-content: center; margin: 8px 0 0; }
}
@media (min-width: 1200px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px;
    grid-template-areas: "eyebrow visual" "title visual" "lead visual" "cta visual"; grid-template-rows: auto auto auto 1fr;
    padding-top: 55px; padding-bottom: 48px; min-height: 560px;
  }
  .hero-eyebrow { font-size: 13px; margin: 10px 0 18px; }
  .hero-title { font-size: 44px; line-height: 1.5; letter-spacing: .1em; align-self: start; }
  .hero-lead { font-size: 15px; line-height: 2; margin-top: 22px; }
  .hero-cta { text-align: left; width: 385px; margin-top: 26px; }
  .cta-label, .cta-note { text-align: center; }
  .btn-hero { min-height: 56px; font-size: 16px; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; grid-area: visual; position: relative; margin-right: 40px; }
  .hero-frame { width: 305px; height: 425px; aspect-ratio: auto; }
  .hero-controls { justify-content: center; margin: 22px 0 0; width: 308px; }
}

/* ---------- 6タイプ ---------- */
.types { padding: 40px 0 48px; }
.h-section { font-family: var(--font-head); font-weight: 700; font-size: 23px; line-height: 1.5; letter-spacing: .08em; }
.section-sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.center { text-align: center; }
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 9px; row-gap: 19px; margin-top: 22px; }
.type-img { position: relative; height: 145px; border-radius: 14px; padding: 5px 4px; }
.type-img img { width: 100%; height: 100%; object-fit: contain; }
.type-no { position: absolute; left: 6px; top: 6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.85); font-family: Georgia, "Times New Roman", serif; font-size: 11px; line-height: 22px; text-align: center; color: #5F5B54; }
.type-name { text-align: center; margin-top: 8px; line-height: 1.6; }
.type-name b { display: block; font-size: 13px; font-weight: 700; }
.type-name span { display: block; font-size: 12px; color: var(--ink); }
@media (min-width: 768px) { .type-img { height: 200px; } .type-grid { column-gap: 16px; } }
@media (min-width: 1200px) {
  .types { padding: 64px 0 72px; }
  .h-section { font-size: 30px; }
  .types .section-sub { margin-top: 10px; }
  .type-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 18px; margin-top: 34px; }
  .type-img { height: 221px; padding: 9px; border-radius: 18px; }
  .type-no { left: 10px; top: 10px; width: 24px; height: 24px; line-height: 24px; }
  .type-name { margin-top: 14px; }
  .type-name b, .type-name span { display: inline; }
  .type-name b { font-size: 15px; }
  .type-name span { font-size: 13px; margin-left: 2px; }
}

/* ---------- 漫画：トップは「1枠＝1作品」（1ページ目だけ）。全ページは作品ページ /manga/<id>/ で読む ---------- */
.comic { padding: 0 12px; }
.comic-box {
  max-width: 1240px; margin: 0 auto; background: var(--peach); border-radius: 25px; padding: 28px 14px 28px;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "more";
}
.comic-head { grid-area: head; }
.h-comic { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1.5; letter-spacing: .06em; margin-top: 6px; }
.comic-lead { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.8; margin-top: 10px; }
.comic-box > .comic-list { grid-area: list; margin-top: 18px; }
.comic-box > .comic-more { grid-area: more; justify-self: center; margin-top: 18px; }
.comic-more {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 6px 26px;
  border: 1px solid var(--comic-line); border-radius: 999px; color: var(--comic-ink); font-weight: 700; font-size: 14px; text-decoration: none; background: rgba(255,255,255,.45);
}
.comic-more:hover { background: #fff; }

/* 作品カード（トップ・一覧で共通）。スマホは横並び（左に1ページ目、右に文字） */
.comic-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.comic-card-link {
  display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 14px; align-items: start; height: 100%;
  background: #fff; border-radius: 16px; padding: 10px; text-decoration: none; box-shadow: 0 1px 6px rgba(118,82,62,.12);
}
.comic-card-thumb img { width: 100%; aspect-ratio: 1122 / 1402; border-radius: 6px; border: 1px solid #EFE3DA; }
.comic-card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 2px; }
.comic-card-date { font-size: 12px; color: var(--ink-2); letter-spacing: .04em; }
.comic-card-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.55; letter-spacing: .03em; word-break: auto-phrase; }
.comic-card-summary { font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.comic-card-more { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--comic-ink); }
.comic-card-pages { font-size: 12px; font-weight: 500; }
.comic-card-series { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--comic-ink); border: 1px solid var(--comic-line); border-radius: 999px; padding: 1px 10px; }
.comic-card-link:hover .comic-card-title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 599.98px) {
  /* スマホ：1ページ目を上に大きく（縦横比そのまま・切り取らない）。下にタイトル → 紹介文 → 投稿日 → 「続きを読む」 */
  .comic-card-link { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 10px 16px; }
  .comic-card-thumb img { height: auto; object-fit: contain; }
  .comic-card-body { gap: 6px; padding: 0 4px; }
  .comic-card-title { order: 1; font-size: 18px; word-break: keep-all; overflow-wrap: anywhere; } /* 「食い／違ったら」のような語の途中で折り返さず、読点などで折り返す */
  .comic-card-summary { order: 2; font-size: 14px; color: var(--ink); }
  .comic-card-date { order: 3; }
  .comic-card-more {
    order: 4; display: flex; align-items: center; justify-content: center; gap: .3em; min-height: 46px; margin-top: 8px;
    border-radius: 999px; background: var(--peach); font-size: 14px;
  }
}
@media (min-width: 600px) {
  /* 作品が複数なら縦長のカードを並べる。1作品だけのときは横長のカード1枚 */
  .comic-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  .comic-card-link { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 10px 14px; align-content: start; } /* 作品が複数のとき、文字の短いカードでも画像と日付の位置をそろえる */
  .comic-card:only-child { grid-column: 1 / -1; }
  .comic-card:only-child .comic-card-link { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 12px; max-width: 640px; }
  .comic-card:only-child .comic-card-body { padding-top: 10px; }
  .comic-card:only-child .comic-card-title { font-size: 20px; }
  .comic-card:only-child .comic-card-summary { font-size: 14px; }
  .comic-card:only-child .comic-card-more { margin-top: 12px; font-size: 14px; }
}
@media (min-width: 768px) {
  .comic { padding: 0 var(--gutter); }
  .comic-box { padding: 36px 32px; }
}
@media (min-width: 1000px) {
  .comic-box {
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr); column-gap: 48px; align-items: start;
    grid-template-areas: "head list" "more list"; grid-template-rows: auto 1fr;
  }
  .comic-box > .comic-list { margin-top: 0; }
  .comic-box > .comic-more { justify-self: start; align-self: start; margin-top: 24px; }
  .comic-box .comic-card:only-child .comic-card-link { grid-template-columns: 250px minmax(0, 1fr); max-width: none; }
}
@media (min-width: 1200px) {
  .comic-box { border-radius: 32px; padding: 42px 40px; }
  .h-comic { font-size: 32px; }
  .comic-lead { font-size: 17px; }
  .comic-head { padding-top: 6px; }
  .comic-more { min-height: 48px; font-size: 15px; }
}

/* 漫画一覧・作品ページ */
.manga-wrap { padding-top: 20px; padding-bottom: 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.8; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin: 0 .5em; }
.crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.h-page { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.5; letter-spacing: .05em; margin-top: 22px; word-break: auto-phrase; }
.comic-list-all { margin-top: 24px; }
.reader-head .eyebrow { margin-top: 22px; }
.reader-head .h-page { margin-top: 4px; }
.reader-lead { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.reader { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.comic-main { max-width: 520px; width: 100%; justify-self: center; }
.comic-main-link { display: block; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 1px 6px rgba(118,82,62,.14); }
.comic-main-img { width: 100%; height: auto; aspect-ratio: 1122 / 1402; border-radius: 4px; }
.reader-side { max-width: 520px; width: 100%; justify-self: center; }
.comic-meta { display: flex; align-items: center; justify-content: center; gap: 6px; }
.comic-step { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--comic-line); color: var(--comic-ink); font-size: 18px; background: #fff; }
.comic-step:disabled { opacity: .35; cursor: default; }
.comic-dots { display: flex; }
.comic-dot { width: 26px; height: 44px; display: grid; place-items: center; }
.comic-dot i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #9A8478; }
.comic-dot[aria-pressed="true"] i { background: #8A6E60; border-color: #8A6E60; }
.comic-count { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.comic-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; margin-top: 12px; }
.comic-thumb { display: block; width: 100%; text-align: center; border-radius: 6px; padding: 0; }
.comic-thumb img { width: 100%; aspect-ratio: 1122 / 1402; background: #fff; border: 2px solid transparent; border-radius: 6px; padding: 2px; }
.comic-thumb[aria-pressed="true"] img { border-color: var(--comic-line); }
.comic-thumb span { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.comic-note { text-align: center; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
/* 連載：全話を1つの流れで読む。画像の上に今の話、下に「第3話 2/6」と話の一覧（押すとその話の1ページ目へ） */
.reader-fiction { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.comic-chapter { display: flex; align-items: baseline; gap: .6em; margin-bottom: 8px; line-height: 1.6; }
.comic-chapter-no { flex: none; font-size: 13px; font-weight: 700; color: #fff; background: var(--comic-ink); border-radius: 999px; padding: 1px 10px; }
.comic-chapter-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; word-break: auto-phrase; }
.comic-count-series { min-width: 8.5em; margin-top: 0; font-size: 14px; font-weight: 700; color: var(--comic-ink); }
.comic-next { text-align: center; font-size: 13px; font-weight: 700; color: var(--comic-ink); background: var(--peach); border-radius: 12px; padding: 8px 12px; margin-top: 8px; }
.comic-chaps-head { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-top: 22px; }
.comic-chaps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.comic-chap {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 8px; align-items: start; height: 100%; min-height: 64px;
  background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 6px; text-decoration: none; color: inherit; box-shadow: 0 1px 4px rgba(118,82,62,.12);
}
.comic-chap img { grid-row: 1 / 3; width: 44px; aspect-ratio: 1122 / 1402; height: auto; border-radius: 3px; border: 1px solid #EFE3DA; }
.comic-chap-no { font-size: 12px; font-weight: 700; color: var(--comic-ink); line-height: 1.5; }
.comic-chap-title { font-size: 12px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.comic-chap[aria-current="true"] { border-color: var(--comic-line); background: var(--peach); }
.comic-chap:hover .comic-chap-title { text-decoration: underline; text-underline-offset: 3px; }
.reader-foot { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 36px; }
.reader-cta { width: 100%; max-width: 420px; text-align: center; background: var(--peach); border-radius: 20px; padding: 22px 16px; }
.reader-cta p { font-weight: 700; font-size: 14px; }
.reader-cta .btn { width: 100%; min-height: 52px; margin-top: 12px; padding: 10px 16px; }
@media (min-width: 1000px) {
  .reader { grid-template-columns: minmax(0, 520px) minmax(0, 400px); column-gap: 48px; justify-content: center; align-items: start; }
  .comic-main, .reader-side { max-width: none; }
  .reader-side { padding-top: 8px; }
  .comic-meta { justify-content: flex-start; }
  .comic-count, .comic-note { text-align: left; }
  .comic-thumbs { margin-top: 16px; gap: 14px 16px; }
  .comic-next { text-align: left; }
}
@media (min-width: 1200px) {
  .manga-wrap { padding-top: 28px; padding-bottom: 72px; }
  .h-page { font-size: 30px; }
  .comic-main-link { padding: 10px; border-radius: 16px; }
}

/* ---------- カテゴリー・将来構想 ---------- */
.cats { padding: 48px 0 24px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.cat-card { border-radius: 16px; padding: 14px 13px 14px; min-height: 118px; }
.cat-card > a { display: block; text-decoration: none; }
.cat-icon { width: 26px; height: 26px; color: #5C6660; }
.cat-name { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-top: 8px; line-height: 1.5; }
/* 転職・キャリア／資格・スキル（H20261024-AFF02 v1）：カード全体が1つのリンク。見出し・説明文・CTA（リンクの中の見た目だけのボタン）。
   スマホは横いっぱいに1枚ずつ、768px〜は2枚を横に並べる。楽天ROOM のカードとは別の段にして、高さに引きずられないようにする */
.cat-card-go { grid-column: 1 / -1; display: flex; }
.cat-card.cat-card-go { padding: 0; min-height: 0; }   /* 余白はリンク（.cat-link）の側に持たせ、カードの端まで押せるようにする */
.cat-card > .cat-link {   /* 既存の .cat-card > a（display:block）より優先させる */
  display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 16px 16px 16px; border-radius: 16px;
  text-decoration: none; color: var(--ink); box-shadow: 0 1px 4px rgba(43,45,51,.08), inset 0 0 0 1px rgba(43,45,51,.06);
  transition: box-shadow .18s ease, transform .18s ease; -webkit-tap-highlight-color: rgba(71,115,101,.12);
}
.cat-head { display: flex; align-items: center; gap: 10px; }
.cat-head .cat-name { margin-top: 0; font-size: 16px; }
.cat-desc { font-size: 14px; line-height: 1.75; margin: 8px 0 12px; word-break: auto-phrase; }
.cat-cta {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; margin-top: auto; padding: 8px 18px; border-radius: 999px;   /* 横に並んだ2枚で高さが違っても、CTA を下端にそろえる */
  background: #fff; border: 1px solid var(--green); color: var(--green-dark); font-size: 14px; font-weight: 700; line-height: 1.4;
  transition: background-color .18s ease, color .18s ease;
}
.cat-cta .arrow { font-size: 1.1em; transition: transform .18s ease; }
.cat-link:hover { box-shadow: 0 6px 16px rgba(43,45,51,.12), inset 0 0 0 1px rgba(71,115,101,.35); transform: translateY(-2px); }
.cat-link:hover .cat-cta { background: var(--green); color: #fff; }
.cat-link:hover .cat-cta .arrow { transform: translateX(3px); }
.cat-link:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(43,45,51,.12), inset 0 0 0 1px rgba(71,115,101,.35); }
.cat-link:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; border-radius: 16px; }
.cat-link:focus-visible .cat-cta { background: var(--green); color: #fff; }
@media (prefers-reduced-motion: reduce) { .cat-link, .cat-cta, .cat-cta .arrow { transition: none; } .cat-link:hover, .cat-link:active { transform: none; } .cat-link:hover .cat-cta .arrow { transform: none; } }
@media (min-width: 768px) {
  .cat-card-go { grid-column: auto; }
  .cat-link { padding: 20px 22px; }
}
.badge { display: inline-block; margin-top: 8px; border: 1px solid #A39D92; border-radius: 999px; padding: 0 9px; font-size: 12px; line-height: 1.7; color: var(--ink-2); background: rgba(255,255,255,.35); }
.cat-card-ext { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; }   /* 紹介文とボタンが入るので、スマホでは横いっぱい */
.cat-card-ext .cat-head .pr-badge { margin-left: 2px; }   /* 広告であることを見出しのすぐ横の「PR」で示す（H20261024-AFF03 v2） */
.cat-card-soon { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 0; }   /* 準備中（note）：スマホ・タブレットでは横いっぱいの1行。右に空白を作らない */
.cat-card-soon .cat-name { margin-top: 0; }
.cat-card-soon .badge { margin: 0 0 0 auto; }
.cat-text { font-size: 14px; line-height: 1.75; margin-top: 6px; }
.cat-text span { display: inline-block; }   /* 言葉のまとまりの途中で折り返さない（auto-phrase が効かない Safari でも） */
.btn-ext { min-height: 46px; padding: 8px 22px; margin-top: 12px; font-size: 14px; border: 1px solid var(--green); color: var(--green-dark); background: #fff; }
.btn-ext:hover { background: #F1F5F2; }
.future { background: var(--future); border-radius: 20px; padding: 28px 16px 20px; margin-top: 32px; }
.h-future { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.5; letter-spacing: .06em; }
.future-text p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.future-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.future-item { border: 1px dashed #A5AA9F; border-radius: 12px; padding: 10px 6px; text-align: center; line-height: 1.5; }
.future-item span { display: block; font-size: 14px; }
.future-item small { display: block; font-size: 12px; color: var(--ink-2); }
@media (min-width: 1200px) {
  .cats { padding: 72px 0 40px; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: start; }   /* 1段目：転職・キャリア／資格・スキル（2列分ずつ）。2段目：おすすめ商品（3列分）と note */
  .cat-card-go { grid-column: span 2; align-self: stretch; }
  .cat-link { padding: 24px 28px; }
  .cat-head .cat-name { font-size: 18px; }
  .cat-desc { font-size: 15px; }
  .cat-card-ext { grid-column: span 3; }
  .cat-card-soon { grid-column: auto; display: block; }   /* PC：おすすめ商品の右に、これまでどおりの縦長の小さいカード */
  .cat-card-soon .cat-name { margin-top: 8px; }
  .cat-card-soon .badge { margin: 8px 0 0; }
  .cat-card { padding: 22px 23px; min-height: 112px; }
  .cat-name { font-size: 18px; }
  .future { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 30px 38px 32px; margin-top: 28px; }
  .h-future { font-size: 19px; }
  .future-text p { margin-top: 12px; }
  .future-list { margin-top: 0; width: 532px; gap: 16px; }
  .future-item { padding: 14px 8px; }
}

/* ---------- 下部CTA ---------- */
.closing { padding: 24px 0 64px; }
.closing-inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.h-closing { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: .06em; }
.closing-text p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.btn-bottom { width: 100%; max-width: 301px; min-height: 50px; font-size: 14px; padding: 8px 18px; }
@media (min-width: 768px) { .btn-bottom { max-width: 390px; } }
@media (min-width: 1200px) {
  .closing { padding: 32px 0 60px; }
  .closing-inner { flex-direction: row; justify-content: space-between; text-align: left; padding: 46px 0; }
  .h-closing { font-size: 24px; }
  .btn-bottom { max-width: 390px; min-height: 54px; font-size: 15px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--footer); padding: 32px 0 20px; }
.footer-brand p { font-size: 14px; margin-top: 12px; }
.footer-brand .logo { padding: 0; }
.sns-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.sns { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1px solid #98988C; border-radius: 999px; font-size: 14px; text-decoration: none; }
.sns:hover { background: #E4E2D9; }
.sns.is-disabled { flex-direction: column; gap: 0; line-height: 1.3; color: var(--ink-2); border-style: dashed; }
.sns.is-disabled small { font-size: 11px; }
.footer-nav { display: flex; flex-wrap: wrap; column-gap: 24px; margin-top: 14px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copy { text-align: center; font-size: 12px; color: var(--ink-2); margin-top: 18px; padding-top: 12px; }
@media (min-width: 1200px) {
  .site-footer { padding: 42px 0 24px; }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; }
  .footer-brand p { font-size: 13px; }
  .footer-links { display: flex; flex-direction: column; align-items: flex-end; }
  .sns-row { margin-top: 0; grid-template-columns: repeat(2, 165px); }
  .footer-nav { column-gap: 20px; margin-top: 4px; }
  .footer-nav a { font-size: 12px; }
  .copy { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; }
}

/* ---------- 下層ページ（運営者情報など） ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.doc h1 { font-family: var(--font-head); font-size: 26px; line-height: 1.5; letter-spacing: .06em; }
.doc h2 { font-family: var(--font-head); font-size: 19px; line-height: 1.5; margin-top: 36px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc p, .doc ul, .doc dl, .doc table { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.4em; }
.doc li + li { margin-top: 4px; }
.doc table { border-collapse: collapse; width: 100%; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc th { width: 34%; font-weight: 600; background: #F3F0EA; }
.doc .muted { color: var(--ink-2); font-size: 13px; }
.todo { background: #FFF3C9; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.draft-note { width: calc(100% - var(--gutter) * 2); max-width: 760px; margin: 24px auto 0; padding: 12px 16px; border: 1px solid #E2C46F; background: #FFF8E1; border-radius: 12px; font-size: 13px; }
.doc .btn { margin-top: 24px; min-height: 52px; padding: 10px 28px; }
.doc h3 { font-size: 16px; line-height: 1.5; margin-top: 24px; }
/* プライバシーポリシーの「計測を止める」（analytics.js が表示する。JavaScript 無効のときは隠れたまま） */
.ga-optout { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ga-optout p { margin-top: 0; font-size: 14px; }
.ga-optout button { margin-top: 10px; min-height: 44px; padding: 8px 20px; border: 1.5px solid var(--green); border-radius: 999px; background: #fff; color: var(--green); font: inherit; font-weight: 700; cursor: pointer; }
.ga-optout button:hover { background: #EEF4F1; }
@media (min-width: 1200px) { .doc h1 { font-size: 30px; } }

/* ---------- 読みもの（/career/・/skill/）と広告枠 ----------
   広告枠（.pr-area）は記事（.topic）の後ろに、背景・枠線・「PR」で記事と分けて置く。広告主の HTML（aタグ＋1×1の計測画像）は書き換えず、見た目だけ CSS で整える */
.topic-wrap { max-width: calc(760px + var(--gutter) * 2); padding-top: 20px; padding-bottom: 56px; }
.ad-disclosure { margin-top: 14px; line-height: 1; }   /* ページ上部の「PR」（広告を含むページの印。H20261024-AFF03 v2 で長い一文から変更） */
.topic-head .eyebrow { margin-top: 22px; }
.topic-head .h-page { margin-top: 4px; }
.topic-lead { font-size: 15px; line-height: 1.9; margin-top: 12px; word-break: auto-phrase; }
.topic-sec { margin-top: 36px; }
.topic-sec > p { margin-top: 12px; }
.h-topic { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .05em; word-break: auto-phrase; }
.topic-small { font-size: 13px; color: var(--ink-2); }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
.check-card { border-radius: 16px; padding: 16px 16px 14px; }
.check-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.5; }
.check-card > p { font-size: 14px; margin-top: 4px; }
.check-q { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(43,45,51,.22); }
.check-q li { position: relative; padding-left: 1.2em; font-size: 13px; line-height: 1.7; }
.check-q li::before { content: "？"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.topic-list { margin-top: 14px; display: grid; gap: 10px; }
.topic-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.topic-list b { display: block; color: var(--green-dark); }
.step-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.step-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.5; }
.step-no { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-body); font-size: 14px; line-height: 28px; text-align: center; }
.step-card p { font-size: 14px; margin-top: 6px; }
.genre-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; background: #fff; border-radius: 14px; overflow: hidden; }
.genre-table th, .genre-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.7; }
.genre-table thead th { background: #F3F0EA; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.genre-table tbody th { width: 34%; font-weight: 700; white-space: nowrap; }
.genre-table tbody tr:last-child > * { border-bottom: 0; }
.topic-shindan { background: var(--peach); border-radius: 20px; padding: 22px 16px; text-align: center; }
.topic-shindan .btn { width: 100%; max-width: 390px; min-height: 52px; margin-top: 16px; padding: 10px 16px; }

.pr-area { margin-top: 44px; border: 1px solid var(--line); background: #F4F2EE; border-radius: 20px; padding: 20px 14px 18px; }
.pr-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.pr-badge { flex: none; display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .08em; color: #fff; background: #4F4A43; border-radius: 4px; padding: 5px 8px; }   /* 「PR」：濃い地に白（記事の見出し・バッジと見分けられるように） */
.pr-badge-page { font-size: 14px; padding: 6px 10px; }
.pr-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.pr-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; }
.pr-top { display: flex; align-items: center; gap: 8px; }
.pr-label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.pr-name { font-size: 15px; font-weight: 700; line-height: 1.5; margin-top: 8px; }
.pr-desc { font-size: 13px; line-height: 1.75; margin-top: 4px; }
.pr-target { font-size: 13px; line-height: 1.7; margin-top: 6px; }
.pr-target b { display: inline-block; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-right: 6px; }
.pr-link { margin-top: 10px; }
.pr-link a {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--green); color: var(--green-dark); background: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: center; text-decoration: underline; text-underline-offset: 3px;
}
.pr-link a:hover { background: #F1F5F2; }
.pr-link img { position: absolute; width: 1px; height: 1px; } /* 広告主の1×1の計測画像（消さない。場所だけ取らないようにする） */
@media (min-width: 768px) {
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-area { padding: 26px 24px 24px; }
}
@media (min-width: 1200px) {
  .topic-wrap { padding-top: 28px; padding-bottom: 72px; }
  .h-topic { font-size: 22px; }
  .pr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-card { display: flex; flex-direction: column; }
  .pr-link { margin-top: auto; padding-top: 10px; }
}

/* 320px 付近：見出しが1文字だけ折り返さないよう少し小さく。切り替えボタンが1行に収まるよう、ドットの幅だけ 40px に（高さは 44px のまま） */
@media (max-width: 359px) {
  .hero-title { font-size: 24px; letter-spacing: .04em; }
  .hero-dot { width: 40px; }
  .h-section { font-size: 21px; letter-spacing: .05em; }
}

/* ---------- 漫画の大画面ビューアー（作品ページで画像を押すと開く。左右スワイプ・←→キー・‹ ›でページ送り） ---------- */
html.cv-lock { overflow: hidden; }
.comic-viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #111; color: #fff; overflow: hidden;
}
.comic-viewer::backdrop { background: #111; }
.comic-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.cv-bar { display: flex; align-items: center; justify-content: space-between; padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
.cv-count { font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.cv-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cv-stage { min-height: 0; display: grid; place-items: center; padding: 0 8px; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .18s ease-out; }
.cv-stage:active { transition: none; }
.cv-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; pointer-events: none; -webkit-touch-callout: none; } /* 指の操作は画像ではなく下の枠で受ける（iPhone の長押し・画像のドラッグで止まらないように） */
.cv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer;
}
.cv-prev { left: 6px; }
.cv-next { right: 6px; }
.cv-nav:disabled { opacity: 0; pointer-events: none; }
.cv-close:focus-visible, .cv-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cv-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,.7); padding: 6px 12px max(10px, env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .cv-prev { left: 16px; } .cv-next { right: 16px; } .cv-nav { width: 52px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .cv-stage { transition: none; } }

/* ---------- H20261025-AFF08 v1：副業・スキル活用（/sidejob/）と、区分のある広告枠 ----------
   トップの「転職・キャリア」「副業・スキル活用」「資格・スキル」の3枚：999px まで1列、1000px〜は3列（同じ幅）。楽天ROOM と note はこれまでどおり下の段 */
@media (min-width: 768px) and (max-width: 999.98px) { .cat-card-go { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cat-card-go { grid-column: span 4; }
  .cat-card-ext, .cat-card-soon { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .cat-card-ext { grid-column: span 9; }
  .cat-card-soon { grid-column: span 3; }
  .pc-nav, .pc-nav ul { gap: 24px; }
}
/* ページ上部の「目的から探す」：広告枠の区分へのアンカー。広告への入口なので「PR」を付ける */
.pr-jump { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px; }
.pr-jump-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.5; }
.pr-jump-hint { font-size: 13px; line-height: 1.7; color: var(--ink-2); margin-top: 6px; }
.pr-jump-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pr-jump-list a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--green); color: var(--green-dark); background: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none;
}
.pr-jump-list a small { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pr-jump-list a:hover { background: #F1F5F2; }
.pr-jump-list a:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
/* 広告枠の中の区分（見出し・一言・カード） */
.pr-group { margin-top: 22px; scroll-margin-top: 12px; }
.pr-head + .pr-group { margin-top: 14px; }
.pr-group-head { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.5; padding-left: 10px; border-left: 4px solid var(--green); word-break: auto-phrase; }
.pr-group-lead { font-size: 13px; line-height: 1.7; color: var(--ink-2); margin-top: 4px; word-break: auto-phrase; }
.pr-group .pr-list { margin-top: 10px; }
.pr-check { font-size: 13px; line-height: 1.7; margin-top: 6px; }
.pr-check b { display: inline-block; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; margin-right: 6px; }
/* /sidejob/ の最後の「ほかのテーマも見る」 */
.topic-more { margin-top: 40px; }
.more-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.more-list a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.more-list a b { color: var(--green-dark); font-size: 15px; }
.more-list a span { font-size: 13px; color: var(--ink-2); }
.more-list a:hover { border-color: var(--green); }
.more-list a:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
@media (min-width: 768px) {
  .pr-jump { padding: 16px 20px 14px; }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
