/* ==========================================================================
   page_aging.css - エイジングケア ページ固有スタイル
   全クラスに .p-aging プレフィックスで衝突回避
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヒーローセクション（背景画像＋タイトル）
   -------------------------------------------------------------------------- */
.p-aging_hero {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #fff;
}

.p-aging_hero_img {
  position: absolute;
  left: 0;
  top: 0;
  width: 54%;
  height: 153%;
  object-fit: cover;
  max-width: none;
}

.p-aging_hero_heading {
  position: absolute;
  left: 50%;
  top: 137px;
  transform: translateX(-50%);
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 536px;
  max-width: 90%;
}

.p-aging_hero_title {
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: normal;
  color: #333;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin: 0;
}

/* --------------------------------------------------------------------------
   タイトルバー（エイジングケアすべきポイント）
   -------------------------------------------------------------------------- */
.p-aging_titlebar {
  background: #f8f8f8;
  padding: 0 0 60px;
  overflow: hidden;
}

.p-aging_titlebar_bg {
  position: relative;
  padding: 60px 0;
  text-align: center;
}

.p-aging_titlebar_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #fff;
}

.p-aging_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-aging_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;
}

/* --------------------------------------------------------------------------
   イントロテキスト
   -------------------------------------------------------------------------- */
.p-aging_intro_text {
  margin-top: 10px;
}

.p-aging_intro_text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 16px;
}

.p-aging_intro_text p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   顔イラスト＋ポイントラベル
   -------------------------------------------------------------------------- */
.p-aging_face {
  margin-top: 50px;
  background: #fff;
  padding: 40px 0;
  text-align: center;
}

.p-aging_face_img {
  width: 100%;
  max-width: 1097px;
  height: auto;
  display: inline-block;
}

.p-aging_face_note {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   共通：セクション見出し（border-bottom 付き）
   -------------------------------------------------------------------------- */
.p-aging_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;
}

.p-aging_heading--white {
  color: #fff;
  border-bottom-color: #fff;
}

/* --------------------------------------------------------------------------
   医療脱毛コラム一覧
   -------------------------------------------------------------------------- */
.p-aging_column {
  background: #f8f8f8;
  padding: 60px 0;
}

.p-aging_column_desc {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 30px;
}

.p-aging_column_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.p-aging_column_card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ebe4dc;
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
}

.p-aging_column_card:hover {
  background: #f7f4f0;
}

.p-aging_column_card_img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.p-aging_column_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-aging_column_card_text {
  flex: 1;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding: 0 40px 0 10px;
  margin: 0;
}

.p-aging_column_card_arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #9f8f78;
  border-right: 2px solid #9f8f78;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   年代別エイジングケアのポイント
   -------------------------------------------------------------------------- */
.p-aging_age {
  margin-bottom: 50px;
}

.p-aging_age:last-child {
  margin-bottom: 0;
}

.p-aging_age_head {
  border-left: 3px solid #c6b7a7;
  padding: 15px 0 15px 24px;
  margin-bottom: 20px;
}

.p-aging_age_head span {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #333;
  letter-spacing: 1.2px;
}

.p-aging_age_body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.p-aging_age_photo {
  flex-shrink: 0;
  width: 220px;
}

.p-aging_age_photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.p-aging_age_content {
  flex: 1;
}

.p-aging_age_subtitle {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px;
}

.p-aging_age_info {
  background: #f7f4f0;
  padding: 20px;
}

.p-aging_age_info_item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.p-aging_age_info_icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239f8f78'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.p-aging_age_info_item span {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   エイジングケアお悩の流れ（4ステップ）
   -------------------------------------------------------------------------- */
.p-aging_steps_section {
  background: #fff;
  padding: 60px 0;
}

.p-aging_steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.p-aging_steps_item {
  flex: 1;
}

.p-aging_steps_num {
  background: #9f8f78;
  color: #fff;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 20px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.p-aging_steps_card {
  background: #f7f4f0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  min-height: 331px;
}

.p-aging_steps_card_title {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W6", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #9f8f78;
  margin: 0;
  text-align: center;
}

.p-aging_steps_card_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.p-aging_steps_card_img {
  width: 213px;
}

.p-aging_steps_card_img img {
  width: 100%;
  height: 114px;
  object-fit: cover;
  display: block;
}

.p-aging_steps_card_list {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding-left: 22px;
  list-style-type: disc;
}

.p-aging_steps_card_list li {
  margin-bottom: 0;
}

.p-aging_steps_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
  padding-top: 180px;
}

.p-aging_steps_arrow img {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  display: block;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .p-aging_hero {
    height: 260px;
  }

  .p-aging_hero_heading {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .p-aging_hero_title {
    font-size: 24px;
  }

  .p-aging_titlebar_box {
    min-width: 0;
    width: 90%;
    max-width: 616px;
  }

  .p-aging_titlebar_text {
    font-size: 24px;
  }

  .p-aging_heading {
    font-size: 24px;
  }

  .p-aging_face {
    padding: 30px 15px;
  }

  .p-aging_column_list {
    grid-template-columns: 1fr;
  }

  .p-aging_age_body {
    flex-direction: column;
  }

  .p-aging_age_photo {
    width: 100%;
    max-width: 300px;
  }

  .p-aging_steps {
    flex-direction: column;
    gap: 20px;
  }

  .p-aging_steps_arrow {
    padding-top: 0;
    transform: rotate(90deg);
    width: 100%;
    height: 18px;
  }

  .p-aging_steps_card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .p-aging_hero {
    height: 200px;
  }

  .p-aging_hero_heading {
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    padding: 15px 20px;
  }

  .p-aging_hero_title {
    font-size: 20px;
  }

  .p-aging_titlebar {
    padding: 0 0 40px;
  }

  .p-aging_titlebar_bg {
    padding: 30px 15px;
  }

  .p-aging_titlebar_box {
    padding: 20px;
  }

  .p-aging_titlebar_text {
    font-size: 20px;
  }

  .p-aging_heading {
    font-size: 20px;
  }

  .p-aging_age_head span {
    font-size: 20px;
  }

  .p-aging_age_photo img {
    height: 200px;
  }

  .p-aging_column_card_img {
    width: 80px;
    height: 80px;
  }

  .p-aging_column_card_text {
    font-size: 14px;
    padding: 0 30px 0 10px;
  }

  .p-aging_steps_card_title {
    font-size: 18px;
  }
}
