/* 申し込みページ（/start/） */
.start-page main { padding-top: 28px; padding-bottom: 40px; }
.start-hero h1 { font-size: clamp(24px, 4.6vw, 32px); margin: 0 0 8px; }
.start-hero .lead { margin: 0 0 24px; font-size: 16px; }

.steps { display: flex; gap: 6px; padding: 0; margin: 0 0 18px; list-style: none; counter-reset: s; }
.steps li { flex: 1; text-align: center; font-size: 13px; font-weight: 700; color: var(--sub); padding-top: 8px; border-top: 5px solid var(--line); }
.steps li.on { color: var(--main-dark); border-color: var(--coral); }
.steps li.done { border-color: var(--main); }

.step-box, .done-box { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px 26px; }
.step-box h2 { margin: 0 0 18px; font-size: 21px; }
.field { display: block; font-weight: 700; margin-bottom: 22px; }
.field input:not([type=radio]):not([type=checkbox]) {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; min-height: 54px; font: inherit; font-size: 17px; font-weight: 500;
  border: 1.5px solid #c9bfb1; border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus { outline: 3px solid #f3c8b9; outline-offset: 0; border-color: var(--coral); }
.field input.ng { border-color: #c0392b; background: #fff5f3; }
.field-note { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--sub); line-height: 1.6; }
.field-note.good { color: var(--main); font-weight: 700; }
.field-note.bad { color: #b03a2e; font-weight: 700; }
.optional { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 99px; background: #eee6da; font-size: 13px; color: var(--sub); }
.hint { font-size: 15px; color: var(--sub); margin: 0 0 14px; }

.chips-select { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips-select label { position: relative; cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; }
.chips-select span { display: inline-block; padding: 8px 16px; min-height: 44px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; background: #fff; }
.chips-select input:checked + span { background: var(--main); border-color: var(--main); color: #fff; }
.chips-select input:checked + span::before { content: '✓ '; }
.chips-select input:focus-visible + span { outline: 3px solid #f3c8b9; }

.url-input { display: flex; align-items: center; margin-top: 8px; border: 1.5px solid #c9bfb1; border-radius: 12px; background: #fff; overflow: hidden; }
.url-input:focus-within { outline: 3px solid #f3c8b9; border-color: var(--coral); }
.url-pre { flex: none; padding: 0 4px 0 12px; font-size: 14px; color: var(--sub); font-weight: 400; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url-input input { border: 0 !important; margin: 0 !important; outline: none !important; padding-left: 2px !important; }

.start-colors { display: grid; grid-template-columns: 1fr 230px; gap: 20px; align-items: start; }
.swatch-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.swatch { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 8px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; }
.swatch i { display: block; height: 34px; border-radius: 8px; margin-bottom: 6px; background: linear-gradient(90deg, var(--s1) 0 50%, var(--s2) 50% 75%, var(--s3) 75%); border: 1px solid #0001; }
.swatch.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }

.phone { --m: #2c4a6e; --a: #8fa9c4; --b: #f4f6f9; width: 230px; border: 8px solid #1f2328; border-radius: 30px; background: var(--b); overflow: hidden; font-size: 12px; line-height: 1.5; padding-bottom: 14px; }
.ph-top { text-align: center; padding: 18px 10px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--a) 40%, white), var(--b)); }
.ph-name { display: block; font-weight: 700; font-size: 15px; color: color-mix(in srgb, var(--m) 75%, black); }
.ph-sub { font-size: 11px; color: #667; }
.ph-tabs { display: flex; justify-content: space-around; background: #fff; border-bottom: 2px solid #e3e6ea; font-weight: 700; color: #667; }
.ph-tabs > * { padding: 6px 0; }
.ph-tabs b { color: var(--m); border-bottom: 3px solid var(--m); margin-bottom: -2px; }
.ph-day { margin: 10px 12px 6px; font-weight: 700; }
.ph-card { display: flex; justify-content: space-between; align-items: center; margin: 0 10px 8px; padding: 10px; background: #fff; border-radius: 10px; border: 1px solid #e3e6ea; border-left: 5px solid var(--m); }
.ph-card i { display: block; font-style: normal; color: var(--m); font-weight: 700; }
.ph-card b { font-size: 13px; }
.ph-seat { text-align: center; background: color-mix(in srgb, var(--m) 12%, white); color: var(--m); border-radius: 8px; padding: 4px 8px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.ph-seat b { font-size: 18px; }

.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-weight: 700; cursor: pointer; }
.check-line input { width: 24px; height: 24px; margin-top: 4px; accent-color: var(--coral); flex: none; }
.trial-note { background: var(--main-soft); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.trial-note ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-err { margin: 16px 0 0; color: #b03a2e; font-weight: 700; }
.form-err:empty { display: none; }
.step-btns { display: flex; gap: 10px; margin-top: 24px; }
.step-btns .btn.primary { flex: 1; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.done-box { text-align: center; }
.done-box h1 { font-size: 24px; margin: 4px 0 8px; }
.done-url { display: flex; gap: 8px; margin: 18px 0; }
.done-url input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; background: var(--bg); }
.done-box img { margin: 0 auto 18px; width: 180px; image-rendering: pixelated; }

@media (max-width: 600px) {
  .start-colors { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}
/* 予約ページのアドレス（自動で決まる） */
.slug-preview { margin: 8px 0 6px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1.5px dashed #c9bfb1; font-size: 15px; word-break: break-all; line-height: 1.6; }
.slug-preview #urlPre { color: var(--sub); font-weight: 400; }
.slug-preview b { color: var(--ink, #2b2622); }
.slug-preview b.good { color: var(--main); }
.slug-preview b.bad { color: #b0473f; }
.slug-edit { margin-top: 10px; }
.slug-edit summary { cursor: pointer; font-size: 14px; color: var(--sub); font-weight: 700; }
.slug-edit .url-input input { padding-left: 12px !important; }
