/* ============================================================
   PPC LP 専用スタイル(自己完結・MEDIORA本体のCSSは読み込まない)
   このフォルダごとコピーすれば別LPとして複製できます
   配色: ネイビー #123458 / ティール #28a99a / CTAオレンジ #ff6b35
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #2c3a4a;
  line-height: 1.85;
  background: #fff;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1c7f73; }

/* ---- 広告・PR表記(ステマ規制対応。最上部に必須) ---- */
.ad-notice {
  background: #f0f4f8;
  color: #5b6b7d;
  font-size: 12px;
  text-align: center;
  padding: 7px 12px;
  border-bottom: 1px solid #dde5ee;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 18px; }

/* ---- ファーストビュー ---- */
.hero {
  background: linear-gradient(135deg, #123458 0%, #1c7f73 100%);
  color: #fff;
  padding: 34px 18px 30px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: 27px;
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.hero h1 .accent {
  color: #ffd9a8;
}
.hero-sub {
  font-size: 15px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
  display: inline-block;
}
.hero-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: #ffd9a8;
  color: #123458;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- CTAボタン(オレンジ #ff6b35 で統一) ---- */
.cta { text-align: center; margin: 30px 0; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ff8547 0%, #ff6b35 100%);
  color: #fff !important;
  padding: 17px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  min-width: 280px;
  max-width: 100%;
  border: 2px solid #ff6b35;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(255, 107, 53, 0.42);
}
.cta-note {
  display: block;
  font-size: 12px;
  color: #7a8ba0;
  margin-top: 10px;
  line-height: 1.7;
}
.hero .cta-note { color: rgba(255, 255, 255, 0.85); }

/* ---- セクション ---- */
section { padding: 34px 0 6px; }
h2 {
  font-size: 21px;
  color: #123458;
  border-left: 5px solid #28a99a;
  border-bottom: 2px solid #eef4f2;
  padding: 4px 0 8px 12px;
  margin: 0 0 18px;
  line-height: 1.5;
}
h3 {
  font-size: 17px;
  color: #1c7f73;
  background: #eafaf7;
  border-left: 3px solid #28a99a;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin: 26px 0 12px;
}
p { margin: 0 0 16px; }

/* ---- 選び方カード ---- */
.point-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}
.point-card {
  border: 1px solid #d9e6ef;
  border-radius: 12px;
  padding: 18px 20px;
  background: #fbfdff;
}
.point-card .num {
  display: inline-block;
  background: linear-gradient(135deg, #123458, #28a99a);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.point-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #123458;
}
.point-card p { margin: 0; font-size: 15px; }

/* ---- STEPフロー ---- */
.flow { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.flow > li {
  position: relative;
  padding: 0 0 22px 52px;
  counter-increment: step;
}
.flow > li::before {
  content: "STEP " counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #123458, #28a99a);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 6px;
  width: 2px;
  background: #d6e8e4;
}
.flow-title {
  font-weight: 800;
  color: #123458;
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}
.flow p { margin: 0; font-size: 15px; }

/* ---- 比較表 ---- */
.table-scroll { overflow-x: auto; margin-bottom: 16px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
}
th, td {
  border: 1px solid #dde5ee;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #123458;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
tbody th {
  background: #f2f7fb;
  color: #123458;
}
tr:nth-child(even) td { background: #fafcfe; }

/* ---- 注意ボックス ---- */
.warn-box {
  background: #fff7ed;
  border-left: 4px solid #ff9d4d;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 15px;
}
.warn-box strong { color: #c2610f; display: block; margin-bottom: 6px; }
.warn-box p:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */
.faq details {
  border: 1px solid #dde5ee;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 14px 44px 14px 44px;
  font-weight: 700;
  color: #123458;
  position: relative;
  list-style: none;
  font-size: 15px;
  background: #fbfdff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 22px;
  height: 22px;
  background: #28a99a;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq summary::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 15px;
  font-size: 11px;
  color: #28a99a;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer {
  padding: 14px 18px 16px 44px;
  font-size: 15px;
  border-top: 1px solid #eef3f8;
  position: relative;
}
.faq .answer::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  background: #123458;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- LPセクション画像(文字が焼き込まれた縦長画像を全幅で見せる) ---- */
.lp-img {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.lp-img img {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
/* 画像セクションの帯(白背景で画像同士を区切る) */
.img-band { background: #fff; padding: 0; }

/* ---- セクション画像の直下に出す注記 ----
   効果に関する表現を含む画像には、画像内に注記が焼き込まれていなくても
   ここで個人差の但し書きを補える(医療広告GL対応)。
   画像とセットで見える必要があるため、画像の直後に密着させる。 */
.lp-note {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: 9px 18px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: #6b7c8f;
  background: #fff;
  text-align: left;
}
@media (max-width: 600px) {
  .lp-note { font-size: 11.5px; padding: 8px 16px 14px; }
}

/* ---- 画像CTAボタン ---- */
.cta-img {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  line-height: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta-img img {
  width: 100%;
  border-radius: 10px;
}
.cta-img:hover { transform: translateY(-2px); filter: brightness(1.04); }
/* 追従バー内の画像CTAは小さめに */
.sticky-cta .cta-img { max-width: 420px; }
.sticky-cta .cta-img img { border-radius: 8px; }

/* ---- 画像・図解 ---- */
.figure {
  margin: 22px 0;
  text-align: center;
}
.figure img {
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid #e3eaf2;
  box-shadow: 0 4px 14px rgba(18, 52, 88, 0.07);
}
.figure figcaption {
  font-size: 12.5px;
  color: #7a8ba0;
  margin-top: 8px;
  line-height: 1.7;
}
/* 枠線なしで全幅に見せたい画像用(ヒーロー直下の帯など) */
.figure.is-flat img { border: 0; border-radius: 0; box-shadow: none; }

/* ============================================================
   アニメーション
   ※prefers-reduced-motion(視差効果を減らす設定)の端末では
     すべて無効化されます(アクセシビリティ対応)
   ============================================================ */
/* ★重要★ 要素を隠すのは、JSが動いている場合(html.js-anim)だけにする。
   こうしておくと、JSエラー・IntersectionObserver非対応・スクリプトブロック等が
   起きても本文が opacity:0 のまま消えることがない(広告費の事故防止)。 */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
/* 連続要素を少しずつ遅らせる */
.js-anim .reveal.d1 { transition-delay: 0.10s; }
.js-anim .reveal.d2 { transition-delay: 0.20s; }
.js-anim .reveal.d3 { transition-delay: 0.30s; }

/* CTAのゆっくり脈打つ動き(注意を引く) */
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
.cta-pulse { animation: ctaPulse 2.4s ease-in-out infinite; }

/* 下向き矢印のバウンド */
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}
.arrow-down {
  text-align: center;
  font-size: 26px;
  color: #28a99a;
  animation: arrowBounce 1.5s ease-in-out infinite;
  margin: -4px 0 4px;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .cta-pulse, .arrow-down { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   30秒セルフチェック(インタラクティブ)
   ============================================================ */
.selfcheck {
  background: linear-gradient(160deg, #f2f9f8 0%, #eef5fb 100%);
  border: 2px solid #cceee8;
  border-radius: 16px;
  padding: 24px 20px;
  margin: 8px 0 20px;
}
.selfcheck-title {
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  color: #123458;
  margin: 0 0 4px;
  line-height: 1.5;
}
.selfcheck-lead {
  text-align: center;
  font-size: 13.5px;
  color: #5b6b7d;
  margin: 0 0 18px;
}
.selfcheck ul { list-style: none; padding: 0; margin: 0 0 18px; }
.selfcheck li { margin-bottom: 9px; }
.selfcheck label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  border: 1px solid #dbe8ee;
  border-radius: 10px;
  padding: 13px 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #2c3a4a;
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
}
.selfcheck label:hover { border-color: #28a99a; }
.selfcheck label:active { transform: scale(0.99); }
.selfcheck input { position: absolute; opacity: 0; width: 0; height: 0; }
.selfcheck .box {
  flex: 0 0 auto;
  width: 23px; height: 23px;
  border: 2px solid #b8ccd6;
  border-radius: 6px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.selfcheck .box::after { content: "✓"; opacity: 0; transition: opacity 0.2s; }
.selfcheck input:checked ~ .box {
  background: #28a99a; border-color: #28a99a;
}
.selfcheck input:checked ~ .box::after { opacity: 1; }
.selfcheck input:checked ~ .txt { color: #1c7f73; }
.selfcheck label:has(input:checked) {
  border-color: #28a99a;
  background: #f2fbf9;
}
.selfcheck input:focus-visible ~ .box { outline: 3px solid #ffb37a; outline-offset: 2px; }

.selfcheck-result {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px;
  text-align: center;
  border: 2px dashed #cbdde6;
}
.selfcheck-count {
  font-size: 15px;
  font-weight: 700;
  color: #123458;
  margin: 0 0 6px;
}
.selfcheck-count strong {
  font-size: 30px;
  color: #ff6b35;
  margin: 0 3px;
  vertical-align: -2px;
}
.selfcheck-msg { font-size: 14.5px; color: #4a5b6e; margin: 0; line-height: 1.75; }
.selfcheck-result.is-hit { border-color: #ffb37a; background: #fff9f4; }

/* セルフチェック2個以上ヒット時に出す導線ボタン(CTA②へスクロール) */
.selfcheck-cta {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(180deg, #ff8547 0%, #ff6b35 100%);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.selfcheck-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(255, 107, 53, 0.4); }
.selfcheck-cta[hidden] { display: none; }

/* ---- リード文(心の声・強調) ---- */
.voice {
  font-size: 19px;
  font-weight: 800;
  color: #123458;
  text-align: center;
  line-height: 1.7;
  margin: 22px 0 14px;
}
.voice .sub {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #5b6b7d;
  margin-top: 6px;
}
.lead-mark {
  background: linear-gradient(transparent 62%, #ffe9a8 62%);
  font-weight: 800;
}

/* ---- 選ばれている理由リスト ---- */
.reason-list { list-style: none; padding: 0; margin: 0 0 8px; }
.reason-list li {
  background: #fff;
  border: 1px solid #dbe8ee;
  border-left: 4px solid #28a99a;
  border-radius: 0 10px 10px 0;
  padding: 13px 16px;
  margin-bottom: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: #2c3a4a;
}
.reason-list li .note {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #7a8ba0;
  margin-top: 4px;
  line-height: 1.65;
}

/* ---- 比較表:対面列を強調 ---- */
.vs-table th.is-hl { background: #1c7f73; }
.vs-table td.is-hl {
  background: #eafaf7 !important;
  font-weight: 700;
  color: #1c7f73;
}

/* ---- CTA(リンク未設定・画像のみ) ---- */
.cta-nolink { display: block; max-width: 560px; margin: 0 auto; line-height: 0; }
.cta-nolink img { width: 100%; border-radius: 10px; }
.cta-label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #123458;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.6;
}
.cta-pending {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #b06a00;
  background: #fff4e0;
  border: 1px dashed #ffc266;
  border-radius: 20px;
  padding: 3px 12px;
  margin-top: 10px;
}

/* ---- 免責・出典 ---- */
.disclaimer {
  background: #f7f9fb;
  border: 1px solid #e3eaf2;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 12.5px;
  color: #5b6b7d;
  line-height: 1.8;
  margin: 26px 0 16px;
}
.refs { font-size: 12.5px; color: #5b6b7d; margin-bottom: 20px; }
.refs ul { padding-left: 1.2em; margin: 6px 0 0; }
.refs li { margin-bottom: 4px; }

/* ---- フッター ---- */
footer {
  background: #123458;
  color: rgba(255, 255, 255, 0.85);
  padding: 26px 18px 100px;
  font-size: 13px;
  text-align: center;
  margin-top: 30px;
}
footer a { color: #a8dcd4; text-decoration: none; margin: 0 9px; }
footer a:hover { text-decoration: underline; }
.footer-links { margin-bottom: 14px; line-height: 2.2; }
.copyright { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* ---- 追従CTA(スマホで効く) ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e3eaf2;
  padding: 10px 14px;
  text-align: center;
  z-index: 100;
  box-shadow: 0 -3px 14px rgba(18, 52, 88, 0.10);
}
/* 追従バーのボタンはグリーン(ティール)。
   本文中のCTAはオレンジ=行動喚起、追従バーは常時表示のため
   圧を抑えて安心感を出す狙い。リンク化して <a> になっても効くよう
   .sticky-cta の子孫として指定している。 */
.sticky-cta .cta-btn {
  padding: 13px 24px;
  font-size: 15px;
  min-width: 0;
  width: 100%;
  max-width: 420px;
  /* 濃いめグリーン(白文字コントラスト5.13で WCAG AA達成・可読性優先)。
     ※鮮やかなLINE色(#06C755)にしたい場合はこちらに戻せる:
         background: linear-gradient(180deg, #06C755 0%, #04A847 100%);
         border-color: #049B42;   (白文字2.26で AA未達) */
  background: linear-gradient(180deg, #049B42 0%, #027F35 100%);
  border: 2px solid #026B2D;
  box-shadow: 0 3px 12px rgba(4, 155, 66, 0.38);
  /* 視認性の補強:太さ最大 + 濃い緑の影で白文字の輪郭を立たせる */
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(1, 77, 33, 0.55), 0 0 1px rgba(1, 77, 33, 0.7);
}

/* ---- スマホ最適化 ---- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero { padding: 26px 16px 24px; }
  .hero h1 { font-size: 22px; }
  .hero-sub { font-size: 14px; }
  h2 { font-size: 19px; }
  h3 { font-size: 16px; }
  .cta-btn { width: 100%; min-width: 0; padding: 16px 18px; font-size: 16px; }
  .flow > li { padding-left: 46px; }
  footer { padding-bottom: 96px; }
}
