/* どさんこのワイン LP - メインスタイル
   スマホファースト: 基本は小画面、必要なら min-width で拡張 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: sans-serif; line-height: 1.6; font-size: 16px; overflow-x: hidden; }

/* ページ最上部の注意：デフォルト非表示。html に ua-desktop が付いたときのみ表示（UA判定は index.html 先頭スクリプト） */
.lp__pc-notice {
  display: none;
  margin: 0;
  padding: 0.35rem 1rem;
  font-size: 0.975rem;
  line-height: 1.45;
  color: #666;
  text-align: center;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}
html.ua-desktop .lp__pc-notice {
  display: block;
}
.lp__campaign-inline {
  margin: 0;
  padding: 0.6rem 1rem 0;
  color: #333;
  text-align: center;
  font-size: 6vw;
  line-height: 1.4;
  font-weight: 700;
}
/* Typekit読み込み後にWebフォントを適用（キット flb3sfa: fot-tsukuardgothic-std） */
html.wf-active body,
html.wf-active .lp { font-family: "fot-tsukuardgothic-std", sans-serif; }
img { max-width: 100%; height: auto; display: block; }

.lp {
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* 縦型: 各セクションを上から順に積む（上下余白は子要素で調整、下は100px） */
.lp__hero,
.lp__farm,
.lp__carousel-budou,
.lp__intro,
.lp__carousel-energy,
.lp__carousel-other,
.lp__closing {
  background: #fff;
  padding: 0 1rem 100px;
  display: flex;
  flex-direction: column;
}
.lp__hero {
  padding: 0 1rem 0;
}
.lp__farm,
.lp__intro { justify-content: center; }
.lp__intro { flex-shrink: 0; }
.lp__closing { justify-content: flex-end; }

/* 全セクション・テキスト中央寄せ */
.lp__hero,
.lp__farm,
.lp__carousel-budou,
.lp__intro,
.lp__carousel-energy,
.lp__carousel-other,
.lp__closing { text-align: center; }

.lp__logo-img { display: block; margin: 1.5rem auto 20px; max-width: 35%; height: auto; }
.lp__farm .lp__logo-img { margin: 80px auto; }
.lp__hero-label-img { display: block; margin: 0 auto 0.25rem; max-width: 50%; height: auto; }
.lp__hero .lp__title { margin: 0.5rem 0 1rem; }
.lp__hero-title-img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.lp__hero .lp__lead { margin: 0.5rem 0; color: #333; font-size: 6vw; }
.lp__hero .lp__lead:last-child { margin-bottom: 0; }
.lp__section-title { font-size: 7vw; font-weight: bold; margin-bottom: 1rem; color: #c00; }
.lp__section-title--with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.3;
}
.lp__section-title-icon {
  width: 2em;
  height: 2em;
  flex: 0 0 auto;
  margin-top: 0;
  object-fit: contain;
  opacity: 0.95;
}
.lp__intro .lp__section-title { color: #333; }
.lp__carousel-caption { margin: 0 0 0.5rem; font-size: 6vw; color: #333; }
.lp__carousel-items { margin: 0 0 1rem; font-size: 6vw; color: #333; line-height: 1.8; }
/* 農場長画像: 画面横幅いっぱい（左右余白なし） */
.lp__farm-img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 50px;
  height: auto;
  object-fit: cover;
}
.lp__farm p,
.lp__closing p { font-size: 6vw; }

/* テキストブロック間の余白 */
.lp__text-block { margin-top: 1rem; }

/* 全社取組みに関する注記（.lp__farm p の 6vw より詳細度を上げて必ず小さく表示） */
.lp__farm .lp__disclaimer {
  margin: 1.25rem 0 0;
  padding: 0 0.25rem;
  font-size: 0.625rem; /* 10px — 本文6vw(約22px前後)より明確に小さい */
  line-height: 1.55;
  color: #555;
  text-align: left;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .lp__farm .lp__disclaimer { font-size: 0.6875rem; /* 11px */ }
}

/* ヒーロー: シマエナガ画像（上下50px余白） */
.lp__hero-images {
  margin: 50px auto 50px;
  max-width: 100%;
  text-align: center;
}
.lp__hero-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 画像・動画設置部分は白背景（色分けはモック用のため本番はすべて白） */
.lp__img-placeholder {
  aspect-ratio: 4/3;
  background: #fff;
  color: #999;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin: 0 auto 1rem;
  max-width: 100%;
}

/* Swiper（LP用カルーセル） */
.lp-swiper { flex: 1; width: 100%; min-height: 0; cursor: pointer; }
.lp-swiper .swiper-wrapper { align-items: center; }
.lp-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.lp-swiper__slide-content {
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lp-swiper__slide-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 持続可能・エネルギー・その他: スライダーを横幅いっぱいに */
.lp__carousel-budou .lp-swiper,
.lp__carousel-energy .lp-swiper,
.lp__carousel-other .lp-swiper {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.lp__carousel-budou .lp-swiper__slide-content,
.lp__carousel-energy .lp-swiper__slide-content,
.lp__carousel-other .lp-swiper__slide-content { aspect-ratio: auto; }
.lp__carousel-budou .lp-swiper__slide-content img,
.lp__carousel-energy .lp-swiper__slide-content img,
.lp__carousel-other .lp-swiper__slide-content img { width: 100%; height: auto; object-fit: cover; }
/* ページネーション: 従来のドット見た目 */
.lp-swiper .swiper-pagination { position: relative; margin-top: 1rem; }
.lp-swiper .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid #333;
  background: transparent;
  opacity: 1;
}
.lp-swiper .swiper-pagination-bullet-active { background: #333; }
.lp-swiper .swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 0.375rem; }

.lp__intro-list { margin: 0 auto; padding: 0; list-style: none; text-align: center; max-width: 32rem; }
.lp__intro-list li { margin-bottom: 0.75rem; font-size: 6vw; }

.lp__closing .lp__logo-img { margin: 1.5rem auto; }
.lp__company { font-size: 6vw; color: #6b2d2d; margin-top: 0.5rem; }

.lp__closing-img {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 50px;
  height: auto;
  object-fit: cover;
}

.lp__company-img {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 60%;
  height: auto;
}
/* タブレット以上: 左右余白・下100px */
@media (min-width: 768px) {
  .lp__hero,
  .lp__farm,
  .lp__carousel-budou,
  .lp__intro,
  .lp__carousel-energy,
  .lp__carousel-other,
  .lp__closing {
    padding: 0 2rem 100px;
  }
  .lp__hero { padding: 0 2rem 0; }
  .lp__hero .lp__title { font-size: 2rem; }
}
