body.noscroll {
    overflow: hidden;
}

/* 체크박스 커스텀 */
.agreement-save-box,
.agreement-impor-box,
.agreement-box{
  display: flex;
  gap: 8px;
  input[type="checkbox"] {
    display: none;
  }

  label.checkbox-input {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("/public/img/checkbox-no.svg") no-repeat;
    background-size: 100%;
  }

  input[type="checkbox"]:checked + .checkbox-input {
    background: url("/public/img/checkbox-yes.svg") no-repeat;
    background-size: 100%;
  }
}

.mypage-main {
  background-color: #fff;
}

.join-wrap{
  width: 820px;
  margin: 0 auto;
  margin-top: 120px;
  margin-bottom: 120px;
  box-sizing: border-box;
}
.join-wrap > h1{
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 3px solid #1A1A1A;
  margin-bottom: 40px;
}
.user-select-wrap > p{
  font-size: 16px;
  color: #808080;
  margin-bottom: 10px;
}
.user-box{
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-sizing: border-box;
  margin-bottom: 24px;
}
.one-box{
  width: 260px;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  margin-right: 12px;
}
.one-box:hover {
  border: 1px solid #1999EF;
}
.one-box > .cir{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background: #F7F7F7;
  margin: 0 auto;
}
.one-box > .cir::after{
  content: '';
  background-image: url('/public/img/one-box.png');
  position: absolute;
  width: 34px;
  height: 34px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.one-box .choice-title {
  text-align: center;
  margin-top: 10px;
  color: #444444;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.one-box .choice-content{
  font-size: 14px;
  color: #808080;
}
.business-box{
  width: 254px;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  margin-right: 12px;
}
.business-box:hover {
  border: 1px solid #1999EF;
}
.business-box > .cir{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background: #F7F7F7;
  margin: 0 auto;
}
.business-box > .cir::after{
  content: '';
  background-image: url('/public/img/business-box.png');
  position: absolute;
  width: 34px;
  height: 34px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.business-box .choice-title {
  margin-top: 10px;
  color: #444444;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.business-box .choice-content {
  font-size: 14px;
  color: #808080;
}

/* 팝업 */
.popup-wrap{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000050;
    z-index: 999;
}
.popup-wrap > .popup-back{
    width: 360px;
    padding: 20px;
    border-radius: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    transition: all 0.5s;
    z-index: 999;
}
.popup-back > .exit-box{
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}
.popup-back > .check-box{
    text-align: center;
    margin-bottom: 12px;
}
.popup-wrap > .popup-back > p{
    text-align: center;
}
.popup-wrap > .popup-back > p:first-of-type{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1A1A1A;
}
.popup-wrap > .popup-back > p:last-of-type{
    font-size: 16px;
    color: #808080;
    margin-bottom: 32px;
}
.popup-wrap > .popup-back > button{
    background: #1999EF;
    width: 100%;
    color: #fff;
    padding: 17px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}
.popup-wrap > .popup-back > a > .all-next-login-btn {
  background: #1999EF;
  width: 100%;
  color: #fff;
  padding: 17px 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
}

.id-box,
.pw-box,
.repw-box,
.name-box,
.nickname-box,
.phone-box,
.phone-cert-box, 
.email-box,
.company-box,
.business-num-box,
.address-box,
.com-busi-box,
.com-condi-box,
.charge-nm-box,
.charge-phone-box,
.charge-email-box,
.company-type-box,
.number-box{
  margin-bottom: 24px;
}

.id-box > p,
.pw-box > p,
.repw-box > p,
.name-box > p,
.nickname-input-box > p,
.phone-cert-box > p,
.phone-input-box > p,
.email-box > p,
.company-box > p,
.business-num-box > p,
.address-box > p,
.com-busi-box > p,
.com-condi-box > p,
.charge-nm-box > p,
.charge-phone-box > p,
.charge-email-box > p,
.company-type-box > p,
.number-box > p{
  font-size: 16px;
  color: #808080;
  margin-bottom: 10px;
}
.id-input-box > p > span,
.pw-box > p > span,
.com-reg-box > p > span,
.repw-box > p > span,
.name-box > p > span,
.nickname-input-box > p > span,
.phone-cert-box > p > span,
.phone-input-box > p > span,
.email-box > p > span,
.company-box > p > span,
.business-num-box > p > span,
.address-box > p > span,
.com-busi-box > p > span,
.com-condi-box > p > span,
.charge-nm-box > p > span,
.charge-phone-box > p > span,
.charge-email-box > p > span,
.com-busi-box > p > span,
.com-condi-box > p > span,
.charge-nm-box > p > span,
.charge-phone-box > p > span,
.charge-email-box > p > span,
.company-type-box > p> span,
.number-box > p > span{
  color: #FF1414;
}
.id-box > input,
.pw-box > input,
.repw-box > input,
.name-box > input,
.email-box > input,
.company-box > input,
.business-num-box > input,
.address-box > input,
.com-busi-box > input,
.com-condi-box > input,
.charge-nm-box > input,
.charge-phone-box > input,
.charge-email-box > input,
.company-type-box > select,
.number-box > input{
  width: 100%;
  padding: 17px 0;
  padding-left: 16px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.input-gray {
  background-color: #f4f4f4;
}
.id-box > input::placeholder,
.com-reg-box > input::placeholder,
.pw-box > input::placeholder,
.repw-box > input::placeholder,
.name-box > input::placeholder,
.nickname-input-box > input::placeholder,
.phone-input-box > input::placeholder,
.phone-cert-box > input::placeholder,
.email-box > input::placeholder,
.company-box > input::placeholder,
.business-num-box > input::placeholder,
.address-box > input::placeholder,
.com-busi-box > input::placeholder,
.com-condi-box > input::placeholder,
.charge-nm-box > input::placeholder,
.charge-phone-box > input::placeholder,
.charge-email-box > input::placeholder,
.number-box > input::placeholder{
  color: #BEBEBE;
}
.id-box,
.business-num-box,
.nickname-box,
.phone-box{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.phone-cert-box {
  width: 100%;
  display: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.com-reg-box > input,
.id-input-box > input,
.nickname-input-box > input,
.phone-cert-box > input,
.phone-input-box > input{
  width: 354px;
  margin-right: 8px;
  padding: 17px 16px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  font-size: 16px;
}
#cert_phone {
  border: 1px solid #1999EF;
}
.com-reg-btn-box > button,
.id-btn-box > button,
.nickname-btn-box > button,
.phone-btn-box > button{
  width: 84px;
  padding: 17px 0;
  background: #F7F7F7;
  border-radius: 8px;
  font-size: 16px;
  color: #444444;
}
.agreement-wrap > p,
.agreement-impor-box,
.agreement-box{
  font-size: 16px;
  color: #808080;
  margin-bottom: 12px;
}
.agreement-save-box{
  border: 1px solid #EAEAEA;
  padding: 13px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.agreement-impor-box,
.agreement-box{
  padding: 13px 12px;
}
.agreement-save-box > label:last-of-type{
  color: #444;
}
.agreement-save-box > label:last-of-type, 
.agreement-impor-box > label:last-of-type,
.agreement-box > label:last-of-type{
  font-size: 14px;
  cursor: pointer;
}
.agreement-impor-box > label:last-of-type > span{
  color: #1999EF;
}
.agreement-impor-box a {
  background-color: #808080;
  color: white;
  border-radius: 8px;
  font-size: 12px;
  padding: 3px 5px;
}
.submit-btn,
.submit-modi-btn {
  width: 100%;
  margin-top: 40px;
  padding: 17px 0;
  background: #1999EF;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
}
.info-wrap{
  box-sizing: border-box;
}
.number-box{
  position: relative;
  padding-bottom: 40px;
}
.number-box::after{
  content: '';
  width: 480px;
  height: 1px;
  background: #EAEAEA;
  position: absolute;
  bottom: 0;
  left: 0;
}
.agreement-wrap{
  margin-top: 40px;
}




/* 모바일 */
@media screen and (min-width: 340px) and (max-width: 400px) {
  .user-box {
    flex-direction: column;
  }
  .user-box a {
    width: 100%;
    margin-bottom: 10px;
  }
  .join-wrap{
    width: 90%;
  }
  .join-wrap > h1{
    font-size: 28px;
    padding-bottom: 32px;
    margin-bottom: 24px;
  }
  .user-select-wrap > p{
    font-size: 14px;
  }
  .one-box,
  .business-box{
    width: 160px;
  }
  .one-box,
  .business-box{
    padding: 20px 28px;
  }
  .one-box > .cir{
    position: relative;
  }
  .one-box > .cir::after{
    content: '';
    background-image: url('/public/img/one-box.png');
    position: absolute;
    width: 34px;
    height: 34px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .business-box > .cir{
    position: relative;
  }
  .business-box > .cir::after{
    content: '';
    background-image: url('/public/img/business-box.png');
    position: absolute;
    width: 34px;
    height: 34px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .one-box > p:first-of-type{
    font-size: 14px;
  }
  .one-box > p:last-of-type{
    font-size: 12px;
  }
  .business-box > p:first-of-type{
    font-size: 14px;
  }
  .business-box > p:last-of-type{
    font-size: 12px;
  }
  .id-box > input, 
  .pw-box > input, 
  .repw-box > input, 
  .name-box > input, 
  .email-box > input, 
  .company-box,
  .agreement-save-box{
    box-sizing: border-box;
  }
  .com-reg-box > p,
  .id-input-box > p,
  .id-box > p, 
  .pw-box > p, 
  .repw-box > p, 
  .name-box > p, 
  .nickname-input-box > p, 
  .phone-cert-box > p,
  .phone-input-box > p, 
  .email-box > p, 
  .company-box > p, 
  .business-num-box > p, 
  .address-box > p, 
  .com-busi-box > p,
  .com-condi-box > p,
  .charge-nm-box > p,
  .charge-phone-box > p,
  .charge-email-box > p,
  .number-box > p
  {
    font-size: 14px;
  }
  .com-reg-box > input,
  .id-input-box > input,
  .nickname-input-box > input, 
  .phone-cert-box > input,
  .phone-input-box > input{
    width: auto;
  }
  .agreement-wrap > p{
    font-size: 14px;
  }
  .agreement-save-box > label:last-of-type{
    font-size: 16px;
  }
  .agreement-save-box{
    align-items: center;
  }
  .nickname-btn-box > button, .phone-btn-box > button{
    font-size: 14px;
  }
  .number-box::after{
    width: 328px;
  }
  .user-select-wrap > button{
    margin-top: 24px;
  }
  .join-wrap{
    margin-top: 60px;
    margin-bottom: 20px;
  }
  .number-box{
    padding-bottom: 24px;
  }
  .user-select-wrap > button{
    font-size: 18px;
  }
  .agreement-wrap{
    margin-top: 24px;
  }
}