@charset "UTF-8";
/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
/* フォント設定 */
body,
html {
  font-family: "Noto Sans JP", sans-serif;
}

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

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

/* ヘッダーカスタマイズ */
.site-header {
  height: 80px !important;
  position: fixed !important;
  /* ヘッダーを固定 */
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* ページ内リンクの着地オフセット調整 */
/* まず、ヘッダーの実寸に合わせて数値を設定 */
:root {
  --header-h: 80px;
  /* Lightningのヘッダー実高さに調整 */
}

html {
  scroll-behavior: smooth;
  /* 任意：スムーススクロール */
}

/* すべての id を持つ要素に「着地オフセット」を付与 */
[id] {
  scroll-margin-top: var(--header-h);
}

/* ログイン時の管理バー（PCは32px, SPは46px）を加味 */
body.admin-bar [id] {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar [id] {
    scroll-margin-top: calc(var(--header-h) + 46px);
  }
}
/* Swiperの上部に余白を追加してヘッダーと被らないようにする */
.vk_slider {
  margin-top: 80px !important;
}

/* フロートヘッダーカスタマイズ */
.header_scrolled .site-header {
  height: 80px !important;
}

/* フロートヘッダースクロール時のロゴ表示 */
.header_scrolled .site-header-logo {
  display: block !important;
}

/* ロゴをヘッダー中央に垂直揃え */
.site-header-logo {
  padding-top: 0 !important;
  height: 80px;
  display: flex;
  align-items: center;
  /* 縦中央寄せ */
}

/* Swiperのページネーションを非表示にする */
.swiper-pagination {
  display: none;
}

/* タイトルの左右にpngファイルを擬似要素として置いて装飾する*/
.title-deco {
  position: relative;
  display: block;
  padding: 0 60px;
  /* 文字の左右に余白 */
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  margin-bottom: 40px !important;
}

@media (max-width: 768px) {
  .title-deco {
    font-size: 22px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.title-deco::before,
.title-deco::after {
  content: "";
  position: absolute;
  width: 49px;
  /* PNGのサイズ */
  height: 23px;
  top: 50%;
  transform: translateY(-50%);
  background-size: 49px 23px;
}

.title-deco::before {
  background-image: url("https://odachin.net/sodan/wp-content/uploads/2025/11/left-deco_l.svg");
  left: 0;
}

.title-deco::after {
  background-image: url("https://odachin.net/sodan/wp-content/uploads/2025/11/right-deco_l.svg");
  right: 0;
}

.title-deco.center {
  margin-left: auto !important;
  margin-right: auto !important;
}

.title-deco.color {
  background-color: #e0e0e0 !important;
}

/* アイコンのタイトル部分の高さを調整 */
.c-icon__title {
  height: 20px !important;
}

/* アイコンの画像部分のサイズと配置を調整 */
.c-icon__image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-icon__image figure {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.c-icon__image figure img {
  width: 18px !important;
  height: 18px !important;
  /* アイコンのサイズ */
  -o-object-fit: contain !important;
     object-fit: contain !important;
  /* 画像のアスペクト比を維持 */
}

.p-worry__card {
  height: 224px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 1px 1px 2px rgba(224, 224, 224, 0.9) !important;
}

/* 空のカードを非表示にする */
.p-worry__card.empty {
  box-shadow: none !important;
}
@media (max-width: 782px) {
  .p-worry__card.empty {
    display: none !important;
  }
}

/* 空のカードを非表示にする */
.p-reason__card.empty {
  border: none !important;
  background-color: transparent !important;
}
@media (max-width: 782px) {
  .p-reason__card.empty {
    display: none !important;
  }
}

/* 事例紹介のカード部分の高さを調整 */
.p-case__card {
  height: auto !important;
}

/* 事例紹介の上下矢印を擬似要素で追加 */
.p-case__card.upper {
  position: relative !important;
}
.p-case__card.upper::after {
  content: "";
  position: absolute !important;
  bottom: -64px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  background-color: transparent !important;
  background-image: url("https://odachin.net/sodan/wp-content/uploads/2025/10/before-after-arrow.svg") !important;
}

.p-case__wrapper {
  display: flex !important;
  justify-content: center !important;
}

/* 会社情報の表組みをスタイリング */
.company-info-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-collapse: collapse;
}

.company-info-table th,
.company-info-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.company-info-table th {
  width: 200px;
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  vertical-align: top;
}

.company-info-table td {
  color: #444;
  line-height: 1.8;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }
  .company-info-table th {
    border-bottom: none;
    padding-bottom: 8px;
    background: white;
    font-size: 14px;
  }
  .company-info-table td {
    padding-top: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
  }
  .company-info-table tr:last-child td {
    border-bottom: none;
  }
}
/* 挨拶文セクションのスタイル */
.greeting-section {
  max-width: 800px;
  margin: 40px auto !important;
  padding: 0 20px;
}

.greeting-title {
  font-size: 22px;
  font-weight: bold;
  color: #265683;
  margin-bottom: 20px;
  padding-bottom: 15px;
  padding-left: 20px;
}

.greeting-container {
  position: relative;
}

.greeting-image {
  float: right;
  width: 200px;
  margin: 0 0 20px 40px;
}

.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.greeting-text {
  color: #333;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
  text-align: justify;
}

.greeting-text:last-child {
  margin-bottom: 0;
}

/* 回り込み解除 */
.greeting-container::after {
  content: "";
  display: table;
  clear: both;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .greeting-section {
    margin: 40px auto;
  }
  .greeting-image {
    float: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    display: block;
  }
  .greeting-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .greeting-text {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
}
/* Contact Form 7 カスタムデザイン */
.custom-contact-form {
  max-width: 600px;
  margin: 60px auto 20px;
  padding: 0 20px;
}

/* フォーム全体のラベル */
.custom-contact-form label {
  display: block;
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* 必須マーク */
.custom-contact-form .required {
  color: #e74c3c;
  margin-left: 4px;
}

/* 入力フィールド共通 */
.custom-contact-form .form-input,
.custom-contact-form .form-textarea {
  width: 100%;
  padding: 12px 16px;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

/* フォーカス時 */
.custom-contact-form .form-input:focus,
.custom-contact-form .form-textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* テキストエリア */
.custom-contact-form .form-textarea {
  min-height: 200px;
  resize: vertical;
  font-family: inherit;
}

/* 送信ボタン */
.custom-contact-form .form-submit {
  width: 100%;
  padding: 16px;
  background: #4a6fa5;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.custom-contact-form .form-submit:hover {
  background: #3d5a8a;
}

/* エラーメッセージ */
.custom-contact-form .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

/* バリデーションエラーの入力欄 */
.custom-contact-form .wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* 送信完了メッセージ */
.custom-contact-form .wpcf7-response-output {
  margin: 20px 0;
  padding: 16px;
  border-radius: 4px;
  font-size: 14px;
}

.custom-contact-form .wpcf7-mail-sent-ok {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.custom-contact-form .wpcf7-validation-errors,
.custom-contact-form .wpcf7-mail-sent-ng {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* スピナー（送信中） */
.custom-contact-form .wpcf7-spinner {
  margin-left: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .custom-contact-form {
    margin: 40px auto;
    padding: 0 15px;
  }
  .custom-contact-form label {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .custom-contact-form .form-input,
  .custom-contact-form .form-textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
  .custom-contact-form .form-submit {
    font-size: 15px;
    padding: 14px;
  }
}
/* fvボタン */
@media (max-width: 768px) {
  .c-fv__button {
    width: 50% !important;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 470px) {
  .c-fv__button {
    width: 75% !important;
  }
}
.c-fv__button {
  transition: background-color 0.6s, color 0.6s ease !important;
}
.c-fv__button:hover a {
  background-color: #e67e22 !important;
  box-shadow: #666 0px 4px 4px 0px !important;
}

/* フローチャートの線を中央寄せ */
.p-flow__line {
  width: 308px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.global-nav .menu-item {
  padding: 0 !important;
}

.global-nav .menu-item a {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #333 !important;
  padding: 8px 12px !important;
  transition: border-bottom 0.6s, color 0.3s ease !important;
}
.global-nav .menu-item a:hover {
  color: #2e86c1 !important;
  border-bottom: 4px solid #2E86C1 !important;
}

#flow {
  z-index: 0 !important;
}

.page_top_btn {
  right: 20px !important;
  bottom: 20px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 24px !important;
  background-color: #4a6fa5 !important;
  box-shadow: #666 0px 4px 4px 0px !important;
  transition: background-color 0.6s, color 0.6s ease !important;
}
.page_top_btn:hover {
  background-color: #e67e22 !important;
  box-shadow: #666 0px 4px 4px 0px !important;
}
.page_top_btn i {
  font-size: 24px !important;
  color: #fff !important;
  line-height: 48px !important;
  transition: color 0.6s ease !important;
}
.page_top_btn i:hover {
  color: #fff !important;
}

/* ページトップボタンを画像に変更（完全版） */
.page-top-btn,
.page_top_btn,
.page-top-btn:hover,
.page_top_btn:hover,
.page-top-btn:focus,
.page_top_btn:focus,
.page-top-btn:active,
.page_top_btn:active,
.page-top-btn::before,
.page_top_btn::before,
.page-top-btn::after,
.page_top_btn::after {
  /* 既存のスタイルを完全リセット */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.page-top-btn,
.page_top_btn {
  /* テキストを完全非表示 */
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  color: transparent !important;
  /* 背景画像を設定 */
  background-image: url("https://odachin.net/sodan/wp-content/uploads/2025/10/arrow_up-light.svg ") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  /* サイズ調整 */
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  /* パディング・マージンリセット */
  padding: 0 !important;
  margin: 0 !important;
}

/* ホバー時 */
.page-top-btn:hover,
.page_top_btn:hover {
  opacity: 0.8 !important;
  transform: translateY(-5px) !important;
  transition: all 0.3s ease !important;
}

/* 疑似要素も透明に */
.page-top-btn::before,
.page-top-btn::after,
.page_top_btn::before,
.page_top_btn::after {
  display: none !important;
  content: none !important;
}

.p-fv__title {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 470px) {
  .p-fv__title {
    font-size: 20px !important;
  }
  .p-fv__subtitle {
    font-size: 18px !important;
  }
  .p-fv__lead {
    font-size: 14px !important;
  }
}
@media (max-width: 470px) {
  .vk_slider_item_container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}
/* CTAボタンを固定表示にする */
.c-header__cta {
  position: fixed;
  top: 90px;
  /* 画面下からの距離 */
  right: 20px;
  /* 画面右からの距離 */
  z-index: 9999;
  /* 最前面に表示 */
  width: auto;
  max-width: 90%;
}
.c-header__cta a {
  background-color: rgba(38, 86, 131, 0.6) !important;
  transition: background-color 0.6s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border-radius: 12px !important;
}
.c-header__cta:hover a {
  background-color: rgba(230, 126, 34, 0.8) !important;
}

/* モバイル調整 */
@media (max-width: 768px) {
  .vk_cta {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}
/* CTAボタンを固定表示にする */
.c-header__cta {
  position: fixed;
  top: 90px;
  /* 画面下からの距離 */
  right: 20px;
  /* 画面右からの距離 */
  z-index: 9999;
  /* 最前面に表示 */
  width: auto;
  max-width: 90%;
}
.c-header__cta a {
  background-color: rgba(38, 86, 131, 0.6) !important;
  transition: background-color 0.6s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border-radius: 12px !important;
}
.c-header__cta:hover a {
  background-color: rgba(230, 126, 34, 0.8) !important;
}

/* モバイル調整 */
@media (max-width: 992px) {
  .c-header__cta {
    top: 55px;
    right: 10px;
    width: auto;
  }
}
.p-fv__title {
  width: -moz-fit-content !important;
  width: fit-content !important;
  position: relative;
  padding: 5px 0 !important;
  /* 必要に応じて調整 */
  z-index: 2;
}

/* ぼんやり白背景を生成する疑似要素 */
.p-fv__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  /* 角を丸くして自然に */
  z-index: -1;
  /* ▼白 → 透明へフェードするグラデーション背景 */
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0) 100%);
  /* ▼ぼかし効果で“霞”っぽく */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.p-worry__btn a {
  color: #B8651B !important;
  background-color: #fff !important;
  box-shadow: #666 0px 4px 4px 0px !important;
  transition: background-color 0.6s, color 0.6s ease !important;
}
.p-worry__btn a:hover {
  background-color: #e67e22 !important;
  color: #fff !important;
  box-shadow: #666 0px 4px 4px 0px !important;
}/*# sourceMappingURL=style.css.map */