/* ==========================================================================
   page_reason.css - 患者さまに選ばれる理由 ページ固有スタイル
   全クラスに .p-reason プレフィックスで衝突回避
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヒーローセクション（背景画像＋タイトル）
   -------------------------------------------------------------------------- */
.p-reason_hero {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #f8f8f8 url('/img/pages/about-us/hero_bg.jpg') center center / cover no-repeat;
}

.p-reason_hero_inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-reason_hero_heading {
  background: rgba(255, 255, 255, 0.9);
  padding: 28px 30px;
  text-align: center;
  width: 536px;
  max-width: 90%;
}

.p-reason_hero_title {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: normal;
  color: #333;
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin: 0 0 5px;
}

.p-reason_hero_subtitle {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: normal;
  color: #333;
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   タイトルバー＋数字セクション（#f8f8f8 背景共有）
   -------------------------------------------------------------------------- */
.p-reason_titlebar {
  background: #f8f8f8;
  padding: 0 0 60px;
  overflow: hidden;
}

.p-reason_titlebar_bg {
  position: relative;
  padding: 60px 0;
  text-align: center;
}

/* 上半分を白にする */
.p-reason_titlebar_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #fff;
}

.p-reason_titlebar_box {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #fff;
  border-top: 3px solid #c6b7a7;
  border-bottom: 3px solid #c6b7a7;
  padding: 30px 40px;
  min-width: 616px;
}

.p-reason_titlebar_text {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: normal;
  color: #6c5c49;
  letter-spacing: 0.8px;
  line-height: 1.1;
  margin: 0;
}

/* --------------------------------------------------------------------------
   数字（実績）セクション - 六角形SVG背景
   -------------------------------------------------------------------------- */
.p-reason_stats_list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.p-reason_stats_item {
  position: relative;
  width: 264px;
  height: 226px;
  box-sizing: border-box;
}

/* 六角形SVG背景画像 */
.p-reason_stats_item_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.p-reason_stats_item_inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  text-align: center;
}

.p-reason_stats_label {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: normal;
  color: #333;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.p-reason_stats_value {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 50px;
  font-weight: 600;
  color: #c2a16e;
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
}

.p-reason_stats_value_sub {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 35px;
}

.p-reason_stats_value--nounits {
  line-height: 1.2;
}

.p-reason_stats_unit {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 16px;
  font-weight: 600;
  color: #c2a16e;
  display: block;
  margin-top: 5px;
}

/* --------------------------------------------------------------------------
   共通：セクション見出し（border-bottom 付き）
   -------------------------------------------------------------------------- */
.p-reason_heading {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: normal;
  color: #333;
  letter-spacing: 1.5px;
  line-height: 1.2;
  border-bottom: 1px solid #81725d;
  padding-bottom: 14px;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   5つの強みセクション
   -------------------------------------------------------------------------- */
.p-reason_strength_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.p-reason_strength_item {
  background: #fff;
  border: 1px solid #ebe4dc;
}

.p-reason_strength_item:last-child {
  grid-column: 1 / 2;
}

.p-reason_strength_item_head {
  background: #ebe4dc;
  padding: 20px 15px;
  min-height: 62px;
  display: flex;
  align-items: center;
}

.p-reason_strength_item_head span {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  letter-spacing: 0.9px;
}

.p-reason_strength_item_body {
  padding: 20px;
}

.p-reason_strength_item_img {
  margin-bottom: 15px;
}

.p-reason_strength_item_img img {
  width: 100%;
  max-width: 498px;
  height: 300px;
  object-fit: cover;
  border: 1px solid #c6b7a7;
  display: block;
}

.p-reason_strength_item_text {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* --------------------------------------------------------------------------
   お客様の声セクション（テスティモニアル）
   -------------------------------------------------------------------------- */
/* 背景色は wrap_skew_alternate の even で #F7F4F0 が自動適用 */

.p-reason_voice_list {
  display: flex;
  gap: 27px;
  justify-content: center;
}

.p-reason_voice_card {
  background: #fff;
  border: 1px solid #ebe4dc;
  width: calc((100% - 54px) / 3);
  max-width: 349px;
}

.p-reason_voice_card_head {
  background: #ebe4dc;
  padding: 20px;
  height: 62px;
  display: flex;
  align-items: center;
}

.p-reason_voice_card_head span {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #333;
  letter-spacing: 0.9px;
}

.p-reason_voice_card_img {
  padding: 20px 20px 0;
}

.p-reason_voice_card_img img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border: 1px solid #c6b7a7;
  display: block;
}

.p-reason_voice_card_text {
  padding: 10px 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .p-reason_hero {
    height: 260px;
  }

  .p-reason_hero_title,
  .p-reason_hero_subtitle {
    font-size: 24px;
  }

  .p-reason_titlebar_box {
    min-width: 0;
    width: 90%;
    max-width: 616px;
  }

  .p-reason_titlebar_text {
    font-size: 24px;
  }

  .p-reason_stats_list {
    flex-wrap: wrap;
    gap: 15px;
  }

  .p-reason_stats_item {
    width: calc(50% - 8px);
    height: auto;
    aspect-ratio: 264 / 226;
  }

  .p-reason_stats_item_inner {
    padding: 15px 20px;
  }

  .p-reason_stats_label {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .p-reason_stats_value {
    font-size: 40px;
  }

  .p-reason_stats_value_sub {
    font-size: 28px;
  }

  .p-reason_heading {
    font-size: 24px;
  }

  .p-reason_strength_list {
    grid-template-columns: 1fr;
  }

  .p-reason_strength_item:last-child {
    grid-column: auto;
  }

  .p-reason_voice_list {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .p-reason_voice_card {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .p-reason_hero {
    height: 200px;
  }

  .p-reason_hero_heading {
    padding: 20px 25px;
  }

  .p-reason_hero_title,
  .p-reason_hero_subtitle {
    font-size: 20px;
  }

  .p-reason_titlebar {
    padding: 0 0 40px;
  }

  .p-reason_titlebar_bg {
    padding: 30px 15px;
  }

  .p-reason_titlebar_box {
    padding: 20px;
  }

  .p-reason_titlebar_text {
    font-size: 20px;
  }

  .p-reason_stats_list {
    gap: 10px;
    padding: 0 15px;
  }

  .p-reason_stats_item {
    width: calc(50% - 5px);
  }

  .p-reason_stats_item_inner {
    padding: 12px 10px;
  }

  .p-reason_stats_label {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  .p-reason_stats_value {
    font-size: 30px;
  }

  .p-reason_stats_value_sub {
    font-size: 20px;
  }

  .p-reason_stats_unit {
    font-size: 12px;
    margin-top: 2px;
  }

  .p-reason_heading {
    font-size: 20px;
  }

  .p-reason_voice_card_head span {
    font-size: 16px;
  }

  .p-reason_voice_card_img img {
    height: 160px;
  }

  .p-reason_strength_item_head span {
    font-size: 16px;
  }

  .p-reason_strength_item_img img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .p-reason_stats_list {
    gap: 8px;
    padding: 0 10px;
  }

  .p-reason_stats_item_inner {
    padding: 10px 8px;
  }

  .p-reason_stats_label {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  .p-reason_stats_value {
    font-size: 24px;
  }

  .p-reason_stats_value_sub {
    font-size: 16px;
  }

  .p-reason_stats_unit {
    font-size: 11px;
    margin-top: 1px;
  }
}
