/* ============================================
   YERBA BLACK / Unified Styles
   - Layers: base → components → sections → utilities
   - Policy:
     * 共通は1箇所に集約（container/section/h2/lead）
     * セクション固有は、そのセクション内で最小限の上書き
     * デザインは現状維持（色・サイズ・余白の見た目は同等）
   ============================================ */
@layer base, components, sections, utilities;

/* ========== base: Reset + Tokens ========== */
@layer base {
  /* Reset（最小限） */
  *,*::before,*::after { box-sizing: border-box; }
  * { margin: 0; }
  html:focus-within { scroll-behavior: smooth; }
  html, body { height: 100%; }
  img, picture { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ul,ol { padding-left: 1.25em; }
  h1,h2,h3,h4 { line-height: 1.2; text-wrap: balance; }
  html, body { overflow-x: hidden; max-width: 100vw; }
body { width: 100%; }

  /* Design Tokens */
  :root{
    /* colors */
    --c-bg: #171515;
    --c-surface: #ffffff;
    --c-text: #101010;
    --c-muted: #6b7280;
    --c-brand: #0e0e0e;
    --c-gold: #c9a646;
    --c-gold-2: #e6cf83;
    --c-white: #fff;

    /* layout */
    --container-max: 1200px;
    --header-h: 56px;

    /* rhythm */
    --space: clamp(1rem, 2vw, 2rem);
    --radius: 12px;
    --shadow-sm: 0 2px 6px rgba(0,0,0,.08);
    --shadow-lg: 0 26px 52px rgba(0,0,0,.35);

    /* motion */
    --ease: cubic-bezier(.22,.61,.36,1);
    --t-fast: 150ms var(--ease);
  }

  /* Base Typography */
  body{
    font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* Common wrappers */
  .container{ width: min(92%, var(--container-max)); margin-inline: auto; }

  /* Section: 共通パディング */
  .section{ padding: clamp(4rem, 8vw, 8rem) 0; }
  .section.alt{ background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); }

  .container { max-width: 100%; }
.section { width: 100%; overflow-x: hidden; }


  /* H2 共通（白背景用） */
  h2{
    font-family: "游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: .05em;
    position: relative;
    background: linear-gradient(135deg, #0e0e0e 0%, #333 50%, #1a1a1a 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; color: transparent;

  }
h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;

  /* 4色ゴールドの横グラデーション */
  background: linear-gradient(
    90deg,
    #C48E2F 0%,    /* 左 ゴールドブラウン */
    #FFF2B0 25%,   /* 明るいハイライト */
    #9B6B1D 60%,   /* 濃いブロンズ */
    #E6C45D 100%   /* 右 明るいゴールド */
  );
  border-radius: 1px;
}

  /* H2（黒背景用＝blackbg） */
  h2.blackbg{
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #e8e8e8 100%);
    -webkit-background-clip:text; -webkit-text-fill-color: transparent;
    background-clip:text; color: transparent;
    text-shadow: 0 0 20px rgba(255,255,255,.3);
    margin-bottom: 3rem;
  }
  /* 黒背景の中での見出しバッジ風（.on-dark補助） */
  .on-dark{
    display:inline-block; padding:.65rem 1rem; margin:0 0 .9rem;
    border:1px solid var(--c-gold); border-radius:10px;
    background: rgba(0,0,0,.55);
  }

  /* Lead 共通 */
  .lead{
    font-weight: 400; color: var(--c-white);
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    max-width: 600px; margin: 0 auto 3rem;
    line-height: 2.3;
  }

  /* Animations（共通） */
  @keyframes fadeInUp{ from{opacity:0; transform:translateY(30px)} to{opacity:1; transform:none} }
  @keyframes fadeInScale{ from{opacity:0; transform:scale(.95)} to{opacity:1; transform:scale(1)} }
}

/* ========== components: Header / Nav / Hero ========== */
@layer components {
  /* Header */
  .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;  /* ← 横幅を画面いっぱいに */
  z-index: 1000; /* ← 他要素より前に出す */
  background: rgba(14,14,14,.65);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
  .site-header.scrolled{ background: rgba(14,14,14,.9); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
  .header-inner{ display:flex; align-items:center; justify-content:space-between; padding:.5rem var(--space); min-height: var(--header-h); }
/* ロゴ */
.logo img {
  height: 32px;       /* スマホ時の高さ */
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo img {
    height: 50px;     /* PC時の高さ */
  }
}

  .nav-toggle{ background:none; border:0; color:#fff; font-size:1.4rem; }
  .nav-list{
    display:none; list-style:none; color:#fff; background: var(--c-brand);
    position:absolute; right:1rem; top: calc(var(--header-h) - 4px);
    padding:1rem; border-radius: 10px; box-shadow: var(--shadow-sm);
  }
  .nav-list.open{ display:block; }
  .nav-list li{ margin:.5rem 0; }
  .nav-list a{ color:#fff; font-weight:600; }
  .nav-list a.is-active{ color: var(--c-gold); text-decoration: underline; text-underline-offset:4px; }
  @media (min-width: 768px){
    :root{ --header-h: 72px; }
    .nav-toggle{ display:none; }
    .nav-list{
      display:flex !important; position: static; background:none; padding:0; box-shadow:none;
    }
    .nav-list li{ margin: 0 .75rem; }
  }

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}


  /* Hero（共通化） */
  .hero{
    position:relative; min-height: 100vh; color:#fff; overflow:hidden; isolation:isolate;
    background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 100%);
  }
  .hero-media{ position:absolute; inset:0; z-index:0; }
  .hero-img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:.8;
  }
  .hero-overlay{ position:relative; z-index:1; height:100%; display:flex; align-items:center; justify-content:center; padding:2rem 1rem; }
  .hero-inner{ text-align:center; max-width:800px; margin:0 auto; animation: fadeInUp 1.2s ease-out; padding-top:5rem}

.hero h1 {
  font-family: "游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 1rem;

  /* 4色ストライプ型のグラデーション */
  background: linear-gradient(
    90deg,
     #C48E2F 0%,    /* 左 ゴールドブラウン */
    #FFF2B0 25%,   /* 明るいハイライト */
    #9B6B1D 50%,   /* 濃いブロンズ */
   #FFF2B0 80%,   /* 明るいハイライト */
    #E6C45D 100%   /* 右 明るいゴールド */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  /* ゴールドの光沢感を出す影 */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero h2 {
  font-family: "游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;

  /* 横方向の4色ゴールドグラデーション */
  background: linear-gradient(
    90deg,
    #C48E2F 0%,    /* 左 ゴールドブラウン */
    #FFF2B0 25%,   /* 明るいハイライト */
    #9B6B1D 60%,   /* 濃いブロンズ */
    #E6C45D 100%   /* 右 明るいゴールド */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  /* 控えめな光沢っぽい影 */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

  .hero p{
    font-family:"游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem); line-height:1.8; color: rgba(255,255,255,.85);
    text-shadow: 0 2px 10px rgba(0,0,0,.5); max-width:600px; margin:0 auto;
  }
  @media (min-width: 1024px){
    .hero{ min-height:90vh; }
    .hero-overlay{ justify-content:flex-start; padding:4rem 2rem; }
    .hero-inner{ text-align:left; max-width:450px; margin-left: clamp(2rem, 8vw, 12rem); }
    .hero-img{ object-position: 70% center; }
  }
  @media (min-width: 1400px){ .hero-inner{ margin-left: clamp(6rem, 15vw, 20rem); } .hero-img{ object-position:65% center; } }
  @media (min-width: 1800px){ .hero-inner{ margin-left: clamp(10rem, 20vw, 26rem); } .hero-img{ object-position:60% center; } }
}
/* ==== Hero: SPだけ被り防止パッチ（デザインは現状維持） ==== */
@media (max-width: 768px){
  .hero{
    /* 余白を少し増やして文字が収まる器を確保 */
    min-height: 110svh;
    padding-top: calc(var(--header-h) + 12px);
  }
  .hero-overlay{
    align-items: flex-start;       /* テキストを少し上寄せに */
    padding: 1.5rem 1rem 2rem;     /* 余白微調整 */
  }
  .hero-inner{
    max-width: 92vw;
    margin: 0 auto;
    gap: .5rem;
    padding:0;
  }

  /* フォントをSPだけ控えめに */
  .hero h1{
    font-size: clamp(2.2rem, 9vw, 2.8rem);
    letter-spacing: .06em;
    margin-bottom: .6rem;
  }
  .hero h2{
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
    line-height: 1.7;
    margin-bottom: .6rem;
  }
  .hero p{
    font-size: .95rem;
    line-height: 1.9;
  }

  /* 画像の見せ位置をわずかに下げて衝突回避 */
  .hero-img{ object-position: center 75%; /* 下を多めに見せて、上を空ける */}

  /* 可読性UP：上部に薄い黒グラデーション（画像はそのまま） */
  .hero::before{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(to bottom,
                 rgba(0,0,0,.5) 0%,
                 rgba(0,0,0,0) 40%);
    z-index:0; pointer-events:none;
  }
}

/* きわめて狭い端末ではリード文を畳む（任意） */
@media (max-width: 360px){
  .hero p{ display:none; }
}

/* ==== Hero: SPで画像を下に寄せて“文字の空白”を作る ==== */
@media (max-width: 768px){
  :root{
    /* 好みで微調整（数字を大きくすると画像がさらに下へ） */
    --hero-img-focus: 82%;  /* object-position のY％ */
    --hero-img-shift: 10svh;/* 画像の下方向シフト量 */
  }

  .hero{
    min-height: 115svh;                      /* 器を少し縦に拡げる */
    padding-top: calc(var(--header-h) + 12px);
  }
  .hero-overlay{
    align-items: flex-start;                  /* テキストはやや上寄せ */
    padding: 1.25rem 1rem 2rem;
  }
  .hero-img{
    object-position: center var(--hero-img-focus); /* 見せ位置を下げる */
    transform: translateY(var(--hero-img-shift));  /* さらに下へ押す */
  }
  /* 上部を少し暗くして可読性UP（任意） */
  .hero::before{
    content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
    background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 40%);
  }
}

/* ==========================
   Developer Section (final)
   ========================== */

.dev{
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  color:#333;
  padding: 3rem 1rem;
  position: relative;
  overflow-x: hidden;
}

/* ---- Base (SP) ---- */
.dev-container{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "image"
    "body"
    "profile";
}

.dev-title{
  grid-area: title;
  font-family: "游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 2rem;

  background: linear-gradient(180deg,#C48E2F 0%,#FFF2B0 25%,#9B6B1D 60%,#E6C45D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  writing-mode: vertical-rl;
  text-orientation: mixed;
  justify-self: center;
  align-self: center;
}

.dev-fig{
  grid-area: image;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.15), inset 0 0 0 1px rgba(212,165,116,.3);
  aspect-ratio: 4/3;
  position: relative;
  max-width: 100%;
  transform: none; /* SPはズラさない */
}

.dev-fig img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.9) contrast(1.1);
  transition: transform .6s var(--ease), filter .3s var(--ease);
}
.dev-fig:hover img{
  transform: scale(1.02);
  filter: brightness(1) contrast(1.1);
}

.dev-body{
  grid-area: body;
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 0;
}
.dev-body::before{ display:none; }
.dev-body p{
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.9;
  color:#333;
  margin: 0 0 1.3em;
  text-align: left;
}

.dev-profile{
  grid-area: profile;
  background: #323232;
  border: 1px solid #d4af37;
  padding: 2rem;
  border-radius: 12px;
}

/* profile inner */
.dev-role{
  font: 600 .9rem/1.4 'Noto Sans JP',sans-serif;
  color:#d4af37;
  letter-spacing:.15em;
  margin:0 0 .8rem;
  text-transform: uppercase;
}
.dev-name{
  font:700 1.4rem/1.2 'Noto Sans JP',sans-serif;
  color:#fff;
  margin:0 0 1rem;
}

.dev-meta{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:.7rem .8rem;
  margin:0 0 1.5rem;
  font-size:.9rem;
  color:#fff;
  padding:0;
}
.dev-meta li{
  padding:.4rem .8rem;
  border-radius: 4px;
  background:#222;
  border:1px solid #d4af37;
  color:#fff;
}

.dev-quote{
  font-size: 1.05rem;
  line-height: 1.8;
  color:#fff;
  position: relative;
  padding: 1.5rem;
  background:#111;
  border-radius: 8px;
  border-left: 3px solid #d4af37;
}
.dev-quote::before{
  content:'"';
  position:absolute;
  top:.5rem;
  left:.8rem;
  font-size:2rem;
  color:#d4af37;
  opacity:.7;
  font-family: serif;
  font-weight: bold;
}

/* ---- Tablet (768+) ---- */
@media (min-width: 768px){
  .dev{ padding: 5rem 1rem; }

  .dev-container{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title  title"
      "image  body"
      "profile profile";
    gap: 2rem 3rem;
  }

  .dev-fig{
    aspect-ratio: 3/4;
    max-height: 65vh;
    margin-bottom: 0;
    transform: none;
  }

  .dev-body{
    margin-bottom: 0;
    padding-left: 2rem;
  }
  .dev-body::before{
    display:block;
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:2px;
    background: linear-gradient(180deg, transparent, #d4a574, transparent);
    opacity:.5;
  }

  .dev-profile{
    max-width: 75%;
    margin: 1rem auto 0;
  }
}

/* ---- Desktop (1024+) ---- */
@media (min-width: 1024px){
  .dev{
    min-height: 100vh;
    display:flex;
    align-items:center;
    padding: 4rem 2rem;
  }

  /* 右カラム：image（上）＋profile（下）
     左カラム：title + body（bodyは2行にまたがる）
     → profile の最下端に合わせて body も伸びる（下端が揃う） */
  .dev-container{
    --dev-right-shift: 3rem; /* 右カラムの見え位置（画像・プロフィール共通） */

    grid-template-columns: minmax(320px, 1fr) 1.3fr;
    grid-template-rows: auto 1fr; /* 下段が伸びる */
    grid-template-areas:
      "title  image"
      "body   profile";
    gap: 2rem 4rem;

    align-items: stretch; /* 下端を揃える */
  }

  /* titleは上段左 */
  .dev-title{
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    letter-spacing: .18em;
    line-height: 1.15;
    text-align: left;
    justify-self: center;
    align-self: center;
  }

  /* bodyは下段左：伸びるけど中身は上寄せ */
  .dev-body{
    max-width: 60ch;
    align-self: stretch;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 0;
  }
  .dev-body::before{ left: -1rem; }

  /* profileは下段右：伸びる */
  .dev-profile{
    margin: 0;
    max-width: 100%;
    justify-self: stretch;
    align-self: stretch;
    border-radius: 14px;
  }

  /* 右カラムの“見え位置”を揃える（画像とプロフィールの右端が一致） */
  .dev-fig,
  .dev-profile{
    transform: translateX(var(--dev-right-shift));
  }
}

/* ---- Large Desktop (1200+) ---- */
@media (min-width: 1200px){
  .dev-fig{
    max-height: 88vh;
  }
  .dev-title{
    font-size: clamp(3.2rem, 4.5vw, 4.8rem);
  }
}

/* ===== ワイド画像セクション（左右寄せ対応） ===== */
.full-img-left,
.full-img-right {
  background: #000;
  padding: 0;
  width: 100%;
}

/* コンテナ共通 */
.full-img-container {
  max-width: 1600px;
}

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

/* 左寄せ */
.full-img-left .full-img-container {
  margin-left: 0;
  margin-right: auto;
}

/* 右寄せ */
.full-img-right .full-img-container {
  margin-left: auto;
  margin-right: 0;
}

/* スマホ時は中央表示・幅いっぱい */
@media (max-width: 768px) {
  .full-img-container {
    max-width: 100%;
    margin: 0 auto;
  }
}
.bg-img-right {
  background: url("../img/hair-image2.jpg") no-repeat center center;
  background-size: cover;
  width: 100%;
  min-height: 30vh; /* 好みで調整、例: 100vh なら画面いっぱい */
}

  /* Yerba Santa（黒×金×白・見出し統一） */
/* 画像 */
.ys-media {
  margin: 2rem 0;
  overflow: hidden;
}
.ys-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



/* グリッド */
.ys-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 各ポイント */
.ys-point {
  text-align: left;
}

/* バッジ丸 */
.ys-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #d4af37, #ffd700); /* ゴールド調 */
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  margin: 0 auto 2rem;
}

/* 見出し */
.ys-point h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 14px;
  color:var(--c-gold);
  text-align: center;
    font-family: "游明朝体","Yu Mincho","Hiragino Mincho ProN",serif;
}

/* 本文 */
.ys-point p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #ddd;
}

/* サブコピー */
.ys-sub {
  font-size: 13px;
  color: #ffcc00;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .ys-points {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ys-point {
    text-align: center;
  }
  .ys-circle {
    margin: 0 auto 20px;
  }
}


/* =========================================
   INGREDIENTS（成分セクション）- バランス最適化版
   ・背景：白
   ・スマホ：2カラム、コンパクト
   ・PC：上段3 / 下段4、ゆったり
   ・画像は円形くり抜き＋ゴールド枠
========================================= */

/* セクション全体（白背景） */
#ingredients.section {
  background: #fff;
  color: #222;
  text-align: center;
  overflow-x: hidden; /* 横ブレ防止 */
}

/* リード文 */
#ingredients .lead {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.7;
  color: #444;
  margin: 0 auto clamp(24px, 4vw, 36px);
  max-width: 680px;
  text-align: center;
}

/* グリッド基本設定 */
#ingredients .ing-grid {
  display: grid;
  margin-bottom: clamp(24px, 4vw, 36px);
  width: 100%;
  overflow-x: hidden;
}

/* スマホ：2カラム、コンパクト間隔 */
#ingredients .ing-grid--three,
#ingredients .ing-grid--four {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px; /* 縦間隔16px、横間隔12px */
}

/* タブレット：上段3 / 下段4、ゆったり間隔 */
@media (min-width: 768px) {
  #ingredients .ing-grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
  }
  #ingredients .ing-grid--four {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 16px;
  }
}

/* PC大画面：さらにゆったり */
@media (min-width: 1200px) {
  #ingredients .ing-grid {
    gap: 40px 24px;
  }
}

/* カード */
#ingredients .ing-card {
  border-radius: 8px;
  padding: 12px 8px; /* スマホ：コンパクト */
  text-align: center;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  #ingredients .ing-card {
    padding: 20px 16px; /* タブレット以上：ゆったり */
    border-radius: 12px;
  }
}

/* 円形サムネイル - レスポンシブサイズ */
#ingredients .ing-thumb {
  /* スマホ：小さめ */
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* タブレット：中サイズ */
@media (min-width: 768px) {
  #ingredients .ing-thumb {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
  }
}

/* PC：大サイズ */
@media (min-width: 1024px) {
  #ingredients .ing-thumb {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
  }
}

#ingredients .ing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#ingredients .ing-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

#ingredients .ing-thumb:hover img {
  transform: scale(1.05);
}

/* タイトル - レスポンシブサイズ */
#ingredients .ing-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* スマホ小さめ → PC適度 */
  font-weight: 700;
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
  color: #333;
  text-align: center;
}

/* 説明文 - レスポンシブサイズ */
#ingredients .ing-text {
  font-size: clamp(0.85rem, 2vw, 1rem); /* スマホ小さめ → PC標準 */
  line-height: 1.6;
  color: #666;
  text-align: center;
}

/* スマホでの特別調整 */
@media (max-width: 767px) {
  #ingredients .ing-grid {
    justify-items: center;
    max-width: 100%;
  }

  #ingredients .ing-card {
    max-width: 160px; /* カード幅を制限してコンパクトに */
  }

  #ingredients .ing-text {
    font-size: 0.8rem; /* スマホでは説明文をさらに小さく */
    line-height: 1.5;
  }
}


  /* Shopping */


.product-hero{
  display: grid;
  gap: clamp(18px, 3vw, 36px);
  grid-template-columns: 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(212,175,55,.12);
  border-radius: 20px;
  padding: clamp(18px, 3.5vw, 40px);
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
}
@media (min-width: 900px){
  .product-hero{
    grid-template-columns: minmax(320px, 520px) 1fr;
  }
}

.product-media{
  margin: 0;

  aspect-ratio: 4/5;
}
.product-media img{ width:100%; height:100%; object-fit: cover; }
}

.product-info{ display: grid; gap: 14px; }
.product-name{ font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 800; }
.product-meta{ display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.badge{ font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .4rem .8rem; }
.badge.gold{ background: linear-gradient(135deg, #d4af37, #ffd700); color:#1a1a1a; }
.badge.ghost{ background:#f7f7f8; color:#333; }

.product-copy{ line-height:1.8; color:#333; }
.product-points{ list-style:none; padding:0; display:grid; gap:.35rem; }
.product-points li{ position:relative; padding-left:1.2rem; }
.product-points li::before{
  content:""; position:absolute; left:0; top:.5em;
  width:.55rem; height:.55rem; border-radius:50%;
  background: linear-gradient(135deg, #d4af37, #ffd700);
}

.product-price .price-main{ display:flex; align-items:baseline; gap:.25rem; }
.price-num{ font-size: clamp(1.6rem, 4.8vw, 2.2rem); font-weight: 900; }
.price-tax{ color:#777; font-size:.9rem; }
.price-sub{ color:#666; font-size:.9rem; }

/* Amazon購入ボタン - 黒グラデーション */
.btn-amz {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #fff;

  background: linear-gradient(135deg, #000000 0%, #222222 50%, #444444 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);

  transition: all 0.3s ease;
  position: relative;
}

.btn-amz::after {
  content: "›";
  font-size: 1.2rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.btn-amz:hover {
  background: linear-gradient(135deg, #222222 0%, #000000 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-amz:hover::after {
  transform: translateX(4px);
}


  /* FAQ */
/* ===== FAQ (UX改良) ===== */
/* ===== FAQ (シンプル版) ===== */
.faq { background: #fff; }
.faq .container { max-width: 800px; }

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  overflow: hidden;
  transition: box-shadow .25s ease;
  margin: 1rem 0;
}

.faq-item:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); }

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ←右端に＋を配置 */
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  cursor: pointer;
  list-style: none; /* Safari対策 */
  position: relative;
}

.faq-summary::after{
  content:"+";
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-gold, #d4af37); /* ゴールド or 黒でもOK */
  transition: transform .25s ease, color .25s ease;
}

/* 開いた時の見た目 */
.faq-item[open] .faq-summary::after { content:"−"; color:#000; }

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s ease;
}
.faq-item[open] .faq-content { padding: 0 1.5rem 1.25rem; max-height: 400px; }

.faq-content p{
  margin: .75rem 0 0;
  line-height: 1.8;
  color: #333;
}

.faq-summary:focus-visible{
  outline: 3px solid rgba(212,175,55,.4);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Footer */
.site-footer {
  background: var(--c-brand);
  color: #fff;
  padding: 2.5rem 1rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-info {
  display: grid;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-company strong,
.footer-contact strong {
  color: var(--c-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-contact a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .footer-info {
    grid-template-columns: 1fr 1fr;
  }
}


/* ========== utilities: helpers & a11y ========== */
@layer utilities{
  .text-center{ text-align:center; }
  .mt-2{ margin-top:.5rem; }
  .mt-4{ margin-top:1rem; }
  .mb-4{ margin-bottom:1rem; }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:1ms !important; animation-iteration-count:1 !important; transition-duration:1ms !important; }
  }
}


/* 丸型BUYフローティングボタン */
.floating-btn-circle {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;

  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column; /* アイコン＋テキストを縦並び */
  align-items: center;
  justify-content: center;
  gap: 4px;

  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;

  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.floating-btn-circle:hover {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.floating-btn-circle svg {
  width: 30px;
  height: 30px;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .floating-btn-circle {
    width: 80px;
    height: 80px;
    font-size: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .floating-btn-circle svg {
    width: 18px;
    height: 18px;
  }

   /* H2調整 */
  h2{
    font-size: clamp(1.4rem, 5.5vw, 1.8rem); /* 少し小さくして改行防止 */
    line-height: 1.4;
    word-break: keep-all; /* 日本語の不自然な途中改行を防ぐ */
    margin-bottom: 2.5rem; /* 余白を広めに */
  }

}
.concept-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(24px, 5vw, 48px) auto;
  width: 100%;
}

.concept-logo .logo-img{
  width: clamp(140px, 35vw, 260px); /* SP〜PCまで自然に伸縮 */
  max-width: 100%;
  height: auto;
  display: block;
}
