/* ============================================================
   整骨院元 くまなん院 / 鍼治療ページ 専用スタイルシート
   ファイル名: hari.css
   配置場所  : amaterasu現行テーマフォルダ内 css/hari.css
   読み込み  : header-2.php に1行追記
   ラッパー  : .km-page--hari
   プレフィックス: hr-
   ※ 肩こりページ制作時の教訓を反映：
     - aspect-ratio は使用しない（display:table親要素との計算バグ回避）
     - 写真+テキスト横並びは全て CSS Grid + minmax(0,1fr) で実装
     - ページ全体に overflow-wrap / min-width:0 の安全策を適用
     - overflow-x:hidden を常時適用
   ============================================================ */

/* ============================================================
   鍼治療ページ(page-id-2904)専用の#wrapper上書き
   テーマ本体(mobile_layout.css)の#wrapper{display:table}が、
   本ページのCSSと組み合わさって高さの計算異常を起こすため、
   このページ(body.page-id-2904)に限定してdisplay:blockに変更。
   他ページのmobile_layout.cssの挙動には一切影響しない。
   ============================================================ */
@media screen and (max-width: 768px) {
  body.page-id-2904 #wrapper {
    display: block !important;
  }
}

.km-page--hari {
  --hr-navy: #1a4fa0;
  --hr-navy-dark: #123870;
  --hr-navy-light: #eef4ff;
  --hr-green: #2f7029;
  --hr-green-dark: #1f5c1a;
  --hr-green-light: #eef6ec;
  --hr-accent: #a05708;
  --hr-accent-light: #fdf0e8;
  --hr-red: #e02020;
  --hr-yellow: #ffc93c;
  --hr-text: #333333;
  --hr-text-sub: #5f5f5f;
  --hr-border: #dfe7f5;

  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 16px;
  color: var(--hr-text);
  background: #fff;
  line-height: 1.9;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.km-page--hari *,
.km-page--hari *::before,
.km-page--hari *::after {
  box-sizing: border-box;
}

.km-page--hari img {
  max-width: 100%;
  height: auto;
  display: block;
}

.km-page--hari a {
  color: inherit;
  text-decoration: none;
}

.km-page--hari p,
.km-page--hari h1,
.km-page--hari h2,
.km-page--hari h3,
.km-page--hari h4,
.km-page--hari span,
.km-page--hari div,
.km-page--hari li,
.km-page--hari td,
.km-page--hari th {
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.km-page--hari h1,
.km-page--hari h2,
.km-page--hari h3,
.km-page--hari h4 {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.km-page--hari h2::before,
.km-page--hari h2::after,
.km-page--hari h3::before,
.km-page--hari h3::after {
  display: none !important;
  content: none !important;
  border: none !important;
}
.km-page--hari p {
  margin: 0;
  text-align: left;
}

/* ============================================================
   レイアウト共通
   ============================================================ */
.hr-section {
  padding: 48px 20px;
}
.hr-section--full {
  padding: 0;
}
.hr-section--white {
  background: #fff;
}
.hr-section--alt {
  background: var(--hr-navy-light);
}
.hr-section--navy {
  background: linear-gradient(160deg, var(--hr-navy-dark), var(--hr-navy));
}

.hr-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hr-full-img {
  width: 100%;
  height: auto;
  display: block;
}
.hr-img-mt {
  margin-top: 20px;
}
.hr-img-rounded {
  border-radius: 12px;
  overflow: hidden;
}
.hr-mt {
  margin-top: 16px;
}

/* ============================================================
   見出し・テキスト共通パーツ
   ============================================================ */
.hr-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--hr-navy);
  font-weight: 700;
  margin-bottom: 8px !important;
}

.hr-heading {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 18px !important;
}
.hr-heading--white {
  color: #fff;
}

.hr-subheading {
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-text);
}
.hr-subheading--center {
  text-align: center;
  margin-bottom: 20px !important;
}

.hr-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--hr-text);
}
.hr-text--white {
  color: rgba(255, 255, 255, 0.92);
}
.hr-text-center {
  text-align: center !important;
}
.hr-text-emphasis {
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--hr-yellow);
  margin: 16px 0 !important;
}

.hr-color-navy { color: var(--hr-navy); }
.hr-color-red { color: var(--hr-red); }
.hr-color-yellow { color: var(--hr-yellow); }
.hr-color-accent { color: var(--hr-accent); }
.hr-color-green { color: var(--hr-green); }
.hr-color-orange { color: var(--hr-accent); }

.hr-section--green {
  background: linear-gradient(160deg, var(--hr-green-dark), var(--hr-green));
}
.hr-underline-yellow {
  background: linear-gradient(transparent 60%, var(--hr-yellow) 60%);
  font-weight: 700;
}

/* ============================================================
   02 / 10: オファーCTAバナー
   ============================================================ */
.hr-offer-link {
  position: relative;
  display: block;
}
.hr-offer-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--hr-accent), #e07a3a);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(196, 90, 26, 0.4);
  white-space: nowrap;
  max-width: calc(100% - 32px);
}

/* ============================================================
   03: お悩み
   ============================================================ */
.hr-nayami-header {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 24px;
}
.hr-nayami-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hr-nayami-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 14px;
  background: var(--hr-navy-light);
  border-radius: 12px;
  padding: 16px;
}
.hr-nayami-item-photo {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}
.hr-nayami-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hr-nayami-item-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-bottom: 6px !important;
}
.hr-nayami-item-detail {
  font-size: 13px;
  color: var(--hr-text-sub);
  line-height: 1.6;
}
.hr-nayami-footer {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-top: 24px;
  line-height: 1.6;
}

.hr-nayami-item-body {
  min-width: 0;
}

/* お悩みカード（姿勢改善ページ用：写真なし・2列グリッド） */
.hr-nayami-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hr-nayami-card {
  background: var(--hr-green-light);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--hr-green-dark);
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-nayami-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-bottom: 8px !important;
}
.hr-nayami-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hr-nayami-card__list li {
  font-size: 12px;
  color: var(--hr-text-sub);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.hr-nayami-card__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--hr-navy);
}

/* 症状特徴テーブル（鍼治療ページ用） */
.hr-table-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hr-green-dark);
  margin: 24px 0 10px !important;
}
.hr-td-name {
  font-weight: 800;
  color: #fff;
  background: var(--hr-accent);
  white-space: nowrap;
}

/* 5つの効果カード */
.hr-kouka-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.hr-kouka-card {
  background: var(--hr-green-light);
  border-radius: 14px;
  padding: 18px;
}
.hr-kouka-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hr-kouka-card__num {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--hr-green);
  line-height: 1;
}
.hr-kouka-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hr-text);
  min-width: 0;
  flex: 1;
}
.hr-kouka-card__photo {
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
}
.hr-kouka-card__text {
  font-size: 13px;
  color: var(--hr-text-sub);
  line-height: 1.7;
}

/* 補足ボックス（グリーン系） */
.hr-note-box {
  background: var(--hr-green-light);
  border-left: 4px solid var(--hr-green);
  padding: 16px;
  font-size: 13px;
  color: var(--hr-text);
  line-height: 1.8;
  border-radius: 4px;
  margin-top: 20px;
}

/* 頻度テーブル */
.hr-freq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 400px;
}
.hr-freq-table th {
  background: var(--hr-green);
  color: #fff;
  padding: 10px;
  text-align: center;
}
.hr-freq-table td {
  padding: 10px;
  border-bottom: 1px solid var(--hr-border);
  text-align: center;
}

/* ============================================================
   05: 患者様の声 / Before-After 共通QA
   ============================================================ */
.hr-voice-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(20, 40, 80, 0.08);
}
.hr-voice-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hr-photo-round {
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.hr-photo-round--sm {
  width: 70px;
  height: 70px;
}
.hr-photo-round--sm img,
.hr-photo-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hr-voice-name {
  font-size: 14px;
  font-weight: 700;
}
.hr-voice-result {
  text-align: center;
  font-size: 14px;
  color: var(--hr-text-sub);
  margin-bottom: 12px !important;
}
.hr-voice-result-main {
  color: var(--hr-navy);
  font-weight: 800;
  font-size: 16px;
}
.hr-voice-lead {
  text-align: center;
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hr-border);
}
.hr-voice-qa {
  margin-bottom: 14px;
}
.hr-voice-qa:last-child {
  margin-bottom: 0;
}
.hr-voice-q {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px !important;
}
.hr-voice-qnum {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-voice-qnum--accent {
  background: var(--hr-accent);
}
.hr-voice-a {
  font-size: 13px;
  color: var(--hr-text-sub);
  line-height: 1.8;
  padding-left: 30px;
}

/* ============================================================
   05: Before/After
   ============================================================ */
.hr-ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.hr-ba-photo-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.hr-ba-photo-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--hr-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 1;
}
.hr-ba-photo-label--after {
  background: var(--hr-accent);
}
.hr-ba-result {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hr-border);
}
.hr-ba-result small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--hr-text-sub);
  margin-top: 6px;
}

/* ============================================================
   06: くまなん院の考え方（原因リスト・姿勢改善ページ用）
   ============================================================ */
.hr-cause-box {
  background: var(--hr-navy-light);
  border-radius: 14px;
  padding: 20px;
  margin-top: 16px;
}
.hr-cause-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hr-cause-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.06);
}
.hr-cause-item > div {
  min-width: 0;
  flex: 1;
}
.hr-cause-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-cause-item strong {
  display: block;
  font-size: 14px;
  color: var(--hr-text);
  margin-bottom: 4px;
}
.hr-cause-item p {
  font-size: 12px;
  color: var(--hr-text-sub);
  line-height: 1.6;
}

/* ============================================================
   07: 姿勢が悪くなると引き起こされる症状（身体図+リスト）
   ============================================================ */
.hr-symptom-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.hr-symptom-body__photo {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.hr-symptom-body__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hr-symptom-body__list li {
  font-size: 14px;
  font-weight: 700;
  color: var(--hr-navy);
  background: var(--hr-navy-light);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   08: 猫背が引き起こす悪循環のサイクル
   ============================================================ */
.hr-cycle-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hr-cycle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--hr-navy-light);
  border-radius: 8px;
  padding: 12px 14px;
}
.hr-cycle-item--red {
  background: #fff5f5;
  border: 1px solid #f6c6c6;
}
.hr-cycle-item > div {
  min-width: 0;
  flex: 1;
}
.hr-cycle-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.hr-cycle-item p {
  font-size: 12px;
  color: var(--hr-text-sub);
  line-height: 1.6;
}
.hr-cycle-item__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-cycle-item__num--red {
  background: var(--hr-red);
}
.hr-cycle-arrow {
  text-align: center;
  font-size: 16px;
  color: var(--hr-navy);
  line-height: 1;
  padding: 2px 0;
}
.hr-cycle-conclusion {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-top: 24px !important;
  line-height: 1.6;
}

/* ============================================================
   06: 慢性腰痛の原因
   ============================================================ */
.hr-genin-lead {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
}
.hr-genin-tag {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-bottom: 10px !important;
}
.hr-genin-tag-eq {
  color: var(--hr-accent);
}
.hr-genin-grid-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-bottom: 10px !important;
}
.hr-genin-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.hr-genin-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hr-genin-item {
  text-align: center;
  font-size: 12px;
  color: var(--hr-text);
  font-weight: 700;
}
.hr-genin-item img {
  border-radius: 8px;
  margin-bottom: 6px;
}
.hr-genin-conclusion {
  background: var(--hr-navy);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  padding: 18px 16px;
  border-radius: 10px;
  margin-top: 20px;
}
.hr-genin-conclusion span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   07: 腰痛改善の仕組み
   ============================================================ */
.hr-method-lead {
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 16px !important;
}
.hr-num-large {
  color: var(--hr-yellow);
  font-size: 20px;
}
.hr-num-large--sm {
  font-size: 22px;
}
.hr-method-box {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
}
.hr-method-box__label {
  font-size: 13px;
  font-weight: 800;
  color: var(--hr-navy);
  margin-bottom: 10px !important;
}
.hr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--hr-border);
  margin-top: 14px;
}
.hr-method-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 320px;
}
.hr-method-table th {
  background: var(--hr-navy);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
}
.hr-method-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--hr-border);
}
.hr-method-box__note {
  font-size: 13px;
  color: var(--hr-text-sub);
  margin-top: 14px;
  line-height: 1.7;
}

/* ============================================================
   08: 腰痛が改善しやすい理由
   ============================================================ */
.hr-reason-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hr-flow-block {
  background: var(--hr-navy-light);
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 24px;
}
.hr-flow-block--green {
  background: var(--hr-green-dark);
}
.hr-flow-block--navy {
  background: var(--hr-navy-dark);
}
.hr-flow-block__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hr-flow-block__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.hr-flow-block__num--white {
  background: #fff;
  color: var(--hr-navy-dark);
}
.hr-flow-block__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--hr-text);
  min-width: 0;
  flex: 1;
}
.hr-flow-block__title--white {
  color: #fff;
}

.hr-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hr-flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
}
.hr-flow-step--red {
  background: #fff5f5;
  border: 1px solid #f6c6c6;
}
.hr-flow-step__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hr-navy-light);
  color: var(--hr-navy);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-flow-step__num--red {
  background: var(--hr-red);
  color: #fff;
}
.hr-flow-step__label {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px !important;
}
.hr-flow-step__desc {
  font-size: 13px;
  color: var(--hr-text-sub);
}
.hr-flow-arrow {
  text-align: center;
  font-size: 16px;
  color: var(--hr-navy);
  line-height: 1;
  padding: 2px 0;
}
.hr-flow-arrow--white {
  color: #fff;
}

.hr-flow-block__inner {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.hr-flow-block__inner .hr-photo-round {
  width: 140px;
  height: 140px;
}
.hr-flow-steps--reverse {
  min-width: 0;
}
.hr-flow-step--onwhite {
  background: rgba(255, 255, 255, 0.08);
  justify-content: center;
}
.hr-flow-steps--reverse .hr-flow-step {
  padding: 8px 12px;
}
.hr-flow-steps--reverse .hr-flow-step__label {
  color: #fff;
  margin-bottom: 0 !important;
}
.hr-flow-block__note {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hr-kaizen-result {
  text-align: center;
  padding: 24px 0 8px;
}
.hr-kaizen-result__lead {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px !important;
}
.hr-kaizen-result__main {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px !important;
}

.hr-reason-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hr-reason-icon-item {
  text-align: center;
  background: var(--hr-navy-light);
  border-radius: 10px;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hr-navy);
  min-width: 90px;
  flex: 1 1 90px;
}
.hr-reason-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  font-weight: 800;
  margin: 0 auto 8px;
}

/* ============================================================
   09: 他院との比較表
   ============================================================ */
.hr-comp-intro {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hr-comp-intro .hr-photo-round--sm {
  width: 80px;
  height: 80px;
}
.hr-comp-intro__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.hr-comp-header-box {
  background: linear-gradient(135deg, var(--hr-navy-dark), var(--hr-navy));
  border-radius: 14px 14px 0 0;
  text-align: center;
  padding: 20px 16px;
}
.hr-comp-header-box__small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 4px !important;
}
.hr-comp-header-box__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  margin-top: 8px !important;
}
.hr-comp-header-box + .hr-table-wrap {
  border-radius: 0 0 14px 14px;
  border-top: none;
}

.hr-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.hr-comp-table th,
.hr-comp-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--hr-border);
  vertical-align: top;
  line-height: 1.6;
}
.hr-comp-th--empty {
  background: #f0f0f0;
}
.hr-comp-th--our {
  background: var(--hr-navy);
  color: #fff;
}
.hr-comp-th--other {
  background: #888;
  color: #fff;
}
.hr-comp-label {
  text-align: left;
  font-weight: 800;
  background: #fafafa;
  white-space: nowrap;
}
.hr-comp-our {
  background: var(--hr-navy-light);
  color: var(--hr-navy);
  font-weight: 700;
}
.hr-comp-other {
  color: #5f5f5f;
}
.hr-mark {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.hr-mark--good { color: var(--hr-navy); }
.hr-mark--bad { color: #8a6d1f; }
.hr-mark--ok { color: #4a7ab5; }
.hr-mark--none { color: var(--hr-red); }

.hr-comp-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.hr-comp-photos img {
  border-radius: 8px;
}
.hr-comp-conclusion {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--hr-navy);
  line-height: 1.8;
}

/* ============================================================
   11: 施術の流れ
   ============================================================ */
.hr-step-list {
  display: flex;
  flex-direction: column;
}
.hr-step {
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(20, 40, 80, 0.06);
}
.hr-step__num {
  display: inline-block;
  background: var(--hr-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hr-step .hr-photo-round {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.hr-step__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-text);
  margin-bottom: 8px !important;
}
.hr-step__body {
  font-size: 14px;
  color: var(--hr-text-sub);
  margin-bottom: 12px;
}
.hr-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hr-step__tag {
  background: var(--hr-navy-light);
  color: var(--hr-navy);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.hr-step-arrow {
  text-align: center;
  font-size: 20px;
  color: var(--hr-navy);
  padding: 8px 0;
  line-height: 1;
}

/* ============================================================
   12: 3つのメリット
   ============================================================ */
.hr-merit-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hr-merit-icon-item {
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  min-width: 90px;
  flex: 1 1 90px;
}
.hr-merit-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  filter: brightness(0) invert(1);
}
.hr-merit-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hr-merit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
}
.hr-merit-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hr-merit-card__num {
  font-size: 30px;
  font-weight: 900;
  color: var(--hr-yellow);
  line-height: 1;
  flex-shrink: 0;
}
.hr-merit-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  min-width: 0;
  flex: 1;
}
.hr-merit-card .hr-photo-round {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.hr-merit-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* ============================================================
   13: Instagramバナー
   ============================================================ */
.hr-insta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 14px;
}
.hr-insta-text {
  flex: 1;
  min-width: 0;
}
.hr-insta-icon {
  flex-shrink: 0;
  margin-left: 12px;
}

/* ============================================================
   14: FAQ
   ============================================================ */
.hr-faq-list {
  display: flex;
  flex-direction: column;
}
.hr-faq-item {
  border-bottom: 1px solid var(--hr-border);
  padding: 16px 0;
}
.hr-faq-item:first-child {
  padding-top: 0;
}
.hr-faq-item:last-child {
  border-bottom: none;
}
.hr-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--hr-text);
  margin-bottom: 8px !important;
}
.hr-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hr-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.hr-faq-a {
  padding-left: 34px;
  font-size: 14px;
  color: var(--hr-text-sub);
  line-height: 1.8;
}
.hr-underline {
  background: linear-gradient(transparent 60%, var(--hr-yellow) 60%);
  font-weight: 700;
  color: var(--hr-text);
}

/* ============================================================
   15: 最終CTA
   ============================================================ */
.hr-section--cta {
  background: linear-gradient(160deg, var(--hr-navy-dark), var(--hr-navy));
  text-align: center;
}
.hr-final-cta__title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 14px !important;
}
.hr-final-cta__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.hr-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--hr-accent), #e07a3a);
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(196, 90, 26, 0.4);
}
.hr-final-cta__note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 16px;
}

/* ============================================================
   05.5: 症例紹介（新規）
   ============================================================ */
.hr-case-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hr-case-card {
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(20, 40, 80, 0.06);
}
.hr-case-card__photo {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.hr-case-card__tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--hr-navy);
  background: var(--hr-navy-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px !important;
}
.hr-case-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--hr-text);
  margin-bottom: 14px !important;
}
.hr-case-card__row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--hr-text-sub);
  line-height: 1.7;
}
.hr-case-card__row:last-child {
  margin-bottom: 0;
}
.hr-case-card__label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--hr-navy);
  background: var(--hr-navy-light);
  border-radius: 6px;
  padding: 3px 8px;
  height: fit-content;
  text-align: center;
}
.hr-case-card__row--result {
  background: var(--hr-accent-light);
  border-radius: 8px;
  padding: 10px;
  margin-top: 4px;
}
.hr-case-card__label--result {
  color: var(--hr-accent);
  background: #fff;
}

/* ============================================================
   12.5: 予防・セルフケア（新規）
   ============================================================ */
.hr-prevention-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hr-prevention-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}
.hr-prevention-item__photo {
  width: 90px;
  height: 90px;
  border-radius: 10px;
}
.hr-prevention-item__body {
  min-width: 0;
}
.hr-prevention-item__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--hr-text);
  margin-bottom: 6px !important;
}
.hr-prevention-item__num {
  flex-shrink: 0;
  color: var(--hr-navy);
  font-size: 14px;
  font-weight: 900;
}
.hr-prevention-item__text {
  font-size: 13px;
  color: var(--hr-text-sub);
  line-height: 1.7;
}

/* ============================================================
   スマホ対応（767px以下）
   ============================================================ */
@media screen and (max-width: 767px) {
  .hr-section {
    padding: 36px 16px;
  }
  .hr-section--full {
    padding: 0;
  }
  .hr-heading {
    font-size: 19px;
  }
  .hr-nayami-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hr-nayami-item-photo {
    width: 100%;
    height: 160px;
    margin: 0 auto;
  }
  .hr-reason-with-photo {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hr-reason-with-photo .hr-photo-round {
    width: 100%;
    height: 180px;
    margin: 0 auto;
  }
  .hr-flow-block__inner {
    grid-template-columns: 1fr;
  }
  .hr-flow-block__inner .hr-photo-round {
    width: 100%;
    height: 200px;
  }
  .hr-comp-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hr-comp-intro .hr-photo-round--sm {
    margin: 0 auto;
  }
  .hr-genin-grid,
  .hr-genin-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hr-ba-photos {
    grid-template-columns: 1fr;
  }
  .hr-comp-table {
    min-width: 400px;
  }
  .hr-method-table {
    min-width: 260px;
  }
  .hr-prevention-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hr-prevention-item__photo {
    width: 100%;
    height: 140px;
    margin: 0 auto;
  }
  .hr-prevention-item__title {
    justify-content: center;
  }
}
