:root {
  color-scheme: light;
  --navy: #1b2a4a;
  --navy-2: #2c4170;
  --accent: #2f7d6d;
  --accent-soft: #e6f2ef;
  --warn: #9a5b00;
  --warn-soft: #fff5e3;
  --danger: #b3261e;
  --text: #1f2430;
  --muted: #5d6475;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 12px;
  --max: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.4; color: var(--navy); }
h2 { font-size: 1.5rem; margin: 0 0 1.25rem; padding-bottom: .5rem; border-bottom: 3px solid var(--navy); display: inline-block; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section:nth-of-type(even) { background: var(--bg-soft); }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 700; color: var(--navy); text-decoration: none; }
.nav { display: none; gap: 20px; font-size: .9rem; }
.nav a { text-decoration: none; color: var(--muted); }
@media (min-width: 820px) { .nav { display: flex; } }

/* ボタン */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ヒーロー */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 64px 0 56px; }
.hero h1 { color: #fff; font-size: 1.75rem; margin: 0 0 1rem; }
.hero p.lead { font-size: 1.05rem; opacity: .92; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0; padding: 0; list-style: none; }
.hero .badges li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 14px; font-size: .9rem; }
.hero .fee { font-size: 2.25rem; font-weight: 800; }
@media (min-width: 820px) { .hero h1 { font-size: 2.25rem; } }

/* 運営方針（トップ直下で大きく見せる） */
section.policy { background: var(--bg); padding: 48px 0; border-bottom: 1px solid var(--line); }
.policy .container { max-width: 760px; }
.policy-label { display: inline-block; margin: 0 0 12px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.policy-text {
  margin: 0; padding-left: 20px; border-left: 4px solid var(--accent);
  font-size: 1.12rem; font-weight: 700; line-height: 1.9; color: var(--navy); white-space: pre-line;
}
.policy-sign { margin: 16px 0 0; text-align: right; color: var(--muted); font-size: .95rem; }
@media (min-width: 820px) { .policy-text { font-size: 1.4rem; } }

/* 最後のメッセージ */
.message .container { max-width: 760px; }
.message-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.message-text { margin: 0; white-space: pre-line; line-height: 2; font-size: 1.05rem; }
.message-sign { margin: 16px 0 0; text-align: right; font-weight: 700; color: var(--navy); }

/* カード */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.card .icon { font-size: 1.75rem; }

/* 表 */
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; background: #fff; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
table.spec th { background: var(--bg-soft); width: 32%; color: var(--navy); white-space: nowrap; }
@media (max-width: 560px) {
  table.spec th, table.spec td { display: block; width: 100%; white-space: normal; }
  table.spec th { border-bottom: none; }
}

/* 報酬 */
.price { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
ul.bonus { list-style: none; padding: 0; margin: .5rem 0; }
ul.bonus li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.example { background: var(--accent-soft); border-radius: var(--radius); padding: 16px; margin-top: 16px; }

/* タイムライン・ステップ */
ol.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--navy); }
ol.timeline li { position: relative; padding: 0 0 20px 24px; }
ol.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
ol.timeline .time { font-weight: 700; color: var(--navy); margin-right: 8px; }

ol.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 60px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
ol.steps li strong { display: block; color: var(--navy); }

/* 注意 */
.notice { background: var(--warn-soft); border-left: 4px solid var(--warn); border-radius: 8px; padding: 16px 20px; margin: 16px 0; }
.notice h3 { margin-top: 0; color: var(--warn); }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "Q. "; color: var(--accent); }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.25rem; }
details.faq[open] summary::after { content: "−"; }
details.faq .a { padding: 0 16px 14px; }
details.faq .a::before { content: "A. "; font-weight: 700; color: var(--danger); }

/* プロフィール */
.profile { display: flex; flex-direction: column; gap: 16px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 2.5rem; flex-shrink: 0; }
@media (min-width: 640px) { .profile { flex-direction: row; align-items: flex-start; } }

.cta { text-align: center; }
.cta p { margin-bottom: 1.5rem; }

footer { background: var(--navy); color: #cfd6e4; padding: 32px 0; font-size: .85rem; }
footer a { color: #fff; }

/* 応募フォーム */
.form-page { padding: 32px 0 64px; background: var(--bg-soft); min-height: 100vh; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; max-width: 680px; margin: 0 auto; }
.progress { display: flex; gap: 6px; margin-bottom: 24px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--accent); }
.step-label { font-size: .85rem; color: var(--muted); }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.req { background: var(--danger); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.opt { background: var(--muted); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.check input { margin-top: 6px; width: 18px; height: 18px; flex-shrink: 0; }
.error { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.stop { background: #fdecea; border: 1px solid var(--danger); color: var(--danger); border-radius: 8px; padding: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
dl.confirm { margin: 0; }
dl.confirm dt { font-weight: 700; color: var(--navy); margin-top: 12px; font-size: .9rem; }
dl.confirm dd { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; }
.demo-banner { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .85rem; padding: 6px; }

.prose { max-width: 760px; }
.prose h2 { display: block; font-size: 1.2rem; }
