/*common*/
* {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
#wrap {
  width: 100%;
}
/*common*/

/*header*/
#logo {
  float: left;
  height: 44px;
  margin-top: 43px;
}
#logo img {
  width: 120px;
}

header {
  width: 100%;
  height: 130px;
  background-color: #fff;
  position: fixed;
  z-index: 1;
}
#header_inner_wrap {
  width: 1200px;
  margin: 0 auto;
}

#nav_wrap {
  width: 470px;
  margin: 0 auto;
}
nav li {
  float: left;
  margin-left: 38px;
  line-height: 130px;
  display: block;
}
nav li:nth-child(1) {
  margin-left: 0px;
}
nav li a {
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(0, 0, 0, 0);
}
.nav_open {
  color: #8132c7;
  padding-bottom: 10px;
  border-bottom: 3px solid #8132c7;
  transition: 0.5s;
}

#links {
  float: right;
  line-height: 130px;
}
#links span .link_open {
  color: #8132c7;
  font-weight: 600;
}

/*header*/

#contents_wrap {
  width: 100%;
  position: relative;
  top: 130px;
}

#top_main {
  width: 100%;
  height: 500px;
  background: url("../img/sub_top_img01.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#title_wrap {
  width: 850px;
  height: 220px;
  text-align: center;
  margin: 0 auto;
  padding-top: 140px;
}
#title_wrap p {
  margin-top: 30px;
  text-align: center;
  line-height: 2em;
}
h3 {
  text-align: center;
}
#tiding_category_wrap {
  width: 100%;
}
#tiding_border_bot {
  width: 1200px;
  height: 100px;
  margin: 0 auto;
  border-bottom: 1px solid #999;
}
#tiding_border_bot > span a {
  line-height: 100px;
}
#tiding_border_bot > span a:hover {
  color: #8132c7;
} /*js로 수정하기*/
#tiding_category {
  width: 160px;
  height: 40px;
  border: 1px solid #999;
  float: right;
  line-height: 40px;
  position: relative;
  margin-top: 30px;
}
#category_arrow {
  width: 11px;
  height: 6px;
  background-image: url("../img/category_arrow.png");
  background-size: contain;
  float: right;
  margin-top: 17px;
  margin-right: 15px;
}
.tiding_depth {
  width: 160px;
  height: 402px;
  border: 1px solid #999;
  background-color: #fff;
  position: absolute;
  top: 0px;

  display: none;
}
#tiding_category:hover {
  border: 0px;
}
#tiding_category:hover .tiding_depth {
  display: block;
}

#tiding_category span,
#tiding_depth li {
  margin-left: 15px;
}
#news_wrap {
  width: 1200px;
  height: 1180px;
  margin: 0 auto;
  margin-top: 40px;
  overflow: hidden;
}

#news_wrap > div {
  float: left;
  margin-left: 20px;
  margin-bottom: 20px;
}
#news_wrap > div:nth-child(4n + 1) {
  margin-left: 0;
}

.news_box {
  width: 283px;
  border: 1px solid #999;
}
.news_pic {
  width: 283px;
  background-position: center;
  background-size: contain;
}
#news_box_01 {
  height: 650px;
}
#news_box_01 .news_pic {
  height: 450px;
  background-image: url("../img/news_pic01.jpg");
}

#news_box_02 {
  height: 410px;
}
#news_box_02 .news_pic {
  height: 210px;
  background-image: url("../img/news_pic02.jpg");
}

#news_box_03 {
  height: 490px;
}
#news_box_03 .news_pic {
  height: 290px;
  background-image: url("../img/news_pic03.jpg");
}

#news_box_04 {
  height: 670px;
}
#news_box_04 .news_pic {
  height: 470px;
  background-image: url("../img/news_pic04.jpg");
}

#news_box_05 {
  height: 420px;
  margin-top: -20px;
}
#news_box_05 .news_pic {
  height: 220px;
  background-image: url("../img/news_pic05.jpg");
}

#news_box_06 {
  height: 620px;
  margin-top: -260px;
}
#news_box_06 .news_pic {
  height: 420px;
  background-image: url("../img/news_pic06.jpg");
}
#news_box_07 {
  height: 650px;
  margin-top: -180px;
}
#news_box_07 .news_pic {
  height: 450px;
  background-image: url("../img/news_pic07.jpg");
}
#news_box_08 {
  height: 400px;
}
#news_box_08 .news_pic {
  height: 200px;
  background-image: url("../img/news_pic08.jpg");
}

.news_contents_wrap {
  width: 100%;
}
.news_contents {
  width: 270px;
  height: 200px;
  position: relative;
  margin: 0 auto;
}
.news_contents span {
  line-height: 40px;
} /*???해결???*/
.news_contents h4 {
  margin-top: 30px;
}
.news_contents .news_date {
  position: absolute;
  bottom: 0px;
}
#news_icon_wrap {
  width: 90px;
  height: 56px;
  text-align: center;
  margin: 0 auto;
  margin-top: 30px;
}
#news_icon {
  width: 100%;
  height: 100%;
  margin-top: -10px;
  background: url("../img/wave.png");
  background-size: contain;
}
#news_icon_wrap a span {
  line-height: 10px;
}
/*footer*/
footer {
  width: 100%;
  height: 180px;
  background-color: #0d0019;
  text-align: center;
  margin: 0 auto;
  margin-top: 200px;
}
footer img {
  width: 120px;
  height: 44px;
  margin-top: 48px;
}
footer span {
  display: inline-block;
  margin-top: 5px;
}
/*footer*/
