@charset "UTF-8";
/*
 * SNS用 脱毛予約フォーム（入力・確認・完了の3画面で共通）
 * 値の正: Figma NVUO85jrPh5qCBMEKFj1rS「デザイン SP v1」sns-form/sp-p1〜p4・153:715・292:1136・288:1110・288:1166
 * SP 375px 専用デザイン。PC は中央に SP 幅で表示する。
 */
:root {
  --gc-color-gold: #bba171;
  --gc-color-gold-light: #d4b98a;
  --gc-color-black: #000;
  --gc-color-white: #fff;
  --gc-color-text: #1a1a1a;
  --gc-color-text-sub: #6b6b6b;
  --gc-color-text-muted: #939393;
  --gc-color-surface-alt: #f5f5f5;
  --gc-color-surface-head: #ededed;
  --gc-color-surface-2: #e2e2e2;
  --gc-color-surface-3: #cecece;
  --gc-color-border: #e2ddd5;
  --gc-color-border-strong: #707070;
  --gc-color-red: #b30d23;
  --gc-color-blue-alt: #0077e1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gc-color-surface-2);
  color: var(--gc-color-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

.sns-form {
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--gc-color-white);
}

/* ---------- 上部（ロゴ・進み具合・戻る） ---------- */
.form-header { display: flex; align-items: center; padding: 12px 16px; background: var(--gc-color-black); }
.form-header svg { display: block; }
.form-progress { display: flex; gap: 4px; padding: 16px 16px 8px; }
.form-progress__bar { flex: 1 1 0; height: 4px; background: var(--gc-color-surface-2); }
.form-progress__bar.is-done { background: var(--gc-color-gold); }
.form-steplabel { font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .24px; text-align: center; }
.form-nav { display: flex; align-items: center; gap: 8px; padding: 0 16px 0 8px; }
.form-nav__back { display: flex; align-items: center; height: 44px; padding: 0 8px; color: var(--gc-color-text-sub); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; white-space: nowrap; }
.form-nav__trail { flex: 1; min-width: 0; min-height: 20.4px; color: var(--gc-color-text-sub); font-size: 12px; line-height: 1.7; text-align: right; }

/* ---------- 1〜3ページ：選択肢（質問の上端を Figma の y=280 にそろえる） ---------- */
.step__body { display: flex; flex-direction: column; gap: 16px; padding: 0 16px 24px; }
.step__body--choice { padding-top: 131.204px; }
.step[data-step="1"] .step__body--choice { padding-top: 155.204px; }
/* 3/4（クリニック）は地方を開くと下に伸びるため、約2ブロック分（地方の行 48px＋間 8px の2つ＝112px）上に寄せる（大澤さん依頼F 2026-11-30） */
.step[data-step="3"] .step__body--choice { padding-top: 19.204px; }
.step__q { font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .32px; text-align: center; }

.form-option {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  min-height: 64px; padding: 16px 16px 16px 40px;
  border: 1px solid var(--gc-color-border-strong); border-radius: 8px;
  background: var(--gc-color-white);
  cursor: pointer;
}
.form-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-option__label { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .32px; text-align: center; }
.form-option .ico-chevron-r { flex: none; color: var(--gc-color-gold); }
.form-option:has(input:checked), .form-option:has(input:focus-visible) { border-color: var(--gc-color-gold); }

.form-areas { display: flex; flex-direction: column; gap: 8px; }
.form-acc__head {
  display: flex; align-items: center; gap: 8px;
  width: 100%; height: 48px; padding: 0 16px;
  border-radius: 6px; background: var(--gc-color-surface-alt);
  font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; text-align: left;
}
.form-acc__head span { flex: 1; }
.form-acc__head svg { flex: none; }
.form-acc.is-open .ico-plus__v { display: none; }
.form-acc__body { display: none; }
.form-acc.is-open .form-acc__body { display: flex; }
.form-chips { flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.form-chip { position: relative; cursor: pointer; }
.form-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-chip span {
  display: flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 12px;
  border: 1px solid var(--gc-color-border-strong); border-radius: 4px;
  background: var(--gc-color-white);
  font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; white-space: nowrap;
}
.form-chip.is-selected span, .form-chip.is-preselected span, .form-chip input:focus-visible + span { border: 2px solid var(--gc-color-gold); }

/* ---------- 4ページ目 ---------- */
.step__body--detail { gap: 32px; padding: 24px 16px 48px; }
.form-picked { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 6px; background: var(--gc-color-surface-alt); }
.form-picked p { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; }
#picked-change { height: 44px; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; text-decoration: underline; text-underline-position: from-font; white-space: nowrap; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.field-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .32px; }
.field-tag { padding: 2px 6px; border-radius: 2px; background: var(--gc-color-red); color: var(--gc-color-white); font-size: 12px; line-height: 1.5; letter-spacing: .24px; }
.field-tag--opt { border: 1px solid var(--gc-color-text-sub); background: none; color: var(--gc-color-text-sub); }
.field-help { color: var(--gc-color-text-sub); font-size: 12px; line-height: 1.7; }
.form-error { color: var(--gc-color-red); font-size: 12px; font-weight: 700; line-height: 1.7; }
.form-field.is-error .form-input { border-color: var(--gc-color-red); }

.form-input {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1px solid var(--gc-color-border-strong); border-radius: 4px;
  background: var(--gc-color-white);
  color: var(--gc-color-text);
  font: inherit; font-size: 16px; line-height: 1.7;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--gc-color-text-muted); font-size: 14px; }
.form-input:focus { outline: none; border: 2px solid var(--gc-color-gold); }
.form-input--age { width: 120px; }
.form-input--textarea { height: 96px; padding: 12px; resize: vertical; }
.age-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* 予約カレンダー（form/calendar 283:758・form/calendar-slot 283:757） */
.api_calendar { display: flex; flex-direction: column; gap: 8px; }
.api_calendar_notice { color: var(--gc-color-red); font-size: 12px; }
.api_calendar_notice:empty { display: none; }
.api_calendar_nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.api_calendar_nav_btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--gc-color-surface-3); border-radius: 22px;
  background: var(--gc-color-white); color: var(--gc-color-text);
}
.api_calendar_nav_btn:disabled { border-color: var(--gc-color-surface-2); color: var(--gc-color-surface-3); cursor: default; }
.api_calendar_range { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: .32px; white-space: nowrap; }
.api_calendar_body { margin-top: 4px; }
.api_calendar_table { width: 343px; border-collapse: collapse; table-layout: fixed; }
.api_calendar_table th, .api_calendar_table td { padding: 0; border: .5px solid var(--gc-color-surface-2); text-align: center; vertical-align: middle; }
.api_calendar_date_cell--blank { width: 42px; }
.api_calendar_date_cell { height: 44px; background: var(--gc-color-surface-head); font-size: 12px; font-weight: 400; line-height: 1.2; }
.api_calendar_date_cell--blank { background: none; }
.api_calendar_date_label span { display: block; }
.api_calendar_date_cell.saturday { color: var(--gc-color-blue-alt); }
.api_calendar_date_cell.sunday, .api_calendar_date_cell.holiday { color: var(--gc-color-red); }
.api_calendar_time_cell { height: 40px; font-size: 12px; font-weight: 400; line-height: 1.3; }
.api_calendar_row--break .api_calendar_time_cell { height: 24px; }
.api_calendar_slot_cell { height: 40px; }
.api_calendar_slot_cell--break { background: var(--gc-color-surface-head); color: var(--gc-color-text-sub); font-size: 12px; line-height: 1.3; }
.api_calendar_slot_label { display: flex; align-items: center; justify-content: center; height: 40px; }
.api_calendar_slot_radio { position: absolute; opacity: 0; width: 0; height: 0; }
.api_calendar_slot_mark { color: var(--gc-color-text-muted); font-size: 14px; line-height: 1.3; }
.api_calendar_slot_cell.available .api_calendar_slot_label { cursor: pointer; }
.api_calendar_slot_cell.available .api_calendar_slot_mark {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 30px; border: 1px solid var(--gc-color-text-muted); border-radius: 4px;
  background: var(--gc-color-white); color: var(--gc-color-text);
}
.api_calendar_slot_radio:checked + .api_calendar_slot_mark { border-color: var(--gc-color-gold); background: var(--gc-color-gold); color: var(--gc-color-white); }
.api_calendar_slot_radio:focus-visible + .api_calendar_slot_mark { outline: 2px solid var(--gc-color-gold); }

.api_fallback { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 6px; background: var(--gc-color-surface-alt); font-size: 14px; }
.api_fallback_button { height: 44px; border-radius: 4px; background: var(--gc-color-gold); color: var(--gc-color-white); font-weight: 700; }

/* 当日施術の希望日（153:715・292:1136） */
.hope_manual { display: flex; flex-direction: column; gap: 8px; }
.wish-label { font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .24px; }
.wish-row { position: relative; display: flex; gap: 8px; }
.wish-row .picker { left: 0; top: 100%; flex: none; }
.wish-row > * { flex: 1 1 0; min-width: 0; }
.wish-row .form-input { padding: 0 8px; font-size: 12px; }
.wish-row .form-input::placeholder { color: #808080; font-size: 12px; }
.time-select { position: relative; }
.time-select select { padding-right: 28px; color: #808080; }
.time-select.is-filled select { color: var(--gc-color-text); }
.time-select svg { position: absolute; top: 18px; right: 10px; pointer-events: none; }

/* ご希望のプラン */
.plan-selected { padding: 8px 12px; border: 2px solid var(--gc-color-gold); border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; }
.plan-selected__label { color: var(--gc-color-gold); }
.plan-tree { display: flex; flex-direction: column; gap: 4px; }
.plan-tree__children { flex-direction: column; padding-left: 16px; }
.plan-tree__group { padding: 12px 12px 0; color: var(--gc-color-text-sub); font-size: 12px; font-weight: 700; line-height: 1.5; }
.check-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; cursor: pointer; font-size: 14px; line-height: 1.7; }
.check-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-row__box {
  display: flex; flex: none; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border: 1px solid var(--gc-color-border-strong); border-radius: 2px;
  background: var(--gc-color-white);
}
.check-row__box svg { visibility: hidden; }
.check-row input:checked + .check-row__box { border-color: var(--gc-color-gold); background: var(--gc-color-gold); }
.check-row input:checked + .check-row__box svg { visibility: visible; }
.check-row input:focus-visible + .check-row__box { outline: 2px solid var(--gc-color-gold); }

/* プライバシーポリシー・禁忌事項（本文は aff と同じ） */
.doc-title { font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; }
.doc-box {
  position: relative;
  height: 200px; padding: 12px; overflow-y: auto;
  border: 1px solid var(--gc-color-border); border-radius: 4px;
  background: var(--gc-color-surface-alt);
  font-size: 14px; line-height: 1.7;
}
.doc-box p, .doc-box dl, .doc-box dd { margin: 0; }
.doc-box dt { margin: 1.7em 0; font-weight: 700; }
.doc-box dd + br, .doc-box br + br { display: block; }
.doc-box a { color: inherit; word-break: break-all; }
.doc-box .email::after { content: "pms@junikai.or.jp"; }

/* ボタン */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 56px; padding: 0 24px;
  border-radius: 4px;
  background: var(--gc-color-gold); color: var(--gc-color-white);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .16));
  font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: .32px;
  text-decoration: none; white-space: nowrap;
}

/* pickadate の見た目を少しだけ合わせる */
.picker__day--selected, .picker__day--selected:hover { background: var(--gc-color-gold); }

/* ---------- 確認画面（288:1110） ---------- */
.confirm-body, .thanks-body { display: flex; flex-direction: column; gap: 24px; padding: 48px 16px; }
.confirm-title { font-size: 18px; font-weight: 700; line-height: 1.3; text-align: center; }
.confirm-list { border-top: 1px solid var(--gc-color-border); }
.confirm-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--gc-color-border); }
.confirm-row__label { color: var(--gc-color-text-sub); font-size: 12px; line-height: 1.7; }
.confirm-row__value { font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.confirm-back { display: flex; align-items: center; justify-content: center; height: 44px; color: var(--gc-color-text-sub); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .28px; text-decoration: underline; text-underline-position: from-font; }

/* ---------- 完了画面（288:1166） ---------- */
.thanks-title { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: .44px; text-align: center; }
.thanks-body .txt { font-size: 14px; line-height: 1.7; }
.thanks-notice { padding: 12px 16px; border: 1px solid var(--gc-color-gold); border-radius: 4px; font-size: 14px; line-height: 1.7; }

/* ---------- PC（768px 以上）：SP 幅の列を中央に置き、両脇を黒にする（LP と同じ扱い。依頼元の決定 2026-11-27） ---------- */
@media (min-width: 768px) {
  body { background: var(--gc-color-black); }
  .sns-form { box-shadow: 0 0 0 1px #3e3a39, 0 0 32px rgba(255, 255, 255, .06); }
}

/* PC（768px 以上）の左側のロゴ（LP の .pc-side と同じ。フォームにはナビを置かない） */
.pc-side { display: none; }
@media (min-width: 768px) {
  .pc-side {
    position: fixed; top: 0; left: 0; z-index: 40;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: calc((100% - 375px) / 2); height: 100vh; padding: 0 16px;
  }
  .pc-side__logo { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 180px; max-width: 100%; text-decoration: none; }
  .pc-side__logo svg { display: block; width: 80px; height: auto; }
  .pc-side__logo img { display: block; width: 180px; max-width: 100%; height: auto; }
}
