@charset "utf-8";
/* CSS Document */

/* ===================================
0. 基本設定・リセット / Design Tokens
=================================== */
:root{
  --c-main: #d47324;
  --c-main-dark: #804718;
  --c-text: #333;
  --c-muted: #666;
  --c-border: #e7e7e7;
  --c-bg: #ffffff;
  --c-alt: #f9f9f9;

  /* Bauhaus：角丸なし */
  --radius-s: 0px;
  --radius-m: 0px;

  /* 影は“必要なとこだけ”。カード系は基本なし */
  --shadow-s: 0 6px 18px rgba(0,0,0,.06);
  --shadow-m: 0 10px 28px rgba(0,0,0,.10);

  --container: 1200px;
  --gutter: 15px;
  --fz-base: 16px;

  /* Fonts */
  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-roboto: "Roboto", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-serif: "Noto Serif JP", serif;

  /* Easing */
  --ease-swiss: cubic-bezier(.16,1,.3,1);
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fz-base);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: inherit;
  text-underline-offset: .18em;
}

.container{
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{
  padding: 130px 0;
}

.section__title{
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 40px) 0;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.section[style*="background-color: #f9f9f9"]{
  background: var(--c-alt) !important;
}

/* ===================================
1. ファーストビュー (FV)
=================================== */
.fv{
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #000;
}

.fv__video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}

.fv.is-video-ready .fv__video{
  opacity: .90; 
}

@media (prefers-reduced-motion: reduce){
  .fv__video{ transition: none; }
}

.fv__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv__content{
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: clamp(14px, 3.2vw, 20px);
}

.fv__title{
  font-size: clamp(2.0rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(10px, 1.6vw, 15px) 0;
  text-wrap: balance;
}

/* 「畜舎用ミストシステム」部分を小さく見せる ▼ */
.fv__title-small {
  display: block;        /* 上の行として独立させる（<br>不要になります） */
  font-size: 0.65em;     /* メインタイトルの55%のサイズに */
  font-weight: 800;      /* 少しだけ太さを落として重さを抜く */
  margin-bottom: 0.15em; /* 下の文字との余白 */
  opacity: 0.95;
}

.fv__subtitle{
  font-size: clamp(1.0rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  margin: 0 0 clamp(18px, 3vw, 30px) 0;
  text-wrap: balance;
}

.fv__subtitle strong{
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  color: #00ffff;
  display: block;
  margin-top: clamp(6px, 1.2vw, 10px);
}

.fv__cta-note{
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  display: block;
  margin-top: clamp(8px, 1.6vw, 10px);
  color: rgba(255,255,255,.9);
}

/* 埋め込み時専用設定 */
body.is-embedded .fv {
  height: 800px !important; 
  min-height: 800px !important;
}

@media (max-width: 768px) {
  body.is-embedded .fv {
    height: 600px !important; 
    min-height: 600px !important;
  }
}

body.is-embedded {
  overflow: hidden !important;
  height: auto !important;
}

/* ===================================
共通コンポーネント: ボタン
=================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-swiss), background-color .25s ease, color .25s ease, border-color .25s ease, opacity .15s ease;
  line-height: 1.2;
  will-change: transform;
}

.btn--primary{
  background-color: var(--c-main);
  color: #fff;
  box-shadow: none;
}

.btn--primary:hover{
  background-color: var(--c-main-dark);
  transform: translateX(10px);
}

.btn--primary:active{
  transform: translateX(0);
  opacity: .92;
}

.btn--secondary{
  background-color: #6c757d;
  color: #fff;
}

.btn--secondary:hover{
  filter: brightness(0.95);
}

.btn--large{
  font-size: 1.25rem;
  padding: 15px 40px;
}

.btn--compact{
  font-size: 1rem;
  padding: 12px 22px;
  box-shadow: none;
  border: 1px solid rgba(0,0,0,.10);
}

.fv__cta .btn--large{
  white-space: nowrap;
}

@media (max-width: 520px){
  .fv__cta .btn--large{
    width: min(92vw, 520px);
    max-width: 100%;
    text-align: center;
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    padding: 12px 18px;
    line-height: 1.2;
  }
}

.btn:focus-visible{
  outline: 3px solid rgba(0,180,120,.35);
  outline-offset: 3px;
}

/* ===================================
2. 課題提起 (Problems)
=================================== */
.section.problems{
  padding-bottom: 90px;
}

.problem-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 10px;
}

@media (min-width: 768px){
  .problem-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.problem-card{
  background: #fff;
  border: none;
  border-left: 1.5px solid var(--c-border);
  padding: 50px 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .25s ease;
}

@media (max-width: 768px){
  .problem-card{ padding: 38px 24px; }
}

.problem-card__title{
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.problem-card__text{
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  color: var(--c-muted);
  position: relative;
  z-index: 1;
}

@media (hover:hover){
  .problem-card.js-reveal:hover{
    --hover-y: -6px;
    border-left-color: var(--c-main);
  }
  .problem-card:not(.js-reveal):hover{
    transform: translateY(-6px);
    border-left-color: var(--c-main);
  }
}

/* 課題アイコン */
.problem-card::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 0px;
  width: 80px;
  height: 80px;
  background: url('../img/issue.svg') no-repeat center center / contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}


/* ===================================
3. ベネフィット (Benefits)
=================================== */
.benefits-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px){
  .benefits-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px){
  .benefits-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.benefit-card{
  background: #fff;
  border: none;
  border-left: 1.5px solid var(--c-border);
  padding: 50px 40px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .25s ease;
}

@media (max-width: 768px){
  .benefit-card{ padding: 38px 24px; }
}

.benefit-card__media{
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: 30px;
}

@media (max-width: 768px){
  .benefit-card__media{ margin-bottom: 22px; }
}

.benefit-card__image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center;
  transition: transform .55s var(--ease-swiss);
  will-change: transform;
}

@media (hover:hover){
  .benefit-card.js-reveal:hover{ --hover-y: -6px; }
  .benefit-card:not(.js-reveal):hover{ transform: translateY(-6px); }
  .benefit-card:hover .benefit-card__image{ transform: scale(1.2); }
}

.benefit-card__title{
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 18px 0;
  padding: 0;
}

.benefit-card__point{
  display: block;
  font-family: var(--font-roboto);
  font-weight: 900;
  color: var(--c-main);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.benefit-card__text{
  font-size: 1.05rem;
  margin: 0;
  padding: 0;
  color: var(--c-muted);
}

.benefit-card__note {
    display: block;
    margin-top: 0.8em;
    font-size: 0.8em;
    opacity: 0.8;
    line-height: 1.5;
    padding-left: 1em;
    text-indent: -1em;
}


/* ===================================
3.5 追加：実演デモの詳細セクション (Demo Detail)
=================================== */
.demo-detail {
  background-color: #fff;
}

.demo-detail__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.demo-detail__image {
  flex: 1;
}

.demo-detail__content {
  flex: 1.2;
}

.demo-detail__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--c-text);
}

.demo-detail__features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.demo-detail__features dt {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 8px;
  position: relative;
  padding-left: 1.5rem;
}

.demo-detail__features dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--c-main);
  border-radius: 50%;
}

.demo-detail__features dd {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .demo-detail__inner {
    flex-direction: column;
    gap: 40px;
  }
  .demo-detail__image {
    order: 2;
    width: 80%;
  }
  .demo-detail__content {
    order: 1;
  }
  .demo-detail__content .section__title {
    text-align: center !important;
  }
}

/* ===================================
4. 畜種別 CoolPescon スライダー
=================================== */
.product-slider { background: #fff; overflow: hidden; }
.product-slider__inner { padding: 100px 0; }
.product-slider__header { text-align: center; margin-bottom: 60px; }
.slider-header__kicker { font-size: 1.1rem; font-weight: 700; color: var(--c-text); margin-bottom: 5px; }
.slider-header__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-family: var(--font-roboto); font-weight: 900; line-height: 1; margin: 0; color: var(--c-text); }
.slider-header__sub { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-top: 3px; }

/* 出現（Tension Reveal）アニメーション */
.product-slider__reveal-wrap {
  opacity: 0;
  transform: scale(1.5);
  clip-path: inset(5% 10% 5% 10%);
  transition: opacity 1.2s ease, transform 1.4s var(--ease-swiss), clip-path 1.4s var(--ease-swiss);
  will-change: transform, clip-path, opacity;
}
.product-slider__reveal-wrap.is-inview {
  opacity: 1; 
  transform: scale(1); 
  clip-path: inset(0 0 0 0);
}

.product-slider__viewport { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 700px; background: #000; overflow: hidden; }

/* スライド本体 */
.product-slide { 
  position: absolute; inset: 0; 
  opacity: 0; visibility: hidden; 
  overflow: hidden; 
  background: #000; 
}
.product-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

/* 背景動画：明るさを100%に */
.product-slide__bg { position: absolute; inset: 0; z-index: 1; transform: translateX(0); }
.product-slide__bg video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1; 
}

/* 黒ノセの調整（0.50） */
.product-slide__overlay { 
  position: absolute; inset: 0; z-index: 2; 
  background: rgba(0,0,0,0.50); 
}

/* ふわっと現れる ＋ パララックススライド */
.product-slide.is-stacking {
  opacity: 0; 
  visibility: visible; z-index: 4;
  transform: translateX(100%);
}
.product-slide.is-stacking.from-left { transform: translateX(-100%); }

.product-slide.is-stacking.run {
  opacity: 1; 
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

/* 背景動画の打ち消し運動 */
.product-slide.is-stacking .product-slide__bg { transform: translateX(-100%); transition: none; }
.product-slide.is-stacking.from-left .product-slide__bg { transform: translateX(100%); transition: none; }
.product-slide.is-stacking.run .product-slide__bg {
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 文字の残像（ブレ）を防止 ＋ 矢印との干渉を防ぐ左右余白 */
.product-slide__content {
  position: relative; z-index: 5; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 50px; color: #fff;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0); 
  will-change: transform, opacity;
  padding-left: 80px;  /* 矢印用の安全地帯 */
  padding-right: 80px; /* 矢印用の安全地帯 */
}

.product-slide__text-box { flex: 1.2; }
.product-slide__name { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 900; margin: 0; line-height: 1; }
.product-slide__en { 
  display: block; 
  font-family: var(--font-roboto); 
  font-weight: 800; 
  font-size: 1.1rem; 
  letter-spacing: 0.07em; 
  opacity: 0.9; 
  text-transform: uppercase; 
  margin-top: 5px;
  margin-bottom: 25px; 
}
.product-slide__desc { font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }

.product-slide__icons { flex: 1; display: flex; justify-content: center; }
.benefit-svg { width: 100%; max-width: 450px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)); }

/* 矢印 */
.product-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 50px; cursor: pointer; z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.product-slider__arrow--prev { left: 30px; }
.product-slider__arrow--next { right: 30px; }

/* ドット */
.product-slider__dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.product-slider__dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.product-slider__dot.is-active { background: var(--c-main); transform: scale(1.2); }

/* ▼中途半端な幅〜スマホ幅での矢印・余白の微調整▼ */
@media (max-width: 1100px) {
  .product-slide__content {
    padding-left: 60px;
    padding-right: 60px;
  }
  .product-slider__arrow { font-size: 40px; }
  .product-slider__arrow--prev { left: 20px; }
  .product-slider__arrow--next { right: 20px; }
}

@media (max-width: 992px) {
  .product-slider__viewport { height: auto; min-height: 600px; }
  .product-slide__content { 
    flex-direction: column; 
    justify-content: center; 
    text-align: center; 
    padding: 60px 50px; /* テキストの左右余白を少し確保 */
  }
  .product-slide__text-box {
    flex: none; 
    width: 100%;
  }
  /* スマホではSVGアイコンを非表示にしてスッキリさせる */
  .product-slide__icons { display: none; }
}

@media (max-width: 520px) {
  .product-slide__content { padding: 50px 45px; } /* テキストを内側に寄せて矢印スペースを確保 */
  .product-slider__arrow { font-size: 32px; } /* 矢印を少し大きくしてタップしやすく */
  .product-slider__arrow--prev { left: 10px; } /* 矢印を少し内側へ */
  .product-slider__arrow--next { right: 10px; }
}

/* ===================================
5. 参加者の声 (Testimonials)
=================================== */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card{
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  box-shadow: none;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ダブルクォーテーション背景 */
.testimonial-card::before{
  content: "“";
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  color: #f0f0f0;
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 1;
  line-height: 1;
}

.testimonial-card blockquote,
.testimonial-card footer{
  position: relative;
  z-index: 2;
}

.testimonial-card blockquote{
  margin: 0;
  padding: 0;
  border: 0;
}

/* コメント前後のクォーテーション */
.testimonial-card__comment{
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--c-text);
  line-height: 1.4;
  position: relative;
}

.testimonial-card__comment::before,
.testimonial-card__comment::after{
  font-family: var(--font-serif);
  opacity: .75;
  position: relative;
  top: -0.02em;
}

.testimonial-card__comment::before{
  content: "“";
  margin-right: .18em;
}

.testimonial-card__comment::after{
  content: "”";
  margin-left: .18em;
}

.testimonial-card footer{
  text-align: right;
  font-weight: 700;
  color: #555;
  margin-top: 15px;
}

@media (hover:hover){
  .testimonial-card.js-reveal:hover{
    --hover-y: -6px;
    box-shadow: var(--shadow-m);
  }
  .testimonial-card:not(.js-reveal):hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
  }
}

@media (max-width: 768px){
  .testimonial-grid{ grid-template-columns: 1fr; }
  .testimonial-card{ padding: 22px; }
  .testimonial-card::before{ font-size: 6.6rem; }
}


/* ===================================
6. 開催概要・お申し込み (Register / Showrooms)
=================================== */
.register__image-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  width: 100%; 
}

.register__image {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  margin-top: -2rem;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.showroom-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.showroom-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.showroom-item__map {
  width: 100%;
  height: 250px;
  position: relative;
}

.showroom-item__map iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.showroom-item__info {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.showroom-item__name {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 0 16px 0;
  color: #000; /* 黒字指定 */
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 12px;
  line-height: 1.3;
}

.showroom-item__address {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px 0;
}

/* ボタン：1行死守 */
.showroom-item .btn {
  margin-top: auto;
  width: 100%;           
  white-space: nowrap;   
  overflow: hidden;      
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  padding: 14px 10px;    
}

@media (max-width: 768px) {
  .showroom-list {
    grid-template-columns: 1fr;
  }
  .showroom-item__info {
    padding: 30px 20px;
  }
}

@media (max-width: 380px) {
  .showroom-item .btn {
    font-size: 14px;     
  }
}


/* ===================================
7. フッター (Footer)
=================================== */
.footer{
  background: #333;
  color: #eee;
  padding: 40px 0 20px 0;
}

.footer-contact{
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-contact__group{ flex: 1; }

.footer-contact__group h4{
  font-size: 1.05rem;
  color: #fff;
  border-bottom: 1px solid #555;
  padding-bottom: 8px;
  margin: 0 0 10px 0;
}

.footer-contact__group p{
  font-size: 0.92rem;
  margin: 6px 0;
  color: rgba(238,238,238,.92);
}

.footer-copyright{
  text-align: center;
  border-top: 1px solid #555;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px){
  .footer-contact{
    flex-direction: column;
    gap: 18px;
  }
}

/* ===================================
8. ユーティリティ
=================================== */
.br-sp{ display: none; }
@media (max-width: 520px){
  .br-sp{ display: block; }
}

/* ===================================
9. Scroll reveal
=================================== */
@keyframes reveal-up{
  from{
    opacity: 0;
    transform: translate3d(0,150px,0);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0);
  }
}

.js-reveal{
  --hover-y: 0px;
  opacity: 0;
  transition: transform .18s ease, box-shadow .18s ease, filter .15s ease, background-color .15s ease;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,150px,0);
}

.js-reveal.is-inview{
  opacity: 1;
  transform: translate3d(0,var(--hover-y),0);
  animation: reveal-up 1.05s cubic-bezier(.18,.85,.22,1) backwards;
}

.js-reveal.is-inview[data-reveal-delay="1"]{ animation-delay: .20s; }
.js-reveal.is-inview[data-reveal-delay="2"]{ animation-delay: .30s; }
.js-reveal.is-inview[data-reveal-delay="3"]{ animation-delay: .35s; }
.js-reveal.is-inview[data-reveal-delay="4"]{ animation-delay: .40s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .js-reveal{
    opacity: 1 !important;
    transform: translate3d(0,0,0) !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ===================================
10. SP 下部固定CVボタン（埋め込み対応版）
=================================== */
.sticky-cta {
  display: none !important;
  position: fixed; 
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.90);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 768px){
  .sticky-cta { display: block !important; }
  .sticky-cta__btn {
    width: min(92vw, 520px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    line-height: 1.2;
    white-space: nowrap;
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ===================================
11. WordPress埋め込み・全画面復元 & 疑似固定CTA
=================================== */
body.is-embedded {
  overflow-y: auto !important; 
  height: auto !important;
  padding-bottom: 100px !important; 
}

body.is-embedded .fv {
  height: var(--fv-height, 100vh) !important; 
  min-height: 400px !important;
}

body.is-embedded .sticky-cta {
  position: absolute !important;
  bottom: auto; 
  width: 100%;
}

@media (max-width: 768px) {
  body.is-embedded .fv {
    height: var(--fv-height, 100vh) !important;
  }
}

.product-slider__viewport {
  max-width: 100%;
}