﻿input::placeholder, textarea::placeholder {color: #aaa;}
input, textarea {font-size: 14px}

body.active{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
button {background-color: transparent;border: 0;cursor: pointer; color:#222; text-decoration:none ;}
.sub-visual-wrap.contact-visual{background-image: url(../images/hero/contact-hero.png);background-color: #222;}
.main-banner{
  width: 100%;
  height: 360px;
  background: #eee;
}
/* select-custom 수정 */
/* .select-custom{margin: 0;}
.select-custom-list{top: 36px;padding: 4px;}
.select-custom .select_tit, .select-custom-list > li{height: 36px;padding: 0 8px; border-radius: 3px; font-size: 14px;}
.select-custom .select_tit{
  font-size: 14px;
  color: #aaa;
  padding: 0 12px;
}
.select-custom .select_tit.selected {color: #222;} */
/* //select-custom 수정 */

.contact-cont p strong{
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: normal;
  color: #656565;  
}
.contact-info-tit{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}
.contact-info-tit .common-btn{
  width: 228px;
  color: #ED1C24;
  border-color: #ED1C24;
}

.contact-info-tit .common-btn:hover{color: #fff;}
.contact-cont-top{
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.contact-info-left{ 
  width: calc(25% - 12px);
}
.contact-info-right{
  width: calc(75% - 12px);
}
.contact-info-left > ul, .contact-info-left > ul > li{width: 100%;}
.contact-info-item:not(:first-child){margin-top: 19px;}
.info-tit{font-weight: 600;}
.info-tit.emphasis{
  position: relative;
  padding-left: 15px;
}
.info-tit.emphasis::after{
  display: block;
  content: '*';
  width: 10px;
  height: 10px;
  color: #ED1C24;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
}
/* --------- checkBox custom --------- */
.contact-checkBox{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.checkBox{
  width: 24px;
  height: 24px;
  position: relative;
}
.checkBox input[type="checkbox"]{
  display: none;
}
.checkBox input[type="checkbox"] + label.check-icon{
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #eee;
  position: relative;
}
.checkBox input[type="checkbox"]:checked + label.check-icon::after{
  content:'';
  font-size: 24px;
  width: 24px;
  height: 24px;
  text-align: center;
  position: absolute;
  left: 0;
  top:0;
  background: url(../images/checkbox.png) no-repeat center/ 70%;
}
.contact-input{
  width: 100%;
  height: 40px;
  border: 1px solid #eee;
  padding-left: 17px;
}
.contact-input:focus {border-color: #ED1C24; outline: 0;}
textarea.contact-input{
  max-width: 100%;
  min-width: 100%;
  min-height: 352px;
  max-height: 352px;
  padding-top: 10px;
}
.check-icon-tit{
  font-size: 14px;
  margin-left: 10px;
}
/* --------- //checkBox custom --------- */
/* --------- input file --------- */
.filebox{position: relative;}
.filebox input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip:rect(0,0,0,0);
	border: 0;
}
.filebox label {
	display: inline-block;
	padding: .5em .75em;
	color: #999;
	font-size: 14px;
	line-height: normal;
	vertical-align: middle;
	background-color: #fdfdfd;
	cursor: pointer;
	border: 1px solid #ebebeb;
	border-bottom-color: #e2e2e2;
	border-radius: .25em;
}
.filebox .upload-name {
  width: 100%;
  height: 40px;
  color: #aaa;
	display: inline-block;
	vertical-align: middle;
	background-color: #fff;
  border: 1px solid #eee;
  appearance: none;
  padding-left: 10px;
}
.filebox label {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 220px;
  width: 30%;
  height: 40px;
  text-align: center;
	background: #F4F4F4;
  border: 1px solid #eee;
  color: #656565;
}
/* --------- //input file --------- */
.contact-cont-bottom{margin-top: 20px;}
.contact-cont-bottom > ul{
  display: flex;
  justify-content: space-between;
}
.contact-cont-bottom > ul > li{
  width: calc(100% / 3 - 16px);
}
.contact-cont-bottom > ul > li div {display: flex;align-items: center;margin-bottom: 4px;}
.contact-cont-bottom > ul > li div input[type="checkbox"] {-webkit-appearance: none;-moz-appearance: none;appearance: none;}
.contact-cont-bottom > ul > li div input[type="checkbox"] {width: 24px;height: 24px;background: #fff;border: 1px solid #ddd;margin-right: 10px; border-radius: 0;}
.contact-cont-bottom > ul > li div input[type="checkbox"]:checked {background:#fff url(../images/checkbox.png) no-repeat center;}
.contact-btn{
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.contact-btn button{
  font-weight: 600;
  border-radius: 30px;
  margin: 0 15px;
  width: 140px;
  height: 44px;
  border: 1px solid #222;
}
.contact-btn button.mail-btn{
  background: #ddd;
  color: #656565;
  border: 0;
  transition: all 0.3s;
  text-align: center;
}
.popup{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transition: .35s;
}
.popup.active{
  opacity: 1;
  visibility: visible;
  z-index: 999;
}
.popup-cont{
  width: 464px;
  padding: 24px 0;
  background: #fff;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.popup-cont.active{display: flex;}
.popup-close{
  margin-top: 30px;
  width: 140px;
  padding: 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #000;
  border-radius: 30px;
}
@media (max-width: 768px){
  .contact-info-tit {display: block;}
  .network-btn {
    width: 80%;
    margin: 12px auto 0;
  }
  .sub-visual-wrap.contact-visual {background-image: url(../images/hero/contact-hero-m.png);}
  .contact-cont-top{flex-direction: column;}
  .contact-cont-top > div{width: 100%;margin-top: 15px;}
  .contact-input.content-input{height: 420px;}
  .contact-cont-bottom > ul{flex-direction: column;}
  .contact-cont-bottom > ul > li{
    width: 100%;
    margin-top: 5px;
  }
  .contact-cont-bottom > ul > li input{width: 100%;}
  .popup-cont{width: 80%;}
  .contact-btn button {
    width: 120px;
    margin: 0 12px;
  }
}