@charset "UTF-8";
@import url(reset.css);

html {
  font-size: 10px;
}
body {
  font-family: 'Inter', sans-serif;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.6;
  background-color: #fff;
}
/* 공통 wrapper */
.all-wrap {
  width: 100%;
  min-height: 100vh;
  position: relative;
}
[class $= "inner"] {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}
.join-box {
  padding-top: 12rem;
}


.container h2 {
  text-align: left;
  margin-bottom: 2rem;
  font-weight: 800;
}
.container section {
  margin-bottom: 3rem;
}
.container h3 ,
.container strong {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.container .con1 p {
  margin-bottom: 1.5rem;
}
.container .con1 span {
  display: block;
  margin-top: 0.5rem;
}

.container section .box {
  background: #f2f2f2;
  padding: 5rem;
  border-radius: 0.5rem;
}
.con1 .checkbox-group ,
.con2 .checkbox-group {
  display: flex;
  align-items: flex-start;
}
.con1 input, .con1 label,
.con2 input, .con2 label {
  color: #8E8E8E;
  margin-right: 5px;
}
.con1 input,
.con2 input {
  margin-top: 6px;
}


.con3 label {
  display: block;
  margin-top: 0.5rem;
  text-align: left;
  border-radius: 5px;
}

.con3 input[type="text"],
.con3 input[type="password"],
.con3 input[type="email"] {
  width: 100%;
  height: 5rem;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.userid {
  flex: 1;
}
.userid button {
  width: 9rem;
  height: 5rem;
  box-sizing: border-box;
  background: #aaa;
  color: #fff;
  border-radius: 2px;
}
.userid input[type="text"] {
  width: calc(100% - 9.5rem);
}
.form-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-row input[type="text"] {
  flex: 1;
  max-width: 85%;
}

.form-row button {
  padding: 1rem;
}

.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
}

.con4 {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.btn {
  width: 590px;
  height: 50px;
  border-radius: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background-color: #153e75;
  color: white;
}

.btn-secondary {
  background-color: #ddd;
}

.error {
  color: red;
  text-align: center;
}

.success {
  color: green;
  text-align: center;
}
.mobile-br {
  display: none;
}

@media only screen and (max-width: 1280px) {
  input[type="text"]::placeholder {
    font-size: 1rem;
  }
  .join-box .container {
    padding: 2rem;
    box-sizing: border-box;
  }
  .container section .box {
    padding: 2rem;
  }
  .con1 input,
  .con2 input {
    margin-top: 6px;
  }

  .con3 label {
    margin: 0;
    text-align: center;
    height: 5rem;
    width: 10rem;
    float: left;
    background: #F3F3F3;
    padding: 1.2rem 0;
    box-sizing: border-box;
    margin-right: 0.5rem;
  }
  .con3 input[type="text"],
  .con3 input[type="password"],
  .con3 input[type="email"] {
    width: calc(100% - 10.5rem);
  }
  .userid button {
    width: 6rem;
  }
  .userid input[type="text"] {
    width: calc(100% - 17rem);
  }
  .form-row {
    gap: 0.3rem;
  }
  .form-row button {
    padding: 0;
  }

  .mobile-br {
    display: inline;
  }

}