/* ============================================================
   LP2 — depsoa クローンLP スタイル
   ダーク×モノトーン基調。色は :root 変数で一括変更できます。
   ============================================================ */

:root {
  --black: #141518;      /* ヘッダー・ダークセクション・フッターの背景 */
  --ink: #1a1b1e;        /* 明るい背景上の文字色 */
  --white: #f5f6f7;      /* 暗い背景上の文字色・明るい背景 */
  --gray: #767a80;       /* プレースホルダー・サブ色 */
  --accent: #2f6fe4;     /* ボタン・強調色（★差し替え推奨） */
  --line: #e3e4e6;       /* 罫線 */

  /* ▼ ステージレイアウト（PC: 中央だけスクロール） ▼ */
  --center-width: 620px; /* 中央カラムの幅 */
  --header-h: 60px;      /* スマホ用固定ヘッダーの高さ */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: #3a3f46; /* 背景写真が読み込めるまでの下地 */
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   ステージ（PCの3分割レイアウト: 中央だけスクロール・両サイド固定）
   ============================================================ */

/* ---------- 固定背景 ---------- */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../img/bg.jpg") center / cover no-repeat;
}
.stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.5) 0%, rgba(10, 11, 13, 0.1) 35%, rgba(10, 11, 13, 0) 50%, rgba(10, 11, 13, 0.1) 65%, rgba(10, 11, 13, 0.45) 100%);
}

/* ---------- 中央カラム（ここだけスクロール） ---------- */
.center-col {
  position: relative;
  z-index: 2;
  width: min(var(--center-width), 92vw);
  margin: 0 auto;
  min-height: 100svh;
  background: var(--white);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
}

/* ---------- 左パネル（固定） ---------- */
.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: max(240px, calc((100vw - var(--center-width)) / 2 - 24px));
  /* メニューを中央カラム寄りに置く: 左に大きな余白を取る */
  padding: 34px 28px 34px max(56px, calc((100vw - var(--center-width)) / 2 - 320px));
  display: flex;
  flex-direction: column;
  color: var(--white);
  overflow: hidden;
}
.side-panel__logo { height: 30px; width: auto; }
.side-panel__logo-link { display: inline-block; line-height: 0; }
.side-panel__brand-sub {
  font-size: 12px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  opacity: 0.8;
  margin-top: 10px;
}

.side-nav { margin-top: clamp(24px, 6vh, 56px); }
.side-nav li { margin-bottom: 16px; }
.side-nav a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s;
}
.side-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.side-nav__dash { opacity: 0.55; margin-right: 4px; }

/* 左パネルのステッカーロゴ（元LPは竜のキャラロゴ） */
.side-sticker {
  margin-top: auto;
  width: 150px;
}
.side-sticker img {
  border-radius: 50%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}
.side-sticker__note {
  margin-top: 10px;
  font-size: 10.5px;
  opacity: 0.7;
  white-space: nowrap;
}

/* ---------- 右パネル（固定・Instagram QR） ---------- */
.side-tagline {
  position: fixed;
  right: 40px;
  bottom: 56px;
  z-index: 3;
  text-align: center;
  color: var(--white);
}
.side-tagline__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.side-tagline__qr {
  width: 130px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}
.side-tagline__qr-link:hover .side-tagline__qr { transform: translateY(-3px); }
.side-tagline__handle {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ---------- 汎用 ---------- */
.section { padding: 110px 24px; }
.section--dark { background: var(--black); color: var(--white); }

.section-en {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.56;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.badge-free {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  vertical-align: middle;
}

.btn {
  display: inline-block;
  padding: 15px 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.25s, transform 0.25s;
}
.btn:hover { opacity: 0.82; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { border: 1px solid currentColor; }
.btn--small { padding: 10px 22px; font-size: 13px; }
.btn--large { padding: 18px 60px; font-size: 16px; }

/* ---------- ポップアップ ---------- */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 13, 0.62);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
/* hidden属性を確実に効かせる（display:flexの上書き回避） */
.popup[hidden] { display: none; }
.popup__inner {
  position: relative;
  background: var(--white);
  color: var(--ink);
  padding: 56px 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.popup__logo { margin: 0 auto 22px; width: 180px; }
.popup__title { font-size: 20px; font-weight: 700; line-height: 1.7; }
.popup__title + .badge-free { margin-top: 14px; }
.popup__cta { margin-top: 22px; }
.popup__cta + .popup__note { margin-top: 6px; }
.popup__note { font-size: 11px; opacity: 0.55; }
.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

/* ---------- ヘッダー（スマホ表示でのみ出る。PCでは非表示） ---------- */
.site-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(20, 21, 24, 0.92);
  backdrop-filter: blur(6px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  height: var(--header-h);
}
.site-header__logo { flex: none; }
.site-header__logo-img { height: 32px; width: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 30px; }
.gnav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.86;
}
.gnav a:hover { opacity: 1; }
.site-header__right { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); }
.hero__overlay {
  position: relative;
  z-index: 1;
  padding: 0 6vw 12vh;
}
.hero__en {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(34px, 6.4vw, 68px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.1em;
}
.hero__sub { margin-top: 20px; font-size: clamp(14px, 1.8vw, 17px); opacity: 0.92; }
.hero__cta { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  opacity: 0.7;
}

/* ---------- Concept ---------- */
.concept__body { margin-top: 40px; max-width: 720px; }
.concept__lead { font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; line-height: 2; }
.concept__text { margin-top: 22px; opacity: 0.82; }
.concept__img { margin-top: 54px; }
.concept__img img { width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Features ---------- */
.features__lead { margin-top: 24px; max-width: 640px; opacity: 0.82; }
.feature-list { margin-top: 70px; display: grid; gap: 90px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row--reverse .feature-row__text { order: 2; }
.feature-row--reverse .feature-row__img { order: 1; }

.feature-row__num { font-size: 13px; letter-spacing: 0.3em; opacity: 0.6; }
.feature-row__title { margin-top: 12px; font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; }
.feature-row__en { font-size: 0.55em; font-weight: 500; opacity: 0.6; margin-left: 8px; letter-spacing: 0.08em; }
.feature-row__desc { margin-top: 18px; opacity: 0.85; }
.feature-row__spec {
  margin-top: 20px;
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.feature-row__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Lineup ---------- */
.lineup__lead { margin-top: 22px; opacity: 0.82; }
.series { margin-top: 80px; }
.series__label { font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.55; }
.series__name { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: 0.1em; margin-top: 6px; }
.series__desc { margin-top: 12px; max-width: 640px; opacity: 0.78; font-size: 14px; }

.lineup__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}
.goods__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}

.product-card { border: 1px solid var(--line); background: #fff; }
.section--dark .product-card { background: transparent; border-color: rgba(245, 246, 247, 0.18); }
.product-card__img { aspect-ratio: 1 / 1; overflow: hidden; }
.product-card--goods .product-card__img { aspect-ratio: 4 / 3; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 16px 16px 20px; position: relative; }
.product-card__name { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.product-card__price { margin-top: 8px; font-size: 18px; font-weight: 900; letter-spacing: 0.04em; }
.product-card__tax { display: block; font-size: 11px; font-weight: 500; opacity: 0.6; }
.product-card__status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--white);
}
.product-card__status--soldout { background: #9aa0a6; }

/* ---------- Ranking ---------- */
.ranking__box {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 34px;
  max-width: 680px;
}
.ranking__badge {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ranking__img { width: 180px; flex: none; }
.ranking__img img { aspect-ratio: 1/1; object-fit: cover; }
.ranking__name { font-size: 18px; font-weight: 700; }

/* ---------- Stores ---------- */
.stores__lead { margin-top: 22px; opacity: 0.82; max-width: 640px; }
.stores__inner {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: center;
}
.stores__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stores__flag { font-size: 12px; letter-spacing: 0.3em; opacity: 0.6; }
.stores__name { margin-top: 8px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.stores__dl { margin-top: 22px; font-size: 14.5px; }
.stores__dl dt { font-size: 12px; letter-spacing: 0.22em; opacity: 0.55; margin-top: 16px; }
.stores__dl dt:first-child { margin-top: 0; }
.stores__dl dd { margin-top: 2px; }
.stores__map-link { text-decoration: underline; opacity: 0.8; }
.stores__info .btn { margin-top: 26px; }
.stores__cities {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}

/* ---------- Catalog ---------- */
.catalog__box {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  max-width: 960px;
}
.catalog__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.catalog__cta .badge-free { display: inline-block; margin-bottom: 20px; }

/* ---------- News ---------- */
.news__list { margin-top: 40px; border-top: 1px solid var(--line); }
.news__list a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  transition: background 0.25s;
}
.news__list a:hover { background: rgba(0, 0, 0, 0.04); }
.news__list time { flex: none; font-size: 13px; opacity: 0.6; letter-spacing: 0.08em; }
.news__cat {
  flex: none;
  padding: 1px 10px;
  font-size: 11px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* ---------- フッター ---------- */
.site-footer { background: var(--white); color: var(--ink); padding: 80px 24px 0; }
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 60px;
}
.site-footer__logo { width: 180px; filter: invert(1); }
.site-footer__copy { margin-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 14px; }
.site-footer__nav a { opacity: 0.75; }
.site-footer__nav a:hover { opacity: 1; }
.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0.1em;
}

/* ---------- スクロール出現アニメ ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s, transform 0.7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   スマホ（≤900px）: 固定レイアウトを全て解除して通常スクロールに戻す
   ============================================================ */
@media (max-width: 900px) {
  .stage-bg { display: none; }
  body { background: var(--white); }

  .side-panel, .side-tagline { display: none; }

  .center-col {
    width: 100%;
    min-height: 0;
    box-shadow: none;
    padding-top: var(--header-h); /* 固定ヘッダー分の余白 */
  }

  .hero { min-height: 480px; }
}

/* ---------- スマホ対応 ---------- */
@media (max-width: 860px) {
  .section { padding: 76px 20px; }

  .site-header { display: block; }
  .menu-toggle { display: flex; }
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    display: none;
    padding: 10px 0 24px;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { display: block; padding: 14px 24px; }

  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row--reverse .feature-row__text { order: 0; }
  .feature-row--reverse .feature-row__img { order: 0; }

  .ranking__box { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stores__inner { grid-template-columns: 1fr; gap: 30px; }
  .catalog__box { grid-template-columns: 1fr; gap: 30px; }
  .news__list a { flex-wrap: wrap; gap: 8px 16px; }

  .hero__overlay { padding: 0 24px 10vh; }
  .hero__cta { flex-wrap: wrap; }

  /* ヘッダーのCTAボタンは狭いので隠す（導線はヒーロー・ポップアップ・ハンバーガー内で確保） */
  .site-header__right .btn { display: none; }
}
