/* =========================================================
   お得に安心スイッチキャンペーン 専用CSS（全面差し替え版）
   - コーポレートサイト（green-f.biz）のトーンに合わせた配色・部品
   - すべて .switch-cp 配下にスコープ
   - サイト共通CSS（html{font-size:62.5%} / .articledetail h2・ul・ol 等）の
     影響を受けないよう px 指定＋リセットを入れています
========================================================= */

.switch-cp {
  /* サイト共通カラー */
  --cp-green: #007c39;
  --cp-green-mid: #45b134;
  --cp-lime: #8fc31f;
  --cp-pale: #f1fcee;
  --cp-grad: linear-gradient(90deg, #8fc31f 0%, #007c39 80%);
  /* キャンペーン差し色（メインビジュアルの「2万円引き」に合わせる） */
  --cp-orange: #f4a837;
  --cp-orange-dark: #d9700a;
  --cp-orange-pale: #fff8ea;
  /* テキスト・線 */
  --cp-ink: #333;
  --cp-text: #333;
  --cp-muted: #707070;
  --cp-line: #d9d9d9;
  --cp-gray: #f5f5f5;

  color: var(--cp-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.switch-cp *,
.switch-cp *::before,
.switch-cp *::after { box-sizing: border-box; }

/* ---- サイト共通スタイルのリセット ---- */
.switch-cp h2,
.switch-cp h3,
.switch-cp h4,
.switch-cp p,
.switch-cp ul,
.switch-cp ol,
.switch-cp li,
.switch-cp table,
.switch-cp th,
.switch-cp td {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  letter-spacing: inherit;
}
.switch-cp h2,
.switch-cp h3,
.switch-cp h4 {
  color: var(--cp-ink);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.switch-cp h2::before,
.switch-cp h2::after,
.switch-cp h3::before,
.switch-cp h3::after,
.switch-cp h4::before,
.switch-cp h4::after { content: none; }
.switch-cp ul,
.switch-cp ol,
.switch-cp ul > li,
.switch-cp ol > li { list-style: none; }
.switch-cp ul > li + li,
.switch-cp ol > li + li { margin-top: 0; }
.switch-cp img { display: block; max-width: 100%; height: auto; }
.switch-cp a { color: var(--cp-green); }

/* ---- レイアウト ---- */
.switch-cp .cp-inner {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
}
.switch-cp .cp-section { padding: 90px 0; }
.switch-cp .cp-section--tight { padding-top: 0; }
.switch-cp .cp-bg { background: var(--cp-pale); }

/* ---- 見出し（サイトの .c-title.__dots と同じ形） ---- */
.switch-cp .cp-head { margin-bottom: 40px; }
.switch-cp .cp-title {
  position: relative;
  padding-left: 30px;
  color: var(--cp-ink);
  font-size: 30px;
  line-height: 1.5;
}
.switch-cp .cp-title::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--cp-green);
}
.switch-cp .cp-title--center {
  padding-left: 0;
  color: var(--cp-green);
  font-size: 32px;
  text-align: center;
}
.switch-cp .cp-title--center::before { content: none; }
.switch-cp .cp-lead { margin-top: 18px; }
.switch-cp .cp-title--center + .cp-lead {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

/* ---- メインビジュアル ---- */
.switch-cp .cp-hero { background: #fff; }
.switch-cp .cp-hero img { width: 100%; max-width: 1920px; margin: 0 auto; }
.switch-cp .cp-hero a { display: block; }
.switch-cp .cp-hero a:hover { opacity: .9; }

/* ページ内リンクで移動したとき、固定ヘッダーに見出しが隠れないようにする */
.switch-cp #cp-outline { scroll-margin-top: 120px; }

/* ---- 上部帯 ---- */
.switch-cp .cp-band {
  padding: 14px 5%;
  background: var(--cp-grad);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.switch-cp .cp-band strong {
  display: inline-block;
  margin-left: 14px;
  padding: 2px 14px;
  border-radius: 5px;
  background: #fff;
  color: var(--cp-green);
}

/* ---- イントロ ---- */
.switch-cp .cp-intro { padding-bottom: 70px; }
.switch-cp .cp-intro .cp-head { margin-bottom: 0; }
.switch-cp .cp-intro .cp-lead strong {
  color: var(--cp-green);
  background: linear-gradient(transparent 62%, #e2f3c4 62%);
}

/* ---- お悩み ---- */
.switch-cp .cp-worry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.switch-cp .cp-worry li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 10px;
  background: #fff;
  color: var(--cp-ink);
  font-weight: 700;
  line-height: 1.6;
}
.switch-cp .cp-worry li::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.switch-cp .cp-worry-answer {
  position: relative;
  margin-top: 50px;
  padding-top: 44px;
  color: var(--cp-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.switch-cp .cp-worry-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 40px);
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 26px solid var(--cp-green);
}
.switch-cp .cp-worry-answer em {
  color: var(--cp-green);
  font-style: normal;
}

/* ---- 選ばれる理由（サイトの .p-top-reason-wrap と同じ形） ---- */
.switch-cp .cp-green {
  position: relative;
  background: var(--cp-green);
}
.switch-cp .cp-green::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 40px);
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 30px solid var(--cp-pale);
}
.switch-cp .cp-green .cp-title { color: #fff; }
.switch-cp .cp-green .cp-title::before { background: #fff; }
.switch-cp .cp-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.switch-cp .cp-reason {
  padding: 30px;
  border-radius: 10px;
  background: #fff;
}
.switch-cp .cp-reason-num {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 5px;
  background: var(--cp-lime);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
}
.switch-cp .cp-reason h3 {
  margin: 14px 0 10px;
  color: var(--cp-green);
  font-size: 21px;
}
.switch-cp .cp-reason p {
  color: var(--cp-ink);
  font-size: 15px;
  line-height: 1.85;
}

/* ---- 特典 ---- */
.switch-cp .cp-benefit {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.switch-cp .cp-benefit + .cp-benefit { margin-top: 30px; }
.switch-cp .cp-benefit-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 40px;
  background: var(--cp-grad);
  color: #fff;
}
.switch-cp .cp-benefit-no {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
}
.switch-cp .cp-benefit-no b {
  margin-left: 4px;
  font-size: 28px;
  vertical-align: -3px;
}
.switch-cp .cp-benefit-label {
  padding: 2px 14px;
  border-radius: 5px;
  background: #fff;
  color: var(--cp-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}
.switch-cp .cp-benefit-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
}
.switch-cp .cp-benefit-body h3 {
  margin-bottom: 16px;
  color: var(--cp-green);
  font-size: 26px;
  line-height: 1.5;
}
.switch-cp .cp-benefit-body h3 em {
  color: var(--cp-orange-dark);
  font-style: normal;
}
.switch-cp .cp-benefit-text p + p { margin-top: 12px; }
.switch-cp .cp-source {
  margin-top: 20px !important;
  padding: 14px 18px;
  border-radius: 5px;
  background: var(--cp-gray);
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* 手引き：掲載内容 */
.switch-cp .cp-guide {
  padding: 28px;
  border: 1px solid var(--cp-green);
  border-radius: 10px;
  background: var(--cp-pale);
}
.switch-cp .cp-guide h4 {
  margin-bottom: 16px;
  color: var(--cp-green);
  font-size: 17px;
}
.switch-cp .cp-guide ol {
  display: grid;
  gap: 10px;
  counter-reset: guide;
}
.switch-cp .cp-guide li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 0 12px;
  padding: 12px 16px;
  border-radius: 5px;
  background: #fff;
  counter-increment: guide;
  line-height: 1.6;
}
.switch-cp .cp-guide li::before {
  content: counter(guide, decimal-leading-zero);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cp-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.switch-cp .cp-guide li strong {
  color: var(--cp-ink);
  font-size: 15px;
}
.switch-cp .cp-guide li span {
  color: var(--cp-muted);
  font-size: 13px;
}
.switch-cp .cp-guide-note {
  margin-top: 12px !important;
  color: var(--cp-muted);
  font-size: 12px;
}

/* 割引表示 */
.switch-cp .cp-discount {
  padding: 36px 24px;
  border: 2px solid var(--cp-orange);
  border-radius: 10px;
  background: var(--cp-orange-pale);
  text-align: center;
}
.switch-cp .cp-discount-pre {
  display: block;
  color: var(--cp-ink);
  font-size: 16px;
  font-weight: 700;
}
.switch-cp .cp-discount-num {
  display: block;
  margin: 4px 0 10px;
  color: var(--cp-orange-dark);
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}
.switch-cp .cp-discount-num small {
  margin-left: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
}
.switch-cp .cp-discount-sub {
  display: inline-block;
  padding: 3px 16px;
  border-radius: 5px;
  background: var(--cp-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ---- ボタン（サイトの .c-btn と同じ形：白地＋右端に丸矢印） ---- */
.switch-cp .cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.switch-cp .cp-btn,
.switch-cp .cp-btn:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 64px 12px 22px;
  border: 1px solid var(--cp-lime);
  border-radius: 5px;
  background: #fff;
  color: var(--cp-ink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-decoration: none !important;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.switch-cp .cp-btn::after {
  content: "";
  position: absolute;
  top: calc(50% - 17px);
  right: 15px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cp-lime);
  transition: background-color .3s ease-in-out;
}
.switch-cp .cp-btn::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(50% - 4px);
  right: 29px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: border-color .3s ease-in-out;
}
.switch-cp .cp-btn:hover {
  background: var(--cp-lime);
  color: #fff !important;
  opacity: 1;
}
.switch-cp .cp-btn:hover::after { background: #fff; }
.switch-cp .cp-btn:hover::before { border-color: var(--cp-lime); }

/* 濃い緑のボタン（資料請求） */
.switch-cp .cp-btn--primary,
.switch-cp .cp-btn--primary:visited {
  border-color: var(--cp-green);
  background: var(--cp-green);
  color: #fff !important;
}
.switch-cp .cp-btn--primary::after { background: #fff; }
.switch-cp .cp-btn--primary::before { border-color: var(--cp-green); }
.switch-cp .cp-btn--primary:hover { background: #fff; color: var(--cp-green) !important; }
.switch-cp .cp-btn--primary:hover::after { background: var(--cp-green); }
.switch-cp .cp-btn--primary:hover::before { border-color: #fff; }

/* 最終CTAの大きいボタン */
.switch-cp .cp-btn--cta,
.switch-cp .cp-btn--cta:visited {
  justify-content: center;
  min-width: 380px;
  min-height: 68px;
  padding: 16px 70px;
  border: 0;
  background: #fff;
  color: var(--cp-green) !important;
  font-size: 19px;
  box-shadow: 0 6px 18px rgba(0, 60, 25, .25);
}
.switch-cp .cp-btn--cta::after { background: var(--cp-orange); }
.switch-cp .cp-btn--cta:hover { background: var(--cp-orange); color: #fff !important; }
.switch-cp .cp-btn--cta:hover::after { background: #fff; }
.switch-cp .cp-btn--cta:hover::before { border-color: var(--cp-orange); }

.switch-cp .cp-caution {
  margin-top: 20px;
  color: var(--cp-muted);
  font-size: 13px;
}

/* ---- ご利用の流れ ---- */
.switch-cp .cp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.switch-cp .cp-step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--cp-green);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.switch-cp .cp-step + .cp-step::before {
  content: "";
  position: absolute;
  top: calc(50% - 12px);
  left: -28px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid var(--cp-lime);
}
.switch-cp .cp-step-no {
  display: inline-block;
  padding: 3px 16px;
  border-radius: 100vh;
  background: var(--cp-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
}
.switch-cp .cp-step h3 {
  margin: 16px 0 10px;
  color: var(--cp-green);
  font-size: 20px;
}
.switch-cp .cp-step p {
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

/* ---- キャンペーン概要 ---- */
.switch-cp .cp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--cp-line);
  border-radius: 10px;
  background: #fff;
}
.switch-cp .cp-table th,
.switch-cp .cp-table td {
  padding: 20px 28px;
  border-top: 1px solid var(--cp-line);
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}
.switch-cp .cp-table tr:first-child th,
.switch-cp .cp-table tr:first-child td { border-top: 0; }
.switch-cp .cp-table th {
  width: 220px;
  background: var(--cp-pale);
  color: var(--cp-green);
  font-weight: 700;
}
.switch-cp .cp-table td { background: #fff; color: var(--cp-ink); }
.switch-cp .cp-table td strong { color: var(--cp-orange-dark); }

/* ---- 最終CTA ---- */
.switch-cp .cp-final {
  padding: 80px 5%;
  background: var(--cp-grad);
  color: #fff;
  text-align: center;
}
.switch-cp .cp-final h2 {
  color: #fff;
  font-size: 30px;
  line-height: 1.6;
}
.switch-cp .cp-final p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #fff;
}
.switch-cp .cp-final .cp-btn { margin-top: 36px; }
.switch-cp .cp-final-note {
  display: inline-block;
  margin-top: 24px !important;
  padding: 10px 20px;
  border-radius: 5px;
  background: rgba(0, 60, 25, .25);
  font-size: 14px;
}
.switch-cp .cp-final-note strong { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---- ご利用にあたって ---- */
.switch-cp .cp-notes { padding: 56px 0 80px; }
.switch-cp .cp-notes-box {
  padding: 28px 32px;
  border-radius: 10px;
  background: var(--cp-gray);
}
.switch-cp .cp-notes h2 {
  margin-bottom: 12px;
  font-size: 16px;
}
.switch-cp .cp-notes li {
  position: relative;
  padding-left: 1.2em;
  color: var(--cp-muted);
  font-size: 13px;
  line-height: 1.9;
}
.switch-cp .cp-notes li + li { margin-top: 2px; }
.switch-cp .cp-notes li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* =========================================================
   Tablet
========================================================= */
@media screen and (max-width: 960px) {
  .switch-cp .cp-benefit-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .switch-cp .cp-reasons { gap: 14px; }
  .switch-cp .cp-reason { padding: 26px 20px; }
}

/* =========================================================
   Smartphone
========================================================= */
@media screen and (max-width: 768px) {
  .switch-cp { font-size: 15px; }
  .switch-cp .cp-section { padding: 56px 0; }
  .switch-cp .cp-section--tight { padding-top: 0; }
  .switch-cp .cp-head { margin-bottom: 28px; }
  .switch-cp .cp-title { padding-left: 22px; font-size: 20px; letter-spacing: .02em; }
  .switch-cp .cp-title::before { top: 9px; width: 12px; height: 12px; }
  .switch-cp .cp-title--center { padding-left: 0; font-size: 24px; }
  .switch-cp .cp-title--center + .cp-lead { text-align: left; }

  .switch-cp .cp-band { font-size: 13px; }
  .switch-cp .cp-band strong { display: block; width: fit-content; margin: 6px auto 0; }

  .switch-cp .cp-worry,
  .switch-cp .cp-reasons,
  .switch-cp .cp-steps { grid-template-columns: 1fr; }
  .switch-cp .cp-worry { gap: 10px; }
  .switch-cp .cp-worry li { padding: 16px 18px; }
  .switch-cp .cp-worry-answer { margin-top: 36px; font-size: 17px; }
  .switch-cp .cp-worry-answer br { display: none; }

  .switch-cp .cp-benefit-head { padding: 14px 18px; flex-wrap: wrap; gap: 8px 12px; }
  .switch-cp .cp-benefit-body { padding: 24px 18px 28px; }
  .switch-cp .cp-benefit-body h3 { font-size: 19px; letter-spacing: .02em; }
  .switch-cp .cp-guide { padding: 20px 14px; }
  .switch-cp .cp-discount-num { font-size: 48px; }
  .switch-cp .cp-actions { flex-direction: column; }
  .switch-cp .cp-actions .cp-btn { width: 100%; }

  .switch-cp .cp-steps { gap: 30px; }
  .switch-cp .cp-step + .cp-step::before {
    top: -24px;
    left: calc(50% - 12px);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid var(--cp-lime);
    border-bottom: 0;
  }

  .switch-cp .cp-table,
  .switch-cp .cp-table tbody,
  .switch-cp .cp-table tr,
  .switch-cp .cp-table th,
  .switch-cp .cp-table td { display: block; width: 100%; }
  .switch-cp .cp-table th { padding: 10px 18px; border-top: 1px solid var(--cp-line); }
  .switch-cp .cp-table td { padding: 14px 18px; border-top: 0; }

  .switch-cp .cp-final { padding: 56px 5%; }
  .switch-cp .cp-final h2 { font-size: 22px; }
  .switch-cp .cp-final p { text-align: left; }
  .switch-cp .cp-btn--cta { width: 100%; min-width: 0; font-size: 17px; }

  .switch-cp .cp-notes-box { padding: 22px 18px; }
}
