:root {
  --bg: #eef7f6;
  --surface: #ffffff;
  --surface-soft: #f6fbfb;
  --surface-aqua: #e8f7f6;
  --surface-warm: #fff4ea;
  --text: #102f36;
  --muted: #5c747b;
  --line: #cfdee1;
  --line-strong: #a9c6cc;
  --aqua: #098fa0;
  --aqua-dark: #0e5863;
  --blue: #1b6fb5;
  --orange: #e26f2d;
  --orange-dark: #c75c21;
  --green: #277a4f;
  --danger: #c44b45;
  --shadow: 0 18px 46px rgba(18, 69, 78, 0.12);
  --shadow-soft: 0 10px 28px rgba(18, 69, 78, 0.08);
  --radius: 8px;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(245, 251, 251, 0.95) 0, rgba(238, 247, 246, 0.98) 36rem),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
strong,
b,
th,
dt,
label,
legend,
button {
  font-weight: 400;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(207, 222, 225, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: #fff;
  border: 1px solid rgba(169, 198, 204, 0.7);
  box-shadow: 0 8px 22px rgba(9, 143, 160, 0.2);
}

.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-admin-link {
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.brand-admin-link:hover,
.brand-admin-link:focus-visible {
  box-shadow: 0 10px 26px rgba(9, 143, 160, 0.3);
  transform: translateY(-1px);
  outline: none;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.35;
}

.brand small,
.header-contact {
  color: var(--muted);
  font-size: 0.82rem;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  line-height: 1.45;
}

.header-contact a {
  color: inherit;
  text-decoration: none;
}

.header-contact a:hover,
.header-contact a:focus-visible {
  color: var(--aqua-dark);
  text-decoration: underline;
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-button {
  min-height: 2.35rem;
  padding: 0.52rem 0.8rem;
  font-size: 0.84rem;
}

.page-shell {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.venue-hero {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dbeeed;
  box-shadow: var(--shadow-soft);
}

.venue-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0, rgba(255, 255, 255, 0.78) 27rem, rgba(255, 255, 255, 0.08) 62%);
}

.venue-hero-content {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.venue-hero h1,
.intro-band h1 {
  margin: 0 0 0.75rem;
  color: #0c4778;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.venue-hero h1 span,
.intro-band h1 span {
  display: block;
}

.venue-hero p,
.intro-band p {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.35rem 0 0;
}

.event-facts div,
.panel,
.summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.event-facts div {
  min-height: 5.4rem;
  padding: 0.78rem 0.85rem;
  box-shadow: 0 8px 18px rgba(18, 69, 78, 0.08);
}

dt {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

dd {
  margin: 0.26rem 0 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.5;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  min-width: 0;
}

.booking-steps button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.booking-steps button:hover,
.booking-steps button:focus-visible {
  border-color: var(--aqua);
  box-shadow: 0 8px 20px rgba(9, 143, 160, 0.12);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.booking-steps span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  color: #fff;
  background: var(--aqua);
  font-size: 0.84rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.74fr) minmax(28rem, 1.28fr) minmax(20rem, 0.76fr);
  gap: 1rem;
  align-items: start;
}

.panel,
.grill-box {
  scroll-margin-top: 6rem;
}

.booking-focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(9, 143, 160, 0.18), var(--shadow-soft);
  outline: 2px solid rgba(9, 143, 160, 0.34);
  outline-offset: 3px;
}

.panel:focus,
.grill-box:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(9, 143, 160, 0.18), var(--shadow-soft);
  outline: 2px solid rgba(9, 143, 160, 0.34);
  outline-offset: 3px;
}

.manage-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.42fr) minmax(28rem, 1fr);
  gap: 1rem;
  align-items: start;
}

.panel {
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel h1,
.panel h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.panel-heading p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.required-note {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  color: var(--aqua-dark);
  background: var(--surface-aqua);
  font-size: 0.74rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--aqua-dark);
  background: var(--surface-soft);
  cursor: pointer;
}

.slot-grid {
  display: grid;
  gap: 0.62rem;
}

.slot-button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.75rem;
  width: 100%;
  min-height: 4.55rem;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.slot-button:hover {
  border-color: var(--aqua);
  box-shadow: 0 8px 18px rgba(9, 143, 160, 0.12);
}

.slot-button.selected {
  border-color: var(--aqua);
  background: var(--surface-aqua);
  box-shadow: inset 0 0 0 1px var(--aqua);
}

.slot-button:disabled {
  color: #91a4ab;
  background: #eff5f6;
  cursor: not-allowed;
}

.slot-button.full {
  border-color: rgba(215, 83, 54, 0.48);
  background: #fff1ed;
}

.slot-time {
  grid-row: span 2;
  font-size: 1.22rem;
  line-height: 1.25;
}

.slot-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.capacity-chip {
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  background: var(--surface-aqua);
  color: var(--aqua-dark);
  font-size: 0.74rem;
}

.slot-button.selected .capacity-chip {
  background: #fff;
}

.slot-note {
  grid-column: 2;
  color: var(--green);
  font-size: 0.78rem;
  text-align: right;
}

.slot-full-badge {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  border-radius: 999px;
  padding: 0.22rem 0.78rem;
  background: #d75336;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.1;
}

.field-group {
  display: grid;
  gap: 0.43rem;
  margin-bottom: 0.88rem;
}

label,
legend {
  color: #23454c;
  font-size: 0.86rem;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  padding: 0.1rem 0.42rem;
  background: #fff0e7;
  color: #c94816;
  font-size: 0.68rem;
  line-height: 1.2;
  vertical-align: 0.08rem;
}

.label-note {
  color: var(--muted);
  font-size: 0.76rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.76rem 0.84rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  line-height: 1.55;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(9, 143, 160, 0.15);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.member-fields {
  display: grid;
  gap: 0.5rem;
}

.grill-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 0.9rem;
  padding: 0.85rem;
  background: var(--surface-soft);
}

.grill-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.radio-card {
  display: grid;
  gap: 0.35rem;
  min-height: 5.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: #fff;
  cursor: pointer;
}

.radio-card input {
  width: auto;
  margin: 0;
}

.radio-card small {
  color: var(--muted);
  font-size: 0.76rem;
}

.radio-card:has(input:checked) {
  border-color: var(--orange);
  background: var(--surface-warm);
}

.radio-card.disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.summary-panel {
  position: sticky;
  top: 5.5rem;
}

.summary-card {
  padding: 0.9rem;
  background: var(--surface-soft);
}

.summary-card dl {
  display: grid;
  gap: 0.72rem;
  margin: 0;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-card dd {
  text-align: right;
}

.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 0.74rem;
}

#summaryTotalFee,
#manageSummaryTotal {
  color: var(--orange-dark);
  font-size: 1.22rem;
}

.notice-list {
  display: grid;
  gap: 0.48rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.notice-list p {
  margin: 0;
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  border: 0;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(226, 111, 45, 0.22);
}

.primary-button:hover {
  background: var(--orange-dark);
}

.primary-button:disabled,
.danger-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.secondary-button {
  color: var(--aqua-dark);
  background: var(--surface-aqua);
  border: 1px solid var(--line);
}

.danger-button {
  border: 1px solid rgba(196, 75, 69, 0.28);
  color: var(--danger);
  background: #fff5f5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-actions .primary-button,
.form-actions .secondary-button,
.form-actions .danger-button {
  width: auto;
  min-width: 10rem;
}

.form-message {
  min-height: 1.6rem;
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--green);
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(16rem, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 1rem 0 0;
  border: 1px solid rgba(169, 198, 204, 0.92);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.notice-lead {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.notice-lead h2 {
  margin: 0 0 0.45rem;
  color: var(--aqua-dark);
  font-size: 1.26rem;
  line-height: 1.35;
}

.notice-lead p,
.food-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.notice-mascot {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: center;
  margin: 1.1rem 0 0;
  min-height: 13rem;
  overflow: hidden;
}

.notice-mascot img {
  display: block;
  width: min(100%, 18rem);
  max-height: 18.5rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 24px rgba(18, 69, 78, 0.15));
}

.notice-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.notice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.68rem;
  min-width: 0;
  border: 1px solid rgba(207, 222, 225, 0.96);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: #fff;
}

.notice-card.important {
  border-color: rgba(226, 111, 45, 0.36);
  background: var(--surface-warm);
}

.notice-icon {
  --notice-icon-bg: var(--blue);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--notice-icon-bg);
  line-height: 1;
}

.notice-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
  stroke: none;
}

.notice-picto-cut {
  fill: var(--notice-icon-bg);
}

.notice-card.important .notice-icon {
  --notice-icon-bg: var(--orange);
}

.notice-card h3 {
  margin: 0 0 0.24rem;
  font-size: 0.94rem;
  line-height: 1.38;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.food-note {
  grid-column: 2;
  border-left: 4px solid var(--green);
  padding: 0.38rem 0 0.38rem 0.75rem;
  background: rgba(246, 251, 251, 0.82);
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.3rem 0 1rem;
}

.compact-intro {
  padding-bottom: 0.65rem;
}

.complete-dialog {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 22px 70px rgba(16, 71, 92, 0.25);
}

.complete-dialog::backdrop {
  background: rgba(12, 37, 46, 0.38);
}

.dialog-content {
  width: min(30rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.25rem;
}

.admin-edit-dialog .dialog-content {
  width: min(46rem, calc(100vw - 2rem));
}

.individual-mail-dialog .dialog-content {
  width: min(42rem, calc(100vw - 2rem));
}

.individual-mail-form {
  display: grid;
  gap: 0.9rem;
}

.individual-mail-form .panel-heading,
.individual-mail-form .field-group {
  margin-bottom: 0;
}

.checkin-dialog .dialog-content {
  width: min(34rem, calc(100vw - 2rem));
}

.checkin-dialog-content {
  text-align: center;
}

.checkin-success-icon {
  display: grid;
  place-items: center;
  width: 4.1rem;
  height: 4.1rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(39, 122, 79, 0.22);
}

.checkin-success-icon svg {
  width: 2.45rem;
  height: 2.45rem;
  fill: currentColor;
}

.checkin-dialog-details {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  text-align: left;
}

.checkin-dialog-details div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.38fr) minmax(0, 1fr);
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: var(--surface-soft);
}

.checkin-dialog-details dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.admin-edit-form {
  display: grid;
  gap: 0.9rem;
}

.admin-edit-form .panel-heading,
.admin-edit-form .field-group {
  margin-bottom: 0;
}

.dialog-content h2 {
  margin: 0 0 0.75rem;
}

.dialog-content p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.dialog-link {
  width: 100%;
  margin: 0.6rem 0;
}

.change-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 1rem;
}

.change-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem;
  background: var(--surface-soft);
}

.change-item dt {
  margin: 0 0 0.45rem;
  color: var(--aqua-dark);
  font-size: 0.84rem;
}

.change-item dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
}

.change-before,
.change-after {
  min-width: 0;
  overflow-wrap: anywhere;
}

.change-before {
  color: var(--muted);
}

.change-arrow {
  color: var(--muted);
}

#completeCode {
  display: block;
  margin: 0.35rem 0 1rem;
  color: var(--aqua-dark);
  font-size: 2rem;
}

.admin-panel {
  margin-top: 1.5rem;
}

.admin-shell {
  display: grid;
  gap: 1rem;
}

.admin-mode-nav {
  position: sticky;
  top: 4.75rem;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  border: 1px solid rgba(207, 222, 225, 0.9);
  border-radius: var(--radius);
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.admin-mode-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  min-height: 3.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.58rem 0.68rem;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-mode-button:hover,
.admin-mode-button:focus-visible {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface-soft);
  outline: none;
}

.admin-mode-button.active {
  border-color: rgba(9, 143, 160, 0.35);
  color: var(--aqua-dark);
  background: var(--surface-aqua);
  box-shadow: inset 0 0 0 1px rgba(9, 143, 160, 0.12);
}

.admin-mode-button svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.admin-mode-button strong,
.admin-mode-button small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-mode-button strong {
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.28;
}

.admin-mode-button small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.admin-mode-panel {
  margin-top: 0;
}

.admin-mode-panel[hidden] {
  display: none;
}

.settings-mode-panel .panel-body {
  border-top: 0;
  padding: 0;
}

.admin-login-panel {
  width: min(30rem, 100%);
  margin: 2rem auto 0;
}

.collapsible-panel {
  padding: 0;
}

.collapsible-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.collapsible-panel summary::-webkit-details-marker {
  display: none;
}

.collapsible-panel summary strong,
.collapsible-panel summary small {
  display: block;
}

.collapsible-panel summary strong {
  font-size: 1.04rem;
}

.collapsible-panel summary small {
  color: var(--muted);
  font-size: 0.8rem;
}

.summary-action {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  color: var(--aqua-dark);
  background: var(--surface-aqua);
  font-size: 0.78rem;
}

.collapsible-panel[open] .summary-action {
  color: var(--muted);
  background: #fff;
  font-size: 0;
}

.collapsible-panel[open] .summary-action::before {
  content: "閉じる";
  font-size: 0.78rem;
}

.panel-body {
  border-top: 1px solid var(--line);
  padding: 1rem;
}

.admin-token-row {
  display: grid;
  grid-template-columns: auto;
  gap: 0.75rem;
  align-items: center;
  justify-content: start;
}

.checkin-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.scanner-box {
  display: grid;
  gap: 0.75rem;
}

.checkin-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #102328;
  object-fit: cover;
}

.checkin-result {
  border: 1px solid rgba(45, 125, 85, 0.28);
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: 1rem;
  background: #f0faf4;
}

.checkin-result h2 {
  margin: 0.55rem 0 0.7rem;
  font-size: 1.35rem;
}

.checkin-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}

.checkin-result div {
  min-width: 0;
}

.checkin-result dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.checkin-result dd {
  margin: 0.16rem 0 0;
  font-size: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  color: #60737a;
  background: #edf4f4;
  font-size: 0.76rem;
  white-space: nowrap;
}

.status-pill.checked {
  color: #fff;
  background: var(--green);
}

.status-pill.cancelled {
  color: #fff;
  background: #87979c;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 72rem;
}

.compact-table table {
  min-width: 58rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0.65rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.86rem;
}

th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.76rem;
}

tbody tr:hover {
  background: rgba(232, 247, 246, 0.45);
}

.reservation-main-row.cancelled,
.reservation-message-row.cancelled td {
  color: #7f9095;
  background: #eef2f2;
}

.reservation-main-row.cancelled td {
  border-bottom-color: #d9e1e2;
}

.reservation-main-row.cancelled td:not([data-label="操作"]),
.reservation-message-row.cancelled .reservation-message {
  opacity: 0.64;
}

.row-status-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--danger);
  font-size: 0.72rem;
}

.status-dashboard {
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
}

.status-section {
  display: grid;
  gap: 0.75rem;
}

.status-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.status-section-heading h2,
.status-section-heading p {
  margin: 0;
}

.status-section-heading h2 {
  flex: 0 0 auto;
  font-size: 1.05rem;
  white-space: nowrap;
}

.status-section-heading p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.status-summary-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: #fff;
}

.status-summary-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-summary-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.status-meter-group {
  display: grid;
  gap: 0.68rem;
}

.status-meter-row {
  display: grid;
  gap: 0.32rem;
}

.status-meter-row div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-meter-row strong {
  color: var(--text);
  white-space: nowrap;
}

.status-meter-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.status-meter {
  display: block;
  overflow: hidden;
  height: 0.55rem;
  border-radius: 999px;
  background: #edf4f4;
}

.status-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--aqua);
}

.status-meter-row.full .status-meter span {
  background: var(--danger);
}

.status-meter-row.empty .status-meter span {
  background: var(--line-strong);
}

.status-empty-note {
  margin: 0;
  color: var(--muted);
}

.address-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.address-summary-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.address-summary-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: var(--surface-soft);
}

.address-summary-card h3,
.address-summary-card p {
  margin: 0;
}

.address-summary-card h3 {
  font-size: 0.98rem;
}

.address-summary-card p {
  color: var(--aqua-dark);
  font-size: 0.86rem;
  white-space: nowrap;
}

.address-summary-table-wrap {
  overflow-x: auto;
}

.address-summary-table {
  width: 100%;
  min-width: 22rem;
  margin: 0;
  border-collapse: collapse;
}

.address-summary-table th,
.address-summary-table td {
  border-top: 1px solid var(--line);
  padding: 0.62rem 0.75rem;
  text-align: right;
  font-size: 0.82rem;
}

.address-summary-table th:first-child,
.address-summary-table td:first-child {
  text-align: left;
}

.address-summary-table th {
  color: var(--muted);
  background: #fbfdfd;
}

.grill-schedule-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.grill-schedule-table {
  min-width: 110rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.grill-schedule-table th,
.grill-schedule-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid rgba(207, 222, 225, 0.72);
  padding: 0.5rem 0.42rem;
  text-align: center;
  vertical-align: middle;
  font-size: 0.76rem;
}

.grill-schedule-table thead th:first-child,
.grill-schedule-table tbody th {
  width: 5.5rem;
}

.grill-schedule-table thead th:not(:first-child),
.grill-schedule-table td {
  width: 9.5rem;
}

.grill-schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: var(--surface-soft);
}

.grill-schedule-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  color: var(--aqua-dark);
  background: #fff;
  white-space: nowrap;
}

.grill-schedule-empty {
  background: #fbfdfd;
}

.grill-schedule-busy {
  height: 4.6rem;
  color: #fff;
  background: var(--green);
}

.grill-schedule-busy.turnaround-tight {
  box-shadow: inset 4px 0 0 #f2a14a;
}

.grill-team-name,
.grill-team-meta {
  display: block;
  margin: 0 auto;
  overflow-wrap: anywhere;
  white-space: normal;
}

.grill-team-name {
  line-height: 1.35;
}

.grill-team-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.7rem;
  margin-top: 0.22rem;
  font-size: 0.7rem;
  opacity: 0.9;
}

.grill-schedule-standby th,
.grill-schedule-standby .grill-schedule-empty {
  background: #f4f7f7;
}

.reservation-message-row td {
  padding-top: 0;
  background: rgba(246, 251, 251, 0.82);
}

.reservation-message {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  border-left: 4px solid var(--aqua);
  padding: 0.62rem 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-wrap;
}

.reservation-message strong {
  color: var(--aqua-dark);
  white-space: nowrap;
}

.table-action-button {
  width: auto;
  min-height: 2.1rem;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.table-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.table-action-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.settings-form {
  display: grid;
  gap: 0.9rem;
}

.settings-form .field-group {
  margin-bottom: 0;
}

.settings-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.settings-details summary {
  min-height: 3rem;
  padding: 0.85rem 1rem;
  color: var(--aqua-dark);
  cursor: pointer;
}

.settings-details-body {
  display: grid;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  padding: 1rem;
}

.mail-template-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.mail-template-card {
  display: grid;
  gap: 0.25rem;
  min-height: 4.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.8rem;
  color: var(--text);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.mail-template-card.active {
  border-color: var(--aqua);
  background: var(--surface-aqua);
  box-shadow: inset 0 0 0 1px rgba(9, 143, 160, 0.18);
}

.mail-template-card span {
  color: var(--aqua-dark);
  font-size: 0.92rem;
}

.mail-template-card small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.individual-template-manager {
  display: grid;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface-soft);
}

.section-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading-row h2,
.section-heading-row p {
  margin: 0;
}

.section-heading-row h2 {
  color: var(--aqua-dark);
  font-size: 1rem;
  line-height: 1.4;
}

.section-heading-row p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.individual-template-picker {
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.settings-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.placeholder-guide {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: var(--surface-soft);
}

.placeholder-guide h2 {
  margin: 0;
  color: var(--aqua-dark);
  font-size: 1rem;
  line-height: 1.35;
}

.placeholder-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.placeholder-guide dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
  margin: 0;
}

.placeholder-guide div {
  display: grid;
  grid-template-columns: minmax(8.4rem, 0.72fr) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  min-width: 0;
  border-top: 1px solid rgba(207, 222, 225, 0.75);
  padding-top: 0.45rem;
}

.placeholder-guide dt {
  color: var(--orange-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.placeholder-guide dd {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.45;
}

.history-body summary {
  color: var(--aqua-dark);
  cursor: pointer;
}

.history-body pre {
  max-width: 24rem;
  max-height: 14rem;
  overflow: auto;
  margin: 0.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.check-row input {
  width: auto;
}

.guide-confirm-row {
  align-items: flex-start;
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.guide-confirm-row a {
  color: var(--aqua-dark);
}

.lookup-form {
  display: grid;
  gap: 0.9rem;
}

.manage-summary {
  margin-bottom: 0.9rem;
}

.checkin-qr-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(9, 143, 160, 0.22);
  border-radius: var(--radius);
  margin: 0 0 1rem;
  padding: 0.9rem;
  background: var(--surface-aqua);
}

.checkin-qr-panel h3 {
  margin: 0 0 0.28rem;
  font-size: 1rem;
}

.checkin-qr-panel p {
  margin: 0;
  color: var(--muted);
}

.checkin-token-row {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem !important;
}

.checkin-token-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.checkin-token-row code {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.checkin-qr-panel img {
  width: 8.5rem;
  height: 8.5rem;
  border: 0.45rem solid #fff;
  border-radius: var(--radius);
  background: #fff;
}

.guide-page {
  background: #e8f1f0;
}

.guide-print-button {
  width: auto;
}

.guide-shell {
  width: min(100% - 1rem, 980px);
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.guide-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.guide-title {
  display: grid;
  gap: 0.12rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--aqua-dark);
  text-align: center;
}

.guide-title p,
.guide-title h1 {
  margin: 0;
}

.guide-title p {
  color: var(--aqua-dark);
  font-size: 0.95rem;
}

.guide-title h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.2;
}

.guide-intro {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.guide-intro p {
  margin: 0;
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.guide-column {
  display: grid;
  align-content: start;
  min-width: 0;
}

.guide-section {
  break-inside: avoid;
  margin: 0 0 0.62rem;
  padding: 0.62rem 0 0;
  border-top: 1px solid rgba(207, 222, 225, 0.88);
  line-height: 1.56;
}

.guide-section h2,
.guide-section h3,
.guide-section p,
.guide-section ul {
  margin: 0;
}

.guide-section h2 {
  margin-bottom: 0.24rem;
  color: var(--aqua-dark);
  font-size: 1rem;
}

.guide-section h3 {
  margin-top: 0.3rem;
  color: var(--text);
  font-size: 0.9rem;
}

.guide-section p + p,
.guide-section p + ul,
.guide-section ul + p {
  margin-top: 0.18rem;
}

.guide-section ul {
  padding-left: 1.15rem;
}

.guide-section li {
  margin: 0.08rem 0;
}

.guide-note {
  color: var(--muted);
}

.guide-important {
  color: var(--orange-dark);
}

.guide-contact {
  padding: 0.65rem;
  border: 1px solid rgba(9, 143, 160, 0.28);
  border-radius: var(--radius);
  background: var(--surface-aqua);
}

.guide-footer {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--aqua-dark);
  text-align: center;
  line-height: 1.45;
}

.guide-footer p {
  margin: 0.08rem 0;
}

.guide-print-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(16, 47, 54, 0.48);
}

.guide-print-dialog-card {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 28rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-print-dialog-card h2,
.guide-print-dialog-card p,
.guide-print-dialog-card ol {
  margin: 0;
}

.guide-print-dialog-card h2 {
  color: var(--aqua-dark);
  font-size: 1.08rem;
}

.guide-print-dialog-card p,
.guide-print-dialog-card ol {
  color: var(--muted);
  line-height: 1.65;
}

.guide-print-dialog-card ol {
  padding-left: 1.35rem;
}

.hidden {
  display: none !important;
}

@media print {
  @page {
    size: A4;
    margin: 8mm;
  }

  :root,
  body,
  .guide-page {
    background: #fff !important;
  }

  .no-print,
  .site-header {
    display: none !important;
  }

  .guide-shell {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .guide-sheet {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    font-size: 7.4pt;
    line-height: 1.32;
  }

  .guide-title {
    margin-bottom: 2.6mm;
    padding-bottom: 2mm;
  }

  .guide-title p {
    font-size: 8pt;
  }

  .guide-title h1 {
    font-size: 17pt;
  }

  .guide-intro {
    gap: 0.8mm;
    margin-bottom: 2.6mm;
    line-height: 1.38;
  }

  .guide-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 5mm !important;
    align-items: start;
  }

  .guide-column {
    display: block;
    min-width: 0;
  }

  .guide-section {
    margin-bottom: 2mm;
    padding-top: 1.8mm;
    line-height: 1.34;
  }

  .guide-section h2 {
    margin-bottom: 0.7mm;
    font-size: 8.5pt;
  }

  .guide-section h3 {
    margin-top: 1mm;
    font-size: 7.7pt;
  }

  .guide-section ul {
    padding-left: 4mm;
  }

  .guide-section li {
    margin: 0;
  }

  .guide-contact {
    padding: 1.8mm;
  }

  .guide-footer {
    margin-top: 2.4mm;
    padding-top: 1.8mm;
    line-height: 1.25;
  }
}

@media (max-width: 1120px) {
  .booking-grid,
  .manage-grid,
  .checkin-grid,
  .notice-band {
    grid-template-columns: 1fr;
  }

  .admin-mode-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-panel {
    position: static;
  }

  .event-facts,
  .grill-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 14rem);
    gap: 0 1rem;
    align-items: end;
  }

  .notice-mascot {
    grid-row: 1 / span 2;
    grid-column: 2;
    margin: 0;
    min-height: 0;
  }

  .notice-mascot img {
    width: 100%;
    max-height: 10rem;
  }

  .food-note {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-mode-nav {
    position: static;
    gap: 0.5rem;
  }

  .admin-mode-button {
    min-height: 4.05rem;
    padding: 0.6rem;
  }

  .admin-mode-button svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .admin-mode-button strong {
    font-size: 0.9rem;
  }

  .admin-mode-button small {
    font-size: 0.7rem;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .header-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.12rem;
  }

  .header-button {
    width: 100%;
  }

  .page-shell {
    width: min(100% - 1rem, 42rem);
    padding-top: 0.75rem;
  }

  .admin-shell {
    gap: 0.75rem;
  }

  .admin-panel {
    margin-top: 0;
  }

  .status-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .venue-hero {
    min-height: auto;
  }

  .venue-hero-image {
    position: static;
    display: block;
    height: 11rem;
  }

  .venue-hero::after {
    display: none;
  }

  .venue-hero-content {
    padding: 1rem;
    background: #fff;
  }

  .venue-hero h1,
  .intro-band h1 {
    font-size: 1.68rem;
  }

  .event-facts,
  .two-col,
  .grill-options,
  .mail-template-picker,
  .status-summary-grid,
  .address-summary-grid,
  .notice-cards,
  .reservation-message,
  .checkin-qr-panel,
  .checkin-result dl,
  .placeholder-guide dl,
  .placeholder-guide div,
  .admin-token-row {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow-x: visible;
  }

  table,
  .compact-table table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 0.75rem;
  }

  tbody tr {
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
  }

  tbody tr:hover {
    background: #fff;
  }

  td {
    display: grid;
    grid-template-columns: minmax(6rem, 0.42fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    border-bottom: 1px solid rgba(207, 222, 225, 0.72);
    padding: 0.7rem 0.8rem;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }

  td:last-child {
    border-bottom: 0;
  }

  td[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .grill-schedule-wrap {
    overflow-x: auto;
  }

  .grill-schedule-table {
    min-width: 110rem;
    border-collapse: separate;
    table-layout: fixed;
  }

  .grill-schedule-table thead {
    display: table-header-group;
  }

  .grill-schedule-table tbody {
    display: table-row-group;
  }

  .grill-schedule-table tbody tr {
    display: table-row;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .grill-schedule-table th,
  .grill-schedule-table td {
    display: table-cell;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0.42rem;
    font-size: 0.76rem;
    vertical-align: middle;
  }

  .reservation-message-row {
    margin-top: -0.75rem;
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--surface-soft);
  }

  .reservation-message-row td {
    display: block;
    border-bottom: 0;
  }

  .reservation-message {
    grid-template-columns: 1fr;
  }

  .table-action-button {
    width: 100%;
  }

  .table-action-group {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .notice-lead {
    display: block;
  }

  .notice-mascot {
    justify-content: flex-start;
    margin-top: 0.9rem;
    min-height: 0;
  }

  .notice-mascot img {
    width: min(70%, 13rem);
    max-height: 11rem;
  }

  .booking-steps {
    grid-template-columns: 1fr 1fr;
  }

  .guide-columns {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 0.9rem;
  }

  .slot-button {
    grid-template-columns: 1fr;
  }

  .slot-time,
  .slot-note {
    grid-column: auto;
  }

  .slot-capacity,
  .slot-note {
    justify-content: flex-start;
    text-align: left;
  }
}

@media print {
  .guide-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 5mm !important;
  }

  .guide-column {
    display: block !important;
    min-width: 0;
  }
}
