/* ============================================
   共通設定
   --content-width : PC表示時のコンテンツ幅
   参考サイトの実際の幅に合わせて数値を調整してください
============================================ */
:root {
  --content-width: 600px;
  --breakpoint-tablet: 768px;  /* これ以上でタブレット */
  --breakpoint-pc: 1024px;     /* これ以上でPC */

  --paper:       #FFFFFF;
  --cta:         #C4696B;
  --main:        #DF9BA2;
  --sub:         #CEDBC5;
  --fv-bg:       #F5EEEE; /* FVセクションの背景色(仮。実際の色に調整してください) */  

  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "LINE Seed JP", sans-serif;

}

/*
  ブレークポイント一覧
  SP     :      ～767px
  タブレット: 768px～1023px
  PC     : 1024px～
*/

/* ============================================
   リセットCSS(最低限)
============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 16px;
  background: #fff; /* PC時、コンテンツ外側に見える背景色 */
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* footer.php等、外部の共通パーツが本ページ幅よりはみ出す場合の安全策 */
}

main {
  margin: 0;
  position: static;
}

/* 共通CSS(assets/css/style.css)のmain::before装飾を無効化 */
main::before {
  content: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/* ============================================
   レイアウト:mama-hair__wrapper / mama-hair__contents
   PC   → #mama-hair__contents を中央固定幅に
   タブレット・SP → #mama-hair__contents を画面幅いっぱいに
============================================ */
#mama-hair__wrapper {
  width: 100%;
  max-width: 100%;
}

#mama-hair__contents {
  position: relative;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  overflow: hidden;
}

.en {
  font-family: var(--font-en);
}



/* SP(~767px):全画面表示 */
@media screen and (max-width: 767px) {
  #mama-hair__contents {
    width: 100%;
    max-width: 100%;
  }

  .style__inner {
    padding: 0 1em;
  }
}

/* タブレット(768px~1023px):全画面表示 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #mama-hair__contents {
    width: 100%;
    max-width: 100%;
  }
  
}

/* PC(1024px~):中央固定幅 */
@media screen and (min-width: 1024px) {
  #mama-hair__contents {
    width: var(--content-width);
  }
}

.header {
  background: var(--paper);
  min-height: 45px;
  max-width: var(--content-width);
  margin: 0 auto;
}
.header__inner {
  padding: .7em 1em;
}

.header__logo {
  display: block;
  width: 30%;
  min-width: 80px;
}
.header__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 115px;
}

/* 視覚的には非表示だが、検索エンジン/スクリーンリーダーには読めるようにする(SEO/アクセシビリティ用) */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ファーストビュー */
.fv {
  background: url(/guidance/mama-hair/images/fv-img.jpg) no-repeat center / contain;
  /* padding: 2em 1em 3em; */
  aspect-ratio: 3 / 4;
  max-width: var(--content-width);
  margin: 0 auto 3em;
}

.fv__catchcopy {
  font-size: clamp(14px, 5vw, 21px);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: bold;
}

.fv__ttl {
  font-size: clamp(21px, 8vw, 38px);
  font-weight: bold;
  font-family: var(--font-heading);
  line-height: 1.5;
}

.fv__description {
  text-align: center;
  letter-spacing: 1px;
}


/* タートルへアの特長 */

.mama-hair-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

.mama-hair-feature__heading {
  text-align: center;
}


.en {
  color: var(--cta);
  font-weight: bold;
  font-family: var(--font-en);
  text-align: center;
  margin: 0;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

h2 {
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: clamp(22px, 7vw, 28px);
  text-align: center;
  letter-spacing: 2px;
}
.mama-hair-feature__ttl {
    margin: 0 0 1rem;

}

.mama-hair-feature__inner {
  padding: 0 2.3em;
}

.mama-hair-feature__item-ttl {
  color: var(--main);
  font-family: var(--font-body);
  margin: 0;
  font-size: clamp(17px, 4.5vw, 22px);
  font-weight: bold;
}

.mama-hair-feature__body {
  flex: 1;
  min-width: 0;
  max-width: none;
}
.mama-hair-feature__icon {
  flex: 0 0 30%;
  min-width: 0;
}
.mama-hair-feature__icon img {
  display: block;
  margin: 0 auto;
}
.mama-hair-feature__description {
  margin: 0;
}
.mama-hair-feature__item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: .5em;
  padding: 1em 0;
  border-bottom: 1px dotted #ccc;
}

.mama-hair-feature__item:last-child {
  border:none;
}

.mama-hair-feature__item:nth-child(odd) {
  flex-direction: row-reverse;

}

.mama-hair-feature {
  margin: 0 0 1em;
}

.recommend {
  padding: 0 1em;
}


.style {
  background: #FCF9F8;
  margin: 0 0 1em;
}

.style__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3em 2em 1em;
}

.style__heading {
  margin-bottom: 2em;
}

h2 {
  margin: 0 0 1rem;
}

.style__lead {
  margin: 0;
  /* font-size: clamp(13px, 3.2vw, 15px); */
}

/* カード一覧:2カラムのグリッド */
.style__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em 1em;
  margin-bottom: 2.5em;
}

.style__item {
  /* 通常カードは背景・枠なし。画像側にだけ枠をつける */
}

/* 1枚目(人気No.1)だけ全体を枠で囲む特別カード */
.style__item--featured {
  position: relative; /* バッジの基準位置をここにする */
  grid-column: 1 / -1;
  background: var(--paper);
  border: 2px solid #DF98A2;
  overflow: visible; /* バッジが外にはみ出せるようにhiddenから変更 */
  padding-bottom: 1.5em;
}

.style__item--featured .style__image-wrap {
  aspect-ratio: 4 / 3;
  border: none; /* 外枠があるので画像自体には枠をつけない */
}

/* 画像本体(img/ダミー)だけ角丸で切り抜く。style__imgラッパー自体はoverflow:visibleのままにして、バッジがはみ出せるようにする */
.style__item--featured .style__image-wrap img,
.style__item--featured .style__image-wrap .style__img {
  border-radius: 6px 6px 0 0;
}

.style__item--featured .style__item-ttl,
.style__item--featured .style__item-description {
  margin-left: 1em;
  margin-right: 1em;
}

.style__item-description {
  padding-left: .5em;
  border-left: 8px solid #F6D6DA;

}

/* 5枚目(奇数はみ出し分)は中央に幅を狭めて配置 */
.style__item--single {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.style__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid #DF98A2; /* 通常カードは画像だけに枠 */
}

.style__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* バッジ:人気No.1(リボン風) */
.style__badge {
  position: absolute;
  display: block;
  width: 43%;
  aspect-ratio: 1 / 1;
  top: -1em;
  left: -2em;
  z-index: 1;
  background: url(/guidance/mama-hair/images/img_badge_vi1.png) no-repeat center / contain;
}

/* バッジ:人気!(円形) */
.style__badge--popular {
  top: -1em;
  left: -1em;
  width: 43%;
  aspect-ratio: 1 / 1;
  background: url(/guidance/mama-hair/images/img_badge_vi2.png) no-repeat center / contain;
  display: block;
}
.style__item-ttl {
  color: var(--main);
  font-family: var(--font-body);
  font-weight: bold;
  margin: .6em 0 .3em;
  font-size: clamp(16px, 4.8vw, 21px);
}

.style__item-ttl--top {
  position: relative;
  margin:-2em 0 .3em;
}

.style__item-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.style__contact {
  padding: 0 1em;
  margin: 0 0 4em;
}

section {
  margin: 0 0 3em;
}

.stylist-voice {
  margin: 0 2em 3em;
}

.stylist-voice__inner {
  padding: 2em 1em;
  border: 2px solid var(--cta);
  border-radius: 10px;
}

.stylist-voice__title {
  position: relative;
}

.stylist-voice__title::after {
  content: "";
  position: absolute;
  width: 5em;
  height: 5px;
  bottom: -5px;
  right: px;
  left: 50%;
  transform: translateX(-50%);
  background: #F6D6DA;
}


/* カルーセル本体:ネイティブスクロール(scroll-snap)で1枚ずつ切り替え */
.stylist-voice__slider {
  position: relative;
  overflow: hidden;
  margin-top: 2em;
}

/* 左右矢印:PC(1024px~)のみ表示。SP/タブレットはスワイプで操作するため隠す */
.stylist-voice__arrow {
  display: none;
}

@media screen and (min-width: 1024px) {
  .stylist-voice__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    cursor: pointer;
    z-index: 1;
  }

  .stylist-voice__arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--cta);
    border-right: 2px solid var(--cta);
  }

  .stylist-voice__arrow--prev {
    left: 12px;
  }

  .stylist-voice__arrow--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
  }

  .stylist-voice__arrow--next {
    right: 12px;
  }

  .stylist-voice__arrow--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
  }
}

.stylist-voice__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* 旧Edge */
}

.stylist-voice__track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.stylist-voice__item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  text-align: center;
}

.stylist-voice__item img {
  -webkit-user-drag: none;
}

/* ページネーション(ドット) */
.stylist-voice__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.stylist-voice__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #f2d3d8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.stylist-voice__dot--active {
  background: var(--cta);
  transform: scale(1.2);
}

.stylist-voice__image {
  display: block;
  margin: 0 auto;
  max-width: 65%;
}

.stylist-voice__comment {
  position: relative;
  display: inline-block;
  /* width: 300px; */
  margin-top: 1.5em;
  padding: 16px;
  border-radius: 10px;
  background-color: #fae6ea;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.stylist-voice__comment::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-style: solid;
  border-width: 0 10px 12px 10px;
  border-color: transparent transparent #fae6ea;
  translate: -50% -100%;
}


@media screen and (max-width: 767px) {
  .style__inner {
    padding: 3em 2.1em 1em;
  }
}



.testimonial__inner {
  background: url(/guidance/mama-hair/images/img_gradation.png) no-repeat center / cover;
}

.testimonial__heading {
  margin: 0 2em;
}

.testimonial__list {
  display: grid;
  gap: 16px;
  margin: .5em 2em 2em;
}

.testimonial__item {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 20px;
  background: #fff;
  border-radius: 4px;
}

.testimonial__quote-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__line {
  flex: 1;
  height: 1px;
  background: #999;
}

.testimonial__quote {
  color: #ee9ca5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: .7;
}

.testimonial__quote--open {
  transform: translateY(8px);
}

.testimonial__quote--close {
  margin-left: auto;
  transform: translateY(10px);
}

.testimonial__text {
  margin: 20px 0 24px;
  color: #333;
  line-height: 1.5;
}

.testimonial__footer {
  display: flex;
  align-items: flex-end;
  margin-top: auto;
}

.testimonial__shop {
  display: flex;
  align-items: center;
  gap:5px;
}

.testimonial__shop-icon {
  display: block;
  width: 10%;
  min-width: 15px;
  height: auto;
}

.testimonial__shop-name {
  color: #444;
  font-size: 14px;
}

.price {
  padding: 0 1em;
}

.price__inner {
  width: min(100%, 640px);
  margin: 0 auto;
}

.price__heading {
  margin-bottom: 24px;
  text-align: center;
}

.price__heading-en {
  margin-bottom: 4px;
  color: #d86f78;
  font-size: 18px;
  letter-spacing: .12em;
  margin: 0;
}

.price__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .08em;
}

.price__inner {
  padding: 0 1em 1em;
}

/* ぼかしたグラデーション枠 */
.price__card {
  position: relative;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.price__card::before {
  position: absolute;
  inset: 0;
  padding: 4px;
  background: linear-gradient(
    135deg,
    #eda0a9 0%,
    #f2c5ba 48%,
    #b8d3a9 100%
  );
  border-radius: inherit;
  content: "";
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.price__card-ttl {
  margin-bottom: 18px;
  color: #e39aa3;
  font-size: 24px;
  font-weight: 700;
}

.price__amount {
  padding-bottom: 22px;
  border-bottom: 2px dotted #efa6ad;
}

.price__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  min-height: 24px;
  margin: 0 auto 10px;
  padding: 3px 12px;
  color: #fff;
  background: #e39aa3;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.price__number {
  margin: 0;
  color: #df929c;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.price__unit {
  font-size: .8em;
}

.price__tax {
  margin-left: -5px;
  font-size: 12px;
  font-weight: bold;
}

.price__details {
  padding-top: 20px;
}

.price__list {
  width: fit-content;
  margin: 14px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.price__item {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.8;
}

.price__item::before {
  position: absolute;
  top: .65em;
  left: 2px;
  width: 13px;
  height: 8px;
  border-bottom: 2px solid #C4696B;
  border-left: 2px solid #C4696B;
  content: "";
  transform: rotate(-45deg);
}

.price__time {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 700;
}

.attention {
  padding: 0 1em;
  margin: 0 0 2em;
}

/* CTAボタン */

.cta {
  background: #fff;
}

.cta__inner {
  width: min(100%, 640px);
  margin: 0 auto;
}

.cta__lead {
  margin-bottom: 14px;
  color: #333;
  letter-spacing: .08em;
  text-align: center;
  font-weight: 500;
}

.cta__buttons {
  display: grid;
  gap: 12px;
  font-weight: bold;
  font-size: 1.2em;

}

.cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 22px;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, .18);
  border: 1px solid #fff;
  text-decoration: none;
}
.cta__content {
  display: grid;
  grid-template-columns: 32px 150px;
  align-items: center;
  column-gap: 15px;
  text-align: left;
}

.cta__button--web {
  background: #c96b70;
}

.cta__button--tel {
  background: #de929e;
}

.cta__icon {
  display: grid;
  place-items: center;
  /* width: 20px;
  height: 20px; */
  border-radius: 50%;
}

.cta__icon img {
  display: block;
  width: 2em;
  height: auto;
  object-fit: contain;
}


.cta__text {
  text-align: left;
}

.cta__arrow {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 11px;
  height: 11px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.cta__button:hover {
  opacity: .85;
}


/* ==========================================================
   FAQ Accordion
========================================================== */

.faq__inner {
  background: #FBF5F5;
}


.faq__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 536px;
  margin: 0 auto;
  padding: 0 2em 2em;
}

.faq__item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #f2d3d8;
  border-radius: 10px;
}

/* 質問ボタン */
.faq__question {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 15px;
  gap: 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq__question-mark {
  flex-shrink: 0;
  color: #c4696c;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.7;
  font-family: var(--font-heading);
  margin-top: -2px;
}

.faq__question-txt {
  flex: 1;
  color: #403e3e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

/* プラス・マイナス */
.faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 6px;
}

.faq__toggle::before,
.faq__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #c4696c;
  border-radius: 1px;
  content: "";
}

.faq__toggle::before {
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__toggle::after {
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%);
  transition:
    transform .25s ease,
    opacity .25s ease;
}

.faq__question[aria-expanded="true"] .faq__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* 回答 */
.faq__answer {
  box-sizing: border-box;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height .3s ease;
}

.faq__answer-txt {
  margin: 0 0 20px;
  /* padding-left: 27px; */
  color: #444;
  line-height: 1.7;
}

.faq__answer-txt + .faq__answer-txt {
  margin-top: 20px;
}