/* 選択式プラン（9/29 第2版のデザインを移植） */
.fixed-cta { display: none !important; }
.sel-head { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.sel-head .page-title { margin-bottom: 6px; }
.sel-head p { margin: 0; color: var(--ink-2); }

.sel-scenes { max-width: 1120px; margin: 18px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .sel-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sel-scene { display: block; text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; font: 700 16px var(--mincho); }
.sel-scene[aria-current="page"] { border: 2px solid var(--gold); background: var(--band); }

.sel-main { max-width: 1120px; margin: 0 auto; padding: 22px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .sel-main { grid-template-columns: 1fr; } }

.sel-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; animation: stepIn .3s ease both; }
@keyframes stepIn { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.step-no { font-family: var(--mincho); color: var(--gold-deep); font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
.step.is-done .step-no::after { content: " ✓"; color: var(--gold-deep); }
.step h2 { font-family: var(--mincho); font-size: 18px; margin: 0; line-height: 1.5; }
.step .hint { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-2); }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opt { position: relative; border: 1px solid var(--line); background: var(--ivory); border-radius: 12px; padding: 11px 12px 11px 38px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.opt b { display: block; font-size: 14px; line-height: 1.5; }
.opt small { display: block; font-size: 11.5px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.opt::before { content: ""; position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: var(--white); }
.opt[aria-checked="true"] { border-color: var(--gold); background: var(--band); }
.opt[aria-checked="true"]::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 4px, var(--white) 5px); }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.opt:focus-visible, .sel-cta:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.sub-q { margin: 14px 0 8px; font-size: 13px; font-weight: 700; }
.matrix, .family { margin-top: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.matrix table, .family table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--white); }
.matrix th, .matrix td, .family th, .family td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: center; white-space: nowrap; }
.matrix th { font-weight: 700; background: var(--band); font-size: 12px; }
.matrix th:first-child, .matrix td:first-child, .family th { text-align: left; }
.family th { font-weight: 400; white-space: normal; }
.family td { text-align: right; font-weight: 700; }
.matrix tr:last-child td, .family tr:last-child th, .family tr:last-child td { border-bottom: 0; }
.matrix td.on { background: var(--plum); color: #fff; font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }

.sel-includes ul { padding-left: 1.2em; }
.sel-notes { font-size: 13px; color: var(--ink-2); }

/* 選んだ内容 */
.sel-sum { position: sticky; top: 132px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sel-sum__h { background: var(--plum); color: #fff; padding: 14px 18px; font: 700 17px var(--mincho); }
.sel-sum__body { padding: 14px 18px 18px; }
.progress { height: 4px; background: var(--line); border-radius: 99px; margin: 0 0 12px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); transition: width .25s; }
.sel-sum dl, .sel-bar__sheet dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; }
.sel-sum dt, .sel-bar__sheet dt { color: var(--ink-2); white-space: nowrap; }
.sel-sum dd, .sel-bar__sheet dd { margin: 0; font-weight: 700; }
dd.empty { color: #B7AEB9; font-weight: 400 !important; }
.sum-data, .sum-price { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--band); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sum-data span, .sum-price span { font-size: 12.5px; color: var(--ink-2); flex: none; }
.sum-data b { text-align: right; }
.sum-data b { font-family: var(--mincho); font-size: 17px; color: var(--ink); }
.sum-price b { font-family: var(--mincho); font-size: 26px; color: var(--gold-deep); }
.sum-notes { margin: 10px 0 0; padding-left: 1.1em; font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.sel-cta { position: relative; display: block; margin-top: 14px; text-align: center; border-radius: 999px; background: var(--btn); color: var(--ink); font-weight: 700; font-size: 15px; padding: 14px; text-decoration: none; cursor: pointer; }
.sel-cta[aria-disabled="true"] { background: var(--btn-disabled); color: var(--ink-2); cursor: not-allowed; }
.sum-cancel { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--plum); border-radius: 12px; color: var(--plum); font-size: 14px; text-align: center; }
.sum-cancel b { display: block; }
.sum-cancel b::before { content: "✓ "; }
.sum-cancel a { color: var(--plum); font-size: 11.5px; }
.cta-sub { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-2); }

/* スマホ：下に固定のバー */
.sel-bar { display: none; }
@media (max-width: 900px) {
  .sel-sum { display: none; }
  .site-footer { padding-bottom: 120px; }
  .sel-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 24px -18px rgba(43, 36, 48, .6); }
  .sel-bar__row { display: flex; align-items: center; gap: 12px; }
  .sel-bar__info { flex: 1; min-width: 0; font-size: 12px; color: var(--ink-2); line-height: 1.5; }
  .sel-bar__info b { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sel-bar .sel-cta { margin: 0; width: auto; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
  .sel-bar__toggle { background: none; border: 0; padding: 0; color: var(--gold-deep); font-size: 12px; text-decoration: underline; cursor: pointer; }
  .sel-bar__sheet { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; max-height: 46vh; overflow: auto; }
  .sel-bar__sheet .sel-cta, .sel-bar__sheet .sum-cancel { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--plum); border-radius: 12px; color: var(--plum); font-size: 14px; text-align: center; }
.sum-cancel b { display: block; }
.sum-cancel b::before { content: "✓ "; }
.sum-cancel a { color: var(--plum); font-size: 11.5px; }
.cta-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) { .step { animation: none; } .progress i { transition: none; } }

/* 予約ボタンのダリア */
.sel-cta__dahlia { position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; }
.sel-cta__dahlia .dh { width: 30px !important; height: 30px !important; }
.sel-cta[aria-disabled="true"] .sel-cta__dahlia { opacity: .55; filter: grayscale(.4); }
.sel-cta[aria-disabled="true"] .sel-cta__dahlia .bf { opacity: 1; }
@media (max-width: 900px) { .sel-bar .sel-cta { position: relative; padding-right: 50px; } }
/* 最後のSTEPの下の予約ボタン：右の欄が見えないスマホ・タブレット幅だけ出す */
.sel-end { display: none; }
@media (max-width: 900px) {
  .sel-end:not([hidden]) { display: block; margin: 8px 0 28px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .sel-end dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; }
  .sel-end dt { color: var(--ink-2); white-space: nowrap; }
  .sel-end dd { margin: 0; font-weight: 700; }
  .sel-end .sel-cta { position: relative; padding-right: 50px; }
}

/* 北千住・足立区で七五三を撮るなら（七五三のページだけ） */
.sel-local ul { padding-left: 1.2em; }
.sel-local li { margin: 0 0 8px; }
.sel-local p { margin: 0 0 12px; }
