@charset "UTF-8";
/* ===================================================================
   カスタマイズ治療ページ 専用CSS
   - 全セレクタを #customize 配下にスコープし、他ページへ影響しない
   - 既存 style.css の見た目に準拠しつつ「軽い特別感」を付与
   - ブランドピンク #ff9b9f / 茶系ブラック #1f1713 を踏襲
   =================================================================== */

/* ---- セクション間の余白を少しゆったりさせ、特別ページらしい呼吸を作る ---- */
#customize .beauty-low .inner > h3.Box {
  margin-top: 70px;
}
#customize .beauty-low .inner > h3.Box:first-of-type {
  margin-top: 40px;
}
#customize .Komidashi {
  margin-top: 35px;
  margin-bottom: 15px;
}

/* ===== TOPバナー ===== */
#customize .MainImg {
  margin: 0 auto 50px;
}
#customize .MainImg img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== 本文中の写真 ===== */
#customize .cz-photo {
  margin: 26px auto 10px;
  text-align: center;
}
#customize .cz-photo img {
  width: 100%;
  height: auto;
  max-width: 760px;
  border-radius: 8px;
}
#customize .cz-photo.is-wide img {
  max-width: 100%;
}
/* リード内に置いた写真は上下余白を整える */
#customize .cz-lead .cz-photo {
  margin: 6px auto 28px;
}

/* チェックリスト（おすすめ／受けられない方）：頭を揃えるためグリッド化（PC2列・スマホ1列） */
#customize .List.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 30px 0;
}
#customize .List.checks li {
  margin: 0;            /* ばらつく margin-right:3em / margin-bottom を解除（gapで管理） */
  line-height: 1.6;
}

/* おすすめリストを強調：円形チェック＋淡ピンク角丸ボックス */
#customize .List.checks.cz-recommend {
  gap: 14px 20px;
}
#customize .List.checks.cz-recommend li {
  position: relative;
  padding: 14px 18px 14px 52px;
  background: #fff6f6;            /* 既定のcheck画像も解除 */
  border: 1px solid #ffd0d3;
  border-radius: 10px;
  font-weight: bold;
  line-height: 1.5;
}
#customize .List.checks.cz-recommend li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff9b9f;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
}

/* 縦長の機器画像（XERF等）はカード内で高さを揃えて中央配置 */
#customize .GridLayout img.cz-img-fit {
  max-height: 220px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 機器カードのグリッド：このページのみ上下余白をなくす */
#customize .GridLayout {
  margin-top: 0;
  margin-bottom: 0;
}

/* 機器セクション見出し（表皮/真皮）：recruitのheading02あしらい（ピンクのピル）を流用 */
#customize .heading02 {
  background: #fa9c9d;
  padding: 5px 16px;
  text-align: left;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  border-radius: 40px;
  margin: 45px 0 12px;
}

/* ③施術の device-section：画像のpaddingを右側へ／スマホは余白なし・幅100% */
#customize .layout-img-left .device-image {
  padding-left: 0 !important;
  padding-right: 30px;
}
@media screen and (max-width: 768px) {
  #customize .device-section .device-image {
    padding-right: 0 !important;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }
  /* こだわりブロックの項目間余白をスマホで均一化（②→③相当に） */
  #customize ol.Number .cz-figs {
    margin-top: 0;
    margin-bottom: 18px;
  }
  #customize ol.Number li .device-section {
    margin-bottom: 0;
  }
  /* チェックリストはスマホで1列 */
  #customize .List.checks {
    grid-template-columns: 1fr;
  }
}

/* 図版を横並び（画像診断 画面＋装置など） */
#customize .cz-figs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 20px 0 6px;
}
#customize .cz-figs figure {
  margin: 0;
  flex: 1 1 0;
  min-width: 220px;
  text-align: center;
}
#customize .cz-figs figure img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

/* ===== リード（ファーストビュー直下の導入ブロック） ===== */
#customize .cz-lead {
  position: relative;
  margin: 0 auto 30px;
  padding: 40px 40px 30px;
  background: linear-gradient(180deg, #fff6f6 0%, #fffafa 100%);
  border: 1px solid #ffd9db;
  border-radius: 10px;
}
#customize .cz-lead .cz-catch {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  color: #1f1713;
  margin-bottom: 24px;
}
#customize .cz-lead .cz-catch b {
  color: #ff7980;
}
#customize .cz-lead p {
  line-height: 2.0;
  padding-bottom: 1.0em;
}
#customize .cz-lead .cz-lead-close {
  text-align: center;
  font-weight: bold;
  color: #ff7980;
  padding-bottom: 0;
}

/* ===== 3つのアプローチ カード ===== */
#customize .cz-approach {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 26px 0 6px;
}
#customize .cz-approach li {
  flex: 1 1 0;
  min-width: 180px;
  text-align: center;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid #ff9b9f;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  color: #1f1713;
}
#customize .cz-approach li span {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #ff9b9f;
  margin-bottom: 6px;
  letter-spacing: .08em;
}

/* ===== 治療概要・流れ：治療期／維持期 グリッド表 ===== */
#customize .cz-phase-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 10px;
  font-size: 15px;
}
#customize .cz-phase-table th,
#customize .cz-phase-table td {
  border: 1px solid #e6c9cb;
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.5;
}
#customize .cz-phase-table thead th {
  background: #ff9b9f;
  color: #fff;
  font-weight: bold;
}
#customize .cz-phase-table thead th:first-child {
  background: #f7e7e8;
  color: #1f1713;
}
#customize .cz-phase-table tbody th {
  background: #fdf3f3;
  color: #1f1713;
  font-weight: bold;
  width: 28%;
}

/* ===== 料金プラン カード ===== */
#customize .cz-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 10px;
}
#customize .cz-plan {
  position: relative;
  flex: 1 1 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #ffd9db;
  border-radius: 10px;
  padding: 24px 20px 22px;
  box-shadow: 0 2px 10px rgba(255, 155, 159, .12);
}
#customize .cz-plan.is-premium {
  border: 2px solid #ff9b9f;
}
#customize .cz-plan .cz-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff7980;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 100vh;
  white-space: nowrap;
}
#customize .cz-plan .cz-plan-name {
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  color: #ff7980;
  padding-bottom: 4px;
  border-bottom: 2px dotted #ffd0d2;
  margin-bottom: 14px;
}
#customize .cz-plan .cz-plan-name small {
  display: block;
  font-size: 12px;
  color: #1f1713;
  font-weight: bold;
  margin-top: 4px;
}
#customize .cz-plan .cz-plan-target {
  font-size: 13px;
  font-weight: bold;
  color: #1f1713;
  background: #fdf3f3;
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
  text-align: center;
}
#customize .cz-plan .cz-plan-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
#customize .cz-plan .cz-plan-price {
  text-align: center;
  border-top: 1px solid #f1dcdd;
  padding-top: 12px;
}
#customize .cz-plan .cz-plan-price .cz-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
#customize .cz-plan .cz-plan-price .cz-label {
  font-size: 12px;
  font-weight: bold;
  color: #999;
}
#customize .cz-plan .cz-plan-price .cz-yen {
  font-size: 22px;
  font-weight: bold;
  color: #ff7980;
}
#customize .cz-plan .cz-plan-price .cz-yen small {
  font-size: 13px;
  color: #1f1713;
}

/* ===== CTA（クロージング） ===== */
#customize .cz-cta {
  margin: 60px auto 0;
  padding: 36px 30px;
  text-align: center;
  background: linear-gradient(180deg, #fff6f6 0%, #ffeef0 100%);
  border-radius: 12px;
}
#customize .cz-cta p {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.9;
  margin-bottom: 22px;
  color: #1f1713;
}
#customize a.cz-btn {
  display: inline-block;
  text-decoration: none;
  min-width: 320px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 40px;
  font-weight: bold;
  font-size: 17px;
  color: #fff;
  background: #ff9b9f;
  border-radius: 100vh;
  border-bottom: 6px solid #c14c55;
  transition: .2s;
}
#customize a.cz-btn:hover {
  opacity: .9;
  transform: translateY(2px);
  border-bottom-width: 3px;
}

/* ===== レスポンシブ（768px以下） ===== */
@media screen and (max-width: 768px) {
  #customize .cz-lead {
    padding: 24px 18px 18px;
  }
  #customize .cz-lead .cz-catch {
    font-size: 19px;
  }
  #customize .cz-approach {
    gap: 10px;
  }
  #customize .cz-approach li {
    flex: 1 1 100%;
  }
  #customize .cz-plans {
    gap: 28px;
  }
  #customize .cz-plan {
    flex: 1 1 100%;
  }
  #customize .beauty-low .inner > h3.Box {
    margin-top: 50px;
  }
  #customize a.cz-btn {
    min-width: 0;
    width: 100%;
  }
  #customize .cz-phase-table {
    font-size: 14px;
  }
}
