/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:         admin
Template:       lightning
*/



/* -----------------------------
 * 全幅セクション
----------------------------- */

/* 基本構造：全幅セクション */
.l-full-width-section {
  position: relative; /** 位置基準を設定 **/
  left: 50%; /** 親の中央基準に寄せる **/
  right: 50%; /** 左右基準を中央に **/
  width: 100vw; /** ビューポート全体の幅を使用 **/
  margin-left: -50vw; /** 左側のはみ出しを補正 **/
  margin-right: -50vw; /** 右側のはみ出しを補正 **/
  background: linear-gradient(180deg, #ffe8b3 0%, #ffffff 100%); /** 背景グラデーション（hero用） **/
  text-align: center; /** 中央寄せ **/
  padding: 100px 20px; /** 上下余白 **/
  box-sizing: border-box; /** パディング含めて幅を計算 **/
}

/* 内側の中央整列用 */
.l-full-width-section .l-inner {
  max-width: 1200px; /** コンテンツ中央寄せ用（お好み） **/
  margin: 0 auto;
}

/* hero セクション（中の文字スタイル） */
.hero h1 {
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.5;
  color: #6b4a24;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1em;
  color: #7a5a2e;
}



/* --- ヒーローセクション --- */
.hero-section { /** ヒーローセクション全体のラッパー **/
  position: relative; /** 擬似要素（オーバーレイ）を重ねるため相対配置 **/
  background-image: url('https://sample1.wordpress-tips.net/wp-content/uploads/2025/11/33644014_m.jpg'); /** 背景画像を指定 **/
  background-size: cover; /** 要素のサイズに合わせて拡大・縮小 **/
  background-position: center; /** 背景を中央寄せ **/
  background-attachment: fixed; /** 背景を固定してパララックス風に **/
  height: 500px; /** セクション全体の高さ **/
  display: flex; /** 子要素を中央に配置するためFlexboxを使用 **/
  flex-direction: column; /** 縦方向に並べる **/
  justify-content: center; /** 縦方向の中央揃え **/
  align-items: center; /** 横方向の中央揃え **/
  text-align: center; /** テキストを中央寄せ **/
  color: #fff; /** テキストの色を白にして背景とのコントラストを確保 **/
  overflow: hidden; /** コンテンツのはみ出しを防ぐ **/
  margin: 0; /** 上下余白を消す **/
  padding: 120px 20px; /** 上下の余白（レスポンシブ対応） **/
}

.hero-section::before { /** 背景画像の上に半透明の黒レイヤーを重ねる **/
  content: ""; /** 疑似要素を生成 **/
  position: absolute; /** 親要素内で絶対配置 **/
  inset: 0; /** 全面をカバー（top, right, bottom, left = 0） **/
  background: rgba(0, 0, 0, 0.35); /** 黒の半透明（暗さ35%） **/
  z-index: 1; /** 背景より前・テキストより後ろに配置 **/
}

.hero-section * { /** 内部のすべての要素に適用 **/
  position: relative; /** 背景レイヤーより前に表示するため相対配置 **/
  z-index: 2; /** 前面に表示 **/
}

.hero-inner h1 { /** メインタイトル（事務所名） **/
  font-size: 2.4em; /** 大きめの文字サイズ **/
  margin-bottom: 10px; /** 下に余白を設定 **/
  font-weight: bold; /** 太字で強調 **/
}

.hero-inner p { /** サブテキスト（説明文） **/
  font-size: 1.2em; /** 少し大きめで読みやすく **/
  margin-bottom: 25px; /** ボタンとの間に余白 **/
}

.btn-main { /** メインボタンのデザイン **/
  background: #fff; /** ボタン背景を白に **/
  color: #004c80; /** テキストを濃い青に **/
  padding: 12px 30px; /** 余白でボタンらしくする **/
  border-radius: 30px; /** 角を丸く **/
  font-weight: bold; /** 太字で視認性アップ **/
  text-decoration: none; /** 下線を消す **/
  transition: 0.3s; /** ホバー時のアニメーションを滑らかに **/
}

.btn-main:hover { /** ホバー時のスタイル **/
  background: #004c80; /** 背景を青に変化 **/
  color: #fff; /** 文字色を白に変化 **/
}




/* --- 事務所紹介 --- */
.about-office {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fcff, #eef7ff); /** 背景をグラデに統一 **/
}

.about-office p {
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.btn-sub {
  background: #0073aa;
  color: #fff;
  margin-top:50px;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.btn-sub:hover {
  background: #004c80;
}




/* --- 選ばれる理由 --- */
.reason-section {
  padding: 80px 20px;
  text-align: center;
}

.reason-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.reason-item {
  width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 30px 20px;
}

.reason-item i {
  font-size: 36px;
  color: #0073aa;
  margin-bottom: 10px;
}

.reason-item h3 {
  color: #004c80;
  font-size: 1.2em;
  margin-bottom: 8px;
}




/* 相続対策セクション全体のデザイン */
.inheritance-section {
  background: #f8fafc; /** 薄いグレー背景 **/
  padding: 60px 20px; /** 上下余白を広めにとる **/
  text-align: center; /** 全体中央寄せ（見出し用） **/
}

/* 各項目のボックスデザイン */
.inheritance-item {
  background: #ffffff; /** 白背景でカード風 **/
  border: 1px solid #e0e6ef; /** 淡いグレーの枠線 **/
  border-radius: 10px; /** 角丸 **/
  padding: 30px 20px; /** 内側余白 **/
  margin: 20px auto; /** ボックス間の余白 **/
  max-width: 800px; /** 横幅制限で整える **/
  box-shadow: 0 3px 10px rgba(0,0,0,0.05); /** うっすら影で浮かせる **/
  transition: transform 0.3s ease, box-shadow 0.3s ease; /** ホバー時の滑らか変化 **/
  text-align: left; /** ←本文を左寄せに変更 **/
}

/* 見出しのスタイル */
.inheritance-item h3 {
  color: #004c80; /** 信頼感のある青色 **/
  font-size: 1.4em; /** やや大きめの見出し **/
  margin-bottom: 15px; /** 下に余白 **/
  text-align: center; /** ←見出しだけ中央寄せを維持 **/
  border-bottom: 1px solid #e0e6ef; /** 下線で区切る **/
  padding-bottom: 5px; /** 下線との間に余白 **/
}

/* テキストのスタイル */
.inheritance-item p {
  color: #333; /** 読みやすい濃いグレー **/
  line-height: 1.8; /** 行間を広げて読みやすく **/
  font-size: 1em; /** 標準サイズ **/
  text-align: left; /** 左寄せ（念のため） **/
}

/* ホバー時の動き */
.inheritance-item:hover {
  transform: translateY(-5px); /** 少し上に浮く **/
  box-shadow: 0 8px 20px rgba(0,0,0,0.1); /** 影を濃くして立体感を出す **/
}

/* レスポンシブ対応（スマホ用） */
@media (max-width: 768px) {
  .inheritance-item {
    padding: 20px 15px; /** スマホ時の余白を調整 **/
  }
  .inheritance-item h3 {
    font-size: 1.2em; /** 見出しを少し小さく **/
  }
}




/* --- about-fan --- */
.about-fan {
  background: linear-gradient(135deg, #f9fcff, #eef7ff); /** 柔らかい青系グラデーション背景 **/
  border-radius: 12px; /** 角を丸くして優しい印象に **/
  padding: 60px 30px; /** 内側の余白を広めに確保 **/
  text-align: center; /** テキストを中央寄せに **/
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); /** やわらかい影を追加 **/
  max-width: 800px; /** 横幅の最大値を制限 **/
  margin: 60px auto; /** セクションを中央に配置 **/
}

.about-fan h2 {
  color: #004c80; /** 信頼感のある濃い青色 **/
  font-size: 1.8em; /** 少し大きめの見出し **/
  margin-bottom: 25px; /** 下に余白を確保 **/
  font-weight: 700; /** 太字で強調 **/
  line-height: 1.5; /** 行間をやや広めに設定 **/
}

.consult-lead {
  font-size: 1.1em; /** 本文よりやや大きめの文字 **/
  color: #333; /** 読みやすいダークグレー **/
  line-height: 1.8; /** 行間を広めに **/
  margin-bottom: 40px; /** 下に余白を追加 **/
}

.consult-points {
  list-style: none; /** デフォルトのリストマークを削除 **/
  padding: 0; /** 左の余白をリセット **/
  margin-bottom: 40px; /** 下に余白を確保 **/
  text-align: left; /** リストは左揃えで自然に **/
  display: inline-block; /** 中央寄せと整列の両立 **/
}

.consult-points li {
  position: relative; /** スパンを位置調整できるように設定 **/
  background: #fff; /** 白背景でカード風に **/
  border: 1px solid #dde7f0; /** 優しいグレーの境界線 **/
  border-radius: 8px; /** カードの角を丸く **/
  padding: 15px 20px 15px 55px; /** 番号部分のスペースを確保 **/
  margin-bottom: 15px; /** 各項目の間に間隔を追加 **/
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03); /** ふんわりとした影を追加 **/
  transition: transform 0.3s ease, box-shadow 0.3s ease; /** ホバー時のアニメーション設定 **/
}

.consult-points li:hover {
  transform: translateY(-3px); /** ホバー時に少し浮かせる **/
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /** ホバー時に影を強調 **/
}

.consult-points li span {
  position: absolute; /** 番号を左に配置 **/
  left: 15px; /** 左端の余白 **/
  top: 50%; /** 縦方向の中央に配置 **/
  transform: translateY(-50%); /** 完全に中央揃えに補正 **/
  background: #0078d7; /** 明るい青背景で目立たせる **/
  color: #fff; /** 番号を白に **/
  font-weight: bold; /** 番号を強調 **/
  border-radius: 50%; /** 丸型にする **/
  width: 30px; /** 丸の幅 **/
  height: 30px; /** 丸の高さ **/
  display: flex; /** 中央揃えにするためにflex使用 **/
  align-items: center; /** 縦方向中央揃え **/
  justify-content: center; /** 横方向中央揃え **/
  font-size: 0.9em; /** 少し小さめのフォント **/
}

.consult-btn {
  display: inline-block; /** ボタンをインラインブロックに **/
  background: #0078d7; /** メインカラー：青 **/
  color: #fff; /** 白文字 **/
  text-decoration: none; /** 下線を消す **/
  font-size: 1.1em; /** 少し大きめ文字 **/
  padding: 15px 40px; /** 内側余白を広めに **/
  border-radius: 30px; /** 丸みのあるボタン **/
  font-weight: bold; /** 太字で目立たせる **/
  box-shadow: 0 4px 10px rgba(0, 120, 215, 0.3); /** 青みを帯びた影 **/
  transition: background 0.3s ease, transform 0.3s ease; /** ホバー時のアニメーション **/
}

.consult-btn:hover {
  background: #005fa3; /** 濃い青に変化 **/
  transform: translateY(-2px); /** 少し浮くように演出 **/
}

/** --- レスポンシブ対応（スマホ用） --- **/
@media (max-width: 600px) {
  .about-fan {
    padding: 40px 20px; /** スマホでは少し狭めに **/
  }
  .consult-points li {
    font-size: 0.95em; /** 文字を少し小さく **/
    padding: 15px 15px 15px 50px; /** 内側余白を調整 **/
  }
  .consult-btn {
    width: 100%; /** スマホでは横幅いっぱい **/
    padding: 15px 0; /** ボタン高さ調整 **/
  }
}




/* --- サービス一覧 --- */
.service-preview {
  background: linear-gradient(135deg, #f9fcff, #eef7ff); /** ホバー時もグラデに統一 **/
  text-align: center;
  padding: 80px 20px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.service-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 280px;
  padding: 30px 20px;
  transition: 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 36px;
  color: #0073aa;
  margin-bottom: 10px;
}




/* --- お知らせ --- */
.news-section {
  background: #fff; /** 背景白 **/
  text-align: center;
  padding: 80px 20px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.news-list li {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-list .date {
  color: #0073aa;
  font-weight: bold;
  width: 110px;
}

.news-list a {
  color: #333;
  text-decoration: none;
  flex: 1;
}

.news-list a:hover {
  color: #0073aa;
}




/* --- FAQセクション見出しの視認性改善 --- */
.faq {
  background: linear-gradient(135deg, #f9fcff, #eef7ff); /** ホバー時もグラデに統一 **/
  padding: 80px 20px;
  text-align: center;
}

.faq h2 {
  color: #004c80; /* 濃い青 */
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(255,255,255,0.6); /* 白影で浮かせる */
  border-bottom: 2px solid #0073aa; /* 下線を強調して見出し感アップ */
  padding-bottom: 6px;
}

/* --- FAQ項目 --- */
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 25px 20px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item h3 {
  color: #004c80;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 8px;
  border-left: 4px solid #0073aa; /* 左ラインで質問を強調 */
  padding-left: 10px;
}

.faq-item p {
  color: #333;
  line-height: 1.8;
  margin-left: 1.5em;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .faq h2 {
    font-size: 1.5em;
  }
  .faq-item {
    padding: 20px 15px;
  }
}




/* --- 代表プロフィール --- */
.profile-section {
  background: linear-gradient(135deg, #f9fcff, #eef7ff); /** ホバー時もグラデに統一 **/
  text-align: center;
  padding: 80px 20px;
}

.profile-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.profile-inner img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-text {
  max-width: 500px;
  text-align: left;
  line-height: 1.8;
  color: #333;
}




/* --- CTAボックス --- */
.cta-box {
  background: linear-gradient(135deg, #0073aa, #004c80);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 60px;
}

.cta-box p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-box .btn-main {
  background: #fff;
  color: #004c80;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-box .btn-main:hover {
  background: #004c80;
  color: #fff;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .price-page h1 {
    font-size: 1.6em;
  }

  .price-table th,
  .price-table td {
    padding: 12px;
  }
}
















/* --- 業務内容全体 --- */
.service-page {
  max-width: 900px; /** 横幅制限 **/
  margin: 0 auto; /** 中央寄せ **/
  padding: 80px 20px; /** 余白 **/
}

/* --- メインタイトル --- */
.service-page h1 {
  font-size: 2em;
  color: #004c80;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 5px;
}

/* --- リード文 --- */
.service-page .lead {
  text-align: center;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 50px;
}

/* --- 各業務カテゴリー --- */
.service-category {
  margin-bottom: 50px;
  background: #f8fafc;
  border-left: 5px solid #0073aa;
  padding: 25px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* --- サブ見出し --- */
.service-category h2 {
  font-size: 1.4em;
  color: #004c80;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- アイコン --- */
.service-category i {
  font-size: 20px;
  color: #0073aa;
}

/* --- 箇条書き --- */
.service-category ul {
  margin-left: 25px;
  color: #333;
  line-height: 1.8;
}






/* --- 他セクション共通 --- */
.btn-sub {
  background: #0073aa;
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-sub:hover {
  background: #004c80;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .profile-inner {
    flex-direction: column;
    text-align: center;
  }

  .profile-text {
    text-align: center;
  }
}




/* ---料金表 --- */
.price-page {
  max-width: 900px; /** 横幅制限 **/
  margin: 0 auto; /** 中央寄せ **/
  padding: 80px 20px; /** 上下余白 **/
}

/* --- 見出し --- */
.price-page h1 {
  font-size: 2em;
  text-align: center;
  color: #004c80;
  margin-bottom: 30px;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 5px;
}

/* --- リード文 --- */
.price-page .lead {
  text-align: center;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 40px;
}

/* --- テーブル --- */
.price-table-wrap {
  overflow-x: auto; /** 横スクロール対応 **/
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.price-table th {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
  padding: 15px;
  text-align: left;
}

.price-table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px;
  color: #333;
}

.price-table tr:nth-child(even) td {
  background: #f8fafc;
}

/* --- 注意書き --- */
.note {
  margin-top: 25px;
  font-size: 0.9em;
  color: #555;
  line-height: 1.8;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .price-page h1 {
    font-size: 1.6em;
  }

  .price-table th,
  .price-table td {
    padding: 12px;
  }
}




/* --- 全体（お問い合わせページ） --- */
.contact-page {
  max-width: 800px; /** 横幅制限 **/
  margin: 0 auto; /** 中央寄せ **/
  padding: 80px 20px; /** 上下余白 **/
}

/* --- タイトル --- */
.contact-page h1 {
  font-size: 2em;
  text-align: center;
  color: #004c80;
  margin-bottom: 30px;
  border-bottom: 2px solid #0073aa;
  display: inline-block;
  padding-bottom: 5px;
}

/* --- リード文 --- */
.contact-page .lead {
  text-align: center;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 40px;
}

/* --- 連絡先情報 --- */
.contact-info {
  background: #f8fafc;
  border-left: 4px solid #0073aa;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.contact-info p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #0073aa;
}

/* --- フォームエリア --- */
.contact-form-area {
  background: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form-area h2 {
  text-align: center;
  color: #004c80;
  font-size: 1.5em;
  margin-bottom: 20px;
}




/* --- Contact Form 7 デザイン --- */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="zip"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  margin-bottom: 20px;
  background: #f9f9f9;
  transition: border 0.3s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #0073aa;
  background: #fff;
}

.contact-form input[type="submit"] {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form input[type="submit"]:hover {
  background: #004c80;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .contact-page h1 {
    font-size: 1.6em;
  }

  .contact-form-area {
    padding: 30px 20px;
  }
}




/* --- ul li stylish-list --- */
.stylish-list {
	list-style: none; /* 通常の点マークを削除 */
	padding: 0; 
	margin: 30px auto;
	max-width: 600px;
	text-align: left;
}

.stylish-list li {
	position: relative;
	background: #fff;
	border-radius: 8px;
	background: linear-gradient(135deg, #f9fcff, #eef7ff); /** カード背景をグラデに統一 **/
	padding: 14px 20px 14px 50px;
	margin-bottom: 15px;
	color: #333; 
	font-size: 1.05em;
	border-left: 5px solid #0073aa;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: 0.3s ease;
}

.stylish-list li::before {
	content: "\2713";
	position: absolute;
	left: 25px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.1em;
	color: #0073aa;
	font-weight: bold;
	transition: 0.3s ease;
}
