.area {
  height: calc(var(--vh, 1vh) * 100);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

#wrap {
  font-size: 1rem;
  padding: 1rem;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.logo img {
  width: 150px;
  display: block;
}

/* login_btn */
.login_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.login_btn button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone_login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
}

.phone_login button {
  width: 80%;
  max-width: 240px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  width: 80%;
  padding: 14px 0;
  border-radius: 30px;
}

.phone_login button.email {
  padding: 12px 0;
}

.phone_login .phone {
  margin-bottom: 16px;
  min-width: 230px;
}

.phone_login img {
  width: 16px;
  margin-right: 0.5rem;
}

.phone {
  background: #193646;
  color: #fff;
}

.email {
  background: #fff;
  color: #222;
  border: 1px solid #222;
}

.sns_login {
  max-width: 300px;
  min-width: 230px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  gap: 1rem;
}

.sns_login button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.sns_login button img {
  width: 16px;
  min-width: 16px;
}

.sns_login span {
  margin-top: 0.5rem;
  font-size: 12px;
}

.kakao {
  background: #fee500;
  border: none;
  padding: 1rem;
  border-radius: 50%;
}

.naver {
  background: #03c75a;
  border: none;
  padding: 1rem;
  border-radius: 50%;
}

.apple {
  background: #000;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 50%;
}

.bar {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar span {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: #7e8082;
  margin: 0 15px;
}

.bar::after,
.bar::before {
  content: "";
  display: block;
  max-width: 150px;
  height: 1px;
  background-color: #e4e6e8;
  flex-grow: 1;
}

.add {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add a {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: #555;
  padding: 0 30px;
  cursor: pointer;
  /* margin: 0 15px; */
}

.add a:hover {
  color: #222;
  font-weight: 500;
  text-decoration: none;
}

#index_page_move_btn {
  margin-top: -1rem;
}

.corp {
  margin-top: 20px;
  width: 100%;
  text-align: center;
  font-family: "SF Pro Text";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #7e8082;
}

.modal.modal-open {
  opacity: 1;
  visibility: visible;
  z-index: 2000;
}

.modal {
  max-width: 480px;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.modal.modal-open .modal-body {
  top: 0;
  opacity: 1;
}

.modal-body {
  width: 100%;
  height: 100%;
  position: relative;
  top: 100%;
  left: 0;
  /*transition: all 0.3s ease-in-out;*/
  background: #fff;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);

  padding: 1rem;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;

  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(var(--vh, 1vh) * 100);
  /*padding-bottom: 100px;*/
}

.modal-body {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.header h2 {
  font-family: "GmarketSansMedium", sans-serif;
  font-weight: 400;
  letter-spacing: -1px;
  padding-top: 5px;
  text-align: center;
  white-space: nowrap;
}

.modal-body .body {
  width: 100%;
}

.modal-body .body h2 {
  margin-bottom: 1rem;
}

.modal-body .bodyCont {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.modal-body .bodyCont span {
  display: inline-block;
  /*color: #555;*/
  margin-left: 8px;
  margin-bottom: 4px;
}

.certify_box {
  justify-content: space-between;
  margin-bottom: 10px;
  gap: .5rem;
}

.certify_box input {
  width: 78% !important;
}

.input_base {
  width: 100%;
  border: 2px solid #f5f5f5;
  padding: 10px;
  border-radius: 16px;
}

.input_base:focus {
  border: 2px solid #222;
}

.modal-body .bodyCont .input_box {
  margin-bottom: 16px;
}

.certify_box button {
  width: 20% !important;
  margin-top: 0 !important;
}

.modal-body button {
  padding: 12px 10px;
  width: 100%;
  min-width: 54px;
  border-radius: 16px;
  background: #f9f9f9;
  color: #ddd;
  margin-top: 1rem;
}

.modal-body .footer {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 100%;
}

.modal-body .footer .footBtn {
  width: calc(100% - 32px);
}

.modal-body button.on {
  background: #1a242d;
  font-weight: 600;
}

.modalCloseBtn {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 10px;
  cursor: pointer;
}

.modalCloseBtn img {
  width: 16px;
}

.timer_explain {
  font-size: 12px;
  line-height: 1.2;
  margin-top: 5px;
}

#id_name {
  margin-bottom: 1rem;
}

.confirm {
  position: relative;
}

.confirm input {
  padding-right: 80px;
}

.confirm .confirm_timer {
  position: absolute;
  top: 50%;
  transform: translate(0 , -50%);
  right: 1rem;
  color: crimson !important;
}

.timer_out {
  color: crimson !important;
  font-size: 14px;
  margin-top: 1rem;
}

#phone_join_btn a {
  text-decoration: underline;
  color: dodgerblue;
}

@media (max-width: 360px) {
  .modal-body h2 {
    font-size: 1.25rem;
  }
}