/* ===================================
   基本設定
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #d03020; /* ロゴのメインカラー（赤） */
  --secondary-color: #e54535; /* グラデーション用（明るい赤） */
  --hero-bg-color: #f8f8f8; /* ★新規: ヒーローセクションの背景色（明るいグレー）*/
  --success-color: #43e97b;
  --warning-color: #ffb74d;
  --danger-color: #f5576c;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

.form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .form-container {
    margin: 0 auto;
    padding: 0 0px;
  }
}

/* ===================================
   ヒーローセクション
=================================== */
.hero {
  /* 背景色を明るいグレーに変更 */
  background: var(--hero-bg-color);
  color: var(--dark-color); /* 文字色を濃い色に */
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* 曲線デザインを削除（シンプルにする） */
  border-radius: 0;
  margin-bottom: 0px;
}

.hero-icon {
  font-size: 50px;
  margin-bottom: 15px;
  color: var(--primary-color); /* ★修正: アイコンの色を赤に */
}

/* .fa-book-open:before は .hero-icon の子要素なので別途指定不要です */

.hero-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color); /* ★修正: タイトルを赤に */
}

.hero-subtitle {
  font-size: 18px;
  color: var(--dark-color); /* サブタイトルは濃い色を維持 */
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .header-logo img {
    width: 100%;
  }
}

/* ===================================
   メインコンテンツ
=================================== */
.main-content {
  padding: 60px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

@media (max-width: 768px) {
  .main-content {
    padding: 0px 0;
  }
}

/* ===================================
   ガイドセクション
=================================== */
.guide-section {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.section-number {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color); /* ★修正: セクションナンバーの色を赤に */
  opacity: 0.1;
  line-height: 1;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 28px;
  color: white;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .section-icon {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 8px;
  }
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-color);
}

.section-content {
  color: var(--text-color);
}

.section-intro {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 500;
}

/* ===================================
   ハイライトボックス
=================================== */
.highlight-box {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border-left: 5px solid var(--secondary-color);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.highlight-box .main-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.7;
}

.emphasize {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.1em;
}

/* ===================================
   情報カード
=================================== */
.info-card {
  display: block;
  padding: 25px;
  margin-bottom: 25px;
}

.info-card-header {
  display: flex;
}

.info-card.warning {
  background: #fff3e0;
  border-color: var(--warning-color);
}

.info-icon {
  font-size: 36px;
  margin-right: 20px;
  flex-shrink: 0;
}

/* 画面幅が768px以下（スマートフォン表示）のときのみ適用 */
@media (max-width: 768px) {
  /* --- 1. アイコンとタイトルを横並びにする --- */
  .info-card-header {
    display: flex; /* これでアイコンとタイトルが横並びになる */
    align-items: center; /* 垂直方向の中央揃え */
    margin-bottom: 8px; /* 本文との間に少し隙間を作る */
  }

  /* .info-card 自体が flex になって本文と横並びになるのを防ぐため block に戻す (念のため) */
  .info-card {
    display: block;
  }

  /* --- 2. アイコンを小さくする --- */
  .info-card-icon {
    /* アイコンのフォントサイズを小さくする */
    font-size: 1.2rem !important; /* 例: 1.2rem (約19px) */

    /* アイコンの背景ボックスや幅も小さくする（もしあれば） */
    width: 24px;
    height: 24px;
    line-height: 24px; /* 行の高さを幅と同じにすると縦位置が揃いやすい */

    /* タイトルとの間に隙間を作る */
    margin-right: 8px;

    /* 強制的に四角形のパディングを解除（もしデフォルトで設定されていた場合） */
    padding: 0;
  }

  /* --- 3. タイトルの調整 --- */
  .info-card-header .info-card-title {
    /* h3要素にデフォルトで設定されている上下マージンを解除 */
    margin-top: 0;
    margin-bottom: 0;

    /* タイトルのフォントサイズもスマホ向けに調整 (任意) */
    font-size: 1em; /* 親要素のフォントサイズに依存 */
  }

  /* --- 4. 本文の調整 --- */
  .info-card-body {
    /* 本文がヘッダーの下に独立して表示されるのを確認 */
    clear: both; /* 念のためfloatの影響を解除 */
    padding-left: 0; /* 左側のパディングを解除（もしデスクトップでアイコン分空けていた場合） */
  }
}

.info-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.info-content p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===================================
   引用ボックス (Quote Box)
=================================== */
.quote-box {
  position: relative;
  padding: 25px 30px 25px 30px;
  margin: 30px 0;
  /* ★修正点: 背景色を単色に変更しました ★ */
  background: #fff9ee;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary-color); /* 左側のラインを強調 */
}

.quote-icon {
  position: absolute;
  top: 30px;
  left: 25px;
  font-size: 30px;
  color: var(--primary-color); /* アイコンの色はメインカラー(赤)を維持 */
}

.quote-text {
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.quote-source {
  display: block;
  text-align: right;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 10px;
}

.reference-link {
  display: block;
  text-align: right;
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.reference-link:hover {
  text-decoration: underline;
}

/* ===================================
   E-E-A-T グリッド
=================================== */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.eeat-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.eeat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.eeat-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  /* ★★★ 修正点：背景色を追記しました ★★★ */
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .eeat-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin: 0 auto 20px;
  }
}

.eeat-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .eeat-item h3 {
    text-align: center;
  }
}

.sub-title {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 5px;
}

.eeat-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
}

.example {
  background: #f8f9fa;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-color);
  border-left: 3px solid var(--primary-color);
}

/* ===================================
   比較ボックス
=================================== */
.comparison-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.comparison-item {
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid;
}
.comparison-item ul {
  list-style: disc;
  padding-left: 1.5rem; /* ← 通常の左インデントを強制 */
  margin: 1rem 0;
  text-align: left; /* ← 中央寄せを解除 */
}

.comparison-item li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.comparison-item.bad {
  background: #ffebee;
  border-color: #f44336;
}

.comparison-item.good {
  background: #e8f5e9;
  border-color: #4caf50;
}

.comparison-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.comparison-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.comparison-item p {
  font-size: 15px;
  line-height: 1.7;
}

/* ===================================
   ヒントボックス
=================================== */
.tips-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 30px;
  border-radius: 15px;
  margin: 25px 0;
  border: 2px solid #2196f3;
}

.tips-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tips-list {
  list-style: none;
}

.tips-list li {
  padding: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.7;
}

.tips-list i {
  color: var(--success-color);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===================================
   構造例
=================================== */
.structure-example {
  margin: 30px 0;
}

.structure-example h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.structure-tree {
  background: white;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
}

.structure-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  margin: 10px 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

.structure-item.h1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.structure-item.h2 {
  background: #e3f2fd;
  color: #1976d2;
}

.structure-item.h3 {
  background: #f3e5f5;
  color: #7b1fa2;
  margin-left: 30px;
}

.structure-item .tag {
  background: rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.structure-children {
  margin-left: 20px;
}

/* ===================================
   推奨ボックス
=================================== */
.recommendation-box {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 30px;
  border-radius: 15px;
  margin: 25px 0;
  border: 2px solid var(--success-color);
}

.recommendation-icon {
  width: 80px;
  height: 80px;
  background: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
  margin-right: 25px;
  flex-shrink: 0;
}

.recommendation-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.frequency-badge {
  display: inline-block;
  background: var(--success-color);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ===================================
   ツールグリッド
=================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.tool-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.tool-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
}

.tool-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.tool-description {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.tool-metrics {
  list-style: none;
}

.tool-metrics li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
}

.tool-metrics i {
  color: var(--primary-color);
  font-size: 14px;
}

/* ===================================
   改善サイクル
=================================== */
.cycle-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.cycle-step {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 15px;
  box-shadow: var(--shadow);
}

.cycle-step p {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-color);
}

.cycle-arrow {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
}

/* ===================================
   チェックリスト
=================================== */
.checklist-intro {
  font-size: 17px;
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 25px;
}

.checklist-item {
  margin: 15px 0;
  display: flex; /* Flexboxを使い、チェックボックスとラベルを配置 */
  align-items: center;
}

.checklist-item input[type="checkbox"] {
  /* 標準のチェックボックスを表示しつつ、カスタムスタイルを適用 */
  width: 20px;
  height: 20px;
  margin-right: 15px;
  margin-top: 1px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0; /* 縮まないようにする */
  appearance: none; /* デフォルトのOSスタイルを無効化 */
  -webkit-appearance: none;
  position: relative;
  transition: all 0.2s ease;
}

.checklist-item input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3); /* フォーカス時のハイライト */
}

.checklist-item input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* チェックマークのアイコン (Font Awesome) をカスタムで表示 */
.checklist-item input[type="checkbox"]:checked::before {
  content: "\f00c"; /* Font AwesomeのチェックマークのUnicode */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checklist-item label {
  cursor: pointer;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--dark-color);
  padding: 0;
  border: none;
  background: transparent;
  transition: color 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked + label {
  color: var(--text-light); /* チェックが入ったら薄い色にする */
  text-decoration: line-through; /* チェックが入ったら打ち消し線を引く */
}

.completion-message {
  /* 完了メッセージのスタイル（変更なし） */
  display: none;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  border-radius: 15px;
  margin-top: 30px;
  color: white;
  animation: slideDown 0.5s ease;
}

/* ===================================
   フッター
=================================== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 50px 20px 30px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .footer {
    margin-top: 0px;
  }
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin: 12px 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--success-color);
  padding-left: 5px;
}

.footer-links a::before {
  content: "→";
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.8;
}

/* ===================================
   スクロールトップボタン
=================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   レスポンシブ対応
=================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .guide-section {
    padding: 40px 25px;
  }

  /* .section-header {
    flex-direction: column;
    align-items: flex-start;
  } */

  /* .section-icon {
    margin-bottom: 15px;
  } */

  .section-header h2 {
    font-size: 24px;
  }

  .eeat-grid,
  .comparison-box,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .cycle-steps {
    flex-direction: column;
  }

  .cycle-arrow {
    transform: rotate(90deg);
  }

  .recommendation-box {
    flex-direction: column;
    text-align: center;
  }

  .recommendation-icon {
    margin: 0 0 20px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }

  .hero-icon {
    font-size: 40px;
  }

  .hero-title {
    font-size: 26px;
  }

  .guide-section {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .section-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    left: 20px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .highlight-box .main-text {
    font-size: 17px;
  }

  .checklist-item label {
    font-size: 15px;
    padding: 12px;
  }
}

.check-list-ul {
  padding-left: 20px;
}
@media (max-width: 768px) {
  .check-list-ul {
    margin-top: 20px;
  }
}

/* ===================================
   ロゴとCTAボタン (追加・修正)
=================================== */

/* .form-row */
.form-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: 0; /* ← 追加 */
}

@media (max-width: 768px) {
  .form-row {
    gap: 0;
  }
}

.form-label-red {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0 1.5rem;
  border-radius: 8px;
  width: 170px; /* ← 幅を固定 */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center; /* ← 文字を中央揃え */
  text-align: center;
}

.form-input-red {
  width: 400px;
  height: 60px; /* ← 高さを60pxに調整 */
  padding: 0 1rem;
  font-size: 16px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-family: inherit;
  background: white;
  color: #333;
}

.form-input-red::placeholder {
  color: #aaa;
}

.form-input-red:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(208, 48, 32, 0.2);
}

.cta-button {
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: none; /* ← 枠線なし */
  border-radius: 8px; /* ← 角丸 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ← 薄いシャドウ */
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}
/* ============================
   フォームレスポンシブ対応
============================ */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-label-red {
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    height: 50px;
    padding: 1rem;
    font-size: 16px;
  }

  .form-input-red {
    width: 100%;
    height: 50px;
    border-radius: 0 0 8px 8px;
    font-size: 16px;
  }
}

/* ============================
   赤背景セクションの調整
============================ */
@media (max-width: 768px) {
  .guide-section {
    padding: 2rem 1rem;
  }

  /* .section-header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  } */

  /* .section-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  } */

  .section-header h2 {
    font-size: 20px;
    text-align: center;
  }

  .section-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 1rem;
  }

  .cta-button {
    font-size: 16px;
    padding: 0.75rem 2rem;
    min-width: auto;
    width: 100%;
    max-width: 320px;
  }
}
/* =============================
   スマホ表示の整形 for tool-card
============================= */
.tool-card {
  white-space: normal;
  line-height: 1.7;
  font-size: 16px;
}

/* <ul>のリスト内強調テキストを自然に表示 */
.tool-card .tool-metrics li {
  word-break: keep-all;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

/* 強調テキスト（<strong>）が途中で改行されないように */
.tool-card strong {
  white-space: nowrap;
}

/* モバイル表示対応：toolカード縦並び */
@media (max-width: 768px) {
  .tools-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .tool-card {
    padding: 1.5rem;
  }
}
/* 通常（PCなど）：strongはインライン */
.tool-metrics li strong {
  display: inline;
  margin-right: 0.3rem;
}

/* スマホ（768px以下）：strongを上にしてブロック表示 */
@media (max-width: 768px) {
  .tool-metrics li strong {
    display: block;
    margin-bottom: 0.2rem;
  }
}
.tool-metrics .label {
  font-weight: 700;
  margin-right: 0.5rem;
  display: inline;
}

.tool-metrics .desc {
  display: inline;
  white-space: normal;
  word-break: break-word;
}

/* スマホで縦並び */
@media (max-width: 768px) {
  .tool-metrics li {
    display: block;
  }

  .tool-metrics .label {
    margin-bottom: 0.2rem;
  }
}

/* =============================
   スマホ表示の改行
============================= */
/* 通常は非表示（PC・タブレット） */
br.sp-only {
  display: none;
}

/* スマホ（768px以下）のときだけ表示 */
@media (max-width: 768px) {
  br.sp-only {
    display: inline;
  }
}

.bold {
  font-weight: 700;
  margin-top: 16px;
}

/* =========================
   書いた後の受け皿チェック
========================= */

.after-publish .section-lead {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.after-check-list {
  margin: 30px 0;
}

.after-check-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
}

.after-check-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* アイコンカラー（意味付き） */
.icon-blue {
  background: #e8f1fb;
  color: #2f6fb2;
}

.icon-green {
  background: #eaf6f0;
  color: #2f8f6a;
}

.icon-orange {
  background: #fff2e5;
  color: #d97706;
}

.after-check-text h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.after-check-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.section-note {
  font-size: 13px;
  color: #666;
  margin-top: 24px;
  line-height: 1.7;
}

/* SP調整 */
@media (max-width: 768px) {
  .after-check-item {
    gap: 14px;
  }

  .after-check-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}
