/* ===== TREATMENT ===== */
  .treatment-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
  }

  .treatment-section::before {
    content: 'TREATMENT';
    position: absolute;
    right: -8px; bottom: -16px;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(68px, 10vw, 110px);
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    letter-spacing: 0.05em;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
  }

  .treatment-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 42px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .treatment-header .section-label { color: var(--pink-light); }
  .treatment-header .section-title { color: var(--white); margin-bottom: 0; }

  .treatment-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pink-light);
    text-decoration: none;
    border: 1px solid rgba(255,214,229,0.35);
    padding: 8px 16px;
    border-radius: 50px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .treatment-more:hover {
    background: rgba(240,62,122,0.25);
    border-color: var(--pink-main);
    color: #fff;
  }

  .treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  @media (max-width: 900px) {
    .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 540px) {
    .treatment-grid { grid-template-columns: 1fr; }
  }

  .treatment-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,214,229,0.15);
    border-radius: 18px;
    padding: 28px 26px 26px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    animation: fadeUp 0.7s ease both;
  }

  .treatment-card:nth-child(1) { animation-delay: 0.15s; }
  .treatment-card:nth-child(2) { animation-delay: 0.22s; }
  .treatment-card:nth-child(3) { animation-delay: 0.29s; }
  .treatment-card:nth-child(4) { animation-delay: 0.36s; }
  .treatment-card:nth-child(5) { animation-delay: 0.43s; }
  .treatment-card:nth-child(6) { animation-delay: 0.50s; }

  /* ホバー時の左ボーダー光 */
  .treatment-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pink-main), var(--pink-light));
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.25s;
  }

  .treatment-card:hover {
    background: rgba(240,62,122,0.1);
    border-color: rgba(240,62,122,0.4);
    transform: translateY(-3px);
  }

  .treatment-card:hover::before { opacity: 1; }

  .treatment-card-icon {
    font-size: 26px;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
    color: var(--pink-light);
  }

  .treatment-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.45;
  }

  .treatment-card-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    flex: 1;
  }

  .treatment-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 700;
    color: var(--pink-main);
    letter-spacing: 0.05em;
    transition: gap 0.2s;
  }

  .treatment-card:hover .treatment-card-link { gap: 9px; }

  .treatment-card-link::after {
    content: '→';
    font-size: 12px;
  }

/* ================================================================
   サムネイル対応追加スタイル
   ================================================================ */

/* ===== archive / index 共通：カードサムネラップ ===== */
.treatment-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin: -28px -26px 18px;
  width: calc(100% + 52px);
}
.treatment-card-thumb .treatment-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.treatment-card:hover .treatment-card-thumb .treatment-thumb-img {
  transform: scale(1.04);
}

/* サムネなし時：アイコン丸（archiveカード内） */
.treatment-thumb-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(240,62,122,.12) 0%, rgba(192,24,90,.08) 100%);
}
.treatment-thumb-icon i {
  font-size: 42px;
  color: var(--pink-main);
  opacity: 0.8;
}

/* ===== index.php トップ：サムネあり時のカードラップ ===== */
.treatment-card-thumb-wrap {
  width: calc(100% + 52px);
  margin: -28px -26px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.treatment-card-thumb-wrap .treatment-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.treatment-card:hover .treatment-card-thumb-wrap .treatment-thumb-img {
  transform: scale(1.04);
}

/* ===== single-treatment.php：サムネあり時のヒーロー ===== */
.strmt-hero--photo {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 68px 26px;
}
.strmt-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.strmt-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,34,64,.88) 0%, rgba(30,34,64,.72) 100%);
  z-index: 1;
}
.strmt-hero--photo .strmt-hero-deco,
.strmt-hero--photo .strmt-hero-inner {
  position: relative;
  z-index: 2;
}

/* single サムネ丸 */
.strmt-hero-thumb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid rgba(240,62,122,.6);
  box-shadow: 0 0 0 6px rgba(240,62,122,.12);
}
.strmt-hero-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 540px) {
  .treatment-card-thumb,
  .treatment-card-thumb-wrap {
    margin: -20px -18px 14px;
    width: calc(100% + 36px);
  }
  .strmt-hero--photo { min-height: 280px; }
  .strmt-hero-thumb { width: 80px; height: 80px; }
}
