/* pa-recruit — 応募者第一の読みやすさ優先。画像なし・依存なし。
   既定は明るい配色（スマホの屋外でも読める）、端末がダーク設定なら自動で切替。 */
:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --ink: #1f2328;
  --muted: #5c6670;
  --line: #e2e5e9;
  --accent: #1f6f8b;
  --accent-ink: #ffffff;
  --note-bg: #fff7e0;
  --note-line: #e6c15a;
  --badge-bg: #b23a3a;
  --max: 46rem;
  --fs: 1.125rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --panel: #1d2024;
    --ink: #e8eaed;
    --muted: #a6adb5;
    --line: #2e3339;
    --accent: #7cc4de;
    --accent-ink: #0f1b20;
    --note-bg: #2a2611;
    --note-line: #8f7a2a;
    --badge-bg: #d15656;
  }
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: var(--fs);
  line-height: 1.85;
  font-feature-settings: "palt";
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); padding: .5rem 1rem; z-index: 10; }

/* ヘッダー */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .15rem .3rem; width: 100%; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .9rem; padding: .35rem .55rem; border-radius: .5rem; }
.site-nav a:hover { background: var(--bg); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); }
@media (min-width: 52rem) {
  .site-header .wrap { flex-wrap: nowrap; }
  .site-nav { width: auto; margin-left: auto; justify-content: flex-end; }
}

/* 本文 */
main { padding: 1.6rem 0 3rem; }
.page-header { margin-bottom: 1.6rem; }
h1 { font-size: 1.75rem; line-height: 1.35; margin: .2rem 0 .6rem; letter-spacing: .01em; }
.badge { display: inline-block; background: var(--badge-bg); color: #fff; font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: .35rem; letter-spacing: .05em; }
.lead { color: var(--muted); margin: 0; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; padding-left: .7rem; border-left: .35rem solid var(--accent); line-height: 1.4; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
h4 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1rem; }
li { margin: .25rem 0; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .15em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.note { background: var(--note-bg); border: 1px solid var(--note-line); border-radius: .6rem; padding: .8rem 1rem; margin: 1rem 0 1.2rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: .5rem .65rem; text-align: left; vertical-align: top; }
th { background: var(--panel); white-space: nowrap; }

/* ボタン風リンク（フォームなど） */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: .75rem 1.3rem; border-radius: .6rem; margin: .3rem 0 .6rem; }
.btn:hover { filter: brightness(1.08); }
.cards { display: grid; gap: .8rem; grid-template-columns: 1fr; margin: 0 0 1.2rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; padding: .9rem 1rem; color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card .t { font-weight: 700; display: block; }
.card .d { color: var(--muted); font-size: .92rem; display: block; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2.2rem; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: 0 0 .3rem; }
.small { font-size: .85rem; }
@media print { .site-header, .site-footer { display: none; } body { font-size: 11pt; } }
