@charset "UTF-8";
/* ============================================================
   ピーチピッグ 日焼け止め乳液 商品ページ 専用CSS
   すべてのクラスを .sb-page 配下に限定し、ショップ全体の
   ヘッダー・サイドバー等と衝突しないようにしています。
   ============================================================ */

.sb-page {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "MS 明朝", "MS Mincho", serif;
  color: #010101;
  line-height: 1.9;
  letter-spacing: .06em;
  max-width: 1000px;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box;
}
.sb-page *,
.sb-page *::before,
.sb-page *::after { box-sizing: border-box; }
.sb-page img { max-width: 100%; height: auto; display: block; }
.sb-page a { color: inherit; }

/* ---------- 長い説明文はゴシック（見出し・円の上の文字・短いラベルは明朝のまま） ---------- */
.sb-lead,
.sb-text,
.sb-uvinfo,
.sb-video-note,
.sb-product-desc,
.sb-detail {
  font-family: "メイリオ", "Meiryo", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "游ゴシック", "Yu Gothic", sans-serif;
}

/* --- PC / スマホ 出し分け -------------------------------------------------- */
.sb-page .only-sp { display: none !important; }
.sb-page .only-pc { display: inline !important; }

@media screen and (max-width: 600px) {
  .sb-page .only-sp { display: inline !important; }
  .sb-page .only-pc { display: none !important; }
}

/* ---------- ヒーロー画像 ---------- */
.sb-hero { margin: 0 0 40px !important; }
.sb-hero img { width: 100%; margin: 0 auto !important; }

/* ---------- 見出し（下線バー付き） ---------- */
.sb-h2 {
  position: relative;
  text-align: center !important;
  font-size: clamp(21px, 3.2vw, 30px);
  font-weight: bold;
  margin: 60px 0 44px !important;
  padding-bottom: 20px !important;
  line-height: 1.5;
}
.sb-h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #000;
  border-radius: 2px;
}

/* ---------- キャッチ・リード文 ---------- */
.sb-catch {
  text-align: center !important;
  font-size: clamp(17px, 2.7vw, 24px);
  font-weight: bold;
  line-height: 1.7;
  margin: 0 0 34px !important;
}
.sb-lead {
  max-width: 760px;
  margin: 0 auto 48px !important;
  text-align: center !important;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 2.1;
}

/* ---------- 動画（iframeのソースは触らず、枠だけレスポンシブ化） ---------- */
.sb-video {
  width: 100%;
  max-width: 500px;
  margin: 64px auto !important;
  text-align: center !important;
}
.sb-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: none;
  display: block;
}
.sb-video-note {
  margin-top: 15px !important;
  font-size: 14px;
  line-height: 1.7;
  text-align: left !important;
}

/* ---------- 囲み見出し（進化した日焼け止め乳液） ---------- */
.sb-boxhead {
  position: relative;
  text-align: center !important;
  background: #e0e0e0;
  padding: 28px 20px !important;
  margin: 48px 8px 52px !important;
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: bold;
}
.sb-boxhead::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  pointer-events: none;
}

/* ---------- 本文段落 ---------- */
.sb-text {
  max-width: 800px;
  margin: 0 auto 44px !important;
  text-align: center !important;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 2.1;
}
.sb-text.is-left { text-align: left !important; }

/* ---------- 特徴ブロック（画像に文字を重ねる。円の枠は画像側から外す想定） ---------- */
.sb-feature {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 16px !important;
}
.sb-feature img { width: 100%; }
.sb-feature-label {
  position: absolute;
  margin: 0 !important;
  font-weight: bold;
  line-height: 1.55;
  text-align: center !important;
  font-size: clamp(15px, 2.7vw, 26px);
  /* 文字の背後に薄い白の角丸ボックス */
  background: rgba(255, 255, 255, .78);
  padding: .5em .9em !important;
  border-radius: 12px;
}
/* 各ブロックのラベル位置。右側は right 基準で狭い画面でもはみ出さないように。 */
.sb-feature.is-ceramide .sb-feature-label { top: 16%; left: 13%; }
.sb-feature.is-blue     .sb-feature-label { top: 20%; right: 8%;  text-align: right !important; }
.sb-feature.is-stay     .sb-feature-label { top: 17%; left: 10%; }
.sb-feature.is-uv       .sb-feature-label { top: 22%; right: 5%;  text-align: right !important; }
.sb-feature.is-soap     .sb-feature-label { top: 20%; left: 13%; }

/* スマホでは重ね文字（タイトル）を画像の下に置く */
@media (max-width: 700px) {
  .sb-feature .sb-feature-label {
    position: static;
    display: block;
    margin: 12px auto 0 !important;
    padding: 0 !important;
    background: none;
    border-radius: 0;
    text-align: center !important;
    font-size: 19px;
  }
  .sb-feature.is-blue  .sb-feature-label,
  .sb-feature.is-uv    .sb-feature-label { text-align: center !important; }
}

/* ---------- 紫外線影響の注記ボックス ---------- */
.sb-uvinfo {
  max-width: 800px;
  margin: 24px auto 40px !important;
  padding: 18px !important;
  background: #f0f0f0;
  border: 1px solid #808080;
  text-align: left !important;
  font-size: clamp(12px, 1.7vw, 14px);
  line-height: 1.9;
}
.sb-uvinfo h4 { margin: 0 0 10px !important; font-size: 1.05em; }
.sb-uvinfo p { margin: 0 0 8px !important; }
.sb-uvinfo p:last-child { margin-bottom: 0 !important; }

/* ---------- 帯見出し（日焼け止め乳液は2種類） ---------- */
.sb-band {
  text-align: center !important;
  background: #B9C0B8;
  color: #010101;
  border-bottom: 3px solid #000;
  padding: 20px 12px !important;
  margin: 60px 0 44px !important;
  font-size: clamp(18px, 2.9vw, 28px);
  font-weight: bold;
}

/* ---------- 商品タイプ（SPF20 / SPF40）画像＋オーバーレイ文 ---------- */
.sb-product {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 48px !important;
}
.sb-product img { width: 100%; }
.sb-product-body {
  position: absolute;
  bottom: 7%;
  right: 5%;
  width: 52%;
  text-align: left !important;
  /* 文字の背後に薄い白の角丸ボックス */
  background: rgba(255, 255, 255, .78);
  padding: 18px 22px !important;
  border-radius: 14px;
}
.sb-product-tag  { font-size: clamp(12px, 1.7vw, 15px); margin: 0 0 .2em !important; }
.sb-product-name { font-size: clamp(18px, 2.9vw, 26px); font-weight: bold; margin: 0 !important; line-height: 1.4; }
.sb-product-spf  { font-size: clamp(13px, 1.9vw, 16px); font-weight: bold; margin: .2em 0 .8em !important; }
.sb-product-desc { font-size: clamp(11px, 1.6vw, 15px); font-weight: bold; line-height: 1.85; margin: 0 !important; }
.sb-note-right { text-align: right !important; font-size: 13px; margin: 8px 0 40px !important; }

/* スマホ幅では文字（タイトル＋説明）を画像の下に回して読みやすく */
@media (max-width: 700px) {
  .sb-product-body {
    position: static;
    width: 100%;
    padding: 16px 4px 0 !important;
    background: none;
    border-radius: 0;
  }
  .sb-product-desc { font-size: 14px; }
}

/* ---------- 詳細（成分・使用方法など） ---------- */
.sb-detail-head {
  background: #000;
  color: #fff;
  padding: 15px 18px !important;
  margin: 60px 0 0 !important;
  font-size: clamp(14px, 2vw, 16px);
  text-align: left !important;
}
.sb-detail {
  border-top: 1px solid #ccc;
  text-align: left !important;
}
.sb-detail .sb-row {
  border-bottom: 1px solid #ccc;
  padding: 16px 4px !important;
  font-size: clamp(13px, 1.7vw, 15px);
  line-height: 1.9;
}
.sb-detail .sb-row-title {
  display: block;
  font-weight: bold;
  margin-bottom: .4em !important;
}
.sb-ingredients { word-break: break-all; }
.sb-sample {
  border: 1px dashed #333;
  padding: 14px 16px !important;
  font-size: 13px;
  line-height: 1.8;
}
.sb-sample a { text-decoration: underline; }