/* 江東312公園クエスト — mock 2026-08-11 */
:root {
  --ink: #142018;
  --muted: #3d5244;
  --paper: #eef6ef;
  --card: #fffdf8;
  --line: #c5d4c8;
  --brand: #1f6b38;
  --brand-deep: #134926;
  --soft: #d8efe0;
  --warm: #fff1dc;
  --sky: #dceef7;
  --done: #1f6b38;
  --photo: #2a6f9a;
  --wait: #8a6a28;
  --stamp: #c4552a;
  --font-display: "Figtree", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --max: 68rem;
  --radius: 1.1rem;
  --shadow: 0 16px 36px rgba(20, 40, 28, 0.1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(900px 420px at 8% -8%, #c7ebd1 0%, transparent 55%),
    radial-gradient(780px 360px at 100% 0%, var(--warm) 0%, transparent 48%),
    radial-gradient(700px 300px at 70% 100%, var(--sky) 0%, transparent 50%),
    var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); }
a:hover { text-decoration-thickness: 2px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.6rem 0.9rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(238, 246, 239, 0.88);
  border-bottom: 1px solid rgba(197, 212, 200, 0.7);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}
.brand small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.free-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  padding: 2.2rem 0 1.5rem;
}
.hero__panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 0.3rem);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.95), rgba(216, 239, 224, 0.55));
  border: 1px solid rgba(197, 212, 200, 0.9);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .hero__panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 2rem;
  }
}
.hero__visual {
  margin: 0;
  position: relative;
}
.hero__illust {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, #d8efe0, #fff1dc 55%, #dceef7);
  border: 1px solid var(--line);
}
.hero__illust:not([src]),
.hero__illust[src=""] {
  display: none;
}
.hero__fallback-note {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero__fallback-note code {
  font-size: 0.82rem;
  word-break: break-all;
}
.hero__stamp {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: min(38%, 8.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff8ea, transparent 45%),
    linear-gradient(160deg, #f4d7b0, #e8b07a 55%, #c4552a);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.22), var(--shadow);
  transform: rotate(-6deg);
}
.hero__stamp strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1;
}
.hero__stamp span {
  display: block;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}
@media (min-width: 800px) {
  .photo-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(20, 40, 28, 0.08);
}
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero__lead {
  margin: 0.9rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero__points {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-weight: 700;
}
.hero__points li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
}
.hero__credit {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 107, 56, 0.28);
}
.cta:hover { background: var(--brand-deep); }
.cta--ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 2rem 0;
}
.section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  line-height: 1.3;
}
.section > .lead,
.section-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}
.kicker {
  margin: 0 0 0.35rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
}

.progress {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.progress__layout {
  display: grid;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 800px) {
  .progress__layout {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.progress__illust {
  width: 100%;
  max-width: 16rem;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff1dc, #d8efe0);
  border: 1px solid var(--line);
}
.progress__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.progress__count {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.progress__count em {
  font-style: normal;
  color: var(--brand);
}
.progress__note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.progress__bar {
  margin-top: 1rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #e3ece5;
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: calc(100% * 36 / 312);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #3c9a58);
}

.legend {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
@media (min-width: 720px) {
  .legend { grid-template-columns: repeat(3, 1fr); }
}
.legend__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
}
.mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}
.mark--done { background: var(--done); }
.mark--photo { background: var(--photo); }
.mark--wait { background: var(--wait); }
.legend__item strong { display: block; }
.legend__item p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stamp-book {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .stamp-book { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .stamp-book { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stamp {
  min-height: 5.6rem;
  padding: 0;
  border-radius: 0.95rem;
  background: var(--card);
  border: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.stamp img,
.stamp__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d9e7dd;
  display: block;
}
.stamp__thumb--empty {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--wait);
  background:
    repeating-linear-gradient(
      -45deg,
      #f7efde,
      #f7efde 8px,
      #f0e4c8 8px,
      #f0e4c8 16px
    );
}
.stamp__thumb--photo {
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #3a84ad, #2a6f9a 55%, #1f5a7a);
}
.stamp__name,
.stamp__state {
  margin-left: 0.85rem;
  margin-right: 0.85rem;
}
.stamp__name {
  margin-top: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}
.stamp__state {
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.8rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.stamp--done {
  border-style: solid;
  border-color: #9ec9ad;
  background:
    radial-gradient(circle at 85% 18%, rgba(31, 107, 56, 0.12), transparent 40%),
    var(--card);
}
.stamp--photo {
  border-color: #9dbbd0;
  background:
    radial-gradient(circle at 85% 18%, rgba(42, 111, 154, 0.12), transparent 40%),
    var(--card);
}
.stamp--wait {
  border-color: #d4c19a;
  background:
    radial-gradient(circle at 85% 18%, rgba(138, 106, 40, 0.1), transparent 40%),
    var(--card);
}
.stamp__state::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: currentColor;
}
.stamp--done .stamp__state { color: var(--done); }
.stamp--photo .stamp__state { color: var(--photo); }
.stamp--wait .stamp__state { color: var(--wait); }
.stamp-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.howto__visual {
  margin: 0 0 1.1rem;
}
.howto__visual img {
  width: 100%;
  max-width: 42rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #dceef7, #d8efe0);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.steps strong { display: block; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d9e7dd;
}
.card__body {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.card__body strong { font-size: 1.08rem; }
.card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card__more {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.wait-list {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 760px) {
  .wait-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wait-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
}
.wait-item strong { display: block; }
.wait-item span {
  color: var(--muted);
  font-size: 0.92rem;
}
.wait-item .tag {
  flex: 0 0 auto;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #f5ead2;
  color: var(--wait);
  font-size: 0.88rem;
  font-weight: 700;
}

.rules {
  margin: 0;
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.rules li { margin: 0.45rem 0; }

.final-cta {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 0.2rem);
  background:
    linear-gradient(135deg, rgba(31, 107, 56, 0.95), rgba(19, 73, 38, 0.96));
  color: #fff;
  box-shadow: var(--shadow);
}
.final-cta h2 { color: #fff; }
.final-cta p {
  margin: 0.55rem 0 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}
.final-cta .cta {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: none;
}
.final-cta .cta--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.final-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer a { color: var(--brand-deep); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* まちづくりクエスト 2026-08-14 */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
}
.hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-deep);
}
.weekend {
  margin: 0 auto 0.4rem;
  width: min(100% - 2rem, var(--max));
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  background: var(--warm);
  border: 1px solid #e4d2ae;
  display: grid;
  gap: 0.35rem;
}
.weekend strong { font-size: 1.08rem; }
.weekend p { margin: 0; color: var(--muted); }
.dest-list .wait-item {
  text-decoration: none;
  color: inherit;
}
.dest-list .wait-item:hover {
  border-color: var(--brand);
}
.dest-cta { margin-top: 1rem; }
.invite {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.invite p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}
.together {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}
.together span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-deep);
  font-weight: 700;
}
