﻿@charset "UTF-8";

:root {
  --bg: #05050b;
  --cyan: #00d2ff;
  --blue: #0055ff;
  --pink: #e633ff;
  --yellow: #ffd84a;
  --text: #ffffff;
  --muted: #c8d0df;
  --danger: #ff7c9d;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-jp);
  color: var(--text);
  background: #05050b url('../images/fv_bg.jpg?v=2') center top / cover fixed no-repeat;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 12, 0.50) 0%, rgba(5, 5, 12, 0.96) 42%, #05050b 100%),
    radial-gradient(circle at 18% 8%, rgba(0, 210, 255, 0.34), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(230, 51, 255, 0.30), transparent 28%);
}

a { color: inherit; }

.reserve-shell {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.reserve-header {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0 28px;
}

.reserve-header--compact {
  min-height: auto;
  padding-top: 72px;
}

.back-link {
  position: absolute;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.8);
}

.back-link::before { content: '<'; margin-right: 8px; }

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.8);
}

h1, h2 { margin: 0; line-height: 1.35; }

h1 {
  font-family: var(--font-en), var(--font-jp);
  font-size: clamp(34px, 10vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(0, 210, 255, 0.72), 0 0 36px rgba(230, 51, 255, 0.38);
}

h2 { font-size: 22px; font-weight: 900; }

.lead {
  margin: 14px 0 0;
  color: #eef6ff;
  font-size: 15px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.notice {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px;
  border: 2px solid rgba(255, 216, 74, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 216, 74, 0.18), rgba(230, 51, 255, 0.16));
  box-shadow: 0 0 22px rgba(255, 216, 74, 0.22), inset 0 0 22px rgba(255, 255, 255, 0.05);
}

.notice strong { color: #fff; font-size: 18px; }
.notice span { color: #fff4c9; font-size: 14px; }

.notice a {
  width: fit-content;
  color: #05050b;
  background: var(--yellow);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.reserve-form { display: grid; gap: 18px; }

.form-section,
.complete-panel {
  position: relative;
  padding: 22px 18px;
  border: 1px solid rgba(0, 210, 255, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 13, 34, 0.94), rgba(3, 5, 14, 0.95));
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.14), 0 18px 38px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.form-section::before,
.complete-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow));
}

.form-section h2 {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.58);
}

.field,
.choice-field { margin: 0 0 16px; }
.field:last-child,
.choice-field:last-child { margin-bottom: 0; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label,
legend {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 900;
}

label span,
legend span {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.14);
  color: var(--cyan);
  font-size: 11px;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(0, 210, 255, 0.26);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.48);
  font: inherit;
  outline: none;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.14), 0 0 18px rgba(0, 210, 255, 0.22);
}

.date-input-wrap {
  position: relative;
}

.date-input-wrap input[type="date"] {
  color-scheme: dark;
  padding-right: 52px;
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  width: 52px;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.date-input-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 210, 255, 0.48);
  border-radius: 7px;
  background: rgba(0, 210, 255, 0.13);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.24);
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
}

select option { color: #101010; }

.choice-field { padding: 0; border: 0; }

.seat-option {
  min-height: 68px;
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.seat-option:has(input:checked) {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.24);
  transform: translateY(-1px);
}

.seat-option input {
  width: auto;
  min-height: auto;
  accent-color: var(--cyan);
}

.seat-option__body {
  display: grid;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.seat-option__body strong { font-size: 16px; line-height: 1.4; }
.seat-option__body small { color: var(--muted); font-size: 12px; }

.seat-preview {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border: 1px solid rgba(230, 51, 255, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 24px rgba(230, 51, 255, 0.16);
  animation: seatPreviewSlide 0.28s ease-out;
}

.seat-preview[hidden] {
  display: none;
}

.seat-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.seat-preview div { padding: 0 14px 14px; }
.seat-preview p { margin: 0 0 2px; font-weight: 900; }
.seat-preview span { color: var(--muted); font-size: 13px; }

@keyframes seatPreviewSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.field-note,
.submit-area p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field-note--tel {
  color: #fff4c9;
  font-weight: 800;
}

.field-note--tel a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}

.error-text {
  display: none;
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-text { display: block; }

.submit-area { padding: 2px 0 20px; }

button,
.home-button,
.line-button,
.sub-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 48%, var(--pink));
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.34), 0 12px 28px rgba(0, 85, 255, 0.34);
}

.complete-actions {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.line-button {
  background: linear-gradient(135deg, #05b23f, #00d66f);
  box-shadow: 0 0 24px rgba(0, 214, 111, 0.28);
}

.sub-button {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.complete-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-table {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
}

.summary-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.summary-row dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.line-reservation-card h2 {
  font-size: 19px;
}

button:disabled { cursor: progress; opacity: 0.65; }

.complete-shell {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.complete-panel { text-align: left; }
.complete-panel h1 { font-family: var(--font-jp); font-size: clamp(28px, 8vw, 44px); }
.notice--complete { margin-bottom: 22px; }

@media (max-width: 560px) {
  .reserve-shell { padding-inline: 14px; }
  .reserve-header { min-height: 76vh; }
  .reserve-header--compact { min-height: auto; }
  .form-section { padding: 20px 14px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .summary-row { grid-template-columns: 1fr; gap: 2px; }
}
