:root {
  --bg: #f5f5f5;
  --panel: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #dddddd;
  --primary: #000000;
  --danger: #e53935;
  --success: #1b5e20;
  --max: 920px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ececec;
}
.header-inner {
  width: min(calc(100% - 32px), 1200px);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 2px solid #000;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.12em;
}
.brand-copy span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-link {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.header-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-weight: 700;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.hero {
  padding: 48px 0 24px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.12em;
  font-weight: 900;
}
.hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-weight: 700;
}
.steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #bbb;
  display: inline-grid;
  place-items: center;
}
.steps .active {
  color: #000;
}
.steps .active span {
  background: #000;
  color: #fff;
  border-color: #000;
}

.card {
  background: var(--panel);
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 32px;
  margin-bottom: 28px;
}
.card-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
}
.card-description {
  margin: 0 0 24px;
  color: var(--muted);
}

.alert {
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.alert-danger {
  background: #fff4f4;
  border-color: #ffc9c9;
  color: #8f1d1d;
}
.alert-warning {
  background: #fff8e6;
  border-color: #f2d28a;
  color: #7a5400;
}
.alert-success {
  background: #f0fff2;
  border-color: #b8e0bf;
  color: var(--success);
}
.notice-strong {
  font-size: 1rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 18px;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-weight: 800;
  font-size: 0.96rem;
}
.required {
  color: var(--danger);
  margin-left: 6px;
}
.helper {
  color: var(--muted);
  font-size: 0.82rem;
}
.input,
.select,
.textarea {
  width: 100%;
  border: 2px solid #111;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: #111;
}
.textarea {
  min-height: 160px;
  resize: vertical;
}
.zip-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zip-wrap .input {
  max-width: 150px;
}
.error-text {
  font-size: 0.84rem;
  color: var(--danger);
  font-weight: 700;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.policy-inline {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}
.policy-inline a {
  text-decoration: underline;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  min-width: 220px;
  padding: 0 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}
.btn-primary {
  background: #000;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
}
.summary-table th,
.summary-table td {
  padding: 16px;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.summary-table th {
  width: 240px;
  background: #fafafa;
  text-align: left;
  font-weight: 800;
}
.summary-table td {
  white-space: pre-wrap;
  word-break: break-word;
}

.policy-page {
  padding: 48px 0 80px;
}
.policy-page h2 {
  margin: 36px 0 14px;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  font-size: 1rem;
}
.policy-page p,
.policy-page li {
  font-size: 0.96rem;
}
.policy-page ol,
.policy-page ul {
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 60px;
  background: #000;
  color: #fff;
}
.footer-inner {
  width: min(calc(100% - 32px), 1200px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  color: #fff;
}

@media (max-width: 768px) {
  .header-inner,
  .footer-inner { width: min(calc(100% - 24px), 1200px); }
  .card { padding: 24px 18px; }
  .two-col { grid-template-columns: 1fr; }
  .summary-table,
  .summary-table tbody,
  .summary-table tr,
  .summary-table th,
  .summary-table td { display: block; width: 100%; }
  .summary-table th { padding-bottom: 6px; border-bottom: none; }
  .summary-table td { padding-top: 0; }
  .brand-copy span { display: none; }
}
