/* ============================================
   整骨院元 光の森院「スポーツ外傷」ページ専用CSS
   スコープ: .hnm-page--sports
   プレフィックス: .hnm-sp-
   ============================================ */

.hnm-page--sports {
  --sp-orange: #E8722A;
  --sp-orange-dark: #C85A16;
  --sp-teal: #2E9E8F;
  --sp-teal-light: #EAF7F5;
  --sp-beige: #F8F4EE;
  --sp-text: #333333;
  --sp-text-sub: #666666;
  --sp-white: #FFFFFF;
  --sp-border: #E3E0D8;

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

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

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

/* ---------- 4. 起こる本当の理由 ---------- */
.hnm-sp-reason-box {
  background: var(--sp-white);
  border-left: 4px solid var(--sp-teal);
  border-radius: 4px;
  padding: 20px 24px;
  margin-top: 24px;
}

/* ---------- 5. 予防（チェックリスト） ---------- */
.hnm-sp-prevent-list {
  max-width: 560px;
  margin: 0 auto;
}
.hnm-sp-prevent-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--sp-white);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.hnm-sp-prevent-item:last-child {
  margin-bottom: 0;
}
.hnm-sp-prevent-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: var(--sp-white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-sp-prevent-item p {
  margin: 0;
  padding-top: 2px;
}

/* ---------- 6. 代表的なスポーツ外傷 ---------- */
.hnm-sp-injury-illust {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}
.hnm-sp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.hnm-sp-table th,
.hnm-sp-table td {
  border: 1px solid var(--sp-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.hnm-sp-table th {
  background: var(--sp-orange);
  color: var(--sp-white);
  font-weight: 700;
  white-space: nowrap;
}
.hnm-sp-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
  background: var(--sp-beige);
}
.hnm-sp-table tr:nth-child(even) td:last-child {
  background: var(--sp-white);
}

/* ---------- 7. 改善アプローチ ---------- */
.hnm-sp-approach-photos {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.hnm-sp-approach-photos img {
  width: 33.333%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- 8. 3つの復帰サポート ---------- */
.hnm-sp-support-header {
  position: relative;
  margin-bottom: 0;
}
.hnm-sp-support-photo {
  width: 100%;
  display: block;
}
.hnm-sp-support-header .hnm-sp-section-title {
  padding: 28px 20px;
  margin-bottom: 0 !important;
}
.hnm-sp-num-accent {
  color: var(--sp-orange);
  font-size: 1.3em;
}
.hnm-sp-support-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 36px 20px 0;
}
.hnm-sp-support-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
}
.hnm-sp-support-item:last-child {
  margin-bottom: 0;
}
.hnm-sp-support-num {
  flex-shrink: 0;
  width: 48px;
  font-size: 30px;
  font-weight: 700;
  color: var(--sp-orange);
  line-height: 1;
  text-align: center;
}
.hnm-sp-support-text {
  flex: 1;
}
.hnm-sp-support-title {
  font-size: 17px;
  margin-bottom: 8px !important;
}
.hnm-sp-support-text p {
  font-size: 14px;
  color: var(--sp-text-sub);
  margin: 0;
}

@media (max-width: 480px) {
  .hnm-sp-support-item {
    gap: 12px;
    padding: 18px 14px;
  }
  .hnm-sp-support-num {
    width: 36px;
    font-size: 24px;
  }
}

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

/* ---------- 10. FAQ ---------- */
.hnm-sp-faq-title-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  justify-content: center;
}
.hnm-sp-faq-title-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: var(--sp-white);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-sp-faq-item {
  background: var(--sp-beige);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}
.hnm-sp-faq-item:last-child {
  margin-bottom: 0;
}
.hnm-sp-faq-q {
  display: flex;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px !important;
  color: var(--sp-orange-dark);
}
.hnm-sp-faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: var(--sp-white);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hnm-sp-faq-a {
  font-size: 14px;
  color: var(--sp-text-sub);
  margin: 0;
  padding-left: 34px;
}

@media (max-width: 480px) {
  .hnm-sp-approach-photos {
    flex-direction: column;
  }
  .hnm-sp-approach-photos img {
    width: 100%;
  }
}
