/* 作例P3 架空の登録支援機関のHP（外部の読み込みなし・写真なし） */
:root {
  --ink: #1d2b26;
  --sub: #5a6b65;
  --line: #d7e3df;
  --base: #ffffff;
  --soft: #f3f8f6;
  --main: #2a7a62;
  --main-dark: #1d5747;
  --main-soft: #e2f1ec;
  --sky: #dcecf7;
  --note: #fff7df;
  --note-line: #e3c25e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
a { color: var(--main); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* 作例の帯（全ページ共通） */
.work-band { background: #17242e; color: #fff; padding: 9px 0; font-size: 13px; }
.work-band .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; }
.work-band b { background: var(--note); color: #5f4a00; padding: 1px 8px; border-radius: 4px; margin-right: 6px; }
.work-band a { color: #bfe3dc; }
.dummy { display: inline-block; font-size: 11px; line-height: 1.4; padding: 1px 6px; border-radius: 4px; background: var(--note); border: 1px solid var(--note-line); color: #6b5200; margin-left: 4px; vertical-align: middle; font-weight: 400; }

/* ヘッダー */
.head { border-bottom: 1px solid var(--line); background: var(--base); }
.head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.logo .mark { width: 34px; height: 34px; border-radius: 50%; background: var(--main); position: relative; flex: none; }
.logo .mark::before { content: ""; position: absolute; left: 7px; top: 7px; width: 20px; height: 20px; border-radius: 50%; border: 4px solid #fff; border-right-color: transparent; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--main); color: var(--main-dark); font-weight: 700; }

/* ヒーロー（図形のみ） */
.hero { background: linear-gradient(160deg, var(--main-soft) 0%, var(--sky) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.hero h1 { font-size: 30px; line-height: 1.45; margin: 0 0 12px; color: var(--main-dark); }
.hero p { margin: 0 0 18px; color: var(--sub); }
.btn { display: inline-block; background: var(--main); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 22px; border-radius: 999px; }
.btn.ghost { background: transparent; color: var(--main-dark); border: 2px solid var(--main); }
.art { position: relative; height: 230px; }
.art .sun { position: absolute; right: 10%; top: 6%; width: 70px; height: 70px; border-radius: 50%; background: #f4d27a; }
.art .hill { position: absolute; left: -10%; right: -10%; bottom: 0; height: 90px; border-radius: 50% 50% 0 0; background: #b9dccf; }
.art .house { position: absolute; left: 22%; bottom: 40px; width: 120px; height: 90px; background: #fff; border-radius: 6px; box-shadow: 0 4px 0 rgba(0,0,0,.05); }
.art .house::before { content: ""; position: absolute; left: -10px; top: -46px; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 50px solid var(--main); }
.art .house::after { content: ""; position: absolute; left: 46px; bottom: 0; width: 28px; height: 44px; background: var(--main-soft); border-radius: 4px 4px 0 0; }
.art .p { position: absolute; bottom: 40px; width: 30px; height: 62px; }
.art .p::before { content: ""; position: absolute; left: 5px; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e9c7a6; }
.art .p::after { content: ""; position: absolute; left: 0; top: 23px; width: 30px; height: 39px; border-radius: 14px 14px 4px 4px; background: var(--c, #3d8fb8); }
.art .p1 { left: 62%; --c: #3d8fb8; }
.art .p2 { left: 74%; --c: #2a7a62; transform: scale(.85); transform-origin: bottom; }

/* 本文 */
main { padding: 8px 0 48px; }
.page-title { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-title .wrap { padding-top: 26px; padding-bottom: 26px; }
.page-title h1 { margin: 0; font-size: 26px; color: var(--main-dark); }
.page-title p { margin: 4px 0 0; color: var(--sub); font-size: 14px; }
section { margin: 32px 0; }
h2 { font-size: 21px; margin: 0 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--main-soft); color: var(--main-dark); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--base); }
.box h3 { margin: 10px 0 6px; font-size: 17px; }
.box p { margin: 0; font-size: 15px; color: var(--sub); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--main-soft); position: relative; }
.icon::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 4px solid var(--main); }
.icon.sq::after { border-radius: 3px; }
.icon.tri::after { inset: 10px 12px; border: none; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 20px solid var(--main); border-radius: 0; width: 0; height: 0; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.news time { color: var(--sub); font-size: 14px; min-width: 7em; }
.cta { background: var(--main-dark); color: #fff; border-radius: 12px; padding: 24px 20px; text-align: center; }
.cta p { margin: 0 0 12px; }
.cta .btn { background: #fff; color: var(--main-dark); }

/* 支援の流れ */
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
ol.steps li { position: relative; padding: 4px 0 18px 52px; counter-increment: s; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 700; text-align: center; line-height: 36px; }
ol.steps li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px; background: var(--main-soft); }
ol.steps li:last-child::after { display: none; }
ol.steps h3 { margin: 4px 0 2px; font-size: 17px; }
ol.steps p { margin: 0; color: var(--sub); font-size: 15px; }

/* 表 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
thead th { background: var(--main-soft); white-space: nowrap; }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 700; background: var(--soft); }
table.kv th { width: 30%; background: var(--soft); }
.meta { font-size: 13px; color: var(--sub); margin-top: 8px; }
.pdf-slot { border: 2px dashed var(--line); border-radius: 8px; background: var(--soft); padding: 28px 16px; text-align: center; color: var(--sub); }
.map { height: 180px; border-radius: 10px; border: 1px solid var(--line); background:
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 46%, #fff 46% 50%, transparent 50%),
  linear-gradient(30deg, transparent 70%, #fff 70% 72%, transparent 72%),
  #e4ece8; position: relative; }
.map::after { content: "地図の位置（作例のため表示しません）"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.9); padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--sub); white-space: nowrap; }

/* フォーム（ダミー） */
form.dummy-form { display: grid; gap: 14px; max-width: 620px; }
form.dummy-form label { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
form.dummy-form input, form.dummy-form textarea, form.dummy-form select { font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fafcfb; width: 100%; }
form.dummy-form textarea { min-height: 120px; resize: vertical; }
form.dummy-form button { font: inherit; font-weight: 700; padding: 11px 20px; border-radius: 999px; border: none; background: #9fb5ad; color: #fff; cursor: not-allowed; justify-self: start; }
.form-note { background: var(--note); border: 1px solid var(--note-line); border-radius: 8px; padding: 12px 14px; font-size: 14px; }

/* フッター */
.foot { background: #18332b; color: #c6dcd4; font-size: 13px; padding: 22px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: #e3f1ec; text-decoration: none; }
.foot p { margin: 0; }

@media (max-width: 700px) {
  body { font-size: 15px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 20px; }
  .hero h1 { font-size: 24px; }
  .art { height: 180px; }
  .page-title h1 { font-size: 22px; }
  h2 { font-size: 19px; }
  table.kv th { width: 38%; }
}
