/* ==========================================================================
   共通CSS - test_campaign 記事LP
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1B2A4A;
  --white: #FFFFFF;
  --orange: #FF6B35;
  --orange-hover: #E55A2B;
  --green: #2ECC71;
  --green-dark: #27AE60;
  --light-bg: #F8F9FA;
  --text-main: #333333;
  --text-sub: #666666;
  --text-light: #999999;
  --border: #E0E0E0;
  --red: #CC0000;
  --red-bg: #FFF0F0;
  --green-bg: #F0FFF0;
  --orange-bg: #FFF8F0;
  --warm-white: #FBF8F4;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- Layout ---------- */
.lp-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

.lp-section {
  padding: 32px 20px;
}

.lp-section--gray {
  background-color: var(--light-bg);
}

.lp-section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.lp-section--warm {
  background-color: var(--warm-white);
}

/* ---------- PR Label ---------- */
.pr-label {
  display: block;
  background-color: var(--text-light);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
  letter-spacing: 0.1em;
}

.pr-label--sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ---------- Typography ---------- */
.lp-h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.lp-h2 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--navy);
}

.lp-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 12px;
}

.lp-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lp-text--small {
  font-size: 0.875rem;
  color: var(--text-sub);
}

.lp-text--note {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 8px;
}

.lp-text--red {
  color: var(--red);
}

.lp-text--strong {
  font-weight: 700;
}

.lp-text--center {
  text-align: center;
}

.lp-text--lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- Accent Line (green) ---------- */
.accent-line {
  width: 60px;
  height: 4px;
  background-color: var(--green);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.accent-line--left {
  margin-left: 0;
}

/* ---------- Section Divider ---------- */
.section-divider {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  margin: 0;
}

/* ---------- First View ---------- */
.fv {
  position: relative;
  padding: 24px 20px 32px;
}

.fv__image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.fv__catch {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.fv__sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* ---------- CTA Button ---------- */
.cta-block {
  padding: 24px 20px;
  text-align: center;
}

.cta-block--bg {
  background-color: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-btn {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 24px;
  background-color: var(--orange);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  line-height: 1.5;
}

.cta-btn:hover {
  background-color: var(--orange-hover);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.cta-btn__arrow {
  display: inline-block;
  margin-left: 8px;
}

/* CTA Pulse Animation */
.cta-btn--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.5);
  }
  100% {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  }
}

.cta-sub-text {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 10px;
}

.cta-micro {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* ---------- Bullet List ---------- */
.lp-list {
  margin-bottom: 20px;
}

.lp-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  line-height: 1.7;
}

.lp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background-color: var(--navy);
  border-radius: 50%;
}

.lp-list--check li::before {
  content: '\2713';
  background: none;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  top: 0;
}

.lp-list--orange li::before {
  background-color: var(--orange);
}

.lp-list--num {
  counter-reset: list-counter;
}

.lp-list--num li {
  counter-increment: list-counter;
}

.lp-list--num li::before {
  content: counter(list-counter);
  background-color: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0.2em;
}

/* ---------- Card ---------- */
.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.card--testimonial {
  border-left: 4px solid var(--green);
}

.card--highlight {
  border-left: 4px solid var(--orange);
  background-color: var(--orange-bg);
}

.card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card__quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 8px;
  font-style: italic;
}

.card__quote::before {
  content: '\201C';
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1;
  margin-right: 4px;
}

.card__note {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---------- Table ---------- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.lp-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lp-table thead th {
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  font-size: 0.85rem;
}

.lp-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.lp-table tbody tr:nth-child(even) {
  background-color: var(--light-bg);
}

.lp-table tbody tr:last-child td {
  border-bottom: none;
}

.lp-table .total-row {
  font-weight: 700;
  background-color: var(--orange-bg) !important;
}

.lp-table .highlight-cell {
  color: var(--orange);
  font-weight: 700;
}

.lp-table .green-cell {
  color: var(--green-dark);
  font-weight: 700;
}

.lp-table .red-cell {
  color: var(--red);
}

/* ---------- Alert / Notice Box ---------- */
.notice-box {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.notice-box--important {
  background-color: var(--red-bg);
  border: 2px solid var(--red);
}

.notice-box--important .notice-box__title {
  color: var(--red);
}

.notice-box--point {
  background-color: var(--green-bg);
  border: 2px solid var(--green);
}

.notice-box--point .notice-box__title {
  color: var(--green-dark);
}

.notice-box--info {
  background-color: #F0F4F8;
  border: 2px solid var(--navy);
}

.notice-box--info .notice-box__title {
  color: var(--navy);
}

.notice-box__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ---------- Big Number Highlight ---------- */
.big-number {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 20px;
  background-color: var(--orange-bg);
  border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0;
}

.big-number__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.3;
}

.big-number__label {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-top: 4px;
}

.big-number--green {
  background-color: var(--green-bg);
  border-left-color: var(--green);
}

.big-number--green .big-number__value {
  color: var(--green-dark);
}

/* ---------- Before / After ---------- */
.before-after {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 20px;
}

.before-after__item {
  flex: 1;
  padding: 20px 16px;
  border-radius: 8px;
  text-align: center;
}

.before-after__item--before {
  background-color: var(--red-bg);
  border: 2px solid #E8C0C0;
}

.before-after__item--after {
  background-color: var(--green-bg);
  border: 2px solid #B0D8B0;
}

.before-after__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.before-after__item--before .before-after__label {
  color: var(--red);
}

.before-after__item--after .before-after__label {
  color: var(--green-dark);
}

.before-after__value {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
}

.before-after__item--before .before-after__value {
  color: var(--red);
}

.before-after__item--after .before-after__value {
  color: var(--green-dark);
}

.before-after__sub {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 4px;
}

.before-after__arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Steps ---------- */
.steps {
  margin-bottom: 24px;
}

.step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  width: 2px;
  height: calc(100% - 20px);
  background-color: var(--border);
}

.step__number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__content {
  flex: 1;
  padding-top: 6px;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- Simulation Bar (CSS-only chart) ---------- */
.sim-chart {
  margin-bottom: 24px;
}

.sim-chart__bar-group {
  margin-bottom: 16px;
}

.sim-chart__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.sim-chart__bar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-chart__bar {
  height: 32px;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  flex: 1;
  max-width: 80%;
}

.sim-chart__bar-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  padding: 0 4px;
}

.sim-chart__bar-segment--principal {
  background-color: var(--navy);
}

.sim-chart__bar-segment--returns {
  background-color: var(--green);
}

.sim-chart__value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

/* ---------- Blockquote ---------- */
.lp-blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin-bottom: 20px;
  background-color: var(--light-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.8;
}

/* ---------- Spacer ---------- */
.spacer-sm {
  height: 16px;
}

.spacer-md {
  height: 24px;
}

.spacer-lg {
  height: 40px;
}

/* ---------- Footer ---------- */
.lp-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 32px 20px;
  font-size: 0.8rem;
  line-height: 1.8;
}

.lp-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.lp-footer a:hover {
  color: var(--white);
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.lp-footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.lp-footer__disclaimer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* ---------- Responsive: Tablet ---------- */
@media (min-width: 641px) {
  .lp-section {
    padding: 40px 28px;
  }

  .fv {
    padding: 32px 28px 40px;
  }

  .lp-h1 {
    font-size: 1.75rem;
  }

  .lp-h2 {
    font-size: 1.5rem;
  }

  .cta-block {
    padding: 32px 28px;
  }
}

/* ---------- Responsive: PC ---------- */
@media (min-width: 769px) {
  .lp-wrapper {
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
  }
}

@media (min-width: 1025px) {
  body {
    background-color: #EEEEEE;
  }

  .lp-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.color-orange { color: var(--orange); }
.color-green { color: var(--green-dark); }
.color-red { color: var(--red); }
.color-navy { color: var(--navy); }
.bg-gray { background-color: var(--light-bg); }
