/* ============================================
   整骨院元 光の森院「オスグッド」ページ専用CSS
   スコープ: .hnm-page--osgood
   プレフィックス: .hnm-os-
   ============================================ */

.hnm-page--osgood {
  --os-blue: #2D7DD2;
  --os-blue-light: #EAF4FC;
  --os-teal: #2E9E8F;
  --os-teal-light: #EAF7F5;
  --os-beige: #F8F4EE;
  --os-orange: #E8722A;
  --os-text: #333333;
  --os-text-sub: #666666;
  --os-white: #FFFFFF;
  --os-border: #E3E0D8;

  color: var(--os-text);
  font-size: 16px;
  line-height: 1.8;
  word-break: break-word;
}

/* amaterasuテーマのデフォルトh3スタイルを初期段階で打ち消す */
.hnm-page--osgood h2,
.hnm-page--osgood h3 {
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: 700;
}
.hnm-page--osgood h2::before,
.hnm-page--osgood h2::after,
.hnm-page--osgood h3::before,
.hnm-page--osgood h3::after {
  content: none !important;
}
.hnm-page--osgood h3 {
  margin-top: 0 !important;
}
.hnm-page--osgood p {
  margin: 0 0 1em;
}
.hnm-page--osgood p:last-child {
  margin-bottom: 0;
}

/* ---------- 共通セクション ---------- */
.hnm-os-section {
  padding: 56px 20px;
}
.hnm-os-section--nopad {
  padding: 0;
}
.hnm-os-section--beige {
  background: var(--os-beige);
}
.hnm-os-section--blue {
  background: var(--os-blue-light);
}
.hnm-os-section--teal {
  background: var(--os-teal-light);
}
.hnm-os-section-inner {
  max-width: 700px;
  margin: 0 auto;
}
.hnm-os-full-img {
  display: block;
  width: 100%;
  height: auto;
}
.hnm-os-section-title {
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 24px !important;
}
.hnm-os-section-lead {
  text-align: center;
  margin-bottom: 28px;
  color: var(--os-text-sub);
}
.hnm-os-highlight {
  background: linear-gradient(transparent 65%, #FFE9A8 65%);
  font-weight: 700;
}

/* ---------- 2. お悩み6カード ---------- */
.hnm-os-nayami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hnm-os-nayami-card {
  background: var(--os-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--os-border);
}
.hnm-os-nayami-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.hnm-os-nayami-body {
  padding: 14px 14px 16px;
}
.hnm-os-nayami-num-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hnm-os-nayami-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--os-orange);
  color: var(--os-white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-os-nayami-card-title {
  font-size: 14px;
  line-height: 1.4;
}
.hnm-os-nayami-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 12px;
  color: var(--os-text-sub);
}
.hnm-os-nayami-card li {
  margin-bottom: 2px;
}
.hnm-os-nayami-summary {
  background: var(--os-white);
  border-radius: 10px;
  padding: 20px;
  font-size: 14px;
}
.hnm-os-nayami-summary p {
  margin-bottom: 0.6em;
}
.hnm-os-nayami-summary p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .hnm-os-nayami-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 3. オスグッドの症状（メカニズム） ---------- */
.hnm-os-mechanism-box {
  border: 2px solid var(--os-blue);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  text-align: center;
}
.hnm-os-mechanism-box-title {
  display: inline-block;
  background: var(--os-blue);
  color: var(--os-white);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px !important;
}

/* ---------- 4. 成長痛の症状 ---------- */
.hnm-os-seicho-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 24px 0;
}
.hnm-os-seicho-photo {
  width: 40%;
  flex-shrink: 0;
  border-radius: 10px;
}
.hnm-os-seicho-boxes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hnm-os-seicho-box {
  background: var(--os-blue-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
}
.hnm-os-seicho-box p {
  margin: 0;
}
.hnm-os-seicho-age {
  text-align: center;
  font-weight: 700;
  color: var(--os-blue);
  background: var(--os-white);
  border: 1px solid var(--os-blue);
  border-radius: 20px;
  padding: 8px 16px;
  display: table;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .hnm-os-seicho-layout {
    flex-direction: column;
  }
  .hnm-os-seicho-photo {
    width: 100%;
  }
}

/* ---------- 5. 比較表 ---------- */
.hnm-os-hikaku-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}
.hnm-os-hikaku-table th,
.hnm-os-hikaku-table td {
  border: 1px solid var(--os-border);
  padding: 12px 10px;
  text-align: center;
  line-height: 1.5;
}
.hnm-os-hikaku-table thead th {
  background: var(--os-blue);
  color: var(--os-white);
}
.hnm-os-hikaku-table td:first-child,
.hnm-os-hikaku-table th:first-child {
  background: var(--os-white);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 6. 似た症状 ---------- */
.hnm-os-nita-item {
  background: var(--os-white);
  border-left: 3px solid var(--os-teal);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.hnm-os-nita-item:last-child {
  margin-bottom: 0;
}
.hnm-os-nita-title {
  font-size: 16px;
  color: var(--os-teal);
  margin-bottom: 8px !important;
}
.hnm-os-nita-item p {
  font-size: 14px;
  color: var(--os-text-sub);
  margin: 0;
}

/* ---------- 7. ストレッチ ---------- */
.hnm-os-stretch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.hnm-os-stretch-item {
  text-align: center;
}
.hnm-os-stretch-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.hnm-os-stretch-name {
  font-size: 14px;
  color: var(--os-blue);
  margin-bottom: 8px !important;
}
.hnm-os-stretch-item p {
  font-size: 12px;
  color: var(--os-text-sub);
  margin: 0;
  text-align: left;
}

@media (max-width: 480px) {
  .hnm-os-stretch-grid {
    grid-template-columns: 1fr;
  }
  .hnm-os-stretch-item p {
    text-align: center;
  }
}

/* ---------- 8. 改善理由 ---------- */
.hnm-os-riyuu-banner {
  background: var(--os-white);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.hnm-os-riyuu-banner p {
  margin: 0;
}
.hnm-os-text-teal {
  color: var(--os-teal);
  font-weight: 700;
}
.hnm-os-triangle-img {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 0 auto 32px;
}
.hnm-os-riyuu-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.hnm-os-riyuu-item:last-child {
  margin-bottom: 0;
}
.hnm-os-riyuu-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.hnm-os-riyuu-body {
  flex: 1;
}
.hnm-os-riyuu-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--os-white);
  background: var(--os-teal);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.hnm-os-riyuu-title {
  font-size: 16px;
  margin-bottom: 8px !important;
}
.hnm-os-riyuu-body p {
  font-size: 13px;
  color: var(--os-text-sub);
  margin: 0;
}

@media (max-width: 480px) {
  .hnm-os-riyuu-item {
    flex-direction: column;
  }
  .hnm-os-riyuu-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- 9. Instagramバナー ---------- */
.hnm-os-insta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--os-blue);
  border-radius: 8px;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--os-text);
}
.hnm-os-insta-banner-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.hnm-os-insta-banner-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* ---------- 10. FAQ ＋ 関連リンク ---------- */
.hnm-os-faq-title-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  justify-content: center;
}
.hnm-os-faq-title-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--os-blue);
  color: var(--os-white);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-os-faq-item {
  background: var(--os-white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}
.hnm-os-faq-item:last-child {
  margin-bottom: 0;
}
.hnm-os-faq-q {
  display: flex;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px !important;
  color: var(--os-blue);
}
.hnm-os-faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--os-blue);
  color: var(--os-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-os-faq-a {
  font-size: 14px;
  color: var(--os-text-sub);
  margin: 0;
  padding-left: 34px;
}
.hnm-os-related {
  margin-top: 32px;
  text-align: left;
}
.hnm-os-related-title {
  font-size: 18px;
  margin-bottom: 12px !important;
}
.hnm-os-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hnm-os-related-list li {
  border-bottom: 1px solid var(--os-border);
}
.hnm-os-related-list li:first-child {
  border-top: 1px solid var(--os-border);
}
.hnm-os-related-list a {
  display: block;
  padding: 12px 4px;
  color: var(--os-blue);
  text-decoration: none;
}
