/* ============================================
   整骨院元 光の森院「椎間板ヘルニア」ページ専用CSS
   スコープ: .hnm-page--hernia
   プレフィックス: .hnm-hr-
   ============================================ */

.hnm-page--hernia {
  --hr-red: #D64550;
  --hr-red-light: #FDEDEE;
  --hr-teal: #2E9E8F;
  --hr-teal-light: #EAF7F5;
  --hr-blue: #2D7DD2;
  --hr-blue-light: #EAF4FC;
  --hr-beige: #F8F4EE;
  --hr-text: #333333;
  --hr-text-sub: #666666;
  --hr-white: #FFFFFF;
  --hr-border: #E3E0D8;

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

.hnm-page--hernia h2,
.hnm-page--hernia h3 {
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: 700;
}
.hnm-page--hernia h2::before,
.hnm-page--hernia h2::after,
.hnm-page--hernia h3::before,
.hnm-page--hernia h3::after {
  content: none !important;
}
.hnm-page--hernia h3 {
  margin-top: 0 !important;
}
.hnm-page--hernia p {
  margin: 0 0 1em;
}
.hnm-page--hernia p:last-child {
  margin-bottom: 0;
}

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

/* ---------- 4. どんな症状？（メカニズム） ---------- */
.hnm-hr-mechanism-box {
  border: 2px solid var(--hr-red);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  text-align: center;
}
.hnm-hr-mechanism-box-title {
  display: inline-block;
  background: var(--hr-red);
  color: var(--hr-white);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px !important;
}

/* ---------- 5. お悩み4カード ---------- */
.hnm-hr-nayami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hnm-hr-nayami-card {
  background: var(--hr-white) !important;
  border: 2px solid var(--hr-red);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 3px 10px rgba(214, 69, 80, 0.12);
}
.hnm-hr-nayami-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hnm-hr-nayami-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--hr-red) !important;
  color: var(--hr-white) !important;
  font-size: 13px;
  font-weight: 700;
}
.hnm-hr-nayami-card-title {
  font-size: 16px !important;
  line-height: 1.4;
  color: var(--hr-text) !important;
  margin-bottom: 0 !important;
}
.hnm-hr-nayami-card p {
  font-size: 13px !important;
  color: var(--hr-text-sub) !important;
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--hr-border);
}
.hnm-hr-nayami-closing {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

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

/* ---------- 6. 7つの要因＋症状 ---------- */
.hnm-hr-genin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.hnm-hr-genin-card {
  background: var(--hr-white) !important;
  border: 1px solid var(--hr-border);
  border-top: 5px solid var(--hr-red) !important;
  border-radius: 10px;
  padding: 18px 18px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.hnm-hr-genin-card-title {
  font-size: 16px !important;
  line-height: 1.4;
  color: var(--hr-red) !important;
  padding-bottom: 10px;
  margin-bottom: 12px !important;
  border-bottom: 1px dashed var(--hr-border);
}
.hnm-hr-genin-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px !important;
  color: var(--hr-text-sub) !important;
}
.hnm-hr-genin-card li {
  margin-bottom: 6px;
}
.hnm-hr-genin-card li::marker {
  color: var(--hr-red);
}
.hnm-hr-genin-illust {
  margin: 24px 0;
}
.hnm-hr-genin-sub-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px !important;
}

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

/* ---------- 7. なりやすい特徴（表） ---------- */
.hnm-hr-tokuchou-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.hnm-hr-tokuchou-table th,
.hnm-hr-tokuchou-table td {
  border: 1px solid var(--hr-border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}
.hnm-hr-tokuchou-table th {
  background: var(--hr-teal);
  color: var(--hr-white);
  text-align: center;
}
.hnm-hr-tokuchou-table td:first-child {
  font-weight: 700;
  background: var(--hr-white);
  white-space: nowrap;
}

/* ---------- 8. 整骨院元で改善する理由 ---------- */
.hnm-hr-riyuu-item {
  margin-bottom: 32px;
}
.hnm-hr-riyuu-item:last-child {
  margin-bottom: 0;
}
.hnm-hr-riyuu-title {
  font-size: 18px;
  color: var(--hr-red);
  text-align: center;
  margin-bottom: 16px !important;
}
.hnm-hr-riyuu-photo {
  margin-bottom: 16px;
}
.hnm-hr-riyuu-item p {
  font-size: 14px;
}

/* ---------- 9. 3つのポイント ---------- */
.hnm-hr-point-header {
  position: relative;
  margin-bottom: 0;
}
.hnm-hr-point-photo {
  width: 100%;
  display: block;
}
.hnm-hr-point-header .hnm-hr-section-title {
  padding: 28px 20px;
  margin-bottom: 0 !important;
}
.hnm-hr-num-accent {
  color: var(--hr-red);
  font-size: 1.3em;
}
.hnm-hr-point-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 28px 20px;
  background: var(--hr-red);
  flex-wrap: wrap;
}
.hnm-hr-point-icon-item {
  text-align: center;
  max-width: 150px;
  color: var(--hr-white);
}
.hnm-hr-point-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.hnm-hr-point-icon-circle img {
  width: 32px;
  height: 32px;
}
.hnm-hr-point-icon-item p {
  font-size: 13px;
  margin: 0;
}
.hnm-hr-point-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 0;
}
.hnm-hr-point-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.hnm-hr-point-block:last-child {
  margin-bottom: 0;
}
.hnm-hr-point-num {
  flex-shrink: 0;
  font-size: 34px;
  font-weight: 700;
  color: var(--hr-red);
  line-height: 1;
}
.hnm-hr-point-content {
  flex: 1;
}
.hnm-hr-point-content h3 {
  font-size: 17px;
  margin-bottom: 8px !important;
}
.hnm-hr-point-content p {
  font-size: 14px;
  color: var(--hr-text-sub);
  margin: 0;
}
.hnm-hr-point-photo-side {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .hnm-hr-point-block {
    flex-wrap: wrap;
  }
  .hnm-hr-point-photo-side {
    width: 100%;
    height: auto;
    order: 3;
  }
}

/* ---------- 10. 予防法 ---------- */
.hnm-hr-yobou-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.hnm-hr-yobou-item {
  text-align: center;
}
.hnm-hr-yobou-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}
.hnm-hr-yobou-item p {
  font-size: 12px;
  margin: 0;
}
.hnm-hr-yobou-closing {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 480px) {
  .hnm-hr-yobou-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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