/* ワイヤー確認用のため、配色は情報の優先度が見える最小構成にしています。 */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --border: #c8d0db;
  --text: #1f2937;
  --muted: #5b6472;
  --accent: #234a84;
  --accent-soft: #dbe7f8;
  --alert: #fff4dd;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.site-header__label {
  margin: 0;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.hero {
  padding: 48px 0 32px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.hero__content,
.hero__panel,
.status-card,
.table-card,
.step-card,
.feature-card,
.search-wireframe,
.faq-list,
.link-list,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 32px;
}

.hero__content h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
}

.hero__lead {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
}

.panel {
  padding: 20px;
}

.panel h2,
.feature-card h3,
.step-card h3 {
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 700;
}

.button--primary {
  color: #fff;
  background: var(--accent);
}

.button--secondary {
  color: var(--accent);
  background: #fff;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px dashed var(--border);
  font-size: 14px;
}

.point-number {
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 700;
}

.section {
  padding: 32px 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.45);
}

.section--alert {
  background: var(--alert);
  border-top: 1px solid #efd8a6;
  border-bottom: 1px solid #efd8a6;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-note {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-kicker {
  display: none;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.status-grid,
.steps,
.feature-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

.status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card,
.step-card,
.feature-card {
  padding: 24px;
}

.status-card__label,
.step-card__number {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
}

.status-card__value {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.notice-card {
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid #efd8a6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.budget-remaining {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 28px 20px;
  border: 1px solid #efd8a6;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.budget-remaining__label {
  margin: 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.budget-remaining__value {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
}

.table-card {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  background: var(--surface-muted);
  font-size: 14px;
}

.search-wireframe {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
}

.search-wireframe__filters {
  display: grid;
  gap: 16px;
}

.search-wireframe__filters span,
.search-wireframe__title {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.fake-input {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--surface-muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
}

.search-wireframe__result {
  padding: 8px 0;
}

.store-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-muted);
}

.store-card + .store-card {
  margin-top: 12px;
}

.faq-list {
  padding: 8px 20px;
}

.faq-item {
  padding: 20px 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-question {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--text);
}

.faq-answer {
  margin: 0;
  color: var(--muted);
}

.contact-value {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

.contact-note {
  margin: 12px 0;
  color: var(--muted);
}

.contact-line {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.contact-caution {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.link-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.link-list a {
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--surface-muted);
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero__grid,
  .search-wireframe,
  .status-grid,
  .steps,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
