/* ============================
   h1
   ============================ */
.page-template-page-beauty h1 {
  display: none !important;
}

/* ============================
   h2
   ============================ */
.page-template-page-beauty #content h2 {
  all: unset;
  display: block;
  text-align: center;
  margin: 80px 0 40px;
}

/* 筆記体（英語） */
.page-template-page-beauty #content .beauty-heading .en {
  display: block;
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 30px;
  letter-spacing: 0.05em;
  color: #de7a9b81;
  margin-bottom: 6px;
}

/* 日本語タイトル */
.page-template-page-beauty #content .beauty-heading .ja {
  display: inline-block;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #5c2f2f;
  padding-bottom: 8px;
  border-bottom: 1px solid #5c2f2f;
  line-height: 1.4em;
}

/* ============================
   h3
   ============================ */
.page-template-page-beauty #content .esthetics-feature-title {
  all: unset;
  display: inline-block;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif;
  font-size: 32px;
  font-weight: 600;
  color: #5c2f2f;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c8a8a0;
}

/* ==========================================================
   Amaterasuテーマの余白を無効化
   ========================================================== */

.page-template-page-beauty #wrapper,
.page-template-page-beauty #content {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.page-template-page-beauty #wrapper .inner,
.page-template-page-beauty #wrapper .post,
.page-template-page-beauty #wrapper .entry-content,
.page-template-page-beauty .breadcrumb-area,
.page-template-page-beauty .clearfix {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* パンくず非表示 */
.page-template-page-beauty .breadcrumb-area {
  display: none !important;
}

/* ============================================
   Beauty FV（Swiper）
   ============================================ */
#beauty-fv {
  width: 100%;
  max-width: none !important;
  height: 640px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}
#beauty-fv .swiper {
  width: 100%;
  height: 100%;
}
#beauty-fv .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.page-template-page-beauty #beauty-fv .beauty-fv-slider {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.page-template-page-beauty #beauty-fv .beauty-fv-slider.is-ready {
  opacity: 1;
  visibility: visible;
}
#beauty-fv .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#beauty-fv .swiper-slide > div {
  width: 100%;
  height: 100%;
}
#beauty-fv .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media screen and (max-width: 768px) {
  #beauty-fv,
  #beauty-fv .swiper,
  #beauty-fv .swiper-wrapper,
  #beauty-fv .swiper-slide {
    height: 320px;
  }
  #beauty-fv .swiper-slide > div {
    height: 100%;
  }
  #beauty-fv .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
}

/* ==========================================================
   ヘッダー
   ========================================================== */

#beauty-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.beauty-header-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* ロゴ + テキスト */
#beauty-header .beauty-header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
#beauty-header .beauty-header-logo img {
  width: 60px;
  height: auto;
}
#beauty-header .beauty-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: #fff;
}
#beauty-header .beauty-header-text span:first-child {
  font-size: 22px;
}
#beauty-header .beauty-header-text span:last-child {
  font-size: 14px;
  opacity: 0.9;
}

/* ナビゲーション */
#beauty-header .beauty-header-nav ul {
  display: flex;
  list-style: none;
  gap: 50px;
  margin: 0;
  padding: 0;
}
#beauty-header .beauty-header-nav a {
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  transition: 0.2s ease;
}
#beauty-header .beauty-header-nav a:hover {
  opacity: 0.7;
}

/* スクロール後の状態（白背景 + 黒文字） */
#beauty-header.scrolled {
  background: rgb(255 255 255 / 0.85);
}
#beauty-header.scrolled .beauty-header-text,
#beauty-header.scrolled .beauty-header-nav a {
  color: #333 !important;
}

/* ============================================
   リードセクション
   ============================================ */
.page-template-page-beauty .esthetics-text,
.page-template-page-beauty .esthetics-text span {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif !important;
  font-weight: 400;
  line-height: 2;
}
.page-template-page-beauty .esthetics-strong,
.page-template-page-beauty .esthetics-strong p,
.page-template-page-beauty .esthetics-strong span {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif !important;
  font-weight: 600;
}
.page-template-page-beauty .esthetics-strong p {
  text-align: center;
  line-height: 1.4em;
  font-size: 36px;
  color: #c30000;
}
.page-template-page-beauty .esthetics-cardTitle,
.page-template-page-beauty .esthetics-cardTitle span,
.page-template-page-beauty .esthetics-commitmentTitle {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif !important;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .lead-section {
    padding: 0 24px 0;
  }
}

/* ------------------------------
   カードセクション
-------------------------------- */
.esthetics-cards li {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------
   当店のこだわりセクション
------------------------------------ */
.esthetics-feature-blocks {
  display: flex;
  flex-direction: column;
  margin: 60px auto;
  max-width: 980px;
}
.esthetics-feature {
  display: flex;
  gap: 80px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid #d7c5c2;
}
.esthetics-feature:last-child {
  border-bottom: 1px solid #d7c5c2;
}
.esthetics-feature-title {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif;
  font-size: 26px;
  color: #5c2f2f;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c8a8a0;
  display: inline-block;
}
.esthetics-feature-text {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho",
    serif;
  line-height: 1.9;
  font-size: 16px;
  color: #333;
}
.esthetics-feature-img {
  width: 300px;
  height: 240px;
  flex-shrink: 0;
  position: relative;
}
.esthetics-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% / 50%;
  display: block;
  position: relative;
  z-index: 1;
}
.esthetics-feature-img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 10%;
  background: #fec7d8;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .esthetics-commitmentSection {
    padding: 0 24px 0;
  }
  .esthetics-feature {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    gap: 30px;
  }
  .esthetics-feature-img {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }
  .esthetics-feature-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .page-template-page-beauty #content .esthetics-feature-title {
    font-size: 28px;
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px auto;
  }
}

/* ------------------------------------
   Before After セクション
------------------------------------ */
.beforeafter-section {
  max-width: 980px;
  margin: 100px auto 0;
  padding: 0 0 60px;
  background: #fdf4f5;
  text-align: center;
}
.beforeafter-heading {
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #5c2f2f;
}
.beforeafter-heading::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  background: #c8a8a0;
  margin: 12px auto 0;
}
.beforeafter-heading.image-heading {
  border: none;
  padding: 0;
}
.beforeafter-heading.image-heading img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.beforeafter-heading.image-heading::after {
  display: none;
}

/* 1人分のBefore/Afterブロック */
.beforeafter-person {
  background: #fff;
  padding: 50px 30px 40px;
  margin: 40px auto 0;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
}
.beforeafter-img-wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.beforeafter-img {
  width: 100%;
  max-width: 300px;
  display: block;
}

/* 説明文 */
.beforeafter-text {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 700px;

  display: inline-block;
  text-align: left;
}
.beforeafter-text li {
  position: relative;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  padding-left: 20px;
}
.beforeafter-text li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.6em;
  font-size: 10px;
  color: #c8a8a0;
}

@media screen and (max-width: 768px) {
  .beforeafter-person {
    margin: 40px 24px 0;
  }
  .beforeafter-img-wrap {
    flex-direction: column;
    gap: 20px;
  }
  .beforeafter-img {
    max-width: 100%;
  }
  .beforeafter-text li {
    padding-left: 22px;
  }
}
