/* ============================================================
   整骨院元 くまなん院 / 症状ページ 専用スタイルシート
   ファイル名: kumanan-symptoms.css
   配置場所  : amaterasu_現行/ （テーマフォルダ直下）
   読み込み  : header-2.php に1行追記して使用
   ※ すべてのクラスに .km- プレフィックスを付与
     → 既存の style.css / common.css 等と完全に競合しません
   ※ 腰痛・肩こり・膝痛など全症状ページで共通使用
   ============================================================ */

/* ============================================================
   共通ベース
   ============================================================ */
.km-page {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  line-height: 1.7;
  /* #content(700px)の中に収まる想定。max-widthは念のため */
  max-width: 100%;
  margin: 0;
  padding: 0 0 60px;
}

.km-page *,
.km-page *::before,
.km-page *::after {
  box-sizing: border-box;
}

/* 既存テーマの * img { margin:0; padding:0; } を症状ページ内で上書き */
.km-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.km-page a {
  color: inherit;
  text-decoration: none;
}

/* セクション共通 */
.km-section {
  margin-bottom: 48px;
}

/* ============================================================
   ヘッダービジュアル（画像）
   ============================================================ */
.km-hero-img {
  width: 100%;
  display: block;
  margin-bottom: 0;
}

/* ============================================================
   お悩みセクション
   ============================================================ */
.km-nayami-wrap {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #c8daf0;
}

.km-nayami-header {
  background: linear-gradient(135deg, #1a4fa0, #2a7fc4);
  color: #fff;
  text-align: center;
  padding: 20px 16px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}

.km-nayami-header em {
  color: #ffe066;
  font-style: normal;
}

.km-nayami-list {
  background: #f0f6ff;
  padding: 12px;
}

.km-nayami-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d0e0f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.km-nayami-item:last-child {
  margin-bottom: 0;
}

.km-nayami-item-body {
  flex: 1;
}

.km-nayami-item-title {
  font-size: 17px;
  font-weight: bold;
  color: #1a4fa0;
  margin-bottom: 4px;
}

.km-nayami-item-detail {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.km-nayami-item-img {
  width: 100px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.km-nayami-item-img img {
  width: 100%;
  border-radius: 6px;
}

.km-nayami-footer {
  background: #fff;
  border-top: 1px solid #c8daf0;
  text-align: center;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  color: #e02020;
}

/* ============================================================
   患者様の声
   ============================================================ */
.km-voice-header {
  text-align: center;
  margin-bottom: 20px;
}

.km-voice-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 4px;
}

.km-voice-title {
  font-size: 20px;
  font-weight: bold;
}

.km-voice-title em {
  color: #1a4fa0;
  font-style: normal;
}

.km-voice-sub {
  font-size: 13px;
  color: #666;
}

.km-voice-card {
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fafcff;
}

.km-voice-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0e8f0;
}

.km-voice-photo {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f0ff;
}

.km-voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.km-voice-name {
  font-size: 15px;
  font-weight: bold;
  color: #444;
}

.km-voice-result {
  background: #1a4fa0;
  color: #fff;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 14px;
  line-height: 1.6;
}

.km-voice-result-main {
  font-size: 17px;
}

.km-voice-lead {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 14px;
  line-height: 1.7;
}

.km-voice-qa {
  margin-bottom: 12px;
}

.km-voice-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}

.km-voice-qnum {
  background: #1a4fa0;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.km-voice-a {
  font-size: 13px;
  color: #555;
  padding-left: 30px;
  line-height: 1.8;
}

.km-voice-a em {
  color: #1a4fa0;
  font-style: normal;
  font-weight: bold;
}

/* ============================================================
   ビフォーアフター
   ============================================================ */
.km-ba-header {
  text-align: center;
  margin-bottom: 16px;
}

.km-ba-label {
  font-size: 13px;
  color: #c08060;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.km-ba-title {
  font-size: 20px;
  font-weight: bold;
}

.km-ba-sub {
  font-size: 12px;
  color: #888;
}

.km-ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.km-ba-photo-box {
  border-radius: 6px;
  overflow: hidden;
}

.km-ba-photo-label {
  padding: 6px 10px;
  font-weight: bold;
  font-size: 13px;
  color: #fff;
}

.km-ba-photo-box.km-before .km-ba-photo-label { background: #8b6040; }
.km-ba-photo-box.km-after  .km-ba-photo-label { background: #c45a1a; }

.km-ba-photo-box img {
  width: 100%;
}

.km-ba-result {
  background: #fff8f0;
  border: 1px solid #e8c090;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.7;
}

.km-ba-result em {
  color: #c45a1a;
  font-style: normal;
}

.km-ba-result small {
  font-size: 12px;
  font-weight: normal;
  color: #888;
}

/* ============================================================
   原因セクション
   ============================================================ */
.km-genin-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 2px solid #e05a20;
  margin-bottom: 20px;
}

.km-genin-lead {
  background: #fff5f0;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.km-genin-tag {
  display: inline-block;
  background: #e05a20;
  color: #fff;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 15px;
  margin-right: 8px;
}

.km-genin-lead-text {
  font-size: 17px;
  font-weight: bold;
}

.km-genin-lead p {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
  line-height: 1.8;
}

.km-genin-lead p em {
  color: #e05a20;
  font-style: normal;
  font-weight: bold;
}

.km-genin-grid-title {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #e05a20;
  margin-bottom: 12px;
}

.km-genin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: #fff5f0;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 8px;
}

.km-genin-row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #fff5f0;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
}

.km-genin-item {
  text-align: center;
}

.km-genin-item img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 6px;
}

.km-genin-item-label {
  font-size: 11px;
  font-weight: bold;
  color: #555;
  line-height: 1.4;
}

.km-genin-summary {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.km-genin-summary em {
  color: #e05a20;
  font-style: normal;
  font-weight: bold;
}

.km-genin-conclusion {
  background: #fff5f0;
  border-left: 4px solid #e05a20;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.9;
}

.km-genin-conclusion span {
  font-weight: normal;
  font-size: 13px;
}

/* ============================================================
   改善の仕組み
   ============================================================ */
.km-method-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a4fa0;
  margin-bottom: 20px;
}

.km-method-lead {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 6px;
  line-height: 1.6;
}

.km-method-lead .km-big {
  font-size: 26px;
  color: #1a4fa0;
}

.km-method-body {
  font-size: 14px;
  color: #444;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.9;
}

.km-method-body em {
  color: #1a4fa0;
  font-style: normal;
  font-weight: bold;
}

.km-method-inner {
  border: 2px solid #1a4fa0;
  border-radius: 6px;
  padding: 16px;
}

.km-method-inner-label {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.km-method-inner img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
}

.km-method-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 13px;
}

.km-method-table th {
  background: #1a4fa0;
  color: #fff;
  padding: 8px 12px;
  text-align: left;
}

.km-method-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e0e8f0;
}

.km-method-table tr:nth-child(even) td {
  background: #f0f6ff;
}

.km-method-note {
  background: #f0f6ff;
  border: 1px solid #c0d4f0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #444;
}

/* ============================================================
   改善しやすい理由
   ============================================================ */
.km-reason-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.km-reason-title em {
  color: #1a4fa0;
  font-style: normal;
}

.km-reason-subtitle {
  background: #1a4fa0;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.km-reason-subtitle em {
  color: #ffe066;
  font-style: normal;
}

.km-reason-with-photo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.km-reason-with-photo-text {
  flex: 1;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.km-reason-with-photo-text em {
  color: #e05a20;
  font-style: normal;
  font-weight: bold;
}

.km-reason-with-photo-img {
  width: 130px;
  flex-shrink: 0;
}

.km-reason-with-photo-img img {
  width: 100%;
  border-radius: 6px;
}

.km-reason-box {
  border: 2px solid #1a4fa0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.km-reason-box-title {
  background: #1a4fa0;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 16px;
  line-height: 1.5;
}

.km-reason-box-title span {
  color: #ffe066;
}

.km-reason-flow {
  padding: 16px;
}

.km-flow-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.km-flow-num {
  background: #1a4fa0;
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.km-flow-num.km-pain {
  background: #e02020;
}

.km-flow-title {
  font-weight: bold;
  font-size: 14px;
}

.km-flow-desc {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.km-flow-arrow {
  text-align: center;
  font-size: 18px;
  color: #1a4fa0;
  margin: -4px 0 4px;
  line-height: 1;
}

.km-reason-box-inner {
  display: flex;
  gap: 12px;
  padding: 16px;
  align-items: flex-start;
}

.km-reason-box-inner-img {
  width: 120px;
  flex-shrink: 0;
}

.km-reason-box-inner-img img {
  width: 100%;
  border-radius: 6px;
}

.km-reason-box-inner-flow {
  flex: 1;
}

.km-reason-box-note {
  padding: 0 16px 16px;
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}

.km-reason-conclusion {
  text-align: center;
  margin: 20px 0 10px;
}

.km-reason-conclusion-lead {
  font-size: 14px;
  color: #666;
}

.km-reason-conclusion-main {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
}

.km-reason-conclusion-main em {
  color: #1a4fa0;
  font-style: normal;
}

.km-reason-conclusion-sub {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
  line-height: 1.8;
}

.km-reason-conclusion-sub em {
  color: #e05a20;
  font-style: normal;
  font-weight: bold;
}

.km-reason-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.km-reason-icon-item {
  text-align: center;
  background: #f0f6ff;
  border-radius: 6px;
  padding: 14px 12px;
  font-size: 12px;
  font-weight: bold;
  color: #1a4fa0;
  line-height: 1.5;
  min-width: 90px;
  flex: 0 0 auto;
}

.km-reason-icon-item .km-icon {
  display: block;
  margin: 0 auto 8px;
}

.km-reason-icon-item .km-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* シルエット：白背景上で濃紺に着色 */
  filter: brightness(0) saturate(100%) invert(22%) sepia(72%) saturate(700%) hue-rotate(200deg) brightness(90%);
}

/* ============================================================
   初回キャンペーン（画像）
   ============================================================ */
.km-offer-img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* ============================================================
   他院との比較表
   ============================================================ */
.km-comp-intro {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.km-comp-intro-img {
  width: 120px;
  flex-shrink: 0;
}

.km-comp-intro-img img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.km-comp-title {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.6;
  flex: 1;
}

.km-comp-title em {
  color: #1a4fa0;
  font-style: normal;
}

.km-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.km-comp-table th {
  padding: 10px 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.km-comp-table th.km-th-gen   { background: #1a4fa0; color: #fff; }
.km-comp-table th.km-th-other { background: #888; color: #fff; }
.km-comp-table th.km-th-item  { background: #f0f0f0; color: #333; }

.km-comp-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.6;
}

.km-comp-table td.km-td-item  { text-align: left; font-weight: bold; background: #fafafa; font-size: 12px; }
.km-comp-table td.km-td-gen   { background: #f0f6ff; color: #1a4fa0; font-weight: bold; }
.km-comp-table td.km-td-other { color: #888; }

.km-comp-good { color: #1a4fa0; font-size: 15px; font-weight: bold; }
.km-comp-bad  { color: #aaa; font-size: 15px; }

.km-comp-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.km-comp-photos img {
  width: 100%;
  border-radius: 6px;
}

.km-comp-conclusion {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
  line-height: 1.6;
}

.km-comp-conclusion em {
  color: #1a4fa0;
  font-style: normal;
}

/* ============================================================
   施術の流れ
   ============================================================ */
.km-flow-section-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a4fa0;
}

.km-step {
  margin-bottom: 24px;
}

.km-step-num {
  background: #1a4fa0;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px 4px 0 0;
  display: inline-block;
}

.km-step img {
  width: 100%;
  border-radius: 0 6px 6px 6px;
  margin-bottom: 10px;
}

.km-step-title {
  font-size: 16px;
  font-weight: bold;
  border-left: 4px solid #1a4fa0;
  padding-left: 10px;
  margin-bottom: 8px;
}

.km-step-body {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.km-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.km-step-tag {
  background: #e8f0ff;
  color: #1a4fa0;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}

.km-step-arrow {
  text-align: center;
  font-size: 20px;
  color: #1a4fa0;
  margin: -12px 0 12px;
  line-height: 1;
}

/* ============================================================
   3つのメリット
   ============================================================ */
.km-merit-header {
  text-align: center;
  margin-bottom: 20px;
}

.km-merit-label {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.1em;
}

.km-merit-title {
  font-size: 22px;
  font-weight: bold;
}

.km-merit-num {
  font-size: 34px;
  font-weight: 900;
  color: #1a4fa0;
}

.km-merit-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: #1a4fa0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.km-merit-icon-item {
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
  min-width: 90px;
  flex: 0 0 auto;
}

.km-merit-icon-item .km-icon {
  display: block;
  margin: 0 auto 8px;
}

.km-merit-icon-item .km-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* シルエット：白く着色 */
  filter: brightness(0) invert(1);
}

.km-merit-card {
  border: 1px solid #c0d4f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.km-merit-card img {
  width: 100%;
}

.km-merit-card-body {
  padding: 16px;
}

.km-merit-card-num {
  font-size: 44px;
  font-weight: 900;
  color: #1a4fa0;
  line-height: 1;
  margin-bottom: 4px;
}

.km-merit-card-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5;
}

.km-merit-card-title em {
  color: #1a4fa0;
  font-style: normal;
}

.km-merit-card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ============================================================
   Instagramバナー
   ============================================================ */
.km-insta-banner {
  border: 2px solid #1a4fa0;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 30px;
  text-decoration: none;
  transition: background 0.2s;
}

.km-insta-banner:hover {
  background: #f0f6ff;
}

.km-insta-text {
  font-size: 15px;
  font-weight: bold;
  color: #1a4fa0;
}

.km-insta-icon {
  font-size: 28px;
  color: #1a4fa0;
}

/* ============================================================
   よくある質問
   ============================================================ */
.km-faq-title {
  background: #1a4fa0;
  color: #fff;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  padding: 16px;
  border-radius: 6px 6px 0 0;
  line-height: 1.6;
}

.km-faq-list {
  border: 1px solid #c0d4f0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.km-faq-item {
  border-bottom: 1px solid #e0e8f0;
}

.km-faq-item:last-child {
  border-bottom: none;
}

.km-faq-q {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #f8fbff;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.6;
}

.km-faq-q-icon {
  background: #1a4fa0;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.km-faq-a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px 16px;
  font-size: 13px;
  color: #444;
  line-height: 1.8;
}

.km-faq-a-icon {
  background: #e05a20;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.km-faq-a em {
  color: #1a4fa0;
  font-style: normal;
  font-weight: bold;
}

.km-faq-highlight {
  background: #fffbe0;
  padding: 1px 4px;
  border-radius: 2px;
}

/* ============================================================
   人物写真プレースホルダー（本番では不要・削除可）
   ============================================================ */
.km-photo-ph {
  border: 2px dashed #2a8a2a;
  border-radius: 6px;
  background: #f0fff0;
  padding: 16px;
  text-align: center;
  color: #2a8a2a;
  font-size: 12px;
  font-weight: bold;
}

.km-photo-ph .km-ph-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.km-photo-ph .km-ph-label {
  font-size: 11px;
  color: #555;
  margin-top: 4px;
  font-weight: normal;
}

/* ============================================================
   スマホ対応 (max-width: 768px)
   ============================================================ */
@media screen and (max-width: 768px) {

  .km-page {
    font-size: 14px;
    padding: 0 0 40px;
  }

  /* お悩み */
  .km-nayami-header {
    font-size: 16px;
    padding: 14px 12px;
  }

  .km-nayami-item-img {
    width: 80px;
  }

  .km-nayami-footer {
    font-size: 16px;
  }

  /* 患者の声 */
  .km-voice-title {
    font-size: 18px;
  }

  /* ビフォーアフター */
  .km-ba-photos {
    grid-template-columns: 1fr 1fr;
  }

  /* 原因 */
  .km-genin-title {
    font-size: 17px;
  }

  .km-genin-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .km-genin-row3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 改善の仕組み */
  .km-method-title {
    font-size: 17px;
  }

  /* 改善しやすい理由 */
  .km-reason-with-photo {
    flex-direction: column;
  }

  .km-reason-with-photo-img {
    width: 100%;
  }

  .km-reason-box-inner {
    flex-direction: column;
  }

  .km-reason-box-inner-img {
    width: 100%;
  }

  /* 比較表 */
  .km-comp-table {
    font-size: 11px;
  }

  .km-comp-table th,
  .km-comp-table td {
    padding: 7px 6px;
  }

  .km-comp-intro {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .km-comp-intro-img {
    width: 90px;
    flex-shrink: 0;
  }

  .km-comp-title {
    font-size: 14px;
    line-height: 1.7;
  }

  /* メリット */
  .km-merit-icons {
    gap: 8px;
    justify-content: center;
  }

  .km-merit-icon-item {
    text-align: center;
    min-width: 80px;
  }

  .km-merit-icon-item .km-icon img {
    width: 40px;
    height: 40px;
  }

  /* 理由アイコン */
  .km-reason-icons {
    justify-content: center;
  }

  .km-reason-icon-item .km-icon img {
    width: 40px;
    height: 40px;
  }

  /* FAQ */
  .km-faq-title {
    font-size: 15px;
  }

  .km-faq-q {
    font-size: 13px;
  }

}
