/* r13: shared controls and motion; existing CTA dimensions/colors stay intact. */
.member-badge-mobile { display:none; }

/* A negative layer inside an isolated surface keeps the light behind the text.
   The hero uses its inner green surface, not its larger clickable wrapper. */
.header-cta, .hero-cta-surface, .lp-cta {
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.header-cta::before, .hero-cta-surface::before, .lp-cta::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  background:linear-gradient(110deg,transparent 40%,rgb(255 255 255 / .18) 50%,transparent 60%);
  transform:translateX(-110%);
  opacity:0;
  pointer-events:none;
}
@media (prefers-reduced-motion:no-preference) {
  .header-cta::before, .hero-cta-surface::before, .lp-cta::before {
    animation:try18-cta-light 8.5s ease-in-out infinite;
  }
}
@keyframes try18-cta-light {
  0%,82% { transform:translateX(-110%);opacity:0; }
  83% { opacity:1; }
  94% { transform:translateX(110%);opacity:1; }
  95%,100% { transform:translateX(110%);opacity:0; }
}

.back-to-top {
  position:fixed;
  right:max(24px,env(safe-area-inset-right,0px));
  bottom:max(24px,env(safe-area-inset-bottom,0px));
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:1px solid #d9b6c4;
  border-radius:50%;
  background:#fffafc;
  color:#aa3e69;
  box-shadow:0 3px 12px #6034471c;
  cursor:pointer;
  touch-action:manipulation;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s,visibility 0s linear .2s;
}
.back-to-top[hidden] { display:none; }
.back-to-top.is-visible {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition-delay:0s;
}
/* Hide without a fading overlay when another control needs this space. */
.back-to-top[data-obstructed="true"] { transition:none; }
.back-to-top > svg { flex:none;width:22px;height:22px;pointer-events:none; }
.back-to-top:focus-visible { outline:3px solid #a6004c;outline-offset:4px; }
@media (hover:hover) {
  .back-to-top:hover { background:#fff0f6;border-color:#ba7893; }
}

@media screen and (max-width:767px) {
  .back-to-top {
    right:max(12px,env(safe-area-inset-right,0px));
    bottom:max(12px,env(safe-area-inset-bottom,0px));
    width:48px;
    height:48px;
  }
  .hero-proof > .member-badge { display:none; }
  .hero-proof > .member-badge-mobile {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    padding:8px 3px;
    border:1px solid #c8a16d;
    border-radius:50%;
    background:linear-gradient(145deg,#fffdf8,#fff1f4);
    box-shadow:0 2px 8px #73423412;
    color:#735344;
    text-align:center;
    letter-spacing:0;
  }
  .member-badge-mobile::before {
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid #ddc7a7;
    border-radius:50%;
    pointer-events:none;
  }
  .member-badge-mobile__content {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1px;
    width:100%;
  }
  .member-badge-mobile__brand {
    font-family:Georgia,"Times New Roman",serif;
    font-size:12px;
    font-weight:700;
    line-height:1.15;
    color:#aa315d;
  }
  .member-badge-mobile__caption {
    font-size:11px;
    font-weight:500;
    line-height:1.2;
    white-space:nowrap;
  }
  .member-badge-mobile__number {
    display:block;
    font-family:Georgia,"Times New Roman",serif;
    font-size:26px;
    font-weight:700;
    line-height:1.1;
    font-variant-numeric:lining-nums tabular-nums;
    color:#d50058;
    white-space:nowrap;
  }
  .member-badge-mobile__unit {
    margin-left:1px;
    font-family:var(--font-jp);
    font-size:12px;
    font-weight:600;
  }
  .member-badge-mobile__milestone {
    font-size:12px;
    font-weight:600;
    line-height:1.2;
  }
}
@media screen and (min-width:390px) and (max-width:767px) {
  .hero-copy { --hero-badge-size:104px; }
}
@media (prefers-reduced-motion:reduce) {
  .header-cta::before, .hero-cta-surface::before, .lp-cta::before { display:none;animation:none; }
  .back-to-top { transition:none; }
}
@media print {
  .back-to-top { display:none!important; }
  .header-cta::before, .hero-cta-surface::before, .lp-cta::before { display:none;animation:none; }
}

/* r14: only the newly linked contact/company text. */
a.lp-text-link {
  color:inherit;
  text-decoration:underline;
  text-decoration-color:#a66b84;
  text-decoration-thickness:1px;
  text-underline-offset:.2em;
  overflow-wrap:anywhere;
}
a.lp-text-link:hover {
  color:#a6004c;
  text-decoration-color:currentColor;
}
a.lp-text-link:focus-visible {
  outline:2px solid #a6004c;
  outline-offset:3px;
  border-radius:2px;
}
.guide-contact { display:grid;justify-items:start;gap:4px; }
.guide-contact > a.lp-text-link {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:6px 0;
  line-height:1.8;
}
.lp-contact-label { white-space:nowrap; }
.lp-contact-address { min-width:0;max-width:100%;overflow-wrap:anywhere; }
.lp-answer a.lp-text-link { padding-block:3px; }
.footer-bottom a.lp-text-link { padding-block:6px; }
