/* ========== Base ========== */
:root{
  --text_blue_1:#B7CBF9;
  --inner_color:rgba(255, 255, 255, 0.2);
  --border_color:rgba(255, 255, 255, 0.3);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Shippori Mincho", serif;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== Hamburger Menu ========== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
}

.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.3s ease, top 0.4s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

/* ×に変形 */
.hamburger.is-open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ナビオーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ナビ内ブランド */
.nav-brand {
  position: absolute;
  top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-overlay.is-open .nav-brand {
  opacity: 1;
  transform: translateY(0);
}

.nav-brand-name,
.nav-brand-sub {
  color: var(--text_blue_1);
  text-shadow: 2px 2px 12px rgb(113, 112, 112);
}

.nav-brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.nav-brand-sub {
  font-size: 2.4rem;
  letter-spacing: 0.12em;
}

.nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-list li {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-overlay.is-open .nav-list li {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.is-open .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.is-open .nav-list li:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.is-open .nav-list li:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.is-open .nav-list li:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.is-open .nav-list li:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay.is-open .nav-list li:nth-child(6) { transition-delay: 0.35s; }
.nav-overlay.is-open .nav-list li:nth-child(7) { transition-delay: 0.4s; }

.nav-link {
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text_blue_1);
}

/* ========== Common ========== */

/* --- セクション共通レイアウト --- */
.problem,
.concept,
.features,
.ingredients,
.safety,
.details {
  position: relative;
  text-align: center;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  overflow: hidden;
}

/* --- セクション背景画像オーバーレイ共通 --- */
.problem > img,
.concept > img,
.features > img,
.safety > img,
.ingredients-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* --- セクション内コンテンツ z-index --- */
.problem .section-header,
.problem-list,
.mini-lead,
.mini-message,
.concept .section-header,
.concept-lead,
.concept-text,
.features .section-header,
.feature-card,
.ingredients .section-header,
.ingredients > img:not(.ingredients-bg),
.ingredient-list,
.safety .section-header,
.safety-badges,
.safety-text {
  position: relative;
  z-index: 1;
}

/* --- ラベル共通 --- */
.section-label {
  color: var(--text_blue_1);
  letter-spacing: 0.15em;
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.title {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--text_blue_1);
}

/* --- ガラスモーフィズム共通 --- */
.problem-list li,
.mini-message,
.badge {
  background: var(--inner_color);
  border: 1px solid var(--border_color);
  backdrop-filter: blur(4px);
}

/* --- テーブル系共通（Ingredients / Details） --- */
.ingredient-list,
.details-table {
  max-width: 400px;
  width: 100%;
  text-align: left;
}

.ingredient-row,
.details-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--text_blue_1);
}

.ingredient-row span:first-child,
.details-row span:first-child {
  color: var(--text_blue_1);
}

/* --- MV / CTA 共通 --- */
.mv,
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100dvh;
  overflow: hidden;
}

.mv .mv-visual,
.cta .mv-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.mv .mv-visual img,
.cta .mv-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-title,
.mv-product-name {
  text-shadow: 2px 2px 12px rgb(113, 112, 112);
}

.marker {
  background: linear-gradient(transparent 80%, var(--text_blue_1) 60%);
}

/* ========== MV ========== */
.mv {
  color: #fff;
  padding: 28px 14px 72px;
}

.mv .button-gold {
  margin-bottom: 24px;
}

.mv-brand {
  align-self: flex-start;
}

.mv-brand img {
  width: 108px;
}

.mv-title {
  font-size: 3rem;
  font-weight: 300;
  margin-top: 16px;
}

.mv-product-name {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-top: 16px;
}

.button-gold {
  margin-top: auto;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  background: linear-gradient(45deg, #DAAF08 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #DAAF08 90% 100%);
  background-size: 800% 400%;
  padding: 10px 40px;
  border-radius: 32px;
}

/* ========== Problem ========== */
.problem {
  padding: 80px 24px;
  gap: 48px;
}

.problem > img {
  opacity: 0.5;
}

.problem-list {
  margin: 0 auto;
}

.problem-list ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-list li {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 10px 64px;
  border-radius: 32px;
}

.mini-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.mini-message {
  font-size: 1.4rem;
  line-height: 2;
  color: #fff;
  padding: 12px 64px;
  border-radius: 32px;
}

/* ========== Concept ========== */
.concept {
  padding: 80px 24px;
  gap: 96px;
}

.concept > img {
  opacity: 0.6;
}

.concept-lead,
.concept-text {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* ========== Features ========== */
.features {
  padding: 80px 24px;
  gap: 28px;
}

.features > img {
  opacity: 0.35;
}

.feature-card {
  text-align: left;
  padding: 16px;
  width: 100%;
  max-width: 400px;
  background: var(--inner_color);
  border: 1px solid var(--border_color);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.feature-card h3 span:first-child {
  color: var(--text_blue_1);
  margin-right: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  opacity: 0.85;
}

/* ========== Ingredients ========== */
.ingredients {
  padding: 80px 40px;
  gap: 32px;
}

.ingredients-bg {
  opacity: 0.5;
}

.ingredients > img:not(.ingredients-bg) {
  border-radius: 8px;
  margin-top: 24px;
}

/* ========== Safety ========== */
.safety {
  padding: 80px 24px;
  gap: 48px;
}

.safety > img {
  opacity: 0.5;
}

.safety-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.badge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}

.safety-text {
  font-size: 1.2rem;
  line-height: 2;
}

/* ========== Details ========== */
.details {
  padding: 80px 40px;
  gap: 16px;
  background: #5676b6;
}

/* ========== CTA ========== */
.cta {
  padding: 28px 14px 24px;
}

.cta .mv-title {
  margin-top: 40px;
}

/* ========== Footer ========== */
footer {
  padding: 16px 0 0;
  text-align: center;
  width: 100%;
}

footer a {
  display: inline-block;
  margin: 0 8px;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

footer p {
  margin-top: 4px;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

/* ========== Scroll Down ========== */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-down.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.circle-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: relative;
  margin-bottom: 6px;
  margin-inline: auto;
  animation: pulse 2s infinite;
}

.circle-arrow::after {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========== Animations ========== */

/* --- keyframes --- */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes navPulse {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(6px); }
  60%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* --- MV 初期ロード --- */
.mv .mv-brand img    { animation: fadeIn 0.8s 0.2s both; }
.mv .mv-title         { animation: fadeIn 0.8s 0.5s both; }
.mv .mv-product-name  { animation: fadeIn 0.8s 0.8s both; }
.mv .button-gold      { animation: fadeIn 0.8s 1.1s both, gradient 5s infinite cubic-bezier(.62,.28,.23,.99) both; }

.button-gold          { animation: gradient 5s infinite cubic-bezier(.62,.28,.23,.99) both; }

/* --- observer.js: デフォルト = フェードアップ --- */
.object {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.object.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- observer.js: スケールイン（バッジ用） --- */
.object--scale {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.object--scale.show {
  opacity: 1;
  transform: scale(1);
}

/* --- observer.js: 左からスライドイン（リスト行用） --- */
.object--slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.object--slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* --- observer.js: divider 幅アニメーション --- */
.divider.object {
  transform: none;
  width: 0;
  transition: opacity 0.6s ease, width 0.8s ease;
}

.divider.object.show {
  width: 48px;
}

/* --- ディレイ用ユーティリティ --- */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* ========== Tablet (768px ~ 1279px) ========== */
@media (min-width: 768px) and (max-width: 1279px) {

  /* --- MV / CTA --- */
  .mv {
    padding: 40px 40px 72px;
  }

  .mv-brand img {
    width: 140px;
  }

  .mv-title {
    font-size: 4rem;
  }

  .mv-product-name {
    font-size: 2.4rem;
  }

  .button-gold {
    font-size: 1.6rem;
    padding: 14px 56px;
    margin-bottom: 24px;
  }

  .cta .mv-title {
    margin-top: 60px;
  }

  /* --- Hamburger --- */
  .header {
    padding: 32px;
  }

  .hamburger {
    width: 40px;
    height: 30px;
  }

  .hamburger span:nth-child(2) { top: 14px; }
  .hamburger span:nth-child(3) { top: 28px; }

  .hamburger.is-open span:nth-child(1) { top: 14px; }
  .hamburger.is-open span:nth-child(3) { top: 14px; }

  /* --- Nav --- */
  .nav-brand-name {
    font-size: 1.4rem;
  }

  .nav-brand-sub {
    font-size: 3.6rem;
  }

  .nav-link {
    font-size: 2.4rem;
  }

  .nav-list {
    gap: 48px;
  }

  /* --- Common --- */
  .section-label {
    font-size: 1.2rem;
  }

  .title {
    font-size: 2.4rem;
  }

  .section-header {
    gap: 16px;
  }

  .divider {
    width: 64px;
  }

  .divider.object.show {
    width: 64px;
  }

  /* --- Problem --- */
  .problem {
    padding: 120px 60px;
    gap: 64px;
  }

  .problem-list li {
    font-size: 1.3rem;
    padding: 14px 96px;
  }

  .mini-lead {
    font-size: 1.6rem;
  }

  .mini-message {
    font-size: 1.8rem;
    padding: 16px 96px;
  }

  /* --- Concept --- */
  .concept {
    padding: 120px 60px;
    gap: 80px;
  }

  .concept-lead,
  .concept-text {
    font-size: 2.4rem;
  }

  /* --- Features --- */
  .features {
    padding: 120px 60px;
    gap: 40px;
  }

  .feature-card {
    max-width: 600px;
    padding: 28px;
  }

  .feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .feature-card p {
    font-size: 1.2rem;
  }

  /* --- Ingredients --- */
  .ingredients {
    padding: 120px 72px;
    gap: 48px;
  }

  .ingredients > img:not(.ingredients-bg) {
    max-width: 420px;
  }

  .ingredient-list {
    max-width: 600px;
  }

  .ingredient-row {
    font-size: 1.2rem;
    padding: 28px 0;
  }

  /* --- Safety --- */
  .safety {
    padding: 120px 60px;
    gap: 64px;
  }

  .safety-badges {
    gap: 28px;
  }

  .badge {
    width: 180px;
    height: 180px;
    font-size: 1.7rem;
  }

  .safety-text {
    font-size: 1.6rem;
  }

  /* --- Details --- */
  .details {
    padding: 120px 72px;
    gap: 32px;
  }

  .details-table {
    max-width: 600px;
  }

  .details-row {
    font-size: 1.2rem;
    padding: 28px 0;
  }

  /* --- Footer --- */
  footer a {
    font-size: 1.1rem;
    margin: 0 20px;
  }

  footer p {
    font-size: 1rem;
  }
}

/* ========== Large Tablet / Small Desktop (1024px ~ 1279px) ========== */
@media (min-width: 1024px) and (max-width: 1279px) {

  /* --- MV / CTA --- */
  .mv {
    padding: 48px 60px 72px;
  }

  .mv-brand img {
    width: 160px;
  }

  .mv-title {
    font-size: 4.5rem;
  }

  .mv-product-name {
    font-size: 2.8rem;
  }

  .button-gold {
    font-size: 1.8rem;
    padding: 16px 64px;
    margin-bottom: 24px;
  }

  /* --- Nav --- */
  .nav-brand-name {
    font-size: 1.6rem;
  }

  .nav-brand-sub {
    font-size: 4.2rem;
  }

  .nav-link {
    font-size: 2.8rem;
  }

  .nav-list {
    gap: 56px;
  }

  /* --- Common --- */
  .section-label {
    font-size: 1.4rem;
  }

  .title {
    font-size: 2.8rem;
  }

  .divider {
    width: 72px;
  }

  .divider.object.show {
    width: 72px;
  }

  /* --- Problem --- */
  .problem {
    gap: 72px;
  }

  .problem-list li {
    font-size: 1.5rem;
    padding: 16px 112px;
  }

  .mini-lead {
    font-size: 1.8rem;
  }

  .mini-message {
    font-size: 2rem;
    padding: 18px 112px;
  }

  /* --- Concept --- */
  .concept {
    gap: 96px;
  }

  .concept-lead,
  .concept-text {
    font-size: 2.8rem;
  }

  /* --- Features --- */
  .features {
    gap: 48px;
  }

  .feature-card {
    max-width: 700px;
    padding: 32px;
  }

  .feature-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .feature-card p {
    font-size: 1.3rem;
  }

  /* --- Ingredients --- */
  .ingredients > img:not(.ingredients-bg) {
    max-width: 480px;
  }

  .ingredient-list,
  .details-table {
    max-width: 700px;
  }

  .ingredient-row,
  .details-row {
    font-size: 1.4rem;
    padding: 32px 0;
  }

  /* --- Safety --- */
  .safety-badges {
    gap: 32px;
  }

  .badge {
    width: 200px;
    height: 200px;
    font-size: 1.9rem;
  }

  .safety-text {
    font-size: 1.8rem;
  }

  /* --- Footer --- */
  footer a {
    font-size: 1.2rem;
    margin: 0 24px;
  }

  footer p {
    font-size: 1.1rem;
  }
}

/* ========== PC用（デフォルト非表示） ========== */
.pc-bg,
.pc-left,
.pc-right {
  display: none;
}

/* ========== PC (1280px ~) ========== */
@media (min-width: 1280px) {

  /* --- ハンバーガー・ナビ非表示 --- */
  .header,
  .nav-overlay {
    display: none;
  }

  /* --- 3カラムレイアウト --- */
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
  }

  /* --- PC背景画像 --- */
  .pc-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }

  /* --- PC背景オーバーレイ --- */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  /* --- 左右パネル共通 --- */
  .pc-left,
  .pc-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100vh;
    color: rgba(255, 255, 255, 0.9);
  }

  .pc-left {
    order: 1;
  }

  .pc-right {
    order: 3;
  }

  /* --- 左パネル --- */
  .pc-left-inner {
    text-align: center;
  }

  .pc-title,
  .pc-product-name {
    letter-spacing: 0.08em;
    text-shadow: 2px 2px 12px rgb(113, 112, 112);
  }

  .pc-title {
    font-size: 2.8rem;
    font-weight: 300;
  }

  .pc-product-name {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-top: 16px;
    letter-spacing: 0.12em;
  }

  .pc-button {
    display: inline-block;
    margin-top: 32px;
  }

  /* --- 中央：スマホフレーム --- */
  .lp {
    order: 2;
    width: 375px;
    min-width: 375px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: none;
    scroll-behavior: smooth;
  }

  .lp::-webkit-scrollbar {
    display: none;
  }

  /* --- 右パネル --- */
  .pc-nav ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .pc-nav-link {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    position: relative;
    padding-left: 20px;
  }

  .pc-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: var(--text_blue_1);
    transition: width 0.3s ease;
  }

  .pc-nav-link:hover {
    color: var(--text_blue_1);
  }

  .pc-nav-link:hover::before {
    width: 14px;
  }

  /* アクティブ状態（スクロールスパイ） */
  .pc-nav-link.is-active {
    color: #fff;
  }

  .pc-nav-link.is-active::before {
    width: 14px;
    background: #fff;
  }

  /* クリック時のパルスアニメーション */
  .pc-nav-link.is-clicked {
    animation: navPulse 0.4s ease;
  }

}
