@charset "utf-8";
/* CSS Document */

/* ===================================
0. 基本設定・リセット / Design Tokens
=================================== */
:root{
  --c-main: #00B478;
  --c-main-dark: #009a67;
  --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: 150px 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;
}

/* インラインstyleで付けている背景色に合わせた見え方（既存HTMLを変えずに整える） */
.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;
}

/* FV動画：読み込み中は黒、準備できたらフェードイン */
.fv { background: #000; }

.fv__video{
  opacity: 0;
  transition: opacity 2s ease;
}

/* JSでこのクラスが付いたら表示 */
.fv.is-video-ready .fv__video{
  opacity: .90; /* いまのデザインが暗めなら .45〜.65で調整 */
}

/* 動きが苦手な人向け */
@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__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 {
  /* 100vhを捨て、固定の高さにする（ここがループを止める鍵です） */
  height: 800px !important; 
  min-height: 800px !important;
}

@media (max-width: 768px) {
  body.is-embedded .fv {
    height: 600px !important; /* スマホでは少し短く */
    min-height: 600px !important;
  }
}

/* iframe内でのスクロールを完全に禁止して計算を安定させる */
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：基本はPCでも自然な幅（余白は元のまま） */
.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::before,
.problem-card::after{
  content: none;
}

.problem-card__title{
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 20px 0;
  padding-left: 0;
}

.problem-card__title::before{
  content: none;
}

.problem-card__text{
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  color: var(--c-muted);
}

@media (hover:hover){
  /* 1) こんなお悩み：キビキビ浮く + うっすら影 */
  .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 {
  position: relative; /* アイコンを配置する基準になります */
  overflow: hidden;    /* アイコンがカードからはみ出す場合にカットする（お好みで） */
}

/* カードの右上にアイコンを配置 */
.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;        /* 「うっすら」の度合い。0.05〜0.15くらいが綺麗です */
  pointer-events: none; /* アイコンが文字のクリックを邪魔しないようにする */
  z-index: 0;          /* 重なり順：背景として扱う */
}

/* テキストがアイコンの下に隠れないよう、文字の重なりを調整 */
.problem-card__title,
.problem-card__text {
  position: relative;
  z-index: 1;
}

/* ===================================
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;  /* 6:4 */
  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){
  /* 2) 3つの価値：カードごとキビキビ浮く + 画像はクリップ内ズーム */
  .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);
}

/* ちょい浮き（reveal + hoverで動く） */
@media (hover:hover){
  .benefit-card.js-reveal:hover{
    --hover-y: -3px;
  }
  .benefit-card:not(.js-reveal):hover{
    transform: translateY(-3px);
  }
}

/* ===================================
4. 農場で見学できる2つの製品：統合スタッキングスライダー
（固定パララックス完全同期・表示不具合修正版）
=================================== */

:root {
  --ease-swiss: cubic-bezier(0.16, 1, 0.3, 1);
}

.product-slider {
  width: 100%;
  background: #fff;
  overflow: hidden;
  --slide-inset: clamp(18px, 6vw, 30px);
}


.product-slider__inner {
  padding: 150px 0;
}


.product-slide__name {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem);
  /* 行間を詰め気味にして一体感を出す */
  line-height: 1.0; 
  font-family: var(--font-roboto);
  display: flex;
  flex-direction: column;
  /* 文字選択を有効にした状態でもズームを安定させるための設定 */
  pointer-events: auto;
}

/* カタカナ表記のスタイル */
.product-slide__reading {
  display: block;
  /* かなり小さめに設定（親の30%程度のサイズ） */
  font-size: 0.2em; 
  font-weight: 600;
  /* 英字との距離をかなり狭く設定 */
  margin-top: 0px; 
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  opacity: 0.9;
}

/* スマホ版での微調整 */
@media (max-width: 520px) {
  .product-slide__reading {
    margin-top: 2px;
    font-size: 0.3em; /* スマホでは視認性のためわずかに大きく */
  }
}

/* その上のリード文 */
.product-slide__kicker {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600; /* しっかりとした太字 */
  margin-bottom: 10px;
  display: block;
}

/* 説明文 */
.product-slide__desc {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.6;
  margin-top: 25px;
  margin-bottom: 25px;

}

/* セクション全体のタイトル（農場で見学できる〜） */
.product-slider__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;
}

/* 4-1. タイトルの出現演出 */
.product-slider__title.js-reveal {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  text-align: center;
  margin: 0 0 clamp(28px, 4vw, 40px) 0;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(40px);
  /* 初期表示はゆったり1秒 */
  transition: opacity 1.0s ease, transform 1.05s var(--ease-swiss);
}
.product-slider__title.js-reveal.is-inview { opacity: 1; transform: translateY(0); }

/* 4-2. スライダー本体の出現(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);
  margin-right: calc(50% - 50vw);
  height: 640px;
  overflow: hidden;
  background: #000;
  --page-side: max(calc((100vw - var(--container)) / 2), 5vw);
  --arrow-size: 54px;
  --arrow-edge: 10px;
  --arrow-gap: 8px;
}

@media (max-width: 1024px) { .product-slider__viewport { height: 520px; --arrow-size: 46px; } }
@media (max-width: 520px) { .product-slider__viewport { height: 420px; --arrow-size: 40px; --arrow-edge: 0px; } }

.product-slider__track {
  height: 100%;
  position: relative;
  display: block;
}

/* 4-3. スライド本体（コンテナ） */
.product-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  z-index: 1;
  visibility: hidden;
  /* 画像消失対策：noneを使わず、サイズ0で本体の背景を隠す */
  background-size: 0; 
  overflow: hidden;
}

.product-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

/* スタッキング（重なり）演出 */
.product-slide.is-stacking {
  opacity: 1; visibility: visible; z-index: 3;
  transform: translateX(100%);
}
.product-slide.is-stacking.from-left { transform: translateX(-100%); }
.product-slide.is-stacking.run {
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.4, 1, 0.4, 1);
}

/* 4-4. 固定パララックス：画像レイヤーの打ち消し運動 */
.product-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: inherit; /* HTMLのinline styleからURLを継承 */
  background-size: cover;
  background-position: calc(var(--bg-x, 50%) + var(--bg-x-px, 0px)) calc(var(--bg-y, 50%) + var(--bg-y-px, 0px));
  background-repeat: no-repeat;
  transform: translateX(0);
  transition: transform 0.8s var(--ease-swiss);
  will-change: transform;
}

/* 枠が右にある時は画像を左にずらし、枠が左にある時は画像を右にずらして「固定」に見せる */
.product-slide.is-stacking::before { transform: translateX(-100%); transition: none; }
.product-slide.is-stacking.from-left::before { transform: translateX(100%); transition: none; }
/* 枠の移動(0.65s)と完璧に同期させて逆方向に動かす */
.product-slide.is-stacking.run::before {
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(0.4, 1, 0.4, 1);
}

/* マウスホバーによる画像ズーム */
@media (hover:hover) {
  .product-slider__viewport:hover .product-slide.is-active::before { transform: scale(1.4); }
}

.product-slide__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(0,0,0,0.35);
}

.product-slide__content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; text-align: left;
  pointer-events: auto; /* 文字選択を有効化 */
}

.product-slide__content-inner.container {
  padding-left: calc(var(--gutter) + var(--slide-inset));
  padding-right: calc(var(--gutter) + var(--slide-inset));
}

@media (max-width: 520px) {
  .product-slide__content-inner.container {
    padding-left: max(calc(var(--gutter) + var(--slide-inset)), calc(var(--arrow-size) + 12px));
    padding-right: max(calc(var(--gutter) + var(--slide-inset)), calc(var(--arrow-size) + 12px));
    font-size: 0.95rem;
  }
}

/* 4-5. 矢印・ドット（再表示とz-index修正） */
.product-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: var(--arrow-size); height: var(--arrow-size);
  padding: 0; border: none; background: transparent;
  color: #fff !important; font-size: 40px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  z-index: 100; /* 重なり順を最前面へ */
  transition: transform 0.15s ease, opacity 0.15s ease; opacity: 0.88;
}
.product-slider__arrow:hover { transform: translateY(-50%) scale(1.06); opacity: 1; }
.product-slider__arrow--prev { left: clamp(var(--arrow-edge), calc(var(--page-side) / 2 - var(--arrow-size) / 2), calc(var(--page-side) - var(--arrow-size) - var(--arrow-gap))); }
.product-slider__arrow--next { right: clamp(var(--arrow-edge), calc(var(--page-side) / 2 - var(--arrow-size) / 2), calc(var(--page-side) - var(--arrow-size) - var(--arrow-gap))); }

@media (max-width: 520px) {
  .product-slider__arrow--prev { left: 0; }
  .product-slider__arrow--next { right: 0; }
}

.product-slider__dots {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  z-index: 100; /* 重なり順を最前面へ */
}

.product-slider__dot {
  width: 10px; height: 10px; aspect-ratio: 1 / 1; flex-shrink: 0;
  border-radius: 50% !important; background: #e7e7e7; border: none;
  cursor: pointer; padding: 0; transition: all 0.3s ease; opacity: 0.95;
}
.product-slider__dot.is-active { background: var(--c-main); transform: scale(1.15); opacity: 1; }

/* スライダーセクション自体の下の余白をゼロにする */
.product-slider {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* スライダーの内側の要素に余白がある場合もゼロにする */
.product-slider__inner {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===================================
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){
  /* 3) お客様の声：キビキビ浮く + ホバー時だけシャドウ */
  .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)
=================================== */
.register__image-wrapper{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  max-width: 900px;
}

.register__image{
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
  margin-top: -2rem;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.venue-photo{
  margin: 16px 0 18px;
}

.venue-photo img{
  width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-s);
  object-fit: cover;
}

@media (min-width: 768px){
  .venue-photo img{ aspect-ratio: 16 / 6; }
}

.tab-container{
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}

.tab-nav{
  display: flex;
  border-bottom: 1px solid #ddd;
  background: #f0f0f0;
}

.tab-nav__btn{
  flex: 1;
  padding: 15px 10px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #555;
  transition: background-color .15s ease, color .15s ease;
  border-radius: 0;
}

.tab-nav__btn:hover{
  background: rgba(255,255,255,.55);
}

.tab-nav__btn.active{
  background: #fff;
  color: var(--c-main);
  border-bottom: 3px solid var(--c-main);
  margin-bottom: -1px;
}

.tab-panel{
  display: none;
  padding: 30px;
}

.tab-panel.active{ display: block; }

.venue-info__title{
  font-size: 1.5rem;
  border-bottom: 2px solid var(--c-main);
  padding-bottom: 6px;
  margin-top: 0;
  font-weight: 900;
  line-height: 1.35;
}

.venue-table{
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.venue-table th,
.venue-table td{
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.venue-table th{
  background-color: #f9f9f9;
  width: 25%;
  font-weight: 700;
}

.venue-info__cta{
  text-align: center;
  margin-top: 25px;
  padding-bottom: 24px;
}

.venue-divider{
  border: 0;
  border-top: 1px dashed #ccc;
  margin: 40px 0;
}

@media (max-width: 480px){
  .tab-nav__btn{
    font-size: 1rem;
    padding: 12px 8px;
    line-height: 1.2;
  }
  .tab-panel{ padding: 22px; }
  .venue-table th{ width: 34%; }
  .venue-table th,
  .venue-table td{ padding: 10px; }
}

/* ===================================
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. ユーティリティ
=================================== */
/* PCでは改行しない */
.br-sp{ display: none; }

/* スマホだけ改行を有効にする */
@media (max-width: 520px){
  .br-sp{ display: block; }
}

/* ===================================
9. Scroll reveal（revealはAnimation / hoverは短いTransition）
=================================== */
@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;

  /* hoverのキビキビ感はここで決まる */
  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
=================================== */

/* 埋め込み時(is-embedded)の全体設定 */
body.is-embedded {
  overflow-y: auto !important; 
  height: auto !important;
  /* ボタンが重なってもコンテンツが隠れないよう埋め込み時専用の余白を追加 */
  padding-bottom: 100px !important; 
}

/* 埋め込み時、FV（動画エリア）のDevice MAX再現 */
body.is-embedded .fv {
  height: var(--fv-height, 100vh) !important; 
  min-height: 400px !important;
}

/* ★重要：埋め込み時はJSで位置制御するため absolute に切り替える */
body.is-embedded .sticky-cta {
  position: absolute !important;
  bottom: auto; /* bottom指定を解除してJSでの制御に備える */
  width: 100%;
}

@media (max-width: 768px) {
  body.is-embedded .fv {
    height: var(--fv-height, 100vh) !important;
  }
}

/* スライダーが原因で横に突き抜けてループするのを防ぐ */
.product-slider__viewport {
  max-width: 100%;
}