@charset "utf-8";

/* Robloxまちづくりプロジェクト
   モバイルファースト。色は空・緑・土・道路・地図の紙をもとにしています。
   情報を色だけで伝えないよう、バッジは必ず文字を伴います。 */

:root {
  --paper:      #faf8f3;
  --paper-2:    #f2eee4;
  --paper-3:    #e9e3d5;
  --ink:        #22302c;
  --ink-soft:   #58655f;
  --line:       #ddd5c5;

  --green:      #3d6b4b;
  --green-dark: #2c5138;
  --green-soft: #e4eee3;
  --sky:        #2f6d9c;
  --sky-soft:   #e2eef6;
  --earth:      #9a6b3e;
  --earth-soft: #f2e6d7;
  --road:       #83878c;

  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 1px 2px rgba(34, 48, 44, .06), 0 8px 24px rgba(34, 48, 44, .06);
  --wrap:       1120px;
  --gap:        clamp(1.5rem, 4vw, 2.5rem);

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic Medium", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.45; letter-spacing: .01em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 4vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 100; background: var(--ink); color: #fff; padding: .7em 1.4em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 0; color: #fff; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2rem, 720px); }
.wrap.center { text-align: center; }

/* ---------------------------------------------------------- ヘッダー */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .93);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; }

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-name { font-size: .95rem; letter-spacing: .02em; }
.brand-mark {
  width: 26px; height: 26px; flex: none; border-radius: 7px;
  background:
    linear-gradient(160deg, var(--sky) 0 38%, transparent 38%),
    linear-gradient(20deg,  var(--earth) 0 30%, transparent 30%),
    var(--green);
}

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 0 1rem;
}
body.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.site-nav a {
  display: block; padding: .8rem .2rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); font-size: .95rem;
}
.site-nav a[aria-current="page"] { color: var(--green-dark); font-weight: 700; }

/* 項目が7つあるので、横並びに切り替えるのは幅に余裕が出てから */
@media (min-width: 1060px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; padding: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: .15rem; width: auto; }
  .site-nav a { border: 0; padding: .45rem .6rem; border-radius: var(--radius-sm); font-size: .85rem; white-space: nowrap; }
  .site-nav a:hover { background: var(--green-soft); }
  .site-nav a[aria-current="page"] { background: var(--green-soft); }
}

/* ---------------------------------------------------------- ヒーロー */

/* イラストが淡いので、暗く沈めず明るいまま見せて文字を墨色にする */
.hero { position: relative; isolation: isolate; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(250, 248, 243, .72) 0%, rgba(250, 248, 243, .92) 55%, var(--paper) 100%);
}
@media (min-width: 760px) {
  .hero::after {
    background: linear-gradient(95deg,
      rgba(250, 248, 243, .97) 0%, rgba(250, 248, 243, .93) 42%,
      rgba(250, 248, 243, .35) 68%, rgba(250, 248, 243, 0) 100%);
  }
}
.hero-inner { padding: clamp(3rem, 12vw, 6.5rem) 0; }
.hero-kicker {
  display: inline-block; margin: 0 0 1rem; padding: .3em .9em;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 999px;
  font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft);
}
.hero-title { font-size: clamp(1.9rem, 7vw, 3.2rem); margin-bottom: .5em; color: var(--ink); }
.hero-lead { max-width: 34em; font-size: clamp(.95rem, 2.4vw, 1.05rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------------------------------------------------------- ボタン */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .7em 1.3em; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: .9rem; line-height: 1.3; transition: transform .12s ease, background .12s ease;
}
.btn:hover { color: var(--ink); background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85em 1.7em; font-size: .95rem; }
.btn-sm { padding: .5em 1em; font-size: .82rem; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn.is-disabled {
  background: var(--paper-2); border-color: var(--line); border-style: dashed;
  color: var(--ink-soft); flex-direction: column; gap: 0; cursor: not-allowed;
}
.btn-sub { font-size: .72rem; font-weight: 400; opacity: .9; }
.cta { margin: 2rem 0 0; }

.ext { font-size: .8em; margin-left: .15em; }

/* ---------------------------------------------------------- セクション */

.section { padding: clamp(2.5rem, 8vw, 4.5rem) 0; }
.section-quiet { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.2rem; margin-bottom: .4rem; }
.section-head h2 { margin: 0; }
.section-lead { color: var(--ink-soft); max-width: 44em; margin-bottom: 2rem; }
.link-more { font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-more::after { content: " →"; }

.page-head { padding: clamp(2rem, 7vw, 3.5rem) 0 0; }
.page-head h1 { margin-bottom: .4em; }
.page-lead { color: var(--ink-soft); font-size: 1.02rem; }
.page-head-row { display: flex; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------------------------------------------------------- カード */

.grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-flat { box-shadow: none; }
.card-thumb { display: block; position: relative; background: var(--paper-3); }
.thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb-empty { aspect-ratio: 16 / 9; background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--paper-3) 12px 24px); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.card-pref { font-size: .8rem; color: var(--ink-soft); }
.card-title { margin: 0 0 .5em; font-size: 1.25rem; line-height: 1.4; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-text { color: var(--ink-soft); font-size: .89rem; line-height: 1.75; margin-bottom: 1rem; }
.card-meta { font-size: .8rem; color: var(--ink-soft); margin-bottom: .6rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.card-pending {
  margin: 0; font-size: .82rem; color: var(--ink-soft);
  border: 1px dashed var(--line); border-radius: 999px; padding: .5em 1em; background: var(--paper-2);
}

.play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(34, 48, 44, .78);
}
.play::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  transform: translateX(2px);
}

/* ステータス。色に加えて必ず文字を出す */
.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .2em .7em;
  border-radius: 999px; font-size: .76rem; font-weight: 700; border: 1px solid;
}
.badge-dot { width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.is-published { color: var(--green-dark); background: var(--green-soft); border-color: #c4dcc3; }
.is-wip       { color: #8a5a12; background: #fbeed7; border-color: #edd8ac; }
.is-prep      { color: #4d5a63; background: #e8edf0; border-color: #d2dbe1; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.tag { font-size: .75rem; color: var(--ink-soft); background: var(--paper-2); border-radius: 999px; padding: .15em .7em; }

/* ---------------------------------------------------------- 本文 */

.prose { font-size: 1rem; }
.prose h2 { margin-top: 2.4em; padding-top: .2em; border-top: 2px solid var(--paper-3); }
.prose h2:first-child { margin-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .88em; background: var(--paper-2); padding: .15em .45em; border-radius: 5px;
}
.prose blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.2em;
  border-left: 4px solid var(--green-soft); color: var(--ink-soft);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.checks li::before {
  content: ""; position: absolute; left: .25em; top: .62em;
  width: .45em; height: .45em; border-radius: 50%; background: var(--green);
}
.plain { list-style: none; padding: 0; }
.plain li { margin-bottom: .4em; }

.figure { margin: 0 0 2rem; }
.figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .6em; }
.media-list { display: grid; gap: 1.2rem; }

.notice {
  background: var(--sky-soft); border: 1px solid #cbe0ee; border-radius: var(--radius-sm);
  padding: .9em 1.1em; font-size: .9rem; color: #245a80;
}
.fineprint { font-size: .82rem; color: var(--ink-soft); line-height: 1.7; }
.tbd { color: #8a5a12; background: #fbeed7; border-radius: 5px; padding: .1em .5em; font-size: .9em; }

/* 事例ページ: 主催と当方の役割を視覚的に分ける */
.roles { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
@media (min-width: 720px) { .roles { grid-template-columns: 1fr 1fr; } }
.role { padding: 1.2rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.role-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; margin: 0 0 .3em; }
.role-name { font-weight: 700; margin: 0 0 .8em; }
.role-position {
  display: inline-block; margin-left: .5em; padding: .1em .7em; border-radius: 999px;
  font-size: .76rem; font-weight: 700; background: #fff; border: 1px solid currentColor;
}
.role ul { margin: 0; padding-left: 1.2em; font-size: .92rem; color: var(--ink-soft); }
.role-organizer { background: var(--sky-soft); border-color: #cbe0ee; }
.role-organizer .role-label { color: #245a80; }
.role-ours { background: var(--green-soft); border-color: #c4dcc3; }
.role-ours .role-label { color: var(--green-dark); }

.spec { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; gap: .1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .spec-row { grid-template-columns: 12em 1fr; gap: 1rem; } }
.spec dt { font-weight: 700; font-size: .88rem; }
.spec dd { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------------------------------------------------------- フォーム */

.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; padding: .7em .9em;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; }

/* ---------------------------------------------------------- フッター */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: clamp(2.5rem, 8vw, 4rem) 0 2rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-top { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr; } }
.footer-name { font-weight: 700; color: #fff; margin-bottom: .4em; }
.footer-tagline { font-size: .9rem; max-width: 30em; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.social a {
  display: inline-block; padding: .4em 1em; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35); text-decoration: none; font-size: .85rem;
}
.social a:hover { background: rgba(255, 255, 255, .1); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-meta { padding-top: 1.6rem; display: grid; gap: 1.2rem; font-size: .85rem; }
.footer-operator { margin: 0; font-weight: 700; color: #fff; }
.footer-operator-note { display: block; font-weight: 400; font-size: .85rem; color: rgba(255, 255, 255, .72); margin-top: .2em; }
.attr-title { font-weight: 700; margin: 0 0 .3em; color: rgba(255, 255, 255, .9); }
.footer-attr .plain li { font-size: .82rem; }
.attr-note { color: rgba(255, 255, 255, .6); margin-left: .5em; }
.site-footer .fineprint { color: rgba(255, 255, 255, .6); margin: 0; }

/* ============================================================
   事業方針の変更で追加した部品
   無料 / 有料、公開状態、参加のしかた、フォームなど
   ============================================================ */

/* 追加のステータス色。いずれも文字ラベルとセットで使う */
.is-open    { color: var(--green-dark); background: var(--green-soft); border-color: #c4dcc3; }
.is-base    { color: #245a80; background: var(--sky-soft); border-color: #cbe0ee; }
.is-calling { color: #8a4a12; background: var(--earth-soft); border-color: #e6cfae; }

/* 無料 / 有料。色だけに頼らず必ず文字で示す */
.tier {
  display: inline-block; padding: .15em .7em; border-radius: 999px;
  font-size: .76rem; font-weight: 700; border: 1px solid; margin-right: .5em; vertical-align: .1em;
}
.tier-free { color: var(--green-dark); background: var(--green-soft); border-color: #c4dcc3; }
.tier-paid { color: #7c4a1c; background: var(--earth-soft); border-color: #e0c49c; }

.tiers { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .tiers { grid-template-columns: 1fr 1fr; align-items: start; } }
.tier-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; background: #fff; }
.tier-card-free { background: var(--green-soft); border-color: #c4dcc3; }
.tier-card-paid { background: var(--earth-soft); border-color: #e0c49c; }
.tier-card-head { display: flex; align-items: center; gap: .2rem; margin: 0 0 .4em; font-size: 1.15rem; font-weight: 700; }
.tier-card-note { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1em; }
.tier-card > ul { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.tier-card > ul li { margin-bottom: .35em; }
.tier-more { list-style: none; margin-left: -1.2em; color: var(--ink-soft); font-size: .85rem; }
.tier-list { list-style: none; padding: 0; margin: 0; }
.tier-item { padding: .8rem 0; border-top: 1px solid rgba(34, 48, 44, .12); }
.tier-item:first-child { border-top: 0; padding-top: 0; }
.tier-item-title { margin: 0 0 .25em; font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.tier-item-detail { margin: 0; font-size: .87rem; line-height: 1.75; color: var(--ink-soft); }

/* トップの「できること」。説明の絵を上に置く（実写でも画面写真でもない） */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.feature-img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.feature-body { padding: 1.3rem 1.3rem 1.5rem; }
.feature-title { font-weight: 700; margin: 0 0 .45em; font-size: 1.25rem; line-height: 1.4; }
.feature-body p:last-child { margin: 0; font-size: .89rem; line-height: 1.75; color: var(--ink-soft); }

/* 3つの参加のしかた。見出し → 要約 → 説明 を大きさと色で3段に分ける */
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.way-title { font-weight: 700; font-size: 1.45rem; line-height: 1.35; margin: 0 0 .45em; }
.way-summary { margin: 0 0 .5em; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.way-detail { margin: 0 0 1.2em; font-size: .87rem; line-height: 1.75; color: var(--ink-soft); }
.way .link-more { margin-top: auto; }

/* 掲載までの流れ */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { counter-increment: step; position: relative; padding: .9rem 1.1rem .9rem 3.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.step::before {
  content: counter(step); position: absolute; left: 1rem; top: .95rem;
  width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--green); color: #fff;
  font-size: .82rem; font-weight: 700; display: grid; place-items: center;
}
.step-title { margin: 0 0 .25em; font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.step-detail { margin: 0; font-size: .85rem; line-height: 1.7; color: var(--ink-soft); }

/* 3段階の判定例。3枚とも同じ大きさで並べ、「直せば載る」を埋もれさせない。
   ○△× は飾りで、意味は見出しの文字が持つ */
/* 3枚は同じ高さにそろえる。禁止の1枚だけが背高になると、そこだけ強く見えるため */
.judge {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  background: #fff; display: flex; flex-direction: column;
}
.judge-head { display: flex; align-items: baseline; gap: .5em; font-weight: 700; font-size: 1.15rem; line-height: 1.45; margin: 0 0 .8em; }
.judge-mark { flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; font-size: .9em; border: 1px solid; }
.judge-list { margin: 0 0 1em; padding-left: 1.2em; font-size: .92rem; }
.judge-list li { margin-bottom: .35em; }
.judge-note { margin: auto 0 0; padding-top: .9em; border-top: 1px solid var(--line); font-size: .85rem; line-height: 1.75; color: var(--ink-soft); }
.judge-ok   { background: var(--green-soft); border-color: #c4dcc3; }
.judge-ok .judge-mark   { color: var(--green-dark); background: #fff; border-color: #c4dcc3; }
.judge-ok .judge-note   { border-color: #c4dcc3; }
.judge-fix  { background: var(--earth-soft); border-color: #e0c49c; }
.judge-fix .judge-mark  { color: #7c4a1c; background: #fff; border-color: #e0c49c; }
.judge-fix .judge-note  { border-color: #e0c49c; }
.judge-no   { background: #f8ece8; border-color: #e6c6bc; }
.judge-no .judge-mark   { color: #a8442f; background: #fff; border-color: #e6c6bc; }
.judge-no .judge-note   { border-color: #e6c6bc; }

/* 子ども向けの短い注意。応募ページとフォームの先頭に出る */
.kids-note {
  background: var(--sky-soft); border: 1px solid #cbe0ee; border-radius: var(--radius);
  padding: 1.2rem 1.3rem; margin-bottom: 2rem;
}
.kids-note-title { margin: 0 0 .4em; font-weight: 700; font-size: 1.15rem; color: #245a80; }
.kids-note p { margin: 0 0 .6em; font-size: .95rem; line-height: 1.8; }
.kids-note-more { margin: 0; }

/* 規約のバージョン表示 */
.doc-meta {
  display: inline-block; margin: 0 0 1.5rem; padding: .3em 1em; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-soft);
}

/* 条件分岐で出す入力欄。関係するときだけ現れる */
.subfields {
  margin: .8rem 0 .2rem; padding: 1rem 1.1rem; display: grid; gap: 1rem;
  background: var(--paper-2); border-left: 3px solid var(--green-soft); border-radius: var(--radius-sm);
}
.subfields > .hint:first-child { margin: 0; }
/* .choice など display を持つ要素にも hidden を効かせる（同じ詳細度だと後勝ちになるため） */
[hidden] { display: none !important; }

/* 応募ルール */
.rules { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.rule { position: relative; padding: .5em 0 .5em 2em; border-bottom: 1px solid var(--line); font-size: .95rem; }
.rule::before { position: absolute; left: .2em; top: .5em; font-weight: 700; }
.rule-must::before { content: "○"; color: var(--green); }
.rule-ng::before   { content: "×"; color: #a8442f; }
.plain-dash { list-style: none; padding: 0; }
.plain-dash li { position: relative; padding-left: 1.2em; margin-bottom: .4em; font-size: .93rem; color: var(--ink-soft); }
.plain-dash li::before { content: "—"; position: absolute; left: 0; }

/* テーマ例 */
.themes { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
@media (min-width: 700px) { .themes { grid-template-columns: 1fr 1fr; } }
.theme { background: var(--paper-2); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.theme-title { font-weight: 700; margin: 0 0 .3em; font-size: 1.05rem; line-height: 1.5; }
.theme p { margin: 0; font-size: .86rem; line-height: 1.7; color: var(--ink-soft); }

/* 地域ワールドのカードに増えた情報 */
.card-progress { font-size: .86rem; color: var(--ink-soft); background: var(--paper-2); border-radius: var(--radius-sm); padding: .6em .8em; margin-bottom: .8rem; }
.card-terms { font-size: .83rem; color: var(--ink-soft); margin-bottom: .6rem; }
.card-terms-label { display: inline-block; font-weight: 700; margin-right: .5em; color: var(--ink); }

.section-accent { background: var(--green-soft); }
.center { text-align: center; }

/* 注意書き */
.notice-warn { background: var(--earth-soft); border-color: #e0c49c; color: #7c4a1c; }

/* フォーム */
.req, .opt {
  display: inline-block; margin-left: .6em; padding: .1em .55em; border-radius: 4px;
  font-size: .72rem; font-weight: 700; vertical-align: .12em;
}
.req { background: #f6dcd6; color: #8c3a26; }
.opt { background: var(--paper-3); color: var(--ink-soft); }
.hint { font-size: .84rem; color: var(--ink-soft); margin: 0 0 .1em; }
.error { margin: 0; font-size: .84rem; font-weight: 700; color: #a8442f; min-height: 0; }
.error:empty { display: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #a8442f; background: #fdf6f4;
}
.field select { font: inherit; font-size: 1rem; padding: .7em .9em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 0; background: #fff; }
.fieldset legend { font-weight: 700; font-size: .9rem; padding: 0 .4em; }
.choice { display: flex; align-items: flex-start; gap: .6em; padding: .45em 0; font-size: .93rem; cursor: pointer; }
.choice input { margin-top: .35em; flex: none; width: 1.05em; height: 1.05em; }
.choice.is-required { background: #fffaf2; border-radius: var(--radius-sm); padding-inline: .5em; }
/* チェックボックスの補足リンク。label の中に入れるとクリックでチェックが動くので外に出す */
.choice-note { margin: -.2em 0 .6em 1.7em; font-size: .85rem; }
.form button[disabled] { opacity: .55; cursor: not-allowed; }
