

/* セクション全体 */
.problem_j-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.problem_j-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* 左側：ヘッダーエリア */
.problem_j-header {
  width: 300px;
  flex-shrink: 0;
}

.problem_j-badge {
  display: inline-block;
  background-color: #c81326; /* ブランドカラーの赤 */
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.problem_j-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.02em;
}

/* 右側：リストエリア */
.problem_j-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 各リストアイテム */
.problem_j-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* 黒丸数字アイコン */
.problem_j-num {
  width: 48px;
  height: 48px;
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  line-height: 1;
}

/* 右側テキスト群 */
.problem_j-content {
  flex: 1;
  padding-top: 2px;
}

.problem_j-item-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.problem_j-item-text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .problem_j-section {
    padding: 50px 30px;
  }

  .problem_j-container {
    flex-direction: column;
    gap: 35px;
  }

  .problem_j-header {
    width: 100%;
  }

  .problem_j-badge {
  margin-bottom: 10px;
  }

  .problem_j-title {
    font-size: 22px;
  }

  .problem_j-title .first-br {
    display: none; /* スマホ時は見出しの無理な改行を解除 */
  }

  .problem_j-list {
    gap: 24px;
  }

  .problem_j-num {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
 
  .problem_j-item {
  gap: 10px;
  }

  .problem_j-item-title {
    font-size: 16px;
  }

  .problem_j-item-text {
    font-size: 13px;
  }
}


/* セクション全体 */
.jentry-section {
  padding: 80px 20px;
  background-color: #f4f4f4;
}

.jentry-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.jentry-sub-title {
  display: block;
  color: #c81326; /* 赤色 */
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.jentry-main-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
}

/* リード文 */
.jentry-description {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 35px 0;
}

/* 中央メイン画像エリア */
.jentry-diagram-area {
  width: 100%;
  margin-bottom: 25px;
}

.jentry-diagram-area picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャッチコピー */
.jentry-catch {
  font-size: 16px;
  font-weight: bold;
  color: #c81326;
  text-align: center;
  margin: 0 0 40px 0;
  line-height: 1.6;
}

/* 下部カード全体 */
.jentry-card {
  background-color: #ffffff;
  display: flex;
  border-top: 4px solid #c81326; /* 上部の赤ライン */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* 各カードアイテム */
.jentry-card-item {
  flex: 1;
  padding: 30px 25px 35px;
  box-sizing: border-box;
  border-right: 1px solid #ddd; /* 内側の区切り線 */
}

.jentry-card-item:last-child {
  border-right: none;
}

.jentry-card-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #c81326;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.jentry-card-num {
  font-size: 28px;
  font-weight: bold;
  color: #c81326;
  line-height: 1.1;
  margin-bottom: 12px;
}

.jentry-card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.jentry-card-text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .jentry-section {
    padding: 50px 30px;
  }

  .jentry-main-title {
    font-size: 24px;
  }

  .jentry-description {
    font-size: 13px;
    margin-bottom: 25px;
  }

  .jentry-catch {
    font-size: 13px;
    margin-bottom: 30px;
    text-align: left; /* スマホでは左揃えで見やすく */
  }

  /* 3列カードを縦並びに切り替え */
  .jentry-card {
    flex-direction: column;
  }

  .jentry-card-item {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 24px 20px;
  }

  .jentry-card-item:last-child {
    border-bottom: none;
  }

  .jentry-card-num {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .jentry-card-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .jentry-card-text {
    font-size: 13px;
  }

  .jentry-diagram-area picture img {
  width: 90%;
  margin: 0 auto;
  }
}


/* セクション全体 */
.program-section {
  padding: 80px 20px;
  background-color: #fff;
}

.program-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.program-sub-title {
  display: block;
  color: #c81326; /* 赤色 */
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.program-main-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 35px 0;
}

/* 画像エリア（上下共通） */
.program-image-area {
  width: 100%;
  margin-bottom: 35px;
}

.program-image-area picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* フェーズカードリスト */
.program-phase-list {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 35px;
}

/* フェーズカード全体 */
.program-phase-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* カードヘッダー */
.program-phase-header {
  padding: 14px 24px;
  color: #ffffff;
}

.program-phase-header.phase-1 {
  background-color: #c81326; /* フェーズ1の赤 */
}

.program-phase-header.phase-2 {
  background-color: #333333; /* フェーズ2のダークグレー */
}

.program-phase-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.02em;
}

/* カード本文 */
.program-phase-body {
  padding: 24px 30px 28px;
}

/* サブタイトル（期間・費用） */
.program-phase-sub {
  font-size: 14px;
  font-weight: bold;
  color: #c81326;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.program-phase-sub.dark {
  color: #222222;
}

/* リストアイテム */
.program-phase-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-phase-items li {
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  padding-left: 14px;
}

.program-phase-items li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* 注記テキスト（フェーズ2下部） */
.program-phase-note {
  font-size: 14px;
  margin: 18px 0 0 0;
  line-height: 1.6;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .program-section {
    padding: 50px 30px;
  }

  .program-main-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .program-image-area {
    margin-bottom: 25px;
  }

  .program-phase-header {
    padding: 12px 16px;
  }

  .program-phase-title {
    font-size: 14px;
  }

  .program-phase-body {
    padding: 18px 16px 20px;
  }

  .program-phase-sub {
    font-size: 12px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .program-phase-items li {
    font-size: 12px;
  }

  .program-phase-list {
  width: 100%;
  }

  .program-phase-note {
  font-size: 12px;
  }

}


/* セクション全体（赤い背景） */
.kpi-section {
  background-color: #c81326; /* ブランドカラーの赤 */
  padding: 80px 20px;
  color: #ffffff;
}

.kpi-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* 左側：ヘッダーエリア */
.kpi-header {
  width: 320px;
  flex-shrink: 0;
}

.kpi-sub-title {
  display: block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  opacity: 0.9;
}

.kpi-main-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 24px 0;
  letter-spacing: 0.02em;
}

.kpi-lead {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 20px;
}

/* 右側：KPIグリッドエリア (2行3列) */
.kpi-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 各グリッドアイテム */
.kpi-item {
  padding: 24px 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 数字部分（線指定を解除） */
.kpi-num {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 8px; /* 余白を調整 */
  position: relative;
  display: inline-block;
  padding-bottom: 0; /* 下線の余白を削除 */
}

/* ※以前あった .kpi-num::after の下線設定は削除しました */

.kpi-unit {
  font-size: 16px;
  margin-left: 2px;
}

.kpi-num.text-en {
  font-size: 28px;
}

/* 【★修正ポイント】ラベルテキスト（下の文字幅に合わせて上線を設定） */
.kpi-label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.02em;
  
  display: inline-block;
  position: relative;
  padding-top: 10px; /* 線と文字の間の間隔 */
  margin-top: 2px;
  white-space: nowrap; /* テキスト長に正確に連動させる */
}

/* 下の文字幅に連動する上線 */
.kpi-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 下の文字（.kpi-label）の幅100%に合わせる */
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .kpi-section {
    padding: 50px 30px;
  }

  .kpi-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .kpi-header {
    width: 100%;
  }

  .kpi-main-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .kpi-lead {
    font-size: 16px;
    padding-top: 16px;
  }

  /* 2列に変更 */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-item {
    padding: 20px 10px;
  }

  .kpi-num {
    font-size: 26px;
  }

  .kpi-num.text-en {
    font-size: 22px;
  }

  .kpi-unit {
    font-size: 14px;
  }

  .kpi-label {
    font-size: 10.5px;
    white-space: normal; /* スマホで文字が長くて収まらない場合の折り返し許容 */
  }
}


/* セクション全体 */
.why-wi-section {
  padding: 80px 20px;
  background-color: #fff;
}

.why-wi-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.why-wi-sub-title {
  display: block;
  color: #c81326; /* ブランドカラーの赤 */
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.why-wi-main-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
}

/* リード文 */
.why-wi-description {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 25px 0;
}

/* 4カラム実績ボックス */
.why-wi-stats-box {
  background-color: #ffffff;
  display: flex;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* 各実績アイテム */
.why-wi-stats-item {
  flex: 1;
  padding: 35px 15px 30px;
  text-align: center;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-wi-stats-item:last-child {
  border-right: none;
}

/* 数字スタイル（下線指定を解除） */
.why-wi-num {
  font-size: 48px;
  font-weight: bold;
  color: #c81326;
  line-height: 1.1;
  margin-bottom: 8px; /* 余白を調整 */
  position: relative;
  padding-bottom: 0; /* 下線の余白を削除 */
  display: inline-block;
}

/* ※以前あった .why-wi-num::after の下線設定は削除しました */

.why-wi-unit {
  font-size: 18px;
  margin-left: 2px;
}

.why-wi-num.text-lg {
  font-size: 36px;
  line-height: 1.35;
}

/* 【★修正ポイント】下部ラベル（下の文字幅に合わせて上線を設定） */
.why-wi-label {
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
  letter-spacing: 0.02em;

  display: inline-block;
  position: relative;
  padding-top: 10px; /* 線と文字の間の間隔 */
  margin-top: 2px;
  white-space: nowrap; /* テキスト長に正確に連動させる */
}

/* 下の文字幅に連動する上線 */
.why-wi-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 下の文字（.why-wi-label）の幅100%に合わせる */
  height: 1px;
  background-color: #ddd;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .why-wi-section {
    padding: 50px 30px;
  }

  .why-wi-main-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .why-wi-description {
    font-size: 13px;
    margin-bottom: 15px;
  }

  /* 2行2列のグリッドへ変更 */
  .why-wi-stats-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .why-wi-stats-item {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 25px 10px 20px;
  }

  /* 右側のアイテムの右線を消去 */
  .why-wi-stats-item:nth-child(2n) {
    border-right: none;
  }

  /* 下段アイテムの下線を消去 */
  .why-wi-stats-item:nth-child(3),
  .why-wi-stats-item:nth-child(4) {
    border-bottom: none;
  }

  .why-wi-num {
    font-size: 36px;
    margin-bottom: 8px;
    padding-bottom: 0;
  }

  .why-wi-num.text-lg {
    font-size: 28px;
  }

  .why-wi-unit {
    font-size: 15px;
  }

  .why-wi-label {
    font-size: 11px;
    white-space: normal; /* スマホで折り返す場合の対応 */
  }
}


/* セクション全体 */
.comparison-section {
  padding: 80px 20px;
  background-color: #f4f4f4;
}

.comparison-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ヘッダー */
.comparison-sub-title {
  display: block;
  color: #c81326; /* ブランドカラーの赤 */
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.comparison-main-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 35px 0;
}

/* テーブルラッパー（スマホ時の横スクロール用） */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 比較テーブル全体 */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border: 1px solid #ddd;
  font-size: 14px;
  text-align: center;
}

/* ヘッダー・見出しセル */
.comparison-table th,
.comparison-table td {
  padding: 16px 12px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.comparison-table thead th {
  font-weight: bold;
  background-color: #ffffff;
  white-space: nowrap;
}

/* 行の見出し (左端のカラム) */
.comparison-table tbody th {
  font-weight: bold;
  text-align: left;
  background-color: #ffffff;
  white-space: nowrap;
  padding-left: 20px;
}

.comparison-table td {
  color: #444444;
}

/* 「Jエントリー」列の強調（必要に応じて背景や文字色を調整） */
.comparison-table .highlight {
  font-weight: bold;
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {
  .comparison-section {
    padding: 50px 30px;
  }

  .comparison-main-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .comparison-table {
    min-width: 640px; /* テーブルの崩れを防ぐ最小幅 */
    font-size: 12px;
  }

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

  .comparison-table tbody th {
    padding-left: 12px;
  }
}