:root {
  --color-text: #1a1a1a;
  --color-text-mute: #888;
  --color-bg: #ffffff;
  --color-line: #e5e5e5;
  --color-accent: #20B6AA;
  --max-w: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-pad-y: clamp(64px, 10vw, 140px);
  --header-h: 64px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "ヒラギノ角ゴシック", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-feature-settings: "palt";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

/* ============================================================
   Header
============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
  will-change: transform, opacity;
}
.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  width: auto;
  height: clamp(18px, 2.2vw, 26px);
}

.site-header__store {
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 10px 22px;
  border: 1px solid var(--color-accent);
  text-decoration: none;
  color: #fff;
  background: var(--color-accent);
  transition: opacity 0.25s ease;
}
.site-header__store:hover {
  opacity: 0.85;
}

/* ============================================================
   Hero (MP4)
============================================================ */
.hero {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(60px, 8vw, 100px);
  background: #fff;
}
.hero__cover {
  display: block;
  width: 100%;
  margin: 0;
}
.hero__video {
  width: 100%;
  height: auto;
  display: block;
}
.hero__video--sp { display: none; }
.hero__logo {
  display: block;
  margin: clamp(48px, 6vw, 96px) auto 0;
  max-width: 660px;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}
.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero { padding: 0 0 clamp(40px, 8vw, 64px); }
  .hero__video--pc { display: none; }
  .hero__video--sp { display: block; }
  .hero__logo {
    max-width: 100%;
    margin-top: clamp(32px, 8vw, 56px);
  }
}

/* ============================================================
   Banner (full-width image above intro)
============================================================ */
.banner {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Intro
============================================================ */
.intro {
  text-align: center;
  padding: var(--section-pad-y) var(--gutter);
  max-width: 760px;
  margin: 0 auto;
}
.intro__catch {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
}
.intro__lead {
  font-size: 14px;
  line-height: 2.0;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
}

/* ============================================================
   Feature Section
============================================================ */
.feature {
  background: #fff;
}
.feature + .feature {
  border-top: 1px solid var(--color-line);
}
.feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad-y) var(--gutter);
}
.feature__inner > * {
  min-width: 0;
}
.feature-swiper {
  width: 100%;
}
.feature__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-text-mute);
  margin: 0 0 32px;
  text-transform: uppercase;
}
.feature__heading {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.7;
  margin: 0 0 32px;
  letter-spacing: 0.05em;
}
.feature__body {
  font-size: 14px;
  line-height: 2.0;
  color: var(--color-text);
  max-width: 480px;
  margin: 0;
}
.feature__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Swiper customization for feature carousels */
.feature-swiper {
  --swiper-theme-color: #1a1a1a;
  --swiper-navigation-size: 22px;
  --swiper-pagination-bullet-inactive-color: #ccc;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-color: #1a1a1a;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.feature-swiper .swiper-slide {
  height: 100%;
}
.feature-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-swiper .swiper-pagination {
  bottom: 12px;
}
.feature-swiper .swiper-button-prev,
.feature-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border: none;
  margin-top: -20px;
  transition: background 0.2s ease;
}
.feature-swiper .swiper-button-prev:hover,
.feature-swiper .swiper-button-next:hover {
  background: #fff;
}
.feature-swiper .swiper-button-prev::after,
.feature-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .feature__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature__media { order: 1; }
  .feature__text  { order: 2; }
  .feature__label { margin-bottom: 16px; }
  .feature__heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .feature__body { max-width: none; }
}

/* ============================================================
   Gallery
============================================================ */
.gallery {
  background: #fff;
}
.gallery__lead {
  font-size: 13px;
  font-weight: 500;
  line-height: 2.0;
  text-align: center;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto;
  padding: var(--section-pad-y) var(--gutter) 0;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad-y) var(--gutter);
}
.gallery__lead + .gallery__grid {
  padding-top: clamp(40px, 6vw, 72px);
}
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  text-decoration: none;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 300;
}
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

/* ============================================================
   Buy / Product info
============================================================ */
.buy {
  background: #fafafa;
  border-top: 1px solid var(--color-line);
}
.buy__gallery {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--section-pad-y) var(--gutter) 0;
}
.buy__gallery > * {
  min-width: 0;
}
.buy-main-swiper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  --swiper-theme-color: #1a1a1a;
  --swiper-navigation-size: 22px;
}
.buy-main-swiper .swiper-slide {
  height: 100%;
}
.buy-main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.buy-main-swiper .swiper-button-prev,
.buy-main-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border: none;
  margin-top: -20px;
  transition: background 0.2s ease;
}
.buy-main-swiper .swiper-button-prev:hover,
.buy-main-swiper .swiper-button-next:hover {
  background: #fff;
}
.buy-main-swiper .swiper-button-prev::after,
.buy-main-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}
.buy-thumbs-swiper {
  margin-top: 8px;
  overflow: hidden;
}
.buy-thumbs-swiper .swiper-slide {
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.buy-thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
}
.buy-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.buy__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) var(--section-pad-y);
  text-align: center;
}
.buy__name {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.buy__price {
  font-size: 18px;
  margin: 0 0 40px;
  letter-spacing: 0.05em;
}
.buy__tax {
  font-size: 12px;
  color: var(--color-text-mute);
  margin-left: 4px;
}
.buy__spec {
  display: grid;
  gap: 12px;
  margin: 0 auto 48px;
  max-width: 480px;
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
}
.buy__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.buy__row dt {
  color: var(--color-text-mute);
  letter-spacing: 0.08em;
  margin: 0;
}
.buy__row dd {
  margin: 0;
}
.buy__cta {
  display: inline-block;
  padding: 18px 56px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.2em;
  transition: opacity 0.25s ease;
}
.buy__cta:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .buy__row {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }
  .buy__cta {
    padding: 16px 40px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  padding: 32px var(--gutter);
  text-align: center;
  font-size: 11px;
  color: var(--color-text-mute);
  letter-spacing: 0.1em;
}
.site-footer p { margin: 0; }

/* ============================================================
   PC-only typography scale (small text +20%)
   小サイズ文字を PC のみ 1.2 倍。SP では現状維持。
============================================================ */
@media (min-width: 769px) {
  .intro__lead { font-size: 17px; }
  .feature__label { font-size: 13px; }
  .feature__body { font-size: 17px; }
  .site-header__store { font-size: 13px; }
  .buy__price { font-size: 22px; }
  .buy__tax { font-size: 14px; }
  .buy__spec { font-size: 16px; }
  .buy__cta { font-size: 16px; }
  .site-footer { font-size: 13px; }
  .gallery__lead { font-size: 16px; }
}

/* ============================================================
   Reduced motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
