/* Shared only by pages that distinguish LINE notices from portal participation. */
.study-portal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 20px 0;
  padding: 14px 20px;
  border: 2px solid #1d4ed8;
  border-radius: 12px;
  background: #fff;
  color: #1d4ed8;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.study-portal-link:hover {
  background: #eff6ff;
}

.study-portal-link:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}

.dp-final-cta .study-portal-link,
.lp1-final-cta .study-portal-link {
  margin-inline: auto;
}

/* Keep the existing LINE registration label within the deployed LP layout. */
@media (max-width: 640px) {
  .dp-hero .dp-cta-btn,
  .dp-section .dp-cta-btn {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
