
/* --------------문의하기 css / sec11_teacher-------------- */
/* 공통타이틀 css */
.titleBox{word-break: keep-all; text-align: center; margin-bottom: 32px;}
.titleBox_p{
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 5px; margin-top: unset;
}
.titleBox_h1{
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  margin: unset;
}
/* 문의하기 */
.sec11_inquiry{font-family: 'Pretendard Variable' !important; background-color: #F7F8FA; padding-top: 100px; padding-bottom: 100px;}
.sec11_inquiry .container{position: relative; max-width: 1080px; width: 95%; margin: 0 auto;}
.sec11_inquiry .titleBox{margin-bottom: 50px;}

/*--작성란(이름,전화번호,이메일,문의내용,동의)--*/
.detailInformBox{display: flex; flex-direction: column; gap: 40px;}

/* DITitle -> 공통 title */
.DITitle{
  font-size: 18px; font-weight: 600;
  line-height: 22px; margin-bottom: 8px; margin-top: unset;
}

/* DIinput -> 공통 input */
.DIinput{
  font-size: 14px; font-weight:500;
  padding-left: 16px; padding-right: 16px;
}
.DIinput::placeholder{font-size: 14px; color: #CCCCCC;}


/* 작성박스 공통 css (이름, 전화번호, 이메일, 동의) */
.DIinput,
.emailSelBox,
.DITextareaBox,
.agreeBox{
  border: 1px solid #D3D3D3; border-radius: 10px; background-color: #FFFFFF; box-sizing: border-box;
  outline: none; letter-spacing: 0.5px !important; font-family: inherit;
}

/* 이름&전화박스 , 문의&동의박스 공통 css*/
.DI-namePhone,
.DI-inquiryAgree{
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 40px;
}

/* 이름&전화 작성박스,이메일 작성박스 width 지정 */
.DI-namePhone .DIinput,
.DI-email .DIinput,
.DI-email .emailSelBox{width: 100%;}

/* 이름작성박스,전화작성박스,문의작성박스,동의체크박스 공통 width */
.DI-namePhone_N,
.DI-namePhone_P,
.DI-inquiryAgreeIN,
.DI-inquiryAgreeAg{width: 100%;}

/* 이름,전화,이메일 공통 height */
.DIinput,
.emailSelBox{ height: 45px; line-height: 45px;}

/*--이메일 박스--*/
.emailBox{position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px;}
.emailBox div:nth-child(1) {margin-right:42px; width: calc(100% - 42px); position: relative;}
.emailBox div:nth-child(1)::after{
  content:'@'; font-size: 25px; font-weight: 700;
  position: absolute; top: 50%; right: -32px; transform: translateY(-50%);
}
.emailBox div:nth-child(2) {margin-right:10px; width: 100%; position: relative;}

/* 이메일 셀렉트( Email select box custom ) */
.emailSelBox * { box-sizing: border-box; }
.emailSelBox{ position: absolute; top: 100px; left: 0; transition: .2s ease-in;}
.emailSelBox.active { height: 304px; transition: .1s ease-in; box-shadow: 0px 2px 6px -2px #63636375; z-index: 100;}
span.sel_arrow {position: relative; width: 20px; height: 7px;}
.sel_arrow img{
  position: absolute; top: 50%; right: 0px; transform: translateY(-50%);
  width: 100%;
}
.sel_arrow.on img{display: none;}
.sel_arrow.on::after{
  content: ''; width: 20px; height: 7px;
  position: absolute; top: 0; right: 0px;
  transform:rotate(180deg);
  background-image: url(/assets/_img/sub/curriculum/renewcour/select2.svg); background-repeat: no-repeat; background-size: cover;
}
.emailSelBox .label {
  font-size: 14px; font-weight: 500; font-family: inherit; color: #CCCCCC;
  padding-left: 16px; padding-right: 16px;
  display: flex; align-items: center; justify-content: space-between;
  width: inherit; height: 45px; line-height: 45px;
  border: 0 none; outline: 0 none; background: transparent; cursor: pointer;
}
.emailSelBox .label.on{color:black; letter-spacing: 0.5px;}

.emailSelBox .optionList {
  position: absolute; top: 45px; left: 0; z-index:100; transition: .1s ease-in;
  width: 100%; max-height: 0;
  background: #fff; color: #000; list-style-type: none;
  padding: 0; margin: unset; border-radius:0 0 15px 15px; overflow: hidden;
}
.emailSelBox .optionList::-webkit-scrollbar {width: 6px;}
.emailSelBox .optionList::-webkit-scrollbar-track {background: transparent; }
.emailSelBox .optionList::-webkit-scrollbar-thumb {background: #303030; border-radius: 45px;}
.emailSelBox .optionList::-webkit-scrollbar-thumb:hover {background: #303030;}

.emailSelBox.active .optionList {max-height: 500px;}

.emailSelBox .optionList_item {
  font-size: 14px; letter-spacing: 0.5px; padding: 0px 16px;
  transition: .1s; height: 42px;
  display: flex; align-items: center; cursor: pointer;
}
.emailSelBox .optionList_item:hover {background: #FAFAFA;}
/* -- */

/*--문의내용,약관동의--*/
.DI-inquiryAgree{margin-top: 47px;}

/* 문의작성박스 , 동의체크박스 공통 css*/
.DITextareaBox,
.agreeBox{width: 100%; height: auto; max-height: auto;}

/* 문의내용박스 */
.DITextareaBox{padding: 5px;}
.DITextarea{
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 21px; word-break: keep-all;
  width: 100%; height: 100%; padding: 5px 10px; box-sizing: border-box; border: none;
  letter-spacing: 0.5px !important;
}
.DITextarea::placeholder{ font-size: 14px; color: #CCCCCC; font-family: 'Pretendard Variable';}
/* -- */

/* 약관동의 */
.agreeBoxCheck{
  height: 45px; line-height: 45px; font-size: 16px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #ddd; padding: 0 16px 0 16px; box-sizing: border-box;
  position: relative;
}
.agreeBoxCheck_label{cursor: pointer; height: 100%;}
.agreeBoxCheck_label span{color: #2D8CE6;}

.agreeBoxCheck_cheinp{display: none;}

.agreeBoxCheck_cheinp + .agreeBoxCheck_label{
  cursor: pointer;
  width: 24px; height: 24px;
  position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
  background-image: url(/assets/_img/sub/curriculum/renewcour/check.svg);
  background-repeat: no-repeat; background-position: center; background-size:cover;
}
.agreeBoxCheck_cheinp:checked + .agreeBoxCheck_label::after{
  content:''; width: 24px; height: 24px;
  background-image: url(/assets/_img/sub/curriculum/renewcour/check2.svg);
  position: absolute; left: 0; top:0;
  background-repeat: no-repeat; background-position: center; background-size: cover;
}
.agreeBoxText{
  padding: 12px 16px 14px 16px; color: #A7A7A7 !important;
  font-size: 14px; line-height: 20px;
}
.agreeBoxText_contents{letter-spacing: -0.1px; word-break: keep-all; margin: unset;}
.agreeBoxText_detail{margin-top: 14px; word-break: keep-all;}
.agreeBoxText_detail p{letter-spacing: 0.1px; margin: unset;}
.agreeBoxText span{font-weight: 600;}
/* -- */


/* 문의 등록하기 버튼 */
.inquiryBtnBox{display: flex; justify-content: center;}
.inquiryBtn{
  min-width: 212px; max-width: 310px; min-height: 56px; max-height: 60px;
  background-color:#2D8CE6; color: white;
  font-family: inherit; font-size: 18px; font-weight: 500; letter-spacing: 0.5px;
  border-radius: 50px; margin-top: 50px; border: none; cursor: pointer;
}
.inquiryBtn:hover{background-color: #429cf0;}


/* ///// 문의하기 부분 class 안내 ///// */
.directBlue{border-color: #00A2FF !important; box-shadow: 0 0 0px 0.57px #00A2FF;}
.directRed{border-color: #FF4747 !important; box-shadow: 0 0 0px 0.57px #FF4747;}
.directRed::placeholder{color: #FF4747;}
.directTextRed::placeholder{color: #FF4747;}
/* ----------------------------- */

@media all and (min-width:600px){
  .DI-namePhone{ flex-direction: row; gap: 45px; }
  .emailBox {
    flex-direction: row;
    gap: 0px;
    --emailSelBoxW: calc(34.28% - 14.5px);
    --emailBoxW: calc(100% - var(--emailSelBoxW));
    width: var(--emailBoxW);
  }
  .emailBox div:nth-child(1) {
    margin-right: 24px;
    --Emailbox: calc(var(--emailBoxW) - 29px);
    width: calc(var(--Emailbox) * 2);
  }
  .emailBox div:nth-child(1)::after {font-size: 18px; right: -19.5px;}
  .emailBox div:nth-child(2) {
    margin-right: 5px;
    --Emailbox: calc(var(--emailBoxW) - 29px);
    width: calc(var(--Emailbox) * 2);
  }
  .emailBox .DIinput{width: 100%;}
  .DIinput{ padding-left: 12px; padding-right: 12px; }

  .emailSelBox .label{width: 100%; padding-left: 9px; padding-right: 8px;}
  .emailSelBox .optionList_item { padding: 0px 11px; }
  .emailSelBox{
    --EmailSelBox: calc(50% - 14.5px);
    width: var(--EmailSelBox) !important;
    top: 0px;
    right: calc(var(--EmailSelBox) * -1);
    left: unset;
  }
  span.sel_arrow { width: 16px; height: 6px; }
  .sel_arrow.on::after { width: 16px; height: 6px; }
  .DITextarea{ padding: 5px 7px;}
  .DI-inquiryAgree { margin-top: 0px;}
  .agreeBoxCheck{padding:  0 12px 0 12px;}
  .agreeBoxText {padding: 12px 12px 14px 12px;}
}

@media all and (min-width:640px){
  .emailSelBox .label{padding-left: 12px; padding-right: 12px;}
  .emailSelBox .optionList_item { padding: 0px 12px; }
}

@media all and (min-width:700px){
  .DITitle{font-size: 20px; line-height: 24px;}
  .DI-namePhone {gap: 55px;}
  .DIinput,
  .DIinput::placeholder,
  .emailSelBox .label ,
  .emailSelBox .optionList_item ,
  .DITextarea,
  .DITextarea::placeholder,
  .agreeBoxText {font-size: 15px;}
}

@media all and (min-width:740px){.inquiryBtn{min-width: 230px;}}

@media all and (min-width:768px){
  /* 공통타이틀 css */
  .titleBox_h1 {line-height: 34px;}
  /* ------------------------------------------------- */

  /* --------------문의하기 css /  sec11_inquiry-------------- */
  .DIinput, .emailSelBox, .DITextareaBox, .agreeBox{border-radius: 15px;}
  .DIinput{padding-left: 16px; padding-right: 16px;}
  .emailBox { --emailSelBoxW: calc(34.2% - 16.5px);}
  .emailBox div:nth-child(1) {margin-right: 28px;}
  .emailBox div:nth-child(1)::after {font-size: 22px; right: -22.5px;}
  .emailSelBox{--EmailSelBox: calc(50% - 16.5px);}
  .emailSelBox .label {padding-left: 16px;  padding-right: 16px;}
  .emailSelBox .optionList_item {padding: 0px 16px;}
  span.sel_arrow { width: 22px; height: 8px;}
  .sel_arrow.on::after {width: 22px; height: 8px;}
  .DITextarea { padding: 7px 9px;}
  .agreeBoxCheck { padding: 0 16px 0 16px;}
  .agreeBoxText { padding: 14px 16px 14px 16px;}
}

@media all and (min-width:840px){
  /* 공통타이틀 css */
  .titleBox {margin-bottom: 34px;}
  .titleBox_p {font-size: 18px; line-height: 22px;}
  .titleBox_h1 {font-size: 30px; line-height: 36px;}
  /* ------------------------------------------------- */

  .emailBox {--emailSelBoxW: calc(34.3% - 18.5px);}
  .emailBox div:nth-child(1) {margin-right: 32px;}
  .emailBox div:nth-child(1)::after {font-size: 24px; right: -25px;}
  .emailSelBox {--EmailSelBox: calc(50% - 18.5px);}
}

@media all and (min-width:940px){
  /* 공통타이틀 css */
  .titleBox {margin-bottom: 36px;}
  .titleBox_p {font-size: 20px; line-height: 24px;}
  .titleBox_h1 {font-size: 32px; line-height: 37px;}
  /* ------------------------------------------------- */

  .emailBox {--emailSelBoxW: calc(34.01% - 18.5px);}
  .emailBox div:nth-child(1) {margin-right: 32px;}
  .emailBox div:nth-child(1)::after {font-size: 24px; right: -25px;}
  .emailSelBox {--EmailSelBox: calc(50% - 18.5px);}
}

@media all and (min-width:1000px){
  .sec11_inquiry .titleBox{margin-bottom: 52px;}
  .detailInformBox{gap: 25px;}
  .DIinput,
  .DIinput::placeholder,
  .emailSelBox .label ,
  .emailSelBox .optionList_item ,
  .DITextarea,
  .DITextarea::placeholder,
  .agreeBoxText { font-size: 16px;}

  .DIinput{padding-left: 18px; padding-right: 18px;}
  .DIinput, .emailSelBox{height: 48px; line-height: 48px;}
  .DI-namePhone {gap: 20px;}
  .emailBox div:nth-child(1) {margin-right: 38px;}
  .emailBox div:nth-child(1)::after {font-size: 25px; right: -28.9px;}
  .emailSelBox .label{
    height: 48px; line-height: 48px;
    padding-left: 18px;  padding-right: 18px;
  }
  .emailSelBox .optionList{top: 50px;}
  .emailSelBox .optionList_item{height: 44px; padding: 0px 18px;}
  .emailSelBox.active{height: 320px;}
  .DI-inquiryAgree {flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 20px;}
  .DITextareaBox, .agreeBox { height: 250px;}
  .DITextarea {padding: 9px 13px;}
  .agreeBoxCheck { padding: 0 18px 0 18px;}
  .agreeBoxText { padding: 14px 18px 14px 18px;}
}

@media all and (min-width:1040px){.titleBox_h1 {font-size: 36px; line-height: 44px;}}

@media all and (min-width:1100px){
  /* 공통타이틀 css */
  .titleBox { margin-bottom: 45px;}
  .titleBox_h1 {font-size: 38px; line-height: 44px;}
   /* ------------------------------------------------- */

  .inquiryBtn{font-size: 18px; min-width: 245px; min-height: 60px;}
}

@media all and (min-width:1200px){
  /* 공통타이틀 css */
  .titleBox{ text-align: center; margin-bottom: 50px;}
  .titleBox_p{ font-size: 20px;  font-weight: 500; line-height: 24px; margin-bottom: 5px;}
  .titleBox_h1{font-size: 40px; font-weight: 600; line-height: 47px;}
  /* ------------------------------------------------- */
  .detailInformBox{gap: 30px;}
  .DITitle{font-size: 24px; line-height: 29px; margin-bottom: 10px;}
  .DIinput{font-size: 18px; padding-left: 20px; padding-right: 20px;}

  .DIinput,
  .emailSelBox{ height: 52px; line-height: 52px;}

  .DI-namePhone .DIinput{width: 530px;}

  .DI-namePhone,
  .DI-inquiryAgree{ gap: 20px; margin-top: 0px;}

  .DI-email .DIinput,
  .DI-email .emailSelBox{width: 344px;}

/* 이메일 */
  .emailBox{ --emailSelBoxW: calc(34.16% - 26px); }
  .emailBox div:first-child .DIinput{width: 340px;}
  .emailBox div:nth-child(1) {margin-right:42px; --Emailbox: calc(var(--emailBoxW) - 52px);}
  .emailBox div:nth-child(1)::after{font-size: 25px; right: -32px;}
  .emailBox div:nth-child(2) {margin-right:10px;}

/* select box custom */
  .emailSelBox{--EmailSelBox: calc(50% - 26px);}
  .emailSelBox.active {height: 286px;}
  .sel_arrow.on::after{ width: 24px; height: 9px;}
  .emailSelBox .label {
    padding-left: 20px; padding-right: 20px;
    width: 100%; height: 52px;
  }
  .emailSelBox .optionList {top: 51px;}
  .emailSelBox .optionList_item {padding: 0px 20px; height: 39px;}

/* 문의내용,약관동의 */
  .DI-inquiryAgree{margin-top: 0px;}

  .DITextareaBox,
  .agreeBox{width: 530px; height: 291px;}

  .DITextarea{padding: 12px 15px;}

  .agreeBoxCheck{
    height: 52px; line-height: 52px;
    font-size: 18px; padding: 0 20px 0 20px;
  }
  .agreeBoxText{padding: 9px 20px 15px 20px; line-height: 25px;}
  .agreeBoxText_contents{width: 422px;}
  .agreeBoxText_detail{width: 480px;}

  .inquiryBtn{ width:310px; height:60px; font-size: 22px; }
}