.rfal-approach, .rfal-approach__line { display: block; }
.rfal-approach__chunk { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
.treatment-options-table {
  table-layout: fixed;
}
.treatment-options-table th:first-child { width: 35%; }
.treatment-options-table th:nth-child(2) { width: 25%; }
.treatment-options-table th:nth-child(3) { width: 40%; }
.treatment-options-table th,
.treatment-options-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 640px) {
  .treatment-options-table th,
  .treatment-options-table td {
    padding: 12px 8px !important;
    font-size: 12px !important;
    line-height: 1.75;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .announce-bar {
    min-height: 50px !important;
    padding: 4px 8px !important;
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
  }

  #root > div > div[style*="position: fixed"][style*="top: 0px"] {
    min-height: 50px !important;
    padding: 4px 8px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
    overflow: hidden !important;
  }

  #root > div > div[style*="position: fixed"][style*="top: 0px"] > span:first-child {
    flex: 0 0 auto !important;
    padding: 2px 7px !important;
    font-size: 0.63rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;
  }

  #root > div > div[style*="position: fixed"][style*="top: 0px"] > span:last-child {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    white-space: normal !important;
    text-align: center !important;
    letter-spacing: 0 !important;
  }

  .announce-bar-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .announce-badge {
    flex: 0 0 auto !important;
    padding: 2px 7px !important;
    font-size: 0.63rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;
  }

  .announce-bar-inner span:not(.announce-badge) {
    min-width: 0 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .site-header {
    top: 50px !important;
    padding: 0 10px !important;
  }

  .header-inner {
    height: 56px !important;
    gap: 8px !important;
  }

  .header-inner > a {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .logo-img,
  .footer-logo-img {
    max-width: 170px !important;
  }

  .logo-img {
    height: 36px !important;
    object-fit: contain !important;
  }

  .header-cta {
    flex: 0 0 auto !important;
  }

  .header-cta .btn {
    min-width: 78px !important;
    max-width: 90px !important;
    min-height: 36px !important;
    padding: 0.52rem 0.72rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  .header-cta .btn span {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  .header-cta .btn span::before {
    content: "ご予約";
    font-size: 0.76rem !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
  }

  #root .hero-section {
    --mobile-photo-height: clamp(320px, 94vw, 500px);
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 113px 0 28px !important;
    display: block !important;
    background: #fff;
  }

  #root .hero-media {
    top: 113px !important;
    height: var(--mobile-photo-height) !important;
    background: #eef1f3;
  }

  .hero-text-pc,
  .hero-pc-gradient,
  .hero-img-pc {
    display: none !important;
    visibility: hidden !important;
  }

  #root .hero-img-sp {
    display: block !important;
    width: min(100%, 540px) !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 8% !important;
  }

  #root .hero-sp-overlay-right,
  #root .hero-sp-overlay-bottom {
    display: none !important;
  }

  #root .hero-section .hero-content-sp {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    text-align: left !important;
    transform: none !important;
    border-radius: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #root .hero-mobile-intro {
    box-sizing: border-box;
    width: 48%;
    height: var(--mobile-photo-height);
    margin-left: auto;
    padding: 32px 16px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  #root .hero-mobile-intro > p:first-child {
    display: block !important;
    justify-content: flex-start !important;
    margin-bottom: 12px !important;
    letter-spacing: 0 !important;
    font-size: 9px !important;
    line-height: 1.6;
  }

  #root .hero-mobile-intro > p:first-child > span {
    display: none !important;
  }

  #root .hero-service-name-sp {
    font-size: 22px !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    margin-bottom: 12px !important;
    overflow-wrap: normal !important;
  }

  #root .hero-price-sp {
    font-size: 15px !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
  }

  #root .hero-mobile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px 16px;
    background: #fff;
  }

  #root .hero-headline-sp {
    order: 0;
    font-size: 14px !important;
    line-height: 1.8 !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
  }

  #root .hero-clinic-name-sp {
    order: -1;
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  #root .hero-mobile-details > div {
    order: 1;
    padding: 10px 12px !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
  }

  #root .hero-section .hero-cta-sp {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 20px !important;
    gap: 18px !important;
  }

  #root .hero-cta-sp > p {
    display: none;
  }

  #root .hero-cta-sp .hero-circle-badges {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  #root .hero-circle-badge {
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #caa5cb;
    background: #fff;
    box-shadow: 0 3px 12px rgba(61, 55, 67, 0.08);
    text-align: center;
  }

  #root .hero-circle-badge span {
    padding: 0 5px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  #root .hero-cta-sp .hero-cta-btn {
    max-width: 440px !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    min-height: 50px !important;
  }

  #root .site-header > div {
    min-width: 0;
    gap: 12px;
  }

  #root .site-header img {
    min-width: 0;
    max-width: min(48%, 190px) !important;
    height: auto !important;
  }

  #root .site-header a {
    flex-shrink: 0;
    padding: 10px 14px !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
  }

  .hero-cta-sp .btn,
  .hero-cta-sp .hero-cta-btn,
  .hero-content .btn,
  .cta-wrap .btn,
  .footer-cta .btn {
    width: 100% !important;
    max-width: calc(100vw - 48px) !important;
    min-height: 48px !important;
    padding: 0.82rem 1rem !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

@media (min-width: 541px) and (max-width: 768px) {
  #root .hero-img-sp {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
  }
}

@media (max-width: 374px) {
  .logo-img {
    max-width: 150px !important;
  }

  .header-cta .btn {
    min-width: 72px !important;
    max-width: 78px !important;
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }

  .hero-circle-badge {
    width: 70px !important;
    height: 70px !important;
  }

  #root .hero-service-name-sp {
    font-size: 18px !important;
  }

  #root .hero-price-sp {
    font-size: 13px !important;
  }
}
/* Footer logo contrast on dark purple background. */ footer img[alt="Joli Skin Clinic"]{filter:brightness(0) saturate(100%) invert(96%) sepia(13%) saturate(351%) hue-rotate(338deg) brightness(102%) contrast(94%)}
