@charset "UTF-8";

/* ==========================================================
   LP color themes

   theme-pattern01：赤＋オレンジ
   theme-pattern02：黒＋オレンジ＋赤
   theme-pattern03：ベージュ＋黒＋プラム

   このファイルでは色のみを変更する。
   サイズ・位置・レイアウトはメインCSSで管理する。
   ========================================================== */


/* ==========================================================
   Theme variables
   ========================================================== */

/* パターン01：赤＋オレンジ */
.theme-pattern01 {
  --theme-heading-bg: var(--color-red);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-red);
  --theme-marker: rgba(218, 41, 28, 0.3);

  --theme-cv: var(--color-orange);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(252, 76, 2, 0.3);
  --theme-cv-shadow-hover: rgba(252, 76, 2, 0.44);

  --theme-impact-bg: var(--color-red);
  --theme-impact-text: var(--color-white);
  --theme-footer-bg: var(--color-red);
}

/* パターン02：黒＋オレンジ＋赤 */
.theme-pattern02 {
  --theme-heading-bg: var(--color-black);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-orange);
  --theme-marker: rgba(34, 34, 33, 0.3);

  --theme-cv: var(--color-red);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(154, 51, 36, 0.32);
  --theme-cv-shadow-hover: rgba(154, 51, 36, 0.46);

  --theme-impact-bg: var(--color-red);
  --theme-impact-text: var(--color-white);
  --theme-footer-bg: var(--color-red);
}

/* パターン03：ベージュ＋黒＋プラム */
.theme-pattern03 {
  --theme-heading-bg: var(--color-biscuit);
  --theme-heading-text: var(--color-black);
  --theme-h3: var(--color-black);
  --theme-marker: rgba(209, 204, 189, 0.3);

  --theme-cv: var(--color-plum);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(154, 51, 36, 0.32);
  --theme-cv-shadow-hover: rgba(154, 51, 36, 0.46);

  --theme-impact-bg: var(--color-red);
  --theme-impact-text: var(--color-white);
  --theme-footer-bg: var(--color-red);
}


/* ==========================================================
   Titles
   ========================================================== */

.theme-pattern01 .section-title,
.theme-pattern02 .section-title,
.theme-pattern03 .section-title {
  color: var(--theme-heading-text) !important;
  background-color: var(--theme-heading-bg);
}

.theme-pattern01 .ribbon-title,
.theme-pattern02 .ribbon-title,
.theme-pattern03 .ribbon-title {
  color: var(--theme-heading-text) !important;
}

.theme-pattern01 .ribbon-title span,
.theme-pattern02 .ribbon-title span,
.theme-pattern03 .ribbon-title span {
  background-color: var(--theme-heading-bg);
  box-shadow: 5px 0 0 var(--theme-heading-bg);
}

.theme-pattern01 .lp h3,
.theme-pattern02 .lp h3,
.theme-pattern03 .lp h3 {
  color: var(--theme-h3);
}

h3.tax-example__title{
	margin-top: 0;
} 

.theme-pattern01 .lead-title,
.theme-pattern02 .lead-title,
.theme-pattern03 .lead-title {
  color: var(--theme-h3) !important;
}


/* ==========================================================
   CV buttons
   色だけを変更し、レイアウトには触れない
   ========================================================== */


/* ページトップボタン */
.theme-pattern01 .page-top,
.theme-pattern02 .page-top,
.theme-pattern03 .page-top {
  background-color: var(--theme-h3);
}


/* ==========================================================
   CVボタン本体
   ========================================================== */

.theme-pattern01 .cv-button,
.theme-pattern02 .cv-button,
.theme-pattern03 .cv-button {
  color: var(--theme-cv-text);
  background-color: var(--theme-cv);
  border-width: 4px;
  border-style: solid;
  border-color: var(--theme-cv);
  box-shadow: 0 4px 12px var(--teal-cv-shadow);
}

.theme-pattern01 .cv-button:hover,
.theme-pattern02 .cv-button:hover,
.theme-pattern03 .cv-button:hover {
  box-shadow: 0 7px 17px var(--theme-cv-shadow-hover);
}


/* ==========================================================
   CVボタンの金額部分
   ========================================================== */

.theme-pattern01 .cv-button__price,
.theme-pattern02 .cv-button__price,
.theme-pattern03 .cv-button__price {
  color: var(--theme-cv);
}


/* ==========================================================
   CVボタン右側の白丸
   位置やサイズは元のデザインを維持
   ========================================================== */

.theme-pattern01 .cv-button__arrow,
.theme-pattern02 .cv-button__arrow,
.theme-pattern03 .cv-button__arrow {
  position: absolute;
  top: 50%;
  right: 17px;
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--color-white);
  border-radius: 50%;
  transform: translateY(-50%);
}


/* ==========================================================
   白丸内の右向き矢印
   ========================================================== */

.theme-pattern01 .cv-button__arrow::after,
.theme-pattern02 .cv-button__arrow::after,
.theme-pattern03 .cv-button__arrow::after {
  position: absolute;
  top: 50%;
  left: 45%;
  display: block;
  width: 8px;
  height: 8px;
  content: "";
  border: 0;
  border-top: 2px solid var(--color-teal);
  border-right: 2px solid var(--color-teal);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ==========================================================
   本文CVボタンのスマホ調整
   ========================================================== */

@media (max-width: 767px) {
  .theme-pattern01 .cv-button,
  .theme-pattern02 .cv-button,
  .theme-pattern03 .cv-button {
    border-width: 3px;
  }

  .theme-pattern01 .cv-button__arrow,
  .theme-pattern02 .cv-button__arrow,
  .theme-pattern03 .cv-button__arrow {
    right: 8px;
    width: 24px;
    height: 24px;
  }

  .theme-pattern01 .cv-button__arrow::after,
  .theme-pattern02 .cv-button__arrow::after,
  .theme-pattern03 .cv-button__arrow::after {
    width: 7px;
    height: 7px;
  }
}

/* ==========================================================
   ヘッダー右側のCVボタン
   ========================================================== */

/* ボタン本体 */
.theme-pattern01 .header-cv,
.theme-pattern02 .header-cv,
.theme-pattern03 .header-cv {
  color: var(--theme-cv-text);
  background-color: var(--theme-cv);
  border: 2px solid var(--theme-cv);
  box-shadow: 0 3px 10px var(--theme-cv-shadow-hover);
}

/* ホバー時 */
.theme-pattern01 .header-cv:hover,
.theme-pattern02 .header-cv:hover,
.theme-pattern03 .header-cv:hover {
  box-shadow: 0 5px 14px var(--theme-cv-shadow-hover);
}

/* 左側の金額 */
.theme-pattern01 .header-cv__price,
.theme-pattern02 .header-cv__price,
.theme-pattern03 .header-cv__price {
  color: var(--theme-cv);
}

/* 右側の白丸 */
.theme-pattern01 .header-cv__arrow,
.theme-pattern02 .header-cv__arrow,
.theme-pattern03 .header-cv__arrow {
  background-color: var(--color-white);
  border-radius: 50%;
}

/* 白丸内の右向き矢印 */
.theme-pattern01 .header-cv__arrow::after,
.theme-pattern02 .header-cv__arrow::after,
.theme-pattern03 .header-cv__arrow::after {
  position: absolute;
  top: 50%;
  left: 45%;
  display: block;
  width: 6px;
  height: 6px;
  content: "";
  border: 0;
  border-top: 2px solid var(--teal-cv-shadow);
  border-right: 2px solid var(--teal-cv-shadow);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ==========================================================
   Content components
   ========================================================== */

.theme-pattern01 .tag-heading span,
.theme-pattern02 .tag-heading span,
.theme-pattern03 .tag-heading span {
  background: linear-gradient(
    90deg,
    var(--theme-heading-bg),
    var(--color-teal)
  );
}

.theme-pattern01 .price-list span,
.theme-pattern01 .case-card > b,
.theme-pattern01 .result-grid strong,
.theme-pattern01 .use-card > p,
.theme-pattern02 .price-list span,
.theme-pattern02 .case-card > b,
.theme-pattern02 .result-grid strong,
.theme-pattern02 .use-card > p,
.theme-pattern03 .price-list span,
.theme-pattern03 .case-card > b,
.theme-pattern03 .result-grid strong,
.theme-pattern03 .use-card > p {
  color: var(--theme-h3);
}

.theme-pattern01 .use-card > div span,
.theme-pattern02 .use-card > div span,
.theme-pattern03 .use-card > div span {
  color: var(--theme-h3);
  border-color: var(--theme-h3);
}

.theme-pattern01 .faq summary::before,
.theme-pattern01 .faq summary::after,
.theme-pattern02 .faq summary::before,
.theme-pattern02 .faq summary::after,
.theme-pattern03 .faq summary::before,
.theme-pattern03 .faq summary::after {
  color: var(--theme-h3);
}


/* ==========================================================
   Impact and footer
   下部の赤いセクションは全テーマ共通
   ========================================================== */

.theme-pattern01 .impact,
.theme-pattern02 .impact,
.theme-pattern03 .impact {
  color: var(--theme-impact-text);
  background-color: var(--theme-impact-bg);
}

.theme-pattern01 .impact h2,
.theme-pattern01 .impact h3,
.theme-pattern01 .impact h4,
.theme-pattern01 .impact p,
.theme-pattern02 .impact h2,
.theme-pattern02 .impact h3,
.theme-pattern02 .impact h4,
.theme-pattern02 .impact p,
.theme-pattern03 .impact h2,
.theme-pattern03 .impact h3,
.theme-pattern03 .impact h4,
.theme-pattern03 .impact p {
  color: var(--theme-impact-text) !important;
}

.theme-pattern01 .donation-types > div:first-child,
.theme-pattern02 .donation-types > div:first-child,
.theme-pattern03 .donation-types > div:first-child {
  background-color: var(--theme-impact-bg);
}

.theme-pattern01 .footer,
.theme-pattern02 .footer,
.theme-pattern03 .footer {
  background-color: var(--theme-footer-bg);
}


/* ==========================================================
   Independent title color overrides

   body class example:
   <body class="theme-pattern01 title-color03">

   --theme-heading-bg   : 色付きタイトルの背景色
   --theme-heading-text : 色付きタイトル上の文字色
   --theme-h3           : 白背景上の見出し・関連アクセント色
   ========================================================== */

.title-color01 {
  --theme-heading-bg: var(--color-red);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-red);
  --theme-marker: rgba(218, 41, 28, 0.3);
}

.title-color02 {
  --theme-heading-bg: var(--color-orange);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-orange);
  --theme-marker: rgba(252, 76, 2, 0.3);
}

.title-color03 {
  --theme-heading-bg: var(--color-teal);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-teal);
  --theme-marker: rgba(0, 184, 207, 0.3);
}

.title-color04 {
  --theme-heading-bg: var(--color-biscuit);
  --theme-heading-text: var(--color-black);
  --theme-h3: var(--color-biscuit);
  --theme-marker: rgba(209, 204, 189, 0.3);
}

.title-color05 {
  --theme-heading-bg: var(--color-plum);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-plum);
  --theme-marker: rgba(154, 51, 36, 0.3);
}

.title-color06 {
  --theme-heading-bg: var(--color-mustard);
  --theme-heading-text: var(--color-black);
  --theme-h3: var(--color-mustard);
  --theme-marker: rgba(242, 169, 0, 0.3);
}


/* ==========================================================
   Independent button color overrides

   body class example:
   <body class="theme-pattern01 button-color03">

   色付き面の文字は原則白、ビスケットとマスタードのみ黒。
   白背景部分の金額文字・矢印は --theme-cv の色を使用する。
   ========================================================== */

.button-color01 {
  --theme-cv: var(--color-red);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(218, 41, 28, 0.3);
  --theme-cv-shadow-hover: rgba(218, 41, 28, 0.44);
}

.button-color02 {
  --theme-cv: var(--color-orange);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(252, 76, 2, 0.3);
  --theme-cv-shadow-hover: rgba(252, 76, 2, 0.44);
}

.button-color03 {
  --theme-cv: var(--color-teal);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(0, 184, 207, 0.3);
  --theme-cv-shadow-hover: rgba(0, 184, 207, 0.44);
}

.button-color04 {
  --theme-cv: var(--color-biscuit);
  --theme-cv-text: var(--color-black);
  --theme-cv-shadow: rgba(209, 204, 189, 0.45);
  --theme-cv-shadow-hover: rgba(209, 204, 189, 0.6);
}

.button-color05 {
  --theme-cv: var(--color-plum);
  --theme-cv-text: var(--color-white);
  --theme-cv-shadow: rgba(154, 51, 36, 0.32);
  --theme-cv-shadow-hover: rgba(154, 51, 36, 0.46);
}

.button-color06 {
  --theme-cv: var(--color-mustard);
  --theme-cv-text: var(--color-black);
  --theme-cv-shadow: rgba(242, 169, 0, 0.3);
  --theme-cv-shadow-hover: rgba(242, 169, 0, 0.44);
}


/* ==========================================================
   Title-linked components
   タイトルカラーに連動するラベル・引用符・寄付見出し・三角形
   ========================================================== */

.point-heading__label {
  color: var(--theme-heading-text) !important;
  background-color: var(--theme-heading-bg);
}

.voice-card::before,
.voice-card::after {
  color: var(--theme-heading-bg);
}

.lp h3.monthly-donation__title {
  color: var(--theme-heading-text) !important;
  background-color: var(--theme-heading-bg);
}

.monthly-donation__list li::before {
  border-left-color: var(--theme-heading-bg);
}

.article-index {
  border-top-color: var(--theme-heading-bg);
}

.text-marker {
  background: linear-gradient(
    transparent 58%,
    var(--theme-marker) 58%,
    var(--theme-marker) 92%,
    transparent 92%
  );
}

.support-results__number strong {
  color: var(--theme-h3);
}

.title-color04 .support-results__number strong  {
    color: var(--color-black) !important;
}

/* ==========================================================
   Fixed red components
   テーマに関係なく、従来のセーブ・ザ・チルドレン レッドを維持
   ========================================================== */

.lp .tax-example__title strong {
  color: var(--color-red) !important;
}

.lp .principle-circle--mission .principle-circle__title {
  color: var(--color-red) !important;
}


/* ==========================================================
   Fixed red area after "セーブ・ザ・チルドレンとは"

   organization セクション以降はタイトル系の色を赤で固定する。
   --theme-cv は上書きしないため、各CVボタンは button-color01〜06
   または既存 theme-pattern01〜03 のボタン色を維持する。
   ========================================================== */

.organization,
.organization ~ * {
  --theme-heading-bg: var(--color-red);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-red);
}


/* ==========================================================
   Biscuit color readability adjustments
   ========================================================== */

/* ビスケット色ボタン：白背景側の金額文字を黒にする */
.button-color04 .cv-button__price,
.button-color04 .header-cv__price {
  color: var(--color-black);
}

/* ビスケット色タイトル：H2背景は維持し、本文エリアのH3だけ黒にする */
.title-color04 .lp h3 {
  color: var(--color-black) !important;
}

/* 「セーブ・ザ・チルドレンとは」以降の見出しは従来どおり赤で固定 */
.title-color04 .organization h3,
.title-color04 .organization ~ * h3 {
  color: var(--color-red);
}
