@charset "utf-8";
/*
------------------------------------------------------------------------------------------------------------------------
폼메일 쓰기 스타일
------------------------------------------------------------------------------------------------------------------------
*/

 .email{padding:  3rem;background-color: #f1f1f1; border-radius: 10px;display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 2rem;}
 .email h2{font-weight: 700; font-size: 2.5rem;}
 .email div{display: flex; justify-content: center; align-items: center;gap: 1rem;}
 .email div p{font-size: 2rem; font-weight: 500;}


#formmail-write { margin: 0 auto; background: #fff; padding-top: 40px; border-top: 4px solid #981B1F}
#formmail-write .form-body{}
#formmail-write .form-group>p{font-size:13px; color:#c9c9c9; font-weight:500;padding-left:2rem;}
#formmail-write .form-group{padding-bottom: 25px;}
#formmail-write .form-group1{display: flex; gap: 0px 3%;}
#formmail-write .form-group1 .box{width: 50%;}
#formmail-write .form-group1 .phone div{display: flex; gap: 0px 2%;}
#formmail-write .form-last{border-bottom: 1px solid #efefef; margin-bottom: 17px;}
#formmail-write .form-group .h3{font-size: 1.8rem; font-weight: 500; margin-bottom: 7px; display: block; color: #656565;}
#formmail-write .form-group .h3 span{color: #f25555; margin-left: 0px;}
#formmail-write .form-group input[type=text]{border: 1px solid #e6e6e6;  color: #7c7c7c; border-radius: 0px; width: 100%; padding-left: 10px; height: 45px;}
#formmail-write .form-group2 div{display: flex; align-items: center; gap: 0px 10px;}
#formmail-write .form-group2 div span{color: #7c7c7c;}
#formmail-write textarea{height: 150px; color: #7c7c7c;  width: 100%;padding:1rem; border: 1px solid #e6e6e6;}
#formmail-write .privacy-of-use-check{margin-top: 20px;}
#formmail-write .privacy-of-use-check input{width: 18px; height: 18px;}
#formmail-write .privacy-of-use-check input[type="checkbox"]{appearance: none;width: 20px;height: 20px;border: 1px solid #ddd;border-radius: 3px;outline: none;cursor: pointer;position: relative;margin-right: 6px;}
#formmail-write .privacy-of-use-check input[type="checkbox"]:checked {background-color: var(--color);border-color: var(--color);}
#formmail-write .privacy-of-use-check input[type="checkbox"]:checked::after {content: '✓';color: white;font-size: 14px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);line-height: 1; /* 필요에 따라 추가 */}
#formmail-write .privacy-of-use-check label{color: #7c7c7c; font-weight: 500; font-size: 1.8rem;}
#formmail-write .privacy-of-use-check a{ padding: 5px 10px; border-radius: 6px; background: #333; color: #fff; font-size: 1.2rem; font-weight: 500; margin-left: 15px;}
#formmail-write .form-footer{margin-top: 70px;}
#formmail-write .form-footer .applybtn{width: 230px; height: 60px; text-align: center; line-height: 60px; color: #fff; background: linear-gradient(15deg, #981B1F 0%, #e24146 100%);  display: block; border-radius: 30px; margin: 90px auto 0 auto; font-size: 2.0rem; font-weight: bold; border: none;}
#formmail-write .form-group1 .box select{width: 100%; height: 45px; border: 1px solid #e6e6e6; padding-left: 10px; color: #7c7c7c;}

.use_agree h3{font-size: 1.8rem; font-weight: 500; margin-bottom: 7px; display: block; color: #656565;}
.use_agree h3 span{color: #f25555; margin-left: 0px;}
.use_agree .use-text{width: 100%; border: 1px solid #e6e6e6; padding: 10px; height: 130px; overflow-y: scroll;}
.use_agree .use-text p{ color: #a4a4a4; font-size: 1.5rem; line-height: 145%; font-weight: 500;}

.file-group .hidden_file{position: absolute;width: 0;height: 0;overflow: hidden;}
.file-group .file_upload{background: #313131;width: 100px;height: 100%;display: flex;align-items:center;justify-content:center;color:#fff;}
.file-group  input[name = 'wr_8_del']{display: none;}
.file-group .file_delx2{width: 100px; height: 100%; background: #eee; font-size: 1.6rem; display: flex; justify-content: center; align-items: center;}

.file-group .file_del{position: relative;display: inline-flex;align-items:center;}
.file-group .file_del input{display: none;}
.file-group .file_del span{display: inline-block;width: 17px;height: 17px;border: 1px solid #c8ccd4;background: #fff;border-radius:3px;transition:background 0.2s ease;position: absolute;left:0;top:50%;transform:translateY(-50%);}
.file-group .file_del span::after{content:"";position: absolute;top:1px;left:5px;width: 5px;height: 11px;border-right: 2px solid #fff;border-bottom: 2px solid #fff;transform:rotate(45deg) scale(0);transition:all 0.3s ease 0.15s;opacity:0;}
.file-group .file_del label{cursor:pointer;padding-left: 23px;position: relative;z-index: 1;word-break:break-all;display: inline-block;line-height: 1em;}
.file-group .file_del label.sound_only{width: 17px;height: 17px;}
.file-group .file_del label.sound_only .sch_word{display: none !important;}
.file-group .file_del input:checked ~ span{border-color: transparent;background: #1c54a7;animation: checkbox-jelly 0.6s ease;}
.file-group .file_del input:checked ~ span:after{opacity:1;transform:rotate(45deg) scale(1);}

/*.file-group{display: flex; align-items: center;}*/
.file-group .write_box{display: flex; height: 45px; border-radius: 7px; overflow: hidden;}
.file-group .write_box input{padding-left: 5px;}






.pop_wrap {display: none;position: fixed;top: 0;left: 0;background: rgb(0, 0, 0, 0.3);width: 100%;  height: 100%;  z-index: 9999;}
.pop_wrap .pop-inner {position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  width: 90%;  max-width: 650px;  height: 50vh;  max-height: 600px;  padding: 50px 20px;  background: #fff;  border-radius: 20px;}
.pop-close {  position: absolute;  top: 5px;  right: 5px;  width: 30px;  height: 30px;  cursor: pointer;}
.pop-close i{font-size: 24px;}
/* #formmail-write .form-group { display:flex; margin-bottom:20px; align-items: center }
#formmail-write .form-group>label { padding:0 20px; width:20% }
#formmail-write .form-group>div { width:80% }
#formmail-write .form-group.col4>label { width:20% }
#formmail-write .form-group.col4>div { width:30% }
#formmail-write .form-group .form-control { width:100%; padding:8px 10px; border:1px solid #e0dedf }
#formmail-write .form-footer { padding-top:50px; text-align: center; border-top:1px solid #e0dedf }
#formmail-write .btn_submit { padding:10px 20px; font-size:1.2em; height:auto}
#formmail-write .check-list { position:absolute; right:0; top:-30px }
#formmail-write .privacy-of-use {font-size:14px;padding:15px; border-top:1px solid #e0dedf; border-bottom:1px solid #e0dedf; height:150px; overflow-y:scroll }
#formmail-write .privacy-of-use .cont {margin-bottom:15px;}
#formmail-write .privacy-of-use h4 {margin-bottom: 5px}
#formmail-write .privacy-of-use dl { padding:10px 0}
#formmail-write .privacy-of-use dl dt { font-weight: 600}
#formmail-write .privacy-of-use dl dd { margin-left: 20px}
#formmail-write .privacy-of-use ul { margin-left:20px }
#formmail-write .privacy-of-use ul li { margin-top:5px }
#formmail-write .privacy-of-use table { width:100%; border-collapse: collapse }
#formmail-write .privacy-of-use table th,
#formmail-write .privacy-of-use table td { border:1px solid rgb(226,226,226); padding:5px }
#formmail-write .privacy-of-use table th { background:rgb(245,245,247) }

#formmail-write .privacy-of-use-check { text-align: right; padding:10px; color:#8a8a8a; font-size:14px; } */
.toggle-group {
  display: inline-flex;
  gap: 10px;
}

/* 라디오 숨김 */
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 토글 버튼 공통 스타일 */
.toggle-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* 선택 상태 */
.toggle input:checked + .toggle-btn {
  background: #981B1F;
  color: #fff !important;
  border-color: #981B1F;
  box-shadow: 0 3px 8px rgba(95, 14, 14, 0.3);
}

/* hover 시 */
.toggle-btn:hover {
  background: #e2e8f0;
}
.form-group2{display: flex; justify-content: center; align-items: center;margin-bottom: 5rem;flex-direction: column; gap: 1rem;}
.form-group2 p{font-size: 2rem ; font-weight: 500;}




.radio_wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.radio_item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio_item span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio_item input:checked + span {
  background: #981B1F;
  border-color: #981B1F;
  color: #fff;
}

.radio_item span:hover {
  background: #e2e8f0;
}


.file-group .hidden_file{position: absolute;margin-left:500px;}
.file-group .file_text{overflow: hidden;}
.file-group .file_upload{background: transparent;width: 100px;height: 100%;display: flex;align-items:center;justify-content:start;color:#000;}
.file-group  input[name = 'wr_8_del']{display: none;}
.file-group .file_delx2{width: 100px; height: 100%; background: #eee; font-size: 1.6rem; display: flex; justify-content: center; align-items: center;}

.file-group .file_del{position: relative;display: inline-flex;align-items:center;}
.file-group .file_del input{display: none;}
.file-group .file_del span{display: inline-block;width: 17px;height: 17px;border: 1px solid #c8ccd4;background: #fff;border-radius:3px;transition:background 0.2s ease;position: absolute;left:0;top:50%;transform:translateY(-50%);}
.file-group .file_del span::after{content:"";position: absolute;top:1px;left:5px;width: 5px;height: 11px;border-right: 2px solid #fff;border-bottom: 2px solid #fff;transform:rotate(45deg) scale(0);transition:all 0.3s ease 0.15s;opacity:0;}
.file-group .file_del label{cursor:pointer;padding-left: 23px;position: relative;z-index: 1;word-break:break-all;display: inline-block;line-height: 1em;}
.file-group .file_del label.sound_only{width: 17px;height: 17px;}
.file-group .file_del label.sound_only .sch_word{display: none !important;}
.file-group .file_del input:checked ~ span{border-color: transparent;background: #1c54a7;animation: checkbox-jelly 0.6s ease;}
.file-group .file_del input:checked ~ span:after{opacity:1;transform:rotate(45deg) scale(1);}

.file-group{width: 100%;}
.file_wrap{display: flex; align-items: center;width: 100%;}
.file-group .write_box{display: flex; background: transparent; position: relative;   width: 100%;}
.file-group .write_box input{background: transparent; width: 100%;width: 31%; padding: 14px 10px ;border: 1px solid #e0dedf;}
.file_upload{width: 100%!important;position: absolute;top: 0; left: 0;}
.file_box{width: 100%;margin-bottom: 15px;}
.file_box:last-child{margin-bottom: 0;}
#formmail-write .form-group .content_box2 .file_name{width: 100%;}
.file_btn{margin-left: 320px;background-color: #2f333e; color: #fff; text-align: center;padding: 2rem 4rem;border: none;font-size: 1.8rem; margin-right: 15px;}
.file_btn_plus{background-color: #981B1F;color: #fff; text-align: center;padding: 0 3rem; line-height: 45px; border: none;display: inline-block;position: absolute;bottom:  0; right: 0%;height: 45px;}

.file_wrap {display: flex;position: relative;flex-direction: column;justify-content: start; align-items: start;gap: 7px;} 
.file_wrap label{width: 100%; font-size: 1.8rem; font-weight: 500; color: #656565;}

.file_wrap input[type=text]{border: none !important;}