/* single-treatment.php（ライトテーマ） */

.strmt-page {
  background: #fff;
  min-height: 100vh; overflow-x: hidden;
}

/* ===== ヒーロー ===== */
.strmt-hero {
  position: relative;
  background: linear-gradient(160deg, var(--pink-deep) 0%, var(--pink-main) 60%, var(--mint) 100%);
  padding: 80px 26px 96px;
  text-align: center;
  overflow: hidden;
  border: none;
}
/* 斜め面1（左） */
.strmt-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: -5%;
  width: 55%; height: 100%;
  background: rgba(255,255,255,0.07);
  transform: skewX(-14deg);
  transform-origin: bottom left;
  pointer-events: none;
}
/* 斜め面2（右・ゴールド） */
.strmt-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: -5%;
  width: 45%; height: 80%;
  background: linear-gradient(to top left, rgba(184,152,106,0.18), rgba(255,255,255,0.06));
  transform: skewX(16deg);
  transform-origin: bottom right;
  pointer-events: none;
}
/* 底面斜め切り */
.strmt-hero-cut {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 52px; pointer-events: none; z-index: 3;
}
/* 浮遊丸 */
.strmt-hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.strmt-orb {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: orbFloat linear infinite;
}
.strmt-orb:nth-child(1) { width:14px; height:14px; left:10%;  top:35%; background:rgba(184,152,106,0.55); animation-duration:7s;  animation-delay:0s;   }
.strmt-orb:nth-child(2) { width: 8px; height: 8px; left:28%;  top:65%; background:rgba(255,255,255,0.40); animation-duration:9s;  animation-delay:1.4s; }
.strmt-orb:nth-child(3) { width:18px; height:18px; left:45%;  top:20%; background:rgba(94,207,177,0.40);  animation-duration:11s; animation-delay:0.6s; }
.strmt-orb:nth-child(4) { width: 9px; height: 9px; left:62%;  top:60%; background:rgba(255,255,255,0.35); animation-duration:8s;  animation-delay:2.0s; }
.strmt-orb:nth-child(5) { width:12px; height:12px; left:78%;  top:30%; background:rgba(184,152,106,0.45); animation-duration:10s; animation-delay:0.9s; }
.strmt-orb:nth-child(6) { width:20px; height:20px; left:88%;  top:55%; background:rgba(94,207,177,0.28);  animation-duration:13s; animation-delay:1.8s; }
.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.06);
  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(255,208,224,0.9); 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.7);
  line-height: 1.85; max-width: 520px; margin: 0 auto;
}

/* ===== 本文エリア ===== */
.strmt-body { padding: 36px 0 40px; background: #fff; }
.strmt-inner { max-width: 820px; margin: 0 auto; padding: 0 26px; }

.strmt-article {
  background: #fff;
  border: 1px solid #C8F0F7;
  border-radius: 20px; padding: 44px 42px; margin-bottom: 42px;
  animation: fadeUp 0.6s ease both;
  box-shadow: none;
}

.strmt-content {
  font-size: 15px; line-height: 2.1;
  color: rgba(74,32,56,0.8);
  word-break: break-all; overflow-wrap: anywhere;
}
.strmt-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px; font-weight: 700; color: var(--navy);
  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: var(--navy);
  margin: 26px 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(150,232,188,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(74,32,56,0.7); }
.strmt-content li::marker { color: var(--pink-main); }
.strmt-content blockquote {
  margin: 28px 0; padding: 18px 26px;
  background: rgba(150,232,188,0.05);
  border-left: 4px solid var(--pink-main);
  border-radius: 0 10px 10px 0;
  color: rgba(142,64,104,0.65); font-style: italic;
}
.strmt-content strong { color: var(--navy); font-weight: 700; }
.strmt-content hr { border: none; border-top: 1px solid #C8F0F7; margin: 26px 0; }

/* ===== 関連待遇 ===== */
.strmt-related { margin-bottom: 24px; }
.strmt-related-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px; font-weight: 700; color: var(--navy);
  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: #fff; border: 1px solid #C8F0F7;
  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, ;
  box-shadow: none;
}
.strmt-rel-card:hover {
  border-color: rgba(150,232,188,0.3);
  transform: translateY(-3px);
  box-shadow: none;
}
.strmt-rel-icon { font-size: 16px; color: var(--pink-main); flex-shrink: 0; margin-top: 2px; }
.strmt-rel-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 4px; }
.strmt-rel-desc { font-size: 11px; color: rgba(142,64,104,0.55); 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: #fff; border: 1px solid #C8F0F7;
  border-radius: 14px; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.25s, ;
  box-shadow: none;
}
.strmt-nav-item:hover {
  border-color: rgba(150,232,188,0.3);
  transform: translateY(-3px);
  box-shadow: none;
}
.strmt-nav-empty { background: transparent; border: none; pointer-events: none; box-shadow: 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: var(--navy); 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); }

@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; } }

.strmt-hero .section-label { font-size: 11px; font-family: "Noto Sans JP",sans-serif; font-weight:700; letter-spacing:.25em; color: var(--yellow); }



/* アイコン周りのリングアニメーション */
.strmt-hero-icon {
  position: relative;
}
.strmt-hero-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.30);
  animation: heroIconRing 2.4s ease-in-out infinite;
}
@keyframes heroIconRing {
  0%, 100% { transform: scale(1);   opacity: 0.4; }
  50%       { transform: scale(1.14); opacity: 0.0; }
}

/* 左右の装飾ライン */
.strmt-hero-inner::before,
.strmt-hero-inner::after {
  content: '';
  position: absolute;
  top: 50%; width: 60px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.35));
  transform: translateY(-50%);
}
.strmt-hero-inner::before {
  right: calc(100% + 20px);
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.35));
}
.strmt-hero-inner::after {
  left: calc(100% + 20px);
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.35));
}
