﻿:root {
  --color-bg: #0f0f10;
  --color-text: #ffffff;
  --color-muted: #d8d3c8;
  --color-panel: rgba(255, 255, 255, 0.85);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
}

.site-bgm {
  display: none;
}

body.is-scroll-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.lp-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #eeefe9;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.lp-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/loader-bg-sp.webp") center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lp-loader.is-bg-ready::after {
  opacity: 1;
}

.lp-loader__inner {
  width: fit-content;
  max-width: 60vw;
  min-width: 0;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .lp-loader__inner {
    max-width: 100%;
  }
}

.lp-loader__logo {
  width: 100%;
}

.lp-loader__logo svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.lp-loader__logo path {
  fill: none;
  stroke: #1b1814;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lp-loader__logo.is-ready svg {
  opacity: 1;
  visibility: visible;
}

.lp-loader__by {
  margin: 22px 0 10px;
  color: #1b1814;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 32px;
  letter-spacing: 0.2em;
  text-transform: none;
  width: max-content;
  max-width: none;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  opacity: 0;
  animation: loader-fade-in 1.5s ease 3s forwards;
}

.lp-loader__line {
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 auto;
  background: #1b1814;
  opacity: 0;
  animation: loader-fade-in 1.5s ease 3s forwards;
}

.lp-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-fade-in {
  to {
    opacity: 1;
  }
}

.site-header {
  display: none;
}

.lp-hero {
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.lp-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #0f0f10 url("../images/hero-pc.webp") center/cover no-repeat;
}

.lp-hero__content {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0 auto;
  text-align: center;
  --hero-meta-top:130px;
  --hero-meta-size: 56px;
}

.lp-hero__meta {
  display: flex;
  padding: var(--hero-meta-top) 28px 0 28px;
  justify-content: center;
  align-items: flex-end;
  font-size: var(--hero-meta-size);
  letter-spacing: 0.12em;
  text-transform: none;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.7);
}

.lp-hero__rule {
  position: fixed;
  right: 100px;
  top: calc(var(--hero-meta-top) + (var(--hero-meta-size) * 0.5));
  width: 90px;
  height: 18px;
  display: grid;
  place-items: center;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: #000000;
  transform: translateY(-50%);
  z-index: 20;
  transition: top 0.3s ease;
}

body.is-scrolled .lp-hero__rule {
  top: 100px;
}

.lp-hero__rule:focus-visible {
  outline: 1px solid rgba(0, 0, 0, 0.7);
  outline-offset: 6px;
}

.lp-hero__rule-line {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 2px;
  background: #000000;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lp-hero__wave {
  width: 100%;
  height: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 6 L6 6 L10 2 L14 9 L18 4 L22 7 L26 1 L30 10 L34 3 L38 8 L42 2 L46 9 L50 6 L54 5 L58 11 L62 1 L66 8 L70 4 L74 9 L78 3 L82 10 L86 2 L90 7 L94 4 L98 9 L102 2 L106 8 L110 5 L114 7 L120 6' fill='none' stroke='%23000000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: repeat-x;
  background-size: 120px 12px;
  background-position: 0 center;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
  opacity: 0;
  transform-origin: center;
  transform: scaleY(0.15);
  transition: height 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.lp-hero__wave span {
  display: none;
}

.lp-hero__rule.is-playing .lp-hero__rule-line {
  opacity: 0;
}

.lp-hero__rule.is-playing .lp-hero__wave {
  height: 12px;
  opacity: 1;
  transform: scaleY(1);
  animation: hero-wave-move 1.2s linear infinite;
}

@keyframes hero-wave-move {
  to {
    background-position: -120px center;
  }
}

.lp-about {
  position: relative;
  background: #f6f3ef;
  color: #111;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  padding: 120px 0 160px;
}

.lp-about__bg {
  position: absolute;
  inset: 0;
  background: url("../images/about-bg.webp") center/cover no-repeat;
  opacity: 1;
}

.lp-about__content {
  position: relative;
  z-index: 1;
  width: min(720px, 88vw);
  margin: 0 auto;
  text-align: center;
}

.lp-about__kicker {
  color: #1b1814;
  text-align: center;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 5.1px;
  margin: 0 0 20px;
}

.lp-about__role {
  color: #1b1814;
  text-align: center;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.9px;
  margin: 0 0 12px;
}

.lp-about__name {
  color: #1b1814;
  text-align: center;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2.8px;
  margin: 0 0 32px;
}

.lp-about__image {
  margin: 0 0 32px;
}

.lp-about__image img {
  width: min(280px, 70vw);
  margin: 0 auto;
  display: block;
}

.lp-about__copy {
  text-align: left;
  color: #000;
  font-family: "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 1px;
}

.lp-about__copy p {
  margin: 0 0 20px;
}

.lp-about__em {
  font-weight: 600;
}

.lp-about__sign {
  text-align: center;
  margin-top: 40px;
}

.lp-about__sign img {
  display: inline-block;
  max-width: 240px;
  width: 60vw;
}

.lp-product {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f0f10;
}

.lp-product__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #0f0f10;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.lp-product__bg--base {
  background-image: url("../images/product-bg-01-pc.webp");
}

.lp-product__bg--next {
  background-image: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lp-product__bg--next.is-visible {
  opacity: 1;
}

.lp-product__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
}

.lp-product__title {
  color: #fffcf7;
  text-align: center;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 80px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 8px;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 188px;
  width: 100%;
  transition: opacity 0.35s ease;
}

.lp-product__thumbs {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}

.lp-product__thumb {
  position: relative;
  border: 1px solid #1B1814;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.lp-product__thumb img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.lp-product__thumb.is-active {
  border-color: transparent;
}

.lp-product__bg.is-fading,
.lp-product__title.is-fading {
  opacity: 0;
}

.lp-stack {
  background: #fbf7ef;
  color: #1b1814;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}

.lp-stack__content {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  width: min(720px, 90vw);
  margin: 0 auto;
  padding: 150px 0;
  text-align: center;
  z-index: 0;
}

.lp-stack__title {
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 40px;
  letter-spacing: 0.2em;
  margin: 0;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.lp-stack__cards {
  position: relative;
  width: min(420px, 80vw);
  margin: 0 auto;
  height: 485px;
  z-index: 1;
  margin-top:50px;
  contain: layout;
}

.lp-stack__card {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(-50%, 60px, 0);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.lp-stack__card:nth-child(1) { --stack-rotate: -6.449deg; }
.lp-stack__card:nth-child(2) { --stack-rotate: 4.484deg; }
.lp-stack__card:nth-child(3) { --stack-rotate: -7.539deg; }
.lp-stack__card:nth-child(4) { --stack-rotate: 17.142deg; }
.lp-stack__card:nth-child(5) { --stack-rotate: -10.78deg; }
.lp-stack__card:nth-child(6) { --stack-rotate: 4.814deg; }
.lp-stack__card:nth-child(7) { --stack-rotate: 0deg; }

.lp-stack__card img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-stack__card--cta {
  background: #E7E1D7;
  display: grid;
  place-items: center;
  position: relative;
}

.lp-stack__cta {
  text-align: center;
  padding: 32px 24px;
}

.lp-stack__cta-title {
  font-family: "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 24px;
  color: #1b1814;
}

.lp-stack__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #fdfaf4;
  color: #1b1814;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  border: 1px solid #e2dbd0;
}

.lp-stack__card--cta::after {
  content: "";
  position: absolute;
  inset: 0px;
  pointer-events: none;
  background:
    linear-gradient(#1b1814, #1b1814) left top / 18px 1px no-repeat,
    linear-gradient(#1b1814, #1b1814) left top / 1px 18px no-repeat,
    linear-gradient(#1b1814, #1b1814) right top / 18px 1px no-repeat,
    linear-gradient(#1b1814, #1b1814) right top / 1px 18px no-repeat,
    linear-gradient(#1b1814, #1b1814) right bottom / 18px 1px no-repeat,
    linear-gradient(#1b1814, #1b1814) right bottom / 1px 18px no-repeat,
    linear-gradient(#1b1814, #1b1814) left bottom / 18px 1px no-repeat,
    linear-gradient(#1b1814, #1b1814) left bottom / 1px 18px no-repeat;
}


.lp-stack__card:nth-child(1) { z-index: 1; }
.lp-stack__card:nth-child(2) { z-index: 2; }
.lp-stack__card:nth-child(3) { z-index: 3; }
.lp-stack__card:nth-child(4) { z-index: 4; }
.lp-stack__card:nth-child(5) { z-index: 5; }
.lp-stack__card:nth-child(6) { z-index: 6; }
.lp-stack__card:nth-child(7) { z-index: 7; }

.lp-contact {
  background: #fbf7ef;
  color: #1b1814;
  padding: 0px 0 100px;
  text-align: center;
}

.lp-contact__content {
  width: min(720px, 90vw);
  margin: 0 auto;
}

.lp-contact__title {
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 24px;
  letter-spacing: 0.2em;
  margin: 0 0 24px;
}

.lp-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 24px;
  background: #1b1814;
  color: #fffcf7;
  font-family: "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.lp-contact__address {
  font-family: "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  margin: 0;
}

.site-footer {
  background: #0f0f10;
  color: #fffcf7;
  text-align: center;
  padding: 24px 0 32px;
  font-family: "futura-pt", "futura-pt-bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (min-width: 769px) {
  .lp-product__thumb.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(#fff, #fff) left top / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) left top / 1px 15px no-repeat,
      linear-gradient(#fff, #fff) right top / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) right top / 1px 15px no-repeat,
      linear-gradient(#fff, #fff) right bottom / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) right bottom / 1px 15px no-repeat,
      linear-gradient(#fff, #fff) left bottom / 15px 1px no-repeat,
      linear-gradient(#fff, #fff) left bottom / 1px 15px no-repeat;
  }
}

@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  .lp-hero{
    min-height: 100svh;
  }

  .lp-loader__logo {
    max-width: 220px;
  }

  .lp-loader__by {
    font-size: 20px;
    letter-spacing: 0.12em;
    max-width: 100%;
  }

  .lp-loader__line {
    width: 40px;
    height: 1px;
  }

  .lp-hero__image {
    background-image: url("../images/hero-sp.webp");
  }

  .lp-hero__content {
    width: 100%;
    max-width: 100%;
    --hero-meta-size: 26px;
  }

  .lp-hero__rule {
    width: 44px;
    height: 16px;
    left: auto;
    right: 16px;
    top: 72px;
  }

  body.is-scrolled .lp-hero__rule {
    top: 40px;
  }

  .lp-hero__wave {
    background-size: 90px 10px;
  }

  .lp-hero__meta {
    padding: 115px 28px 0 28px;
    font-size: var(--hero-meta-size);
    color: #000000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.7);
  }

  .lp-about {
    padding: 80px 0 120px;
  }

  .lp-about__kicker {
    font-size: 16px;
  }

  .lp-about__copy {
    font-size: 14px;
    letter-spacing: 0.65px;
  }

  .lp-about__name {
    font-size: 20px;
  }

  .lp-product__bg {
    background-image: none;
  }

  .lp-product__bg--base {
    background-image: url("../images/product-bg-01-sp.webp");
  }

  .lp-product__title {
    color: #fffcf7;
    text-align: center;
    font-family: "futura-pt", "futura-pt-bold", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 3px;
    bottom: 166px;
  }

  .lp-product__thumbs {
    width: min(280px, 80vw);
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    bottom: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-product__thumb {
    justify-self: center;
  }

  .lp-product__thumb img {
    width: 44px;
    height: 44px;
  }

  .lp-stack {
    min-height: 100svh;
    padding: 96px 0 0px;
  }

  .lp-stack__content {
    height: 100svh;
  }

  .lp-stack__title {
    font-size: 23px;
    letter-spacing: 0.18em;
  }

  .lp-stack__cards {
    width: min(300px, 82vw);
    min-height: 260px;
    transform: scale(0.8);
    transform-origin: center top;
    margin-top:60px;
  }

  .lp-stack__card--cta {
    height: 347px;
  }

  .lp-stack__cta-title {
    font-size: 16px;
  }

  .lp-contact__title {
    font-size: 28px;
    letter-spacing: 0.3em;
  }

  .lp-contact__button {
    min-width: 200px;
    font-size: 18px;
  }

  .lp-contact__address {
    font-size: 14px;
  }
}
