html,
body {
  height: 100%;
  background-color: #f5f5f5;
}

body,
button,
form,
h1,
h3,
input,
li,
ul,
select,
p {
  margin: 0;
  padding: 0;
}

#headName {
  text-align: center;
  padding-top: 50px;
  height: 100px;
}

#container {
  margin: 0 auto;
  max-width: 768px;
  min-width: 460;
}

#content {
  width: 460px;
  margin: 0 auto;
}

.join_title {
  margin: 19px 0 8px;
  font-size: 14px;
  font-weight: 700;
}

label,
input {
  cursor: pointer;
}

.ps_box {
  display: block;
  position: relative;
  width: 100%;
  height: 51px;
  border: solid 1px #dadada;
  padding: 10px 14px;
  background: #fff;
  box-sizing: border-box;
}
.ps_box.int_pass {
  padding-right: 40px;
}
.ps_box input {
  outline: 0;
}

.int {
  display: block;
  position: relative;
  width: 100%;
  height: 29px;
  padding-right: 25px;
  line-height: 29px;
  border: none;
  background: #fff;
  font-size: 15px;
  box-sizing: border-box;
  z-index: 10;
}

.error_next_box {
  display: block;
  margin: 9px 0 -2px;
  font-size: 12px;
  line-height: 14px;
  color: red;
}

.join_birthday {
  padding: 0;
}

.bir_wrap {
  display: table;
  width: 100%;
}

.bir_mm + .bir_dd,
.bir_yy + .bir_mm {
  padding-left: 10px;
}

.bir_dd,
.bir_mm,
.bir_yy {
  display: table-cell;
  table-layout: fixed;
  width: 147px;
  vertical-align: middle;
}

.join_birthday .ps_box {
  padding: 11px 14px;
}

.sel {
  width: 100%;
  height: 29px;
  font-size: 15px;
  line-height: 18px;
  color: #000;
  border: none;
  border-radius: 0;
}

select {
  outline: 0;
  cursor: pointer;
}

option {
  font-weight: normal;
  display: block;
  white-space: nowrap;
  min-height: 1.2em;
  padding: 0px 2px 1px;
}

.join_birthday {
  padding: 0;
}

.join_sex .gender_code {
  display: block;
  width: 100%;
  padding-right: 7px;
  box-sizing: border-box;
}

.btn_area {
  margin: 30px 0 9px;
}

.btn_type {
  display: block;
  width: 100%;
  padding: 15px 0 15px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 300px;
  max-width: 90%;
  text-align: center;
  font-size: 1.1rem;
  padding: 15px 20px;
  animation: fadein 0.5s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media screen and (max-width: 768px) {
  #headName,
  #container {
    min-width: 220px;
    margin: 0 15px;
  }

  #content {
    max-width: 460px;
    width: auto;
  }
}
