/* サービスLP追加CSS: retouch(Before/After) — 旧shashinc-base wp-editor.css より移植。
   tukuruのwp-editor.cssには無いため単一WP統合時に切り出し。 */
/*--------------------------------------------------------------
.c-retouch（宣材おまかせレタッチ：Before/After 作例ギャラリー）
template-parts/retouch-section.php
--------------------------------------------------------------*/
.c-retouch {
  margin-top: 3em; /* ヘアメイクセクションとの区切り */
}
.c-retouch .c-heading {
  margin-bottom: 0;
}
.c-retouch .c-heading .container {
  margin: 0 auto;
  max-width: 55em;
}
.c-retouch__inner {
  width: min(92%, 78em); /* PCは4枚横並びのため幅を拡張（SPは min() で実質92%） */
  margin: 0 auto;
}
.c-retouch__tabs {
  display: none; /* PCはタブ非表示（男女両方を常時表示）。SPで display:flex に復帰 */
  justify-content: center;
  gap: .5em;
  margin-top: 1.5em;
}
.c-retouch__tab {
  padding: .6em 2.5em;
  font-family: inherit;
  font-size: 1em;
  font-weight: bold;
  color: #ff5a5f;
  background-color: #fff;
  border: .0625em solid #ff5a5f;
  border-radius: 2em;
  cursor: pointer;
}
.c-retouch__tab.is-active {
  color: #fff;
  background-color: #ff5a5f;
}
.c-retouch__genders {
  display: flex; /* PC：女性パネル｜男性パネルを横並び → 計4枚を1行に */
  gap: 2em;
  margin-top: 2em;
  align-items: flex-start;
}
.c-retouch__gender {
  flex: 1;
  min-width: 0;
}
.c-retouch__gender.is-hidden {
  display: block; /* PCは男女とも常時表示（is-hidden はSPのタブ切替専用） */
}
.c-retouch__frames {
  display: flex;
  gap: 2em;
}
.c-retouch__frame {
  flex: 1;
  min-width: 0;
}
.c-retouch__frame-title {
  margin-bottom: .5em;
  font-size: .9375em;
  font-weight: bold;
  text-align: center;
}
.c-retouch__compare {
  position: relative;
  overflow: hidden;
  border-radius: .375em;
  cursor: ew-resize;
}
.c-retouch__compare img {
  display: block;
  width: 100%;
}
.c-retouch__more {
  margin-top: 1em; /* ボタン本体は TOP 共通の .btn.btn-arrow（右寄せ・hover で矢印が動く） */
}
@media (max-width: 769px) {
  /* SPは男女タブ切替を維持（タブ順＝女性→男性）。各タブ内はバストアップ／全身を
     2列グリッドで並べる（横スクロールは廃止）。 */
  .c-retouch__tabs {
    display: flex; /* PCで none にしたタブをSPで復帰 */
  }
  .c-retouch__genders {
    display: block; /* SPは1タブ＝1パネルのみ表示なので横並び解除 */
    margin-top: 0;
  }
  .c-retouch__gender {
    margin-top: 2em;
  }
  .c-retouch__gender.is-hidden {
    display: none; /* SPは非アクティブな性別を隠す */
  }
  .c-retouch__frames {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    overflow: visible;
    padding-bottom: 0;
  }
  .c-retouch__frame {
    flex: none;
    min-width: 0;
  }
}

/* --- hairmake料金表 CSS(旧wp-editor.cssより) --- */
/*--------------------------------------------------------------
.c-hairmake（ヘアメイクオプション料金表）
template-parts/hairmake-section.php
--------------------------------------------------------------*/
.c-hairmake .container {
  margin: 0 auto;
  max-width: 55em; /* 料金プラン（.flexible_plan .container）と同じ幅に揃える */
}
/* 外側コンテナはSPで92%幅にし「選ばれる理由」(#promotional-feature)と左右余白を揃える。
   見出しの内側 .container は外側の100%幅のままにしたいので直下のみ対象。 */
.c-hairmake > .container {
  width: min(92%, 55em);
}
.c-hairmake .c-heading {
  margin-bottom: 0;
}
.c-hairmake__row {
  display: flex;
  align-items: flex-start;
  padding: 1.5em 0;
  border-bottom: .0625em solid #e5e5e5;
}
.c-hairmake__name {
  width: 22%;
  padding-right: 1em;
  font-weight: bold;
}
.c-hairmake__name .tag {
  display: inline-block;
  margin: .25em 0 0;
  padding: .1em .6em;
  font-size: .6875em;
  font-weight: bold;
  color: #ff5a5f;
  border: .0625em solid #ff5a5f;
  border-radius: 1em;
  white-space: nowrap;
}
.c-hairmake__price {
  width: 18%;
  padding-right: 1em;
}
.c-hairmake__price > .num {
  font-size: 1.375em;
  font-weight: bold;
}
.c-hairmake__price > .unit {
  padding-right: .125em;
  font-size: .875em;
}
.c-hairmake__price .tax {
  display: block;
  margin-top: .25em;
  font-size: .75em;
}
.c-hairmake__price .tax .unit {
  padding-right: .125em;
}
.c-hairmake__desc {
  flex: 1;
  font-size: .9375em;

}
.c-hairmake__desc .time {
  display: block;
  margin-top: .5em;
  font-size: .8125em;
  color: #1a1a1a;
}
.c-hairmake__note {
  margin: 1.25em 0 0;
  text-align: left;
}
.c-hairmake__note ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: .75em;
  list-style-type: none;
}
.c-hairmake__note ul li {
  text-align: left;
}
@media (max-width: 769px) {
  .c-hairmake__row {
    flex-wrap: wrap;
  }
  .c-hairmake__name {
    width: 100%;
    padding-right: 0;
    margin-bottom: .25em;
  }
  .c-hairmake__name .tag {
    margin: 0 0 0 .5em;
  }
  .c-hairmake__price {
    width: 100%;
    padding-right: 0;
    margin-bottom: .5em;
  }
  .c-hairmake__desc {
    flex: none;
    width: 100%;
  }
}

/* --- サービスLP: 英数字フォントを旧サイト同様 Google Sans に（bodyクラスで限定・studio本体はUbuntu） --- */
body.tpl-service-lp { font-family: YakuHanJP, 'Google Sans', 'Noto Sans JP', sans-serif; }
body.tpl-service-lp h1,
body.tpl-service-lp h2,
body.tpl-service-lp h3,
body.tpl-service-lp h4,
body.tpl-service-lp h5,
body.tpl-service-lp .title,
body.tpl-service-lp .lead,
body.tpl-service-lp .logo span { font-family: YakuHanJP, 'Google Sans', 'Noto Sans JP', sans-serif; }

/* --- ページ内アンカー: 固定ヘッダー分だけスクロール位置を下げる --- */
body.tpl-service-lp #plan,
body.tpl-service-lp #hairmake,
body.tpl-service-lp #retouch,
body.tpl-service-lp #gallery,
body.tpl-service-lp #store { scroll-margin-top: 5em; }

/* --- plan セクションの bubble 装飾(bg-shape)の位置基準 --- */
.l-home .p-plan { position: relative; }

/* --- サービスLP: 追加コンテンツブロック(sections/extra.php・cfg extra_blocks) --- */
.l-home .p-extra .c-sect-head { text-align: center; }
.l-home .p-extra__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18em, 1fr)); gap: 1.25em; margin-top: 1.5em; }
.l-home .c-info-card { background: #fff; border: .0625em solid #eee; border-radius: .75em; padding: 1.5em 1.5em 1.375em; box-shadow: 0 .25em 1em rgba(0,0,0,.04); text-align: left; }
.l-home .c-info-card__title { display: flex; align-items: baseline; margin: 0 0 .625em; font-size: 1.0625em; font-weight: 700; }
.l-home .c-info-card__title::before { content: ""; flex: 0 0 auto; width: .5em; height: .5em; margin-right: .5em; border-radius: 50%; background: var(--accent, #ff5a5f); }
.l-home .c-info-card__text { margin: 0; font-size: .875em; color: #3a3a3a; }
@media (max-width: 769px) {
  .l-home .p-extra__grid { grid-template-columns: 1fr; gap: .875em; }
}

/* --- サービスLP: ビジュアルカード(横4列・画像がカード上部にはみ出すデザイン) --- */
.l-home .p-extra__grid--visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5em; margin-top: 5em; align-items: stretch; }
.l-home .c-visual-card { background: #f2f5f7; border-radius: .75em; padding: 0 1.375em 2em; text-align: center; }
.l-home .c-visual-card__fig { margin: -2.75em auto 1.25em; }
.l-home .c-visual-card__fig img { display: block; width: 100%; max-width: 13em; height: auto; margin: 0 auto; }
.l-home .c-visual-card__placeholder { display: block; width: 100%; max-width: 11em; aspect-ratio: 4 / 3; margin: 0 auto; background: #e3e8ec; border-radius: .5em; }
.l-home .c-visual-card__title { margin: 0 0 .875em; font-size: 1.125em; font-weight: 700; line-height: 1.55; }
.l-home .c-visual-card__text { margin: 0; font-size: .875em; color: #3a3a3a; line-height: 1.9; }
@media (max-width: 769px) {
  .l-home .p-extra__grid--visual { grid-template-columns: 1fr; gap: 3.25em; margin-top: 4em; }
  .l-home .c-visual-card { padding-bottom: 1.5em; }
}

/* --- サービスLP: 特徴を縦積み(イラスト＋大見出し＋本文) layout='feature' --- */
.l-home .p-extra__list--feature { display: flex; flex-direction: column; gap: 4em; margin-top: 3.5em; }
.l-home .c-feature-row { display: grid; grid-template-columns: 19em 1fr; gap: 3em; align-items: center; }
.l-home .c-feature-row__fig { margin: 0; }
.l-home .c-feature-row__fig img { display: block; width: 100%; height: auto; border-radius: 1.25em; }
.l-home .c-feature-row__placeholder { display: block; width: 100%; aspect-ratio: 3 / 2; background: #eef1f4; border-radius: 1.25em; }
.l-home .c-feature-row__title { margin: 0 0 1em; font-size: 1.5em; font-weight: 700; line-height: 1.5; }
.l-home .c-feature-row__text { margin: 0; font-size: .9375em; color: #3a3a3a; line-height: 2; }
@media (max-width: 769px) {
  .l-home .p-extra__list--feature { gap: 2.75em; margin-top: 2em; }
  .l-home .c-feature-row { grid-template-columns: 1fr; gap: 1.25em; }
  .l-home .c-feature-row__fig { max-width: 14em; }
  .l-home .c-feature-row__title { font-size: 1.25em; margin-bottom: .75em; }
}

/* --- サービスLP: お悩みセクション（PROBLEM・ペルソナ別カード） --- */
/* 全体幅は標準(80em)より少し狭める */
.l-home .p-problem .l-container { width: min(92%, 66em); }
/* ヘッダー: 薄い「PROBLEM」を透かしにして、その上に小見出し「よくあるお悩み」＋大見出しを重ねる */
.l-home .p-problem__head { text-align: center; }
.l-home .p-problem__eyebrow { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto; min-height: 1.4em; }
.l-home .p-problem__en { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 4.5em; font-weight: 400; letter-spacing: .08em; color: #eef1f4; white-space: nowrap; z-index: 0; pointer-events: none; }
.l-home .p-problem__eyebrow-label { position: relative; z-index: 1; font-size: 1em; font-weight: 700; color: #1a1a1a; }
.l-home .p-problem__title { margin: .5em 0 0; font-size: 2.25em; font-weight: 700; line-height: 1.4; color: #1a1a1a; }
.l-home .p-problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5em; margin-top: 3em; align-items: stretch; }
.l-home .c-problem-card { display: flex; flex-direction: column; align-items: center; height: 100%; }
/* お悩みボックスは flex:1 で伸ばし、箇条書きの行数に依らず4枚とも高さを揃える（イラストを同じ高さに並べる） */
.l-home .c-problem-card__box { width: 100%; flex: 1; background: #f2f5f7; border-radius: 1em; padding: 1.5em; }
.l-home .c-problem-card__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .25em; }
.l-home .c-problem-card__list li { position: relative; padding-left: 1.1em; font-size: .9375em; line-height: 1.7; font-weight: 700; color: #1a1a1a; }
.l-home .c-problem-card__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: .4em; height: .4em; border-radius: 50%; background: #1a1a1a; }
.l-home .c-problem-card__fig { margin: 1.5em 0 .6em; width: 13em; }
.l-home .c-problem-card__fig img { display: block; width: 100%; height: auto; }
.l-home .c-problem-card__ph { display: block; width: 100%; aspect-ratio: 3 / 2; background: #eef1f4; border-radius: .5em; }
.l-home .c-problem-card__role { margin: 0; font-weight: 700; font-size: .9375em; color: #1a1a1a; text-align: center; }
@media (max-width: 769px) {
  .l-home .p-problem__en { font-size: 3em; }
  .l-home .p-problem__title { font-size: 1.5em; }
  .l-home .p-problem__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75em 1em; margin-top: 2em; }
  .l-home .c-problem-card__box { padding: 1.25em 1em; }
  .l-home .c-problem-card__list li { font-size: .875em; }
  .l-home .c-problem-card__fig { width: 10.5em; margin-top: 1.25em; }
}
