/* =================================================================
   enblue Article LP (ネイティブ広告風 / ニュース・コラム調)
   - PR表記 (消費者庁ステマ規制対応)
   - 著者プロフィール + 監修ニュアンス
   - CTA 3回 (上中下) + sticky CTA
   - ニュースサイト風 (Yahoo!ニュース / NewsPicks 調)
   ================================================================= */

:root {
  --c-text: #1a2026;
  --c-text-sub: #4a5560;
  --c-text-muted: #8a9098;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fa;
  --c-bg-section: #fafbfc;
  --c-border: #e4e8ee;
  --c-border-mid: #c5cad2;
  --c-brand: #1e3a5f;
  --c-brand-deep: #122b48;
  --c-brand-soft: #e9eef5;
  --c-accent: #c0322a;
  --c-link: #1a4d7a;
  --c-success: #06C755;
  --c-success-deep: #04a345;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --font-jp: -apple-system, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  --font-serif: "Georgia", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
}

/* PR表記 — 落ち着いた中立色 + しっかり視認性 (ステマ規制対応) */
.pr-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: #eef0f3;
  border-bottom: 1px solid #d5d9df;
  font-size: 11.5px;
  color: #3a434d;
  line-height: 1.5;
  font-weight: 500;
}
.pr-banner__tag {
  flex-shrink: 0;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 900;
  color: #fff;
  background: #4a5560;
  border-radius: 3px;
  letter-spacing: 0.12em;
}
.pr-banner__text { letter-spacing: 0.01em; }
.pr-banner__text strong { color: #1a2026; font-weight: 700; }

/* News header */
.news-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 2px solid var(--c-brand);
  position: sticky; top: 0; z-index: 5;
}
.news-header__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}
.news-header__logo { height: 26px; }
.news-header__title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-brand-deep);
}
.news-header__title span {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--c-text-muted);
  margin-left: 4px;
  font-weight: 600;
}
.news-header__cat {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-brand-deep);
  background: var(--c-brand-soft);
  border-radius: 3px;
}

/* Article */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 22px 40px;
}

.article__meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.article__meta time { color: var(--c-text-sub); }
.article__meta-sep { color: var(--c-border-mid); }
.article__meta-read {
  padding: 2px 8px;
  background: var(--c-bg-soft);
  border-radius: 999px;
  font-size: 11px;
  color: var(--c-text-sub);
}

.article__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 6.5vw, 28px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.005em;
}
.article__title-sub {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  color: var(--c-text-sub);
  margin-top: 4px;
}

.article__lead {
  margin: 0 0 26px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--c-text-sub);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-brand);
  line-height: 1.9;
}

/* Author */
.author {
  display: flex; align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 0 0 30px;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.author__avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--c-brand);
  border-radius: 50%;
}
.author__name {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
}
.author__bio {
  margin: 0;
  font-size: 11px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* H2 */
.article__h2 {
  margin: 36px 0 16px;
  padding: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c-brand-deep);
  border-bottom: 2px solid var(--c-brand);
}

.article p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text);
}
.article p strong { color: var(--c-brand-deep); }

.article__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid; gap: 16px;
}
.article__list li {
  padding: 16px 18px;
  background: var(--c-bg-section);
  border-left: 3px solid var(--c-brand-soft);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.9;
}
.article__list li strong {
  display: block;
  color: var(--c-brand-deep);
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.005em;
}
.article__list li u {
  text-decoration: none;
  background: linear-gradient(180deg, transparent 60%, #fff2a8 60%);
  padding: 0 2px;
  font-weight: 700;
}

.article__quote {
  position: relative;
  margin: 30px 0;
  padding: 26px 24px 22px 30px;
  background: linear-gradient(180deg, var(--c-brand-soft), #f6f9fd);
  border-left: 4px solid var(--c-brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: var(--c-brand-deep);
}
.article__quote::before {
  content: "“";
  position: absolute;
  top: -10px; left: 8px;
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: var(--c-brand);
  opacity: 0.22;
  pointer-events: none;
}
.article__quote small {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(30, 58, 95, 0.25);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-sub);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* Case */
.case {
  margin: 30px 0;
  padding: 0;
}
.case__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: 0.06em;
}
.case__card {
  padding: 18px 18px;
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
}
.case__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.case__avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--c-brand);
  border-radius: 50%;
}
.case__name { margin: 0; font-size: 13px; font-weight: 700; }
.case__detail { margin: 0; font-size: 11px; color: var(--c-text-muted); }
.case__body {
  margin: 0 0 8px !important;
  font-size: 13.5px !important;
  line-height: 1.95 !important;
  color: var(--c-text) !important;
}
.case__note { margin: 0; font-size: 10px; color: var(--c-text-muted); }

/* Inline CTA */
.inline-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  margin: 26px 0;
  background: var(--c-brand);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.16);
  transition: transform 0.12s, box-shadow 0.12s;
}
.inline-cta:hover { box-shadow: 0 6px 18px rgba(30, 58, 95, 0.22); }
.inline-cta:active { transform: translateY(2px); }
.inline-cta--soft {
  background: linear-gradient(135deg, var(--c-brand-soft), #fff);
  color: var(--c-brand-deep);
  border: 1px solid var(--c-brand-soft);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.08);
}
.inline-cta__label { flex: 1; }
.inline-cta__label strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
.inline-cta__label small { display: block; font-size: 11px; opacity: 0.92; margin-top: 2px; }
.inline-cta--soft .inline-cta__label small { opacity: 0.7; }
.inline-cta__arrow {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: #fff;
  color: var(--c-brand-deep);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}
.inline-cta:not(.inline-cta--soft) .inline-cta__arrow {
  background: rgba(255, 255, 255, 0.92);
}

/* Features — 記事内 "まとめ box" 調 */
.features {
  list-style: none;
  padding: 16px 18px;
  margin: 0 0 24px;
  background: var(--c-bg-section);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: grid;
  gap: 14px;
}
.features li {
  padding: 0 0 14px;
  border-bottom: 1px dashed var(--c-border);
}
.features li:last-child { border-bottom: none; padding-bottom: 0; }
.features__title {
  position: relative;
  margin: 0 0 4px;
  padding-left: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-brand-deep);
  letter-spacing: 0.01em;
}
.features__title::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--c-brand);
}
.features__desc {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--c-text-sub);
  line-height: 1.8;
}

/* CV block */
.cv-block {
  margin: 36px -22px 0;
  padding: 30px 22px 30px;
  background: linear-gradient(180deg, var(--c-brand-soft), #fff);
  border-top: 2px solid var(--c-brand);
}
.cv-block__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: 0.05em;
  text-align: center;
}
.cv-block__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c-brand-deep);
  text-align: center;
}
.cv-block__title-em {
  display: inline-block;
  padding: 0 4px;
  background: linear-gradient(180deg, transparent 65%, rgba(30, 58, 95, 0.18) 65%);
}
.cv-block__sub {
  margin: 0 0 22px !important;
  font-size: 13px !important;
  color: var(--c-text-sub) !important;
  text-align: center;
  line-height: 1.85 !important;
}

/* Survey (記事末尾組み込み) */
.survey { padding: 0; }
.survey__progress {
  height: 4px;
  background: var(--c-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.survey__progress-bar {
  height: 100%;
  width: 25%;
  background: var(--c-brand);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.survey__meta {
  margin: 0 0 20px;
  font-size: 11px;
  color: var(--c-text-muted);
  text-align: right;
  font-weight: 600;
}

.q-screen { display: none; animation: fadeIn 0.32s ease both; }
.q-screen.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.q-lead { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--c-brand); letter-spacing: 0.05em; }
.q-text {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-text);
}
.q-options { display: grid; gap: 8px; }
.q-option {
  position: relative;
  padding: 16px 18px;
  min-height: 52px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--c-text);
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center;
}
.q-option:hover { border-color: var(--c-brand); background: var(--c-brand-soft); }
.q-option:active { transform: scale(0.985); }
.q-option.is-selected {
  border-color: var(--c-brand);
  background: var(--c-brand);
  color: #fff;
}
.q-option.is-selected::after {
  content: "✓";
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-weight: 900; font-size: 16px;
}
.q-nav { display: flex; justify-content: flex-start; margin-top: 10px; }
.q-back {
  background: none; border: none;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--c-text-muted);
  cursor: pointer;
}

/* Result */
.result-screen { text-align: center; }
.result-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-success-deep);
  background: rgba(6, 199, 85, 0.12);
  border: 1px solid rgba(6, 199, 85, 0.35);
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.result-screen__thanks {
  margin: 4px 0 6px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-brand-deep);
  line-height: 1.5;
}
.result-summary {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: left;
}
.result-summary__title {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 800;
  color: var(--c-brand) !important;
  letter-spacing: 0.06em;
}
.result-summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.result-summary__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
}
.result-summary__q {
  flex-shrink: 0;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--c-brand);
  border-radius: 3px;
}
.result-summary__a { color: var(--c-text); font-weight: 600; }

.result-benefits {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: rgba(6, 199, 85, 0.05);
  border: 1px solid rgba(6, 199, 85, 0.22);
  border-radius: var(--r-md);
  text-align: left;
}
.result-benefits__title {
  margin: 0 0 8px !important;
  font-size: 11.5px !important;
  font-weight: 800;
  color: var(--c-success-deep) !important;
  letter-spacing: 0.06em;
}
.result-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}
.result-benefits__list li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-text);
}
.result-benefits__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  font-weight: 900;
  color: var(--c-success-deep);
}
.result-screen__sub {
  margin: 0 0 18px !important;
  font-size: 13px !important;
  color: var(--c-text-sub) !important;
  line-height: 1.85 !important;
}
.result-voice {
  padding: 14px 16px;
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: left;
}
.result-voice__stars { color: #d9a900; font-size: 13px; margin-bottom: 4px; letter-spacing: 1px; }
.result-voice__text { margin: 0 0 6px !important; font-size: 13px !important; color: var(--c-text) !important; line-height: 1.75 !important; }
.result-voice__by { margin: 0 !important; font-size: 11px !important; color: var(--c-text-muted) !important; }

.cta-line {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--c-success), var(--c-success-deep));
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.32);
}
.cta-line__icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px; }
.cta-line__sub { margin: 10px 0 0; font-size: 11px; color: var(--c-text-muted); }

/* Related */
.related {
  margin: 32px 0 24px;
  padding: 20px 18px;
  background: var(--c-bg-section);
  border-radius: var(--r-md);
}
.related__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-brand);
  letter-spacing: 0.08em;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related ul li + li { border-top: 1px solid var(--c-border); }
.related__item {
  display: flex; align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  text-decoration: none;
  color: var(--c-text);
  transition: opacity 0.15s;
}
.related__item:active { opacity: 0.6; }
.related__cat {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--c-brand);
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.related__cat--tax { background: #8a6500; }
.related__cat--use { background: #2a7a4d; }
.related__body { display: block; flex: 1; }
.related__head {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-link);
  margin-bottom: 4px;
}
.related__date {
  display: block;
  font-size: 10.5px;
  color: var(--c-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.related__note {
  margin: 14px 0 0 !important;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  font-size: 11.5px !important;
  color: var(--c-text-muted) !important;
  line-height: 1.7 !important;
}
.related__note a { color: var(--c-link); font-weight: 700; }

.article__disclaimer {
  margin: 30px 0 0 !important;
  padding: 12px 14px;
  background: var(--c-bg-soft);
  font-size: 11px !important;
  color: var(--c-text-muted) !important;
  line-height: 1.7 !important;
  border-radius: var(--r-sm);
}

/* News footer */
.news-footer {
  padding: 30px 22px 36px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-soft);
  text-align: center;
}
.news-footer__logo { height: 26px; opacity: 0.6; margin-bottom: 12px; }
.news-footer__about { margin: 0 0 14px; font-size: 12px; color: var(--c-text-sub); line-height: 1.8; }
.news-footer__info {
  margin: 0 auto 14px; display: grid; grid-template-columns: auto 1fr;
  gap: 3px 14px; max-width: 300px; text-align: left; font-size: 11px;
}
.news-footer__info dt { color: var(--c-text-muted); font-weight: 600; }
.news-footer__info dd { margin: 0; color: var(--c-text-sub); }
.news-footer__links { list-style: none; padding: 0; margin: 0 0 12px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.news-footer__links a { font-size: 12px; color: var(--c-text-sub); text-decoration: none; }
.news-footer__copy { margin: 0; font-size: 11px; color: var(--c-text-muted); }

/* Sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0) + 12px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  z-index: 10;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta[aria-hidden="false"] { transform: translateY(0); }
.sticky-cta__btn {
  display: block;
  padding: 16px 20px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-deep));
  text-align: center;
  text-decoration: none;
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.32);
}
.sticky-cta__main {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.sticky-cta__btn small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}
