/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
.vk_faq .vk_faq_content::before,ul:not(.wp-block-social-links).is-style-vk-check-square-mark li::before, ol.is-style-vk-check-square-mark li::before, ul:not(.wp-block-social-links).is-style-vk-arrow-mark li::before {
  color: #674196!important;
}
ul:not(.wp-block-social-links).is-style-vk-numbered-square-mark li::before, ol.is-style-vk-numbered-square-mark li::before {background: #674196!important;}

/* =========================
　　　　CF7用
   ========================= */
:root {
  --as-primary: var(--vk-color-primary, #008060);
  --as-primary-dark: #00684f;
  --as-primary-light: rgba(0, 128, 96, 0.12);
  --as-primary-border: rgba(0, 128, 96, 0.24);
  --as-form-width: 960px;
}

.vk_faq .vk_faq_content::before,
ul:not(.wp-block-social-links).is-style-vk-check-square-mark li::before,
ol.is-style-vk-check-square-mark li::before,
ul:not(.wp-block-social-links).is-style-vk-arrow-mark li::before {
  color: var(--as-primary);
}

ul:not(.wp-block-social-links).is-style-vk-numbered-square-mark li::before,
ol.is-style-vk-numbered-square-mark li::before {
  background: var(--as-primary);
}

/* =========================
   Contact Form 7
========================= */

/* フォームブロック全体の横幅 */
.entry-content .wpcf7 {
  width: 100%;
  max-width: var(--as-form-width);
  margin-right: auto;
  margin-left: auto;
}

/* 全体の器 */
.wpcf7 form {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(0, 128, 96, 0.16);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 80, 60, 0.08);
  box-sizing: border-box;
}

/* 見出し */
.wpcf7 form h3 {
  margin: 0 0 0.75rem;
  color: #292929;
  font-size: 1.35rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.wpcf7 form h4 {
  margin: 1.75rem 0 0.75rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--as-primary);
  color: #292929;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* サブ説明 */
.wpcf7 .cf7-note {
  margin: 0.5rem 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--as-primary-border);
  border-radius: 14px;
  background: rgba(248, 246, 236, 0.9);
  color: #3f3f3f;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin: 1.1rem 0 0.45rem;
  color: #292929;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.wpcf7 p {
  margin-bottom: 1rem;
}

.wpcf7 p strong {
  display: inline-block;
  margin: 1.25rem 0 0.6rem;
  color: #292929;
  font-weight: 700;
}

/* 入力欄 共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(60, 70, 80, 0.18);
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
  color: #292929;
  font-size: 16px;
  line-height: 1.65;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* プレースホルダー */
.wpcf7 ::placeholder {
  color: rgba(70, 80, 90, 0.45);
}

/* フォーカス */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--as-primary);
  box-shadow: 0 0 0 4px var(--as-primary-light);
  background: #ffffff;
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 170px;
  resize: vertical;
}

/* ラジオ・チェックボックス */
.wpcf7 .wpcf7-list-item {
  display: inline-flex;
  align-items: flex-start;
  margin: 0.4rem 1rem 0.4rem 0;
}

.wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  color: #3f3f3f;
  font-weight: 500;
  line-height: 1.7;
  cursor: pointer;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  flex: 0 0 auto;
  margin: 0.35em 0.35rem 0 0;
  accent-color: var(--as-primary);
}

/* 同意欄 */
.wpcf7 .cf7-privacy {
  margin: 1.4rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--as-primary-border);
  border-radius: 14px;
  background: rgba(248, 246, 236, 0.72);
}

.wpcf7 .cf7-privacy .wpcf7-list-item {
  display: block;
  margin: 0;
}

/* 送信ボタン共通 */
.wpcf7 form input[type="submit"].wpcf7-submit,
.wpcf7 form input[type="submit"].wpcf7-submit.cf7-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 1.5rem auto 0;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #008060 0%, #00684f 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 128, 96, 0.24);
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

/* 有効状態：同意チェック後 */
.wpcf7 form input[type="submit"].wpcf7-submit:not(:disabled),
.wpcf7 form input[type="submit"].wpcf7-submit.cf7-btn:not(:disabled) {
  background: linear-gradient(135deg, #008060 0%, #00684f 100%);
  color: #ffffff;
  opacity: 1;
  cursor: pointer;
}

/* 無効状態：同意チェック前 */
.wpcf7 form input[type="submit"].wpcf7-submit:disabled,
.wpcf7 form input[type="submit"].wpcf7-submit.cf7-btn:disabled {
  background: linear-gradient(135deg, #008060 0%, #00684f 100%);
  color: #ffffff;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* ホバー：有効時だけ */
.wpcf7 form input[type="submit"].wpcf7-submit:not(:disabled):hover,
.wpcf7 form input[type="submit"].wpcf7-submit.cf7-btn:not(:disabled):hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(0, 128, 96, 0.32);
}

/* 押下時：有効時だけ */
.wpcf7 form input[type="submit"].wpcf7-submit:not(:disabled):active,
.wpcf7 form input[type="submit"].wpcf7-submit.cf7-btn:not(:disabled):active {
  transform: translateY(1px);
}

/* 送信中 */
.wpcf7 form.submitting input[type="submit"].wpcf7-submit {
  opacity: 0.7;
  cursor: progress;
}

/* ────────────────────────────────────────
   FV ヒーローセクション (index)
   ──────────────────────────────────────── */

/* 半透明テキストボックス */
.fp-hero-box {
  background-color: #ffffffd9;
  padding: 2em;
}

/* メインキャッチコピー h2 */
.fp-hero-heading {
  font-size: 2.4rem;
}

/* サブキャッチコピー p */
.fp-fz-sub {
  font-size: 1.25rem;
  letter-spacing: 1px;
}

/* CTAボタン */
.fp-btn-hero {
  border-radius: 0 !important;  /* WP デフォルト角丸を上書き */
  font-size: 1.15rem;
}


/* ────────────────────────────────────────
   お悩みカード (index)
   ──────────────────────────────────────── */

/* カード画像 角丸15px */
.fp-img-r15 {
  border-top-left-radius:    15px;
  border-top-right-radius:   15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius:15px;
}

/* カード内段落 行間 */
.fp-card-p {
  line-height: 2;
}


/* ────────────────────────────────────────
   できることカード (index)
   ──────────────────────────────────────── */

/* クリーム色セクション背景 */
.fp-bg-cream {
  background-color: #f8f6ec;
}

/* カード外枠ラッパー */
.fp-card-outer {
  border-top-left-radius:    20px;
  border-top-right-radius:   20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius:20px;
  margin-top:    0;
  margin-bottom: 0;
  padding: 0.75rem;
}

/* カード内枠（破線ボーダー + min-height） */
.fp-card-inner {
  border-color: #e0cdaa;
  border-style: dashed;
  border-width: 2px;
  border-top-left-radius:    20px;
  border-top-right-radius:   20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius:20px;
  padding-top:    2rem;
  padding-right:  1.5rem;
  padding-bottom: 1.5rem;
  padding-left:   1.5rem;
  min-height: 16.6rem;
}

/* カード本文テキスト */
.fp-card-text {
  font-size:   0.95rem;
  line-height: 1.8;
}


/* ────────────────────────────────────────
   セクション見出し
   ──────────────────────────────────────── */

/* スペーシング強調タイトル（「できること」等） */
.fp-section-title-spaced {
  font-size:      2rem;
  letter-spacing: 2px;
}

/* 標準セクション見出し（サービス数カウント等） */
.fp-section-h2 {
  font-size:   2rem;
  font-style:  normal;
  font-weight: 400;
}


/* ────────────────────────────────────────
   サービスボックス (index)
   ──────────────────────────────────────── */

/* サービスカード外枠（プライマリーカラーボーダー） */
.fp-service-box {
  border-width:  2px;
  border-radius: 1em;
}

/* タブ サイドグループ（リセット用） */
.fp-tab-side {
  border-radius: 0;
  margin:  0;
  padding: 0;
}

/* タブ 右コネクター */
.fp-tab-cr {
  border-top-right-radius: 0.5em;
  border-top-left-radius:  0;
  padding: 0 1em;
}

/* タブ 左コネクター */
.fp-tab-cl {
  border-top-left-radius:  0.5em;
  border-top-right-radius: 0;
  padding: 0 1em;
}

/* タブ ラベルボックス */
.fp-tab-label {
  border-bottom-left-radius:  1em;
  border-bottom-right-radius: 1em;
  margin: 0;
  padding: 0.3em 2em 0.5em;
}

/* タブ ラベル見出し */
.fp-tab-h2 {
  padding-top:    0;
  padding-bottom: 0;
  font-size:      1.2rem;
}


/* ────────────────────────────────────────
   STEPセクション (index)
   ──────────────────────────────────────── */

/* STEPラベルテキスト */
.fp-step-label {
  font-size:      0.85rem;
  letter-spacing: 1px;
}

/* STEP番号 */
.fp-step-num {
  font-size:      2.5rem;
  letter-spacing: 1px;
  line-height:    1;
}

/* STEP画像（非対称角丸 + 固定サイズ） */
.fp-step-img {
  border-top-left-radius:    10%;
  border-top-right-radius:   50%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius:50%;
  object-fit: cover;
  width:  200px;
  height: 200px;
}

/* STEP小見出し */
.fp-step-h4 {
  font-style:  normal;
  font-weight: 400;
}


/* ────────────────────────────────────────
   CTAセクション (index)
   ──────────────────────────────────────── */

/* CTAインナーグループ（半透明白縁ボーダー） */
.fp-cta-inner {
  border-color: #ffffff66;
  border-width: 1px;
  border-style: solid;
  padding: 0;
}

/* CTAカラムパディング */
.fp-cta-col {
  padding: 2rem;
}

/* チャコール色テキスト（CTA内全般） */
.fp-text-charcoal {
  color: #292929;
}

/* CTA連絡先見出し p */
.fp-cta-contact-title {
  color:       #292929;
  font-size:   1.2rem;
  line-height: 1;
}

/* CTA本文 p */
.fp-cta-body {
  color:       #292929;
  font-size:   1rem;
  line-height: 1.4;
}

/* CTA注記テキスト p */
.fp-cta-note {
  color:     #292929;
  font-size: 14px;
}

/* CTA本文（ゆったり行間） p */
.fp-cta-body-loose {
  color:       #292929;
  font-size:   1rem;
  line-height: 1.6;
}


/* ────────────────────────────────────────
   プロフィールページ
   ──────────────────────────────────────── */

/* プロフィール名 h2 */
.fp-profile-name {
  font-size:   2rem;
  line-height: 1.2;
}

/* プロフィール小見出し h3 */
.fp-profile-h3 {
  font-size: 1.4rem;
}


/* ────────────────────────────────────────
   サービスページ
   ──────────────────────────────────────── */

/* ヒーロー暗オーバーレイ */
.fp-dark-overlay {
  background-color: rgba(0, 0, 0, 0.30);
  padding-top:    20px;
  padding-bottom: 20px;
}

/* ヒーローカラムパディング（32px） */
.fp-pad-hero-col {
  padding: 32px;
}

/* ヒーロー大見出し XL（64px） */
.fp-service-hero-xl {
  font-size: 64px;
}

/* ヒーロー大見出し L（55px） */
.fp-service-hero-lg {
  font-size: 55px;
}

/* フィーチャーカラム（ライトブルー背景 + 2remパディング） */
.fp-feature-col {
  background-color: #eef5f9;
  padding: 2rem;
}

/* セクション区切り見出しグループ（#dadada下線ボーダー） */
.fp-section-divider {
  border-top:    none;
  border-right:  none;
  border-bottom: 1px solid #dadada;
  border-left:   none;
  padding-top:   0;
  padding-right: 0;
  padding-left:  0;
  padding-bottom: var(--wp--preset--spacing--30, 1rem);
}

/* 全マージンリセット */
.fp-m0 {
  margin: 0;
}


/* ────────────────────────────────────────
   お客様の声セクション
   ──────────────────────────────────────── */

/* VOICEサブタイトル */
.fp-voice-subtitle {
  letter-spacing: 4px;
  font-size: .78rem !important;
  color: #bbb;
  margin-top: -.5rem !important;
  margin-bottom: 2rem !important;
}

/* カードラッパー */
.fp-voice-card {
  background-color: #faf9f7;
  border: 1px solid rgba(60, 70, 80, .07);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20, 30, 40, .05);
  padding: 1.5rem 1.75rem !important;
  margin-bottom: 1rem;
}

/* SVGアバターボックス（円形） */
.fp-voice-avatar-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}

/* 地域・属性ラベル */
.fp-voice-label {
  font-size: .78rem !important;
  color: #aaa !important;
  margin: 0 0 .2rem 0 !important;
  line-height: 1.4;
}

/* 見出し（青系） — vk-heading-plain の左ボーダーを無効化 */
.fp-voice-heading {
  color: #4a6fa5 !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  margin: 0 0 .5rem 0 !important;
  border-left: none !important;
  padding-left: 0 !important;
}

/* タグラッパー段落 */
.fp-voice-tags-wrap {
  margin: 0 0 .7rem 0 !important;
  line-height: 2;
}

/* タグバッジ（インライン span） */
.fp-voice-tag {
  display: inline-block;
  font-size: .72rem;
  padding: .1em .7em;
  margin-right: .35em;
  border-radius: 999px;
  border: 1px solid #ccc;
  color: #777;
  background-color: #fff;
  vertical-align: middle;
  white-space: nowrap;
}

/* 本文 */
.fp-voice-body {
  font-size: .875rem !important;
  line-height: 1.85 !important;
  color: #555 !important;
  margin: 0 !important;
}

  .fp-voice-card {
    padding: 1.1rem 1rem !important;
  }
  .fp-voice-avatar-box {
    width: 60px;
    height: 60px;
  }
  .fp-voice-heading {
    font-size: .95rem !important;
  }
/* =========================
   明日咲くFP：悩み後のベネフィット導線
========================= */

.as-benefit-bridge {
  margin-top: 0;
  margin-bottom: 0;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6ec 100%);
}

.as-benefit-bridge-inner {
  position: relative;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0, 128, 96, 0.16);
  border-radius: 28px;
  background-color: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 80, 60, 0.08);
}

.as-benefit-kicker {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.as-benefit-heading {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #292929;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.55;
}

.as-benefit-lead {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: #4d4d4d;
  font-size: 1rem;
  line-height: 2;
}

.as-benefit-cards {
  gap: 1.25rem;
  margin-top: 0;
  margin-bottom: 0;
}

.as-benefit-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.45rem;
  border: 1px solid rgba(0, 128, 96, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf3 100%);
}


.as-benefit-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 2rem;
  margin-bottom: 1rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background-color: var(--vk-color-primary, #008060);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.as-benefit-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--vk-color-primary, #008060);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.65;
}

.as-benefit-text {
  margin-top: 0;
  margin-bottom: 0;
  color: #3f3f3f;
  font-size: 0.95rem;
  line-height: 1.9;
}



/* ────────────────────────────────────────
   レスポンシブ対応
   ──────────────────────────────────────── */

@media (max-width: 768px) {
  /* FVヒーロー見出しをモバイルサイズに縮小 */
  .fp-hero-heading {
    font-size: 1.8rem;
  }

  .fp-fz-sub {
    font-size: 1.1rem;
  }

  /* サービスページ大見出しをモバイルサイズに縮小 */
  .fp-service-hero-xl {
    font-size: 2.2rem;
  }

  .fp-service-hero-lg {
    font-size: 1.9rem;
  }

  /* STEPカード画像サイズをモバイルに最適化 */
  .fp-step-img {
    width:  150px;
    height: 150px;
  }

  /* カード内枠のmin-heightをモバイルで解除 */
  .fp-card-inner {
    min-height: auto;
  }

  /* CTA カラムパディングをモバイルで縮小 */
  .fp-cta-col {
    padding: 1.5rem;
  }

  /* サービスカードタブ左右パディングを縮小 */
  .fp-tab-label {
    padding: 0.3em 1.2em 0.5em;
  }

  .fp-voice-card {
    padding: 1.1rem 1rem !important;
  }
  .fp-voice-avatar-box {
    width: 60px;
    height: 60px;
  }
  .fp-voice-heading {
    font-size: .95rem !important;
  }
	
body.custom-background {
  background-repeat:repeat!important;
  background-size: contain!important;
}
	
	
  .wpcf7 form{
    padding: 18px 14px;
    border-radius: 14px;
  }
  .wpcf7 form h3{
    font-size: 1.22rem;
  }
  .wpcf7 .wpcf7-list-item{
    display: block;      /* スマホは縦並びで押しやすく */
    margin: 8px 0;
  }

  .wpcf7 form h4 {
    margin-top: 1.5rem;
  }
	
  .entry-content .wpcf7 {
    max-width: 100%;
  }

  .wpcf7 .wpcf7-list-item label {
    display: flex;
  }

  .wpcf7 input[type="submit"] {
    max-width: 100%;
  }
	
  .as-benefit-bridge {
    padding: 2.5rem 1rem;
  }

  .as-benefit-bridge-inner {
    padding: 2rem 1.15rem;
    border-radius: 22px;
  }

  .as-benefit-heading {
    font-size: 1.55rem;
    line-height: 1.55;
  }

  .as-benefit-lead {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
  }

  .as-benefit-cards {
    gap: 1rem;
  }

  .as-benefit-card {
    padding: 1.35rem 1.1rem;
  }

  .as-benefit-title {
    font-size: 1.05rem;
  }

  .as-benefit-text {
    font-size: 0.94rem;
  }

  .as-pc-br {
    display: none;
  }


	
}
