@charset "UTF-8";
/* =========================================================
   /lp_beauty/ v2(page-lp_beauty_v2.php)の追加分だけ
   - 見た目の土台は css/lp-beauty.css(旧LPと同じ。変更しない)
   - ここには rev1 で増えた要素と、文言の差し替えで必要になった最小限の調整だけを書く
   - 単位は lp-beauty.css に合わせて vw(SP=375px 基準、PC=1440px 基準)
   ========================================================= */

/* ---------- 共通: 注記 ---------- */
.lb-v2-Note{
  margin-top: 5.33vw;
  font-size: 3.2vw;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #666666;
  text-align: center;
}
.lb-v2-Note-center{
  text-align: center;
}
.lb-v2-Note-white{
  color: rgba(255,255,255,0.88);
}

/* ---------- 共通: 「（税抜）」 ---------- */
.lb-v2-Tax{
  font-size: 0.72em;
  letter-spacing: 0;
}

/* ---------- 共通: 改行の制御(文言は変えない) ---------- */
/* 文節のまとまり。文節の境目でだけ改行する(FAQ の質問・回答 = functions.php の mph_lb_v2_faq() の3・4つ目で区切る /
   料金カードの「こんな方におすすめです！」/ 料金の注記の手数料の行) */
.lb-v2-nb{
  display: inline-block;
  text-indent: 0; /* 親の字下げ(注記の「※」のぶら下げ)を文節ごとに繰り返さない */
}
/* 製品名(Search Console・Looker Studio)をスペースの位置で2行に分けない */
.lb-v2-nw{
  white-space: nowrap;
}

/* ---------- 追従ヘッダー・画面下部の固定 CTA(2026-10-02) ---------- */
/* ヘッダーはスクロールに追従(sticky)。右側に電話と「無料相談に申し込む」。
   ボタンは既存の .lb-CTA_Button(色・角丸・影・矢印)をそのまま使い、大きさだけ置き場所に合わせて変える */
:root{
  --lb-v2-header-h: 13.87vw; /* SP: ボタン 9.6vw + 上下 2.13vw(375px で 52px。元のロゴだけのヘッダーとほぼ同じ) */
  --lb-v2-fixed-h: 17.6vw;   /* SP: ボタン 13.33vw + 上下 2.13vw(375px で 66px) */
}
html{
  /* ページ内リンク・フォーム入力欄へのフォーカスで、移動先が追従ヘッダーの下に隠れないように */
  scroll-padding-top: calc(var(--lb-v2-header-h) + 8px);
}
#form{
  scroll-margin-top: 0; /* 上の scroll-padding-top で足りる(二重に空けない) */
}
.lb-Header{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.lb-Header_Container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2.13vw;
  padding-top: 2.13vw;
  padding-bottom: 2.13vw;
}
.lb-Header_Logo{
  flex: 0 0 auto;
  line-height: 0;
}
.lb-v2-HeaderCta{
  display: flex;
  align-items: center;
  column-gap: 1.6vw;
  flex: 0 0 auto;
}
/* 電話: SP は丸いアイコンボタンだけ(番号は aria-label) */
.lb-v2-HeaderTel{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 9.6vw;
  height: 9.6vw;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  transition: opacity .2s ease;
}
.lb-v2-HeaderTel:hover{
  opacity: var(--global-hover-opacity);
}
.lb-v2-HeaderTel_Icon{
  display: flex;
}
.lb-v2-HeaderTel_Icon svg{
  display: block;
  width: 5.33vw;
  height: 5.33vw;
}
.lb-v2-HeaderTel_Body{
  display: none;
}
.lb-Header .lb-CTA_Button{
  height: 9.6vw;
  padding: 0 2.67vw;
  overflow: hidden; /* PC のホバーの光(:after)をボタンの中だけに */
  font-size: 3.2vw;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.lb-Header .lb-CTA_Button-contact .strong{
  font-size: 3.467vw;
}
.lb-Header .lb-CTA_ButtonText{
  align-items: center;
}
.lb-Header .lb-CTA_ButtonText:after{
  align-self: center;
  width: 0.95em;
  height: 0.95em;
  margin-left: 1.07vw;
}

/* 画面下部の固定 CTA(FV を過ぎたら出し、フォームが画面に入ったら隠す = テンプレ末尾の JS が .is-show を付け外し) */
body.lb-v2{
  padding-bottom: calc(var(--lb-v2-fixed-h) + env(safe-area-inset-bottom, 0px)); /* 最下部のフォーム・送信ボタンが隠れないように */
}
.lb-v2-FixedCta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  box-sizing: border-box;
  padding: 2.13vw 2.13vw calc(2.13vw + env(safe-area-inset-bottom, 0px));
  background: var(--primary-color); /* 透けると下の文字がにじんで読みにくいので不透明 */
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(110%);
  visibility: hidden; /* 隠れている間はタブ移動・読み上げの対象外 */
  transition: transform .3s ease, visibility 0s linear .3s;
}
.lb-v2-FixedCta.is-show{
  transform: translateY(0);
  visibility: visible;
  transition: transform .3s ease, visibility 0s linear 0s;
}
.lb-v2-FixedCta_Inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.13vw;
  max-width: 880px;
  margin-inline: auto;
}
.lb-v2-FixedCta .lb-CTA_Button{
  height: 13.33vw;
  padding: 0 1.6vw;
  overflow: hidden;
  font-size: 3.2vw;
  line-height: 1.3;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.lb-v2-FixedCta .lb-CTA_Button-contact .strong{
  font-size: 3.733vw;
}
/* SP: 2行(「初回無料相談に／申し込む」「資料請求を／ご希望の方はこちら」)+右に矢印 */
.lb-v2-FixedCta .lb-CTA_ButtonText{
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: center;
}
.lb-v2-FixedCta_Line{
  grid-column: 1;
  white-space: nowrap;
}
.lb-v2-FixedCta .lb-CTA_ButtonText:after{
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 1em;
  height: 1em;
  margin-left: 1.6vw;
}
/* 万一 reCAPTCHA のバッジが出る場合も下部バーに重ねない(本テンプレでは読み込まない) */
.lb-v2 .grecaptcha-badge{
  bottom: calc(var(--lb-v2-fixed-h) + 14px) !important;
}
@media (prefers-reduced-motion: reduce){
  .lb-v2-FixedCta,
  .lb-v2-FixedCta.is-show{
    transition: none;
  }
}

/* ---------- 1. FV ---------- */
/* 金額の縁取り(lp-beauty.css は content:'20' の直書き)を [price] の値に連動 */
.lb-Hero_Catch .strong .number:before{
  content: attr(data-num);
}
/* H1 1行目「美容クリニック」は元の「美容医療業界」より1字多いので、SP だけ少し詰める */
.lb-Hero_HeadingText .strong{
  font-size: 11.2vw;
  letter-spacing: 0;
}

/* ---------- 3. 成功事例の吹き出し ---------- */
.lb-v2-Ballon{
  display: block;
}
.lb-Case .lb-v2-Note{
  margin-top: 4vw;
}

/* ---------- 4. ロゴ帯(9点→22点。流れる速さを元と同じに保つ) ---------- */
.lb-CaseClient_Items{
  -webkit-animation-duration: 93s;
  animation-duration: 93s;
}

/* ---------- 6. 問題提起の見出し(SP) ---------- */
/* SP は「噛み合っていない」が1行になり3行構成になる。.strong はインラインのままだと
   波線(背景画像)と padding-bottom が行の高さに入らず、波線が3行目の文字に重なるため、
   SP だけ inline-block にして波線の分だけ3行目を下げる(PC は1行のままなので変えない) */
@media (max-width: 767px){
  .lb-Suggest_Heading .strong{
    display: inline-block;
    line-height: 1.25;
    margin-bottom: 1.07vw; /* 波線と3行目のすき間(375px で 4px) */
  }
}

/* ---------- 8. 「さらに」丸3つの補足行 ---------- */
.lb-v2-Speed_Sub{
  display: block;
  margin-top: 0.8vw;
  font-size: 3.467vw;
}
.lb-Speed_Item{
  letter-spacing: -0.02em;
}

/* ---------- 9. お客様の実績: 事例ページへのリンク ---------- */
.lb-v2-Voice_Link{
  margin-top: 2.67vw;
  text-align: right;
  font-size: 3.467vw;
  font-weight: 700;
}
.lb-v2-Voice_Link a{
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
}
.lb-v2-Voice_Link a:after,
.lb-v2-Daikou_Link a:after{
  content: '';
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.4em;
  background: currentColor;
  -webkit-mask: url(../img/lp-beauty/icon-c-arrow-right@2x.png.webp) no-repeat center / contain;
  mask: url(../img/lp-beauty/icon-c-arrow-right@2x.png.webp) no-repeat center / contain;
}
.lb-v2-Voice_Link a:hover{
  text-decoration: underline;
}
.lb-Voice .lb-v2-Note{
  margin-top: 6.4vw;
}

/* ---------- 13. 丸ごと代行: 案内リンク ---------- */
.lb-Daikou_Other .lb-v2-Note{
  margin-top: 4vw;
}
.lb-v2-Daikou_Link{
  margin-top: 4vw;
  padding: 0 4.8vw;
  text-align: center;
}
.lb-v2-Daikou_Link a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.67vw 4vw;
  border: 2px solid var(--attention-color);
  border-radius: 5px;
  background: var(--white);
  color: var(--attention-color);
  font-family: var(--font-family-hiragino);
  font-weight: 800;
  font-size: 3.733vw;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity .2s ease;
}
.lb-v2-Daikou_Link a:hover{
  opacity: 0.8;
}

/* ---------- 14. 運用までご依頼いただいた成果: 2つ目の吹き出し(元の「高額自由診療」と同じ小さめの文字) ---------- */
.lb-Case2_ItemBallon.lb-v2-Case2_ItemBallon-small{
  font-size: 4vw;
  line-height: 1.45;
}

/* ---------- 15. ご料金 ---------- */
.lb-Fee_ItemPrice .lb-v2-Tax{
  font-size: 3.2vw;
  font-weight: 700;
  white-space: nowrap;
}
.lb-v2-Fee_MoreWrap{
  margin-top: 5.33vw;
  text-align: center;
}
.lb-v2-Fee_More{
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64vw;
  padding: 3.2vw 5.33vw;
  border: 2px solid var(--primary-color);
  border-radius: 100px;
  background: var(--white);
  color: var(--primary-color);
  font-family: inherit;
  font-weight: 700;
  font-size: 3.733vw;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity .2s ease;
}
.lb-v2-Fee_More:hover{
  opacity: 0.8;
}
.lb-v2-Fee_More:after{
  content: '';
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.6em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}
.lb-v2-Fee_More[aria-expanded="true"]:after{
  transform: translateY(25%) rotate(-135deg);
}
.lb-v2-Fee_MoreRows[hidden]{
  display: none;
}
.lb-v2-Fee_Notes{
  margin-top: 5.33vw;
  padding-left: 0;
  list-style-type: none;
  font-size: 3.2vw;
  line-height: 1.6;
  color: #555555;
}
.lb-v2-Fee_Notes li{
  padding-left: 1em;
  text-indent: -1em;
}
.lb-v2-Fee_Notes li + li{
  margin-top: 1.07vw;
}
.lb-v2-Fee_Notes a,
.lb-FAQ_Items dd a{
  color: var(--primary-color);
  text-decoration: underline;
}

/* =========================================================
   PC(lp-beauty.css と同じ 768px 以上)
   ========================================================= */
@media (min-width: 768px), print{

  /* 追従ヘッダー・固定 CTA(PC) */
  :root{
    --lb-v2-header-h: 84px; /* ロゴ 52px + 上下 16px(元と同じ) */
    --lb-v2-fixed-h: 80px;  /* ボタン 56px + 上下 12px */
  }
  .lb-Header_Container{
    column-gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .lb-v2-HeaderCta{
    column-gap: clamp(12px, 1.67vw, 28px);
  }
  .lb-v2-HeaderTel{
    width: auto;
    height: auto;
    column-gap: 8px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--primary-color);
  }
  .lb-v2-HeaderTel_Icon{
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
  }
  .lb-v2-HeaderTel_Icon svg{
    width: 20px;
    height: 20px;
  }
  .lb-v2-HeaderTel_Body{
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
  }
  .lb-v2-HeaderTel_Num{
    font-weight: 700;
    font-size: clamp(20px, 1.875vw, 27px);
    letter-spacing: 0.03em;
  }
  .lb-v2-HeaderTel_Hour{
    margin-top: 3px;
    color: var(--thirdly-color);
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .lb-Header .lb-CTA_Button{
    height: 52px;
    padding: 0 clamp(16px, 1.67vw, 26px);
    font-size: clamp(14px, 1.18vw, 17px);
    letter-spacing: 0.06em;
  }
  .lb-Header .lb-CTA_Button-contact .strong{
    font-size: clamp(16px, 1.32vw, 19px);
  }
  .lb-Header .lb-CTA_ButtonText:after{
    margin-left: 8px;
  }

  .lb-v2-FixedCta{
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .lb-v2-FixedCta_Inner{
    column-gap: 24px;
  }
  .lb-v2-FixedCta .lb-CTA_Button{
    height: 56px;
    padding: 0 16px;
    font-size: clamp(15px, 1.25vw, 18px);
    letter-spacing: 0.08em;
  }
  .lb-v2-FixedCta .lb-CTA_Button-contact .strong{
    font-size: clamp(17px, 1.46vw, 21px);
  }
  /* PC は1行(「初回無料相談に申し込む」「資料請求をご希望の方はこちら」) */
  .lb-v2-FixedCta .lb-CTA_ButtonText{
    display: inline-flex;
    align-items: center;
  }
  .lb-v2-FixedCta .lb-CTA_ButtonText:after{
    margin-left: 8px;
  }

  .lb-v2-Note{
    margin-top: 1.39vw;
    font-size: 0.903vw;
    font-size: max(12px, 0.903vw); /* 実績の数値の注記なので PC でも 12px を下回らない(1280px で 11.6px になっていた) */
  }
  /* 吹き出しの高さをそろえて院長アバターの位置を元と同じく一列に(文言の行の大きさが3つで異なるため) */
  .lb-Case_Item{
    display: flex;
    flex-direction: column;
  }
  .lb-Case_ItemBallon{
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* 注記の分だけ背景画像(case-bg)の下端より伸びるので、画像の下端と同じ色で塗り足す */
  .lb-Case{
    background-color: #F3F8FC;
  }
  .lb-Case .lb-v2-Note{
    margin-top: 0.69vw;
  }
  .lb-Case .lb-CaseClient{
    margin-top: 1.39vw;
  }
  .lb-Voice .lb-v2-Note{
    margin-top: 2.78vw;
  }

  .lb-Hero_HeadingText .strong{
    font-size: 6.944vw;
    letter-spacing: 0.03em;
  }

  .lb-v2-Speed_Sub{
    margin-top: 0.35vw;
    font-size: 1.111vw;
  }

  .lb-v2-Voice_Link{
    margin-top: 0.69vw;
    padding-right: 0.97vw;
    font-size: 1.111vw;
  }

  /* 業務タグが6→8個になり、3段目に2個だけが離れて並ぶため、中央寄せで詰める */
  .lb-Daikou_OtherList{
    justify-content: center;
    column-gap: 1.04vw;
  }
  .lb-Daikou_Other .lb-v2-Note{
    margin-top: 1.39vw;
  }
  .lb-v2-Daikou_Link{
    margin-top: 1.39vw;
    padding: 0;
  }
  .lb-v2-Daikou_Link a{
    padding: 0.83vw 2.08vw;
    font-size: 1.25vw;
  }

  .lb-Case2_ItemBallon.lb-v2-Case2_ItemBallon-small{
    font-size: 1.736vw;
    line-height: 1.3;
  }

  /* 料金カード: lp-beauty.css の3列グリッドが swiper-bundle.min.css(後から読まれる)の
     .swiper-wrapper{display:flex} に負けて、PC で PLAN2・3 枚目が画面外に出ていた(本番の旧LPも同じ)。
     元の意図どおり3列に戻す */
  .lb-Fee_Slider .lb-Fee_SliderWrapper.swiper-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2.08vw;
    transform: none;
  }
  .lb-Fee_Slider .lb-Fee_Slide.swiper-slide{
    width: auto;
    height: auto;
  }
  .lb-Fee_Slider .lb-Fee_Item{
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .lb-Fee_Slider .lb-Fee_ItemBody{
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 1.39vw;
  }
  .lb-Fee_Slider .lb-Fee_ItemPrice{
    margin-top: auto;
    padding-top: 1.04vw;
  }
  /* 3列にすると「月額25万円（税抜）」が1行に入らないため、（税抜）は金額の下に置く */
  .lb-Fee_ItemPrice .lb-v2-Tax{
    display: block;
    margin-top: 0.21vw;
    font-size: 1.111vw;
    line-height: 1.2;
  }

  .lb-v2-Fee_MoreWrap{
    margin-top: 2.08vw;
  }
  .lb-v2-Fee_More{
    min-width: 22.22vw;
    padding: 0.97vw 2.08vw;
    font-size: 1.111vw;
  }
  .lb-v2-Fee_Notes{
    margin-top: 2.08vw;
    font-size: 0.972vw;
  }
  .lb-v2-Fee_Notes li + li{
    margin-top: 0.35vw;
  }
}

/* =========================================================
   表示の軽量化(2026-10-02): PC の背景画像
   lp-beauty.css は PC の背景に @2x(幅 2,880px)を使っている。画面幅 1,440px 以下・解像度 1 倍の画面では
   1 倍版(幅 1,434〜1,440px。元から img/lp-beauty/ にあるもの)で表示サイズと同じになるので、そちらを読む。
   それ以外(Retina・1,441px 以上)は従来どおり @2x
   ========================================================= */
@media (min-width: 768px) and (max-width: 1440px) and (max-resolution: 1dppx),
       (min-width: 768px) and (max-width: 1440px) and (-webkit-max-device-pixel-ratio: 1){
  .lb-Case{ background-image: url(../img/lp-beauty/case-bg.jpg.webp); }
  .lb-Onayami{ background-image: url(../img/lp-beauty/onayami-bg.png.webp); }
  .lb-Suggest{ background-image: url(../img/lp-beauty/suggest-bg.png.webp); }
  .lb-Service{ background-image: url(../img/lp-beauty/service-bg.png.webp); }
  .lb-Daikou_Main{ background-image: url(../img/lp-beauty/daikou-bg.jpg.webp); }
  .lb-Daikou_Head{ background-image: url(../img/lp-beauty/daikou-bg-head.jpg.webp); }
}
