@media screen and (max-width: 768px) {
  /* ===== smartphone: opening movie off / background on ===== */
  #opening-video-layer,
  #opening-video,
  #video-mute-btn,
  #video-skip-btn {
    display: none !important;
  }

  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }
  img, video, svg, canvas { display: block; max-width: 100%; height: auto; }
  body { font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif; line-height: 1.7; color: #222; background: transparent; position: relative; }

  .background-layer { display: none !important; }
  #ambient-background {
    display: block !important;
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28)), url("img/background.webp") center / cover no-repeat;
  }
  #fairy-light-container { display: block !important; position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
  #fairy-light-container::before, #fairy-light-container::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(42px); opacity: 1;
  }
  #fairy-light-container::before {
    top: 10%; left: -6%; width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(247, 206, 104, 0.30) 0%, rgba(247, 206, 104, 0.12) 38%, transparent 72%);
    animation: fairyFloatOne 7s ease-in-out infinite;
  }
  #fairy-light-container::after {
    top: 34%; right: -8%; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255, 234, 180, 0.22) 0%, rgba(255, 220, 150, 0.10) 40%, transparent 74%);
    animation: fairyFloatTwo 9s ease-in-out infinite;
  }
  @keyframes fairyFloatOne {
    0% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(14px,18px,0) scale(1.06); }
    100% { transform: translate3d(0,0,0) scale(1); }
  }
  @keyframes fairyFloatTwo {
    0% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(-14px,16px,0) scale(1.08); }
    100% { transform: translate3d(0,0,0) scale(1); }
  }

  main, #main-content, .hero, .life-change-section, .problems-section, .guide-modal, .reservation-bar {
    position: relative; z-index: 2;
  }

  .hero {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  line-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

.hero-bg { display: none !important; }

.hero-img-sp {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: unset !important;
  object-position: center top !important;
  margin: 0 !important;
  padding: 0 !important;
}
  .hero-left, .hero-right, .hero-first, .hero-brand, .hero-copy-box, .hero-trust, .hero-rating, .hero-review, .hero-text, .hero-note, .hero-features { display: none !important; }

  .guide-modal { position: fixed !important; inset: 0 !important; display: none !important; z-index: 9999 !important; }
  .guide-modal.active { display: flex !important; }

  .reservation-bar {
    position: fixed !important; left: 50% !important; transform: translateX(-50%) !important; bottom: 8px !important;
    width: calc(100% - 16px) !important; border-radius: 16px !important; z-index: 9998 !important;
    animation: none !important; transition: opacity .35s ease !important;
  }
  .reservation-buttons { display: flex !important; gap: 10px !important; }

  .life-change-section {
    position: relative; overflow: hidden; padding: 56px 20px !important; text-align: center !important;
    background:
      radial-gradient(circle at 50% 20%, rgba(255,255,255,0.12), transparent 36%),
      radial-gradient(circle at 20% 15%, rgba(255,255,255,0.05), transparent 16%),
      radial-gradient(circle at 80% 25%, rgba(255,255,255,0.04), transparent 15%),
      linear-gradient(180deg, rgba(74, 52, 38, 0.78) 0%, rgba(31, 23, 18, 0.72) 100%) !important;
  }
  .intro-special-zone, .intro-massive-wrap { width: 100%; margin: 0 auto; text-align: center !important; }
  #FORCE-BIG-TITLE {
    margin: 0 !important; color: #fff7ef !important; font-size: 1.84rem !important; line-height: 1.55 !important;
    font-weight: 700 !important; letter-spacing: 0.01em !important; text-align: center !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.28) !important; word-break: keep-all; overflow-wrap: normal;
  }
  #FORCE-BIG-TITLE::after {
    content: ""; display: block; width: 64px; height: 2px; margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, rgba(230, 190, 120, 0.95), transparent) !important;
  }
  .sp-first-cta { display: block !important; margin-top: 28px !important; text-align: center !important; }
  .sp-first-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 240px !important;
    padding: 15px 28px !important; border-radius: 999px !important; text-decoration: none !important;
    font-size: 15px !important; font-weight: 700 !important; color: #fff !important;
    background: linear-gradient(135deg, #29b6ff, #2f80ff) !important; box-shadow: 0 10px 24px rgba(47,128,255,0.28) !important;
  }

  .glass-trouble-section { padding: 14px 12px 18px !important; }
  .glass-trouble-shell {
    position: relative; padding: 20px 18px 18px !important; border-radius: 24px;
    background: linear-gradient(180deg, rgba(210,220,240,0.28) 0%, rgba(220,210,195,0.18) 100%);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 22px 48px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.28);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; transform: translateY(-6px);
  }
  .glass-trouble-shell::before {
    content: ""; position: absolute; inset: 1px; border-radius: 23px; pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 100%);
  }
  .glass-trouble-shell::after {
    content: ""; position: absolute; inset: auto 18px 0 18px; height: 70px; border-radius: 50%;
    background: rgba(247,206,104,0.22); filter: blur(28px); z-index: 0;
  }
  .glass-trouble-shell > * { position: relative; z-index: 1; }
  .glass-trouble-head { margin-bottom: 10px; }
  .trouble-label { margin: 0 0 10px !important; font-size: 12px !important; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,245,230,0.88); }
  .glass-trouble-title {
    margin: 0 0 14px !important; font-size: 1.72rem !important; line-height: 1.42 !important; font-weight: 800 !important;
    color: #fff !important; text-align: left !important; letter-spacing: -0.01em; white-space: normal !important;
    word-break: keep-all !important; overflow-wrap: normal !important; text-shadow: 0 6px 18px rgba(0,0,0,0.22); max-width: 12em;
  }
  .glass-trouble-text, .glass-trouble-note {
    margin: 0 0 10px !important; font-size: 0.88rem !important; line-height: 1.85 !important; letter-spacing: 0 !important;
    color: rgba(255,255,255,0.95) !important; text-align: left !important; width: 100% !important; max-width: none !important; white-space: normal !important;
  }
  .glass-trouble-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 18px !important; }
  .glass-trouble-item {
    min-height: auto !important; padding: 18px !important; border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .glass-trouble-icon { position: relative; width: 12px !important; height: 12px !important; margin: 2px 0 0 0 !important; border-radius: 50%; background: #f7c243 !important; box-shadow: none !important; }
  .glass-trouble-item h3 { margin: -18px 0 6px 28px !important; font-size: 1rem !important; line-height: 1.8 !important; font-weight: 700 !important; color: #fff !important; }
  .glass-trouble-item p { margin: 0 0 0 28px !important; font-size: 0.9rem !important; line-height: 1.8 !important; color: rgba(255,255,255,0.92) !important; }
  .glass-trouble-note { margin-top: 16px !important; }
  .glass-trouble-cta { margin-top: 12px !important; text-align: center !important; }
  .glass-trouble-btn {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 100% !important;
    min-height: 52px !important; padding: 14px 18px !important; border-radius: 999px !important; text-decoration: none !important;
    font-size: 15px !important; font-weight: 700 !important; color: #fff !important;
    background: linear-gradient(135deg, #29b6ff, #2f80ff) !important; box-shadow: 0 10px 24px rgba(47,128,255,0.28) !important;
  }

  .sp-only { display: block !important; }
  .nayami-sp-image {
    position: relative; display: block !important; width: calc(100% - 24px); margin: 22px auto 10px !important;
    border-radius: 24px; overflow: hidden; box-shadow: 0 24px 44px rgba(0,0,0,0.24), inset 0 0 0 1px rgba(255,255,255,0.12); isolation: isolate;
  }
  .nayami-sp-image::before {
    content: ""; position: absolute; inset: auto -10% -18% auto; width: 170px; height: 170px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,221,140,0.46) 0%, rgba(255,221,140,0.12) 52%, transparent 74%);
    filter: blur(12px); z-index: 1; animation: nayamiGlowFloat 5.8s ease-in-out infinite;
  }
  .nayami-sp-image::after {
    content: ""; position: absolute; top: 16px; right: 16px; width: 58px; height: 58px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.82) 0%, rgba(255,240,200,0.34) 32%, rgba(255,240,200,0) 72%);
    opacity: 0.72; filter: blur(2px); z-index: 1; animation: nayamiSparkle 4.2s ease-in-out infinite;
  }
  .nayami-sp-image img { display: block; width: 100%; height: auto; min-height: 340px; object-fit: cover; border-radius: 24px; transform: scale(1.01); }
  .nayami-overlay {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    padding: 22px 18px 20px;
    background: linear-gradient(180deg, rgba(20,17,15,0.04) 0%, rgba(20,17,15,0.16) 26%, rgba(20,17,15,0.56) 72%, rgba(14,11,9,0.82) 100%), linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  }
  .nayami-kicker {
    display: inline-flex; align-items: center; justify-content: center; min-width: 62px; margin-bottom: 14px; padding: 6px 12px;
    border-radius: 999px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
    color: rgba(255,244,228,0.96); box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  }
  .nayami-copy {
    margin: 0; max-width: 11.5em; font-size: 1.62rem; line-height: 1.55; font-weight: 800; letter-spacing: -0.01em;
    color: #fffdfa; text-align: left; text-shadow: 0 6px 22px rgba(0,0,0,0.30);
  }
  .nayami-copy-sub { margin-top: 12px; max-width: 13.5em; font-size: 1.08rem; line-height: 1.9; font-weight: 600; color: rgba(255,246,236,0.95); }
  .nayami-playful-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .nayami-chip {
    display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: rgba(255,250,242,0.94);
    font-size: 10px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  }
  .nayami-chip-soft { background: rgba(247,206,104,0.16); border-color: rgba(247,206,104,0.28); }

  .sp-line-soft { width: calc(100% - 24px); margin: 22px auto 10px; text-align: center; }
  .sp-line-soft-lead { margin: 0 0 12px; font-size: 1rem; line-height: 1.8; color: #fff7ef; text-shadow: 0 2px 10px rgba(0,0,0,0.28); }
  .sp-line-soft-link { display: block; text-decoration: none; }
  .sp-line-soft-img { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 16px; box-shadow: 0 12px 28px rgba(0,0,0,0.18);transition: transform 0.4s ease, box-shadow 0.4s ease; }
  .sp-line-soft-note { margin: 12px 0 0; font-size: 0.95rem; color: rgba(255,255,255,0.92); }

  .sp-catch-video {
    position: relative; width: calc(100% - 24px); margin: 28px auto 0; min-height: 240px; border-radius: 22px; overflow: hidden;
    background: linear-gradient(rgba(20,16,14,0.40), rgba(20,16,14,0.58)), url("img/sp-catch-bg.webp") center / cover no-repeat;
    box-shadow: 0 18px 42px rgba(0,0,0,0.18);
  }
  .sp-catch-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.10), transparent 38%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.24));
  }
  .sp-catch-text {
    position: relative; z-index: 2; margin: 0; padding: 42px 18px; color: #fff8f2; font-size: 1.26rem; line-height: 1.85; font-weight: 700;
    text-align: center; text-shadow: 0 4px 18px rgba(0,0,0,0.32);
  }
  .space-line { display: block; height: 8px; }

  .sp-why-visual-section, .sp-why-detail-section { width: 100%; padding: 0 !important; margin: 0 !important; line-height: 0; position: relative; }
  .sp-why-visual-inner, .sp-why-detail-inner { width: 100%; margin: 0; padding: 0; }
  .sp-why-visual-img, .sp-why-detail-img {
    display: block !important; width: calc(100% - 24px) !important; max-width: calc(100% - 24px) !important; height: auto !important;
    margin: 0 auto !important; border-radius: 22px !important; box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  }
  .between-message { position: relative; z-index: 30; text-align: center; margin: -54px 0 -54px 0 !important; pointer-events: none; }
  .between-message p {
    display: inline-block; width: auto; max-width: calc(100% - 36px); margin: 0 auto; padding: 14px 16px; border-radius: 16px;
    color: #fffdf8; font-size: 17px !important; line-height: 1.65 !important; font-weight: 700; letter-spacing: 0.02em;
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 34px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.18);
    text-shadow: 0 2px 10px rgba(0,0,0,0.28), 0 0 10px rgba(255,255,255,0.20);
  }
  .sp-why-explain { width: calc(100% - 28px); margin: 24px auto 0 !important; padding: 0 2px; font-size: 0.98rem; line-height: 1.95; color: rgba(255,255,255,0.94); text-align: left; }

  .frame-question-container { width: calc(100% - 28px); margin: 26px auto 0 !important; text-align: center; }
  .frame-inner-border {
    display: block; width: 100%; padding: 18px 16px !important; border: 1px solid rgba(247,206,104,0.50);
    background: rgba(255,255,255,0.05); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .frame-text { margin: 0 !important; font-size: 1.12rem !important; line-height: 1.8 !important; color: #fff !important; letter-spacing: 0.04em; }

  .comparison-section { width: calc(100% - 28px) !important; max-width: none !important; margin: 24px auto 70px !important; }
  .comparison-container { display: flex !important; flex-direction: column !important; gap: 16px !important; align-items: stretch !important; }
  .comparison-card { width: 100%; padding: 24px 18px !important; border-radius: 20px !important; }
  .card-off { background: linear-gradient(180deg, rgba(40,40,40,0.88), rgba(20,20,20,0.88)) !important; border: 1px solid rgba(255,255,255,0.08) !important; }
  .card-on { background: rgba(255,255,255,0.16) !important; border: 1px solid rgba(247,206,104,0.56) !important; box-shadow: 0 0 24px rgba(247,206,104,.22) !important; transform: none !important; }
  .card-focus { margin: 0 0 14px !important; font-size: 1.35rem !important; line-height: 1.5 !important; }
  .comparison-list { margin: 0 !important; padding: 0 !important; list-style: none !important; text-align: left !important; }
  .comparison-list li { margin-bottom: 10px !important; font-size: 0.98rem !important; line-height: 1.8 !important; }

  .flash-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 99999; opacity: 0;
    background: radial-gradient(circle at center, rgba(255,230,140,0.92) 0%, rgba(247,206,104,0.72) 22%, rgba(247,206,104,0.38) 48%, rgba(255,215,120,0.14) 68%, transparent 100%);
    mix-blend-mode: screen;
  }
  .flash-overlay.active { animation: mobileStrongFlash 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  @keyframes mobileStrongFlash {
    0% { opacity: 0; transform: scale(0.88); filter: blur(18px); }
    18% { opacity: 0.45; transform: scale(0.96); filter: blur(12px); }
    42% { opacity: 1; transform: scale(1.08); filter: blur(4px); }
    68% { opacity: 0.72; transform: scale(1.03); filter: blur(8px); }
    100% { opacity: 0; transform: scale(1); filter: blur(14px); }
  }
  @keyframes nayamiGlowFloat {
    0% { transform: translate3d(0,0,0) scale(1); opacity: 0.82; }
    50% { transform: translate3d(-8px,-10px,0) scale(1.08); opacity: 1; }
    100% { transform: translate3d(0,0,0) scale(1); opacity: 0.82; }
  }
  @keyframes nayamiSparkle {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.12); opacity: 1; }
  }
}

@media screen and (max-width: 390px) {
  .glass-trouble-title { font-size: 1.62rem !important; line-height: 1.42 !important; }
  .nayami-sp-image { width: calc(100% - 20px); border-radius: 20px; }
  .nayami-sp-image img { min-height: 300px; border-radius: 20px; }
  .nayami-overlay { padding: 18px 14px 16px; }
  .nayami-copy { font-size: 1.42rem; }
  .nayami-copy-sub { font-size: 0.98rem; line-height: 1.8; }
  .nayami-chip { font-size: 9px; padding: 6px 10px; }
  .sp-why-visual-img, .sp-why-detail-img { width: calc(100% - 18px) !important; max-width: calc(100% - 18px) !important; border-radius: 18px !important; }
  .between-message { margin: -42px 0 -42px 0 !important; }
  .between-message p { max-width: calc(100% - 24px); padding: 12px 14px; font-size: 15px !important; line-height: 1.7 !important; border-radius: 14px; }
  .sp-why-explain { width: calc(100% - 22px); font-size: 0.92rem; line-height: 1.9; }
}

/* =========================
   FINAL MOBILE PATCH
========================= */
@media screen and (max-width: 768px) {
  /* CTA 発光 */
  .sp-line-soft {
    position: relative;
  }

  .sp-line-soft::before {
    content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -14px;
  height: 64px;
  border-radius: 999px;
  background:
    radial-gradient(circle,
      rgba(255, 233, 120, 0.88) 0%,
      rgba(247, 206, 104, 0.58) 30%,
      rgba(247, 206, 104, 0.22) 55%,
      transparent 82%);
  filter: blur(20px);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity .45s ease, transform .55s ease;
  pointer-events: none;
  z-index: 0;
  }

  .sp-line-soft.glow-active::before {
    opacity: 1;
    transform: scale(1.12);
  }

  .sp-line-soft-link,
  .sp-line-soft-img,
  .sp-line-soft-note,
  .sp-line-soft-lead {
    position: relative;
    z-index: 1;
  }

  .sp-line-soft-img {
    transition: box-shadow .45s ease, transform .45s ease, filter .45s ease;
  }

  .sp-line-soft.glow-active .sp-line-soft-img {
   box-shadow:
    0 16px 34px rgba(0,0,0,0.20),
    0 0 18px rgba(255, 235, 130, 0.55),
    0 0 38px rgba(247, 206, 104, 0.50);
  transform: scale(1.02);
  filter: brightness(1.06);
  }

  .glass-trouble-cta {
    position: relative;
    overflow: visible;
  }

  .glass-trouble-btn {
    position: relative;
    overflow: visible;
    transition: transform .45s ease, box-shadow .45s ease, filter .45s ease;
  }

  .glass-trouble-btn::after {
   content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -12px;
  height: 42px;
  border-radius: 999px;
  background:
    radial-gradient(circle,
      rgba(255, 233, 120, 0.92) 0%,
      rgba(247, 206, 104, 0.62) 28%,
      rgba(247, 206, 104, 0.24) 58%,
      transparent 84%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.90);
  transition: opacity .45s ease, transform .45s ease;
  z-index: -1;
  pointer-events: none;
  }

  .glass-trouble-cta.glow-active .glass-trouble-btn {
    box-shadow:
    0 14px 30px rgba(47,128,255,0.30),
    0 0 18px rgba(255, 235, 130, 0.52),
    0 0 34px rgba(247,206,104,0.42) !important;
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.06);
  }

  .glass-trouble-cta.glow-active .glass-trouble-btn::after {
    opacity: 1;
  transform: scale(1.10);
  }

  /* キャッチコピー */
  .sp-catch-video {
    position: relative;
    width: calc(100% - 24px);
    margin: 30px auto 30px;
    min-height: auto;
    border-radius: 24px;
    overflow: hidden;
    background:
      linear-gradient(rgba(20,16,14,0.34), rgba(20,16,14,0.58)),
      url("img/sp-catch-bg.jpg") center / cover no-repeat;
    box-shadow:
      0 22px 46px rgba(0,0,0,0.22),
      0 0 28px rgba(255,230,170,0.08);
  }

  .sp-catch-overlay {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 50% 18%, rgba(255,255,255,0.12), transparent 38%),
      radial-gradient(circle at 20% 12%, rgba(255,240,210,0.08), transparent 22%),
      linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.26));
  }

  .sp-catch-text {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 34px 20px 36px;
    color: #fff8f2;
    font-size: 1.12rem !important;
    line-height: 2.05 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    text-shadow:
      0 4px 18px rgba(0,0,0,0.34),
      0 0 12px rgba(255,255,255,0.12);
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .catch-main {
    display: block;
    font-size: 1.34rem;
    line-height: 1.9;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
    text-shadow:
      0 5px 20px rgba(0,0,0,0.36),
      0 0 14px rgba(255,255,255,0.14);
  }

  .space-line {
    display: block;
    height: 10px;
  }

  /* between-message */
  .sp-why-visual-section {
    margin-top: 10px !important;
  }

  .between-message {
    position: relative;
    z-index: 30;
    text-align: center;
    margin: 34px 0 36px !important;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px) scale(0.88);
    transition:
      opacity 1s ease,
      transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .between-message.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .between-message p {
    display: inline-block;
    width: auto;
    max-width: calc(100% - 34px);
    margin: 0 auto;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    color: #fffdf8;
    font-size: 21px !important;
    line-height: 1.95 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.10) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow:
      0 18px 34px rgba(0,0,0,0.26),
      0 0 24px rgba(255,232,188,0.12),
      inset 0 1px 0 rgba(255,255,255,0.22);
    text-shadow:
      0 2px 10px rgba(0,0,0,0.28),
      0 0 10px rgba(255,255,255,0.16);
  }

  .sp-why-detail-section {
    margin-top: 8px !important;
  }
}

@media screen and (max-width: 390px) {
  .sp-catch-video {
    width: calc(100% - 18px);
    margin: 26px auto 26px;
    border-radius: 20px;
  }

  .sp-catch-text {
    padding: 28px 16px 30px;
    font-size: 1rem !important;
    line-height: 1.95 !important;
  }

  .catch-main {
    font-size: 1.18rem;
    line-height: 1.8;
  }

  .space-line {
    height: 8px;
  }

  .between-message {
    margin: 28px 0 30px !important;
  }

  .between-message p {
    max-width: calc(100% - 24px);
    padding: 16px 16px !important;
    font-size: 18px !important;
    line-height: 1.88 !important;
    border-radius: 16px !important;
  }


/* ===== sp-why-detail の下の説明文 ===== */
.sp-why-follow-text {
  width: calc(100% - 30px);
  margin: 24px auto 22px;
  text-align: center;
}

.sp-why-follow-text p {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.06rem;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff8f1;
  text-shadow:
    0 1px 0 rgba(90, 45, 20, 0.95),
    1px 0 0 rgba(90, 45, 20, 0.95),
    -1px 0 0 rgba(90, 45, 20, 0.95),
    0 -1px 0 rgba(90, 45, 20, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(255, 235, 200, 0.18);
}

.sp-why-follow-text p.emphasis {
  font-size: 1.15rem;
  line-height: 2.05;
  font-weight: 700;
}

.sp-why-follow-text p.last-line {
  margin-bottom: 0;
  font-size: 1.18rem;
}

/* ===== 枠イラスト風ボックス ===== */
.sp-why-focus-box {
  position: relative;
  width: calc(100% - 28px);
  margin: 0 auto 28px;
  padding: 20px 16px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.18);
  text-align: center;
}

.sp-why-focus-frame {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(247, 206, 104, 0.42);
  pointer-events: none;
}

.sp-why-focus-box::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(247,206,104,0.28) 0%,
    rgba(247,206,104,0.10) 46%,
    transparent 82%
  );
  filter: blur(16px);
  pointer-events: none;
}

.sp-why-focus-inner {
  position: relative;
  z-index: 1;
}

.sp-why-focus-top {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,248,240,0.95);
}

.sp-why-focus-main {
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 800;
  color: #ffe2a8;
  text-shadow:
    0 4px 16px rgba(0,0,0,0.28),
    0 0 10px rgba(247,206,104,0.16);
}

.sp-why-focus-sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255,248,240,0.92);
}

@media screen and (max-width: 390px) {
  .sp-why-follow-text {
    width: calc(100% - 22px);
    margin: 22px auto 18px;
  }

  .sp-why-follow-text p {
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .sp-why-focus-box {
    width: calc(100% - 22px);
    padding: 18px 14px;
    border-radius: 18px;
  }

  .sp-why-focus-frame {
    inset: 8px;
    border-radius: 14px;
  }

  .sp-why-focus-main {
    font-size: 1.2rem;
    line-height: 1.55;
  }
}


/* ===== 原因説明文を画像風の雰囲気に ===== */
.sp-why-story {
  width: calc(100% - 30px);
  margin: 24px auto 18px;
  text-align: center;
}

.sp-why-story p {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.08rem;
  line-height: 2.0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff8f1;

  /* 参考画像っぽい“縁のある立体感” */
  text-shadow:
    0 1px 0 rgba(90, 45, 20, 0.95),
    1px 0 0 rgba(90, 45, 20, 0.95),
    -1px 0 0 rgba(90, 45, 20, 0.95),
    0 -1px 0 rgba(90, 45, 20, 0.95),
    0 3px 10px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(255, 235, 200, 0.18);
}

/* 少し強く見せたい段落 */
.sp-why-story p.emphasis {
  font-size: 1.16rem;
  line-height: 2.05;
}

/* 余韻を作る */
.sp-why-story p:last-child {
  margin-bottom: 0;
}


/* ===== 画像ベース金枠 ===== */
.sp-gold-frame-img {
  width: calc(100% - 12px);
  margin: 28px auto 34px;
  aspect-ratio: 800 / 620; /* ← 高さを増やす */
  background-image: url("img/gold_frame-sp.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.sp-gold-frame-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* 文字配置 */
.sp-gold-frame-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 34px 26px 30px;
  letter-spacing: 0.02em;
}

/* 上 */
.sp-gold-frame-text .top {
 font-size: 0.6rem;
  line-height: 1.65;
  max-width: 98%;
  margin: 0 auto 12px;
  text-align: center;
  color: #fffaf3;
  word-break: keep-all;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.5),
    0 0 6px rgba(0,0,0,0.3);}

/* メイン */
.sp-gold-frame-text .main {
 margin: 10px 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffe2a8;
  filter: drop-shadow(0 0 6px rgba(255, 210, 120, 0.3));
}

/* 下 */
.sp-gold-frame-text .sub {
 font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 6px;
  color: #fffaf3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}



/* ===== 攻める版：斜めスラッシュ施術カード ===== */
.slash-treatment-section {
  width: calc(100% - 20px);
  margin: 42px auto 48px;
  position: relative;
  z-index: 3;
  clear: both;
}

.slash-treatment-head {
  text-align: center;
  margin: 0 0 26px;
}

.slash-treatment-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 236, 200, 0.88);
}

.slash-treatment-head h2 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.8;
  font-weight: 700;
  color: #fffaf4;
  text-shadow:
    0 3px 10px rgba(0,0,0,0.35),
    0 0 8px rgba(255,230,180,0.12);
}

.slash-card {
  margin-bottom: 28px;
  opacity: 0 !important;
  transform: translateY(36px) scale(.98) !important;
  transition:
    opacity .82s ease,
    transform .82s cubic-bezier(0.16,1,0.3,1) !important;
}

.slash-card:last-child {
  margin-bottom: 0;
}

.slash-card.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.slash-card .slash-card-body {
  margin-bottom: 14px;
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition:
    opacity .7s ease .18s,
    transform .7s ease .18s !important;
}

.slash-card.is-visible .slash-card-body {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.slash-name {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffe2a8;
  letter-spacing: 0.04em;
  text-shadow:
    0 3px 10px rgba(0,0,0,0.32),
    0 0 8px rgba(255,210,120,0.18);
}

.slash-text {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,248,240,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.slash-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.slash-card.is-visible .slash-image-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slash-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.slash-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.08) 0%, rgba(10,10,10,0.18) 44%, rgba(10,10,10,0.55) 100%);
  z-index: 1;
}

.slash-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 221, 155, 0.30);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  z-index: 2;
  pointer-events: none;
}



.slash-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 28px);

  padding: 7px 14px 8px;
  border-radius: 12px;

  font-size: 1rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;

  color: #fff2cf;
  background:
    linear-gradient(135deg, rgba(35, 28, 22, 0.88), rgba(80, 58, 36, 0.52));
  border: 1px solid rgba(255, 221, 155, 0.34);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.12);

  text-shadow:
    0 2px 8px rgba(0,0,0,0.42),
    0 0 8px rgba(255,220,150,0.18);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


.slash-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 12px;
  transform: skewX(-18deg);
  transform-origin: left center;

  background:
    linear-gradient(135deg, rgba(20,18,18,0.92), rgba(90,70,45,0.40));
  border: 1px solid rgba(255, 216, 140, 0.16);
}


.slash-badge::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 2px;
  height: 2px;
  border-radius: 999px;
  transform: skewX(-18deg);

  background: linear-gradient(
    90deg,
    rgba(255,210,120,0),
    rgba(255,218,150,0.95),
    rgba(255,210,120,0)
  );
  box-shadow: 0 0 10px rgba(255,214,140,0.42);
}







.slash-card.reverse .slash-image-wrap {
  clip-path: polygon(0 0, 88% 0, 100% 100%, 12% 100%);
}

.slash-shine {
   position: absolute;
  top: -20%;
  left: -35%;
  width: 38%;
  height: 160%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,245,220,0.12) 45%,
    rgba(255,255,255,0.34) 50%,
    rgba(255,245,220,0.12) 55%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(18deg) translateX(0);
}



.slash-card.reverse .slash-badge {
  left: auto;
  right: 14px;
}



.slash-card.reverse .slash-shine {
  left: auto;
  right: -35%;
  transform: rotate(-18deg) translateX(0);
}

.slash-card.reverse.is-visible .slash-shine {
  animation: slashShineReverse 1.12s ease .18s forwards !important;
}


.slash-card.reverse.is-visible .slash-shine {
  animation: slashShineReverse 1.12s ease .18s forwards !important;
}

@keyframes slashShine {
  0% {
    opacity: 0;
    transform: rotate(18deg) translateX(0);
  }
  15% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: rotate(18deg) translateX(420%);
  }
}

@keyframes slashShineReverse {
  0% {
    opacity: 0;
    transform: rotate(-18deg) translateX(0);
  }
  15% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: rotate(-18deg) translateX(-420%);
  }
}

/* ===== 周波数 × 神経 ===== */

.freq-nerve-section {
  width: calc(100% - 20px);
  margin: 40px auto;
  text-align: center;
}

/* タイトル */
.fn-head h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffe2a8;

  text-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 12px rgba(255,210,120,0.2);
}

.fn-head span {
  position: relative;
}

.fn-head p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #fffaf3;
  margin-bottom: 30px;
}

/* ブロック */
.fn-block {
  margin-bottom: 28px;
  padding: 22px 18px;
  border-radius: 18px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 0 20px rgba(255,220,150,0.08);

  text-align: left;
}

/* 逆配置 */
.fn-block.reverse {
  text-align: right;
}

/* タイトル */
.fn-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffe2a8;
}

/* テキスト */
.fn-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #fffaf3;
}


 


}

@media screen and (max-width: 390px) {
  .sp-gold-frame-img {
    width: calc(100% - 10px);
    aspect-ratio: 800 / 660;
    margin: 24px auto 28px;
  }

  .sp-gold-frame-text {
    padding: 20px 16px 18px;
  }

  .sp-gold-frame-text .top {
    font-size: 0.74rem;
    line-height: 1.7;
  }

  .sp-gold-frame-text .main {
    font-size: 1.08rem;
  }

  .sp-gold-frame-text .sub {
    font-size: 0.74rem;
  }


.slash-treatment-section {
    width: calc(100% - 14px);
    margin: 34px auto 38px;
  }

  .slash-treatment-head h2 {
    font-size: 1.14rem;
    line-height: 1.75;
  }

  .slash-image-wrap {
    border-radius: 18px;
  }

  .slash-image-wrap img {
    height: 210px;
  }

  .slash-name {
    font-size: 1.05rem;
  }

  .slash-text {
    font-size: 0.86rem;
    line-height: 1.8;
  }


 .fn-head h2 {
    font-size: 1.3rem;
  }

  .fn-text {
    font-size: 0.85rem;
  }


/* ===== 施術の流れ ===== */
.flow-section {
  width: calc(100% - 20px);
  margin: 40px auto 46px;
}

.flow-head {
  text-align: center;
  margin-bottom: 24px;
}

.flow-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 230, 180, 0.88);
}

.flow-head h2 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.6;
  font-weight: 800;
  color: #ffe2a8;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 10px rgba(255,210,120,0.18);
}

.flow-intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 248, 240, 0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.18),
    0 0 18px rgba(255,220,150,0.06);
}

.flow-num {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffe2a8;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,226,168,0.32);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.flow-body {
  flex: 1;
}

.flow-body h3 {
  margin: 2px 0 8px;
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 700;
  color: #fff6e8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.flow-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255, 248, 240, 0.94);
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===== フェードイン ===== */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===== 症例動画セクション ===== */
.case-video-section {
  width: calc(100% - 20px);
  margin: 42px auto 48px;
}

.case-video-head {
  text-align: center;
  margin-bottom: 24px;
}

.case-video-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 230, 180, 0.88);
}

.case-video-head h2 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.6;
  font-weight: 800;
  color: #ffe2a8;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 10px rgba(255,210,120,0.18);
}

.case-video-intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 248, 240, 0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.case-group {
  margin-bottom: 28px;
}

.case-group-title-wrap {
  margin-bottom: 14px;
  text-align: left;
}

.case-group-title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 800;
  color: #fff6e8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.24);
}

.case-group-sub {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,248,240,0.82);
}

.case-video-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-video-card {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.16),
    0 0 18px rgba(255,220,150,0.06);
}

.case-video-thumb {
  flex: 0 0 108px;
  border-radius: 14px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    rgba(20,20,20,0.22);
  border: 1px solid rgba(255,255,255,0.10);
}

.case-video-thumb span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffe2a8;
}

.case-video-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-video-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 700;
  color: #fff8f0;
}

.case-video-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,248,240,0.88);
}


/* ===== 院長紹介（profile 専用） ===== */
.prf-section {
  width: calc(100% - 20px);
  margin: 44px auto 52px;
}

.prf-head {
  text-align: center;
  margin-bottom: 24px;
}

.prf-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 230, 180, 0.88);
}

.prf-title {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.6;
  font-weight: 800;
  color: #ffe2a8;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 10px rgba(255,210,120,0.18);
}

.prf-intro {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 248, 240, 0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

.prf-card {
  padding: 20px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.18),
    0 0 18px rgba(255,220,150,0.06);
}

.prf-photo-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 16px 34px rgba(0,0,0,0.22),
    0 0 20px rgba(255,220,150,0.08);
}

.prf-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.prf-photo-glow {
  position: absolute;
  inset: auto 10% -10px 10%;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(247,206,104,0.36) 0%,
    rgba(247,206,104,0.14) 46%,
    transparent 82%
  );
  filter: blur(16px);
  pointer-events: none;
}

.prf-body {
  text-align: left;
}

.prf-catch {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 700;
  color: #fff6e8;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.26),
    0 0 8px rgba(255,220,150,0.10);
}

.prf-text {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.95;
  color: rgba(255,248,240,0.94);
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.prf-message {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
  font-weight: 700;
  color: #ffe2a8;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    0 0 8px rgba(255,210,120,0.14);
}

/* ===== 動き ===== */
.prf-fade-up,
.prf-fade-left {
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.prf-fade-up {
  transform: translateY(20px);
}

.prf-fade-left {
  transform: translateX(-26px);
}

.prf-fade-up.prf-show,
.prf-fade-left.prf-show {
  opacity: 1;
  transform: translate(0, 0);
}

.prf-delay-1 { transition-delay: 0.08s; }
.prf-delay-2 { transition-delay: 0.16s; }
.prf-delay-3 { transition-delay: 0.24s; }
.prf-delay-4 { transition-delay: 0.32s; }

/* ===== 光ライン ===== */
.prf-shine-card {
  position: relative;
  overflow: hidden;
}

.prf-shine-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 34%;
  height: 170%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,245,220,0.10) 35%,
    rgba(255,255,255,0.42) 50%,
    rgba(255,245,220,0.10) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.prf-shine-card.prf-shine-active::after {
  animation: prfSoftShine 1.15s ease forwards;
}


@keyframes prfSoftShine {
  0% {
    opacity: 0;
    transform: rotate(18deg) translateX(0);
  }
  15% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: rotate(18deg) translateX(420%);
  }
}

@media screen and (max-width: 390px) {
  .prf-section {
    width: calc(100% - 14px);
    margin: 38px auto 44px;
  }

  .prf-title {
    font-size: 1.24rem;
  }

  .prf-intro {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .prf-card {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .prf-photo-wrap {
    border-radius: 18px;
    margin-bottom: 14px;
  }

  .prf-photo {
    height: 220px;
  }

  .prf-catch {
    font-size: 0.96rem;
    line-height: 1.82;
  }

  .prf-text {
    font-size: 0.82rem;
    line-height: 1.88;
  }

  .prf-message {
    font-size: 0.86rem;
  }
}


.sp-video-section {
  padding: 40px 14px;
}

.sp-video-title {
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 18px;
}

/* ボタン */
.sp-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sp-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.sp-btn.active {
  background: #ffe2a8;
  color: #333;
}

/* グループ */
.sp-group { display: none; }
.sp-group.active { display: block; }

/* カード */
.sp-card {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
}

/* サムネ */
.sp-thumb {
  position: relative;
}

.sp-thumb img {
  width: 100%;
  display: block;
}

/* 再生ボタン */
.sp-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55px;
  height: 55px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sp-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* テキスト */
.sp-text {
  padding: 12px;
}

.sp-text h3 {
  font-size: 0.95rem;
  color: #ffe2a8;
}

.sp-text p {
  font-size: 0.8rem;
  color: #fff;
}

/* CTA */
.sp-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-line {
  background: #06c755;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.sp-call {
  background: #fff;
  color: #333;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

/* =========================
   SHORT VIDEO SECTION
========================= */
.sv-section {
  width: calc(100% - 18px);
  margin: 42px auto 48px;
}

.sv-head {
  text-align: center;
  margin-bottom: 22px;
}

.sv-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 230, 180, 0.88);
}

.sv-title {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.7;
  font-weight: 800;
  color: #ffe2a8;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 10px rgba(255,210,120,0.18);
}

.sv-intro {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255,248,240,0.94);
  text-shadow: 0 2px 8px rgba(0,0,0,0.24);
}

/* 切替 */
.sv-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 24px;
}

.sv-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sv-btn.active {
  color: #ffe2a8;
  border-color: rgba(255,226,168,0.42);
  background: rgba(255,226,168,0.14);
  box-shadow: 0 0 14px rgba(255,226,168,0.12);
}

.sv-group {
  display: none;
}

.sv-group.active {
  display: block;
}

.sv-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* カード */
.sv-card {
  appearance: none;
  border: 0;
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.18),
    0 0 18px rgba(255,220,150,0.06);
  cursor: pointer;
}

/* サムネ */
.sv-thumb {
  position: relative;
  flex: 0 0 108px;
  height: 108px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.sv-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.24));
}

.sv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.42);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.sv-play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 17px;
  border-left: 14px solid #ffe2a8;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* テキスト */
.sv-body {
  flex: 1;
  min-width: 0;
}

.sv-card-title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 800;
  color: #fff8f0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.sv-card-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,248,240,0.88);
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* CTA */
.sv-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.sv-line-cta,
.sv-call-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.sv-line-cta {
  background: #06c755;
  color: #fff;
}

.sv-call-cta {
  background: rgba(255,255,255,0.9);
  color: #3b2a1b;
}

/* フェード */
.sv-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.sv-fade-up.sv-show {
  opacity: 1;
  transform: translateY(0);
}

/* 光ライン */
.sv-shine-card {
  position: relative;
  overflow: hidden;
}

.sv-shine-card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -46%;
  width: 34%;
  height: 175%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,245,220,0.08) 35%,
    rgba(255,255,255,0.34) 50%,
    rgba(255,245,220,0.08) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(16deg) translateX(0);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.sv-shine-card.sv-shine-active::after {
  animation: svSoftShine 1.15s ease forwards;
}

.sv-shine-card.sv-reverse::after {
  left: auto;
  right: -46%;
  transform: rotate(-16deg) translateX(0);
}

.sv-shine-card.sv-reverse.sv-shine-active::after {
  animation: svSoftShineReverse 1.15s ease forwards;
}

@keyframes svSoftShine {
  0% {
    opacity: 0;
    transform: rotate(16deg) translateX(0);
  }
  18% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: rotate(16deg) translateX(420%);
  }
}

@keyframes svSoftShineReverse {
  0% {
    opacity: 0;
    transform: rotate(-16deg) translateX(0);
  }
  18% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: rotate(-16deg) translateX(-420%);
  }
}

/* モーダル */
.sv-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.sv-modal.sv-open {
  display: block;
}

.sv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sv-modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - 18px);
  transform: translate(-50%, -50%);
}

.sv-modal-close {
  appearance: none;
  border: 0;
  position: absolute;
  right: 0;
  top: -44px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sv-modal-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.sv-modal-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

@media screen and (max-width: 390px) {
  .sv-section {
    width: calc(100% - 14px);
    margin: 36px auto 42px;
  }

  .sv-title {
    font-size: 1.2rem;
    line-height: 1.65;
  }

  .sv-intro {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  .sv-btn {
    font-size: 0.76rem;
    padding: 9px 15px;
  }

  .sv-card {
    padding: 10px;
    border-radius: 18px;
    gap: 10px;
  }

  .sv-thumb {
    flex: 0 0 96px;
    height: 96px;
    border-radius: 14px;
  }

  .sv-play {
    width: 48px;
    height: 48px;
  }

  .sv-play::before {
    left: 20px;
    top: 15px;
    border-left: 12px solid #ffe2a8;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }

  .sv-card-title {
    font-size: 0.92rem;
  }

  .sv-card-text {
    font-size: 0.76rem;
    line-height: 1.7;
  }

  .sv-line-cta,
  .sv-call-cta {
    font-size: 0.94rem;
    padding: 14px 16px;
    border-radius: 16px;
  }
}


}



@media screen and (max-width: 390px) {

  .sv-section {
    width: calc(100% - 14px);
    margin: 36px auto 42px;
  }

  .sv-title {
    font-size: 1.2rem;
    line-height: 1.65;
  }

  .sv-intro {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  .sv-btn {
    font-size: 0.76rem;
    padding: 9px 15px;
  }

  .sv-card {
    padding: 10px;
    border-radius: 18px;
    gap: 10px;
  }

  .sv-thumb {
    flex: 0 0 96px;
    height: 96px;
    border-radius: 14px;
  }

  .sv-play {
    width: 48px;
    height: 48px;
  }

  .sv-card-title {
    font-size: 0.92rem;
  }

  .sv-card-text {
    font-size: 0.76rem;
  }

}

/* ========================================================================
   FIX PATCH v1001
======================================================================== */
@media screen and (max-width: 768px) {
  .case-group {
    display: none !important;
  }

  .case-group.active {
    display: block !important;
    animation: caseFadeMobile .36s ease;
  }

  @keyframes caseFadeMobile {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .case-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 0 22px;
  }

  .case-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,248,240,0.92);
    padding: 10px 16px;
    min-width: 88px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all .3s ease;
  }

  .case-btn.active {
    color: #3a2b12;
    background: linear-gradient(135deg, #ffe6a8, #f7c96a);
    border-color: rgba(255,226,168,0.72);
    box-shadow: 0 8px 20px rgba(247,201,106,0.24), 0 0 0 1px rgba(255,255,255,0.18) inset;
  }

  #blog-list {
    display: grid;
    gap: 12px;
  }

  .blog-loading,
  .blog-empty-state {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff7ef;
    line-height: 1.8;
  }

  .blog-empty-state a {
    color: #ffe2a8;
    text-decoration: none;
    font-weight: 700;
  }

  .post-item-simple {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.10);
    overflow: hidden;
  }

  .post-item-link {
    display: block;
    padding: 16px 16px 15px;
    text-decoration: none;
  }

  .post-date {
    margin: 0 0 6px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: rgba(255,226,168,0.94);
  }

  .post-title {
    margin: 0 0 8px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #fff;
  }

  .post-excerpt {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255,248,240,0.85);
  }

  .post-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffe2a8;
  }

  .flash-overlay {
    z-index: 99990 !important;
  }
}

/* =========================
   MOBILE PATCH v1002 : reveal stability
========================= */
.prf-fade-up,
.prf-fade-left,
.slash-card,
.slash-card-body,
.prf-shine-card::after,
.slash-card .slash-shine {
  will-change: opacity, transform;
}

.prf-shine-card.prf-shine-active::after {
  animation-duration: 1.25s;
}



/* =========================================================
   PATCH v3003
   ① between-message text larger / slight zoom feel
   ② case video cards clickable like lower section
========================================================= */
@media screen and (max-width: 768px) {
  .between-message {
    max-width: calc(100% - 48px);
    padding: 24px 18px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .between-message p {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
      0 2px 8px rgba(0,0,0,0.20),
      0 0 10px rgba(255,255,255,0.10);
    transform: scale(1);
    transform-origin: center center;
    animation: betweenMessageZoom 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes betweenMessageZoom {
    0% {
      opacity: 0;
      transform: scale(0.88);
      letter-spacing: 0.01em;
      filter: blur(3px);
    }
    55% {
      opacity: 1;
      transform: scale(1.08);
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: scale(1.02);
      filter: blur(0);
    }
  }

  .case-video-card {
    appearance: none;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
  }

  .case-video-card::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
  }

  .case-video-card::before {
    content: "";
    position: absolute;
    right: 29px;
    bottom: 28px;
    width: 0;
    height: 0;
    border-left: 10px solid rgba(255,255,255,0.92);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    z-index: 2;
  }

  .case-video-card:active {
    transform: scale(0.992);
  }
}


/* =========================================================
   FIX v4001
========================================================= */

/* stronger one-shot glow */
.sp-line-soft.glow-active .sp-line-soft-link::before{
  opacity:1 !important;
  animation: linePulseFlashStrong 1.05s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sp-line-soft.glow-active .sp-line-soft-img{
  animation: lineImagePulseStrong 1.05s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes linePulseFlashStrong {
  0%{opacity:0;transform:translateY(-50%) scale(0.82);filter:blur(12px);}
  30%{opacity:1;transform:translateY(-50%) scale(1.08);filter:blur(9px);}
  70%{opacity:.60;transform:translateY(-50%) scale(1.02);filter:blur(12px);}
  100%{opacity:0;transform:translateY(-50%) scale(.98);filter:blur(16px);}
}
@keyframes lineImagePulseStrong {
  0%{transform:scale(1);filter:brightness(1);}
  35%{transform:scale(1.024);filter:brightness(1.09);box-shadow:0 18px 38px rgba(0,0,0,.22),0 0 14px rgba(255,235,130,.60),0 0 36px rgba(247,206,104,.48);}
  100%{transform:scale(1.006);filter:brightness(1.02);}
}

.glass-trouble-cta.glow-active .glass-trouble-btn::after{
  animation: reservePulseFlashStrong 1.0s cubic-bezier(0.16,1,0.3,1) forwards;
}
.glass-trouble-cta.glow-active .glass-trouble-btn{
  animation: reserveBtnPulseStrong 1.0s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes reservePulseFlashStrong{
  0%{opacity:0;transform:scale(.88);filter:blur(14px);}
  30%{opacity:1;transform:scale(1.10);filter:blur(11px);}
  75%{opacity:.55;transform:scale(1.02);filter:blur(14px);}
  100%{opacity:0;transform:scale(.98);filter:blur(18px);}
}
@keyframes reserveBtnPulseStrong{
  0%{transform:translateY(0) scale(1);filter:brightness(1);}
  35%{transform:translateY(-1px) scale(1.018);filter:brightness(1.08);box-shadow:0 14px 30px rgba(47,128,255,.30),0 0 18px rgba(255,235,130,.52),0 0 34px rgba(247,206,104,.42);}
  100%{transform:translateY(0) scale(1.006);filter:brightness(1.02);}
}

/* between-message / gold frame fade */
.between-message{
  opacity:0;
  transform:translateY(18px) scale(.90);
  transition:opacity .95s ease, transform .95s cubic-bezier(0.16,1,0.3,1);
}
.between-message.is-visible{
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
}
.sp-gold-frame-img.fade-in{
  opacity:0;
  transform:translateY(24px) scale(.96);
  transition:opacity 1.0s ease, transform 1.0s cubic-bezier(0.16,1,0.3,1);
}
.sp-gold-frame-img.fade-in.show{
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
}


/* top case cards clickable buttons */
.case-video-card{
  appearance:none;
  border:0;
  width:100%;
  text-align:left;
  cursor:pointer;
  background:transparent;
  position:relative;
}
.case-video-card::after{
  content:"";
  position:absolute;
  right:16px;
  bottom:16px;
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
}
.case-video-card::before{
  content:"";
  position:absolute;
  right:29px;
  bottom:28px;
  width:0;
  height:0;
  border-left:10px solid rgba(255,255,255,.92);
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  z-index:2;
}
.sv-modal{z-index:999999 !important;}
.sv-modal.sv-open{display:block !important;}

/* remove any accidental duplicate spacing overlap */
.case-group{display:none;}
.case-group.active{display:block;}




/* =========================================================
   FINAL TEXT POSITION FIX v4005
   sp-why-follow-text / sp-gold-frame-img の位置ズレ修正
========================================================= */

@media screen and (max-width: 768px) {
  /* 説明文ブロック全体を中央で安定配置 */
  .sp-why-follow-text {
    width: calc(100% - 32px) !important;
    max-width: 360px !important;
    margin: 26px auto 0 !important;
    padding: 0 6px !important;
    position: relative !important;
    z-index: 4 !important;
    text-align: center !important;
  }

  .sp-why-follow-text p {
    margin: 0 0 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.95 !important;
    letter-spacing: 0.01em !important;
    color: rgba(255,255,255,0.97) !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    text-wrap: pretty;
    text-shadow: 0 2px 10px rgba(0,0,0,0.24) !important;
  }

  .sp-why-follow-text .emphasis {
    display: block !important;
    width: 100% !important;
    max-width: 12.2em !important;
    margin: 0 auto 18px !important;
    font-size: 1.22rem !important;
    line-height: 1.88 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-wrap: balance;
  }

  .sp-why-follow-text .last-line {
    display: block !important;
    width: 100% !important;
    max-width: 10.6em !important;
    margin: 18px auto 0 !important;
    font-size: 1.5rem !important;
    line-height: 1.84 !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-wrap: balance;
  }

  .sp-why-follow-text .last-line br {
    display: none !important;
  }

  /* 金枠ブロックも位置固定 */
  .sp-gold-frame-img {
    width: calc(100% - 28px) !important;
    max-width: 380px !important;
    margin: 28px auto 0 !important;
    padding: 28px 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 4 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .sp-gold-frame-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .sp-gold-frame-text p {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    text-wrap: pretty;
    text-shadow: 0 2px 10px rgba(0,0,0,0.22) !important;
  }

  .sp-gold-frame-text .top {
    max-width: 14.2em !important;
    font-size: 1.08rem !important;
    line-height: 1.95 !important;
  }

  .sp-gold-frame-text .main {
    margin-top: 14px !important;
    font-size: 1.42rem !important;
    line-height: 1.6 !important;
    font-weight: 800 !important;
  }

  .sp-gold-frame-text .sub {
    margin-top: 10px !important;
    font-size: 0.98rem !important;
    line-height: 1.8 !important;
  }

  /* ガラス枠も少し戻して整列 */
  .between-message {
    width: 100% !important;
    margin: -44px auto -34px !important;
    text-align: center !important;
  }

  .between-message p {
    width: min(78%, 300px) !important;
    min-height: 108px !important;
    margin: 0 auto !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
    font-size: 1.08rem !important;
    line-height: 1.78 !important;
    text-align: center !important;
    text-wrap: balance;
  }
}

@media screen and (max-width: 430px) {
  .sp-why-follow-text {
    width: calc(100% - 24px) !important;
    max-width: 340px !important;
  }

  .sp-why-follow-text p {
    font-size: 0.96rem !important;
    line-height: 1.9 !important;
  }

  .sp-why-follow-text .emphasis {
    max-width: 11.4em !important;
    font-size: 1.14rem !important;
    line-height: 1.84 !important;
  }

  .sp-why-follow-text .last-line {
    max-width: 10em !important;
    font-size: 1.38rem !important;
    line-height: 1.8 !important;
  }

  .sp-gold-frame-text .top {
    max-width: 13.2em !important;
    font-size: 1rem !important;
  }

  .sp-gold-frame-text .main {
    font-size: 1.34rem !important;
  }

  .sp-gold-frame-text .sub {
    font-size: 0.92rem !important;
  }

  .between-message p {
    width: min(82%, 286px) !important;
    font-size: 1rem !important;
    line-height: 1.72 !important;
  }
}




/* =========================================================
   STABLE COPY LAYOUT FIX v4006
   文字位置の崩れを止める最終補正
========================================================= */
@media screen and (max-width: 768px) {

  /* WHY後の文章ブロックをシンプルに中央配置 */
  .sp-why-follow-text {
    position: relative !important;
    z-index: 5 !important;
    width: calc(100% - 36px) !important;
    max-width: 340px !important;
    margin: 28px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .sp-why-follow-text p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 0.98rem !important;
    line-height: 1.95 !important;
    letter-spacing: 0 !important;
    color: rgba(255,255,255,0.97) !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.24) !important;
    box-sizing: border-box !important;
  }

  .sp-why-follow-text .emphasis {
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px auto 18px !important;
    font-size: 1.18rem !important;
    line-height: 1.82 !important;
    font-weight: 700 !important;
  }

  .sp-why-follow-text .last-line {
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto 8px !important;
    font-size: 1.32rem !important;
    line-height: 1.76 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
  }

  .sp-why-follow-text .last-line br {
    display: none !important;
  }

  /* 金枠ブロック */
  .sp-gold-frame-img {
    position: relative !important;
    z-index: 5 !important;
    width: calc(100% - 36px) !important;
    max-width: 340px !important;
    margin: 26px auto 0 !important;
    padding: 22px 14px !important;
    box-sizing: border-box !important;
    display: block !important;
    text-align: center !important;
  }

  .sp-gold-frame-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .sp-gold-frame-text p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
    box-sizing: border-box !important;
  }

  .sp-gold-frame-text .top {
    font-size: 0.98rem !important;
    line-height: 1.9 !important;
  }

  .sp-gold-frame-text .main {
    margin-top: 8px !important;
    font-size: 1.28rem !important;
    line-height: 1.6 !important;
    font-weight: 800 !important;
  }

  .sp-gold-frame-text .sub {
    margin-top: 8px !important;
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
  }

  /* ガラス枠 */
  .between-message {
    position: relative !important;
    z-index: 30 !important;
    width: 100% !important;
    margin: -38px auto -28px !important;
    text-align: center !important;
    pointer-events: none !important;
  }

  .between-message p {
    display: inline-block !important;
    width: calc(100% - 84px) !important;
    max-width: 280px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 1rem !important;
    line-height: 1.72 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }
}

@media screen and (max-width: 430px) {
  .sp-why-follow-text {
    width: calc(100% - 28px) !important;
    max-width: 320px !important;
  }

  .sp-why-follow-text p {
    font-size: 0.94rem !important;
    line-height: 1.9 !important;
  }

  .sp-why-follow-text .emphasis {
    font-size: 1.12rem !important;
    line-height: 1.78 !important;
  }

  .sp-why-follow-text .last-line {
    font-size: 1.24rem !important;
    line-height: 1.72 !important;
  }

  .sp-gold-frame-img {
    width: calc(100% - 28px) !important;
    max-width: 320px !important;
    padding: 20px 12px !important;
  }

  .sp-gold-frame-text .main {
    font-size: 1.22rem !important;
  }

  .between-message p {
    width: calc(100% - 72px) !important;
    max-width: 264px !important;
    font-size: 0.96rem !important;
    line-height: 1.68 !important;
  }
}




/* =========================================================
   NON-OVERLAP FINAL FIX v4007
   - sp-why-follow-text と sp-gold-frame-img の重なり防止
   - gold frame を自動高さの通常ブロックとして再構成
========================================================= */
@media screen and (max-width: 768px) {

  /* WHY後のテキスト */
  .sp-why-follow-text {
    position: relative !important;
    z-index: 4 !important;
    width: calc(100% - 28px) !important;
    max-width: 340px !important;
    margin: 28px auto 24px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .sp-why-follow-text p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }

  .sp-why-follow-text .emphasis {
    font-size: 1.14rem !important;
    line-height: 1.84 !important;
  }

  .sp-why-follow-text .last-line {
    margin: 14px auto 0 !important;
    font-size: 1.28rem !important;
    line-height: 1.76 !important;
  }

  /* 金枠を absolute 依存から外して通常配置に戻す */
  .sp-gold-frame-img {
    position: relative !important;
    z-index: 4 !important;
    width: calc(100% - 24px) !important;
    max-width: 360px !important;
    margin: 30px auto 42px !important;
    padding: 30px 18px 26px !important;
    box-sizing: border-box !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    background-image: url("img/gold_frame-sp.png") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
  }

  .sp-gold-frame-img img {
    display: none !important;
  }

  .sp-gold-frame-text {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .sp-gold-frame-text p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }

  .sp-gold-frame-text .top {
    font-size: 1rem !important;
    line-height: 1.9 !important;
    color: #fffaf3 !important;
  }

  .sp-gold-frame-text .main {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
    font-size: 1.48rem !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
    color: #ffe2a8 !important;
  }

  .sp-gold-frame-text .sub {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #fffaf3 !important;
  }

  /* 次セクションを明確に下げる */
  .slash-treatment-section {
    position: relative !important;
    z-index: 3 !important;
    clear: both !important;
    width: calc(100% - 20px) !important;
    margin: 46px auto 40px !important;
  }

  .slash-treatment-head {
    margin-top: 0 !important;
  }

  .slash-treatment-head h2 {
    margin-top: 0 !important;
  }

  /* ガラス枠は元の自然な位置に戻す */
  .between-message {
    margin: 24px auto 28px !important;
  }

  .between-message p {
    width: auto !important;
    max-width: calc(100% - 36px) !important;
  }
}

@media screen and (max-width: 430px) {
  .sp-why-follow-text {
    width: calc(100% - 22px) !important;
    max-width: 320px !important;
  }

  .sp-why-follow-text p {
    margin-bottom: 16px !important;
    font-size: 0.94rem !important;
    line-height: 1.88 !important;
  }

  .sp-why-follow-text .emphasis {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
  }

  .sp-why-follow-text .last-line {
    font-size: 1.22rem !important;
    line-height: 1.72 !important;
  }

  .sp-gold-frame-img {
    width: calc(100% - 20px) !important;
    max-width: 340px !important;
    margin: 26px auto 38px !important;
    padding: 26px 16px 24px !important;
  }

  .sp-gold-frame-text .top {
    font-size: 0.94rem !important;
    line-height: 1.84 !important;
  }

  .sp-gold-frame-text .main {
    font-size: 1.34rem !important;
  }

  .sp-gold-frame-text .sub {
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
  }

  .slash-treatment-section {
    margin-top: 42px !important;
  }
}




/* =========================================================
   SP WHY FOLLOW TEXT ONLY FIX v4009
   対象: sp-why-follow-text のみ
========================================================= */
@media screen and (max-width: 768px) {
  .sp-why-follow-text,
  .sp-why-follow-text.fade-in,
  section .sp-why-follow-text {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    clear: both !important;
    float: none !important;
    z-index: 4 !important;

    width: calc(100% - 8px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 28px auto 28px !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .sp-why-follow-text p,
  .sp-why-follow-text .emphasis,
  .sp-why-follow-text .last-line {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    float: none !important;
  }

  .sp-why-follow-text p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    text-align: center !important;
    font-size: 1.12rem !important;
    line-height: 1.94 !important;
    letter-spacing: 0.01em !important;

    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }

  .sp-why-follow-text .emphasis {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px auto 18px !important;
    font-size: 1.26rem !important;
    line-height: 1.84 !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .sp-why-follow-text .last-line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px auto 6px !important;
    font-size: 1.46rem !important;
    line-height: 1.74 !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  .sp-why-follow-text .last-line br {
    display: none !important;
  }
}

@media screen and (max-width: 430px) {
  .sp-why-follow-text,
  .sp-why-follow-text.fade-in,
  section .sp-why-follow-text {
    width: calc(100% - 4px) !important;
    padding: 0 6px !important;
  }

  .sp-why-follow-text p {
    font-size: 1.06rem !important;
    line-height: 1.9 !important;
  }

  .sp-why-follow-text .emphasis {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
  }

  .sp-why-follow-text .last-line {
    font-size: 1.38rem !important;
    line-height: 1.68 !important;
  }
}




/* =========================================================
   TARGETED FIX v4010
   対象: 「当院では〜ぜひ一度体感してみてください」だけ
   selector: .sp-gold-frame-text .top
========================================================= */
@media screen and (max-width: 768px) {
  .sp-gold-frame-img,
  .sp-gold-frame-img.fade-in {
    width: calc(100% - 8px) !important;
    max-width: none !important;
    margin: 30px auto 28px !important;
    padding: 22px 10px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .sp-gold-frame-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    position: static !important;
    transform: none !important;
  }

  .sp-gold-frame-text .top {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 14px !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;

    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;

    text-align: center !important;
    font-size: 1.16rem !important;
    line-height: 1.92 !important;
    letter-spacing: 0.01em !important;
    color: #fffaf3 !important;

    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-wrap: pretty !important;
  }

  .sp-gold-frame-text .main {
    margin-top: 12px !important;
  }
}

@media screen and (max-width: 430px) {
  .sp-gold-frame-img,
  .sp-gold-frame-img.fade-in {
    width: calc(100% - 4px) !important;
    padding: 20px 8px !important;
  }

  .sp-gold-frame-text .top {
    font-size: 1.10rem !important;
    line-height: 1.88 !important;
    padding: 0 4px !important;
  }
}




/* =========================================================
   VISIBILITY HELPERS v5001
   smartphone / desktop display control
   .sp-only : show only on smartphone
   .pc-only : hide on smartphone
   .sp-hide : hide on smartphone
   .pc-hide : show on smartphone
========================================================= */
.sp-only { display: block !important; }
.pc-only { display: none !important; }
.sp-hide { display: none !important; }
.pc-hide { display: block !important; }


/* =========================================================
   HIDE DESKTOP-ONLY DEEP SECTIONS ON MOBILE AFTER SP VIDEO
========================================================= */
@media screen and (max-width: 768px) {
  .mobile-hide-after-videos {
    display: none !important;
  }

  .reservation-bar {
    display: none !important;
  }


.final-calendar-btn {
  display: block;
  width: 100%;
  margin: 14px auto 10px;
  padding: 14px;
  text-align: center;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #f7c243, #e0a800);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.final-line-btn {
  display: block;
  width: 100%;
  margin: 10px auto 0;
  padding: 14px;
  text-align: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #06c755, #00b900);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


.sp-calendar-embed {
  display: none;
  margin-top: 12px;
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}


.sp-calendar-embed.active {
  display: block;
}

.sp-calendar-embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
  background: #fff;
}


.calendar-note {
  margin: 14px 0 18px;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.final-contact-note {
  margin: 0 0 18px;
  line-height: 1.7;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}


/* ===============================
   TREATMENT REBUILD
   上タイトル型・完全再現ベース
================================= */
.slash-treatment-section.qte-rebuild {
  position: relative;
  padding: 34px 18px 18px !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(145, 160, 190, 0.18) 0%, rgba(222, 204, 180, 0.10) 100%);
}

.slash-treatment-section.qte-rebuild .slash-treatment-head {
  display: none !important;
}

.slash-card-top {
  margin: 0 0 26px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.slash-card-body-top {
  padding: 0 8px !important;
  margin-bottom: 14px !important;
  text-align: center !important;
}

.slash-name-top {
  margin: 0 0 16px !important;
  font-family: "Noto Serif JP", serif !important;
  font-size: 2.15rem !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: #f8e1ad !important;
  text-align: center !important;
  text-shadow:
    0 0 10px rgba(255, 220, 150, 0.40),
    0 0 24px rgba(255, 208, 120, 0.26),
    0 3px 12px rgba(0, 0, 0, 0.24) !important;
  position: relative;
}

.slash-name-top::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,220,150,0),
    rgba(255,225,175,1),
    rgba(255,220,150,0)
  );
  box-shadow: 0 0 16px rgba(255, 216, 140, 0.45);
}

.slash-text-top {
  margin: 0 auto !important;
  max-width: 20em !important;
  font-size: 0.98rem !important;
  line-height: 1.92 !important;
  font-weight: 500 !important;
  color: rgba(255, 250, 242, 0.95) !important;
  text-align: center !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.20) !important;
}

.slash-card-body-sub {
  padding-top: 4px !important;
}

.slash-name-sub {
  margin: 0 0 10px !important;
  font-size: 1.18rem !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: #f6d592 !important;
  text-align: left !important;
  text-shadow:
    0 0 12px rgba(255, 214, 135, 0.22),
    0 2px 10px rgba(0,0,0,0.18) !important;
}

.slash-text-sub {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.95 !important;
  color: rgba(255,255,255,0.90) !important;
  text-align: left !important;
}

.slash-image-wrap-top {
  position: relative;
  width: 100%;
  margin: 0 auto !important;
  overflow: hidden;
  border-radius: 24px !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.10) !important;
  isolation: isolate;
}

.slash-image-wrap-top img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: cover !important;
  transform: scale(1.01);
  filter: saturate(0.95) brightness(0.95);
}

.slash-image-wrap-top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(10,10,10,0.08) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 35%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.slash-image-wrap-top::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -28px;
  height: 90px;
  z-index: 1;
  background: radial-gradient(circle, rgba(255,220,150,0.22) 0%, rgba(255,220,150,0.08) 45%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
}

.slash-card-top .slash-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,0) 28%,
      rgba(255,245,220,0.12) 40%,
      rgba(255,255,255,0.32) 48%,
      rgba(255,245,220,0.12) 56%,
      rgba(255,255,255,0) 68%
    );
  transform: translateX(-130%);
  pointer-events: none;
}

.slash-card-top.is-visible .slash-shine {
  animation: slashTopShine 1.25s ease forwards;
}

@keyframes slashTopShine {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}



}


@media screen and (max-width: 430px) {
.slash-image-wrap-sub {
  margin-top: 4px !important;
}

  .slash-treatment-section.qte-rebuild {
    padding: 28px 14px 14px !important;
  }

  .slash-name-top {
    font-size: 1.9rem !important;
  }

  .slash-name-top::after {
    width: 128px;
  }

  .slash-text-top {
    font-size: 0.93rem !important;
    line-height: 1.84 !important;
  }

  .slash-name-sub {
    font-size: 1.08rem !important;
  }

  .slash-text-sub {
    font-size: 0.91rem !important;
    line-height: 1.86 !important;
  }

  .slash-image-wrap-top {
    border-radius: 20px !important;
  }


}

/* ==================================================
   treatment slash rebuild override (2026-03-29 final)
================================================== */
@media screen and (max-width: 768px) {
  .slash-treatment-section.qte-rebuild {
    width: calc(100% - 26px) !important;
    margin: 42px auto 54px !important;
    padding: 6px 0 0 !important;
    background: transparent !important;
    position: relative;
    z-index: 3;
  }

  .slash-treatment-section.qte-rebuild .slash-treatment-head {
    display: none !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card {
    margin: 0 0 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card-body {
    margin: 0 0 16px !important;
    padding: 0 8px !important;
    text-align: center !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .slash-treatment-section.qte-rebuild .slash-name {
    margin: 0 0 14px !important;
    font-family: "Noto Serif JP", serif !important;
    font-size: 2.02rem !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    color: #f6d99d !important;
    text-align: center !important;
    max-width: none !important;
    white-space: normal !important;
    text-shadow:
      0 0 12px rgba(255, 220, 150, 0.42),
      0 0 26px rgba(255, 210, 120, 0.22),
      0 3px 12px rgba(0, 0, 0, 0.22) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-name::after {
    content: "";
    display: block;
    width: 140px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,220,150,0), rgba(255,230,180,1), rgba(255,220,150,0));
    box-shadow: 0 0 14px rgba(255,214,140,0.45);
  }

  .slash-treatment-section.qte-rebuild .slash-text {
    margin: 0 auto !important;
    max-width: 19em !important;
    font-size: 0.97rem !important;
    line-height: 1.92 !important;
    font-weight: 500 !important;
    color: rgba(255,250,244,0.95) !important;
    text-align: center !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.22) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-image-wrap,
  .slash-treatment-section.qte-rebuild .slash-card.reverse .slash-image-wrap {
    position: relative !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border-radius: 24px !important;
    clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%) !important;
    box-shadow: 0 24px 48px rgba(0,0,0,0.20), inset 0 0 0 1px rgba(255,255,255,0.10) !important;
    opacity: 0 !important;
    transform: translate3d(-18px, 22px, 0) scale(0.94) !important;
    filter: blur(10px) saturate(0.92) brightness(0.92) !important;
    transition: opacity .62s cubic-bezier(.22,.61,.36,1), transform .72s cubic-bezier(.22,.61,.36,1), filter .62s ease !important;
    will-change: transform, opacity, filter;
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse .slash-image-wrap {
    clip-path: polygon(0 0, 91% 0, 100% 100%, 9% 100%) !important;
    transform: translate3d(18px, 22px, 0) scale(0.94) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.is-image-visible .slash-image-wrap,
  .slash-treatment-section.qte-rebuild .slash-card.reverse.is-image-visible .slash-image-wrap {
    opacity: 1 !important;
    transform: translate3d(0,0,0) scale(1) !important;
    filter: blur(0) saturate(1) brightness(1) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-image-wrap img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: cover !important;
    transform: scale(1.03);
    filter: brightness(0.96) saturate(0.95);
    transition: transform .72s cubic-bezier(.22,.61,.36,1), filter .62s ease !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.is-image-visible .slash-image-wrap img {
    transform: scale(1.01);
    filter: brightness(0.98) saturate(0.98);
  }

  .slash-treatment-section.qte-rebuild .slash-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(10,10,10,0.06) 100%),
      linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02) 34%, rgba(255,255,255,0) 72%);
    pointer-events: none;
  }

  .slash-treatment-section.qte-rebuild .slash-badge {
    position: absolute !important;
    top: 12px !important;
    left: 18px !important;
    right: auto !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: calc(100% - 58px) !important;
    padding: 7px 13px 8px !important;
    border-radius: 12px !important;
    font-size: 0.90rem !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    color: #fff2cf !important;
    background: linear-gradient(135deg, rgba(35,28,22,0.88), rgba(80,58,36,0.52)) !important;
    border: 1px solid rgba(255,221,155,0.34) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.12) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.42), 0 0 8px rgba(255,220,150,0.18) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0 !important;
    transform: translate3d(-16px, -8px, 0) skewX(-18deg) !important;
    transition: opacity .40s ease .06s, transform .50s cubic-bezier(.22,.61,.36,1) .06s !important;
    overflow: visible !important;
  }

  .slash-treatment-section.qte-rebuild .slash-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 12px;
    transform: skewX(-18deg);
    transform-origin: left center;
    background: linear-gradient(135deg, rgba(20,18,18,0.92), rgba(90,70,45,0.40));
    border: 1px solid rgba(255,216,140,0.16);
  }

  .slash-treatment-section.qte-rebuild .slash-badge::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 2px;
    height: 2px;
    border-radius: 999px;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, rgba(255,210,120,0), rgba(255,218,150,0.95), rgba(255,210,120,0));
    box-shadow: 0 0 10px rgba(255,214,140,0.42);
  }

  .slash-treatment-section.qte-rebuild .slash-card.is-image-visible .slash-badge {
    opacity: 1 !important;
    transform: translate3d(0,0,0) skewX(-18deg) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse .slash-badge {
    left: auto !important;
    right: 18px !important;
    transform: translate3d(16px, -8px, 0) skewX(-18deg) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse.is-image-visible .slash-badge {
    transform: translate3d(0,0,0) skewX(-18deg) !important;
  }

  .slash-treatment-section.qte-rebuild .slash-shine {
    position: absolute;
    top: -20%;
    left: -35%;
    width: 38%;
    height: 160%;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,245,220,0.12) 45%, rgba(255,255,255,0.34) 50%, rgba(255,245,220,0.12) 55%, rgba(255,255,255,0) 100%);
    transform: rotate(18deg) translateX(0);
  }

  .slash-treatment-section.qte-rebuild .slash-card.is-image-visible .slash-shine {
    animation: slashShine 1.12s ease .18s forwards !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse .slash-shine {
    left: auto;
    right: -35%;
    transform: rotate(-18deg) translateX(0);
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse.is-image-visible .slash-shine {
    animation: slashShineReverse 1.12s ease .18s forwards !important;
  }
}

@media screen and (max-width: 430px) {
  .slash-treatment-section.qte-rebuild {
    width: calc(100% - 20px) !important;
    margin: 34px auto 48px !important;
  }

  .slash-treatment-section.qte-rebuild .slash-name {
    font-size: 1.78rem !important;
  }

  .slash-treatment-section.qte-rebuild .slash-name::after {
    width: 124px;
  }

  .slash-treatment-section.qte-rebuild .slash-text {
    font-size: 0.92rem !important;
    line-height: 1.84 !important;
    max-width: 18em !important;
  }

  .slash-treatment-section.qte-rebuild .slash-image-wrap {
    border-radius: 20px !important;
  }

  .slash-treatment-section.qte-rebuild .slash-badge {
    top: 10px !important;
    left: 14px !important;
    max-width: calc(100% - 44px) !important;
    padding: 6px 11px 7px !important;
    font-size: 0.80rem !important;
  }

  .slash-treatment-section.qte-rebuild .slash-card.reverse .slash-badge {
    left: auto !important;
    right: 14px !important;
  }
}
