.join_wrap table td button {
  /* 우편번호 버튼 */
  width:80px !important; height:40px !important; 
  line-height:40px !important; font-weight:400 !important; font-size:13px;
}
/* .join_wrap > .sub_title {margin-bottom:32px;} */
.pet_gender > .pet_gender_chk > select {padding: 4px; margin-right: 8px;}
.join_wrap > h2.sec_title {margin-bottom:32px; font-size:26px;}
.join_wrap h3.sub_title {font-size:22px;}
.join_wrap table th {font-size:14px;}
.join_wrap #fregisterform table tr td div {font-size:12px;}
.join_wrap #fregisterform table tr td input {font-size:14px; height:40px;}
.join_wrap .agree_box dl dt {font-size:14px; line-height:32px;}
.join_wrap .agree_box label, .join_wrap .agree_box dl dd p {font-size:16px;}
.join_wrap .agree_box input[type="checkbox"] + label:before {width:12px; height:12px; margin-right:8px;}
.join_wrap .agree_box dl dd .txt_area {font-size:15px; background:#fff;}

/* 반려동물 명함 */
.pets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-direction: column;
}
.my_pets {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.pet_card {
  display: flex;
  flex-direction: column;
  border: 1px solid #454e54;
  border-radius: 8px;
  width: fit-content;
  padding: 16px 18px;
  flex-basis: calc(50% - 12px);
}
.pet_info {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding-right: 40px;
}
.pet_card > .pet_info > img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  margin-right: 18px;
  border-radius: 8px;
}
.pet_card > .btns {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.pet_card > .btns > * {
  border: #454e54 1px solid;
  border-radius: 8px;
  padding: 10px;
}
.pet_input > div > input {
  padding: 6px;
}
.pet_input > div {
  margin: 8px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.pet_input > div > p {
  font-weight: 700;
  margin-right: 6px;
}
.pet_gender {
  display: flex;
  flex-direction: row;
  height: 30px;
  align-items: center;
}
.pet_gender_chk {
  display: flex;
  flex-direction: row;
}
.pet_gender_chk > label {
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.delete_pet {
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* 반려동물 명함 추가 버튼 */
.pet_add {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 28px 0;
  flex: 1;
  border: #454e54 1px solid;
  border-radius: 8px;
  cursor: pointer;
}
.pet_add > span {
  display: flex;
  align-items: center;
  flex-direction: column;
  width:100%;
}
.plus_icon {
  border: #454e54 1px solid;
  border-radius: 50%;
  font-weight: 700;
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.plus_text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 12px;
}
.pet_add:hover {background:#454e54;}
.pet_add:hover .plus_icon {border:1px solid #f0f0f0; color:#f0f0f0;}
.pet_add:hover .plus_text {color:#f0f0f0;}
#confirmDelete:hover, #cancelDelete:hover {background:#141719; color:#f0f0f0;}

.pet_image {
  border: #454e54 1px solid;
  border-radius: 8px;
  width: 100px;
  height: 100px;
  margin-right: 18px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.pet_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.petphoto_upload {
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 700;
  position: absolute;
}
.delete_image {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* ======================================================== */
/* web */
@media (max-width:1080px) {
  .join_wrap h3.sub_title{margin-top:0}
  .join_wrap table td button {margin-top:6px;}
  .join_wrap .agree_box {margin:24px 0 60px 0;}
  .join_wrap .agree_box dl dt {margin-top:14px;}
  .my_pets {justify-content:center;}
  .join_wrap .cancle_btn {padding:18px 26px; font-size:18px;}
  /* .join_wrap .join_btn {width:150px; height:58px;} */
}

/* 모바일 */
@media (max-width: 640px) {
  .join_wrap table th {font-size:12px;}
  .join_wrap #fregisterform table tr td div{font-size:12px;}
  .join_wrap #fregisterform table tr td input{font-size:12px;}
  .join_wrap table td input + button {width:74px; height:34px; line-height:34px;}
  .join_wrap h3.sub_title {font-size:18px;}
  .join_wrap .agree_box label, .join_wrap .agree_box dl dd p {font-size:14px;}
  .join_wrap .agree_box dl dt {font-size:14px;}
  .join_wrap .agree_box dl dd .txt_area {font-size:12px;}
  .join_wrap .agree_box input[type="checkbox"] + label:before {width:10px; height:10px;}
  /* .join_wrap .join_btn {width:120px; height:52px;} */
  .plus_text{font-size:12px;}
    
  .confirm_pw > p {
    font-size: 12px;
  }
  .confirm_input form input[type="password"] {
    padding: 7px 10px;
    /*width: 100%;*/
    max-width: 180px;
    height: 24px;
    border: 1px solid #b0b8bc;
    font-size: 12px;
  }
  .confirm_input form input[type="submit"] {
    margin-left: 6px;
    background: #76848c;
    width: 44px;
    height: 28px;
    line-height: 28px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
  }
  .confirm_pw {
    padding-left: 3.5%;
  }
  .confirm_input {
    margin-left: 3.5%;
  }
  .pet_add {
    display: flex;
    justify-content: center;
  }
  .my_pets {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }
}

@media only screen and (max-width: 480px) {
  /* 펫 카드 제일 작은 사이즈 */
  .pet_card {
    width: 100%;
  }
  .pet_card > .pet_info > img {
    width: 120px;
    height: 120px;
  }
  .pet_info {
    flex-direction: column;
  }
  .pet_input > div {
    display: block;
  }
  .pet_input > div > p {
    line-height: 1.7;
  }
  .pet_gender {
    height: 40px;
  }
}

