/* 転職エージェント選び方.com
   元：design/style.css（ChatGPT見本 2026-11-15）。class名・部品構成は見本のまま。
   design-note.md（2026-11-15）に従い「読みもの」風に調整：白背景・本文17/18px・行間2.0・幅640px・線を減らす */
:root {
  --primary: #3a6d84;        /* やわらかい紺（アクセントはこの1色） */
  --primary-dark: #2c5466;
  --accent: var(--primary);
  --text: #1b2733;           /* 本文：紺に寄せた濃い色（コントラスト比 約15:1） */
  --muted: #46525d;          /* 補足文：以前より濃く（約8:1） */
  --background: #ffffff;
  --surface: #ffffff;
  --soft: #f3f6f7;           /* 結論・目次・CTAなどの薄い背景 */
  --soft-hover: #e9eff1;
  --border: #ececec;         /* 線はごく薄く */
  --warning-bg: #faf6ef;     /* 注意ボックス：薄いベージュ */
  --footer-bg: #f7f7f7;
  --ecru: #fcf2e2;           /* 生成り */
  --orange: #f4b57c;         /* やわらかいオレンジ（ボタン用。文字は紺） */
  --orange-dark: #ec9f5f;
  --green: #86a06e;          /* くすんだ緑（線・アクセント） */
  --radius: 14px;
  --content-width: 640px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif; font-size: 17px; line-height: 2.0; letter-spacing: .02em; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--content-width)); margin-inline: auto; }

/* ---- ヘッダー（控えめ） ---- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; }
.site-logo { color: var(--text); font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.4; text-decoration: none; }
.site-logo:hover { color: var(--primary-dark); }
.site-nav { margin-bottom: 12px; }
.nav-links { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-radius: 10px; overflow: hidden; background: var(--soft); }
.nav-links a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); line-height: 1.6; }
.nav-links a[aria-current="page"] { color: var(--primary-dark); background: var(--soft-hover); }
.menu-toggle { flex: none; }
.menu-toggle summary { display: flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; list-style: none; color: var(--text); font-size: 14px; font-weight: 600; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { position: absolute; content: ""; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.site-header:not(:has(.menu-toggle[open])) .site-nav { display: none; }

/* ---- パンくず・共通 ---- */
.breadcrumb { padding: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #aaa; }
.breadcrumb a { color: inherit; }
.page-main { padding-bottom: 72px; }
.page-hero { padding: 24px 0 8px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1, h2, h3 { color: var(--text); line-height: 1.5; overflow-wrap: anywhere; letter-spacing: .01em; }
h1 { margin: 0 0 18px; font-size: clamp(24px, 6vw, 32px); font-weight: 700; }
h2 { margin: 0 0 20px; font-size: clamp(20px, 4.8vw, 24px); font-weight: 700; }
h3 { margin: 36px 0 12px; font-size: 18px; font-weight: 700; }
p { margin: 0 0 1.6em; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.95; }
.pr-label { display: block; width: fit-content; max-width: 100%; margin: 0 0 18px; padding: 6px 12px; background: var(--soft); border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.6; }
.page-section { margin-top: 56px; }
.section-heading { padding: 0; }
.section-intro { color: var(--muted); font-size: 15px; }

/* ---- 書き手の表示（h1の直後） ---- */
.byline { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.byline .avatar { width: 40px; height: 40px; }
.byline-name { display: block; color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none; }
.byline-dates { display: flex; flex-wrap: wrap; gap: 0 10px; }
.avatar { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--soft); }
.eyecatch { margin: 4px 0 24px; }
.eyecatch img { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; border-radius: var(--radius); }

/* ---- ボックス類：薄い背景＋角丸、線なし ---- */
.card, .conclusion-box, .cta-box, .author-box, .note-box, .toc, .quote-box, .from-note-box { background: var(--soft); border: 0; border-radius: var(--radius); padding: 22px 22px; }
.box-label { margin: 0 0 8px; color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.6; }
.conclusion-box { margin: 8px 0 28px; }
.conclusion-box p:last-child, .note-box p:last-child, .quote-box p:last-child, .from-note-box p:last-child { margin-bottom: 0; }
.toc { margin: 28px 0 8px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 15px; line-height: 1.8; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.note-box { background: var(--warning-bg); margin: 28px 0; font-size: 16px; }
.note-box strong { color: #6f5532; }
.note-box ol, .note-box ul { margin-bottom: 0; }
.from-note-box { margin: 8px 0 28px; font-size: 16px; background: #f6f4f1; }
.from-note-box .box-label { font-size: 14px; color: var(--muted); }

/* 体験：左にアイコン、右に吹き出し */
.experience-box { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0; background: none; border: 0; padding: 0; }
.experience-box .avatar { width: 48px; height: 48px; margin-top: 4px; }
.experience-box .bubble { position: relative; flex: 1; min-width: 0; background: var(--soft); border-radius: var(--radius); padding: 18px 20px; font-size: 16px; }
.experience-box .bubble::before { content: ""; position: absolute; left: -8px; top: 18px; border-style: solid; border-width: 8px 9px 8px 0; border-color: transparent var(--soft) transparent transparent; }
.experience-box .bubble p:last-child { margin-bottom: 0; }
.experience-box .box-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* CTA：控えめ */
.cta-box { margin: 40px 0; text-align: center; padding: 26px 22px; }
.cta-box p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.cta-box .box-label { color: var(--text); font-size: 17px; margin-bottom: 8px; }

/* 著者ボックス */
.author-box { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 48px; }
@media (min-width: 680px) { .author-box { flex-direction: row; gap: 20px; } }
.author-box .avatar { width: 80px; height: 80px; }
.author-box .author-body { min-width: 0; }
.author-box .box-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.author-box .author-name { margin: 0 0 6px; font-weight: 700; color: var(--text); font-size: 17px; }
.author-box p { font-size: 15px; line-height: 1.9; margin-bottom: 10px; }
.author-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }

/* ---- カード（枠線なし、ホバーで色が変わる程度） ---- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { padding: 18px 20px; transition: background-color .15s; }
.card:hover { background: var(--soft-hover); }
.card h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.6; }
.card p { margin-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.card-link { display: block; text-decoration: none; color: var(--text); }
.card-link:hover { text-decoration: underline; color: var(--primary-dark); }
.link-arrow { font-weight: 600; font-size: 14px; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---- ボタン：大きめの角丸、控えめ ---- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.5; letter-spacing: .03em; }
.button:hover { background: var(--primary-dark); color: #fff; }
.button-secondary { background: var(--surface); box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
.button-secondary:hover { background: var(--soft); color: var(--primary-dark); }
.button-large { min-height: 54px; padding: 13px 30px; }

/* ---- 表：枠線を減らして軽く ---- */
.table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 8px; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; line-height: 1.75; font-size: 15px; }
.data-table th, .data-table td { padding: 13px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { background: var(--soft); color: var(--text); font-weight: 700; font-size: 14px; border-bottom: 0; }
.data-table thead th:first-child { border-radius: 10px 0 0 10px; }
.data-table thead th:last-child { border-radius: 0 10px 10px 0; }
.data-table tbody th { font-weight: 700; min-width: 8.5em; }
.data-table thead th { white-space: nowrap; }
.data-table tbody th, .data-table tbody td:nth-child(2) { white-space: nowrap; }
.data-table .button { font-size: 14px; min-width: 112px; min-height: 42px; padding: 8px 18px; }
.table-hint { margin: 4px 0 1.6em; color: var(--muted); font-size: 12px; }

/* ---- 記事本文 ---- */
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.article-body h2 { margin: 64px 0 20px; padding: 0; border: 0; }
.article-body h3 { padding: 0; border: 0; margin-top: 40px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.6em; }
.article-body li { margin-bottom: 8px; }
.article-body .page-section h2, .article-body .cta-box h2 { margin-top: 0; }

/* ---- トップのファーストビュー（書き手の顔が見える） ---- */
.home-hero { padding: 32px 0 8px; }
.home-hero .writer { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.home-hero .writer .avatar { width: 64px; height: 64px; }
.home-hero .writer p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); }
.home-hero .writer strong { display: block; font-size: 14px; }

/* ---- その他（見本の部品） ---- */
.two-column { display: grid; gap: 14px; }
.pros-box, .cons-box { padding: 20px; border-radius: var(--radius); background: var(--soft); }
.pros-box h3, .cons-box h3 { margin: 0 0 10px; }
.pros-box ul, .cons-box ul { margin: 0; padding-left: 1.35em; }
.quote-box { margin: 14px 0; }
.quote-box blockquote { margin: 0 0 10px; }
.quote-source { color: var(--muted); font-size: 13px; margin: 0; }
.faq-list { margin-bottom: 1.6em; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-weight: 700; list-style: none; line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; font-size: 22px; top: 10px; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: 16px; font-size: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- フッター ---- */
.site-footer { background: var(--footer-bg); padding: 30px 0 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.copyright { color: var(--muted); font-size: 12px; margin: 0; }

/* ---- PC（680px以上）。ヘッダーのメニュー横並びは、項目が5つになったので900px以上 ---- */
@media (min-width: 680px) {
  body { font-size: 18px; }
  .header-inner { min-height: 60px; }
  .site-logo { font-size: 17px; }
  .page-hero { padding-top: 36px; }
  .card-grid, .two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-hint { display: none; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

/* 固定ページ（運営者情報など） */
.profile-head{display:flex;flex-direction:column;align-items:center;gap:8px;margin:20px 0 8px}
.profile-head .author-name{margin:0;font-weight:700}
.page-updated{margin-top:40px;font-size:13px;color:#6b6b6b}

/* ---- 画像（イラスト） ---- */
/* トップのファーストビュー：hero を背景に、白の半透明の層を重ねて文字を読みやすくする。画像が無ければ今までどおり */
.eyecatch img { object-position: right bottom; }
.hub-image { margin: 0 0 8px; }

/* ---- 見た目の調整（そっけなさを減らす）：色は 紺・生成り・オレンジ・くすんだ緑 の範囲 ---- */
/* やわらかいオレンジの塗りボタン */
.button-warm { background: var(--orange); color: var(--text); padding: 12px 32px; font-size: 16px; }
.button-warm:hover { background: var(--orange-dark); color: var(--text); }
/* h2：左にくすんだ緑の短い縦線 */
h2 { position: relative; padding-left: 16px; }
h2::before { content: ""; position: absolute; left: 0; top: .22em; width: 5px; height: 1.05em; border-radius: 3px; background: var(--green); }
.section-heading { padding-left: 16px; }
/* 結論ボックス：左にくすんだ緑の太い線、背景は生成り寄り */
.conclusion-box { background: var(--ecru); border-left: 6px solid var(--green); border-radius: 4px var(--radius) var(--radius) 4px; }
/* カード：サムネイル（3:2のまま・角丸） */
.card-thumb { display: block; line-height: 0; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.card-theme { display: flex; flex-direction: column; gap: 14px; }
.card-theme .card-body > :last-child, .card.has-thumb .card-body > :last-child { margin-bottom: 0; }
.card.has-thumb { display: flex; flex-direction: column; gap: 14px; }
.card.has-thumb .card-thumb { flex: none; }
.card.has-thumb .card-body, .card-theme .card-body { min-width: 0; }
@media (min-width: 680px) {
  .card-grid.has-thumbs { grid-template-columns: 1fr; }
  .card.has-thumb { flex-direction: row; align-items: flex-start; gap: 18px; }
  .card.has-thumb .card-thumb { width: 150px; }
}
.article-body h2, .page-main h2 { padding-left: 16px; }
@media (min-width: 760px) { .home-hero .hero-art img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); } }

/* ================= トップページ（幅広レイアウト）：完成イメージ design/top-mock.png に合わせる ================= */
.wide { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.page-main.wide { padding-bottom: 72px; }
/* ヘッダー：サイト名の下に緑の下線（全ページ共通）。トップだけ幅1200px */
.site-logo span { position: relative; display: inline-block; padding-bottom: 5px; }
.site-logo span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 3px; border-radius: 2px; background: var(--green); }
.nav-links a { color: var(--text); }
@media (min-width: 680px) { .is-home .site-header .container { width: min(calc(100% - 48px), 1200px); } }

/* ヒーロー */
.home-hero { padding: 0; background: linear-gradient(100deg, #fdf6ea 0%, #fdf1e0 38%, #fce6cb 62%, #fce6cb 100%); overflow: hidden; }
.hero-inner { display: grid; }
.hero-text { padding: 32px 0 20px; }
.hero-badge { display: inline-block; margin: 0 0 18px; padding: 4px 18px; border: 2px solid var(--orange-dark); border-radius: 999px; background: rgba(255,255,255,.6); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.8; }
.home-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 9vw, 44px); line-height: 1.4; text-wrap: balance; }
.home-hero .lead { margin: 0 0 24px; color: var(--text); font-size: 16px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-buttons .button { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.button-outline { background: #fff; color: var(--primary-dark); box-shadow: inset 0 0 0 2px var(--primary-dark); }
.button-outline:hover { background: var(--soft); color: var(--primary-dark); }
.button-navy { background: var(--primary-dark); color: #fff; }
.hero-art { position: relative; min-height: 330px; }
.hero-art img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
.speech-bubble { position: absolute; z-index: 2; left: 0; top: 18px; max-width: 210px; margin: 0; padding: 12px 18px; background: #fff; border: 2px solid var(--green); border-radius: 26px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.speech-bubble::after { content: ""; position: absolute; right: 34px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
  .hero-text { padding: 56px 24px 56px 0; }
  .home-hero h1 { font-size: clamp(40px, 4.4vw, 56px); }
  .home-hero .lead { font-size: 18px; }
  .hero-art { min-height: 500px; }
  .speech-bubble { left: 6%; top: 56px; max-width: 240px; font-size: 15px; }
}

/* テーマから探す */
.heading-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; margin-bottom: 20px; }
.heading-row h2 { margin: 0; }
.heading-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.theme-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; color: var(--text); text-decoration: none; transition: box-shadow .15s; }
.theme-card:hover { box-shadow: 0 4px 16px rgba(27, 39, 51, .12); }
.theme-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.theme-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 16px; }
.theme-body strong { font-size: 15px; line-height: 1.6; }
.theme-body strong::after { content: " →"; color: var(--primary); }
.theme-body span { color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.theme-guide { background: #eaf2df; }
.theme-senkou { background: #e8f0f7; }
.theme-taishoku { background: #fdeedd; }
.theme-agent { background: #f1f3d9; }
@media (min-width: 900px) {
  .theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .theme-body { padding: 16px 18px 20px; gap: 6px; }
  .theme-body strong { font-size: 18px; }
  .theme-body span { font-size: 13.5px; }
}

/* 最初に見ておきたいエージェント：左に見出し、右にカード（提携済みのサービスだけ並ぶ。増えると横に並ぶ） */
.agent-band { display: grid; gap: 20px; padding: 24px 20px; border-radius: 20px; background: var(--soft); }
.agent-intro h2 { margin-bottom: 10px; }
.agent-intro p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.9; }
.agent-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); gap: 16px; align-items: stretch; }
.agent-card { display: flex; flex-direction: column; padding: 20px; border-radius: 14px; background: #fff; }
.agent-card h3 { margin: 0 0 8px; font-size: 18px; }
.agent-card h3 a { color: var(--text); }
.agent-card p { margin: 0 0 14px; color: var(--text); font-size: 14px; line-height: 1.8; }
.agent-card .agent-type { align-self: flex-start; margin-bottom: 10px; padding: 1px 12px; border: 1.5px solid var(--orange-dark); border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.8; }
.agent-card .button { margin-top: auto; width: 100%; min-height: 46px; }
.agent-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
@media (min-width: 900px) {
  .agent-band { grid-template-columns: 300px minmax(0, 1fr); gap: 20px 36px; padding: 28px 32px; align-items: center; }
}

/* 注目の記事／新着記事 */
.home-columns { display: grid; gap: 48px; }
.home-columns h2 { margin-bottom: 18px; }
.featured-card { display: grid; overflow: hidden; border-radius: 20px; background: linear-gradient(90deg, #fce6cb 0%, #fce6cb 40%, #fdf6ea 100%); }
.featured-art { display: block; line-height: 0; height: 240px; }
.featured-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.featured-body { padding: 22px 22px 26px; }
.tag { display: inline-block; margin: 0 0 10px; padding: 1px 14px; border: 1.5px solid var(--orange-dark); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; line-height: 1.9; }
.featured-body h3 { margin: 0 0 10px; font-size: clamp(20px, 5vw, 24px); line-height: 1.55; }
.featured-body p { color: var(--text); font-size: 14.5px; line-height: 1.9; }
.latest-list { margin: 0; padding: 0; list-style: none; }
.latest-list li { border-bottom: 1px solid var(--border); }
.latest-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; color: var(--text); text-decoration: none; }
.latest-item:hover strong { text-decoration: underline; }
.latest-item img { flex: none; width: 120px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.latest-item strong { display: block; font-size: 15px; line-height: 1.7; }
.latest-item time { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
@media (min-width: 900px) {
  .home-columns { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .featured-card { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); min-height: 300px; }
  .featured-art { height: 100%; }
  .featured-body { align-self: center; padding: 28px 28px 28px 8px; }
}

/* 本文（選び方の解説）は読みやすい幅のまま */
.home-body { max-width: var(--content-width); margin-inline: auto; }

/* 運営者ボックス */
.author-wide { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px; border-radius: 20px; background: linear-gradient(100deg, #fdf6ea, #f6efe0); }
.author-wide .avatar { width: 96px; height: 96px; }
.author-wide-body { flex: 1 1 300px; min-width: 0; }
.author-wide .author-name { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.author-wide .author-name span { margin-left: 12px; color: var(--muted); font-size: 14px; font-weight: 400; }
.author-wide p { margin: 0; font-size: 14.5px; line-height: 1.9; }
@media (min-width: 900px) { .author-wide { padding: 24px 40px; } }
/* 微調整 */
.home-hero h1, .featured-body h3 { word-break: auto-phrase; }
.featured-art { height: 300px; }
.featured-art img { object-position: 50% 10%; }
@media (min-width: 900px) {
  .agent-band { grid-template-columns: 340px minmax(0, 1fr); }
  .featured-art { height: 100%; }
}

/* /agent/ ハブ：職種・年代から探す */
.section-note { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.sub-heading { margin: 24px 0 12px; font-size: 17px; }
.agent-listing { display: flex; flex-direction: column; }
.agent-listing .agent-type { align-self: flex-start; margin: 0 0 8px; padding: 1px 12px; border: 1.5px solid var(--orange-dark); border-radius: 999px; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.8; }
.agent-listing .button { margin-top: auto; align-self: flex-start; }

/* ヘッダー：メニューを横並びにするのは900px以上（680〜899pxはハンバーガー。サイト名と重ならないように） */
@media (min-width: 680px) { .header-inner { min-height: 60px; } }
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-header .site-nav, .site-header:not(:has(.menu-toggle[open])) .site-nav { display: block; }
  /* サイト名とメニューを1行に：2つの container を同じ位置に重ね、メニューを右寄せ */
  .site-header { display: grid; }
  .site-header .container { width: min(calc(100% - 48px), 960px); }  /* ヘッダーだけ広め（本文は640px） */
  .site-logo { white-space: nowrap; }
  .site-header > .header-inner, .site-header > .site-nav { grid-area: 1 / 1; }
  .site-header .container.site-nav { margin-bottom: 0; pointer-events: none; }
  .nav-links a { pointer-events: auto; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; background: transparent; gap: 0 2px; min-height: 60px; align-items: center; }
  .nav-links a { padding: 6px 10px; font-size: 14px; border-radius: 8px; color: var(--muted); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--soft); color: var(--text); }
}
