:root {
  --page: #000;
  --blue: #087df1;
  --blue-dark: #005ec3;
  --pink: #ff4db3;
  --focus: #ffe04d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--page);
}

html {
  scroll-behavior: smooth;
}

body {
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.7;
}

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

.lp {
  width: 100%;
}

.floating-reserve-button {
  position: fixed;
  right: max(14px, calc((100vw - 750px) / 2 + 14px));
  bottom: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6565 0%, #e60012 100%);
  box-shadow: 0 5px 0 #8d000b, 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.floating-reserve-button::after {
  content: "↓";
  margin-left: 8px;
  font-size: 20px;
  line-height: 1;
}

.floating-reserve-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #8d000b, 0 5px 18px rgba(0, 0, 0, 0.25);
}

.visuals {
  background: #000;
}

.visuals__inner,
.reservation__inner,
.thanks__inner {
  width: min(100%, 750px);
  margin: 0 auto;
}

.visuals img {
  display: block;
  width: 100%;
  height: auto;
}

.reservation,
.thanks {
  background: #fff;
  padding: 32px 16px 40px;
}

.reservation__inner,
.thanks__inner {
  background: #fff;
  border: 1px solid #e4e4e4;
  padding: 24px 20px 28px;
}

h1 {
  margin: 0;
  color: #121212;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.25;
  text-align: center;
}

.reservation__lead,
.thanks p {
  margin: 8px 0 28px;
  color: #555;
  text-align: center;
}

.form {
  display: grid;
  gap: 22px;
}

.form__group {
  margin: 0;
  padding: 0;
  border: 0;
}

label,
legend {
  display: block;
  margin: 0 0 8px;
  color: #333;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  margin-right: 8px;
  padding: 2px 8px;
  background: #2376d7;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.badge--required {
  background: var(--pink);
}

input[type="email"],
input[type="file"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  color: #111;
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
input[type="file"]:focus-visible,
select:focus,
textarea:focus,
.choice:has(input:focus-visible) {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(255, 224, 77, 0.2);
}

.form__panel {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 18px;
  border: 1px solid #e0e0e0;
  background: #fbfbfb;
}

.form__panel h2 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
  color: #111;
  font-size: 20px;
  line-height: 1.35;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form__hint {
  margin: 8px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-weight: 700;
}

.check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.form__note {
  margin: -2px 0 10px 52px;
  color: #111;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 8px;
  font-weight: 800;
  text-align: center;
}

.choice input:checked + span {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--blue-dark);
}

.choice--disabled {
  border-color: #d5d5d5;
  background: #e5e5e5;
  color: #8a8a8a;
  cursor: not-allowed;
}

.choice--disabled span {
  background: #e5e5e5;
  color: #8a8a8a;
}

.choice--disabled small {
  display: block;
  margin-left: 6px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.privacy {
  margin: 0;
  padding: 14px;
  background: #f7f7f7;
  color: #333;
  font-size: 13px;
  line-height: 1.7;
}

.submit-button,
.home-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 6px 0 var(--blue-dark);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-button:active,
.home-button:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--blue-dark);
}

@media (max-width: 480px) {
  .floating-reserve-button {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-width: 0;
    min-height: 52px;
    font-size: 17px;
  }

  .reservation,
  .thanks {
    padding: 24px 10px 32px;
  }

  .reservation__inner,
  .thanks__inner {
    padding: 22px 10px 26px;
    border-right: 0;
    border-left: 0;
  }

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

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

  .form__panel {
    padding: 14px 10px;
  }

  .form__note {
    margin-left: 0;
  }
}
