/*

  美容診療（自由診療） /menu/beauty/  page-beauty.php
  デザイン: design/beauty/261027_美容診療.ai（PC 1536 / SP 375）
  ※ ヒーロー・見出し・共通パーツは common-page.css（.common_page）を利用し、
     ページ固有の部分は .bt- で記述。スライダーは Splide（CDN）を上書き

================================================================
*/
.bt {
  --bt-pink: #e7727e;
  --bt-badge: #e7727e;
  --bt-bg-top: #f9f8f6;
  --bt-bg-bottom: #f4f3f1;
  --bt-panel: #f0f0f0;
  --bt-line: #eeeeee;
  --bt-line-sp: #dcdcdc;
  --bt-green: #829d8d;
  --bt-card-line: #e9eeea;
  --bt-dot: #343434;
}

/* ------------------------------------------------------- ヒーロー */
.common_page.bt .bt-mv {
  height: 440px;
  background-image: url(../img/beauty/beauty-mv.webp);
}

.common_page.bt .bt-mv::before {
  /* 背景画像にピンクのトーンが入っているため重ねない */
  content: none;
}

.common_page.bt .cp-mv__inner {
  padding-top: 24px;
}

.common_page.bt .cp-mv__tag {
  margin-top: 26px;
  padding: 4px 18px;
  border-radius: 8px;
  background-color: #eb826a; /* 「自由診療」はコーラルのまま（共通側のタグ色変更の影響を受けないよう明示） */
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------- 共通 */
.bt-inner {
  position: relative;
  width: 1000px;
  margin: 0 auto;
}

.bt-inner--card {
  width: 1230px;
}

.bt-inner--800 {
  width: 800px;
}

.bt-sec {
  padding: 120px 0;
}

.common_page.bt .bt-head {
  margin-bottom: 60px;
}

.common_page.bt .bt-head .cp-sec__ttl {
  margin-top: 12px;
  color: var(--cp-text);
}

/* CAMPAIGN + ABOUT / QUESTION の背景（上から下へわずかに暗くなる） */
.bt-top,
.bt-faq {
  background: linear-gradient(to bottom, #faf8f6, #f0eeed);
}

/* ------------------------------------------------------- CAMPAIGN */
.bt-campaign {
  padding: 80px 112px 72px 148px;
  border-radius: 16px;
  background-color: #fff;
}

.common_page.bt .bt-campaign .bt-head {
  margin-bottom: 26px;
}

.bt-campaign__wrap {
  display: flex;
  align-items: stretch;
  gap: 79px;
}

.bt-campaign__slider {
  position: relative;
  flex-shrink: 0;
  width: 432px;
}

.bt-cp-main .splide__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* 矢印: 画像の外側 22px に細い丸 */
.bt-cp-main .splide__arrow {
  width: 26px;
  height: 26px;
  border: 1px solid #555;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.bt-cp-main .splide__arrow svg {
  width: 9px;
  height: 9px;
  fill: #555;
}

.bt-cp-main .splide__arrow--prev {
  left: -35px;
}

.bt-cp-main .splide__arrow--next {
  right: -35px;
}

.bt-cp-main .splide__arrow:hover {
  border-color: var(--bt-pink);
  background: var(--bt-pink);
}

.bt-cp-main .splide__arrow:hover svg {
  fill: #fff;
}

.bt-cp-main .splide__arrow:disabled {
  opacity: 0.3;
}

/* ドット（JSで生成） */
.bt-cp-dots {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.bt-cp-dots:empty {
  display: none;
}

.bt-cp-dots button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--bt-dot);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bt-cp-dots button.is-active {
  background: var(--bt-dot);
}

.bt-campaign__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 12px 0 10px;
}

.bt-campaign__ttl {
  margin: 0;
  font-weight: 500;
  font-size: 27px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.bt-campaign__period {
  margin: 12px 0 0;
  padding: 4px 12px;
  background-color: var(--bt-badge);
  font-weight: 600;
  font-size: 16px; /* 曜日入りの期間（〜11月30日（月））も1行に収める */
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: #fff;
}

.bt-nw {
  white-space: nowrap;
}

.bt-campaign__notes {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--cp-line);
}

.bt-campaign__notes p {
  margin: 0;
}

.bt-campaign__notes-ttl {
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.bt-campaign__notes-txt {
  margin-top: 6px !important;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* サムネイル: 本文の下端（＝メイン画像の下端）に揃える */
.bt-cp-thumbs {
  margin-top: auto;
  padding-top: 24px;
}

/* 表示中のみ opacity 1、それ以外は薄く（Splide 標準の枠線は消す） */
.bt-cp-thumbs .splide__track--nav > .splide__list > .splide__slide,
.bt-cp-thumbs .splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 0;
}

.bt-cp-thumbs .splide__slide {
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.bt-cp-thumbs .splide__slide:hover {
  opacity: 0.7;
}

.bt-cp-thumbs .splide__slide.is-active {
  opacity: 1;
}

.bt-cp-thumbs .splide__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------- ABOUT */
.bt-about {
  padding-top: 120px;
}

.bt-about__row {
  display: flex;
  align-items: center;
  gap: 44px;
}

.bt-about__row + .bt-about__row {
  margin-top: 60px;
}

.bt-about__row--rev {
  flex-direction: row-reverse;
}

.bt-about__img {
  flex-shrink: 0;
  width: 432px;
  border-radius: 10px;
  overflow: hidden;
}

.bt-about__img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bt-about__body {
  flex: 1;
  min-width: 0;
}

.bt-about__ttl {
  margin: 0 0 22px;
  font-family: var(--cp-font-round);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--bt-pink); /* 見出しは2行ともピンク（デザイン） */
}

.bt-about__txt {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

/* ------------------------------------------------------- 診療カテゴリ */
.bt-menu {
  background-color: #fff;
}

.bt-cat + .bt-cat {
  margin-top: 95px;
}

/* 見出し: 左にグレーのラベル（左上だけ大きな角丸）＋右に写真 */
.bt-cat__head {
  display: flex;
  align-items: stretch;
  height: 257px;
  border-radius: 115px 10px 10px 10px;
  overflow: hidden;
}

.bt-cat__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 322px;
  background-color: var(--bt-panel);
  text-align: center;
}

.bt-cat__en {
  margin: 0;
  font-family: var(--cp-font-en);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--bt-pink);
}

.bt-cat__ttl {
  margin: 14px 0 0;
  font-family: var(--cp-font-round);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--cp-text);
}

.bt-cat__img {
  flex: 1;
  min-width: 0;
}

.bt-cat__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 見出しリンク（カテゴリページへ）: 見た目は変えず、ホバーで写真を少し拡大・見出しをピンクに */
.bt-cat__head--link {
  color: inherit;
  text-decoration: none;
}

.bt-cat__head--link .bt-cat__ttl {
  transition: color 0.3s;
}

.bt-cat__head--link .bt-cat__img {
  overflow: hidden;
}

.bt-cat__head--link .bt-cat__img img {
  transition: transform 0.4s;
}

.bt-cat__head--link:hover .bt-cat__ttl {
  color: var(--bt-pink);
}

.bt-cat__head--link:hover .bt-cat__img img {
  transform: scale(1.04);
}

/* 項目リスト: 列の間に縦線のみ */
.bt-cat__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.bt-cat__list--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bt-cat__list li {
  border-right: 1px solid var(--bt-line);
}

.bt-cat__list--4 li:nth-child(4n),
.bt-cat__list--3 li:nth-child(3n) {
  border-right: 0;
}

.bt-cat__list li a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 74px;
  padding: 10px 58px 10px 27px;
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--cp-text);
  text-decoration: none;
  word-break: normal; /* 「（IPL/光治療）」などの英字の途中で折り返さない */
  overflow-wrap: anywhere;
  transition: color 0.3s;
}

.bt-cat__list--4 li:nth-child(4n + 1) a,
.bt-cat__list--3 li:nth-child(3n + 1) a {
  padding-left: 0;
}

.bt-cat__list li a .rn-arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--bt-pink);
  transition:
    background-color 0.3s,
    color 0.3s;
}

.bt-cat__list li a .rn-arrow::before {
  width: 6px;
  height: 6px;
}

.bt-cat__list li a:hover {
  color: var(--bt-pink);
}

.bt-cat__list li a:hover .rn-arrow {
  background-color: var(--bt-pink);
  color: #fff;
}

/* 形成外科（保険診療）カード */
.bt-hoken {
  display: flex;
  align-items: stretch;
  margin-top: 110px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 7px 0 rgba(223, 229, 223, 0.6);
}

.bt-hoken__img {
  flex-shrink: 0;
  width: 451px;
}

.bt-hoken__img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 254px;
  object-fit: cover;
}

.bt-hoken__body {
  flex: 1;
  min-width: 0;
  padding: 56px 16px 50px 48px;
}

.bt-hoken__ttl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-family: var(--cp-font-round);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #829d8d;
}

.bt-hoken__tag {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 10px;
  background-color: var(--bt-green);
  font-family: var(--cp-font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #fff;
}

.bt-hoken__txt {
  margin: 12px 0 0;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.8;
  font-feature-settings: "palt";
}

.bt-hoken .bt-hoken__btn {
  width: 450px;
  height: 44px;
  margin-top: 22px;
  border-radius: 22px;
}

/* ------------------------------------------------------- QUESTION */
.bt-faq__list {
  margin: 0;
  padding: 0;
}

.bt-faq__item {
  position: relative;
  padding-left: 59px;
}

.bt-faq__item + .bt-faq__item {
  margin-top: 44px;
}

.bt-faq__item::before {
  /* Q の下に伸びる縦線 */
  content: "";
  position: absolute;
  top: 54px;
  bottom: 2px;
  left: 23px;
  width: 1px;
  background-color: #d9d9d4;
}

.bt-faq__item dt {
  position: relative;
  min-height: 46px;
  padding-top: 7px;
  font-family: var(--cp-font-round);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--bt-pink);
}

.bt-faq__q {
  position: absolute;
  top: 0;
  left: -59px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background-color: var(--bt-pink);
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1;
  color: #fff;
}

.bt-faq__item dd {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.95;
}

.bt-faq__link {
  color: var(--bt-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bt-faq__link:hover {
  text-decoration: none;
}

/* 共通パーツ（予約CTA・診療時間アクセス）の内側幅はデザイン通り 1100px */
body.bt-page .common_page--parts .cp-inner {
  width: 1100px;
  max-width: 100%;
}

/* ------------------------------------------------------- SP */
@media (max-width: 767px) {
  .common_page.bt .bt-mv {
    height: 277px;
    background-image: url(../img/beauty/beauty-mv-sp.webp);
  }

  .common_page.bt .cp-mv__inner {
    padding-top: 40px;
  }

  .common_page.bt .cp-mv__tag {
    margin-top: 16px;
    padding: 2px 14px;
    font-size: 16px;
  }

  .bt-inner,
  .bt-inner--card,
  .bt-inner--800 {
    width: 100%;
    padding: 0 15px;
  }

  .bt-sec {
    padding: 66px 0 70px;
  }

  .common_page.bt .bt-head {
    margin-bottom: 36px;
  }

  .common_page.bt .bt-head .cp-sec__ttl {
    margin-top: 10px;
  }

  /* CAMPAIGN */
  .bt-campaign {
    padding: 40px 20px 36px;
  }

  .common_page.bt .bt-campaign .bt-head {
    margin-bottom: 24px;
  }

  /* 要素を縦一列に並べ替え: 画像 → サムネイル → ドット → 見出し → 期間 → 注意事項 */
  .bt-campaign__wrap {
    flex-direction: column;
    gap: 0;
  }

  .bt-campaign__slider,
  .bt-campaign__body {
    display: contents;
  }

  .bt-cp-main {
    order: 1;
    width: calc(100% - 50px);
    margin: 0 auto;
  }

  .bt-cp-thumbs {
    order: 2;
    width: calc(100% - 50px);
    margin: 12px auto 0;
    padding-top: 0;
  }

  .bt-cp-dots {
    order: 3;
    margin-top: 26px;
  }

  .bt-campaign__ttl {
    order: 4;
    margin-top: 28px;
    font-size: 20px;
  }

  /* 期間の帯は行ごとに区切られたピンクの帯（デザイン）: 内側の span を inline + box-decoration-break */
  .bt-campaign__period {
    order: 5;
    margin-top: 14px;
    padding: 0;
    background: none;
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 2.55;
  }

  .bt-campaign__period > span {
    padding: 8px 14px;
    background-color: var(--bt-badge);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .bt-campaign__notes {
    order: 6;
    margin-top: 24px;
    padding-top: 20px;
  }

  .bt-campaign__notes-ttl {
    font-size: 16px;
  }

  .bt-campaign__notes-txt {
    line-height: 1.8;
  }

  .bt-cp-main .splide__arrow {
    width: 22px;
    height: 22px;
  }

  .bt-cp-main .splide__arrow svg {
    width: 8px;
    height: 8px;
  }

  .bt-cp-main .splide__arrow--prev {
    left: -27px;
  }

  .bt-cp-main .splide__arrow--next {
    right: -27px;
  }

  /* ABOUT */
  .bt-about {
    padding-top: 70px;
  }

  .bt-about__row,
  .bt-about__row--rev {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .bt-about__row + .bt-about__row {
    margin-top: 40px;
  }

  .bt-about__img {
    width: 100%;
  }

  .bt-about__ttl {
    margin-bottom: 8px;
    font-size: 20px;
    letter-spacing: 0.08em;
    line-height: 1.55;
  }

  .bt-about__txt {
    line-height: 1.95;
  }

  /* 診療カテゴリ */
  .bt-cat + .bt-cat {
    margin-top: 70px;
  }

  .bt-cat__head {
    height: 150px;
    border-radius: 45px 8px 8px 8px;
  }

  .bt-cat__label {
    width: 135px;
  }

  .bt-cat__en {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .bt-cat__ttl {
    margin-top: 10px;
    font-size: 18px;
  }

  .bt-cat__list,
  .bt-cat__list--3 {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .bt-cat__list li,
  .bt-cat__list--4 li:nth-child(4n),
  .bt-cat__list--3 li:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--bt-line-sp);
  }

  .bt-cat__list li a,
  .bt-cat__list--4 li:nth-child(4n + 1) a,
  .bt-cat__list--3 li:nth-child(3n + 1) a {
    min-height: 61px;
    padding: 8px 44px 8px 0;
    letter-spacing: 0.04em;
  }

  .bt-cat__list li a .rn-arrow {
    right: 6px;
  }

  /* 形成外科 */
  .bt-hoken {
    flex-direction: column;
    margin-top: 60px;
  }

  .bt-hoken__img {
    width: 100%;
  }

  .bt-hoken__img img {
    aspect-ratio: 345 / 200;
    height: auto;
    min-height: 0;
  }

  .bt-hoken__body {
    padding: 22px 20px 26px;
  }

  .bt-hoken__ttl {
    gap: 12px;
    font-size: 26px;
  }

  .bt-hoken__tag {
    padding: 3px 12px;
    font-size: 15px;
  }

  .bt-hoken__txt {
    margin-top: 10px;
    letter-spacing: 0.02em;
    line-height: 1.7;
    font-feature-settings: normal;
  }

  .bt-hoken .bt-hoken__btn {
    width: 100%;
    height: 48px;
    margin-top: 18px;
    border-radius: 24px;
  }

  /* QUESTION */
  .bt-faq__item {
    padding-left: 56px;
  }

  .bt-faq__item + .bt-faq__item {
    margin-top: 36px;
  }

  .bt-faq__item::before {
    top: 44px;
    left: 18px;
  }

  .bt-faq__item dt {
    min-height: 36px;
    padding-top: 4px;
    font-size: 18px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  .bt-faq__q {
    left: -56px;
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .bt-faq__item dd {
    margin-top: 8px;
    line-height: 1.95;
  }

  body.bt-page .common_page--parts .cp-inner {
    width: 100%;
  }

  /* 診療時間・アクセスのリード文は中央揃え 14px（デザイン） */
  body.bt-page .common_page .cp-access__lead {
    text-align: center;
    font-size: 14px;
  }
}
