/* ==========================================================================
   整骨院元 くまなん院／オスグッドページ専用CSS
   ラッパー：.km-page--osgood　プレフィックス：.os-
   ========================================================================== */

.km-page--osgood {
  --os-blue: #1E88C7;
  --os-blue-light: #eaf4fb;
  --os-orange: #F2994A;
  --os-orange-light: #fff3ec;
  --os-yellow: #F5B301;
  --os-yellow-light: #fff8e1;
  --os-red: #E5555A;
  --os-green: #2E8B3D;
  --os-text: #333333;
  --os-text-sub: #555555;
  --os-border: #e0e0e0;
  --os-beige: #fdf8f2;
  font-size: 16px;
  line-height: 1.8;
  color: var(--os-text);
}

.km-page--osgood * {
  box-sizing: border-box;
}

/* ---------- 共通セクション ---------- */
.km-page--osgood .os-section {
  padding: 48px 16px;
  max-width: 700px;
  margin: 0 auto;
}

.km-page--osgood .os-section--nopad {
  padding: 0;
  max-width: 100%;
}

.km-page--osgood .os-section--beige {
  background: var(--os-beige);
  max-width: 100%;
  padding: 48px 16px;
}

.km-page--osgood .os-section--blue-bg {
  background: var(--os-blue-light);
  max-width: 100%;
  padding: 48px 16px;
}

.km-page--osgood .os-section--orange-bg {
  background: var(--os-orange-light);
  max-width: 100%;
  padding: 48px 16px;
}

.km-page--osgood .os-section-inner {
  max-width: 700px;
  margin: 0 auto;
}

.km-page--osgood .os-full-img {
  display: block;
  width: 100%;
  height: auto;
}

.km-page--osgood .os-section-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center !important;
  color: var(--os-text) !important;
  margin: 0 0 24px;
  line-height: 1.5;
  border: none !important;
}

.km-page--osgood .os-section-title::before,
.km-page--osgood .os-section-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-section-lead {
  text-align: center !important;
  color: var(--os-text-sub);
  margin: 0 0 32px;
  font-size: 15px;
}

.km-page--osgood .os-note {
  font-size: 13px;
  color: var(--os-text-sub);
  text-align: right;
  margin-top: 8px;
}

.km-page--osgood p {
  text-align: left;
}

/* ---------- セクション2：オスグッドと成長痛の違い（比較表） ---------- */
.km-page--osgood .os-hikaku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 16px;
}

.km-page--osgood .os-hikaku-table th,
.km-page--osgood .os-hikaku-table td {
  border: 1px solid var(--os-border);
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
}

.km-page--osgood .os-hikaku-table thead th {
  background: var(--os-yellow);
  color: #ffffff;
  font-size: 14px;
}

.km-page--osgood .os-hikaku-table th:first-child,
.km-page--osgood .os-hikaku-table td:first-child {
  background: var(--os-yellow-light);
  font-weight: bold;
  white-space: nowrap;
}

/* ---------- セクション3：こんなお悩みありませんか？ ---------- */
.km-page--osgood .os-nayami-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

.km-page--osgood .os-nayami-card {
  background: #ffffff;
  border: 1px solid var(--os-border);
  border-radius: 8px;
  padding: 16px;
}

.km-page--osgood .os-nayami-num-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.km-page--osgood .os-nayami-num {
  font-size: 22px;
  font-weight: bold;
  color: var(--os-orange);
  line-height: 1;
}

.km-page--osgood .os-nayami-card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--os-text) !important;
  margin: 0;
  text-align: left !important;
  border: none !important;
}

.km-page--osgood .os-nayami-card-title::before,
.km-page--osgood .os-nayami-card-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-nayami-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto 12px;
}

.km-page--osgood .os-nayami-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.km-page--osgood .os-nayami-card li {
  font-size: 14px;
  color: var(--os-text);
  padding: 4px 0;
}

.km-page--osgood .os-nayami-summary {
  text-align: center;
}

.km-page--osgood .os-nayami-summary p {
  text-align: center !important;
  font-size: 14px;
  margin: 0 0 12px;
}

/* ---------- セクション4：オスグッドってどんな症状？ ---------- */
.km-page--osgood .os-mechanism-box {
  border: 2px solid var(--os-blue);
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
}

.km-page--osgood .os-mechanism-box-title {
  background: var(--os-blue);
  color: #ffffff;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 16px;
}

/* ---------- セクション5：成長痛の症状 ---------- */
.km-page--osgood .os-seicho-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.km-page--osgood .os-seicho-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.km-page--osgood .os-seicho-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.km-page--osgood .os-seicho-box {
  border: 2px solid var(--os-blue);
  border-radius: 8px;
  padding: 14px;
}

.km-page--osgood .os-seicho-box p {
  font-size: 14px;
  margin: 0;
  color: var(--os-text);
  text-align: left !important;
}

.km-page--osgood .os-seicho-age {
  text-align: center;
  border: 2px solid var(--os-blue);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 16px;
}

/* ---------- セクション6：似た症状 ---------- */
.km-page--osgood .os-nita-item {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.km-page--osgood .os-nita-item:last-child {
  margin-bottom: 0;
}

.km-page--osgood .os-nita-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--os-blue) !important;
  margin: 0 0 8px;
  padding-bottom: 6px;
  text-align: left !important;
  border: none !important;
  border-bottom: 2px solid var(--os-blue);
  display: inline-block;
}

.km-page--osgood .os-nita-title::before,
.km-page--osgood .os-nita-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-nita-item p {
  font-size: 14px;
  color: var(--os-text);
  margin: 0;
  text-align: left !important;
}

/* ---------- セクション7：改善へ向かう3つの理由 ---------- */
.km-page--osgood .os-riyuu-banner {
  background: #ffffff;
  border: 2px solid var(--os-blue);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.km-page--osgood .os-riyuu-banner p {
  text-align: center !important;
  font-size: 15px;
  margin: 0;
  color: var(--os-text);
}

.km-page--osgood .os-riyuu-banner .os-text-blue {
  color: var(--os-blue);
  font-weight: bold;
}

.km-page--osgood .os-triangle-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto 32px;
}

.km-page--osgood .os-riyuu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--os-border);
}

.km-page--osgood .os-riyuu-item:last-child {
  margin-bottom: 0;
}

.km-page--osgood .os-riyuu-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 4px;
}

.km-page--osgood .os-riyuu-num {
  font-size: 15px;
  font-weight: bold;
  color: var(--os-blue);
  background: var(--os-blue-light);
  border-radius: 999px;
  padding: 4px 16px;
}

.km-page--osgood .os-riyuu-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--os-text) !important;
  margin: 0 auto 8px;
  padding-bottom: 8px;
  text-align: center !important;
  border: none !important;
  border-bottom: 2px solid var(--os-blue);
  display: inline-block;
}

.km-page--osgood .os-riyuu-title::before,
.km-page--osgood .os-riyuu-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-riyuu-text {
  max-width: 480px;
  margin: 0 auto;
}

.km-page--osgood .os-riyuu-text p {
  font-size: 14px;
  color: var(--os-text);
  margin: 0;
  text-align: center !important;
}

/* ---------- セクション9：効果的なストレッチ ---------- */
.km-page--osgood .os-stretch-box {
  border: 2px solid var(--os-blue);
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
}

.km-page--osgood .os-stretch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.km-page--osgood .os-stretch-item {
  text-align: center;
}

.km-page--osgood .os-stretch-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 12px;
}

.km-page--osgood .os-stretch-name {
  font-size: 15px;
  font-weight: bold;
  color: var(--os-blue) !important;
  margin: 0 0 8px;
  text-align: center !important;
  border: none !important;
}

.km-page--osgood .os-stretch-name::before,
.km-page--osgood .os-stretch-name::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-stretch-item p {
  font-size: 13px;
  color: var(--os-text);
  margin: 0;
  text-align: center !important;
}

/* ---------- セクション10：FAQ ---------- */
.km-page--osgood .os-faq-title-bar {
  position: relative;
  overflow: hidden;
  display: table;
  background: linear-gradient(135deg, #2E9FE0 0%, var(--os-blue) 55%, #145f96 100%);
  color: #ffffff;
  text-align: center;
  padding: 28px 48px;
  border-radius: 12px;
  margin: 0 auto 32px;
  box-shadow: 0 10px 24px rgba(30, 136, 199, 0.28);
}

.km-page--osgood .os-faq-title-bar::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.km-page--osgood .os-faq-title-bar::after {
  content: "";
  position: absolute;
  bottom: -46px;
  left: -24px;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.km-page--osgood .os-faq-title-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #ffffff;
  color: var(--os-blue);
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.km-page--osgood .os-faq-title-bar .os-section-title {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  font-size: 26px !important;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.km-page--osgood .os-faq-item {
  max-width: 700px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--os-border);
}

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

.km-page--osgood .os-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: bold;
  font-size: 16px;
  color: var(--os-text);
  margin-bottom: 10px;
}

.km-page--osgood .os-faq-q-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--os-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.km-page--osgood .os-faq-a {
  font-size: 14px;
  color: var(--os-text-sub);
  padding-left: 38px;
  text-align: left !important;
}

.km-page--osgood .os-related {
  margin-top: 32px;
  text-align: center;
}

.km-page--osgood .os-related-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--os-text) !important;
  margin: 0 0 16px;
  text-align: center !important;
  border: none !important;
}

.km-page--osgood .os-related-title::before,
.km-page--osgood .os-related-title::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.km-page--osgood .os-related-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 300px;
  text-align: left;
}

.km-page--osgood .os-related-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--os-border);
}

.km-page--osgood .os-related-list li:last-child {
  border-bottom: none;
}

.km-page--osgood .os-related-list a {
  color: var(--os-blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

/* ==========================================================================
   レスポンシブ（PC幅）
   ========================================================================== */
@media (min-width: 600px) {
  .km-page--osgood .os-nayami-grid {
    grid-template-columns: 1fr 1fr;
  }

  .km-page--osgood .os-seicho-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .km-page--osgood .os-seicho-photo {
    flex: 0 0 260px;
  }

  .km-page--osgood .os-seicho-boxes {
    flex: 1;
  }

  .km-page--osgood .os-stretch-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 400px) {
  .km-page--osgood .os-faq-title-bar {
    padding: 24px 20px;
  }

  .km-page--osgood .os-faq-title-bar .os-section-title {
    font-size: 20px !important;
    white-space: normal;
  }
}
