/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* サイト全体上下の余白を無くす */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

html {
  margin-top: 0 !important;
}

/* コピーライト非表示 */
footer .copySection p:nth-child(2) {
    display:none !important;
}

/* 電話番号をモバイル閲覧時は左寄せ寄せ、かつ少し下にずらす */
@media screen and (max-width: 768px) {
  .has-text-align-right {
    text-align: left !important;
		margin-top: 8vh !important; /* ← スマホ画面の20%下にずらす */
  }
}

/* 電話番号に角丸背景色をつける */
  .has-text-align-right  {
  display: block;
  text-align: right; /* デフォルト：右寄せ */
  margin: 0;
}

.has-text-align-right strong {
  display: inline-block;
  background-color: #F26419;
  color: white !important; /* ← 追加 */
  padding: 0.4em 0.8em;
  border-radius: 12px;
  font-size: 1vw;
}

.has-text-align-right strong a {
  color: white !important;
  text-decoration: none; /* 任意：下線を消す場合 */
}


/* モバイルのハンバーガーメニュー非表示 */
@media (max-width: 991px) {
  #vk-mobile-nav-menu-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* サイトの見出し（画面上だけ）を非表示にする */
.siteHeader {
  display: none !important;
}

/* Lightningの既存モバイルメニューを非表示 */
@media (max-width: 991px) {
  .navbar-toggler,
  .vk-mobile-nav {
    display: none !important;
  }
}

.image-cover {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.image-cover__img {
  width: 100%;
  height: auto;
  display: block;
}

.cover-text-group {
  position: absolute;
  top: 22vh;
  left: 10%;
  z-index: 10;
  max-width: 600px;
  line-height: 1.6;
}

.cover-text {
  font-size: 2.5vw;
  color: #333;
  margin: 0 0 1em 0;
}

.cover-subtext {
  font-size: 1.2vw;
  color: #F26419;
  margin: 0;
}

/* スマホ用（SP） */
@media screen and (max-width: 768px) {
  .image-cover.sp-only {
    position: relative;
  }

  .sp-only .cover-text-group {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 90%;
  }

  .sp-only .cover-text {
    font-size: 6vw;
    color: #333;
    margin-bottom: 1em;
  }

  .sp-only .cover-subtext {
    font-size: 4.0vw;
    color: #F26419;
    margin: 0;
  }
}

/* 表示切り替え */
.pc-only { display: block; }
.sp-only { display: none; }

@media screen and (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }
}


/* ポップアップ */
/* CTA本体 */
/* 全体ボックス */
.cta-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  padding: 20px;
  max-width: 300px;
  z-index: 9999;

  /* アニメーション */
  opacity: 0;
  transform: translateY(-60px);
  animation: fadeSlideIn 1.0s ease-out forwards;
}

/* 閉じるボタン */
.cta-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

/* フェードイン + スライド */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 内容 */
.cta-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.cta-image-text {
  text-align: center;
}

.cta-image-text img {
  width: 100%;
  height: auto;
  background: transparent;
  margin-bottom: 8px;
}

.cta-image-text p {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .cta-box {
    right: 10px;
    bottom: 10px;
    max-width: 50%;
  }
}

/* ポイントの文字色大きさ */
.point-number {
  color: #008000;
  font-size: 1.5em;
  font-weight: bold;
}

/* 料金文字スタイル */
.price-highlight {
  color: #e60000;
  font-size: 2em;
  font-weight: bold;
}

.price-unit {
  font-size: 0.6em;
}

/* 相談0円スタイル */
.sodan-highlight {
  color: #0000ff;
  font-size: 2em;
  font-weight: bold;
}

.sodan-unit {
  font-size: 0.6em;
}

@media (max-width: 768px) {
  .no-wrap-text {
    font-size: 4vw; /* スマホ画面幅に合わせて自動縮小 */
  }
}

/* サービスの流れ　*/
/* 全体レイアウト */
/* STEPアイコンの丸 */
.step-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  position: relative;
  z-index: 1;
  margin-right: 16px;
  flex-shrink: 0;
}

/* 点線を真下から描画し、確実に届かせる */
.step-icon-circle::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 150px; /* ←ここを固定値にするのがコツ！ */
  background-image: repeating-linear-gradient(
    to bottom,
    #ccc,
    #ccc 4px,
    transparent 4px,
    transparent 8px
  );
  z-index: 0;
}

/* STEP6だけ非表示 */
.step-icon-circle.step-icon-no-line::after {
  content: none;
}

/* 色段階（お好みで） */
.step-color-1 { background-color: #e0f3ff; }
.step-color-2 { background-color: #b3e5fc; }
.step-color-3 { background-color: #81d4fa; }
.step-color-4 { background-color: #4fc3f7; }
.step-color-5 { background-color: #29b6f6; }
.step-color-6 { background-color: #0288d1; }

/* ステップブロック全体 */
.step-block {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 80px;
}

/* テキスト */
.step-text {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.step-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

.step-desc .highlight {
  color: #007acc;
  font-weight: bold;
}

/* レスポンシブ対応 */
/* STEP1 モバイル用 */
@media (max-width: 768px) {
  .step-block:nth-child(1) .step-icon-circle::after {
    height: 160px;
  }
  .step-block:nth-child(2) .step-icon-circle::after {
    height: 220px;
  }
  .step-block:nth-child(3) .step-icon-circle::after {
    height: 180px;
  }
  .step-block:nth-child(4) .step-icon-circle::after {
    height: 310px;
  }
  .step-block:nth-child(5) .step-icon-circle::after {
    height: 260px;
  }
}

/* Q部分のデザイン（落ち着いた青＋白文字） */
.wp-block-themeisle-blocks-accordion-item summary {
  background-color: #3a6eb1; /* 落ち着いた青 */
  color: #fff;
  padding: 16px 48px 16px 16px;
  font-weight: bold;
  font-size: 18px;
  border: 1px solid #2b5f9c;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  list-style: none;
  margin-bottom: 8px;
}

/* 開閉アイコンを右に表示 */
.wp-block-themeisle-blocks-accordion-item summary::after {
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  transition: 0.3s;
  pointer-events: none;
}

/* 回答部分（白背景＋枠） */
.wp-block-themeisle-blocks-accordion-item__content {
  padding: 16px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background-color: #fff;
  font-size: 17px;
  color: #333;
  margin-bottom: 16px;
}

/* Safariなどで marker を消す（補助） */
.wp-block-themeisle-blocks-accordion-item summary::-webkit-details-marker {
  display: none;
}

.wp-block-themeisle-blocks-accordion-item summary:hover {
  background-color: #4f84cc; /* 少し明るい青 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* 軽めの影 */
}

/* お支払い方法 */
.payment-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: "Helvetica", sans-serif;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding: 1.5rem 0;
  gap: 1rem;
}

/* デスクトップ時の横並び */
.payment-label {
  flex: 0 0 200px;
  background-color: #f0f0f0;
  border-radius: 8px;
  font-weight: bold;
  color: #333;
  padding: 0.5rem 1rem;

  /* ▼ 中央揃えのための追加 */
  display: flex;
  align-items: center;  /* 上下中央揃え */
  justify-content: center; /* 左右中央揃え */
  text-align: center;
}

/* 説明文 */
.payment-detail {
  flex: 1;
  color: #555;
  line-height: 1.6;
}

/* ▼ モバイル表示用：横並びを縦並びに切り替える */
@media screen and (max-width: 768px) {
  .payment-row {
    display: block; /* ← flex自体をやめる */
    padding: 1rem 0;
  }

  .payment-label {
    display: inline-block;     /* ← ラベルサイズに合わせて表示 */
    background-color: #f0f0f0;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .payment-detail {
    display: block;
    color: #555;
    line-height: 1.6;
  }
}

/* フォーム全体の見た目を整える */
.wpcf7 {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
  max-width: 700px;
  margin: 0 auto;
}

/* ラベル */
.form-group label {
  font-weight: 600;
  font-size: 15px;
  color: #333;
  display: block;
  margin-bottom: px;
}

/* テキスト/メール/電話/年齢/テキストエリア */
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
}

/* ラジオボタンのスタイル */
.form-radio label {
  display: inline-block;
  margin-right: 15px;
  font-weight: normal;
  cursor: pointer;
  font-size: 15px;
}

input[type="radio"] {
  margin-right: 5px;
}

/* テキストエリア専用調整 */
textarea.form-control {
  height: 120px;
  resize: vertical;
}

/* 各フォームの間隔 */
.form-group {
  margin-bottom: 20px;
}

/* 送信ボタン */
.btn-submit {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
}

/* レスポンシブ調整 */
@media (max-width: 576px) {
  .form-radio label {
    display: block;
    margin-bottom: 8px;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }
}

.wpcf7 form label > .wpcf7-form-control {
  margin-top: 2px;
  display: block;
}

.required-note {
  color: red !important;
  font-weight: normal !important; /* 通常より軽いフォントウェイト */
  font-size: 85% !important;   /* より小さめ */
}

.wpcf7 input[type="submit"] {
  width: 100%;
  max-width: 300px;   /* 必要に応じて調整可能 */
  padding: 15px 20px;
  font-size: 18px;
  background-color: #0073aa; /* ワードプレスの青を参考 */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 20px auto 0;
	margin-top: 60px;
  font-weight: bold;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #005a8c;
}

/* フォーム入力確認文字装飾 */
.required-confirmation {
  font-weight: bold !important;
	font-size: 120% !important;
}

/* フォーム入力確認位置 */
.form-confirmation {
  width: 100%;
  max-width: 300px;   /* 必要に応じて調整可能 */
  font-size: 15px;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
	margin-top: 60px;
  font-weight: bold;
}

/* ✅ このリストエリアのカラムだけ背景色と装飾をつける */
.list-area {
  background-color: #2b5f9c;
  padding: 24px;
}

/* 以下は既存のリストスタイル（必要であれば上書き） */
.list-area .wp-block-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-area .wp-block-list li {
  background-color: #2b5f9c; /* 通常時のネイビーブルー */
  color: #fff;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 0;
  transition: background-color 0.3s;
}

/* ホバー時に明るめのブルーへ変化 */
.list-area .wp-block-list li:hover {
  background-color: #3f7fc8; /* ←明るくした色 */
}


.list-area .wp-block-list li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

/* HTMLブロックで挿入された「メールで無料相談」画像を中央揃え */
img.wp-image-262 {
  display: block;
  margin-left: auto;
  margin-right: auto;
	padding-bottom: 20px;
}

/* 吹き出し背景逆三角 */
.triangle-section {
  background-color: #f0f4f8; /* お好みで変更可能 */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .triangle-section {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 50% 100%, 0 95%);
    padding: 1.5rem 1rem;
  }
}

/* ポイント背景三角 */
.top-triangle-section {
  background-color: #e3ecf3; /* 好きな背景色に変更OK */
  clip-path: polygon(50% 0%, 100% 3%, 100% 100%, 0% 100%, 0% 3%);
  padding: 2rem 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 0;
}

/* コンテンツ内CTA */
.ctabox-incontens {
  text-align: center;
  margin-top: 2em;
  padding: 1em;
	background-color:#ffffff;
	border-radius: 12px;
}

.ctabuttons-incontens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-btn {
  padding: 12px 24px;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  min-width: 220px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.line-btn {
  background-color: #00c300;
}

.mail-btn {
  background-color: #007bff;
}

.line-btn:hover {
  background-color: #00a300;
}

.mail-btn:hover {
  background-color: #005ecb;
}

/* 「～キャリアの専門家だからこそ話せる「退職」に関しての事実～」モバイルで最大限大きく、改行されない範囲に調整 */
@media screen and (max-width: 768px) {
  .fact-mobile-large-heading {
    font-size: 5vw !important;
    white-space: nowrap;
    overflow: hidden;
  }

  .fact-mobile-large-heading strong {
    font-size: 5vw !important; /* strongにも同じサイズを明示 */
  }
}


/* 「～お悩み相談は無料～」モバイルで最大限大きく、改行されない範囲に調整 */
@media screen and (max-width: 768px) {
  .cta-incontens-mobile-large-heading {
    font-size: 4.1vw !important;
    white-space: nowrap;
    overflow: hidden;
  }

  .cta-incontens-mobile-large-heading strong {
    font-size: 4.1vw !important; /* strongにも同じサイズを明示 */
  }
}

/* 「なぜ自分退職サービスをはじめたのか」モバイルで最大限大きく、改行されない範囲に調整 */
@media screen and (max-width: 768px) {
  .reason-mobile-large-heading {
    font-size: 4.6vw !important;
    white-space: nowrap;
    overflow: hidden;
  }

  .reason-mobile-large-heading strong {
    font-size: 4.6vw !important; /* strongにも同じサイズを明示 */
  }
}


/* 「低価格な理由」モバイルで最大限大きく、改行されない範囲に調整 */
@media screen and (max-width: 768px) {
  .mobile-large-heading {
    font-size: 5vw !important;
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-large-heading strong {
    font-size: 5vw !important; /* strongにも同じサイズを明示 */
  }
}


/* ヘッダーメニュー横並び・右寄せ・「・」削除・モバイル非表示 */
.custom-header-menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.custom-header-menu li {
  font-weight: bold;
  font-size: 1.2vw;
  color: #333;
  cursor: pointer;
}
.custom-header-menu li a {
  color: #333; /* 通常時：落ち着いた黒 */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.custom-header-menu li a:hover {
  color: #6baed6; /* ホバー時：優しい青（スモーキーなブルー） */
}

/* モバイルでは非表示 */
@media (max-width: 768px) {
  .custom-header-menu {
    display: none !important;
  }
}

.custom-header-menu li a {
  text-decoration: none;
  color: inherit;
}


/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* メインキャッチ文字の位置 */
.wp-block-cover {
  position: relative;
}

/* 方眼紙背景 */
.grid-background {
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
}


/* 特定商取引ページ */		
.commerce-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}
.commerce-info th, .commerce-info td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}
.commerce-info th {
  background-color: #f5f5f5;
  width: 25%;
}

/* プライバシーポリシー */
.privacy-h {
	font-size:1rem;
}

/* 散歩道の記事スライド */
.swiper-title {
	font-weight:bold;
	font-size:1.1rem;
}

.article-swiper {
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden; /* ←追加 */
}

.article-swiper-pagination {
    text-align: center;
    margin-top: 20px; /* ページネーションとスライドの間に余白を追加 */
}

/* カードのスタイル（任意で調整） */
.navi-entry-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  display: block;
}

.navi-entry-card-thumb {
  margin: 0;
  overflow: hidden;
}

.navi-entry-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.navi-entry-card:hover .navi-entry-card-thumb img {
  transform: scale(1.05);
}

.navi-entry-card-title {
  padding: 10px;
}

/* モバイル（画面幅768px以下）のみ適用 */
@media screen and (max-width: 768px) {
  .navi-entry-card-title {
    font-size: 0.8rem;
  }
}