/* join header */
.join-header { display: flex; justify-content: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: "HanjinGroupSans"; font-size: 24px; font-weight: 700; line-height: 150%; } 
.join-header-inner { display: flex; justify-content: center; align-items: center; position: relative; width: 700px; } 
.join-header-inner button { display: flex; align-items: center; position: absolute; left: 0; padding: 0; font-family: "Hanjin Group Sans"; font-size: 16px; font-weight: 700; line-height: 150%; } 
.join-header-inner button img {
    transform: translate(0px, 1px);
}
.join { max-width: 700px; width: 100%; margin: 0 auto; padding: 40px 20px 0; } 


/* join comm */
.join-area-top h3 {
    margin-bottom: 40px;
    text-align: center;
    font-family: "HanjinGroupSans";
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
}
.join input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid var(--line-2) !important;
    background: #fff !important;
    cursor: pointer;
    transition: all .3s;
}
.join input[type="checkbox"]:hover {
    border: 1px solid var(--text-light-2) !important;
}
.join input[type="checkbox"]:checked {
    border: 1px solid var(--blue) !important;
    background: url(../assets/icons/join-checkbox-checked.png) center center !important;
}

/* step1 */
.join-step { display: flex; gap: 10px; margin-bottom: 80px; } 
.join-step-num { width: calc((100% - 30px) / 4); } 
.join-step-num span { display: block; width: 100%; height: 6px; margin-bottom: 10px; border-radius: 10px; background-color: var(--line); } 
.join-step-num.on span { background-color: var(--blue); } 
.join-step-num p { text-align: center; font-size: 16px; font-weight: 600; line-height: 150%; color: var(--bg-muted); } 
.join-step-num.now p { color: var(--text-muted); } 

.join-step01-top { margin-bottom: 40px; } 
.join-step01-top h3 { margin-bottom: 24px; text-align: center; font-family: "HanjinGroupSans"; font-size: 24px; font-weight: 700; line-height: 150%; color: var(--navy); } 
.join-step01-top p { text-align: center; font-size: 16px; font-weight: 500; line-height: 150%; color: var(--text-light); } 
.join-step01-top span { display: block; text-align: center; font-size: 16px; font-weight: 500; line-height: 150%; color: var(--bg-muted); } 

.join-step01-wrap { margin-bottom: 60px; } 
.join-select-box { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-radius: 12px; background-color: var(--bg-soft); transition: all .3s; cursor: pointer; } 
.join-select-box:hover { background-color: var(--line-2); } 
.join-select-box + .join-select-box { margin-top: 10px; } 
.join-select-box .join-select-title h4 { font-size: 18px; font-weight: 600; line-height: 150%; } 
.join-select-box .join-select-title p { font-size: 14px; font-weight: 400; line-height: 150%; color: var(--text-light-2); } 
.join-lang-btn button { width: 140px; height: 46px; padding: 10px 0 12px 0; border-radius: 8px; border: 1px solid var(--line-2); font-family: "HanjinGroupSans"; font-size: 16px; font-weight: 700; line-height: 150%; background-color: #fff; transition: all .3s; } 
.join-lang-btn button:hover { background-color: var(--bg-soft); } 

.join-benefit-wrap h3 { margin-bottom: 30px; text-align: center; font-family: "HanjinGroupSans"; font-size: 20px; font-weight: 700; line-height: 150%; color: var(--navy); } 
.join-benefit-col { display: flex; gap: 20px; } 
.join-benefit-col .join-benefit-box { display: flex; flex-direction: column; align-items: center; gap: 10px; width: calc((100% - 40px) / 3); padding: 22px 0; border-radius: 8px; background-color: #EEF8FD; } 
.join-benefit-col .join-benefit-box p { text-align: center; font-family: "Hanjin Group Sans"; font-size: 16px; font-weight: 700; line-height: 150%; color: var(--navy); } 
.join-benefit-col.join-benefit-col .join-benefit-box, .join-auth button {
  width: 100%;
  flex: 1;
}
/* step2 */

.terms-all-wrap {
    margin-bottom: 20px;
}
.terms-all-wrap p {
    padding: 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: var(--text-light-2);
}
.terms-all {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--line);
    transition: all .3s;
}
.terms-all:hover {
    border-color: var(--text-light-2);
}
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-list {
    margin-bottom: 40px;
}
.terms-item .terms-check-wrap {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
}
.terms-item:last-child {
    border-bottom: 1px solid var(--line);
}
.check-text {
    font-family: Pretendard;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}
.terms-content {
    overflow-y: scroll;
    max-height: 240px;
    padding: 12px;
    border: 1px solid var(--line);
    border-bottom: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    color: var(--text-light);
    background-color: var(--bg-soft);
    scrollbar-width: thin;
    scrollbar-color: var(--text-light-2) transparent;
}
.terms-content::-webkit-scrollbar {
    width: 4px;
}
.terms-content::-webkit-scrollbar-track {
    background: transparent;
}
.terms-content::-webkit-scrollbar-thumb {
    background: var(--text-light-2);
    border-radius: 99px;
}

.join-auth {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.join-auth button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 0;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    transition: all .3s;
}
.join-auth button:hover {
    border-color: var(--bg-muted);
}
.join-auth button p {
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
}
.auth-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: var(--text-light-2);
}
.form-col.form-col--cols2 {
    display: flex;
    gap: 10px;
    width: 100%;
}

.form-col.form-col--cols2 input {
    width: calc(50% - 5px);
}


/* step3 */
.req-text {
    position: relative;
    margin-bottom: 30px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
}
.req {
    display: block;
    position: absolute;
    right: 2px;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--blue);
}

.form-label {
    display: inline-block;
    position: relative;
    margin-bottom: 8px;
    padding-right: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
}
.form-group + .form-group {
    margin-top: 30px;
}
.form-group input {
    height: 52px;
}
.form-join-row {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.form-join-row input {
    width: 100%;
}

.btn.btn-outline {
    width: 104px;
    min-width: 104px;
    margin-left: 8px;
    padding: 0 12px;
    height: 52px;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    transition: all .3s;
}
.btn.btn-outline:hover {
    background-color: var(--bg-soft);
}
.form-help {
    margin-top: 8px;
    padding-left: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: var(--text-light-2);
}
.form-col.form-col--inline input {
    width: 100%;
}
.join input:focus {
    border-color: var(--text-muted);
}
.join input[readonly],
.join input:not(:focus):not(:placeholder-shown) {
    border-color: var(--line-2);
    color: var(--text-light-2);
    background-color: var(--bg-soft);
}
.form-col.form-col--inline.form-col--inline2 {
    gap: 7px;
}

/* 이메일 */
.email-at {
    margin: 0 6px;
}
.email-col input {
    flex: 1 1 0;
    min-width: 0;
}
.email-btn-wrap {
    display: flex;
    gap: 16px;
}
.select-custom {
    flex: 0 0 178px;
    position: relative;
    width: 178px;
    min-width: 178px;
}
.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 52px;
    margin-left: 10px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid var(--line-2);
    background: #fff;
    cursor: pointer;
    transition: all .3s;
}
.select-trigger:hover {
    background-color: var(--bg-soft);
}
.select-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}
.select-options {
    position: absolute;
    top: 100%;
    left: 10px;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    margin-top: 4px;
    display: none;
    z-index: 10;
}
.select-options li {
    padding: 10px 14px;
    cursor: pointer;
}
.select-options li:hover {
    background: #f3f5f8;
}
.select-custom.open .select-options {
    display: block;
}
.form-col {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.email-col .btn.btn-outline {
    flex: 0 0 104px;
}

/* 주소 */
.address-fullinput-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

/* 스카이패스 */
.btn.btn-outline.skypass-btn {
    width: 80px;
    min-width: 80px;
}

/* 마케팅 정보 */
.marketing-input-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 6px;
}
.marketing-input-wrap label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
}

/* 가입버튼 */
.join-step3-btn-wrap {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}
.close-btn,
.sudmit-btn {
    justify-content: center;
    align-items: center;
    width: calc(50% - 10px);
    padding: 10px 0 10px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    transition: all .3s;
}
.close-btn:hover,
.sudmit-btn:hover {
    border: 1px solid var(--line-2);
    color: var(--text-dark);
    background-color: var(--bg-soft);
}
.sudmit-btn {
    color: #fff;
    background-color: var(--blue);
}
.close-btn {
    border: 1px solid var(--line-2);
    background-color: #fff;
}

/* step4 */
.join-clear-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    border-radius: 16px;
    background-color: #EEF8FD;
}
.join-clear-wrap h3 {
    margin-bottom: 14px;
    text-align: center;
    font-family: "HanjinGroupSans";
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    color: var(--navy);
}
.join-clear-wrap p {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: var(--text-light);
}
.join-clear-btn-wrap {
    display: flex;
    max-width: 500px;
    width: 100%;
    gap: 20px;
}

/* join footer */
.join-footer { margin-top: 100px; padding: 24px 0; background-color: var(--bg-soft); } 
.join-footer-inner { display: flex; justify-content: center; gap: 30px; } 



/* join step 1 */
@media screen and (max-width: 580px) {
  .join-header{
    padding: 10px 0;
    font-size: 18px;
  }

  .join{
    padding: 20px 20px 0;
  }

  .join-step{
    margin-bottom: 40px;
  }

  .join-step-num span{
    margin-bottom: 0;
  }
  
  .join-step-num p{
    display: none;
  }

  .join-select-box {
    padding: 16px;
  }

  .join-select-box img{
    width: 24px;
    height: 24px;
  }

  .join-step01-top{
    margin-bottom: 30px;
  }

  .join-step01-top h3{
    font-size: 18px;
    margin-bottom: 16px;
  }

  .join-step01-top p, .join-step01-top span{
    font-size: 14px;
  }

  .join-select-box .join-select-title h4{
    font-size: 16px;
  }


  .join-lang-btn button{
    width: auto;
    flex: 1;
  }

  .join-lang-btn {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .join-benefit-col {
    flex-direction: column;
  }

  .join-select-box + .join-select-box{
    margin-top: 16px;
  }

  .join-step01-wrap{
    margin-bottom: 40px;
  }

  .join-benefit-wrap h3{
    font-size: 16px;
    margin-bottom: 20px;
  }


  .join-benefit-col .join-benefit-box{
    padding: 16px 0;
  }

  .join-benefit-col .join-benefit-box p{
    font-size: 14px;
  }

  .join-benefit-col .join-benefit-box img{
    width: 32px;
  }

  .join-footer{
    margin-top: 60px;
  }

  .join-footer{
    padding: 20px;
  }

  .join-footer-inner{
    gap: 20px;
  }

  .join-footer-inner img{
    width: 30%;
  }

}


/* join step 2 */
@media screen and (max-width: 580px) {
  .join-header-inner button{
    font-size: 0;
  }

  .join-area-top h3{
    font-size: 18px;
    margin-bottom: 20px;
  }

  .terms-all{
    padding: 16px;
    margin-bottom: 16px;
  }

  .terms-all-wrap p{
    font-size: 14px;
  }
  
  .check-item{
    gap: 12px;
  }

 .terms-all .check-text{
    font-weight: 700;
  }

  .terms-item .terms-check-wrap{
    padding: 16px 12px ;
  }

  .join-auth{
    flex-direction: column;
    gap: 10px;
  }

  .join-auth button{
    flex-direction: row;
    padding: 20px;
    padding-right: 40px;
  }

  .join-auth button img{
    width: 44px;
  }

  .join-auth button p{
    flex: 1;
    font-size: 16px;
  }

  .auth-desc{
    font-size: 14px;
  }
}

/* join step 3 */
@media screen and (max-width: 580px) {
  .join-header-inner button {
    left: 20px;
  }

  .form-label,
  .select-value,
  .form-group input::placeholder,
  .form-help,
  .select-options {
    font-size: 12px;
  }

  .form-group input,
  .select-trigger {
    height: 46px;
    font-size: 12px;
  }

  .btn.btn-outline{
    font-size: 12px;
    height: 46px;
    margin-left: 0;
  }

  .email-col{
    flex-wrap: wrap;
  }

  .email-btn-wrap{
    width: 100%;
    margin-top: 12px;
    flex-direction: column;
  }

  .email-btn-wrap .btn.btn-outline{
    flex: auto;
    width: 100%;
  }
  
  .select-trigger{
    margin-left: 0;
  }

  .address-fullinput-wrap{
    gap: 8px;
    margin-top: 8px;
  }

  .select-custom{
    flex: auto;
    width: 100%;
  }
  
  .select-options{
    left: 0;
  }

  .email-btn-wrap{
    gap: 12px;
  }

  .email-at{
    font-size: 14px;
  }

  .form-group + .form-group{
    margin-top: 24px;
  }

  .marketing-input-wrap{
    gap: 16px;
  }

  .marketing-input-wrap label{
    font-size: 14px;
  }

  .join-step3-btn-wrap{
    margin-top: 40px;
  }

  .join-step3-btn-wrap{
    flex-direction: column;
    gap: 12px;
  }

  .join-step3-btn-wrap button{
    width: 100%;
    font-size: 14px;
  }

  .join input[type="checkbox"]{
    width: 20px;
    height: 20px;
  }

}

/* join step 4 */
@media screen and (max-width: 768px) {
    .join-clear-wrap h3 {
        font-size: 18px;
    }
    .close-btn, .sudmit-btn {
        font-size: 16px;
    }
}