@charset "UTF-8";
/* ============================================================
   prevent.css - 予防歯科ページ専用CSS（リキッドレイアウト）
   ============================================================ */

#b-prevent #low_mi { width: 100%; overflow: hidden; }
#b-prevent #low_mi img { display: block; width: 100%; height: auto; }

@media only screen and (max-width: 768px) {
  body#b-prevent #left_column { display: none !important; }
  body#b-prevent #right_column { width: 100% !important; float: none !important; }
  body#b-prevent .cont_box { padding: 0; margin-bottom: 0 !important;}
  body#b-prevent #gnavi { display: none; }
}

#b-prevent #prevent {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: #523d38;
  font-family: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "Yu Mincho", "游明朝", serif;
}
#b-prevent #prevent * { box-sizing: border-box; }
#b-prevent .inline-block { display: inline-block; }
#b-prevent #prevent img { max-width: 100%; height: auto; }

/* ---- section ---- */
#b-prevent .pv-section {
  padding: 28px 18px 8px;
}

/* ---- h2 (gold underline, full width) ---- */
#b-prevent .sub-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #b9985a;
  display: block;
  width: 100%;
  color: #523d38;
}

/* ---- body text ---- */
#b-prevent .pv-body p {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.85;
  color: #523d38;
}

/* ---- card (beige) ---- */
#b-prevent .pv-card {
  background: #ebe6e0;
  padding: 32px 16px;
  margin: 20px 0 16px;
  text-align: center;
}
@media only screen and (min-width: 769px) {
  #b-prevent .pv-card { padding: 40px 32px; }
}
#b-prevent .pv-card-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #523d38;
}
#b-prevent .pv-card-sub {
  font-size: 15px;
  margin: 0 0 18px;
  color: #523d38;
}
#b-prevent .pv-card-price {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #523d38;
  line-height: 1.4;
}
#b-prevent .pv-card-note {
  font-size: 14px;
  margin: -8px 0 16px;
  color: #523d38;
  line-height: 1.6;
}
#b-prevent .pv-card-img {
  margin: 0 0 18px;
}
#b-prevent .pv-card-img img {
  display: block;
  width: 100%;
  height: auto;
}
#b-prevent .pv-card-body {
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  color: #523d38;
}
#b-prevent .pv-card-body p {
  margin: 0 0 14px;
}

/* ---- h3 見出し (他テストページと同じ：ゴールド下線・中央寄せ) ---- */
#b-prevent .sub-title {
  background: transparent;
  color: #523d38;
  text-align: center;
  font-size: 160%;
  font-weight: bold;
  padding: 0 0 .8em;
  margin: 0 0 1em;
  border-bottom: 3px solid #ad9573;
  letter-spacing: 0.05em;
  line-height: 1.4;
  display: block;
}

/* ---- brown bar h3 (PMTCメリット/デメリット/お勧め頻度) ---- */
#b-prevent .brown-bar {
  background: #523d38;
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  padding: 14px 12px;
  margin: 0;
  letter-spacing: 0.08em;
  line-height: 1.4;
  display: block;
  border: none;
}
@media only screen and (min-width: 769px) {
  #b-prevent .brown-bar { font-size: 26px; padding: 18px 16px; }
}
#b-prevent .brown-bar + .pv-list,
#b-prevent .brown-bar + .pv-bar-body { margin-top: 0; }
#b-prevent .brown-bar:has(+ .pv-list),
#b-prevent .brown-bar:has(+ .pv-bar-body) { margin-bottom: 0; }
#b-prevent .pv-list + .brown-bar,
#b-prevent .pv-bar-body + .brown-bar,
#b-prevent .pv-card + .brown-bar { margin-top: 0; }
#b-prevent ul:has(+ .brown-bar),
#b-prevent ol:has(+ .brown-bar) { margin-bottom: 0 !important; }
#b-prevent .pv-bar-body:has(+ .brown-bar),
#b-prevent .pv-card:has(+ .brown-bar) { margin-bottom: 0 !important; }
#b-prevent .pv-list,
#b-prevent .pv-bar-body,
#b-prevent .pv-card { margin-bottom: 0; }
#b-prevent .pv-bar-body + .pv-card,
#b-prevent .pv-list + .pv-card { margin-top: 80px; }

/* ---- list (bullets / ordered) inside beige container ---- */
#b-prevent .pv-list {
  background: #ebe6e0;
  margin: 0 0 16px;
  padding: 32px 16px;
  list-style: none;
  font-size: 16px;
  line-height: 1.9;
  color: #523d38;
}
@media only screen and (min-width: 769px) {
  #b-prevent .pv-list { padding: 40px 32px; }
}
#b-prevent .pv-list li {
  position: relative;
  padding-left: 16px;
  margin: 0 0 4px !important;
  font-size: 16px !important;
  color: #523d38 !important;
}
#b-prevent .pv-list li::before {
  content: "・";
  position: absolute;
  left: -2px;
  top: 0;
}
@counter-style pv-circled {
  system: fixed;
  symbols: "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩";
  suffix: " ";
}
#b-prevent .pv-list-ol {
  counter-reset: pvol;
}
#b-prevent .pv-list-ol li {
  padding-left: 26px;
}
#b-prevent .pv-list-ol li::before {
  counter-increment: pvol;
  content: counter(pvol, pv-circled);
  left: 0;
  font-weight: normal;
}

/* ---- 見出し下のテキストボックス ---- */
#b-prevent .pv-bar-body {
  background: #ebe6e0;
  padding: 32px 16px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.9;
  color: #523d38;
}
@media only screen and (min-width: 769px) {
  #b-prevent .pv-bar-body { padding: 40px 32px; }
}
#b-prevent .pv-bar-body p {
  margin: 0 0 16px;
}
#b-prevent .pv-bar-body p:last-child { margin-bottom: 0; }
#b-prevent .pv-bar-body u {
  text-decoration: underline;
}
#b-prevent .pv-bar-body strong,
#b-prevent .pv-card-body strong {
  color: #523d38;
  font-weight: 900;
}

/* ---- PC widening tweaks ---- */
@media only screen and (min-width: 769px) {
  #b-prevent .pv-section { padding: 32px 24px 16px; }
  #b-prevent .sub-title { font-size: 26px; }
  #b-prevent .pv-card-title { font-size: 30px; }
  #b-prevent .sub-title { font-size: 180%; }
  #b-prevent .pv-card-img img {
    max-width: 480px;
    margin: 0 auto;
  }
}
