@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Corporate Logo Ver2";
  src: url("fonts/Corporate-Logo-Bold-ver2.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #e60022;
  --ink: #696969;
}
* {
  box-sizing: border-box;
}
.sp-only {
  display: none;
}
html {
  font-size: 100%;
  background: #f0eced;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans JP", sans-serif;
}
.hero,
.footer {
  z-index: 1;
  overflow: hidden;
  position: relative;
  background: #f0eced;
}
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
}
.kv {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 64.375rem;
  margin-bottom: 1rem;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.kv img {
  display: block;
  width: 100%;
  height: auto;
}
.intro {
  position: relative;
  z-index: 3;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
  background: transparent;
  color: #fff;
  padding: 2.75rem 1.25rem 10rem;
  text-align: center;
}
.intro::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 8rem));
}
.intro > * {
  position: relative;
  z-index: 1;
}
.intro h1 {
  margin: 0 0 1.875rem;
  font-size: 1.5rem;
  line-height: 1.8;
}
.intro p {
  margin: 0 auto;
  max-width: 42.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.65;
}
.shops {
  display: grid;
  grid-template-columns: repeat(2, minmax(16.25rem, 29.375rem));
  justify-content: center;
  gap: 1.75rem;
  margin: 2.625rem auto -7.25rem;
}
.shop {
  min-height: 19.375rem;
  padding: 1.6875rem 1.375rem 1.375rem;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 0.375rem 0.625rem rgba(73, 0, 9, 0.16);
  color: var(--red);
}
.shops > .new-open {
  grid-column: 1 / -1;
  margin: 0;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}
.shop .opening {
  margin: 0.25rem 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
}
.shop h2 {
  margin: 0 0 0.75rem;
  font-size: 2.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.shop .label {
  margin: 0 0 1.5rem;
  padding: 0.375rem;
  transform: skew(-10deg);
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  font-family: "Corporate Logo Ver2", "IBM Plex Sans JP", sans-serif;
}
.shop .label span {
  display: block;
  transform: skew(10deg);
}
.shop address {
  margin: 0.25rem 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}
.store-photo {
  position: relative;
  z-index: 2;
  margin-top: -8rem;
  min-height: clamp(29.875rem, 44vw, 53rem);
  background: image-set(
      url("img/shop-bg.webp") type("image/webp"),
      url("img/shop-bg.jpg") type("image/jpeg")
    )
    center calc(50% + var(--parallax-y, 0px)) / cover no-repeat;
}
.footer {
  min-height: 16rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}
.footer-content {
  position: relative;
  z-index: 1;
}
.footer p {
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 700;
}
.x-link {
  display: inline-grid;
  width: 2.375rem;
  height: 2.375rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}
.x-link img {
  width: 1.125rem;
  filter: brightness(0) invert(1);
}
.copyright {
  margin-top: 3.625rem;
  color: #888;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.8;
}
@media (max-width: 40.625rem) {
  .hero {
    min-height: 0;
    padding: 0;
  }
  .kv {
    margin-top: 2rem;
    margin-bottom: 2.25rem;
  }
  .intro {
    padding-top: 2.125rem;
  }
  .shops {
    grid-template-columns: minmax(0, 24.375rem);
    margin-bottom: -4.6875rem;
    gap: 1.125rem;
  }
  .shop {
    min-height: 12.8125rem;
    padding: 1.375rem 1.125rem;
  }
  .store-photo {
    min-height: 20.625rem;
    background-position: 48% calc(50% + var(--parallax-y, 0px));
  }
  .intro h1 {
    font-size: 1.25rem;
  }
  .sp-only {
    display: block;
  }
  .intro p {
    font-size: 1rem;
  }
  .shop .opening {
    font-size: 1.125rem;
  }
  .shops > .new-open {
    font-size: 2rem;
  }
  .shop h2 {
    font-size: 2rem;
  }
  .shop .label {
    font-size: 1.25rem;
  }
  .shop address {
    font-size: 0.875rem;
  }
}

/* スクロール連動のパララックス */
.kv,
.store-photo {
  will-change: transform, background-position;
}
