header{
    display: block;
    margin: 0 auto;
    background-color: rgb(31, 31, 31);
    color: white;
    height: 250px;
}

.header-wrap{
    max-width: 850px;
    padding-top: 1px;
}

.call-bt{
    width: 300px;
    height: 40px;
    background-color: white;
    color: black;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.contact-bt{
    width: 450px;
    height: 60px;
    background-color: #4277da;
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 26px;
    font-weight: bold;
}

.video-wrap{
    max-width: 850px;
    margin: 0 auto;
}

.video1,
.video2,
.video3{
    width: 100%;
    margin-bottom: 30px;
}

.video iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

.txt1{
    margin-top: 100px;
}
.txt1 p{
    font-size: 24px;
    color: rgb(117, 117, 117);
    line-height: 30px;
    margin-bottom: 50px;
}

.title{
    color: #4277da;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 44px;
    margin-top: 50px;
}

.hashtag{
    color: #89b2ff;
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
}

.contact-txt,
.footer-txt,
.txt1,
.txt2,
.txt3,
.txt4 {
  text-align: center;
}

#contact-form{
    background-color: #4277da;
}

.form-wrap{
    max-width: 850px;
}
.contact-txt-wrap{
    width: 850px;
    height: 160px;
    padding: 50px 0;
    margin-top: 100px;
    margin-bottom: 100px;
}
.contact-txt{
    color: white;
    line-height: 70px;
    background-color: #2453a8;
    height: 170px;
}

.contact-txt p{
    font-size: 50px;
}

.contact-txt span{
    font-size: 70px;
    font-weight: bold;
}

.form-group{
    padding: 10px 0;
}

.form-control {
    width: 850px;
    height: 160px;
    padding: 15px;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: #2453a8;
    font-size: 24px;
    line-height: 32px;
}

label{
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

input{
    border: none;
    width: 850px;
    height: 30px;
    border-radius: 5px;
    background-color: #2453a8;
}

#phone .phone-wrap{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

#phone input{
    width: 100px;
}


#radio .radio-wrap label{
    display: flex;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    gap: 10px;
}

#radio input[type="radio"]{
    width: 28px;
    height: 28px;
}

.form-contact-bt{
    width: 850px;
    background-color: rgb(31, 31, 31);
    height: 70px;
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 100px;
    cursor: pointer;
}

.checkbox{
    margin-top: 10px;
}

#privacy .checkbox{
  overflow-x: auto;
}

#privacy .checkbox label{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    cursor: pointer;
    white-space: nowrap;
    flex-wrap: nowrap;
}

#privacy .checkbox input[type="checkbox"]{
    width: 28px;
    height: 28px;
    margin: 0;
}




footer{
    width: 100%;
    background-color: rgb(31, 31, 31);
    color: white;
    height: auto;
}

.footer-wrap{
    width: 850px;
    padding-top: 1px;
}

.bottom-call-bt{
    width: 400px;
    height: 65px;
    background-color: white;
    color: black;
    text-align: center;
    line-height: 65px;
    font-size: 26px;
    font-weight: bold;
    border-radius: 100px;
    margin-top: 40px;
}

.footer-txt{
    padding: 40px;
}

.footer-txt span{
    font-size: 24px;
    margin-bottom: 30px;
}

/* ===== Custom Alert Modal ===== */
.custom-alert{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
}

.custom-alert.hidden{ display: none; }

.custom-alert__box{
  width: min(420px, calc(100% - 48px));
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.custom-alert__msg{
  padding: 28px 22px;
  font-size: 20px;
  line-height: 1.35;
  color: #222;
}

.custom-alert__btn{
  width: 100%;
  border: 0;
  border-top: 1px solid #e7e7e7;
  background: #fff;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

#contact-form input{
    color: #fff;
  caret-color: #fff;
}



html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width: 1024px) {

  .header-wrap,
  .video-wrap,
  .form-wrap,
  .footer-wrap{
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-txt-wrap,
  .form-control,
  .form-contact-bt,
  .footer-wrap{
    width: 100%;
    max-width: 100%;
  }

.contact-txt-wrap{
     margin-bottom: 100px;
 }

  #name input,
  #place input,
  #birth input{
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
  }

  #phone .phone-wrap{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  #phone input{
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
  }

  .form-control{
    height: 240px;
    font-size: 14px;
    line-height: 20px;
  }

  .form-contact-bt{
    height: 56px;
    font-size: 18px;
    margin-bottom: 50px;
  }

  .contact-txt-wrap{
    height: auto;
    padding: 24px 0;
    margin-top: 64px;
    margin-bottom: 0;
  }

  .contact-txt{
    height: auto;
    padding: 24px 16px;
    line-height: 1.2;
  }

  .contact-txt p{
    font-size: clamp(26px, 3.2vw, 34px);
    margin-bottom: 6px;
  }

  .contact-txt span{
    font-size: clamp(30px, 3.8vw, 42px);
    line-height: 1.15;
    display: inline-block;
  }

  .form-control{
    height: auto;
    max-height: 180px;
    padding: 14px;
    line-height: 1.5;
  }

  #contact-form label{
    font-size: 20px;
  }
  #contact-form input{
    font-size: 19.5px;
  }
  #contact-form .form-control{
    font-size: 17.5px;
  }
}

@media (max-width: 480px){
  #phone .phone-wrap{ flex-wrap: wrap; }
  #phone input{ flex: 1 1 100%; }
  #phone .phone-wrap{
    flex-wrap: nowrap;
  }
  #phone input{
    flex: 1 1 0;
  }
}

@media (max-width: 768px){
  body { font-size: 16px; line-height: 1.5; }

  .title{
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.25;
    margin-top: 28px;
    margin-bottom: 14px;
  }

  .txt1 p{
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hashtag{
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.5;
  }

  .contact-txt p{
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.2;
  }
  .contact-txt span{
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.2;
    display: inline-block;
  }

  label{
    font-size: clamp(14px, 3.8vw, 16px);
  }
  .form-control{
    font-size: clamp(13px, 3.6vw, 14px);
    line-height: 1.55;
    height: 240px;
  }

  input{
    font-size: 16px;
    height: 44px;
  }

  .form-contact-bt{
    font-size: clamp(16px, 4.2vw, 18px);
    height: 56px;
    margin-bottom: 50px;
  }
  .call-bt{ font-size: 15px; height: 44px; line-height: 44px; }
  .contact-bt{ font-size: 16px; height: 54px; line-height: 54px; }
  .bottom-call-bt{ font-size: 16px; height: 56px; line-height: 56px; }

  .call-bt,
  .contact-bt,
  .bottom-call-bt{
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .call-bt a,
  .contact-bt a,
  .bottom-call-bt a{
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-txt-wrap{
    margin-top: 48px;
    margin-bottom: 32px;
    padding: 20px 0 0 0;
    height: auto;
  }

  .contact-txt{
    height: auto;
    padding: 20px 12px;
    line-height: 1.3;
  }

  .contact-txt p{
    margin-bottom: 6px;
  }

  .form-control{
    max-height: 160px;
    font-size: 14px;
  }

  #contact-form label{
    font-size: 22px;
  }
  #contact-form input{
    font-size: 22px;
  }
  #contact-form .form-control{
    font-size: 20.5px;
  }
  #privacy .checkbox label,
  #radio .radio-wrap label{
    font-size: 22px;
  }
}

@media (max-width: 380px){
  .call-bt a,
  .contact-bt a,
  .bottom-call-bt a{
    white-space: normal;
    text-overflow: clip;
  }
}