/* =======================================================
   price.css（施術料金専用）
   - common.css の .section / .section-header / .section-title を前提
   - sectionの width / margin / padding は common に任せる
   - Swiper は overflow: hidden 前提（壊す指定を入れない）
======================================================= */


/* =======================================================
   施術料金（チケット風）
======================================================= */

.price-section {
  /* section--bg-soft が背景を持つので、ここで背景は持たない */
}

.price-lead {
  text-align: center;
  line-height: 1.9;
  margin: 10px auto 30px;
  color: #222;
  font-size: 20px;
}

.price-lead-sub {
  font-size: 18px;
}

/* 1列グリッド（中央配置） */
.price-ticket-grid {
  max-width: 600px;        /* カード幅を制限して中央に見せる */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;  /* 1列 */
  gap: 26px;
  align-items: start;
}

/* チケット（figure） */
.price-ticket {
  margin: 0;

  /* 画像読み込み失敗時に alt が出てレイアウト崩れるのを防ぐ */
  font-size: 0;
  line-height: 0;
  color: transparent;

  border-radius: 18px;
  overflow: hidden;

  /* 2枚目みたいに“浮かせる” */
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

/* チケット画像 */
.price-ticket img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;

  /* 画像の描画を安定させる */
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* SP（1列） */
@media (max-width: 767px) {
  .price-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .price-lead-sub {
    font-size: 14px;
  }

  .price-ticket-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price-ticket {
    border-radius: 16px;
  }

  .price-ticket img {
    border-radius: 16px;
  }
}



/* =======================================================
   オプション
======================================================= */

.option-lead {
  text-align: center;
  line-height: 1.9;
  margin: 10px auto 32px;
  font-size: 18px;
  color: #222;
}

/* グリッド */
.option-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 26px;
}

/* 1アイテム */
.option-item {
  display: flex;
  flex-direction: column;
}

/* チケット画像 */
.option-ticket {
  margin: 0 0 14px;
  border-radius: 18px;
  overflow: hidden;
}

.option-ticket img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* Tablet */
@media (max-width: 1199px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* SP：画像間を詰める */
@media (max-width: 767px) {
  .option-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* ★ 画像間の余白の原因（margin-bottom）を0に */
  .option-ticket {
    margin: 0;
  }

  .option-title {
    font-size: 18px;
  }

  .option-desc {
    font-size: 14px;
  }

  .option-price {
    font-size: 17px;
  }
}



/* =======================================================
   おすすめコース（Swiper）
======================================================= */

.recommend-course-lead {
  text-align: center;
  line-height: 1.3;
  margin: 10px auto;
  color: #222;
  font-size: 20px;
}

/* Swiper本体 */
.recommend-slider {
  width: 95%;              /* 100%にすると“親の見え方”によってズレが出やすいので95%推奨 */
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 6px 0 30px;
  box-sizing: border-box;
}

/* Swiper内部 */
.recommend-slider .swiper-wrapper {
  box-sizing: border-box;
}

/* ★ ここが肝：Swiperの指定に負けないように強制で中央寄せ */
.recommend-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
  display: flex !important;
  justify-content: center !important;
  align-items: stretch;
}

/* ★ カード自体を「幅固定＋中央」にする（これで左ズレが止まる） */
.recommend-card {
  background: #fff6f4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 520px;       /* SPでの“中央固定”の要 */
  margin: 0 auto;
  margin-left: 10px;
}

.recommend-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 14px 14px 0;
  background: #f6f6f6;
}

.recommend-image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.recommend-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 243, 245, 0.92);
  color: #E36B71;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.recommend-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 18px 15px;
  color: #222;
  background-image: linear-gradient(transparent 70%, rgba(227, 107, 113, 0.25) 70%);
  background-size: 100% 1.0em;
  background-repeat: no-repeat;
  background-position: 0 100%;
  display: inline-block;
  align-self: flex-start;
}

.recommend-desc {
  margin: 0 18px 14px;
  line-height: 1.5;
  font-size: 14px;
  color: #333;
}

.recommend-badge {
  margin: 30px 18px 12px;
  display: inline-block;
  padding: 8px 14px;
  background: #E36B71;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  width: fit-content;
}

.recommend-price-line {
  margin: 0 18px 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.2;
}

.recommend-time {
  font-size: 16px;
  color: #222;
  margin: 10px 0;
}

.recommend-price {
  font-size: 22px;
  font-weight: bold;
  color: #E36B71;
  margin: 10px 0;
}

.recommend-tax {
  font-size: 14px;
  color: #222;
}

.recommend-note {
  margin: 0 18px 18px;
  font-weight: bold;
  color: #222;
  background: rgba(227, 107, 113, 0.10);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  width: fit-content;
}

/* 効果（feature list） */
.recommend-course-section .feature-label {
  font-weight: bold;
  margin: 10px 18px;
  font-size: 16px;
  color: #111;
}

.recommend-course-section .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 18px 18px;
}

.recommend-course-section .feature-list li {
  position: relative;
  padding-left: 1.6em;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  letter-spacing: 0.01em;
}

.recommend-course-section .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.12em;
  font-size: 1.4em;
  line-height: 1;
  color: #E36B71;
  font-weight: bold;
}

/* Swiper ナビ */
.recommend-slider .swiper-button-prev,
.recommend-slider .swiper-button-next {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(227, 107, 113, 0.8);
  background: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;

  font-size: 0;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.recommend-slider .swiper-button-prev { left: 10px; }
.recommend-slider .swiper-button-next { right: 10px; }

.recommend-slider .swiper-button-prev::after,
.recommend-slider .swiper-button-next::after {
  content: "";
  font-size: 22px;
  color: #E36B71;
  line-height: 1;
  text-indent: 0;
}

.recommend-slider .swiper-button-prev::after { content: "‹"; }
.recommend-slider .swiper-button-next::after { content: "›"; }

/* ページネーション：少し上に */
.recommend-slider .swiper-pagination {
  bottom: 14px !important;   /* 10→14で“少し上” */
}

@media (max-width: 767px) {
  .recommend-course-lead {
    font-size: 16px;
  }

  .recommend-image-wrap img {
    height: 200px;
  }

  .recommend-slider .swiper-button-prev,
  .recommend-slider .swiper-button-next {
    width: 30px;
    height: 30px;
  }

  .recommend-slider .swiper-button-prev { left: 6px; }
  .recommend-slider .swiper-button-next { right: 6px; }

  .recommend-slider .swiper-button-prev::after,
  .recommend-slider .swiper-button-next::after {
    font-size: 20px;
  }

  .recommend-course-section .feature-list li {
    font-size: 15px;
    line-height: 1.9;
  }

  .recommend-course-section .feature-list li::before {
    top: 0.12em;
    font-size: 1.05em;
  }

  /* SPはカード最大幅を少し広げる（中央固定のまま） */
  .recommend-card {
    max-width: 560px;
  }
}



/* =======================================================
   出張料金
======================================================= */

.visitfee-lead {
  text-align: center;
  line-height: 1.9;
  margin: 10px auto 26px;
  font-size: 18px;
  color: #222;
}

.visitfee-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.visitfee-card {
  background: #fff;
  border: 1px solid rgba(227, 107, 113, 0.55);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-sizing: border-box;
}

.visitfee-title {
  background: #E36B71;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
  padding: 12px 10px;
  margin: 0 0 16px;
  font-size: 18px;
}

.visitfee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visitfee-list li {
  position: relative;
  padding-left: 1.4em;
  margin: 0 0 12px;
  line-height: 1.9;
  color: #222;
  font-size: 16px;
}

.visitfee-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #111;
}

@media (max-width: 767px) {
  .visitfee-lead {
    font-size: 16px;
  }

  .visitfee-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .visitfee-list li {
    font-size: 15px;
  }
}