@charset "UTF-8";

/* =========================================
 * 履歴書バイト 読み物（記事・記事一覧・よくある質問）と TOP の読み物欄
 * 生成元：tools/skins/06（node tools/skins/build.mjs 06）。
 * 配色トークン（--primary / --secondary / --accent / --bg-main / --card-bg / --border）は
 * style.css・theme-unique.css の :root を共用する。数値は既存CSSの段（文字 12〜24px・
 * 角丸 12/16/20/999px・罫線 rgba(51,51,51,0.25)）から選ぶ。インラインstyle禁止。
 * ========================================= */

/* ページの長短でスクロールバーの有無が変わり、本文が左右にずれるのを防ぐ（全ページ共通） */
html { scrollbar-gutter: stable; }

/* ---------- TOP：h1（ツールの上の1行） ---------- */
.tophero { text-align: center; padding: 24px 20px 0; }
.tophero__h1 { margin: 0; font-size: 20px; font-weight: 900; color: var(--border); line-height: 1.5; }
.tophero__lead { margin: 8px 0 0; font-size: 13.5px; color: #4a4a4a; }

/* ---------- TOP：読み物欄（見た目は既存の .seo-content を使い、足りない部品だけ足す） ---------- */
.topc__steps { margin: 0 0 20px; padding-left: 1.4em; color: #4a5568; font-size: 14px; line-height: 1.8; }
.topc__steps li { margin: 0 0 8px; }
.topc__idx { margin-top: 10px; }
.topc__all { margin: 16px 0 0; text-align: center; font-size: 14px; }
.topc__all a { color: var(--accent); font-weight: 700; }

/* ---------- 記事の索引（TOP・記事一覧） ---------- */
.aidx__group { margin: 0 0 20px; }
.aidx__group:last-child { margin-bottom: 0; }
.aidx__h { font-size: 16px; color: var(--primary); margin: 0 0 10px; }
.seo-content .aidx__h { display: block; background: none; border: none; padding: 0; margin: 20px 0 10px; }
.aidx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aidx__list a { display: block; padding: 12px 16px; background: var(--card-bg); border: 2px solid var(--border); border-radius: 16px; text-decoration: none; color: #4a4a4a; }
.aidx__list a:hover { background: var(--bg-main); }
.aidx__list b { display: block; font-size: 15px; color: var(--accent); }
.aidx__list span { display: block; font-size: 12.5px; color: #8a8a8a; margin-top: 2px; }

/* ---------- よくある質問（画面と FAQPage は同じデータから生成） ---------- */
.faqs { margin: 0 0 24px; }
.faqs:last-child { margin-bottom: 0; }
.faqs__h { font-size: 18px; color: var(--primary); margin: 0 0 12px; }
.seo-content .faqs__h { margin-bottom: 20px; }
.faqs__item { border: 2px solid var(--border); border-radius: 16px; background: var(--card-bg); margin: 0 0 8px; }
.faqs__item summary { cursor: pointer; padding: 12px 16px; font-weight: 800; font-size: 14px; color: #4a4a4a; list-style: none; }
.faqs__item summary::-webkit-details-marker { display: none; }
.faqs__item summary::before { content: "Q. "; color: var(--primary); }
.faqs__a { padding: 0 16px 14px; font-size: 13.5px; color: #4a4a4a; line-height: 1.8; }
.faqs__a a { color: var(--accent); }

/* ---------- 求人サイト（TOP） ---------- */
.jobs__h { font-size: 20px; color: var(--primary); }
.jobs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.jobs__list a { display: block; padding: 12px 16px; border: 2px solid var(--border); border-radius: 16px; background: var(--card-bg); text-decoration: none; color: #4a4a4a; }
.jobs__list a:hover { background: var(--bg-main); }
.jobs__list b { display: block; font-size: 15px; color: var(--accent); }
.jobs__list span { display: block; font-size: 12.5px; color: #8a8a8a; margin-top: 2px; }

/* ---------- 読み物ページのヘッダー（静的ページのヘッダーにナビを足す） ---------- */
body.static .site-header__inner { gap: 12px; }
.site-nav { display: flex; gap: 16px; margin-left: auto; font-size: 13.5px; font-weight: 700; }
.site-nav a { color: #4a4a4a; text-decoration: none; }
.site-nav a:hover { color: var(--primary); }
@media (max-width: 560px) {
  body.static .site-header__inner { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 16px; font-size: 13px; }
}

/* ---------- 記事 ---------- */
.post { max-width: 760px; margin: 0 auto; }
.post__head { margin: 8px 0 16px; }
.post__h1 { font-size: 24px; color: var(--primary); line-height: 1.5; margin: 0 0 10px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: #8a8a8a; margin: 0; }
.post__meta a { color: var(--accent); }
/* アイキャッチ（@meta の IMAGE_ALT がある記事だけ）。幅は記事いっぱい・高さは width/height 属性の比率に従う。枠は結論の枠と同じ。 */
.post__eye { margin: 0 0 20px; }
.post__eye img { display: block; width: 100%; height: auto; border: 3px solid var(--border); border-radius: 20px; }
.post__answer { background: var(--card-bg); border: 3px solid var(--border); border-radius: 20px; padding: 16px 20px; margin: 0 0 20px; }
.post__answer-h { font-weight: 900; color: var(--primary); font-size: 14px; margin: 0 0 6px; }
.post__answer p:last-child { font-size: 14px; line-height: 1.8; color: #4a4a4a; margin: 0; }
.post__toc { background: var(--card-bg); border: 2px dashed var(--border); border-radius: 16px; padding: 14px 20px; margin: 0 0 24px; }
.post__toc-h { font-weight: 800; font-size: 14px; margin: 0 0 6px; color: #4a4a4a; }
.post__toc ol { margin: 0; padding-left: 1.4em; font-size: 13.5px; line-height: 1.9; }
.post__toc a { color: var(--accent); }

.post__body { background: var(--card-bg); border: 3px solid var(--border); border-radius: 20px; padding: 24px 20px; margin: 0 0 24px; font-size: 15px; line-height: 1.9; color: #4a4a4a; }
.post__body h2 { font-size: 18px; color: var(--border); border-left: 4px solid var(--primary); padding: 2px 0 2px 12px; margin: 40px 0 16px; line-height: 1.5; scroll-margin-top: 80px; }
.post__body h2:first-child { margin-top: 0; }
.post__body h3 { font-size: 16px; color: #4a4a4a; margin: 24px 0 10px; }
.post__body p { margin: 0 0 16px; }
.post__body ul, .post__body ol { margin: 0 0 16px; padding-left: 1.4em; }
.post__body li { margin: 0 0 6px; }
.post__body strong { background: linear-gradient(transparent 60%, var(--secondary) 60%); font-weight: 800; }
.post__body a { color: var(--accent); }

/* 記入例・例文 */
.ex { background: var(--bg-main); border: 2px solid var(--border); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.ex__h { font-weight: 900; font-size: 13.5px; color: var(--primary); margin: 0 0 8px; }
.ex p { margin: 0; font-size: 14px; }
.ex__tbl { width: 100%; border-collapse: collapse; background: var(--card-bg); font-size: 13.5px; }
.ex__tbl th, .ex__tbl td { border: 1px solid rgba(51,51,51,0.25); padding: 6px 8px; text-align: left; vertical-align: top; }
.ex__tbl th { background: #fff5f7; font-weight: 700; }
/* 年・月の列は学歴・職歴の記入例の表（--hist）だけ。ほかの表に効かせると長い列が折り返せずにはみ出す */
.ex__tbl--hist th:nth-child(-n+2), .ex__tbl--hist td:nth-child(-n+2) { width: 3.6em; text-align: center; white-space: nowrap; }
.ex__tbl td.c { text-align: center; }
.ex__tbl td.r { text-align: right; }

/* 記事末 */
.post .faqs { margin: 0 0 24px; }
.post__cta { background: var(--secondary); border: 3px solid var(--border); border-radius: 20px; padding: 20px; text-align: center; margin: 0 0 24px; }
.post__cta-h { font-weight: 900; font-size: 16px; color: var(--border); margin: 0 0 6px; }
.post__cta p { font-size: 13.5px; margin: 0 0 14px; color: #4a4a4a; }
.post__cta-btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 900; font-size: 15px; padding: 12px 24px; border-radius: 999px; border: 3px solid var(--border); box-shadow: 0 4px 0 var(--border); }
.post__cta-btn:active { transform: translateY(4px); box-shadow: none; }
.post__rel { margin: 0 0 24px; }
.post__rel-h { font-weight: 900; font-size: 16px; color: var(--primary); margin: 0 0 10px; }
.post__rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.post__rel a { display: block; padding: 12px 16px; background: var(--card-bg); border: 2px solid var(--border); border-radius: 16px; color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.post__rel a span { display: block; font-weight: 400; font-size: 12.5px; color: #8a8a8a; }
.post__sources { font-size: 12.5px; color: #8a8a8a; margin: 0 0 16px; }
.post__sources-h { font-weight: 800; margin: 0 0 4px; }
.post__sources ul { margin: 0; padding-left: 1.4em; }
.post__sources a { color: var(--accent); }
.post__pub { font-size: 12px; color: #8a8a8a; line-height: 1.8; }
.post__pub p { margin: 0 0 6px; }
.post__pub a { color: var(--accent); }

@media (max-width: 560px) {
  .post__h1 { font-size: 20px; }
  .post__body { padding: 20px 16px; font-size: 14px; }
  .post__body h2 { font-size: 17px; }
}
.jobs__after { margin: 16px 0 0; text-align: center; font-size: 14px; color: #4a4a4a; }
.jobs__after a { color: var(--accent); font-weight: 700; }

/* ---------- 入力チェック（TOPのウィザード・06だけ） ---------- */
.field input.is-invalid, .field input.is-invalid:focus { border-color: var(--primary); }
.fielderr { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; color: var(--primary); }

/* ---------- 登録画面：規約同意を外したときに押せないボタン（auth.js の data-flow="optout"） ---------- */
.authm__submit:disabled, .authm__skip:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
/* 表題・ボタンが長くなったため、最後の1文字だけが次の行に落ちないよう、文節の切れ目で行の長さをそろえて折り返す */
.authm__title, .authm__submit { text-wrap: balance; word-break: auto-phrase; }
