.line-popup-open {
  overflow: hidden;
}

.line-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 520ms ease-out, visibility 0s linear 720ms;
}

.line-popup.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 520ms ease-out, visibility 0s linear 0s;
}

.line-popup__dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  border-radius: 24px;
  padding: 78px 20px 24px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transform-origin: center center;
  will-change: opacity, transform;
  transition: opacity 720ms ease-out, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.line-popup.is-active .line-popup__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.line-popup__character {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 272px;
  height: 110px;
  transform: translateX(-50%);
}

.line-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  background: #333333;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.line-popup__close:hover,
.line-popup__close:focus {
  background: rgba(20, 20, 20, 0.96);
}

.line-popup__character {
}
.line-popup__character img {
  width: 75px;
  height: auto;
}

.line-popup__offer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: #fff3e6;
  color: #eb7d00;
  line-height: 1;
}

.line-popup__offer::before,
.line-popup__offer::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
}

.line-popup__offer::before {
  left: -9px;
}

.line-popup__offer::after {
  right: -9px;
}

.line-popup__offer-text {
  font-size: 22px;
  font-weight: 900;
  color: #E87E00;
}

.line-popup__offer-rate {
  font-size: 42px;
  font-weight: 900;
  color: #E87E00;
}

.line-popup__offer-unit {
  font-size: 32px;
  font-weight: 900;
  color: #E87E00;
}

.line-popup__copy-sub {
  margin: 7px 0 0;
  color: #444444;
  font-size: 13px;
  font-weight: 400;
}

.line-popup__copy-main {
  margin: 3.45px 0 0;
  color: #222222;
  font-size: 22px;
  font-weight: 900;
}

.line-popup__copy-accent {
  color: #E87E00;
}

.line-popup__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 280px;
  min-height: 60px;
  margin: 15px auto 0;
  padding: 10px 24px;
  border-radius: 50px;
  background: #06C755;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.24), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.line-popup__button-icon > img {
  width: 40px;
  height: 40px;
}

.line-popup__button-label {
  color: #FFFFFF;
}

.line-popup__note {
  margin: 14px 0 0;
  color: #757575;
  font-size: 11px;
}

@media (max-width: 399px) {
  .line-popup__dialog {
    max-width: 290px;
    padding: 72px 16px 22px;
  }

  .line-popup__offer-unit {
    font-size: 24px;
  }

  .line-popup__button {
    max-width: 256px;
    padding: 14px 18px;
    font-size: 15px;
  }
}
