/* visual section */
.visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.visual::before,
.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  animation: 18s ease-in-out infinite;
}

.visual::before {
  z-index: -3;
  opacity: 1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), var(--visual-01);
  animation-name: visual-fade-01;
}

.visual::after {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), var(--visual-02);
  animation-name: visual-fade-02;
}

.visual .visual-layer-03 {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), var(--visual-03);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  animation: visual-fade-03 18s ease-in-out infinite;
}

.visual .heading-1,
.visual .body-text-2,
.visual .btn-group {
  position: relative;
  z-index: 1;
}

.visual .btn-group {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 20px;
}

@keyframes visual-fade-01 {
  0%,
  30% {
    opacity: 1;
  }
  36%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes visual-fade-02 {
  0%,
  30% {
    opacity: 0;
  }
  36%,
  63% {
    opacity: 1;
  }
  69%,
  100% {
    opacity: 0;
  }
}

@keyframes visual-fade-03 {
  0%,
  63% {
    opacity: 0;
  }
  69%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* about section */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 33%);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.about-text {
  max-width: 700px;
  padding-top: 135px;
}

.about-desc {
  color: var(--color-light);
  padding: 60px 0 80px;
}

.about-video-wrap {
  position: relative;
}

.about-video {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-video-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 10px;
}

.about-control {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.about-control .icon {
  display: none;
  width: 18px;
  height: 18px;
}

.about-control .icon.is-active {
  display: block;
}

/* menu section */
.menu {
  padding: clamp(30px, 7vw, 80px) 0 clamp(70px, 10vw, 120px);
  overflow: hidden;
  padding-top: 20px;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding-left: max(20px, calc((100vw - 1140px) / 2 + 20px));
}

.menu-nav {
  flex: 0 0 auto;
  width: clamp(130px, 16vw, 220px);
}

.menu-title {
  margin-bottom: 30px;
}

.menu-marquee {
  flex: 1 1 auto;
  overflow: hidden;
}

.menu-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: menu-marquee 40s linear infinite;
}

.menu-track-group {
  display: flex;
  gap: 20px;
}

.menu-track-group img {
  width: 369px;
  height: 295px;
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}

.menu-page-gallery {
  padding-bottom: clamp(40px, 6vw, 72px);
}

@keyframes menu-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 5px));
  }
}

/* tip section */
.tip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--color-bg);
}

.tip__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.tip__bg {
  position: absolute;
  inset: -12%;
  background-image: var(--tip-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform-origin: center center;
}

.tip__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(17, 13, 12, 0.55) 0%,
      rgba(17, 13, 12, 0.35) 42%,
      rgba(17, 13, 12, 0.72) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 50%,
      rgba(197, 0, 45, 0.12) 0%,
      transparent 68%
    );
  will-change: opacity, transform;
}

.tip__grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  will-change: opacity;
}

.tip__contents {
  position: relative;
  z-index: 1;
}

.tip__text {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
  perspective: 720px;
  padding: 0 clamp(8px, 2vw, 16px);
}

.tip__text .tip-line {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .tip__bg,
  .tip__overlay,
  .tip__grain,
  .tip__text .tip-line {
    will-change: auto;
  }
}

/* sub nav section */

.sub-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.sub-nav-list > li {
  display: flex;
  flex-direction: column;
}

.sub-nav-list > li img {
  width: 100%;
  height: clamp(180px, 102.35px + 20.66vw, 400px);
  object-fit: cover;
  display: block;
}

.sub-nav-label {
  margin-top: 30px;
  margin-bottom: 10px;
}

.sub-nav-list .body-text-3 {
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}

.sub-nav-btn {
  margin-top: 40px;
  display: flex;
  gap: 12px;
}

/* review section */
.review {
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--review-bg) no-repeat center / cover;
}

.review-inner {
  text-align: center;
  width: 100%;
}

.review-inner .heading-1 {
  margin-bottom: 40px;
}

.review-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(28px, 8vw, 100px);
}

.review-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  line-height: 0;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.review-nav--prev {
  justify-self: start;
}

.review-nav--next {
  justify-self: end;
}

.review-nav:hover {
  opacity: 1;
}

.review-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

.review-nav img {
  display: block;
  width: clamp(18px, 2.2vw, 31px);
  height: auto;
}

.review-nav--next img {
  transform: scaleX(-1);
}

.review-rotator {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: min(680px, 100%);
  min-width: 0;
  min-height: 140px;
  /* Extra inset so the quote does not sit flush against the gutter */
  padding-inline: clamp(8px, 2vw, 20px);
  box-sizing: border-box;
}

.review-item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}

.review-item p {
  padding-bottom: 30px;
}

.review-item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-item .body-text-3 {
  color: rgba(255, 255, 255, 0.8);
}

.review-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.review-author img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* footer */
.footer-cta {
  min-height: 230px;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(17, 13, 12, 0.45), rgba(17, 13, 12, 0.45)),
    var(--footer-cta-bg) no-repeat center / cover;
}

.footer-cta-inner {
  display: flex;
  justify-content: space-between;
  margin: 80px auto;
  max-width: 1140px;
  padding: 0 clamp(16px, 3vw, 20px);
  text-align: left;
  width: 100%;
  align-items: center;
}

.footer-cta-title {
  margin-bottom: 10px;
}

.footer-cta-desc {
  color: rgba(255, 255, 255, 0.8);
}

.footer-cta-btn {
  min-width: 160px;
  margin-top: 40px;
}

.footer-main {
  padding: clamp(64px, 8vw, 100px) 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  gap: clamp(22px, 6vw, 96px);
  align-items: start;
}

.footer-branch {
  max-width: 240px;
}

.footer-branch:last-child {
  justify-self: end;
}

.footer-col h3 {
  margin-bottom: 14px;
}

.footer-info dt {
  margin-top: 10px;
  margin-bottom: 4px;
  font-weight: 600;
  color: rgba(255, 255, 255, 1);
}

.footer-info dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-sns {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-sns img {
  width: 17px;
  height: 17px;
  display: block;
}

.footer-nav {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.4s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-logo-wrap {
  margin-top: clamp(34px, 5vw, 58px);
  display: flex;
  justify-content: center;
}

.footer-logo-wrap img {
  width: min(150px, 45vw);
  height: auto;
  display: block;
}
