:root {
  --restaurant-ink: #2d2a27;
  --restaurant-muted: #68615a;
  --restaurant-accent: #e64b2d;
  --restaurant-accent-dark: #b9331c;
  --restaurant-paper: #f7f5f0;
  --restaurant-line: #d8d1c7;
  --restaurant-container: 1060px;
}

.restaurant-content,
.restaurant-main,
.restaurant-view {
  overflow: hidden;
}

.restaurant-view {
  color: var(--restaurant-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.restaurant-container {
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
  width: 100%;
  max-width: calc(var(--restaurant-container) + 48px);
}

.restaurant-hero {
  position: relative;
  min-height: clamp(360px, 48vw, 600px);
  background: #bbb4aa;
  color: #fff;
}

.restaurant-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .02) 52%, rgba(0, 0, 0, .16));
}

.restaurant-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 110px 24px 24px;
}

.restaurant-hero__title {
  margin: 0;
  color: inherit;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.restaurant-surface {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
  background-color: var(--restaurant-paper);
  background-image: url("../../assets/images/block-bg01.jpg");
  background-position: center top;
  background-size: 100% auto;
}

.restaurant-surface::before,
.restaurant-surface::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 230px;
  height: 540px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .7) 0 13px, transparent 13px 28px);
  opacity: .75;
  pointer-events: none;
}

.restaurant-surface::before {
  top: 0;
  right: 7%;
}

.restaurant-surface::after {
  bottom: 7%;
  left: 4%;
}

.restaurant-surface > * {
  position: relative;
  z-index: 1;
}

.restaurant-intro {
  text-align: center;
}

.restaurant-view--breakfast .restaurant-intro {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.restaurant-intro__title,
.restaurant-page-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.55;
}

.restaurant-intro p,
.restaurant-page-lead,
.restaurant-feature__copy p,
.restaurant-season-note,
.restaurant-notes {
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 2;
}

.restaurant-intro p {
  margin: 0;
}

.restaurant-page-lead {
  margin-bottom: clamp(50px, 7vw, 88px);
  text-align: center;
}

.restaurant-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(48px, 7vw, 88px);
}

.restaurant-link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: end;
  color: inherit;
  text-decoration: none;
}

.restaurant-link-card__visual {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #d0cbc3;
}

.restaurant-link-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.restaurant-link-card:hover .restaurant-link-card__image,
.restaurant-link-card:focus-visible .restaurant-link-card__image {
  transform: scale(1.025);
}

.restaurant-link-card__note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #fff;
  font-family: sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

.restaurant-link-card__title {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: .06em;
}

.restaurant-link-card__action {
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-family: sans-serif;
  font-size: .875rem;
}

.restaurant-link-card__action::after {
  content: "\2192";
  margin-left: .6em;
}

.restaurant-notes {
  margin-top: clamp(64px, 8vw, 108px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--restaurant-accent);
  background: rgba(255, 241, 237, .66);
}

.restaurant-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.restaurant-notes li {
  position: relative;
  padding-left: 1.5em;
}

.restaurant-notes li + li {
  margin-top: .65em;
}

.restaurant-notes li::before {
  content: "\25CE";
  position: absolute;
  left: 0;
}

.restaurant-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(17px, 2.5vw, 34px);
  align-items: start;
}

.restaurant-feature + .restaurant-feature {
  margin-top: clamp(76px, 10vw, 132px);
}

.restaurant-feature__gallery {
  min-width: 0;
}

.restaurant-feature__copy h2 {
  margin: 0 0 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.45;
}

.restaurant-feature__copy p {
  margin: 0;
}

.restaurant-feature__copy p + p {
  margin-top: .25em;
}

.restaurant-feature__copy .restaurant-feature__note {
  margin-top: 1.3rem;
  color: var(--restaurant-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.restaurant-season-note {
  grid-column: 1 / -1;
  margin-top: 22px;
  color: var(--restaurant-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.restaurant-season-note p {
  margin: 0;
}

.restaurant-season-note__schedule {
  color: var(--restaurant-ink);
  font-weight: 700;
}

.restaurant-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-top: 2rem;
  padding: .85rem 1.8rem;
  min-width: 170px;
  border: 1px solid var(--restaurant-accent);
  background: rgba(255, 255, 255, .66);
  color: var(--restaurant-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.restaurant-button:hover,
.restaurant-button:focus-visible {
  background: var(--restaurant-accent);
  color: #fff;
}

.restaurant-button.is-disabled {
  border-color: #b8b2aa;
  background: rgba(231, 228, 222, .8);
  color: #77716a;
  cursor: not-allowed;
}

.restaurant-visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

.restaurant-contact,
.restaurant-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(64px, 8vw, 100px);
}

.restaurant-gallery__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #d0cbc3;
}

.restaurant-gallery__slides,
.restaurant-gallery__slide,
.restaurant-gallery__image {
  width: 100%;
  height: 100%;
}

.restaurant-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}

.restaurant-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.restaurant-gallery__image {
  display: block;
  object-fit: cover;
}

.restaurant-gallery__arrow,
.restaurant-gallery__toggle {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(28, 25, 22, .55);
  color: #fff;
  cursor: pointer;
}

.restaurant-gallery__arrow {
  top: 50%;
  width: 42px;
  height: 64px;
  font-size: 2.25rem;
  transform: translateY(-50%);
}

.restaurant-gallery__arrow--prev {
  left: 0;
}

.restaurant-gallery__arrow--next {
  right: 0;
}

.restaurant-gallery__toggle {
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  font-size: .9rem;
}

.restaurant-gallery__arrow:hover,
.restaurant-gallery__arrow:focus-visible,
.restaurant-gallery__toggle:hover,
.restaurant-gallery__toggle:focus-visible {
  background: rgba(230, 75, 45, .92);
}

.restaurant-gallery__thumbs {
  display: grid;
  /* 先方確認用の暫定仕様：5枚表示、6枚目以降は横スクロール。 */
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - 4px);
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-top: 8px;
  padding: 0 0 8px;
  scrollbar-color: var(--restaurant-accent) rgba(104, 97, 90, .2);
  scrollbar-width: thin;
}

.restaurant-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.restaurant-gallery__thumbs::-webkit-scrollbar-track {
  background: rgba(104, 97, 90, .2);
}

.restaurant-gallery__thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--restaurant-accent);
}

.restaurant-gallery__thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-width: 0;
  aspect-ratio: 8 / 5;
  border: 0;
  background: #d0cbc3;
  cursor: pointer;
}

.restaurant-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid var(--restaurant-accent);
  transition: border-width .15s ease;
}

.restaurant-gallery__thumb.is-active::after,
.restaurant-gallery__thumb:focus-visible::after {
  border-width: 3px;
}

.restaurant-gallery__thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-link-card__image,
  .restaurant-gallery__slide {
    transition: none;
  }
}

@media only screen and (max-width: 760px) {
  .restaurant-container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .restaurant-hero {
    min-height: 75vw;
    max-height: 520px;
  }

  .restaurant-hero__overlay {
    padding-top: 84px;
  }

  .restaurant-surface {
    padding-top: 54px;
    padding-bottom: 76px;
  }

  .restaurant-surface::before,
  .restaurant-surface::after {
    width: 120px;
    height: 360px;
    opacity: .45;
  }

  .restaurant-intro p,
  .restaurant-page-lead,
  .restaurant-feature__copy p,
  .restaurant-season-note,
  .restaurant-notes {
    line-height: 1.8;
  }

  .restaurant-links,
  .restaurant-feature {
    grid-template-columns: 1fr;
  }

  .restaurant-link-card {
    grid-template-columns: 1fr auto;
  }

  .restaurant-feature {
    gap: 28px;
  }

  .restaurant-feature__copy {
    padding: 0 4px;
  }

  .restaurant-season-note {
    margin-top: 0;
  }

  .restaurant-gallery__arrow {
    width: 38px;
    height: 54px;
  }

  .restaurant-contact,
  .restaurant-actions {
    flex-direction: column;
    align-items: center;
  }

  .restaurant-button {
    width: min(100%, 280px);
  }
}

@media only screen and (max-width: 420px) {
  .restaurant-link-card {
    grid-template-columns: 1fr;
  }

  .restaurant-link-card__action {
    justify-self: start;
  }
}
