@charset "utf-8";

/* =====================================================
   pages.css
   - 下層の複雑ページ専用の最小共通コンポーネント
   - 対象：お悩み別 / 年代別 / 院案内 / 再生医療
   - 既存パーツで賄えないグリッド・カード類のみをここに定義
   - クラスは .p- プレフィックスで名前空間を分離（既存CSSへ非干渉）
===================================================== */

/* 汎用グリッド ------------------------------------------------ */
.p-grid {
  display: grid;
  gap: 24px;
  width: 100%;
}
.p-grid.cols2 { grid-template-columns: repeat(2, 1fr); }
.p-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.p-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.p-grid.cols5 { grid-template-columns: repeat(5, 1fr); }
@media screen and (max-width: 767px) {
  .p-grid { gap: 15px; }
  .p-grid.cols2,
  .p-grid.cols3,
  .p-grid.cols4,
  .p-grid.cols5 { grid-template-columns: 1fr; }
}

/* 白カード（共通） ------------------------------------------- */
.p-card {
  padding: 30px 25px;
  background-color: #fff;
  border: 1px solid #e4ddd0;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .p-card {padding: 5vw;}
  .p-prod__info {padding-top: 0 !important;}
}

/* よくある悩み（見出し＋箇条書き） ---------------------------- */
.p-worry__ttl {
  margin-bottom: 18px;
  padding-bottom: 12px;
  color: #875d05;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #c9ac6f;
}
.p-worry__list {
  list-style: none;
}
.p-worry__list li {
  font-family:
    "Yu Gothic",
    "游ゴシック体",
    "游ゴシック",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "メイリオ",
    sans-serif; /* 2026-09-16 .list と同じゴシックに統一 */
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  font-size: 1.6rem;
  line-height: 1.7;
}
.p-worry__list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c9ac6f;
}
.p-worry__note {
  margin-top: 24px;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-worry__ttl { font-size: 4.83vw; }
  .p-worry__list li { font-size: 3.86473vw; }
  .p-worry__note { font-size: 4.34782vw; }
}

/* 治療の提案カード ------------------------------------------- */
.p-treat__target {
  margin-bottom: 16px;
  padding-bottom: 16px;
  color: #875d05;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
  border-bottom: 1px dashed #d8ccb4;
}
.p-treat__name {
  margin-bottom: 14px;
  font-size: 2.4rem;
  font-weight: 500;
}
.p-treat__desc {
  font-size: 1.6rem;
  line-height: 1.9;
}
.p-treat__note {
  margin-top: 12px;
  color: #999;
  font-size: 1.3rem;
}
.p-treat__more {
  margin-top: 18px;
}
.p-treat__more a {
  display: inline-block;
  color: #875d05;
  font-weight: 500;
  border-bottom: 1px solid #c9ac6f;
}
@media screen and (max-width: 767px) {
  .p-treat__name { font-size: 5.31vw; }
}

/* Before / After 症例カード ---------------------------------- */
.p-case + .p-case { margin-top: 30px; }
.p-case {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 30px;
  align-items: start;
}
.p-case__img img {
  width: 100%;
  border-radius: 6px;
}
.p-case__ttl {
  margin-bottom: 14px;
  font-size: 2.2rem;
  font-weight: 500;
}
.p-case__row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1.5rem;
  line-height: 1.8;
}
.p-case__row dt {
  flex: 0 0 96px;
  color: #875d05;
  font-weight: 500;
}
.p-case__comment {
  margin-top: 14px;
  padding: 16px 20px;
  font-size: 1.5rem;
  line-height: 1.9;
  background-color: #f6f5f4;
  border-radius: 6px;
}
@media screen and (max-width: 767px) {
  .p-case { grid-template-columns: 1fr; gap: 4vw; }
  .p-case__ttl { font-size: 5.31vw; }
  .p-case__row { flex-direction: column; gap: 2px; font-size: 3.86473vw; }
  .p-case__row dt { flex: none; }
}

/* 関連お悩みリンク ------------------------------------------- */
.p-relconcern a {
  display: block;
  height: 100%;
  padding: 22px;
  background-color: #fff;
  border: 1px solid #e4ddd0;
  border-radius: 6px;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
}
.p-relconcern a:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}
.p-relconcern__name {
  margin-bottom: 8px;
  color: #875d05;
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  text-align: center;
}
.p-relconcern__desc {
  font-size: 1.4rem;
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  .p-relconcern__name { font-size: 4.34782vw; }
  .p-relconcern__desc { font-size: 3.62vw; }
}

/* 図解・画像プレースホルダ ----------------------------------- */
.p-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  /* color: #b3a58c; */
  font-size: 1.6rem;
  line-height: 2;
  background-color: #f6f5f4;
  border: 1px dashed #c2c2c2;
  border-radius: 6px;
  box-sizing: border-box;
}

/* ランキング（年代別） --------------------------------------- */
.p-rank__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}
.p-rank__no {
  color: #a2813a;
  font-family: "Cormorant Infant", serif;
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.p-rank__name { font-size: 2.4rem; font-weight: 500; }
.p-rank__cat { margin-bottom: 12px; color: #875d05; font-size: 1.6rem; }
.p-rank__ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.p-rank__ba figure { text-align: center; }
.p-rank__ba img { width: 100%; border-radius: 6px; }
.p-rank__ba figcaption {
  margin-top: 6px;
  color: #a2813a;
  font-family: "Cormorant Infant", serif;
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .p-rank__name { font-size: 5.31vw; }
}

/* セットプラン（年代別） ------------------------------------- */
.p-setplan__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 22px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  background-color: #a2813a;
  border-radius: 40px;
}
.p-setplan__ttl { margin-bottom: 12px; font-size: 2rem; font-weight: 500; }

/* 製品カタログ（MDEAR） ------------------------------------- */
.p-grid.cols6 { grid-template-columns: repeat(6, 1fr); }
@media screen and (max-width: 767px) {
  .p-grid.cols6 { grid-template-columns: repeat(2, 1fr); }
}
/* カテゴリ索引タイル */
.p-cat-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 10px 8px;
  color: #4a2615;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: center;
  background-color: #fff;
  border: 1px solid #d8ccb4;
  border-radius: 4px;
  box-sizing: border-box;
  transition: background-color 0.3s;
}
.p-cat-tile:hover { background-color: #f6f5f4; }
@media screen and (max-width: 767px) { .p-cat-tile { font-size: 3.62vw; } }

/* 製品ブロック（左：画像／右：情報の2カラム、上揃え） */
.p-prod { align-items: start; }
.p-prod__sub {
  margin-bottom: 20px;
  color: #875d05;
  font-size: 1.6rem;
  line-height: 1.7;
}
.p-prod__img img { width: 100%; border-radius: 6px; }
.p-prod__info {position: relative;padding-top: 150px;}
.p-badge {
  position: absolute;
  top: 40px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  background-color: #a2813a;
  border-radius: 50%;
  box-sizing: border-box;
}
.p-prod__catch {
  margin-bottom: 12px;
  padding-right: 94px;
  color: #875d05;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
}
.p-prod__desc { margin-bottom: 18px; padding-right: 94px; font-size: 1.6rem; line-height: 1.9; }
.p-prod__name { margin-bottom: 6px; font-size: 2.1rem; font-weight: 500; }
.p-prod__price { margin-bottom: 18px; color: #4a2615; font-size: 1.7rem; text-align: right; }
.p-prod__spec { font-size: 1.5rem; line-height: 1.9; }
.p-prod__foot { margin-top: 10px; color: #999; font-size: 1.3rem; line-height: 1.7; }
@media screen and (max-width: 767px) {
  .p-prod__catch { padding-right: 0; }
  .p-prod__desc { padding-right: 0; }
  .p-badge { position: static; margin-bottom: 14px; }
  .p-prod__name {font-size: 5.31vw;font-weight: 700;}
}

/* PQX ピコレーザー ------------------------------------------ */
.p-grid.top { align-items: start; }

/* おすすめ／目安ボックス */
.p-reco {
  padding: 28px 34px;
  background-color: #faf7f1;
  border: 1px solid #e4ddd0;
  border-radius: 8px;
  box-sizing: border-box;
}
.p-reco + .p-reco { margin-top: 24px; }
.p-reco__ttl {
  margin-bottom: 16px;
  padding-bottom: 12px;
  color: #875d05;
  font-size: 1.9rem;
  font-weight: 500;
  border-bottom: 1px solid #e4ddd0;
}
.p-reco__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  list-style: none;
}
.p-reco__list.single { grid-template-columns: 1fr; }
.p-reco__list li {
  font-family:
    "Yu Gothic",
    "游ゴシック体",
    "游ゴシック",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "メイリオ",
    sans-serif; /* 2026-09-16 .list と同じゴシックに統一 */
  position: relative;
  padding-left: 26px;
  font-size: 1.6rem;
  line-height: 1.7;
}
.p-reco__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 15px;
  height: 15px;
  background: url(../../images/src/parts/ico_list.svg) no-repeat center;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .p-reco { padding: 6vw; }
  .p-reco__list,
  .p-reco__list.single { grid-template-columns: 1fr; }
  .p-reco__ttl { font-size: 4.34782vw; }
  .p-reco__list li { font-size: 3.86473vw; }
}

/* 比較図（従来 vs ピコ など） */
.p-compare__item + .p-compare__item { margin-top: 26px; }
.p-compare__label {
  margin-bottom: 12px;
  padding: 9px 0;
  color: #4a2615;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  background-color: #f0ebe2;
  border-radius: 4px;
}
.p-compare__img img {
  width: 100%;
  aspect-ratio: 40 / 18;
  object-fit: cover;
  border-radius: 6px;
}
.p-compare__note {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #6b6255;
}
@media screen and (max-width: 767px) {
  .p-compare__label { font-size: 4.34782vw; }
}

/* Before / After（施術前・施術後の縦2枚） */
.p-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.p-ba figure { text-align: center; }
.p-ba img {
  width: 100%;
  aspect-ratio: 26 / 40;
  object-fit: cover;
  border-radius: 6px;
}
.p-ba figcaption {
  margin-top: 10px;
  color: #4a2615;
  font-size: 1.5rem;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .p-ba figcaption { font-size: 3.86473vw; }
}

/* 番号付き効果リスト（vitamin-c 等） */
.p-effect { list-style: none; counter-reset: eff; }
.p-effect li {
  font-family:
    "Yu Gothic",
    "游ゴシック体",
    "游ゴシック",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "メイリオ",
    sans-serif; /* 2026-09-16 .list と同じゴシックに統一 */
  position: relative;
  padding: 15px 0 15px 54px;
  font-size: 1.7rem;
  line-height: 1.6;
  border-bottom: 1px solid #eae4d8;
  counter-increment: eff;
}
.p-effect li:first-child { border-top: 1px solid #eae4d8; }
.p-effect li::before {
  content: counter(eff);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  color: #fff;
  font-family: "Cormorant Infant", serif;
  font-size: 1.6rem;
  line-height: 34px;
  text-align: center;
  background-color: #a2813a;
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .p-effect li { font-size: 3.86473vw; }
}

/* タグ（ピル型ラベル） */
.p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.p-tag {
  display: inline-block;
  padding: 8px 22px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  background-color: #875d05;
  border-radius: 40px;
}
.p-vc-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

/* 縦型フロー（診療の流れ） ---------------------------------- */
.p-flow__item {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
}
.p-flow__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.p-flow__num {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 22px;
  color: #fff;
  font-family: "Cormorant Infant", serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  background-color: #a2813a;
  border-radius: 40px;
}
.p-flow__ttl {
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 500;
}
.p-flow__text {
  font-size: 1.6rem;
  line-height: 1.95;
}
.p-flow__arrow {
  margin: 20px 0;
  text-align: center;
}
.p-flow__arrow img {
  display: inline-block;
  width: 44px;
  height: auto;
  transform: rotate(90deg);
}
@media screen and (max-width: 767px) {
  .p-flow__item {
    grid-template-columns: 1fr;
    gap: 4vw;
  }
  .p-flow__ttl { font-size: 5.79vw; }
  .p-flow__arrow { margin: 5vw 0; }
}

/* ハイドラブースター LEDライトセラピー ---------------------- */
.p-led__item { text-align: center; }
.p-led__circle {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.p-led__circle.red {
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #d64545 70%);
}
.p-led__circle.green {
  background: radial-gradient(circle at 35% 30%, #a6e6a6, #4a9d5a 70%);
}
.p-led__circle.blue {
  background: radial-gradient(circle at 35% 30%, #9ec7ff, #3f6fc4 70%);
}
.p-led__label {
  margin-bottom: 12px;
  color: #4a2615;
  font-size: 1.6rem;
  font-weight: 500;
}
.p-led__desc {
  font-size: 1.5rem;
  line-height: 1.9;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .p-led__label { font-size: 4.34782vw; }
}

/* 洗浄液・美容液など製品名ラベル */
.p-prodname {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 24px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  background-color: #a2813a;
  border-radius: 40px;
}

/* 施設グリッド（院案内） ------------------------------------- */
.p-facility__name {
  margin-bottom: 10px;
  color: #875d05;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
}
.p-facility__img { margin-bottom: 12px; }
.p-facility__img img { width: 100%; border-radius: 6px; }
/* 2026-09-16 院内紹介の説明文は本文（.common-text）と同じ書体・サイズ・行間に統一（HTML 側で common-text を併用） */
.p-facility__desc { text-align: left; }

/* ビタミンC「効果」右カラム：使用製剤カード（2026-09-16。製剤写真が無いため画像なしに変更） */
.p-product {
  padding: 36px 36px 32px;
  background-color: #f7f2ea;
  border: 1px solid #d8c9a8;
}
.p-product__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background-color: #875d05;
}
.p-product__name {
  margin-bottom: 20px;
  color: #4a2615;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
}
.p-product__features {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.p-product__features li {
  padding: 12px 0;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.6;
  border-top: 1px solid #e0d8cc;
}
.p-product__features li:last-child {
  border-bottom: 1px solid #e0d8cc;
}
.p-product__features li.deco-ic::before {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.6em;
  vertical-align: -0.25em;
}
.p-product__note {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #6b5a4e;
}
@media screen and (max-width: 767px) {
  .p-product {
    padding: 6vw 5vw 5vw;
  }
  .p-product__eyebrow {
    font-size: 3.2vw;
    padding: 1vw 3vw;
  }
  .p-product__name {
    font-size: 4.8vw;
    margin-bottom: 4vw;
  }
  .p-product__features li {
    padding: 2.8vw 0;
    font-size: 3.8vw;
  }
  .p-product__note {
    font-size: 3.4vw;
  }
}

/* 症例（2026-09-16 AUN②の写真反映） */
.p-case__note {
  margin-top: 14px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #6b5a4e;
}
.p-rank__ba--single { grid-template-columns: 1fr; }
.p-grid--rank-single { grid-template-columns: minmax(0, 640px); justify-content: center; }
@media screen and (max-width: 767px) {
  .p-case__note { font-size: 3.2vw; }
  .p-grid--rank-single { grid-template-columns: 1fr; }
}
