@charset "utf-8";


/* Webfont Setting :
  1. font-family: 'Roboto', sans-serif;
  2. font-family: 'Nanum Gothic', sans-serif;
  3. font-family: 'Noto Sans KR', sans-serif;
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');


/* RESET -------------------------------------- */
*{ margin: 0; padding: 0; box-sizing: border-box; }

html, body{
  font-size: 10px;
}

body{
  font-family: "맑은 고딕", sans-serif;
  /* font-size: 10px; */
  font-size: 1.4rem;  /* rem : Root Element 폰트사이즈 기준 설정단위 */
}

p{ line-height: 1.5; }

ul, ol{ list-style: none; }
dl, dd, dt{ margin: 0; padding: 0; }



table, tr, th, td{
  border: 1px solid #000; border-collapse: collapse;
}
caption{
  width: 100%; height: 30px; line-height: 30px;
  font-size: 1.2em;
}

fieldset{ border: 0; }
input, label{ vertical-align: middle; }



/* Common Class ------------------------------------ */
#wrap{
  width: 100%;
  height: auto;
  position: relative;
}

#wrap #header, #wrap>div, #wrap footer{width: 100%; height: auto;}

.container{
  width: 1170px; height: auto;
  margin: 0 auto;
}



/* Header ------------------------------------ */
#header{
  height: 60px !important;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 20;
  position: absolute;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

#header:hover{
  height: 260px !important;
}

#header::after{
  content: ''; display: block;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 20;
  position: absolute;
  left: 0; top: 60px;
  transition: height 0.5s ease-in-out;
}

#header:hover::after{
  height: 200px;
}

#header .container{
  height: 60px;
  display: flex;
  justify-content: space-between;}

#header .container h1{
  width: 160px;
  height: 100%;
  padding: 15px 0;
  margin: 0;
}
#header .container h1 a{
  display: block;
  width: 100%; height: 100%;
  background: url(../images/mainLogo.png) no-repeat 0 0;
}

#header .container .navi{
  display: flex;
  justify-content: space-around;
  width: 450px; height: 100%;
  padding: 10px 0;
}

/* 주메뉴 활성화 클래스 - jQuery */
.open{display: block !important;}

#header .container .navi>li{
  width: 100%;
  height: 100%;
  position: relative;
}

#header .container .navi>li>a{
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0.4em 0;
  font: 500 18px 'Noto Sans KR', sans-serif;
  color: #fff;
  text-decoration: none;
}

#header .container .navi>li>a:hover{
  color: #4fb383;
  text-decoration: none;
}

#header .container .navi>li:last-child>a{
  border: 2px solid #fff;
  padding: 0.2em 0;
}

#header .container .navi>li:last-child>a:hover{
  border: 2px solid #4fb383;
  background-color: #4fb383;
  color: #fff;
  text-decoration: none;
}

#header .container .navi>li ul{
  position: absolute;
  left: 0px; top: 50px;
  display: block;
  width: 100%;
  height: 200px;
  padding: 20px 0;
  z-index: 30;
}


#header .container .navi>li li{
  width: 100%; height: 40px;
}

#header .container .navi>li li a{
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-indent: 1.5em;
  text-decoration: none;
  font: 300 16px/40px 'Noto Sans KR', sans-serif;
}

#header .container .navi>li li a:hover{
  color: #4fb383;
}



/* Mainview ------------------------------------ */
#wrap #mainview{
  height: 300px;
  background: url(../images/qna_bg.png) no-repeat center 0;
  background-size: cover;
  margin-bottom: 80px;
}

#mainview .container{padding-top: 220px;}

#mainview .container .title{
  width: 100%;
  height: 60px;
  padding-bottom: 20px;}

#mainview .container .title h2{
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  font: 700 30px/40px 'Noto Sans KR', sans-serif;
  position: relative;
}

#mainview .container .title h2::after{
  content: ''; display: block;
  width: 110px; height: 2px;
  background-color: #fff;
  position: absolute;
  left: 50%; bottom: -10px;
  margin-left: -55px;
}





/* Content */
#wrap #content{
  width: 100%;
  height: auto;
  margin-bottom: 140px;
}

#wrap #content .container{
  height: auto;
  padding: 0 200px;
}

#wrap #content .container>p{
  width: 100%;
  height: 20px;
  font: 400 18px/20px 'Noto Sans KR', sans-serif;
  text-align: center;
  margin-bottom: 60px;
  color: #222;
}

#wrap #content .container form{
  width: 100%;
  height: auto;
  background-color: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 80px 70px;
}

#wrap #content .container form fieldset {
  width: 100%;
  height: auto;
}

#wrap #content .container form fieldset>div {
  width: 100%;
  height: 80px;
  margin-bottom: 40px;
}

#wrap #content .container form fieldset>div label {
  width: 100%;
  height: 40px;
  display: block;
  padding-bottom: 20px;
  font: 400 14px/20px 'Noto Sans KR', sans-serif;
  color: #222;
}

#wrap #content .container form fieldset>div label span{
  color: #666;
}

#wrap #content .container form fieldset>div label span + span{
  color: #f71414;
}

#wrap #content .container form fieldset>div input {
  width: 100%;
  height: 40px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  text-indent: 15px;
}

#wrap #content .container form fieldset>div input:focus {
  outline-color: rgba(60,88,153,0.7);
  box-shadow: 0 0 2px  rgba(60,88,153,0.7);
}

#wrap #content .container form fieldset>div textarea {
  width: 100%;
  height: 120px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  resize: none;
  padding: 10px 15px;
}

#wrap #content .container form fieldset>div:nth-child(4) {
  height: 160px;
}

#wrap #content .container form fieldset>div:nth-child(5) {
  height: 20px;
  margin-bottom: 60px;
}

#wrap #content .container form fieldset>div:nth-child(5) input{
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
}

#wrap #content .container form fieldset>div:nth-child(5) label {
  display: inline;
}

#wrap #content .container form fieldset button {
  width: 200px;
  height: 40px;
  background-color: #04743f;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font: 700 18px/38px 'Nanum Gothic', sans-serif;
  margin: 0 auto;
  display: block;
}

#wrap #content .container form fieldset button:hover {
  background-color: #075732;
}

#wrap #content .container form fieldset .agree label a {
  color: #222222;
  font-weight: 500;
}

#wrap #content .container form fieldset .agree label a:hover {
  color: blue;
}





/* Footer ------------------------------------ */
#wrap #footer{
  height: 80px;
  background-color: #333;
}

#footer .container{
  height: 100%;
  padding: 20px 0;
  display: flex;
  flex-wrap: nowrap;
}

#footer .footerLogo{
  width: 200px;
  height: 100%;
}

#footer .footerLogo img{
  width: 120px;
  height: auto;
  margin: 7px 0;
}

#footer .footer_info{
  width: 700px;
  height: 100%;
  padding-right: 100px;
  display: flex;
  flex-wrap: wrap;
}

#footer .footer_info li{
  margin-right: 24px;
  color: #ccc;
  font: 400 12px/20px 'Nanum Gothic', sans-serif;
}

#footer .copyrights{
  height: 100%;
  color: #999;
  font: 400 12px/40px 'Nanum Gothic', sans-serif;
  text-align: right;
}
