/* ============================================================
   wfifth Brand Site - Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-bg:        #000000;
  --color-bg-2:      #111111;
  --color-bg-3:      #161616;
  --color-surface:   #1a1a1a;
  --color-border:    rgba(255,255,255,0.08);
  --color-white:     #ffffff;
  --color-off-white: #f0ece4;
  --color-gray:      #888888;
  --color-gray-light:#bbbbbb;
  --color-gold:      #c9a96e;
  --color-gold-light:#e8c98a;
  --color-gold-dark: #9a7a4a;

  --font-serif-jp:   'Noto Serif JP', serif;
  --font-sans-jp:    'Noto Sans JP', sans-serif;
  --font-en:         'Cormorant Garamond', serif;
  --font-en-sans:    'Josefin Sans', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --header-h:   83px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
  font-weight: 400; /* Regular等の場合 */  
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: pan-y;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-off-white);
  font-family: var(--font-sans-jp);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: auto;
}

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

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

ul { list-style: none; }

.mt-40 {
  margin-top: 40px;
}
/* PC/SP切り替え */
.sp-img {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-img {
    display: none;
  }
  .sp-img {
    display: block;
  }
}

/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');


/* ---------- オープニングアニメーション ---------- */

/* 初期状態 */
.content {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* 表示状態 */
.content.show {
  opacity: 1;
  pointer-events: auto;
}

/* オープニング全体 */
.opening {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* フェードアウト */
.opening.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}



/* 全体 */
.text {
  font-family: "Koburina Gothic StdN", sans-serif;
  font-weight: 400; /* Regular等の場合 */
  display: inline-block;
  font-size: 28px;
  letter-spacing: -0.1em;
  color: #fff;
  position: relative;
  animation: moveUp 1s ease forwards;

  /* 👇 表示後にしっかり止める */
  animation-delay: 2s;
}

.text img {
  height: 36px; 
  width: auto;
  letter-spacing: -0.1em;
}

@media screen and (max-width: 768px) {
.text img {
  height: 32px; 
  width: auto;
}
}

/* 下線 */
.text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;

  /* 文字に合わせて速く */
  animation: lineGrow 0.6s ease forwards;
}

/* 文字 */
.text span {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

/* 👇 表示スピードを速く（0.1 → 0.07） */
.text span:nth-child(1) { animation-delay: 0s; }
.text span:nth-child(2) { animation-delay: 0.07s; }
.text span:nth-child(3) { animation-delay: 0.14s; }
.text span:nth-child(4) { animation-delay: 0.21s; }
.text span:nth-child(5) { animation-delay: 0.28s; }
.text span:nth-child(6) { animation-delay: 0.35s; }
.text span:nth-child(7) { animation-delay: 0.42s; }
.text span:nth-child(8) { animation-delay: 0.49s; }
.text span:nth-child(9) { animation-delay: 0.56s; }

/* フェード */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* 下線 */
@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

/* 上に移動 */
@keyframes moveUp {
  to {
    transform: translateY(-80px);
    opacity: 0;
  }
}


/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #000;
  position: fixed;
  width: 100%;
  top: 0;
  position: fixed;
  z-index: 999999;
  isolation: isolate;
  pointer-events: auto;
}

header {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: 0.6s ease;

}

/* 表示状態 */
header.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.logo img {
  margin:10px 0 0 0;
  height: 32px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ハンバーガー */
.hamburger {
  margin: 10px 0 0 0;
  width: 30px;
  cursor: pointer;
  position: relative;
  z-index: 200000; /* navより必ず上 */
}

.hamburger span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: #fff;
  transition: 0.3s;
}

/* ✖状態 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0); 
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* サイドメニュー */
/* nav */
nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: rgba(0,0,0,0.96);
  padding-top: 113px;
  transition: right 0.3s ease;
  z-index: 99999; /* hamburgerより低く */
  isolation: isolate;
}
nav {
  position: fixed;
  background: #000;
  z-index: 999999;
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0; /* ← マイナス禁止 */
}

nav * {
  position: relative;
  z-index: 1;
}
nav a {
  display: block;
  padding: 15px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #222;
}

nav a:hover {
  background: #222;
}

/* 開いた状態 */
nav.open {
  right: 0;
}

main {
  padding: 0;
}

/* wrap */

.hero {
  position: relative;
}

/* 動画 */
.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 769px) {
  .video-wrapper video {
     padding-top: 0;
    object-fit: contain;
    background-color: #000; 
    padding-top: var(--header-h); 
  }
}

video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;       /* ← 全体表示（黒帯あり） */
  object-position: center;
  transform: translate(-50%, -50%);
}

.sound-toggle {
  position: absolute;
  bottom: 40px;
  right: 20px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
}

/* PC/SP切り替え */
.video-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .video-pc {
    display: none;
  }
  .video-sp {
    display: block;
  }
}

.video-wrap {
  position: relative;
  display: inline-block;
}

.sound-btn {
  position: absolute;
  right: 20px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;         /* z-index も上げる */
}

@media screen and (max-width: 768px) {
  .sound-btn {
    bottom: 120px;
    top: auto; /* ヘッダー(83px)のすぐ下 */
    right: 15px;
  }
}

/* サウンドボタン */
.sound-btn img {
  width: 24px;
  height: 24px;
}

.sound-btn img {
  filter: brightness(0) invert(1);
}

/* ===== ワンスクロールラッパー ===== */
/* ===== MV専用制御 ===== */
.mv-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
}


/* 最初のセクション */
.first-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.8s ease;
}

.section-block {
  position: relative; /* ←これだけでOK */
  z-index: 3;
}


body.scroll-done .first-view {
  transform: translateY(0);
}

/* 発火 */
body.scroll-done .first-view {
  transform: translateY(0);
}


/* パネル */
.panel {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100% - var(--header-h));
  transform: translateY(100%);
  transition: transform 0.7s ease;
  z-index: 2;
  pointer-events: none;
  background-color: #000;
}



.panel:first-child img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* cover → contain に */
  object-position: center;     
  background-color: #000;    /* 余白部分は黒 */
}

@media screen and (max-width: 768px) {
  .panel:first-child {
    display: none;
  }
}

#message {
  background-color: #000;
}

@media screen and (max-width: 768px) {
  .panel {
    top: 0;
    height: 100%;
    background-color: transparent;
  }

    .panel-product {
    background-color: #000; /* ← productパネルだけ黒背景を戻す */
  }

  .panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .panel-product .sp-img {
    object-fit: contain;
    object-position: center;
  }

  #message img {
    object-fit: contain;
  }

  .panel.active img {
    transform: scale(1);
    filter: brightness(1);
  }
}


  .panel.active img {
    transform: scale(1);
    filter: brightness(1);
  }



.panel.active {
  transform: translateY(0);
  pointer-events: auto;
}

.panel.prev {
  transform: translateY(-100%);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  opacity: 0.7;
}



/* 画像 */
.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-fit: cover;
  object-position: center; /* top → center に変更 */
}

body.no-delay .panel-text {
  transition-delay: 0s !important;
}


@media screen and (max-width: 768px) {
  .panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.panel.prev   { transform: translateY(-100%); }

.panel.active .panel-text {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 0.3s;
}

.panel-text {
  filter: blur(10px);
}

.panel.active .panel-text {
  filter: blur(0);
}

.panel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%) scale(0.98);
  opacity: 0;
  filter: blur(10px);
}

.panel.active .panel-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);

  transition:
    opacity 0.8s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;

  transition-delay: 0.4s;
}

@media screen and (max-width: 768px) {
  .panel-product .panel-text {
    top: 55%;
  }
}

@media screen and (max-width: 375px) {
  .panel-product {
    padding-top: 83px; /* ヘッダーの高さ分 */
  }
}
@media screen and (max-width: 375px) {
  .panel-product .panel-text {
    margin-top: 60px; /* 数字を大きくするほど下に移動 */
  }
}

@media screen and (max-width: 375px) {
  .panel-product .panel-text {
    top: 48%; /* 数字を小さくするほど上に移動 */
  }
}

@media screen and (max-width: 768px) {
  .panel-message .panel-text {
    top: 58%;  /* 数字を大きくするほど下に移動 */
  }
}

@media screen and (max-width: 375px) {
  .panel-message .panel-text {
    top: 76%;
    transform: translate(-50%, -65%);
  }

  .panel.active .panel-message .panel-text,
  .panel-message.active .panel-text {
    top: 76%;
    transform: translate(-50%, -65%);
  }
}

/* メインコンテンツ */
.main-content {
  position: relative;
  z-index: 10;
  background: linear-gradient(to bottom, #000000, #ffffff);
  color: #fff;
  margin-top: 100vh;
  min-height: 100vh;
  padding: 40px 50px;
  padding-top: calc(var(--header-h) + 40px); /* ← ヘッダー分 + 余白 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

@media screen and (max-width: 768px) {
  .main-content {
    padding: 40px 15px; /* ←左右だけ詰める */
  }
}

.main-content.visible {
  opacity: 1;
  visibility: visible;
}

#mvWrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  transition: opacity 0.5s ease;
}


#mvWrap.hide {

  display: none;  /* ← 追加 */
  opacity: 0;
  pointer-events: none;
}

/* product */
.section-title {
  font-weight: normal;
  display: flex;
  align-items: flex-end; /* 下寄せ */
  justify-content: flex-start; /* 左寄せ */
  gap: 16px;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 12px;
  overflow: hidden;
}

.section-title .main-title,
.section-title .sub-title {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  filter: blur(6px);
}

.section-title.is-show .main-title,
.section-title.is-show .sub-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: 
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s ease;
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes softFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(6px);
  }

  60% {
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.section-title.is-show .main-title {
   animation-delay: 0.05s;
}

.section-title.is-show .sub-title {
  animation-delay: 0.2s;
}

.section-title.is-show .main-title,
.section-title.is-show .sub-title {
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* 表示状態 */
.section-title.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 中の文字をふわっと */
.main-title,
.sub-title {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 発火時 */
.section-title.is-show .main-title,
.section-title.is-show .sub-title {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* メインタイトル */
.main-title {
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 0; /* ← 削除またはゼロに */
  line-height: 1; /* ← 追加 */
  text-align: left;
}


@media screen and (max-width: 768px) {
  .main-title {
    font-size: 28px; 
    letter-spacing: 0.05em;
    text-align: center;
  }
}


/* 下線アニメーション */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
  transform: scaleX(0);
  transform-origin: left;
}

/* 下線アニメーション */
.section-title .aboutus::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #222;
  transform: scaleX(0);
  transform-origin: left;
}
#aboutus.section-title::after,
.aboutus .section-title::after {
  background: #222222;
}
#interview.section-title::after,
.interview-section .section-title::after {
  background: #222222;
}
#aboutus {
  scroll-margin-top: 100px;
}
#interview {
  scroll-margin-top: 140px;
}




/* 発火 */
.section-title.is-show::after {
  animation: underlineSlide 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}



@keyframes underlineSlide {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}



/* サブタイトル */
.sub-title {
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}


@media screen and (max-width: 768px) {
  .section-title {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .sub-title {
      font-size: 9px;
      font-weight: 300;
      line-height: 1.4;      /* 行間を詰める */
      letter-spacing: 0.02em; /* 文字間を少し詰める */
      text-align: center;
    white-space: normal;
  }
}

/* ========== About Us 顔ホバー ========== */
.group-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.group-wrap img {
  width: 100%;
  display: block;
}

.face-area {
  position: absolute;
  cursor: pointer;
  border-radius: 50%;
  /* 確認用にコメントアウト → 確認したい場合は外す */
  /* background: rgba(255,0,0,0.2); */
}

/* ========== About Us 顔ホバー ========== */
.group-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.group-wrap > img {
  width: 100%;
  display: block;
}

.face-area {
  position: absolute;
  cursor: pointer;
  border-radius: 50%;
  /* 確認用：下記コメントを外すと赤いエリアが見える */
  /* background: rgba(255,0,0,0.2); */
}

/* PC：吹き出し */
.face-tooltip {
  display: none;
  position: absolute;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 4px;
  padding: 5px;
  width: 160px;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  text-align: center;
}


.face-tooltip::after {
  content: '';
  position: absolute;
  top: -8px;
  left: var(--arrow-x, 50%); /* JS で動的に変わる */
  border-width: 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent rgba(0,0,0,0.85);
}

.ft-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 4px;
  color: #fff;
}

.ft-role {
  font-size: 9px;
  opacity: 0.7;
  margin: 0 0 8px;
  color: #fff;
}

/* 吹き出し内では店名・役職ともに同じサイズに揃える */
.face-tooltip .iv-role-store,
.face-tooltip .iv-role-title {
  font-size: 1em;
}

.ft-bio {
  display: none;
}

/* SP：下からパネル */
.sp-profile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.sp-profile-overlay.active {
  display: block;
}

.sp-profile-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-radius: 20px 20px 0 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  padding-bottom: env(safe-area-inset-bottom);
}

.sp-profile-panel.active {
  transform: translateY(0);
}

.sp-profile-inner {
  padding: 24px 20px 36px;
  position: relative;
}

.sp-profile-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.sp-profile-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 12px;
}

.sp-profile-content img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}

.sp-profile-text {
  flex: 1;
}

.sp-profile-name {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 4px;
}

.sp-profile-role {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 10px;
  line-height: 1.5;
}

.sp-profile-bio {
  font-size: 12px;
  line-height: 1.8;
  color: #ccc;
  margin: 0;
}



/* ============================================================
   about us セクション（背景が白くなる部分）のテキストを黒に
   ============================================================ */
.light-section {
  color: #000000 !important;
}

.section-title.light-section::after {
  background: #000000;
}



.hidden {
  display: none;
}


.image-wrapper {
  position: relative;
  max-width: 1000px;
}

.image-wrapper img {
  width: 100%;
}

/* ===== Products List ===== */

.products-list {
  overflow: visible;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  overflow: hidden;
}

/* PC */
#products {
  scroll-margin-top: 40px;  /* 数字を大きくするほど上にスクロールされる */
}

/* SP */
@media screen and (max-width: 768px) {
  #products {
    scroll-margin-top: 40px;
  }
}

.products-list {
  width: 100%;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  position: relative;
  min-height: 300px;
  padding: 30px 20px;
}

.product-row.reverse {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .product-row:not(.reverse) .product-item {
    padding-left: 20px;  /* 数値で調整 */
  }
}

/* 人物画像ブロック */
.product-person {
  width: 45%;
  max-width: 400px;  /* ← 追加：これ以上広がらないようにする */
  position: relative;
  z-index: 1;
}

.product-person img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 商品画像を人物の右下に重ねる */
.product-person .product-img {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 150px;
  height: auto;
  z-index: 3;
}

.product-person img:first-child {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.product-row.reverse .product-person .product-img {
  right: auto;
  left: -40px;
}

/* テキスト側 */
.product-item {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding: 0 40px;
}

.product-info {
  text-align: center;
}

.product-name {
  font-family: "Gothic MB101 Light";
  font-weight: 200; 
  font-size: 42px;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.product-name-jp {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* （税込）を2まわり小さく */
.product-price .tax-label {
  font-size: 0.6em; /* 現在16px → 約9.6px（2まわり小さい） */
}

@media (max-width: 768px) {
  .product-price .tax-label {
    font-size: 0.6em; /* SP時 13px → 約7.8px */
  }
}

.product-btn {
  display: inline-block;
  padding: 5px 80px;
  background: #fff;
  border: 1px solid #fff;
  color: #000;
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: background 0.3s ease, color 0.3s ease;
}

.product-btn:hover {
  background: #000;
  color: #fff;
}

/* ===== フェードインアニメーション ===== */
.product-person,
.product-person .product-img,
.product-info {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-row.is-show .product-person {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.product-row.is-show .product-person .product-img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.product-row.is-show .product-info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

@media screen and (max-width: 768px) {

  .product-row {
    flex-direction: row; /* ←縦にしない */
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 40px 10px;
    gap: 10px;
  }

  .product-row.reverse {
    flex-direction: row-reverse;
  }

  /* 人物 */
  .product-person {
    width: 40%;
  }

  .product-person img:first-child {
    max-width: 100%;
  }

  /* 商品画像（少し控えめに） */
  .product-person .product-img {
    width: 75px;
    bottom: -20px;
    right: -40px;
  }

  .product-row.reverse .product-person .product-img {
    left: -40px;
    right: auto;
  }

  /* テキスト */
  .product-item {
    width: 48%;
    padding: 0;
    align-items: flex-start; /* ←中央やめると読みやすい */
  }

  .product-info {
    text-align: center;
  }

  .product-name {
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
    font-size: 20px;
    line-height: 1.3;
  }

  .product-name-jp {
    font-size: 10px;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .product-btn {
    width:100%;
    padding: 3px 40px;
    text-align: center;
    font-size: 10px;
  }
}

/* ===== モーダル ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999999;
}


.modal-content {
  display: flex;
  gap: 40px;
  background: #fff;
  width: 90%;
  max-width: 900px;
  margin: 5% auto;
  padding: 40px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-left img {
  width: 280px;
}

.modal-right {
  flex: 1;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}


/* ===== MOREボタン（白・横長・矢印なし） ===== */
.more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 48px;
  min-width: 160px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #000;
  border: 1px solid #fff;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* 背景スライド */
.more-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

/* テキスト */
.more-btn span {
  position: relative;
  z-index: 1;
}

/* hover */
.more-btn:hover {
  color: #fff;
  opacity: 1;
}

.more-btn:hover::before {
  transform: scaleX(1);
}

/* 初期ほんのり */
.more-btn {
  opacity: 0.9;
}

@media (max-width: 620px) {
.more-btn {
  min-width: 130px;
  padding: 5px 10px;
}
}

  /* ===== 商品カード（既存サイトのproductsセクション相当） ===== */
  .products-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .product-card {
    background: #fff;
    padding: 24px 20px 20px;
    width: 220px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .product-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
  }
  .product-card .p-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin-top: 4px;
  }
  .product-card .p-jp {
    font-size: 11px;
    color: #aaa;
    font-weight: 300;
    letter-spacing: 0.1em;
  }
  .product-card .p-price {
    font-size: 12px;
    color: #666;
    font-weight: 300;
  }


  /* ===== OVERLAY ===== */
  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .overlay.active { display: flex; }

  /* ===== MODAL ===== */
  .modal {
    background: #fff;
    width: 100%;
    max-width: 860px;
    display: flex;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.28s ease;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
  }
  .close-btn:hover { color: #000; }

  /* ===== GALLERY ===== */
  .gallery-side {
    width: 52%;
    background: #f5f5f3;
    display: flex;
    flex-direction: column;
  }
  .main-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 32px 20px;
    min-height: 300px;
  }
  .main-img {
    width: 100%;
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.15s;
  }
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    padding: 8px 12px;
    transition: color 0.2s;
  }
  .nav-btn:hover { color: #333; }
  .nav-btn.left  { left: 4px; }
  .nav-btn.right { right: 4px; }

  .thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
    overflow-x: auto;
  }
  .thumb {
    width: 70px;
    height: 70px;
    border: 1.5px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e6;
    transition: border-color 0.2s;
  }
  .thumb.active { border-color: #333; }
  .thumb:hover  { border-color: #aaa; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }

  /* ===== INFO ===== */
  .info-side {
    width: 48%;
    padding: 40px 32px 28px;
    display: flex;
    flex-direction: column;
  }
  .brand {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #999;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 6px;
  }

  .product-jp {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    letter-spacing: 0.12em;
    font-weight: 300;
  }
  .price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-bottom: 16px;
    border-bottom: 0.5px solid #ddd;
  }
  .volume { font-size: 12px; color: #aaa; font-weight: 300; }
  .sep    { font-size: 12px; color: #ccc; }
  .price  { font-size: 15px; color: #1a1a1a; font-weight: 400; letter-spacing: 0.05em; }
  .tax    { font-size: 11px; color: #aaa; }

  .tagline {
    margin-top: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
  .desc {
    margin-top: 14px;
    font-size: 12px;
    color: #666;
    line-height: 1.9;
    font-weight: 300;
  }
  .desc-note {
    font-size: 10px;
    color: #aaa;
    margin-top: 6px;
    text-align: right;
  }

  .cta-label {
    margin-top: auto;
    padding-top: 24px;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.1em;
    font-weight: 300;
    margin-bottom: 10px;
  }
  .buy-btns { display: flex; gap: 8px; }
  .buy-btn {
    flex: 1;
    padding: 11px 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    transition: opacity 0.2s;
    text-align: center;
  }
  .buy-btn.primary   { background: #1a1a1a; color: #fff; }
  .buy-btn.secondary { background: #fff; color: #1a1a1a; border: 0.5px solid #ccc; }
  .buy-btn:hover { opacity: 0.72; }

  @media (max-width: 620px) {
    .modal { flex-direction: column; }
    .gallery-side, .info-side { width: 100%; }
    .main-img-wrap { padding: 24px 24px 12px; min-height: 220px; }
    .info-side { padding: 24px 20px 20px; }
  }

  .pd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pd-overlay.pd-active {
  display: flex;
}

.pd-modal {
  /* 既存の .modal を上書きしないよう別クラス */
  background: #ffffff;
  width: 100%;
  max-width: 700px;
  display: flex;
  position: relative;
  overflow: hidden;
  animation: pd-fadeUp 0.28s ease;
  /* 明示的にリセット（既存CSSの影響を排除） */
  inset: unset;
  z-index: unset;
}
@keyframes pd-fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pd-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #555;
  z-index: 10;
  line-height: 1;
  transition: color 0.2s;
}
.pd-close:hover { color: #000; }

/* ギャラリー側 */
.pd-gallery {
  width: 52%;
  display: flex;
  flex-direction: column;
}
.pd-main-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 10px;
  min-height: 300px;
}
.pd-main-img {
  width: 100%;
  max-width: 280px;
  object-fit: contain;
}

/* 商品モーダル メイン画像 4:5 */
.pd-main-wrap {
  aspect-ratio: unset;   /* 比率を解除 */

  padding: 0 20px;
}

.pd-main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #999;
  padding: 8px 12px;
  transition: color 0.2s;
}
.pd-nav:hover { color: #333; }
.pd-nav.pd-prev { left: 4px; }
.pd-nav.pd-next { right: 4px; }

.pd-thumbs {
  display: flex;
  gap: 8px;
  padding: 0 5px 20px 5px;
  overflow-x: auto;
  justify-content: center; 
}
.pd-thumb {
  width: 40px;
  height: 50px; 
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e8e6;
  transition: border-color 0.2s;
}
@media (max-width: 768px) {
  .pd-thumbs {
    flex-wrap: nowrap;      /* 折り返し禁止 */
    overflow-x: auto;       /* はみ出したら横スクロール */
    justify-content: flex-start; /* 左寄せ */
  }
}
@media (max-width: 768px) {
.pd-thumb {
  width: 35px;
  height: 40px; 
}
}
.pd-thumb.pd-active { border-color: #333; }
.pd-thumb:hover     { border-color: #aaa; }
.pd-thumb img       { width: 100%; height: 100%; object-fit: cover; }

/* 情報側 */
.pd-info {
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
  width: 55%;
  padding: 40px 32px 28px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #000;
}

.pd-name {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #000;
  line-height: 1.1;
}
.pd-jp {
  font-size: 12px;
  color: #000;
  margin: 5px 0;
  letter-spacing: 0.12em;
  font-weight: 300;
}
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #ddd;
}



.pd-vol  { font-size: 12px; color: #6d6d6d; font-weight: 300; }
.pd-sep  { font-size: 12px; color: #6d6d6d; }
.pd-yen  { font-size: 15px; color: #6d6d6d; font-weight: 400; letter-spacing: 0.05em; }
.pd-tax  { font-size: 11px; color: #6d6d6d; }

.pd-tagline {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 300;
  color: #000;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.pd-subtit{
  margin-top: 16px;
  font-size: 16px;   /* ←ここでq数（サイズ）調整 */
  line-height: 1.6;
}
.pd-desc {
  margin-top: 14px;
  font-size: 12px;
  color: #000;
  line-height: 1.9;
  font-weight: 300;
}
.pd-note {
  font-size: 10px;
  color: #000;
  margin-top: 6px;
  text-align: right;
}
.buy-area {
  display: flex;
  align-items: center;
  justify-content: center; /* 中央にしたい場合 */
  gap: 10px;
  margin: 20px 0 10px 0;
}

.cart-icon {
  margin:0;
  width: 40px; /* サイズ調整 */
  height: auto;
}

.pd-cta-label {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  color: #000;
  letter-spacing: 0.1em;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: center;
}

  /*6月6日にdisplay noneを消す*/ 
.pd-buy-btns { display: flex; gap: 8px; }
.pd-buy-btn {
   /*display: none;*/ 
  flex: 1;
  padding: 11px 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.2s;
  text-align: center;
}
.pd-buy-btn.pd-primary   { background: #1a1a1a; color: #fff; }
.pd-buy-btn.pd-secondary { background: #1a1a1a; color: #fff; }
.pd-buy-btn:hover { opacity: 0.72; }

/*6月6日までカートボタン非表示
.buy-area,
.pd-buy-btns {
  display: none;
}
*/


@media (max-width: 768px) {

  .pd-modal {
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .pd-modal {
    display: flex;
    flex-direction: column;
    gap: 24px; /* ←これ超重要 */
  }

    .pd-main-img {
    width: 80%;
    max-width: 240px;
    margin: 0 auto;
    display: block;
  }

  #pdThumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .pd-thumb img {
    width: 100%;
  }

  .pd-content {
    display: flex;
    flex-direction: column; /* ←これが超重要 */
    gap: 20px;
  }

  .pd-image {
    width: 100%;
    text-align: center;
  }

  #pdMainImg {
    width: 80%;
    max-width: 270px;
  }

  #pdThumbs {
    justify-content: center;
    flex-wrap: wrap; /* はみ出し防止 */
  }

  .pd-gallery,
  .pd-info    { width: 100%; }
  .pd-main-wrap { padding: 24px 24px 0; min-height: 300px; }
  .pd-info    { padding: 24px 20px 20px; }


  #pdName {
    font-size: 22px;
  }
  .pd-subtit{
  font-size: 16px;
  }

  #pdDesc {
    font-size: 12px;
    line-height: 1.7;
  }

  .lead-text {
    font-size: 16px;
    font-weight: bold;
  }

  .is-open {
  display: block;
  }



  .buy-area {
    /*display: none; */
    width: 100%;
    justify-content: center;
  }

  .pd-tagline {
    font-size: 18px;
    opacity: 0.7;
    margin-top: 10px;
  }

  .lead-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    margin: 12px 0;
  }

  .pd-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
  }
  .buy-area {
    justify-content: center;
    margin-top: 20px;
    font-size:12px;
  }

  

  .pd-buy-btns {
    /* display: none;*/
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .pd-buy-btn {
    width: 100%;
  }
}

.feature-section {
  padding: 80px 20px;
}

/* グリッド */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 60px;
}

/* カード */
.feature-item {
  background: #f5f5f5;
  margin-bottom: 10px;
  padding:  24px 16px;
  display: flex;
  flex-direction: column;  /* 縦並び */
  align-items: center;     /* 横中央 */
  text-align: center;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 768px) {
  .feature-item {
    margin-bottom: 0;  /* お好みで調整（0〜15pxくらい） */
  }
}

.feature-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:nth-child(1) { transition-delay: 0s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.4s; }

  .feature-icon {
    margin-bottom: 20px;
    margin-right: 0; /* ←SP用を打ち消し */
  }

.feature-item:hover {
  transform: translateY(-6px);
}

/* アイコン */
.feature-icon {
  width: 100px;
  margin-bottom: 12px;
  text-align: center;
}

/* タイトル */
.feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color:#000;
}

/* テキスト */
.feature-text {
  font-size: 12px;
  line-height: 1.7;
  color: #000;
}

@media (max-width: 768px) {

  .feature-item {
    display: flex;
    flex-direction: row;      /* ←これがないと縦のまま */
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    padding: 12px 16px;
    background: #f5f5f5;
    text-align: left;
  }

    .feature-grid {
    grid-template-columns: 1fr;
      margin: 0;
  }

  .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .feature-icon {
    width: 80px;
    flex-shrink: 0;
    margin-top: 4px; /* ←ちょい下げると気持ちいい */
  }

  .feature-content {
    flex: 1;
  }

  .feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .feature-text {
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: -0.1em;
  }

}

@media (max-width: 768px) {
  .feature-grid {
    gap: 10px;  /* ← これを追加（数字はお好みで） */
  }

  .feature-item {
    margin-bottom: 0;  /* ← PCの60pxを打ち消す */
  }
}


  .ingredients_section-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--dark);
    border-bottom: 2px solid #000;
    padding-bottom: 6px;
    margin-bottom: 20px;
    display: inline-block;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .ingredient-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .ingredient-label {
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.03em;
    font-weight:bold;
  }

  .sup {
    font-size: 9px;
    color: var(--warm-gray);
    vertical-align: super;
  }

  /* ===== PC LAYOUT ===== */
  .pc-layout {
    display: flex;
    gap: 25px;
    margin: 40px 60px 60px;
  }

  .pc-card {
    flex: 1;
    background: #fff;
    color:#000;
    padding: 24px 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: top;
  }

.pc-ingredients {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
  align-items: center;  /* 全体を中央寄せ */
}

.pc-ingredient {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* center → flex-start に変更 */
  gap: 12px;
  width: 180px;  /* ← 固定幅でアイコンの左端が揃う（数字はお好みで） */
}

  .pc-ingredient .ingredient-img {
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .pc-ingredient .ingredient-label {
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
  }

  .label-note {
    display: block;
    font-size: 10px;
    font-weight:normal;
    color: var(--warm-gray);
    margin-top: 1px;
  }

  /* PC note */
  .pc-note {
    font-size: 8px;
    color: #fff;
    line-height: 1.6;
    text-align: right;
    margin:0 60px;
  }


@media (max-width: 768px) {
  /* ===== SP LAYOUT ===== */
  .sp-layout {
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sp-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px 15px;
    color:#000;
  }

  .sp-card .section-title {
    display: block;
    text-align: center;
    margin-bottom: 18px;
  }

  .sp-ingredients-row {
    display: flex;
    gap: 12px;
    justify-content: center;
  }

  .sp-ingredient {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 140px;
  }

  .sp-card-half {
    display: flex;
    gap: 12px;
  }

  .sp-card-half .sp-card {
    flex: 1;
  }


  .sp-single {
    display: flex;
    justify-content: center;
  }

  .sp-single .sp-ingredient {
    max-width: 120px;
  }

  /* Divider */
  .divider {
    text-align: center;
    font-size: 11px;
    color: var(--warm-gray);
    letter-spacing: 0.1em;
    margin: 8px 0;
  }

  .sp-note {
    font-size: 9px;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-top: 8px;
    text-align: left;
  }
}






  /* fragrance */
  .fragrance-card {
    background: var(--bg);
    border: 1px solid var(--border);
  }

  /* ===== ピラミッド共通 ===== */
  .pyramid-wrap {
    position: relative;
  }

  .pyramid-svg {
    display: block;
  }

  /* ノートラベル（TOP / MIDDLE / LAST）共通 */
  .note-row {
    display: flex;
    align-items: center;
  }

  .note-label {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--dark);
    white-space: nowrap;
  }

  .note-ingredients {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .note-divider {
    border: none;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  /* ===== テキスト右側 ===== */
  .fragrance-title {
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--dark);
    line-height: 1;
  }

  .fragrance-subtitle {
    font-weight: 300;
    color: var(--mid);
    letter-spacing: 0.1em;
  }

  .fragrance-catch {
    font-weight: 300;
    color: var(--dark);
    line-height: 1.8;
    letter-spacing: 0.05em;
  }

  .fragrance-desc {
    font-weight: 300;
    color: var(--mid);
    line-height: 2;
    letter-spacing: 0.03em;
  }


  /* ===================== */
  /* PC レイアウト (769px+) */
  /* ===================== */
  @media (min-width: 769px) {
.fragrance-card {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
  padding: 40px;
  gap: 48px;
  background:#fff;
  color:#000;
  max-width: 1200px;
}

    /* 左：ピラミッド */
    .pyramid-side {
      flex-shrink: 0;
      width: 400px;
    }

    .pyramid-svg {
      width: 400px;
      margin: 0 auto 0 30px;
    }

    .notes-list {
      margin-top: 8px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .note-row {
      gap: 16px;
      padding: 10px 0;
    }

    .note-label {
      font-size: 14px;
      width: 56px;
      text-align: right;
    }

    .note-ingredients {
      font-size: 13px;
    }

    .note-divider {
      margin: 0;
    }

    /* 右：テキスト */
    .text-side {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .title-block {
      display: flex;
      align-items: baseline;
      gap: 16px;
    }

    .fragrance-title { font-size: 32px; }
    .fragrance-subtitle { font-size: 11px; }
    .fragrance-catch { font-size: 16px; }
    .fragrance-desc { font-size: 11px; }
  }

  /* ======================= */
  /* SP レイアウト (〜768px) */
  /* ======================= */
  @media (max-width: 768px) {
    .fragrance-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 400px;
      width: 100%;
      padding: 36px 15px 40px;
      gap: 32px;
      background:#fff;
      color:#000;
    }

    /* 上：ピラミッド */
    .pyramid-side {
      width: 100%;
    }

    .pyramid-svg {
      width: 350px;
      margin: 0 auto 12px;
    }

    .notes-list {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .note-row {
      gap: 20px;
      padding: 10px 0;
      justify-content: flex-start;
      padding-left: 8px;
    }

    .note-label {
      font-size: 13px;
      width: 52px;
      text-align: right;
    }

    .note-ingredients {
      font-size: 12px;
      text-align: center;
    }

    .note-divider {
      margin: 0;
    }

    /* 下：テキスト */
    .text-side {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      text-align: center;
    }

    .title-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .fragrance-title { font-size: 36px; }
    .fragrance-subtitle { font-size: 11px; }
    .fragrance-catch { font-size: 15px; letter-spacing: -0.1em;}
    .fragrance-desc { font-size: 11px;letter-spacing: -0.1em; }
  }

/* ===== key ingredients & fragrance フェードイン ===== */
.pc-card,
.sp-card,
.fragrance-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pc-card.is-show,
.sp-card.is-show,
.fragrance-card.is-show {
  opacity: 1;
  transform: translateY(0);
}

.pc-card:nth-child(1) { transition-delay: 0s; }
.pc-card:nth-child(2) { transition-delay: 0.2s; }
.pc-card:nth-child(3) { transition-delay: 0.4s; }
.pc-card:nth-child(4) { transition-delay: 0.6s; }



/* ============================================================
   スクロール出現アニメーション
   ============================================================ */

.key-icon {
  opacity: 0;
  transform: translateY(40px) scale(0.92);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* 表示時 */

.key-icon.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 出現時だけ強く発光 */

.key-icon.show::before {
  animation:
    wfEntranceGlow 1.8s ease forwards,
    wfGlow 5s ease-in-out 1.8s infinite;
}

/* キラも遅れて流す */

.key-icon.show::after {
  animation:
    wfShimmer 5s ease-in-out 0.8s infinite;
}

/* ============================================================
   初回発光
   ============================================================ */

@keyframes wfEntranceGlow {

  0% {
    opacity: 0;
    transform: scale(0.6);
    filter: blur(20px);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
    filter: blur(8px);
  }

  100% {
    opacity: 0.5;
    transform: scale(1);
    filter: blur(0);
  }
}


/* ============================================================
   STYLE GALLERY
   ============================================================ */

.style-gallery {
  width: 100%;
  padding:
    clamp(30px, 4vw, 120px)
    5vw;

  overflow: hidden;
}

#hairstyle {
  scroll-margin-top: 300px;
}

@media (max-width: 768px) {

  #hairstyle {
    scroll-margin-top: 70px;
  }

}

/* ============================================================
   HAIRSTYLE - VIEW MORE 展開エリア
   ============================================================ */

/* 追加の3枚グリッド（初期：非表示） */
.style-grid-extra {
  display: flex;           /* flex を先に宣言 */
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 60px);
  max-width: 1200px;
  margin: clamp(16px, 3vw, 60px) auto 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.5s ease;
}

/* ★ is-open のdisplayを flex で上書き（既存の display:block を打ち消す） */
.style-grid-extra.is-open {
  display: flex !important;
  max-height: 800px;
  opacity: 1;
}

/* 各カードのフェードイン（既存 .style-card のアニメと統一） */
.style-grid-extra .style-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.style-grid-extra.is-open .style-card:nth-child(1) {
  opacity: 1; transform: translateY(0); transition-delay: 0.1s;
}
.style-grid-extra.is-open .style-card:nth-child(2) {
  opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}
.style-grid-extra.is-open .style-card:nth-child(3) {
  opacity: 1; transform: translateY(0); transition-delay: 0.3s;
}

@media (max-width: 768px) {
  .style-grid-extra { gap: 14px; }
}

/* ============================================================
   GRID
   ============================================================ */

.style-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 60px);

  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   CARD
   ============================================================ */

.style-card {
  width: 100%;
  max-width: 200px;

  overflow: hidden;

  position: relative;

  transition:
    transform .5s ease,
    filter .5s ease;
}

/* hover */

.style-card:hover {
  transform: translateY(-8px);
}

/* image */

.style-card img {
  width: 100%;
  display: block;

  object-fit: cover;

  transition:
    transform .8s ease,
    filter .8s ease;
}

.style-card:hover img {
  transform: scale(1.03);
}

/* ============================================================
   BUTTON
   ============================================================ */

.gallery-btn-wrap {
  text-align: center;
  margin-top: clamp(40px, 6vw, 70px);
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 170px;
  height: 42px;

  background: #9f9f9f;
  color: #fff;

  font-size: 13px;
  letter-spacing: .08em;

  text-decoration: none;

  transition:
    background .4s ease,
    transform .4s ease,
    letter-spacing .4s ease;
}

.gallery-btn:hover {
  background: #000;
  transform: translateY(-2px);
  letter-spacing: .14em;
}

/* ============================================================
   SP
   ============================================================ */

@media (max-width: 768px) {

  .style-gallery {
    padding:
      50px
      20px;
  }

  .style-grid {
    gap: 14px;
  }

  .style-card {
    max-width: none;
  }

  .gallery-btn {
    width: 150px;
    height: 40px;
    font-size: 12px;
  }

}

/* ============================================================
   ABOUT US
   ============================================================ */

.aboutus-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 20px 60px 40px 60px;
}

/* 左：写真 */
.aboutus-photo {
  width: 60%; /* 55% → 60% に */
  flex-shrink: 0;
}

.aboutus-photo-text {
  font-size: 13px;
  line-height: 2;
  color: #000;
  text-align: center; 
}

/* 右：テキストエリア */
.aboutus-info {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #000;
  align-items: center; /* 中央寄せ追加 */
  text-align: center;  /* テキスト中央揃え */
}

/* 本文 */
.aboutus-text {
  font-size: 13px;
  line-height: 2;
  color: #000;
  text-align: left; /* 本文は左揃えのまま */
}

/* ロゴ */
.aboutus-logo {
  width: 180px; /* 180px → 大きさはお好みで調整 */
  height: auto;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/* 本文 */
.aboutus-text {
  font-size: 13px;
  line-height: 2;
  color: #000;
}

/* SNS */
.aboutus-sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.aboutus-sns-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
  width: fit-content;
  margin: 0 auto;
}

.aboutus-sns-sub {
  font-size: 12px;
  color: #000;
  letter-spacing: 0.05em;
}

.aboutus-sns-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.aboutus-sns-icons a img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.aboutus-sns-icons a:hover img {
  opacity: 0.7;
}

/* ============================================================
   ABOUT US - SP
   ============================================================ */

@media (max-width: 768px) {

  .aboutus-inner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px;
  }

  .aboutus-photo {
    width: 100%;
  }

  .aboutus-info {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .aboutus-logo {
    width: 140px;
  }

  .aboutus-text {
    font-size: 12px;
    text-align: left;
    line-height: 2;
  }

}

/* ============================================================
   INTERVIEW
   ============================================================ */

.interview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 40px 60px;
}

.interview-card {
  cursor: pointer;
  overflow: hidden;
}

.interview-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 9/16 = 56.25% */
  overflow: hidden;
}

.interview-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 顔が上にある場合は top が自然 */
}

.interview-card:hover .interview-thumb img {
  transform: scale(1.05);
}

.interview-thumb a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* オーバーレイ */
.interview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.interview-logo {
  width: 60px;
  height: auto;
}

.interview-name-block {
  color: #fff;
}

.interview-role {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 2px;
}

.interview-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.interview-name-en {
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 30px 20px;
  }
}


/* ============================================================
   INTERVIEW MODAL
   ============================================================ */

.iv-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.iv-overlay.iv-active {
  display: flex;
}

.iv-modal {
  background: #fff;
  width: 100%;
  max-width: 850px;
  padding:30px 0;
  position: relative;
  animation: ivFadeUp 0.28s ease;
}

@keyframes ivFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.iv-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #555;
  z-index: 10;
  transition: color 0.2s;
}

@media (max-width: 768px) {
  .iv-close {
    top: 90px; /* ← ヘッダー分下げる */
    right: 16px;
  }
}

.iv-close:hover { color: #000; }

.iv-inner {
  display: flex;
  align-items: center;
}

/* 左：人物写真 */
.iv-img-wrap {
  width: 42%;
  flex-shrink: 0;
}

.iv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右：テキスト */
.iv-info {
  width: 58%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #000;
}

.iv-role {
  font-size: 14px;
  color: #333;
  letter-spacing: 0.08em;
}
.iv-bio {
  white-space: pre-wrap;
}

.iv-name-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.iv-name {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.iv-name-ruby {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.iv-bio {
  font-size: 12px;
  color: #333;
  line-height: 2;
}

/* SNS */
.iv-sns {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.iv-sns:hover {
  opacity: 0.6;
}

.iv-sns img {
  width: 28px;
  height: 28px;
}

.iv-role-store {
  font-size: 1.5em;  /* 店名：大きく */
}
.iv-role-title {
  font-size: 0.8em;  /* 役職：小さく */
}

/* SP */
@media (max-width: 768px) {

  .iv-inner {
    flex-direction: column;
  }

  .iv-img-wrap {
    margin-top:40px;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
  }

  .iv-info {
    width: 100%;
    padding: 28px 20px;
    gap: 12px;
  }

  .iv-name {
    font-size: 24px;
  }

  .iv-modal {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* ============================================================
   HAIRSTYLE MODAL
   ============================================================ */

.hs-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hs-overlay.hs-active {
  display: flex;
}

.hs-modal {
  background: #fff;
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: hsFadeUp 0.28s ease;
  padding: 40px 20px 24px;
}


@keyframes hsFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hs-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #555;
  z-index: 10;
  transition: color 0.2s;
}
.hs-close:hover { color: #000; }

/* 全体レイアウト：縦1カラム */
.hs-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 右：テキスト（上に配置） */
.hs-info {
  width: 100%;
  padding: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  order: -1; /* 上に */
}

.hs-item-label {
  font-size: 11px;
  color: #333;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
  display: inline-block;
  text-align: center;
}

.hs-item-name {
  font-size: 14px;
  color: #000;
  letter-spacing: 0.05em;
  text-align: center;
}

/* 左：ギャラリー */
.hs-gallery {
  width: 100%;
  background: #f5f5f3;
  display: flex;
  flex-direction: column;
}

/* メイン画像エリア */
.hs-main-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  min-height: 240px;
}

.hs-main-img {
  width: 100%;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.2s;
  display: block;
  margin: 0 auto;
}

/* 矢印ボタン */
.hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #999;
  padding: 8px 12px;
  transition: color 0.2s;
  z-index: 10;
}
.hs-nav:hover { color: #333; }
.hs-nav.hs-prev { left: 4px; }
.hs-nav.hs-next { right: 4px; }

/* サムネイル */
.hs-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  overflow-x: auto;
  justify-content: center;
}

.hs-thumb {
  width: 50px;
  height: 70px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e8e6;
  transition: border-color 0.2s;
}

.hs-thumb.hs-active { border-color: #333; }
.hs-thumb:hover     { border-color: #aaa; }

.hs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC */
@media (min-width: 769px) {
  .hs-modal {
    max-width: 500px;
  }
  .hs-main-wrap {
    min-height: 320px;
  }
  .hs-main-img {
    max-width: 260px;
  }
}






/* key ingredients PC - 髪の保護・バサつきケア 中央配置 */
@media (min-width: 769px) {
  .pc-card {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .pc-card .ingredients_section-title {
    margin-bottom: auto;
  }

  .pc-card .pc-ingredients {
    margin: auto 0;
  }
}

@media (min-width: 769px) {
  .pc-card .ingredients_section-title {
    margin-bottom: 16px; /* 数字を大きくすると余白が広がります */
  }
}
  
@media (max-width: 768px) {
  .sp-card-half .sp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sp-card-half .sp-single {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


  /* PCでのみ表示（スマホでは非表示） */
.pc-only {
  display: block;          /* 通常時は表示 */
}

/* スマホでのみ表示（PCでは非表示） */
.sp-only {
  display: none;           /* 通常時は非表示 */
}

/* スマホサイズ（768px未満）の設定 */
@media (max-width: 767px) {
  .pc-only {
    display: none;        /* スマホサイズでは非表示 */
  }
  
  .sp-only {
    display: block;       /* スマホサイズでは表示 */
  }
}

/* ============================================================
   FOOTER
   ============================================================ */


   
.site-footer {
  position: relative;
 
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.footer-nav a {
  color: #ffffff !important;
  font-size: 16px;
  letter-spacing: 0.25em;
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
  padding: 16px 8px; /* ← タップエリアを広げる */
  display: block;    /* ← 追加 */
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 8px; /* ← 間隔を少し開ける */
  }

  .footer-nav a {
    font-size: 10px;
    letter-spacing: 0.1em; /* ← 文字間を詰めてPRIVACY POLICYが1行に収まるように */
  }
}

.footer-triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 40px 0 20px 0;
}


/* ロゴ */
.footer-logo {
  width: 160px;
  height: auto;
}

/* SNSアイコン */
.footer-sns img {
  width: 40px;
  height: 40px;
  transition: opacity 0.2s;
}

.footer-sns:hover img {
  opacity: 0.6;
}

/* ナビ */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.footer-nav a {
  color: #ffffff !important;
  font-size: 16px; /* 13px → 大きく */
  letter-spacing: 0.25em; /* 文字間を広く */
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
}


.footer-nav a:hover {
  opacity: 0.6;
}


/* コピーライト */
.footer-copy {
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.08em;
  margin-top: 20px;
}


/* SP */
@media (max-width: 768px) {

  .footer-nav {
    gap: 24px;
  }

  .footer-nav a {
    font-size: 11px;
  }

  .footer-logo {
    width: 130px;
  }

}

/* ========================================
   HAIRSTYLE MODAL - iPhone SE 対策
======================================== */

@media (max-width: 768px) {

  .hs-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 70px 12px 20px;
  }

  .hs-modal {
    width: 100%;
    max-height: none;
    margin: 0 auto;
    padding: 50px 16px 24px;
  }

  .hs-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
  }

}

/* ==========================
   Campaign Banner
========================== */
.campaign-banner{
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.campaign-banner a{
    display:block;
}

.campaign-banner img{
    display: block;
    width:100%;
    height: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);

}

/* ==========================
   Campaign Popup
========================== */

.campaign-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);

    justify-content: center;
    align-items: center;

    z-index: 999999;
}

.campaign-popup.show {
    display: flex;
}

.campaign-popup-content{
    position: relative;

    width: auto;
    max-width: 420px;

    max-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign-popup-content img{
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
}

.popup-close{
    position:absolute;
    top:12px;
    right:12px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#000;
    font-size:24px;
    cursor:pointer;
    z-index:10;
}


.campaign-popup-content img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* お好みで */
}

@media (max-width:768px){

    .campaign-popup-content{
        width: 88%;
        max-width: 420px;
    }

}

.campaign-popup{
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    justify-content: center;
    align-items: center;

    z-index: 999999;
}

@keyframes popupFade{
    from{
        opacity:0;
        transform:translateY(20px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.popup-close{
    position:absolute;
    top:12px;
    right:12px;

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.92);
    backdrop-filter: blur(8px);

    color:#000;
    font-size:22px;
    font-weight:bold;

    cursor:pointer;

    z-index:9999;

    transition:.2s;
}

.campaign-banner img,
.campaign-popup-content img{
    transition:
        transform .35s ease,
        opacity .35s ease,
        filter .35s ease,
        box-shadow .35s ease;
}

.campaign-banner a:hover img,
.campaign-popup-content a:hover img{

    transform: scale(1.03);

    opacity: .95;

    filter: brightness(1.08);

    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}
