/* ベースリセットと共通設定 */
.landing-page-body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #1a2b4d; /* メインカラー（ネイビー） */
  background-color: #f8faff; /* 画像の背景色 */
}

/* ヒーローセクション全体 */
.hero-section-fv {
  padding: 80px 0;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1280px; /* 全体の幅調整 */
  margin: 0 auto;
  padding: 0 30px;
  gap: 100px;
}

/* --- 左側コンテンツ --- */
.hero-left-content {
  flex: 3; /* フォームに対して広めに設定 (約60%) */
  max-width: 680px;
  padding-top: 5px;
}

.hero-logo-line {
  display: flex;
  align-items: center;
  font-size: 22px;
  color: #0077b6; /* 濃いネイビー */
  font-weight: 700;
  margin-bottom: 25px;
}

.hero-logo-line img {
  margin-right: 15px;
  width: 40px;
  height: 40px;
}

.hero-main-title {
  font-size: 60px; /* 画像のサイズ */
  font-weight: 900; /* 最も太いフォント */
  line-height: 1;
  color: #1a2b4d;
  margin: 0 0 10px 0;
}

.hero-main-title .highlight {
  background: linear-gradient(to right, #007bff, #00b4d8);
  -webkit-background-clip: text; /* テキスト部分に背景をクリップ */
  -webkit-text-fill-color: transparent; /* テキスト色を透明にする */
}

.hero-description {
  font-size: 26px;
  color: #1a2b4d;
  margin-top: 0;
  line-height: 1.5;
  font-weight: 700;
}

/* チェックリストボックス */
.hero-check-list-box {
  background-color: #ffffff;
  border: 1px solid #00b4d8;
  border-radius: 8px;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* 控えめな影 */
  max-width: 700px; /* ボックスの最大幅 */
}

.box-intro-text {
  font-size: 22px;
  color: #1a2b4d;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  font-size: 18px;
  color: #1a2b4d;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 700; /* 全体的に太字 */
}
.check-list li:last-child {
  margin-bottom: 0;
}

.check-mark {
  width: 30px;
  height: 30px;
  color: #54d681;
  flex-shrink: 0;
  margin-right: 12px;
}

.check-text {
  font-weight: 700;
}

.check-text .sub-text {
  display: block;
  font-size: 15px;
  color: #1a2b4d; /* 括弧内の色は薄く */
  font-weight: 300;
  margin-top: 2px;
  line-height: 1.4;
}

/* --- 右側フォーム全体 --- */
.hero-right-form-wrapper {
  flex-basis: 40%; /* 左側に対して狭めに設定 */
  max-width: 380px;
  flex-shrink: 0;
}

.hero-form-box {
  background-color: #ffffff;
  border-radius: 12px; /* 大きめの角丸 */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 35px 30px;
  text-align: center;
}

.form-completion-text {
  font-size: 20px;
  color: #007bff; /* オレンジ */
  font-weight: 700;
  margin-bottom: 10px;
}

.form-completion-text .highlight-orange {
  font-weight: 800;
}

.form-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: #1a2b4d;
  margin-top: 0;
  margin-bottom: 30px;
}

/* ======================================================= */
/* ヒーローフォーム（.hero-form-box）専用の干渉対策CSS */
/* ======================================================= */

/* --- ラベル要素 (干渉しやすい) --- */
/* セレクタを強化：div.hero-form-box と form.wpcf7-form を追加 */
div.hero-form-box form.wpcf7-form label {
  display: block;
  font-size: 14px;
  color: #1a2b4d;
  margin-bottom: 5px;
  font-weight: 700 !important; /* ラベルの太字を確実に適用 */
  line-height: 1.5; /* 以前のフォームの line-height: 5rem; を無効化 */
}

/* --- 入力フィールド (干渉しやすい) --- */
/* セレクタを強化：より具体的な要素を指定 */
div.hero-form-box form.wpcf7-form input[type='text'],
div.hero-form-box form.wpcf7-form input[type='url'],
div.hero-form-box form.wpcf7-form input[type='email'] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  font-weight: 400;
  border-bottom: 1px solid #ddd !important;
  margin-bottom: 0 !important;
}

.hero-form-box input::placeholder {
  color: #bbb;
}

/* --- CF7の段落タグ <p> (干渉しやすい) --- */
/* CF7の各フィールドを囲む<p>タグの余白を制御 */
.hero-form-box .wpcf7-form p {
  margin-bottom: 18px !important;
  margin-top: 0 !important;
  text-align: left;
}

/* --- プライバシーポリシー同意チェックボックス --- */
.hero-form-box .wpcf7-list-item {
  margin: 0;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

.hero-form-box .wpcf7-list-item-label a {
  color: #007bff;
}

/* --- 送信ボタン (ID指定で最強化) --- */
.hero-form-box .free-submit-button {
  width: 100% !important;
  padding: 16px !important;
  background-color: #007bff !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4) !important;
  text-align: center !important;
}

.hero-form-box .free-submit-button:hover {
  background-color: #0066d2 !important;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5) !important;
}

/* --- レスポンシブ対応 (980px以下で縦積みに) --- */
@media (max-width: 980px) {
  .hero-container {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .hero-left-content {
    max-width: 100%;
    padding-top: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .hero-logo-line img {
    margin-right: 15px;
    width: 70px;
    height: 70px;
  }

  .hero-main-title {
    font-size: 40px;
    margin: 0;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-check-list-box {
    max-width: 100%;
    margin-top: 30px;
    padding: 25px;
  }

  .hero-right-form-wrapper {
    width: 100%;
    max-width: 400px; /* スマホでフォームが大きくなりすぎないように */
    margin: 0 auto;
  }
}

/* ======================================================= */
/* 悩みへの共感セクション（Concern Section） */
/* ======================================================= */

.concern-section {
  background-color: #f8faff; /* 画像の背景色 (薄いグレー) */
  padding: 80px 0;
}

.concern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

/* タイトルエリア */
.concern-header {
  margin-bottom: 50px;
}

.concern-title {
  font-size: 40px;
  font-weight: 800;
  color: #1a2b4d; /* メインカラー（ネイビー） */
  margin: 0 0 15px 0;
}

.concern-title-emphasis {
  color: #0077b6;
}

/* 悩みカードエリア */
.concern-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCでは4列 */
  gap: 20px;
  margin-bottom: 50px;
}

.concern-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0; /* 薄いボーダー */
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 控えめな影 */
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.concern-card:hover {
  box-shadow: 0 6px 15px rgba(184, 229, 247, 0.4);
  border: 1px solid #00b4d8;
  transform: translateY(-5px);
}

.concern-card .card-text {
  font-size: 18px;
  font-weight: 900;
  color: #1a2b4d;
  line-height: 1.5;
  margin: 0;
}

/* アクションエリア（解決の糸口） */
.concern-cta-box {
  background-color: #007bff; /* 画像の濃いネイビー */
  color: #ffffff;
  padding: 25px 30px;
  border-radius: 8px;
  display: inline-block; /* コンテンツに合わせて幅を調整 */
  max-width: 800px;
  margin: 0 auto;
}

.concern-cta-box .cta-text {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.concern-cta-box .cta-text strong {
  /* 「データ」を強調する場合はこちらを使用 */
  color: #ffc600;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 1100px) {
  .concern-cards-wrapper {
    grid-template-columns: repeat(2, 1fr); /* 1100px以下で2列 */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .concern-section {
    padding: 50px 0;
  }
  .concern-container {
    padding: 0 20px;
  }
  .concern-title {
    font-size: 26px;
  }
  .concern-cards-wrapper {
    grid-template-columns: 1fr; /* 600px以下で1列 */
    gap: 15px;
    max-width: 350px;
  }
  .concern-card {
    padding: 20px 15px;
  }
  .concern-cta-box {
    padding: 20px;
  }
  .concern-cta-box .cta-text {
    font-size: 17px;
  }
}

/* ======================================================= */
/* 調査でわかることセクション（Result Section） */
/* ======================================================= */

.result-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.result-container {
  max-width: 1100px; /* 画像のコンテンツ幅に調整 */
  margin: 0 auto;
  padding: 0 30px;
}

/* タイトルエリア */
.result-header {
  text-align: center;
  margin-bottom: 70px;
}

.result-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #54d681; /* アクセントカラー (緑系) */
  margin: 0 0 5px 0;
}

.result-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a2b4d; /* メインカラー（ネイビー） */
  margin: 0 0 15px 0;
}

/* 項目ラッパー */
.result-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px; /* 各項目の縦の隙間 */
}

/* 項目個別スタイル */
.result-item {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* 左右のレイアウトを制御 */
.item-right-text {
  flex-direction: row; /* 左に画像、右にテキスト */
}
.item-left-text {
  flex-direction: row-reverse; /* 右に画像、左にテキスト */
}

/* 画像プレースホルダー */
.item-visual-box {
  flex: 1;
  min-width: 45%; /* 画像の幅を確保 */
  padding: 0;
}
.placeholder-image {
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.placeholder-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* テキストコンテンツ */
.item-text-box {
  flex: 1;
  min-width: 45%;
  text-align: left;
}

.item-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #0077b6; /* ナンバーの背景色 (ネイビー) */
  padding: 4px 12px;
  border-radius: 9999px; /* 角を丸くする */
  margin-bottom: 10px;
}

.item-heading {
  font-size: 24px;
  font-weight: 800;
  color: #1a2b4d;
  margin: 10px 0 15px 0;
  line-height: 1.4;
}

.item-description {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .result-section {
    padding: 60px 0;
  }
  .result-item {
    flex-direction: column !important; /* 全て縦積みに変更 */
    gap: 20px;
    text-align: center;
  }
  .item-text-box {
    order: 2; /* テキストを常に下にする */
  }
  .item-visual-box {
    order: 1; /* 画像を常に上にする */
    min-width: 100%;
  }
  .item-number {
    margin: 0 auto 10px auto; /* ナンバーを中央寄せ */
  }
  .item-heading {
    font-size: 22px;
  }
  .result-items-wrapper {
    gap: 60px;
  }
}

/* ======================================================= */
/* 導入クリニック/お客様の声セクション（Clients Section） */
/* ======================================================= */

.clients-section {
  background-color: #f8faff; /* 画像の背景色 (薄いグレー) */
  padding: 80px 0;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

/* タイトルエリア */
.clients-header {
  margin-bottom: 50px;
}

.clients-title {
  font-size: 35px;
  font-weight: 800;
  color: #1a2b4d;
  margin: 0 0 15px 0;
}

/* お客様の声エリア（3列グリッド） */
.clients-voice-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.client-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* 影 */
  text-align: left; /* カード内のテキストは左寄せ */
}

/* 院長情報 */
.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.client-photo-placeholder {
  width: 60px;
  height: 60px;
  background-color: #e2e8f0; /* 画像のプレースホルダー色 */
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.client-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b4d;
  margin: 0;
}

/* 引用文 */
.client-quote {
  font-size: 18px;
  font-weight: 700;
  color: #1a2b4d;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

/* コメント文 */
.client-comment {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .clients-voice-wrapper {
    grid-template-columns: repeat(2, 1fr); /* 900px以下で2列 */
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .clients-section {
    padding: 50px 0;
  }
  .clients-title {
    font-size: 26px;
  }
  .clients-voice-wrapper {
    grid-template-columns: 1fr; /* 600px以下で1列 */
    gap: 15px;
  }
}

/* ======================================================= */
/* クロージング＆フォームセクション（Closing Section） */
/* ======================================================= */

.closing-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.closing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 1. クロージングメッセージとフォーム */
.closing-cta-box {
  background-color: #1a2b4d; /* メインカラー（ネイビー） */
  border-radius: 16px; /* 大きめの角丸 */
  padding: 50px 30px;
  text-align: center;
}

.closing-cta-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.closing-form-wrapper {
  max-width: 540px; /* ★ここを画像に合わせてさらに狭く調整 (例: 480px) */
  margin: 0 auto;
}

/* 2. プレミアム調査の案内セクション */
.premium-guide-area {
  text-align: center;
  max-width: 850px;
  margin: 80px auto 0 auto;
}

.premium-guide-title {
  font-size: 34px;
  font-weight: 800;
  color: #1a2b4d;
  margin: 0 0 10px 0;
}

.premium-guide-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.7;
}

.premium-box {
  margin-top: 40px;
  background-color: #f8faff; /* 薄いグレーの背景 */
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.premium-box-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2b4d;
  margin: 0 0 25px 0;
}

.premium-check-list-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
  max-width: 850px;
  margin: 0 50px;
  text-align: left;
}

.premium-list-item {
  display: flex;
  align-items: flex-start;
}

.premium-check-icon {
  /* オレンジのチェックマークを再現 */
  width: 20px;
  height: 20px;
  background-color: #54d681; /* オレンジ */
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-right: 10px;
}
.premium-check-icon::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.premium-list-text {
  font-size: 15px;
  font-weight: 600;
  color: #1a2b4d;
  margin: 0;
}

.premium-note {
  font-size: 13px;
  color: #666;
  margin-top: 25px;
}

.premium-button-wrapper {
  margin-top: 20px;
}

.premium-detail-button {
  display: inline-block;
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #007bff;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.premium-detail-button:hover {
  background-color: #fffaf5;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.2);
}

/* 3. FAQセクション */
.faq-area {
  max-width: 850px;
  margin: 80px auto 0 auto;
}

.faq-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a2b4d;
  text-align: center;
  margin-bottom: 30px;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  max-width: 850px;
}

/* アコーディオン機能のスタイル */
.faq-item details {
  width: 100%;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  color: #1a2b4d;
  font-size: 16px;
  list-style: none; /* デフォルトの矢印を非表示 */
}

/* summaryがデフォルトのリストスタイルを表示しないように */
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
}

.faq-item .faq-icon {
  width: 14px; /* アイコン全体の幅 */
  height: 14px; /* アイコン全体の高さ */
  position: relative;
  flex-shrink: 0;
  margin-left: 15px;
  transition: transform 0.3s ease; /* 開閉時の回転アニメーション */
}

/* 画像のようなV字型矢印をCSSで描画 */
.faq-item .faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px; /* 矢印の幅 */
  height: 8px; /* 矢印の高さ */
  border: solid #a0a8b9; /* アイコンの色 (画像に合わせてグレー系に) */
  border-width: 0 2px 2px 0; /* 右と下の線のみ */
  transform: translate(-50%, -75%) rotate(45deg); /* 上向きのV字になるように回転と位置調整 */
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* detailsが開いた時のアイコン (矢印を下向きにする) */
.faq-item details[open] summary .faq-icon {
  transform: rotate(180deg); /* アイコン全体を180度回転して下向きに */
}

/* detailsが開いた時のアイコンの色変更 */
.faq-item details[open] summary .faq-icon::before {
  border-color: #54d681; /* 開いた時のアイコン色をオレンジに */
  transform: translate(-50%, -25%) rotate(45deg); /* 開いた時の位置調整（下向きV字の中心に合わせる） */
}

/* 回答部分 */
.faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .closing-section {
    padding: 60px 0;
  }
  .closing-cta-box {
    padding: 40px 20px;
  }
  .closing-cta-title {
    font-size: 26px;
  }
  .closing-form-wrapper {
    max-width: 100%;
    padding: 0;
  }
  .closing-form-box {
    padding: 30px 20px;
  }

  .premium-guide-area {
    margin-top: 60px;
  }
  .premium-guide-title {
    font-size: 24px;
  }
  .premium-check-list-wrapper {
    grid-template-columns: 1fr; /* スマホで1列 */
    gap: 10px;
    max-width: 350px;
  }

  .faq-area {
    margin-top: 60px;
  }
  .faq-title {
    font-size: 24px;
  }
  .faq-item summary {
    padding: 15px 20px;
    font-size: 15px;
  }
  .faq-item .faq-icon {
    width: 12px; /* スマホでのアイコンサイズ調整 */
    height: 12px;
  }
  .faq-item .faq-icon::before {
    width: 7px;
    height: 7px;
  }
  .faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 14px;
  }
}

/* ======================================================= */
/* フッターセクション（Footer Section） */
/* ======================================================= */

.site-footer {
  background-color: #1a2b4d; /* 画像の濃いネイビー */
  padding: 30px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.copyright {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .site-footer {
    padding: 20px 0;
  }
  .copyright {
    font-size: 13px;
  }
}
