/* ============================================
   整骨院元 光の森院「膝の痛み」ページ専用CSS
   スコープ: .hnm-page--hiza
   プレフィックス: .hnm-hz-
   ============================================ */

.hnm-page--hiza {
  --hz-green: #3FA76B;
  --hz-green-dark: #217A46;
  --hz-green-bg: #EFF8F2;
  --hz-blue: #2D7DD2;
  --hz-blue-light: #EAF4FC;
  --hz-beige: #F8F4EE;
  --hz-text: #333333;
  --hz-text-sub: #666666;
  --hz-orange: #E8722A;
  --hz-white: #FFFFFF;
  --hz-border: #E3E0D8;

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

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

.hnm-page--hiza p {
  margin: 0 0 1em;
}
.hnm-page--hiza p:last-child {
  margin-bottom: 0;
}

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

/* ---------- 4. お悩みカード ---------- */
.hnm-hz-nayami-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hnm-hz-nayami-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hnm-hz-nayami-header-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}
.hnm-hz-nayami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hnm-hz-nayami-card {
  background: var(--hz-white);
  border: 2px solid var(--hz-green);
  border-radius: 12px;
  padding: 20px 16px;
}
.hnm-hz-nayami-card-title {
  font-size: 17px;
  color: var(--hz-green-dark);
  margin-bottom: 8px !important;
}
.hnm-hz-nayami-card p {
  font-size: 14px;
  color: var(--hz-text-sub);
  margin: 0;
}
.hnm-hz-nayami-catch {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--hz-orange);
}

@media (max-width: 480px) {
  .hnm-hz-nayami-grid {
    grid-template-columns: 1fr;
  }
  .hnm-hz-nayami-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- 5. 3つの日常 ---------- */
.hnm-hz-hibi-header {
  position: relative;
  margin-bottom: 0;
}
.hnm-hz-hibi-photo {
  width: 100%;
  display: block;
}
.hnm-hz-hibi-header .hnm-hz-section-title {
  padding: 28px 20px;
  margin-bottom: 0 !important;
}
.hnm-hz-num-accent {
  color: var(--hz-blue);
  font-size: 1.3em;
}
.hnm-hz-hibi-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 32px 20px;
  background: var(--hz-blue-light);
  flex-wrap: wrap;
}
.hnm-hz-hibi-icon-item {
  text-align: center;
  max-width: 140px;
}
.hnm-hz-hibi-icon-circle {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}
.hnm-hz-hibi-icon-circle img {
  width: 100%;
  height: 100%;
}
.hnm-hz-hibi-icon-item p {
  font-size: 13px;
  margin: 0;
  color: var(--hz-text);
}
.hnm-hz-hibi-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 0;
}
.hnm-hz-hibi-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.hnm-hz-hibi-block:last-child {
  margin-bottom: 0;
}
.hnm-hz-hibi-num {
  flex-shrink: 0;
  font-size: 34px;
  font-weight: 700;
  color: var(--hz-blue);
  line-height: 1;
}
.hnm-hz-hibi-content {
  flex: 1;
}
.hnm-hz-hibi-content h3 {
  font-size: 18px;
  margin-bottom: 8px !important;
}
.hnm-hz-hibi-content p {
  font-size: 14px;
  color: var(--hz-text-sub);
  margin: 0;
}
.hnm-hz-hibi-photo-side {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

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

/* ---------- 6. 膝の痛みの原因 ---------- */
.hnm-hz-genin-box {
  border: 2px solid var(--hz-blue);
  border-radius: 12px;
  padding: 20px;
  margin: 28px 0;
  text-align: center;
}
.hnm-hz-genin-box-title {
  display: inline-block;
  background: var(--hz-blue);
  color: var(--hz-white);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px !important;
}

/* ---------- 7. 場所で違う症状 ---------- */
.hnm-hz-basho-img {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}
.hnm-hz-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.hnm-hz-table th,
.hnm-hz-table td {
  border: 1px solid var(--hz-border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}
.hnm-hz-table th {
  background: var(--hz-green);
  color: var(--hz-white);
  font-weight: 700;
  white-space: nowrap;
}
.hnm-hz-table tr:nth-child(even) td {
  background: var(--hz-white);
}
.hnm-hz-note {
  font-size: 12px;
  color: var(--hz-text-sub);
  text-align: right;
  margin-top: 8px;
}

/* ---------- 8. 比較表 ---------- */
.hnm-hz-hikaku-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 13px;
}
.hnm-hz-hikaku-table th,
.hnm-hz-hikaku-table td {
  border: 1px solid var(--hz-border);
  padding: 14px 8px;
  text-align: center;
  line-height: 1.5;
}
.hnm-hz-hikaku-table thead th {
  background: var(--hz-beige);
  font-size: 14px;
}
.hnm-hz-hikaku-table td:first-child,
.hnm-hz-hikaku-table th:first-child {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  background: var(--hz-beige);
}
.hnm-hz-hikaku-us {
  background: var(--hz-green-bg) !important;
  color: var(--hz-green-dark);
  font-weight: 700;
}
.hnm-hz-hikaku-table thead .hnm-hz-hikaku-us {
  background: var(--hz-green) !important;
  color: var(--hz-white);
}

@media (max-width: 480px) {
  .hnm-hz-hikaku-table {
    font-size: 11px;
  }
  .hnm-hz-hikaku-table th,
  .hnm-hz-hikaku-table td {
    padding: 8px 4px;
  }
}

/* ---------- 9. 改善する理由（統合セクション） ---------- */
.hnm-hz-riyuu-photos {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.hnm-hz-riyuu-photos img {
  width: 33.333%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hnm-hz-riyuu-summary {
  background: var(--hz-white);
  border: 2px solid var(--hz-green);
  border-radius: 14px;
  padding: 24px 20px;
  margin-top: 32px;
}
.hnm-hz-riyuu-summary-badge {
  display: inline-block;
  background: var(--hz-green);
  color: var(--hz-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.hnm-hz-riyuu-summary h3 {
  font-size: 18px;
  margin-bottom: 14px !important;
}
.hnm-hz-riyuu-summary-list {
  margin: 0;
  padding-left: 1.2em;
}
.hnm-hz-riyuu-summary-list li {
  margin-bottom: 8px;
  font-size: 14px;
}
.hnm-hz-riyuu-summary-list li:last-child {
  margin-bottom: 0;
}
.hnm-hz-text-green {
  color: var(--hz-green-dark);
  font-weight: 700;
}

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

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