/* ========================================
   AFTER CARE：施術別H2見出し
======================================== */

/* ----------------------------------------
   01. 見出し全体
---------------------------------------- */

.aftercare-title {
  margin: 90px auto 35px;
  text-align: center;
}

/* ページ内リンクの停止位置 */

.aftercare-title[id] {
  scroll-margin-top: 88px;
}


/* ----------------------------------------
   02. H2タイトル
---------------------------------------- */

.aftercare-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  margin: 0;
  padding: 0;

  color: #D39F9F;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* 左側のラインは非表示 */

.aftercare-title h2::before {
  content: none;
}

/* 右側のライン */

.aftercare-title h2::after {
  content: "";
  flex: 1;
  max-width: 90px;
  height: 1px;
  background-color: #D39F9F;
}


/* ----------------------------------------
   03. サブタイトル
---------------------------------------- */

.aftercare-title p {
  margin: 12px 0 0;
  color: #664E4E;
  font-size: 14px;
  letter-spacing: 0.08em;
}


/* ========================================
   AFTER CARE：施術別H2見出し SP
======================================== */

@media (max-width: 767px) {

  .aftercare-title h2 {
    gap: 12px;
    font-size: 26px;
  }

  .aftercare-title h2::after {
    max-width: 35px;
  }

  .aftercare-title p {
    margin-top: 8px;
    font-size: 12px;
  }

}


/* ========================================
   AFTER CARE：ダウンタイム
======================================== */

/* ----------------------------------------
   01. ボックス全体
---------------------------------------- */

.aftercare-downtime {
  margin: 0 auto 35px;
  padding: 28px 32px;

  background-color: #F7EDEC;
  border: none;
  border-radius: 6px;
  box-sizing: border-box;
}


/* ----------------------------------------
   02. H3タイトル
---------------------------------------- */

.aftercare-downtime h3.aftercare-downtime__title {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 14px 16px;

  color: #D39F9F;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;

  border-bottom: 1px solid #E5CBC4;
}

/* 左側のアクセントライン */

.aftercare-downtime__title::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 0;
  transform: translateY(-50%);

  width: 3px;
  height: 20px;

  background-color: #D39F9F;
}


/* ----------------------------------------
   03. 説明文
---------------------------------------- */

.aftercare-downtime__content {
  color: #664E4E;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.aftercare-downtime__content p {
  margin: 0;
}

.aftercare-downtime__content p + p {
  margin-top: 8px;
}


/* ========================================
   AFTER CARE：ダウンタイム SP
======================================== */

@media (max-width: 767px) {

  .aftercare-downtime {
    margin-bottom: 28px;
    padding: 22px 18px;
  }

  .aftercare-downtime h3.aftercare-downtime__title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    font-size: 16px;
  }

  .aftercare-downtime__content {
    font-size: 13px;
    line-height: 1.9;
  }

}


/* ========================================
   AFTER CARE：日数別タブ
   ピル型デザイン
======================================== */

/* ----------------------------------------
   01. タブ全体
---------------------------------------- */

.aftercare-tabs {
  margin: 0 auto 50px;
  padding: 28px 32px;

  background-color: #F7EDEC;
  border-radius: 6px;
  box-sizing: border-box;
}


/* ----------------------------------------
   02. タブ一覧：PC 5列
---------------------------------------- */

.aftercare-tabs .c-tabList {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 0;
  padding-bottom: 16px;
  box-sizing: border-box;
}


/* ----------------------------------------
   03. タブボタン
---------------------------------------- */

.aftercare-tabs .c-tabList__button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 38px;
  padding: 8px 12px;

  background-color: #FFFFFF;
  color: #664E4E;

  border: none;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;

  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
}


/* ----------------------------------------
   04. 選択中のタブ
---------------------------------------- */

.aftercare-tabs .c-tabList__button[aria-selected="true"] {
  background-color: #C58D8D;
  color: #FFFFFF;
}


/* ----------------------------------------
   05. PCホバー
---------------------------------------- */

@media (hover: hover) {

  .aftercare-tabs .c-tabList__button:hover {
    background-color: #F0DFDA;
  }

  .aftercare-tabs .c-tabList__button[aria-selected="true"]:hover {
    background-color: #C58D8D;
  }

}


/* ----------------------------------------
   06. タブ内コンテンツ
---------------------------------------- */

.aftercare-tabs .c-tabBody {
  padding: 24px 28px;

  background-color: #FFFFFF;
  border: none;
  border-radius: 6px;
}


/* ----------------------------------------
   07. タブ内の箇条書き
---------------------------------------- */

.aftercare-tabs .c-tabBody ul {
  margin: 0;
  padding-left: 1.4em;

  color: #664E4E;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* 各項目の行間・余白 */

.aftercare-tabs .c-tabBody li {
  line-height: 1.9;
}

.aftercare-tabs .c-tabBody li + li {
  margin-top: 8px;
}


/* ========================================
   AFTER CARE：日数別タブ SP
======================================== */

@media (max-width: 767px) {

  .aftercare-tabs {
    margin-bottom: 40px;
    padding: 22px 18px;
  }

  /* タブ一覧：4列 */

  .aftercare-tabs .c-tabList {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 12px;
  }

  /* タブボタン */

  .aftercare-tabs .c-tabList__button {
    min-height: 42px;
    padding: 8px 4px;
    font-size: 12px;
  }

  /* タブ内コンテンツ */

  .aftercare-tabs .c-tabBody {
    padding: 20px 16px;
  }

  /* タブ内の箇条書き */

  .aftercare-tabs .c-tabBody ul {
    font-size: 13px;
  }

}


/* ========================================
   AFTER CARE：ページ内ナビゲーション
======================================== */

/* ----------------------------------------
   01. ナビゲーション全体
---------------------------------------- */

.first-anchor-nav {
  padding: 28px 24px 35px;
  border: 1px solid #F0DADA;
  border-radius: 10px;
  background: #FFF8F8;
  --swl-block-margin: 0;
}


/* ----------------------------------------
   02. タイトル・サブタイトル
---------------------------------------- */

.first-anchor-title {
  grid-column: 1 / -1;
  margin: 0;

  color: #D39F9F;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.12em;
}

.first-anchor-subtitle {
  grid-column: 1 / -1;
  margin: -6px 0 12px;

  color: #735F5F;
  font-size: 12px;
  text-align: center;
}


/* ----------------------------------------
   03. リッチカラム内のボタン幅
---------------------------------------- */

.first-anchor-columns .swell-block-button {
  width: 100%;
  margin: 0;
}


/* ----------------------------------------
   04. ナビゲーションボタン
---------------------------------------- */

.first-anchor-nav .swell-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 8px;

  color: #735F5F;
  background: #FFFFFF;
  border: 1px solid #F0DADA;
  border-radius: 30px;
  box-shadow: none;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;

  transition: 0.3s ease;
}

/* ----------------------------------------
   ボタンの影を無効化（PC・SP共通）
---------------------------------------- */

.first-anchor-nav .swell-block-button__link,
.first-anchor-nav .swell-block-button__link:hover,
.first-anchor-nav .swell-block-button__link:focus,
.first-anchor-nav .swell-block-button__link:active {
  box-shadow: none !important;
  filter: none;
}


/* ----------------------------------------
   05. PCホバー
---------------------------------------- */

@media (hover: hover) and (min-width: 768px) {

  .first-anchor-nav .swell-block-button__link:hover {
    color: #FFFFFF !important;
    background: #D39F9F;
    border-color: #D39F9F;
  }

}


/* ========================================
   AFTER CARE：ページ内ナビゲーション SP
======================================== */

@media (max-width: 767px) {

  .first-anchor-nav {
    padding: 22px 14px 29px;
  }

  .first-anchor-nav .swell-block-button__link {
    padding: 10px 6px;
    font-size: 11px;
    transition: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* スマホのタップ時も配色を固定 */

  .first-anchor-nav .swell-block-button__link:is(:hover, :active) {
    color: #735F5F !important;
    background: #FFFFFF !important;
    border-color: #F0DADA !important;
    opacity: 1;
  }

}



/* ========================================
   AFTER CARE：導入文
======================================== */

.aftercare-lead {
  line-height: 2;
  text-align: center;
}


/* ========================================
   AFTER CARE：導入文 SP
======================================== */

@media (max-width: 767px) {

  .aftercare-lead {
    text-align: left;
  }

}
