:root {
  --bg: #f7f3ea;        /* 生成り */
  --paper: #fffdf8;
  --ink: #2b2620;
  --muted: #7a7064;
  --line: #e2d9c8;
  --shu: #b9372b;       /* 朱 */
  --shu-dark: #932a20;
  --err: #c0271b;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8; font-size: 16px;
}
header.site { text-align: center; padding: 32px 16px 8px; }
.shrine { margin: 0; color: var(--shu); letter-spacing: .3em; font-size: 14px; }
h1, h2 { font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif; font-weight: 600; }
h1 { margin: 4px 0 16px; font-size: 26px; letter-spacing: .15em; }
.steps { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 2px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--paper); }
.steps li.on { background: var(--shu); border-color: var(--shu); color: #fff; }

main { max-width: 720px; margin: 0 auto; padding: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--shu); padding: 8px 28px 28px; margin-bottom: 24px; }
.card h2 { font-size: 19px; margin: 28px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.notice { background: var(--paper); border-left: 4px solid var(--shu); padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }

.f { margin-bottom: 18px; }
.f > label, .lbl { display: block; font-weight: 600; margin-bottom: 4px; }
.req { display: inline-block; margin-left: 8px; padding: 0 6px; font-size: 11px; line-height: 1.7; color: #fff; background: var(--shu); border-radius: 3px; vertical-align: 2px; font-weight: normal; }
input[type=text], input:not([type]), input[type=tel], input[type=email], input[type=date], textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: inherit;
  border: 1px solid #cfc4b0; border-radius: 4px; background: #fff;
}
input:focus, textarea:focus { outline: 2px solid rgba(185,55,43,.35); border-color: var(--shu); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.short input { width: 6em; }
.unit { white-space: nowrap; }
.choices { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.choice { display: inline-flex; align-items: flex-start; gap: 6px; cursor: pointer; font-weight: normal; }
.choice input { margin-top: 7px; accent-color: var(--shu); }
.agree { margin-top: 28px; padding: 14px; background: var(--bg); border-radius: 4px; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; margin: -8px 0 16px; }
.err { color: var(--err); font-size: 14px; margin: 4px 0 0; }
.err.box { background: #fdecea; border: 1px solid #f1b8b2; padding: 10px 14px; margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 36px; font: inherit; font-weight: 600; letter-spacing: .1em;
  color: #fff; background: var(--shu); border: none; border-radius: 4px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--shu-dark); }
.btn.sub { background: #fff; color: var(--ink); border: 1px solid #cfc4b0; }
.btn.sub:hover { background: var(--bg); }

dl.confirm { display: grid; grid-template-columns: 11em 1fr; margin: 16px 0 0; }
dl.confirm dt, dl.confirm dd { padding: 10px 8px; border-bottom: 1px solid var(--line); margin: 0; }
dl.confirm dt { font-weight: 600; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }
.done { text-align: center; }
.done .id { font-size: 18px; }
.small { font-size: 13px; color: var(--muted); }
footer.site { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }

@media (max-width: 560px) {
  .card { padding: 4px 16px 20px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  dl.confirm { grid-template-columns: 1fr; }
  dl.confirm dt { border-bottom: none; padding-bottom: 0; }
  .btn { width: 100%; }
}

/* ---- 簡易版の追加分 ---- */
.f > label small, .lbl small { font-weight: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }
#map { height: 320px; border: 1px solid #cfc4b0; border-radius: 4px; margin-top: 8px; }
.mapbar { display: flex; gap: 6px; }
.mapbar input { flex: 1; min-width: 0; }
input[type=search], input[type=time] { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #cfc4b0; border-radius: 4px; background: #fff; }
.mini { padding: 0 12px; font: inherit; font-size: 14px; white-space: nowrap; border: 1px solid #cfc4b0; border-radius: 4px; background: #fff; cursor: pointer; }
.mini:hover { background: var(--bg); }
#placeinfo { margin: 6px 0 0; }
fieldset.mem { border: 1px solid var(--line); border-radius: 4px; padding: 6px 16px 12px; margin: 24px 0 0; background: var(--bg); }
fieldset.mem legend { font-weight: 600; padding: 0 6px; }
fieldset.mem legend small { font-weight: normal; color: var(--muted); font-size: 12px; }
.link { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.card { padding-top: 20px; }
