body {
  background: #fffdfa;
}

.header-actions .reserve-button svg {
  width: 2.5rem;
  height: 2.5rem;
}

.header-instagram {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.8rem;
  border: 1px solid #c9a98e;
  border-radius: 1.2rem;
  background: #fff;
  font-family: var(--en);
  font-size: 1.5rem;
}

.header-instagram img {
  width: 2.8rem;
}

.reserve-hero {
  display: grid;
  grid-template-columns: 48% 52%;
  height: 40rem;
}
.reserve-hero__image {
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  overflow: hidden;
  font-size: 2rem;
}

.reserve-left {
  position: relative;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(
    90deg,
    #ffffff 0,
    #ffffff 22px,
    #a3d6cc5c 22px,
    #a3d6cc5c 44px
  );
  overflow: hidden;
}

.reserve-left .pagetop-frame {
  position: absolute;
  inset: 3rem;
  display: grid;
  place-items: center;
}

.reserve-left .pagetop-frame__content {
  position: relative;
  z-index: 3;
  padding: 3rem;
  text-align: center;
}

.reserve-hero h1 {
  font-family: var(--en);
  font-size: 6rem;
  font-weight: 400;
  line-height: 1.2;
}

.reserve-hero__jp {
  margin: 0.5rem 0 2.5rem;
  font-size: 2rem;
}

.reserve-hero__image {
  align-self: stretch;
  justify-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  background: #d9d9d9;
  color: #747474;
  font-family: var(--en);
  font-size: 2rem;
  letter-spacing: 0.08em;
}

/* 下層トップ右側：div.sampleをimgへ差し替えた場合もセクション内の同じ大きさに収める */
img.reserve-hero__image {
  display: block;
  background: none;
}

.reserve-section {
  padding: 6rem 0;
}

.reserve-container {
  width: min(calc(100% - 6rem), 112rem);
  margin-inline: auto;
}

.reserve-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--blue);
  font-family: var(--en);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

/* .reserve-heading::before,
.reserve-heading::after {
  content: "✧";
  color: var(--mint);
  font-size: 2rem;
} */
.example-heading-row {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) auto minmax(6rem, 1fr);
  align-items: center;
  gap: 2rem;
  width: min(78rem, 100%);
  margin-inline: auto;
}

.example-heading-row img {
  width: 100%;
  max-height: 2rem;
  object-fit: contain;
}
.reserve-heading small {
  flex-basis: 100%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.schedule-legend,
.schedule-note {
  text-align: center;
}

.schedule-legend {
  margin: 3rem 0 2rem;
  font-size: 1.8rem;
}

.schedule-swipe {
  display: none;
  color: var(--blue);
  font-size: 1.4rem;
  text-align: right;
}

.schedule-status {
  min-height: 2.4rem;
  text-align: center;
}

.schedule-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #add8d1;
  border-radius: 0.6rem;
  background: #fff;
  scrollbar-color: var(--mint) #eef7f5;
}

.schedule-table {
  width: 100%;
  min-width: 96rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  height: 4rem;
  padding: 0.7rem;
  border-right: 1px solid #c7e1dc;
  border-bottom: 1px solid #c7e1dc;
  text-align: center;
  font-weight: 600;
}

.schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #8dccbf;
  color: #fff;
  font-weight: 500;
}

.schedule-table thead th:first-child,
.schedule-table tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 12rem;
  background: #f6fbfa;
  color: var(--blue);
  font-weight: 400;
}

.schedule-table thead th:first-child {
  z-index: 4;
  background: #eef8f6;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: 0;
}

.status-open {
  color: #3a7b70;
  font-weight: 900;
}

.status-few {
  color: #bd8b3d;
  font-weight: 900;
}

.status-close {
  color: #9a5757;
  font-weight: 900;
}

.status-holiday {
  color: var(--ink);
  font-weight: 900;
}

.schedule-note {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.empty-message,
.error-message {
  padding: 4rem;
  text-align: center;
}

.booking-guide {
  padding-top: 1rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.reserve-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  margin-top: 6rem;
}

.reserve-steps li {
  position: relative;
}

.reserve-steps li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -2.8rem;
  top: 7rem;
  color: #6dbbae;
  font-size: 4rem;
}

.step-number {
  position: absolute;
  left: 50%;
  top: -1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8dccbf;
  color: #fff;
  font-family: var(--en);
  transform: translateX(-50%);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 13rem;
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: #e7f3f0;
  color: #66b5a8;
}

.step-icon svg {
  width: 5.2rem;
  height: 5.2rem;
}

.reserve-steps h3 {
  font-size: 1.8rem;
  font-weight: 500;
}

.reserve-steps p {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.booking-options {
  width: min(52rem, 100%);
  margin-inline: auto;
  padding: 3rem;
  border: 1px solid #9dcec5;
  background: #fff;
  text-align: center;
  border-radius: 0.8rem;
}

.booking-options h2 {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 500;
}

.booking-options > p {
  margin: 1.5rem 0 2rem;
}

.booking-options a {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.6rem 2rem;
  border: 1px solid #c9a98e;
  border-radius: 0.8rem;
  text-align: left;
  transition: 0.25s;
}

.booking-options a:hover,
.reserve-contact-strip a:hover {
  background: #dceeea;
  border-color: #dceeea;
}

.booking-options img,
.booking-options svg {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.booking-options small {
  display: block;
  font-size: 1rem;
}

.form-panel {
  padding: 2.5rem 9rem 2rem;
  border: 1px solid #add8d1;
  border-radius: 1rem;
  background: #fff;
}

.reserve-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "name contact" "message message" "submit submit";
  gap: 2rem 5rem;
  margin-top: 2rem;
}

.reserve-form label {
  display: grid;
  gap: 0.7rem;
  font-size: 1.3rem;
}

.reserve-form label:nth-of-type(1) {
  grid-area: name;
}

.reserve-form label:nth-of-type(2) {
  grid-area: contact;
}

.reserve-form label:nth-of-type(3) {
  grid-area: message;
}

.common-contact__heading-row2 {
  display: grid;
  grid-template-columns: minmax(4rem, 1fr) auto minmax(4rem, 1fr);
  gap: 1.5rem;
  align-items: center;
  width: min(58rem, 100%);
  margin: 0 auto;
  margin-top: 1rem;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
}

.required-label {
  display: inline-grid;
  place-items: center;
  min-width: 3.8rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid #c66;
  border-radius: 0.3rem;
  color: #c66;
  font-size: 1.1rem;
  line-height: 1.3;
}

.reserve-form input,
.reserve-form textarea {
  width: 100%;
  min-width: 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid #d6d1ce;
  border-radius: 0.4rem;
  background: #fff;
}

.reserve-form textarea {
  height: 100%;
  min-height: 12rem;
  resize: vertical;
}
.reserve-form {
  grid-template-areas:
    "name contact"
    "message message"
    "consent consent"
    "submit submit";
}

.privacy-consent {
  grid-area: consent;
  margin: 0;
  text-align: center;
  margin: 4rem;
}

.privacy-consent label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: 1.2rem;
}

.privacy-consent input {
  width: 1.6rem;
  min-width: 1.6rem;
  height: 1.6rem;
}

.privacy-consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.reserve-submit {
  grid-area: submit;
  display: flex;
  justify-content: space-between;
  width: 28rem;
  margin: 0 auto;
  padding: 1.3rem 5rem;
  border: 0;
  border-radius: 1rem;
  background: #72bcae;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}

.reserve-submit:hover {
  background: #dceeea;
  color: var(--ink);
}

.privacy-note {
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
}

.reserve-contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: min(calc(100% - 6rem), 80%);
  margin: 0 auto 1rem;
  padding: 1.5rem 3rem;
  border: 1px solid #add8d1;
  border-radius: 1rem;
}

.reserve-contact-strip > p {
  margin-right: auto;
  color: var(--blue);
  font-size: 1.6rem;
}

.reserve-contact-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 25rem;
  padding: 1.2rem;
  border: 1px solid #c9a98e;
  border-radius: 0.8rem;
  transition: 0.25s;
}

.reserve-contact-strip img,
.reserve-contact-strip svg {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.reserve-footer {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem max(4rem, calc((100% - 110rem) / 2));
  background: linear-gradient(90deg, #cae8e2, #fff 30%, #fff 70%, #cae8e2);
}

.reserve-footer__brand {
  text-align: center;
}

.reserve-footer__brand img {
  width: 13rem;
  height: 8rem;
  margin: auto;
  object-fit: contain;
}

.reserve-footer h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.reserve-footer h2 svg {
  color: #66b5a8;
}

.reserve-footer p {
  font-size: 1.2rem;
}

.copyright {
  padding: 0.7rem;
  background: #8dccbf;
  color: #fff;
  font-family: var(--en);
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .header-instagram {
    display: none;
  }

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

  .booking-options {
    width: min(52rem, 100%);
    margin: auto;
  }

  .reserve-contact-strip {
    flex-wrap: wrap;
  }

  .reserve-contact-strip > p {
    width: 100%;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .reserve-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .reserve-left {
    min-height: 30rem;
  }

  .reserve-left .pagetop-frame {
    inset: 1.5rem;
  }

  .reserve-left .fv__corner {
    width: 6rem;
  }

  .reserve-left .fv__corner--lt,
  .reserve-left .fv__corner--rt {
    top: 0;
  }

  .reserve-left .fv__corner--lb,
  .reserve-left .fv__corner--rb {
    bottom: 0;
  }

  .reserve-left .fv__corner--lt,
  .reserve-left .fv__corner--lb {
    left: 0;
  }

  .reserve-left .fv__corner--rt,
  .reserve-left .fv__corner--rb {
    right: 0;
  }

  .reserve-hero h1 {
    font-size: 4rem;
  }

  .reserve-hero__jp {
    font-size: 1.7rem;
  }

  .reserve-hero__image {
    width: 100%;
    height: 25rem;
  }

  .reserve-section {
    padding: 4.5rem 0;
  }

  .reserve-container {
    width: min(calc(100% - 3.2rem), 112rem);
  }

  .reserve-heading {
    font-size: 2.6rem;
  }

  .schedule-legend {
    font-size: 1.6rem;
  }

  .schedule-swipe {
    display: block;
  }

  .schedule-scroll {
    margin-right: calc(50% - 50vw);
    border-radius: 0.6rem 0 0 0.6rem;
  }

  .schedule-table {
    min-width: 82rem;
  }

  .schedule-table th,
  .schedule-table td {
    height: 3.8rem;
    padding: 0.6rem;
    font-size: 1.2rem;
  }

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

  .reserve-steps {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .reserve-steps li:not(:last-child)::after {
    content: "⌄";
    left: 50%;
    right: auto;
    top: auto;
    bottom: -4.5rem;
    transform: translateX(-50%);
  }

  .booking-options {
    padding: 2rem;
  }

  .form-panel {
    padding: 2.5rem 1.6rem;
  }

  .reserve-form {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "contact" "message" "submit";
    gap: 1.8rem;
  }

  .reserve-form {
    grid-template-areas:
      "name"
      "contact"
      "message"
      "consent"
      "submit";
  }
  .reserve-submit {
    width: 100%;
    max-width: 28rem;
  }

  .reserve-contact-strip {
    display: grid;
    width: calc(100% - 3.2rem);
    padding: 2rem 1.6rem;
  }

  .reserve-contact-strip a {
    width: 100%;
  }

  .reserve-footer {
    grid-template-columns: 0.8fr 1fr 1.2fr;
    gap: 1rem;
    padding: 2rem 1rem;
    text-align: left;
  }

  .reserve-footer h2 {
    justify-content: left;
    gap: 0.4rem;
    font-size: 1rem;
    margin: 1rem 0;
  }

  .reserve-footer h2 svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .reserve-footer p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .reserve-footer__brand img {
    width: 7rem;
    height: 5rem;
  }
}

/* 予約表の横スクロール領域 */
.schedule-scroll {
  display: block;
  width: 100%;
  max-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

#schedule-table-area {
  width: max(96rem, 100%);
  min-width: 96rem;
}

.schedule-table {
  width: 100%;
  min-width: 96rem;
}

@media (max-width: 767px) {
  .schedule-scroll {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-bottom: 0.8rem;
    border-radius: 0.6rem;
  }

  .schedule-scroll::-webkit-scrollbar {
    height: 0.8rem;
  }

  .schedule-scroll::-webkit-scrollbar-track {
    background: #eef7f5;
  }

  .schedule-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--mint);
  }

  #schedule-table-area,
  .schedule-table {
    width: 82rem;
    min-width: 82rem;
  }
}
