
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

br.pc_none {
  display: none;
}

.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 16, 26, 0.40);
  z-index: 999;
  animation: modal-fade-in 0.3s ease-in;
}

.modal-frame {
  display: inline-flex;
  padding: 56px 88px;
  background: #FFF;
  box-shadow: 0 0 20px 0 rgba(0, 127, 195, 0.15);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999  ;
}

.modal-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.modal-topText {
  color: #007FC3;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
}

.modal-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-imageArea {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.modal-itemText {
  color: #757575;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.modal-imageFrame {
  display: flex;
  gap: 24px;
}

.modal-imageIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 176px;
}

.modal-imageText1 {
  display: inline-block;
  color: #222;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 8px;
  text-decoration-color: #FFF100;
  text-underline-offset: -3px;
}

.modal-imageText2 {
  display: inline-block;
  color: #222;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 0;
}

.modal-img {
  width: 140px;
  height: 140px;
}

.modal-imageIcon span {
  display: inline-block;
}

.modal-register {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  a {
    text-decoration: none;
  }
}

.modal-register-button {
  display: flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(140deg,#ff5a00 30%,#fd7931 70%);
  width: 452px;
  &:hover {
    background: #FF8340;
    cursor: pointer;
  }

  span {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
  }
}

.modal-login-text {
  color: #222;
  font-size: 16px;
  line-height: 1.5;

  a {
    color: #007FC3;
    text-decoration-line: underline;
    text-underline-position: from-font;
    cursor: pointer;
  }
}

/* overrides for SP */
@media screen and (max-width: 768px) {
  br.pc_none {
    display: block;
  }

  .modal-background {
    animation: modal-fade-in 0.3s ease-in;
  }

  .modal-frame {
    padding: 32px 16px;
    width: 327px;
  }

  .modal-area {
    gap: 16px;
  }

  .modal-topText {
    font-size: 16px;
    line-height: 1.4;
  }

  .modal-main {
    gap: 16px;
  }

  .modal-imageArea {
    gap: 20px;
  }

  .modal-itemText {
    font-size: 11px;
    line-height: 1.4;
  }

  .modal-imageFrame {
    gap: 8px;
  }

  .modal-imageIcon {
    gap: 8px;
    width: 93px;
  }

  .modal-imageText {
    text-align: center;
    line-height: 1.4;
  }

  .modal-imageIcon span {
    display: inline;
  }

  .modal-imageText1 {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    text-decoration-thickness: 6px;
  }

  .modal-imageText2 {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
  }

  .modal-img {
    width: 93px;
    height: 93px;
  }

  .modal-register-button {
    width: 284px;

    span {
      font-size: 16px;
      line-height: 1.4;
    }
  }

  .modal-login-text {
    font-size: 14px;
  }
}



