/* ============================================================
   寝違えページ専用CSS (nechigai.css)
   173ルール問題を回避するため別ファイルとして作成
============================================================ */

/* 共通・ユーティリティ */
.km-color-orange {
  color: #f15a24;
  font-weight: bold;
}
.km-photo-placeholder {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.km-photo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   お悩みセクション
   ※ 寝違えページでは現在画像ベースのため未使用。
   　 グローバル定義が他ページ（腰痛等）に干渉するためコメントアウト。
============================================================ */
/* .km-nayami-wrap {
  background: #fdfaf5;
  padding: 30px 15px;
  border-radius: 8px;
  margin: 0 auto 40px;
  max-width: 800px;
  border: 2px solid #e0e0e0;
}
.km-nayami-header {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 25px;
}
.km-nayami-header em {
  color: #e60012;
  font-style: normal;
}
.km-nayami-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.km-nayami-item {
  width: calc(50% - 7.5px);
  background: #fff;
  border: 2px solid #ffcc00;
  border-radius: 8px;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}
.km-nayami-item::before {
  content: "✓";
  position: absolute;
  top: -12px;
  left: -12px;
  background: #e60012;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}
.km-nayami-item-title {
  display: block;
  font-weight: bold;
  color: #333;
  font-size: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.km-nayami-item-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}
.km-nayami-catch {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: #f15a24;
  padding: 15px;
  border-radius: 8px;
  line-height: 1.4;
} */

/* ============================================================
   根本原因セクション
   ※ km-section--nechigai-geninスコープ付きで定義（他ページへの干渉を防ぐ）
============================================================ */
.km-section--nechigai-genin {
  padding: 40px 15px;
  background: #fff;
  max-width: 800px;
  margin: 0 auto 40px;
}
.km-section--nechigai-genin .km-genin-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}
.km-section--nechigai-genin .km-genin-main-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin: 0;
}
.km-section--nechigai-genin .km-genin-subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
}
.km-section--nechigai-genin .km-genin-list-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.km-section--nechigai-genin .km-genin-item {
  width: calc(50% - 7.5px);
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px 15px 15px 45px;
  position: relative;
  box-sizing: border-box;
}
.km-section--nechigai-genin .km-genin-num {
  position: absolute;
  top: 15px;
  left: 10px;
  background: #f15a24;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}
.km-section--nechigai-genin .km-genin-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.km-section--nechigai-genin .km-genin-text strong {
  color: #f15a24;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}
.km-section--nechigai-genin .km-genin-cycle-wrap {
  background: #fdfaf5;
  padding: 25px 15px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.km-section--nechigai-genin .km-genin-cycle-title {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid #f15a24;
  display: inline-block;
  padding-bottom: 5px;
}
.km-section--nechigai-genin .km-genin-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-top: 20px;
}
.km-section--nechigai-genin .km-genin-muscle-wrap {
  margin-top: 40px;
}
.km-section--nechigai-genin .km-genin-muscle-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  background: #eee;
  border-left: 5px solid #f15a24;
}
.km-section--nechigai-genin .km-genin-muscle-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}
.km-section--nechigai-genin .km-genin-muscle-img-title {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
}

/* ============================================================
   メリットセクション
============================================================ */
.nechigai-section--merit {
  background: #f9f9f9;
  padding: 40px 15px;
  margin: 0 auto 40px;
  max-width: 800px;
}
.nechigai-merit-header {
  text-align: center;
  margin-bottom: 30px;
}
.nechigai-merit-header h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin: 0;
}
.nechigai-merit-header-sub {
  font-size: 14px;
  color: #f15a24;
}
.nechigai-merit-icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.nechigai-merit-icon-item {
  width: 31%;
  text-align: center;
}
.nechigai-merit-icon-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto 10px;
}
.nechigai-merit-icon-text {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin: 0;
}
.nechigai-merit-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.nechigai-merit-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.nechigai-merit-card__header {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nechigai-merit-card__num {
  font-size: 32px;
  font-weight: bold;
  color: #f15a24;
  margin-right: 15px;
  line-height: 1;
}
.nechigai-merit-card__title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.4;
}
.nechigai-merit-card__body {
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.nechigai-merit-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}
.nechigai-merit-card__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ============================================================
   FAQセクション
   ※ 寝違えページでは現在画像ベースのため未使用。コメントアウト。
============================================================ */
/* .km-section--faq {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 15px;
}
.km-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.km-faq-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.km-faq-q {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f9f9f9;
  border-bottom: 1px dashed #ddd;
}
.km-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  margin-right: 15px;
  flex-shrink: 0;
}
.km-faq-icon--q {
  background: #4a6da7;
  color: #fff;
}
.km-faq-text {
  font-weight: bold;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
}
.km-faq-a {
  padding: 15px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
.km-faq-a p {
  margin: 0;
} */

/* ============================================================
   レスポンシブ (PC用)
============================================================ */
@media screen and (min-width: 769px) {
  /* .km-nayami-item { width: calc(25% - 11.25px); } */
  .km-section--nechigai-genin .km-genin-item { width: calc(25% - 11.25px); }
  .nechigai-merit-card__body {
    flex-direction: row;
    align-items: center;
  }
  .nechigai-merit-card__text {
    flex: 1;
    padding-right: 20px;
  }
  .nechigai-merit-card__img {
    width: 40%;
    flex-shrink: 0;
  }
}
