/* ============================================
   single-treatment.php 専用スタイル
   treatment-section と同navyダークトーン
   ============================================ */

.strmt-page {
  background: var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ヒーロー ===== */
.strmt-hero {
  position: relative;
  background: var(--navy);
  padding: 68px 26px 68px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,214,229,0.10);
}

.strmt-hero-deco {
  position: absolute;
  right: -10px; bottom: -20px;
  font-size: clamp(68px, 12vw, 140px);
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: rgba(255,255,255,0.030);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 0;
}

.strmt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.strmt-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(240,62,122,0.8);
  margin-bottom: 16px;
}

/* アイコン円 */
.strmt-hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-main), var(--pink-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  margin: 0 auto 26px;
}

.strmt-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
}

.strmt-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== 本文エリア ===== */
.strmt-body {
  padding: 42px 0 68px;
  background: var(--navy);
}

.strmt-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 26px;
}

/* 記事カード */
.strmt-article {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,214,229,0.12);
  border-radius: 20px;
  padding: 44px 42px;
  margin-bottom: 42px;
  animation: fadeUp 0.6s ease both;
}

/* 本文スタイル */
.strmt-content {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255,255,255,0.75);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.strmt-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--pink-main);
  line-height: 1.5;
}
.strmt-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,214,229,0.15);
}
.strmt-content p { margin-bottom: 20px; }
.strmt-content p:last-child { margin-bottom: 0; }
.strmt-content a {
  color: var(--pink-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.strmt-content a:hover { opacity: 0.75; }
.strmt-content img {
  max-width: 100%; height: auto;
  border-radius: 10px; margin: 12px 0; display: block;
}
.strmt-content ul,
.strmt-content ol {
  padding-left: 1.6em;
  margin-bottom: 16px;
}
.strmt-content li {
  margin-bottom: 8px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}
.strmt-content li::marker { color: var(--pink-main); }
.strmt-content blockquote {
  margin: 28px 0;
  padding: 18px 26px;
  background: rgba(240,62,122,0.07);
  border-left: 4px solid var(--pink-main);
  border-radius: 0 10px 10px 0;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}
.strmt-content strong { color: #fff; font-weight: 700; }
.strmt-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 26px 0;
}

/* ===== 関連待遇 ===== */
.strmt-related { margin-bottom: 48px; }

.strmt-related-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--pink-main);
}

.strmt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.strmt-rel-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,214,229,0.12);
  border-radius: 14px;
  padding: 18px 16px;
  text-decoration: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.strmt-rel-card:hover {
  background: rgba(240,62,122,0.10);
  border-color: rgba(240,62,122,0.35);
  transform: translateY(-3px);
}

.strmt-rel-icon {
  font-size: 16px;
  color: var(--pink-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.strmt-rel-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 4px;
}
.strmt-rel-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ===== 前後ナビ ===== */
.strmt-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
}
.strmt-nav-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,214,229,0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.strmt-nav-item:hover {
  background: rgba(240,62,122,0.10);
  border-color: rgba(240,62,122,0.35);
  transform: translateY(-3px);
}
.strmt-nav-empty { background: transparent; border: none; pointer-events: none; }
.strmt-nav-prev  { text-align: left; }
.strmt-nav-next  { text-align: right; }
.strmt-nav-dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink-main);
}
.strmt-nav-ttl {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  word-break: break-all;
}

/* ===== 一覧へ戻る ===== */
.strmt-back-wrap { text-align: center; }
.strmt-back-btn {
  display: inline-block;
  padding: 14px 42px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-main);
  border: 2px solid var(--pink-main);
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.strmt-back-btn:hover {
  background: var(--pink-main);
  color: #fff;
  transform: translateY(-2px);
}

/* SP */
@media (max-width: 640px) {
  .strmt-hero            { padding: 56px 20px 48px; }
  .strmt-hero-icon       { width: 70px; height: 70px; font-size: 28px; }
  .strmt-article         { padding: 28px 20px; }
  .strmt-content         { font-size: 14px; }
  .strmt-content h2      { font-size: 17px; }
  .strmt-content h3      { font-size: 15px; }
  .strmt-related-grid    { grid-template-columns: 1fr; }
  .strmt-postnav         { grid-template-columns: 1fr; gap: 10px; }
  .strmt-nav-next        { text-align: left; }
  .strmt-nav-empty       { display: none; }
}
@media (max-width: 900px) {
  .strmt-related-grid { grid-template-columns: 1fr 1fr; }
}
