:root {
  /* 必要最低限の変数だけ（他領域へ影響しない） */
  --font-latin: "Cormorant Garamond", serif;
  --font-ja: "Noto Sans JP";
  --bg: #fffbf6;
  --ink: #1b1b1b;
  --hdr-h: 60px;
  --hdr-pad: 8px 14px;
  --glass-alpha: 0.26;
  --glass-blur: 16px;
  --icon-btn: 28px;
  --icon-svg: 13px;
  --follow-arc-shift: 42px;
  --legal-font-size: 9px;
  --legal-color: #9a9aa2;
  --legal-line-height: 1.7;
  --legal-letter-spacing: 0.02em;
  --legal-gap-y: 2px;
  --legal-top-space: 40px;
}

:root {
  --bg: #fffbf6;
  --ink: #1b1b1b;
  --card: #fff;
  --hdr-h: 60px;
  --hdr-pad: 8px 14px;
  --glass-alpha: 0.26;
  --glass-blur: 16px;
  --icon-btn: 28px;
  --icon-svg: 13px;
  --circle-dark: #888490;
  --circle-light: rgba(136, 132, 144, 0.3);
  --gap-xl: 44px;
  --gap-lg: 34px;
  --gap-md: 22px;
  --gap-sm: 14px;
  /* すべてのCTAの基準オフセット（“少し左”）：5px */
  --cta-nudge: 5px;
  /* UserVoice/FAQ の見出し＆本体を少し左へ（注釈は右寄せのまま） */
  --x-nudge: 8px;
  /* ▼ Product Feature 以降をまとめて下に下げる */
  --pf-extra-offset: 50px; /* 好きなだけ下げたい量をここで調整（px） */
}

/* 1) メニュー内の下線を完全オフ（通常/hover/visitedなど全状態） */
#ghMenu a,
#ghMenu a:hover,
#ghMenu a:focus,
#ghMenu a:active,
#ghMenu a:visited {
  text-decoration: none !important;
  border-bottom: 0 !important;
  outline: 0;
}
/* メニュー見出し下の“1pxライン”も削除（box-shadowで引いている線） */
#ghMenu .menu-head {
  box-shadow: none !important;
}
/* 念のため、項目自体にボーダーがあるテーマにも対応 */
#ghMenu .menu-item,
#ghMenu .menu-acc-panel li {
  border: 0 !important;
}

/* 2) ヘッダーのカートアイコンを画像に差し替え（サイズは変数で調整可） */
:root {
  --gh-cart-w: 22px; /* 必要なら数値だけ変更 */
  --gh-cart-h: 22px;
}
#ghCartBtn svg {
  display: none !important;
} /* 既存SVGは非表示 */
#glassHeader .gh-btn img.gh-cart-img {
  width: var(--gh-cart-w);
  height: var(--gh-cart-h);
  object-fit: contain;
  display: block;
}

/* 3) メニューのアーチ文字を 4px 上に（= translateY を4px減算） */
#ghMenu .follow-arc text {
  transform: translateY(calc(var(--follow-arc-shift) - 4px)) !important;
}
* {
  box-sizing: border-box;
}
html,
body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  background: #fffcf8 !important;
  font-family: "Cormorant Garamond", "Noto Sans JP", sans-serif;
}
body div.u-color__bg--base {
  background: #fffcf8 !important;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== ECforce標準ヘッダー無効化 ====== */
#ecf_header_section,
#ecf_header_section .l-header,
#ecf_header_section .l-header__inner,
.l-header,
.l-header__inner,
.p-globalHeader,
.p-header,
.c-header,
#Header,
#header {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  display: block !important;
}

/* ===== Glass Header ===== */
#glassHeaderRoot {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 2147483640;
}
#glassHeader {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  height: var(--hdr-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--hdr-pad);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.44),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0) 22%),
    rgba(255, 255, 255, var(--glass-alpha));
  border: 1px solid rgba(255, 255, 255, 0.7);
  outline: 1px solid rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(var(--glass-blur)) saturate(130%) contrast(105%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(130%) contrast(105%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.gh-left,
.gh-center,
.gh-right {
  display: flex;
  align-items: center;
}
.gh-left {
  justify-content: flex-start;
  gap: 8px;
}
.gh-center {
  justify-content: center;
}
.gh-right {
  justify-content: flex-end;
  gap: 12px;
}
.gh-logo img {
  height: 16px;
  width: auto;
  max-width: 240px;
}
.gh-btn {
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  height: var(--icon-btn);
  min-width: var(--icon-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
}
.gh-btn svg {
  width: var(--icon-svg);
  height: var(--icon-svg);
}
.gh-btn:hover,
.gh-btn:focus-visible {
  opacity: 0.74;
}
body.gh-scrolled #glassHeader {
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.86), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* ===== Drawer Menu ===== */
#ghMenu {
  position: fixed;
  inset: 0;
  z-index: 2147483641;
  visibility: hidden;
  pointer-events: none;
}
#ghMenu.show {
  visibility: visible;
  pointer-events: auto;
}
#ghMenuOv {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.28s ease;
}
#ghMenu.show #ghMenuOv {
  opacity: 1;
}
#ghMenuPanel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  max-height: 100vh;
  width: min(88vw, 440px);
  background: #fffcf8;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.18);
  transform: translateX(12px);
  opacity: 0.98;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s ease;
}
#ghMenu.show #ghMenuPanel {
  transform: none;
}
#ghMenuPanel .menu-inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
  padding: 0 18px max(env(safe-area-inset-bottom), 0px);
}
#ghMenuPanel .menu-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fffcf8;
  margin-left: -18px;
  margin-right: -18px;
  padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.menu-head .menu-brand {
  flex: 1;
  text-align: center;
}
.menu-title {
  letter-spacing: 0.08em;
  font-size: 18px;
  font-family: var(--font-latin);
}
.menu-tagline {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  font-family: var(--font-latin);
}
.menu-list {
  margin: 28px 8px 0;
  display: grid;
  gap: 22px;
}
.menu-item {
  display: block;
  color: inherit;
  text-decoration: none;
}
.menu-en {
  font-size: 20px;
  letter-spacing: 0.02em;
  font-family: var(--font-latin);
}
.menu-ja {
  font-size: 12px;
  margin-top: 2px;
  color: #333;
  font-weight: 600;
  font-family: var(--font-ja);
  font-feature-settings: "palt" 1;
}
#ghMenuClose {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  background: transparent;
}

/* メニュー内のフォント/色は明示的に固定（外部の継承防止） */
#ghMenu,
#ghMenu * {
  color: #000 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

/* Follow us（アーチ） */
#ghMenu .follow-arc {
  display: block;
  margin: 0 auto 6px;
}
#ghMenu .follow-arc text {
  font-family: var(--font-ja), system-ui, sans-serif !important;
  font-size: 11px !important;
  fill: #666 !important;
  dominant-baseline: central;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: translateY(var(--follow-arc-shift));
}
#ghMenu .menu-follow-title {
  margin: 0 0 10px;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-latin);
  letter-spacing: 0.02em;
}
#ghMenu .follow-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
} /* ←アイコン間隔は狭め */
#ghMenu .follow-icons a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fffcf8;
  border: none;
}
#ghMenu .follow-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fffcf8;
}

/* 法定リンク */
#ghMenu .menu-legal {
  list-style: none;
  padding: 0;
  margin: var(--legal-top-space) 8px 8px;
}
#ghMenu .menu-legal .legal-links + .legal-links {
  margin-top: var(--legal-gap-y);
}
#ghMenu .menu-legal a {
  display: inline-block;
  font-size: var(--legal-font-size);
  color: var(--legal-color);
  line-height: var(--legal-line-height);
  letter-spacing: var(--legal-letter-spacing);
  text-decoration: none;
  font-family: var(--font-ja);
}

/* 店舗情報（アコーディオン + 三角） */
#ghMenu .menu-acc {
  margin: 0;
}
#ghMenu .menu-acc-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: block;
}
#ghMenu .menu-acc-btn .menu-en {
  font-size: 20px;
  letter-spacing: 0.02em;
  font-family: var(--font-latin);
}
#ghMenu .menu-acc-btn .menu-ja {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
#ghMenu .menu-acc-btn .menu-ja::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.2px solid #666;
  border-bottom: 1.2px solid #666;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
#ghMenu .menu-acc-btn[aria-expanded="true"] .menu-ja::after {
  transform: rotate(-135deg);
}
#ghMenu .menu-acc-panel {
  margin: 8px 0 0 0;
  padding-left: 14px;
  border-left: 1px solid #e6e6ea;
}
#ghMenu .menu-acc-panel li {
  margin: 6px 0;
}
#ghMenu .menu-acc-panel a {
  font-size: 12px;
  color: #333;
  text-decoration: none;
  font-family: var(--font-ja);
}
#ghMenu .menu-acc-panel[hidden] {
  display: none !important;
}
#ghMenu .menu-acc-panel:not([hidden]) {
  display: block !important;
}

/* 透かしロゴ（任意） */
#ghMenu .menu-wm {
  position: static;
  display: block;
  margin: 12px auto 0;
  width: min(360px, 60vw);
  opacity: 0.3;
  transform: none;
  pointer-events: none;
  user-select: none;
}
#ghMenu .menu-meta {
  padding-bottom: 24px;
}

/* ===== ヒーロー ===== */

#pdpHero {
  width: min(1100px, 94vw) !important;
  margin: 0 auto !important;
}

.pdp-hero {
  position: relative;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
}

.pdp-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.5;
  max-height: 92vh;
  overflow: hidden;
  margin-top: 60px;
}

.pdp-track {
  position: absolute;
  inset: 0;
  display: flex;
  will-change: transform;
}

.pdp-slide {
  flex: 0 0 100%;
  position: relative;
}

.pdp-slide img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← 見切れないように変更 */
}

.pdp-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}

.pdp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s;
}

.pdp-dot.active {
  background: #fff;
  transform: scale(1.1);
}

.pdp-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none; /* JSで上書きするのでOK */
}

.pdp-tri {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  opacity: 0.55;

  /* クリックを強制的に有効にする */
  pointer-events: auto !important;
  cursor: pointer !important;
}

.pdp-tri.left {
  left: 8px;
  border-right: 14px solid #bbb;
}

.pdp-tri.right {
  right: 8px;
  border-left: 14px solid #bbb;
}

.pdp-hero-copy {
  position: absolute;
  left: 50%;
  top: calc(12px + var(--hdr-h) * 0.4);
  transform: translate(-50%, -10%);
  text-align: center;
  color: #888490;
  z-index: 2;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.5;
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
}

/* ===== 本文 ===== */
.pdp {
  padding: 0 0 40px;
}
.pdp-inner {
  margin: 0 auto;
  box-sizing: border-box;
}
.pdp-title {
  font-size: 18px;
  margin: var(--gap-md) 0 4px;
  line-height: 1.6;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
.pdp-sub {
  font-size: 12px;
  color: #555;
  margin: 2px 0 10px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
.pdp-price {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  margin: 2px 0 6px;
  line-height: 1;
}
.pdp-price .tax {
  font-size: 12px;
  display: inline-block;
  margin-left: 6px;
  position: relative;
  top: -1px;
}
.pdp-spec {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-content: space-between;
  align-items: baseline;
  justify-content: center;
  justify-items: stretch;
}
/* 内容量 */
.pdp-spec .right {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
}

/* “全成分”（上部）をX=0厳密センター */
.pdp-top-acc {
  position: relative !important;
  display: grid !important;
  grid-auto-flow: column !important;
  justify-content: center !important;
  justify-items: center !important;
  width: max-content !important;
  margin: 0px auto 0 !important;
}
.pdp-top-acc .acc-btn {
  margin: 0 2px;
}

/* CTA（上下とも） */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
  margin: 8px auto var(--gap-lg) !important;
  box-sizing: border-box;
  place-items: center;
  justify-items: stretch;
  float: none !important;
  text-align: initial !important;
  position: relative !important;

  /* PCデフォルト */
  width: 80%;
  padding-left: 50px;
  padding-right: 50px;
}

/* スマホ用 (550px以下) */
@media (max-width: 550px) {
  .cta-grid {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* 3番目以降は2カラム跨ぎ */
.cta-grid > *:nth-child(n + 3) {
  grid-column: 1 / -1;
  width: 100%;
}

/* 見出し */
.cta-label {
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: -16px;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  font-size: 14px !important;
  color: #111;
  position: static;
  left: auto;
  width: 100%;
}

/* 2番目の見出し */
.cta-label.cta-heading-sub {
  font-size: 16px !important;
}

/* cta-label-under は非表示 */
.cta-label-under {
  display: none;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #1b1b1b;
  background: rgba(243, 243, 243, 0.6);
  border: 1px solid #1b1b1b;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-size: 12px !important;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
.cta:hover {
  transform: translateY(-1px) !important;
}

.cta-single {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #1b1b1b;
  background: rgba(243, 243, 243, 0.6);
  border: 1px solid #1b1b1b;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-size: 14px !important;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
}
.cta-single:hover {
  transform: translateY(-1px) !important;
}
.cta-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #1b1b1b;
  background: rgba(243, 243, 243, 0.6);
  border: 1px solid #1b1b1b;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-size: 12px !important;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  transform: translateX(50%);
  margin-bottom: 20px;
  margin-top: 20px;
  width: 50%;
}
.cta-gift:hover {
  transform: translateY(-1px) !important;
}

.cta-gift-single {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: #1b1b1b;
  background: rgba(243, 243, 243, 0.6);
  border: 1px solid #1b1b1b;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-size: 14px !important;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  margin-top: 20px;
}
.cta-gift-single:hover {
  transform: translateY(-1px) !important;
}

/* 1. 親要素に text-align: center; を追加 */
.cta-parent-wrapper {
  text-align: center;
}

/* 2. ボタンのCSS (left は不要) */
.cta-cart {
  display: inline-flex; /* テキストに幅を合わせる */
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  color: #1b1b1b;
  background: rgba(243, 243, 243, 0.6);
  border: 1px solid #1b1b1b;
  text-decoration: none !important;
  transition: 0.15s ease;
  font-size: 12px !important;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 20px;
  margin-top: 20px;
  /* width: 20%; (削除) */
  /* left: 50%; (削除) */
}
.cta-cart:hover {
  transform: translateY(-1px) !important;
}

/* 定期ボタン用のスタイル */
.cta.cta-periodic,
.cta-single.cta-periodic {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  background: rgba(243, 243, 243, 0.6);
  color: #1b1b1b;
  min-height: 60px;
  margin-bottom: 4px;
  text-decoration: none;
}

/* ボタン内の割引率 (%) */
.cta-periodic .cta-percent {
  font-size: 1.5em;
  font-weight: 700;
  color: #1b1b1b;
  margin: 0 0.2em;
}

/* 説明文（ボタン枠に合わせて & 近づける） */
.cta-description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px !important;
  color: #c1c6c4;
  line-height: 1.6;
  text-align: left;
  margin-top: -16px !important;

  /* ▼ ボタンと同じ幅に揃える */
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  box-sizing: border-box;

  /* ▼ gridの縦gap(12px)を打ち消してボタンに近づける */
  margin: -8px 0 0;
}

/* 下のCTAだけ右に3pxシフト */
.ing-section .cta-grid {
  transform: translateX(calc(-50% - var(--cta-nudge) + 3px)) !important;
}

/* Product Feature */
.pf {
  margin: calc(var(--gap-xl) + var(--pf-extra-offset)) 0 var(--gap-xl);
  text-align: center;
}
.pf h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  margin: 0 0 var(--gap-sm);
}
.p-page_content__inner h2 {
  margin-bottom: 96px !important;
  text-align: center;
}
.pf-card {
  position: relative;
  border: none;
  border-radius: 10px;
  background: transparent;
  width: 100%;
}
.pf-visual {
  position: relative;
  border-radius: 10px;
  overflow: visible;
  min-height: 520px;
  padding: 36px 16px 140px;
}
.pf-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("{{ file_root_path }}/shop/Image/pages/2.png") center/cover
    no-repeat;
  opacity: 0.6;
  border-radius: 10px;
  pointer-events: none;
}
.pf-logo {
  position: relative;
  height: auto;
  margin-top: 96px;
  width: 250px;
  left: 50%;
  transform: translateX(-50%);
}
.pf-inner {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-38%);
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.pf-copy {
  font-size: 13px;
  line-height: 2;
  margin: 72px 0 2px;
}
.pf-copy small {
  font-size: 11px;
  opacity: 0.9;
}

/* --- 1. ユーザー提供の既存CSS（一部修正） --- */

/* 丸4つ＝正円 */
.tag {
  --tag: 86px;
  width: var(--tag);
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  flex: 0 0 var(--tag);
  transform: none !important;
  font-family: "Noto Sans JP", sans-serif;
}

/* スマホ用 (430px以下) */
@media (max-width: 430px) {
  /* 丸4つ＝正円 */
  .tag {
    --tag: 22%;
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
  }
}

.tag--dark {
  background: var(--circle-dark);
  color: #fff;
}
.tag--light {
  background: var(--circle-light);
  color: #fff;
}
.pf-tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
}
.pf-tags .tag-circles {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
}

/* Feature 詳細 */
.fd {
  margin: var(--gap-xl) 0 var(--gap-lg);
  text-align: center;

  /* ★★★ レイアウトのためにこの2行を追記 ★★★ */
  flex: 1; /* 利用可能なスペースをすべて使う */
  min-width: 0; /* flexアイテムが縮小できるようにする */
}
.fd-block {
  margin: 26px auto;
}
.fd-indicator {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 12px;
}
/* 画面幅が767px以下の場合に適用されます */
@media screen and (max-width: 500px) {
  .fd-indicator {
    gap: 8px;
  }
}

.fd-para-top {
  font-size: 11px;
  line-height: 2;
  color: #222;
  margin-top: 48px;
  font-family: "Noto Sans JP", sans-serif;
}
.fd-para-howto {
  font-size: 11px;
  line-height: 2;
  color: #222;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
.fd-para-space-bottom {
  margin-bottom: 96px;
  font-family: "Noto Sans JP", sans-serif;
}
.fd-para {
  font-size: 11px;
  line-height: 2;
  color: #222;
  margin: 48px auto;
  text-align: left !important;
  max-width: 360px;
  font-family: "Noto Sans JP", sans-serif;
}
/* スマホ用 (500px以下) */
@media (max-width: 500px) {
  .fd-para {
    margin: 48px 12px;
  }
}

/* --- 2. 縦書きレイアウト用の追加CSS --- */

/* ページ全体の基本スタイル（必要に応じて調整してください） */
body {
  font-family: "Noto Sans JP", sans-serif; /* 既存CSSにフォントを統一 */
  margin: 0;
  padding: 0rem; /* ページの余白 */
  background-color: #f9f9f9; /* ページ背景色（不要なら削除） */
}

/* 全体を囲むコンテナ */
.container-vertical-text {
  position: relative;
  display: flex; /* 子要素を横並びにする */
  justify-content: center; /* 中央寄せ */
  margin: 0 auto; /* コンテナ自体を中央揃え */
}

/* 右側：縦書きテキスト */
/* --- 1. PC版（デフォルト）のスタイル --- */
.vertical-text {
  position: absolute;
  top: 70px;
  right: 140px;
  writing-mode: vertical-rl;
  color: #888;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", sans-serif;
}
/* スマホ用 (710px以下) */
@media (max-width: 710px) {
  .vertical-text {
    top: 70px;
    right: 2%;
  }
}
/* スマホ用 (450px以下) */
@media (max-width: 450px) {
  .vertical-text {
    top: 70px;
    right: 0;
  }
}

/* Slider 共通 */
h2.section-title {
  font-size: 24px !important;
  text-align: center;
  margin-bottom: 96px;
  font-family: "Cormorant Garamond", sans-serif;
}
.section-title_sub {
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
  font-family: "Cormorant Garamond", sans-serif;
}
.section-text {
  font-size: 14px;
  text-align: center;
  margin: var(--gap-xl) 0 var(--gap-sm);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
}

.howto_step {
  font-size: 16px;
  font-family: "Noto Sans JP" !important;
  font-weight: 800;
  color: #888490;
  text-align: center !important;
}

.faq-description {
  font-size: 9px;
  font-family: "Noto Sans JP" !important;
  margin-top: 48px;
  text-align: left;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  margin: 12px auto;
  box-sizing: border-box;
}
.slider-track {
  position: relative;
  z-index: 1;
  display: flex;
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  padding: 10px !important;
}

/* 矢印ボタン */
.slider-ov {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.slider-tri {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  opacity: 0.55;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.slider-tri.left {
  left: 8px;
  border-right: 14px solid #bbb;
}
.slider-tri.right {
  right: 8px;
  border-left: 14px solid #bbb;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: url("https://d2w53g1q050m78.cloudfront.net/bedintokyo/uploads/shop/Image/rewiew_icon.png")
    center center / cover no-repeat;
  flex: 0 0 34px;
}
.who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.initial {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
}
.initial .age {
  font-size: 11px;
  color: #8a8791;
  margin-left: 6px;
  font-weight: 600;
  font-family: "Noto Sans JP", sans-serif;
}
.stars {
  letter-spacing: 2px;
  color: #222;
  font-size: 13px;
}
.review {
  margin: auto;
  text-align: left;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.9;
  color: #222;
  max-width: 55ch;
  font-family: "Noto Sans JP", sans-serif;
}
.note {
  font-size: 9px;
  color: #6f6c77;
  text-align: right;
  margin: 10px 0 4px;
  font-family: "Noto Sans JP", sans-serif;
}

/* Ingredients */
.ing-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  margin: calc(var(--gap-xl) + 2px) 0 8px;
  font-family: "Noto Sans JP", sans-serif;
}
.ing-section {
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}
.ing-wrap {
  position: relative;
  padding: 48px 16px 28px;
  overflow: hidden;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  height: 350px;
}
.ing-bg {
  position: absolute;
  left: 50%;
  top: -65px;
  transform: translateX(-50%);
  width: 200%;
  height: 500px;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8; /* 画像を薄くします。0.1は10%の濃さです。0.2などに調整も可能です */
}

/* スマホ用 (550px以下) */
@media (max-width: 550px) {
  .ing-bg {
    top: -60px;
    width: 220%;
    height: 500px;
  }
}

.ing-bg {
  position: absolute;
  left: 50%;
  top: -65px;
  transform: translateX(-50%);
  width: 200%;
  height: 500px;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8; /* 画像を薄くします。0.1は10%の濃さです。0.2などに調整も可能です */
}
.ing-body {
  position: relative;
  z-index: 1;
}
.ing-text-98 {
  font-size: 12px;
  line-height: 2;
  margin: 2% auto;
}
.ing-text-97 {
  font-size: 12px;
  line-height: 2;
  margin: 11% auto;
}
.acc {
  margin: 12px auto 0;
  text-align: center;
  box-sizing: border-box;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
.acc-btn,
.acc-btn-all {
  display: inline-block;
  padding: 0px 2px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #111;
  text-decoration: underline;
  font-size: 12px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 「全成分」「取り扱い」ボタンの先頭に装飾ドット */
.pdp-top-acc .acc-btn,
.acc-btn-all,
#noticeOpen {
  position: relative;
  padding-left: 0.8em;
}
.pdp-top-acc .acc-btn::before,
#noticeOpen::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1em;
}
.pdp-top-acc .acc-btn-all::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1em;
}

/* アコーディオン */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  text-align: left;
  margin: 10px;
}
.acc-panel .chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.chip {
  background: #f6f6f8;
  border: 1px solid #e5e5ea;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.art {
  width: min(420px, 92vw);
  margin: var(--gap-xl) auto 0;
}

/* Heart */
.heart-img-wrapper {
  position: relative;
  max-width: 300px;
  width: 100%;
  margin: 45px auto;
  background-image: url(https://d2w53g1q050m78.cloudfront.net/bedintokyo/uploads/shop/Image/pages/About_us/heart.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.actual-heart-img {
  width: 100%;
  height: auto;
  display: block;
}
.heart-img-wrapper .inside {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #333;
  width: 100%;
}
.heart-txt01 {
  font-size: 12px;
  margin-bottom: 10px;
  font-family: "Noto Sans JP", sans-serif;
}
.heart-txt01 a {
  font-size: 12px; /* 9pxより大きくします。お好みのサイズに調整してください */
  /* 必要であれば、色や太さも指定できます */
  /* color: #yourcolor; */
  /* font-weight: bold; */
  font-weight: 700;
}
.heart-txt02 {
  font-size: 7px;
  margin-bottom: 10px;
  font-family: "Noto Sans JP", sans-serif;
  color: #8e8b95;
}

/* 注意モーダル */
#noticeModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2147483642;
}
#noticeModal.show {
  display: block;
}
#noticeOv {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
  backdrop-filter: saturate(120%) blur(2px);
}
#noticeModal.show #noticeOv {
  opacity: 1;
}
#noticePanel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.985);
  opacity: 0;
  filter: blur(2px);
  width: min(720px, 92vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22), 0 4px 18px rgba(0, 0, 0, 0.12);
  padding: 22px 18px 24px;
  transition: opacity 0.46s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, opacity, filter;
}
#noticeModal.show #noticePanel {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}
.notice-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-bottom: 10px;
}
.notice-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 85%;
}
.notice-close {
  position: absolute;
  left: 10px;
  top: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.notice-close svg {
  width: 18px;
  height: 18px;
}
.notice-body {
  font-size: 12px;
  line-height: 2;
  color: #222;
}
.notice-body h4 {
  margin: 10px 0 4px;
  font-size: 12px;
  text-align: 中心;
}
.notice-body p {
  margin: 6px 0;
  text-align: center;
}
.notice-body ul {
  margin: 6px 0 10px 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  text-align: left;
}
.notice-body li {
  margin: 2px 0;
}

/* User Voice / FAQ の“少し左へ”、注釈は右寄せ */
.x-nudge {
  transform: translateX(calc(0 * var(--x-nudge)));
  will-change: transform;
  width: 100%;
}
#uvSlider .note,
#faqSlider .note {
  text-align: right !important;
}

@media (prefers-reduced-motion: reduce) {
  #noticeOv,
  #noticePanel {
    transition: none;
  }
}
@media (max-width: 660px) {
  .pdp-viewport {
    height: calc(85vw * 1.5);
    max-height: 84vh;
  }
  .review {
    font-size: 13px;
  }
}
