/* ==========================================================
   原本では「画像」だったパーツを、変数を入れるためにHTML+CSSで再現したもの
   ＋ テンプレート化で追加したパーツ
   ========================================================== */

/* FV下の帯（原本 icon-license.png の代わり） */
.p-fv-band {
  text-align: right;
}
.p-fv-band > span {
  display: inline-block;
  padding: 0.45em 1.4em 0.45em 2.4em;
  background: linear-gradient(90deg, var(--dark), var(--accent));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  position: relative;
}
.p-fv-band > span::before {
  content: "";
  position: absolute;
  left: 0.9em;
  top: 50%;
  width: 0.9em;
  height: 0.9em;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
}
@media screen and (max-width: 767px) {
  .p-fv-band { text-align: center; }
}

/* CTAの電話カード（原本 tel_btn.webp の代わり） */
.tel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12);
  color: #262626;
  text-decoration: none;
}
.tel-card__label {
  display: block;
  width: 88%;
  padding: 0.3em 0;
  background: #2f9a2b;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.tel-card__number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  padding-left: 1.4em;
  background: url(../img/common/pc/tel_icon_black.webp) no-repeat left center / 0.8em auto;
}
.tel-card__time {
  font-size: 0.8125rem;
}
@media screen and (max-width: 767px) {
  .tel-card__number { font-size: 1.625rem; }
}

/* お問い合わせページの電話カード（原本 contact_tel.webp の代わり） */
.contact-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  background: var(--cream);
  border-radius: 0.5rem;
  color: #262626;
  text-decoration: none;
}
.contact-tel__label {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.contact-tel__time {
  font-size: 1rem;
}
.contact-tel__time > span:first-child {
  display: inline-block;
  margin-right: 0.6em;
  padding: 0.1em 0.8em;
  background: var(--cta);
  color: #fff;
  font-size: 0.8125rem;
}
.contact-tel__number {
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-left: 1.3em;
  background: url(../img/common/pc/tel_icon_black.webp) no-repeat left center / 0.75em auto;
}
@media screen and (max-width: 767px) {
  .contact-tel__number { font-size: 1.75rem; }
}

/* お客様の声：原本の動画（iframe）枠に、動画サムネイル画像を同じ比率で入れる */
.c-voice__iframe img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 施術の流れ末尾のメッセージ（原本 PC は画像 → 文字で表示） */
.p-flow__item_text {
  color: var(--cta);
  font-size: 1.375rem;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}

/* フォーム */
.form-errors {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid #be2416;
  background: #fff5f4;
  color: #be2416;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.form-errors ul { margin-top: 0.5rem; padding-left: 1.2em; list-style: disc; }
.form-agree { text-align: center; margin-top: 1.25rem; }
.form-agree input { margin-right: 0.4em; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-recaptcha { display: flex; justify-content: center; margin-top: 1.25rem; }
.p-contact-form__inputBox input,
.p-contact-form__timeBox input,
.p-contact-form__textareaBox textarea,
.p-contact-form__selectBox select,
.p-contact-form__dateBox select { width: 100%; }
.p-contact-form__button { margin-top: 0.625rem; }
.text-alert { color: #e00; }

.thanks-back { margin-top: 3rem; text-align: center; }
.thanks-back .c-voice__button { margin-left: auto; margin-right: auto; }

/* 推薦者が空のとき */
.p-empty-note {
  padding: 4rem 1rem;
  text-align: center;
  font-size: 1rem;
  line-height: 2;
}

/* ==========================================================
   写真差し替え（sample/ から取り込み）に合わせた調整
   ========================================================== */

/* 施術料金バナー：写真（左）＋料金（右）。SPは写真が上 */
.price-banner {
  display: grid;
  grid-template-columns: 42% 1fr;
  max-width: 62.5rem;
  background: var(--cream);
  border-radius: 0.625rem;
  overflow: hidden;
}
.price-banner__img img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* 写真を切り抜かず正方形のまま → 左上の角丸がそのまま残る */
  object-fit: cover;
  object-position: left top;
}
/* 外枠の左上を写真の角丸（写真幅の約20.5%）に合わせる。写真幅 = 枠幅 × 42% */
.c-price__inner { container-type: inline-size; }
.price-banner { border-top-left-radius: calc(min(100cqw, 62.5rem) * 0.42 * 0.21); }
.c-price__banner_v2.price-banner .price_area {
  position: static;
  align-self: center;
  padding: 2rem 1.5rem;
}
.c-price__banner_v2.price-banner p.txt_1day { margin-bottom: 1.2em; }
.price-banner__course {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem !important;
  letter-spacing: 0.15em;
  color: var(--dark) !important;
  margin-bottom: 0.8em;
}
@media screen and (max-width: 767px) {
  .price-banner { grid-template-columns: 1fr; border-top-left-radius: calc(min(100cqw, 62.5rem) * 0.21); }
  .c-price__banner_v2.price-banner .price_area { padding: 1.5rem 1rem; }
  .price-banner__course { font-size: 1.25rem !important; }
}

/* アプローチ結果バナー：テキスト（左）＋写真（右）。SPは写真が上 */
.approach-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #fff;
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0 0 1.5625rem rgba(141, 141, 141, 0.16);
}
.approach-banner__text {
  padding: 2rem;
  font-size: 1.375rem;
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
}
.approach-banner__img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .approach-banner { grid-template-columns: 1fr; }
  .approach-banner__img { order: -1; }
  .approach-banner__text { padding: 1.25rem; font-size: 1.125rem; text-align: center; }
}

/* 比率の違う写真でも枠をそろえる */
.c-approach__img img { width: 100%; aspect-ratio: 594 / 432; object-fit: cover; }
.c-reason__img img { width: 100%; aspect-ratio: 656 / 496; object-fit: cover; }
.p-flow__img img { width: 100%; aspect-ratio: 550 / 400; object-fit: cover; }
.p-recommender__img img,
.c-recommend__img img { width: 100%; object-fit: cover; }

/* 推薦者の声ページ：タイトル帯の右に人物（bg/recommender_001）を薄く重ねる */
.c-top02_recommender { position: relative; overflow: hidden; }
.c-top02_recommender::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 34%;
  height: 92%;
  background: url(../img/bg/recommender_001.webp) no-repeat right bottom / contain;
  opacity: 0.45;
  pointer-events: none;
}
.c-top02_recommender .c-top02__inner { position: relative; z-index: 1; }
@media screen and (max-width: 767px) {
  .c-top02_recommender::after { width: 55%; right: 0; opacity: 0.3; }
}
