/* Selected design 2: a four-step prayer preregistration form. */
:root {
  color-scheme: light;
  --navy: #24223f;
  --gold: #c4aa68;
  --cream: #f7f3ea;
  --ink: #24223f;
  --muted: #d3cfda;
  --paper: #24223f;
  --card: #24223f;
  --line: #6f687c;
  --accent: #c4aa68;
  --accent2: #dac286;
  --serif: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--navy); color: var(--cream); font: 400 16px/1.7 var(--sans); overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, a, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: #dac286; text-underline-offset: .25em; text-decoration-thickness: 1px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #f2d27c; outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #f2d27c; outline-offset: 3px; }
.wrap { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 32px; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; border-bottom: 1px solid var(--gold); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font: 600 23px/1.3 var(--serif); letter-spacing: .12em; white-space: nowrap; }
.brand-mark { display: block; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--cream); border-radius: 50%; padding: 3px; }
.home { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 44px; color: var(--gold); font: 500 14px/1.5 var(--sans); white-space: nowrap; }
.arrow { display: inline-block; width: 21px; height: 21px; background-color: currentColor; -webkit-mask: url('/assets/mobile-guide/arrow-right.svg') center / contain no-repeat; mask: url('/assets/mobile-guide/arrow-right.svg') center / contain no-repeat; flex: 0 0 auto; }
.hero { padding: 18px 0 0; text-align: center; }
.hero h1 { display: flex; align-items: center; justify-content: center; gap: 17px; margin: 0; font: 600 29px/1.5 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.hero h1::before, .hero h1::after { content: ""; height: 1px; background: var(--gold); flex: 1 1 20px; }
.hero p { margin: 3px 0 0; font: 400 15px/1.65 var(--serif); letter-spacing: .04em; }
.step-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; isolation: isolate; margin: 17px 0 27px; padding: 0; list-style: none; }
.step-nav::before { content: ""; position: absolute; z-index: -1; top: 14px; left: 12.5%; right: 12.5%; border-top: 1px solid var(--cream); }
.step-nav li { min-width: 0; }
.step-link { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream); text-decoration: none; font-family: var(--serif); }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border: 1.5px solid var(--cream); border-radius: 50%; background: var(--navy); font-size: 19px; line-height: 1; }
.step-label { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.step-link[aria-current="step"], .step-link.active, .step-link.is-active { color: var(--gold); }
.step-link[aria-current="step"] .step-number, .step-link.active .step-number, .step-link.is-active .step-number { border-color: var(--gold); background: var(--gold); color: #17141e; }
.step-link.is-complete .step-number { border-color: var(--gold); color: var(--gold); }
.step-link:disabled { opacity: 1; cursor: default; }
#reservation-form { max-width: 620px; margin: 0 auto; }
fieldset.wizard-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.wizard-step { scroll-margin-top: 20px; }
.sr-only, .bot-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.step-kicker { margin: 0; color: var(--gold); font: 500 14px/22px var(--serif); letter-spacing: .1em; }
.step-title { margin: 3px 0 0; color: var(--cream); font: 600 30px/40px var(--serif); letter-spacing: .02em; }
.step-title:focus-visible { outline: none; }
.step-description { margin: 5px 0 0; font-size: 15px; line-height: 23px; }
.date-fields { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 14px; }
.field { min-width: 0; }
label { display: block; margin: 16px 0 6px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.field > label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; min-height: 24px; }
.required, .optional { display: inline-flex; align-items: center; justify-content: center; padding: 1px 8px 2px; border-radius: 3px; color: #211e30; font: 500 12px/1.35 var(--sans); letter-spacing: 0; vertical-align: middle; }
.required { background: var(--gold); }
.optional { background: #d3cfda; }
input, select, textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 50px; border: 1px solid #b8b4bf; border-radius: 8px; background: var(--cream); color: var(--ink); padding: 10px 16px; font-size: 17px; font-weight: 400; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #777381; opacity: 1; }
select { padding-right: 34px; }
input[type="date"] { text-align: left; }
input[type="date"]::-webkit-date-and-time-value { min-height: 26px; text-align: left; }
input[readonly] { background: #e4dfd5; color: #3f3a4b; }
textarea { min-height: 112px; resize: vertical; }
.number-field { position: relative; }
.number-field input { padding-right: 44px; min-height: 46px; }
.number-field .number-suffix, .number-field > span { position: absolute; inset: 0 16px 0 auto; display: flex; align-items: center; color: var(--ink); font-size: 17px; pointer-events: none; }
.number-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.number-field input::-webkit-inner-spin-button, .number-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.small { color: var(--muted); font-size: 13px; line-height: 1.65; }
.field > .small { margin: 6px 0 0; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.date-fields.row { grid-template-columns: 1fr; }
.step-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 20px; }
.primary, .secondary, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin: 0; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; text-align: center; font-size: 16px; line-height: 1.5; text-decoration: none; }
.primary { background: var(--gold); color: #17141e; font-weight: 600; }
.primary.next-step { font-family: var(--serif); font-size: 20px; letter-spacing: .02em; padding-top: 9px; padding-bottom: 9px; }
.primary .arrow { width: 24px; height: 24px; }
.secondary { background: transparent; color: var(--cream); border-color: #b3a9be; }
.text-button { background: transparent; color: #dac286; text-decoration: underline; text-underline-offset: .25em; padding-right: 12px; padding-left: 12px; }
.step-actions > .primary { flex: 1 1 170px; }
.step-actions > .secondary { flex: 0 1 auto; }
.step-actions > :only-child { width: 100%; }
.step-footnote { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.7; text-align: center; }
.support-details { margin-top: 12px; border-top: 1px solid var(--gold); }
.support-details > summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 10px 0 7px; color: var(--cream); font-size: 14px; cursor: pointer; list-style: none; text-underline-offset: .3em; text-decoration: underline; text-decoration-color: var(--gold); }
.wizard-step > .row { row-gap: 16px; margin-top: 18px; }
.contact-footer { text-align: center; font-size: 14px; margin: 26px 0 0; }
.support-details > summary::-webkit-details-marker { display: none; }
.help-toggle .arrow, .support-details > summary .arrow { color: var(--gold); width: 19px; height: 19px; }
.support-details[open] > summary .arrow { transform: rotate(90deg); }
.support-content { padding: 12px 0 4px; }
.support-content > :first-child { margin-top: 0; }
.support-content h2, .support-content h3 { font-family: var(--serif); color: var(--cream); }
.support-content h2 { margin: 0 0 10px; font-size: 21px; }
.support-content h3 { margin: 0 0 7px; font-size: 18px; }
.support-content p { margin: 8px 0; }
.support-content ul { padding-left: 1.3em; }
.support-content li { margin: 5px 0; }
.ofuda-orders { display: grid; gap: 18px; margin-top: 20px; }
.ofuda-order { padding: 18px; border: 1px solid #91849c; border-radius: 10px; background: #2c2949; }
.ofuda-order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #6f687c; }
.ofuda-order-head h3, .order-title { margin: 0; color: #dac286; font: 600 19px/1.5 var(--serif); }
.remove-order { min-height: 44px; padding: 7px 10px; border: 1px solid #b3a9be; border-radius: 6px; background: transparent; color: var(--cream); font-size: 13px; }
.ofuda-order input, .ofuda-order select, .ofuda-order textarea { font-size: 16px; padding-right: 12px; padding-left: 12px; }
.ofuda-order select { padding-right: 30px; }
.ofuda-order .small { margin: 7px 0 0; }
.wish-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.couple-fields { margin-top: 10px; }
.ofuda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.ofuda-actions > button { min-height: 48px; margin: 0; padding: 10px 17px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: #dac286; font-size: 15px; }
.ofuda-total { margin: 16px 0 0; color: #dac286; font-size: 18px; font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 14px; font-weight: 400; line-height: 1.7; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 3px 0 0; padding: 0; accent-color: var(--gold); }
.navigator, .advisor, .paper-application, .notice, .ofuda-guide { padding: 18px; margin-top: 22px; border: 1px solid #6f687c; border-radius: 10px; background: #2c2949; }
.navigator p, .advisor p, .paper-application p { color: var(--muted); }
.nav-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.nav-choice { min-height: 70px; padding: 12px; border: 1px solid #91849c; border-radius: 7px; background: transparent; color: var(--cream); text-align: left; }
.nav-choice strong { display: block; color: #dac286; }
.nav-choice span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.nav-choice.active { border-color: var(--gold); background: #39324d; }
.nav-result { display: none; margin-top: 14px; padding: 14px; border-left: 3px solid var(--gold); background: #24223f; }
.nav-result strong { color: #dac286; }
.advisor { margin-top: 16px; }
.advisor h3 { margin: 0 0 8px; color: #dac286; font-size: 18px; }
.advisor ul { margin: 0; padding-left: 1.3em; }
.advisor li { margin: 5px 0; }
.paper-layout { display: grid; gap: 18px; }
.document-actions { display: grid; gap: 10px; }
.document-link { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 11px 14px; border: 1px solid var(--gold); border-radius: 7px; color: #dac286; background: transparent; font-size: 14px; font-weight: 600; text-decoration: none; }
.document-link span { font-size: 12px; font-weight: 400; margin-top: 2px; }
.paper-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact-chip { border: 1px solid #91849c; border-radius: 6px; padding: 8px 11px; font-size: 13px; }
.paper-warning { border-left: 3px solid var(--gold); padding-left: 12px; }
.eyebrow { margin: 0 0 5px; color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.ofuda-size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ofuda-size-grid > div { display: grid; padding: 12px; border: 1px solid #6f687c; border-radius: 7px; }
.ofuda-size-grid small { color: var(--muted); font-size: 12px; }
.kenzoku-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid #6f687c; }
.kenzoku-note strong { color: #dac286; }
.result, .error { display: none; margin-top: 18px; padding: 18px; border: 1px solid var(--gold); border-radius: 8px; background: #302d49; color: var(--cream); scroll-margin-top: 20px; }
.result h2, .result h3 { margin: 0 0 8px; color: #dac286; font-family: var(--serif); }
.result .small { color: var(--muted); }
.reception { font: 600 22px/1.6 ui-monospace, monospace; overflow-wrap: anywhere; }
.error { border-color: #f3b6a7; background: #3e2a3c; color: #ffe1d8; }
.status-box { margin-top: 18px; padding: 13px 15px; border: 1px solid #91849c; border-radius: 7px; color: var(--muted); font-size: 14px; }
.retry-catalog { min-height: 44px; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--gold); border-radius: 999px; background: transparent; color: #dac286; }
.review-section { margin-top: 20px; border-top: 1px solid #6f687c; padding-top: 15px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-head h3 { margin: 0; color: #dac286; font: 600 20px/1.5 var(--serif); }
.review-head .text-button { min-height: 44px; font-size: 14px; }
.review-list { margin: 8px 0 0; }
.review-list > div { display: grid; grid-template-columns: minmax(90px, .36fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #4e485f; }
.review-list dt { color: var(--muted); font-size: 14px; }
.review-list dd { margin: 0; font-size: 16px; white-space: pre-wrap; }
@media (max-width: 680px) {
  .row, .wish-row, .nav-steps { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .date-fields.row { gap: 18px; }
  .step-actions > .secondary { padding-right: 16px; padding-left: 16px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 8px; font-size: 20px; letter-spacing: .06em; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .home { gap: 4px; font-size: 12px; }
  .home .arrow { width: 18px; height: 18px; }
  .hero h1 { gap: 9px; font-size: 25px; }
  .hero p { font-size: 13px; }
  .step-title { font-size: 28px; }
  .step-description { font-size: 14px; }
  .ofuda-order { padding: 14px; }
  .step-footnote { font-size: 11px; }
}
@media (min-width: 681px) {
  .wrap { padding-bottom: 56px; }
  .top { min-height: 88px; }
  .brand { gap: 16px; font-size: 29px; }
  .brand-mark { width: 48px; height: 48px; flex-basis: 48px; }
  .home { font-size: 15px; }
  .hero { padding-top: 28px; }
  .hero h1 { gap: 26px; font-size: 39px; }
  .hero p { margin-top: 5px; font-size: 17px; }
  .step-nav { max-width: 560px; margin: 24px auto 38px; }
  .step-number { width: 34px; height: 34px; font-size: 21px; }
  .step-nav::before { top: 17px; }
  .step-label { margin-top: 8px; font-size: 17px; }
  .step-kicker { font-size: 15px; }
  .step-title { font-size: 34px; line-height: 1.5; }
  .step-description { margin-top: 7px; font-size: 16px; line-height: 1.8; }
  .date-fields { margin-top: 24px; gap: 22px; }
  .field > label { margin-bottom: 7px; }
  .step-actions { margin-top: 26px; }
  .primary, .secondary { min-height: 54px; }
  .step-footnote { font-size: 13px; }
  .support-details { max-width: 620px; margin: 20px auto 0; }
  .help-toggle, .support-details > summary { font-size: 16px; min-height: 60px; }
  .ofuda-order { padding: 22px; }
  .paper-layout { grid-template-columns: 1fr 1fr; }
  .ofuda-size-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.request-options { margin: 1.5rem 0; padding: 1rem; border: 1px solid #bca16a; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.request-options h3 { margin-top: 0; font-size: 1.05rem; }
.request-options .check { align-items: flex-start; }

/* Accessible date calendar, scoped to the prayer date field. */
.prayer-calendar {
  position: fixed; z-index: 1100; width: min(350px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px); overflow: auto; padding: 12px;
  background: var(--cream); color: var(--ink); border: 1px solid #80714b;
  border-radius: 12px; box-shadow: 0 6px 24px #0005; font: 400 14px/1.5 var(--sans);
}
.prayer-calendar .calendar-header { display: flex; align-items: center; gap: 6px; }
.prayer-calendar button {
  min-height: 44px; border: 1px solid #aaa08b; border-radius: 5px;
  background: #fffdf8; color: var(--ink); font: inherit;
}
.prayer-calendar .calendar-header button { min-width: 44px; font-size: 22px; }
.prayer-calendar input { min-width: 0; width: 100%; min-height: 44px; padding: 6px; font-size: 16px; }
.prayer-calendar table { width: 100%; table-layout: fixed; margin: 6px 0; border-collapse: separate; border-spacing: 2px; }
.prayer-calendar th { text-align: center; font-size: 13px; }
.prayer-calendar td { padding: 0; }
.prayer-calendar td button { width: 100%; padding: 0; border-color: transparent; }
.prayer-calendar .festival-day { background: #ffe4e4; box-shadow: inset 0 0 0 2px #b91c1c; font-weight: 700; }
.prayer-calendar [aria-current="date"] { text-decoration: underline; text-underline-offset: 4px; }
.prayer-calendar [aria-pressed="true"] { background: var(--navy); color: #fff; }
.prayer-calendar .festival-day[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #ff7777; }
.prayer-calendar button:disabled { opacity: .45; background: #e6e2da; color: #555; cursor: not-allowed; }
.prayer-calendar button:focus-visible, .prayer-calendar input:focus-visible { outline: 3px solid #5b4299; outline-offset: 1px; }
.prayer-calendar .calendar-legend { font-size: 12px; margin: 6px 0 10px; }
.prayer-calendar .festival-key { background: #ffe4e4; border: 2px solid #b91c1c; padding: 0 3px; color: #24223f; }
.prayer-calendar .calendar-footer { display: flex; gap: 8px; }
.prayer-calendar .calendar-footer button { flex: 1; }
.prayer-calendar-trigger {
  display: block; min-height: 44px; margin: 6px 0 0 auto; padding: 4px 12px;
  border: 1px solid var(--gold); border-radius: 6px; color: var(--gold);
  background: transparent; font: 400 13px/1.5 var(--sans);
}

/* 2026-11-07: clear labels and less repeated guidance on both reception routes. */
.hero > p, .step-kicker,
.wizard-step[data-panel="0"] > .step-description,
.wizard-step[data-panel="3"] > .step-description { display: none; }
.step-nav { margin-bottom: 24px; }
.step-nav.is-shortcut { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; margin-inline: auto; }
.step-nav.is-shortcut::before { left: 25%; right: 25%; }
.step-link { min-height: 54px; }
.step-title { font-size: 27px; line-height: 1.5; }
.field > label, .ofuda-order label:not(.check) { font-weight: 600; }
.required, .optional { font-size: 13px; }
.small { font-size: 14px; line-height: 1.65; }
.step-description { line-height: 1.7; }
#previous-shortcut { margin: 20px 0 0; border: 1px solid var(--gold); border-radius: 10px; padding: 6px 16px; background: #302c49; }
#previous-shortcut .check { margin: 0; padding: 12px 0; min-height: 50px; align-items: center; font-size: 18px; font-weight: 600; }
#previous-shortcut .check input { width: 24px; height: 24px; min-height: 24px; flex-basis: 24px; margin: 0; }
#previous-shortcut .small { margin: 0 0 12px; }
#address-details { margin-top: 24px; padding-top: 16px; }
#address-summary { margin: 0; font-size: 19px; }
#address-details > .small { margin: 6px 0 0; }
.wizard-step > .field, #previous-date-field, #notes-field { margin-top: 20px; }
.check { min-height: 44px; align-items: center; font-size: 16px; }
.check input { margin-top: 0; }
.request-options { margin-top: 20px; }
.request-options .check { margin-top: 12px; }
.request-options .small { margin-top: 4px; }
#onsite-notice { max-width: 620px; margin: -8px auto 20px; }
.advisor { padding: 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.advisor > summary { justify-content: flex-start; text-decoration: none; }
.advisor > ul { margin-bottom: 16px; }
.review-list > div { padding: 13px 0; }
.review-list dd { font-weight: 500; }
@media (max-width: 680px) {
 .row { row-gap: 18px; }
 .hero h1 { font-size: 27px; }
 .step-nav { margin-top: 20px; }
 .request-options { padding: 16px; }
}
@media (max-width: 359px) {
 .hero h1 { font-size: 24px; }
 .step-title { font-size: 25px; }
 #previous-shortcut { padding-inline: 12px; }
 #previous-shortcut .check { font-size: 17px; }
 .review-list > div { grid-template-columns: minmax(78px, .34fr) minmax(0, 1fr); gap: 10px; }
}
@media (min-width: 681px) { .step-title { font-size: 32px; } }
.advisor > summary::after { content: '＋'; margin-left: auto; color: var(--gold); font-size: 20px; }
.advisor[open] > summary::after { content: '−'; }
#address-details .row + .row { margin-top: 20px; }

/* 2026-11-07: larger type and controls for older applicants; no field/flow changes. */
body { font-size: 18px; line-height: 1.7; }
label, .check, .step-label, .step-description { font-size: 18px; }
.field > label { margin-bottom: 8px; line-height: 1.6; }
.required, .optional { font-size: 15px; padding: 2px 8px; }
input, select, textarea,
.ofuda-order input, .ofuda-order select, .ofuda-order textarea { font-size: 20px; line-height: 1.5; min-height: 56px; }
input::placeholder, textarea::placeholder { color: #696473; }
textarea { min-height: 140px; }
input[type="checkbox"], #previous-shortcut .check input { min-height: 26px; width: 26px; height: 26px; flex-basis: 26px; }
.check { min-height: 48px; gap: 12px; line-height: 1.65; }
#previous-shortcut .check { font-size: 20px; min-height: 58px; }
.primary, .secondary, .text-button, .ofuda-actions > button { font-size: 20px; min-height: 56px; }
.primary.next-step { font-size: 22px; }
.small, .step-footnote, .contact-footer, .status-box,
.nav-choice span, .ofuda-size-grid small, .result .small { font-size: 16px; line-height: 1.7; }
.step-footnote { text-align: left; }
.support-details > summary { font-size: 18px; min-height: 54px; }
.request-options h3, .ofuda-order-head h3, .order-title { font-size: 21px; }
.remove-order { font-size: 16px; min-height: 48px; }
.ofuda-total { font-size: 22px; }
.review-list dt { font-size: 18px; }
.review-list dd { font-size: 20px; line-height: 1.65; }
.review-head { flex-wrap: wrap; }
.review-head .text-button { font-size: 18px; }
.document-link { font-size: 18px; }
.document-link span, .contact-chip { font-size: 16px; }
.home { font-size: 16px; }
.top { flex-wrap: wrap; padding-block: 10px; }
.brand { min-width: 0; white-space: normal; }
.brand > span { min-width: 0; }
.hero h1 { white-space: normal; line-height: 1.5; }
.step-number { width: 36px; height: 36px; font-size: 22px; }
.step-nav::before { top: 18px; }
.prayer-calendar { font-size: 16px; }
.prayer-calendar td button, .prayer-calendar input { font-size: 18px; }
.prayer-calendar th, .prayer-calendar .calendar-legend { font-size: 16px; }
.prayer-calendar-trigger { font-size: 18px; min-height: 52px; }
@media (max-width: 680px) {
 .row { row-gap: 22px; }
 .ofuda-order-head { flex-wrap: wrap; }
 .review-list > div { grid-template-columns: 1fr; gap: 4px; }
 .review-list dt { font-size: 17px; }
 .hero h1 { font-size: 29px; }
}
@media (max-width: 359px) {
 .hero h1 { font-size: 27px; }
 .step-actions > .primary, .step-actions > .secondary { flex: 1 1 100%; }
}
.step-number { width: 1.65em; height: 1.65em; max-width: 100%; }
.step-nav::before { top: 1em; }
.number-field input { min-height: 56px; }
.number-field .number-suffix, .number-field > span { font-size: 20px; }
/* Keep the two-dimensional date grid usable when text alone is enlarged. */
.prayer-calendar table { min-width: 17em; }
