/* pc */
#pc_h {
  /* display: none; */
}
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 141px;
  border-bottom: 1px solid #ececec;
  border-top: 8px solid #000;
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.header .top h1 {
  text-align: center;
  padding-top: 30px;
}
.header .top h1 img {
  width: 130px;
  height: 100%;
}

.top > .inner {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
}

.header > ul {
  text-align: center;
}
.header > ul > li {
  display: inline-block;
  font-size: 12px;
  /* position: relative; */
}
.header > ul > li .sub {
  display: block;
  position: fixed;
  left: 0;
  /* top: 132px; */
  width: 100%;
  border-top: 1px solid #ececec;
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 5px rgba(97, 97, 97, 0.1);
  -moz-box-shadow: 0px 5px 5px rgba(97, 97, 97, 0.1);
  box-shadow: 0px 5px 5px rgba(97, 97, 97, 0.1);
  height: 300px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  /* cursor: pointer; */
  z-index: 3000;
}

.header > ul > li .sub > .inner {
  max-width: 1500px;
  height: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

.header > ul > li .sub > .inner > .arr_photo {
  width: 70%;
}

.header > ul > li .sub > .inner > .arr_photo > ul > li.on {
  display: flex;
  justify-content: space-between;
}


.header > ul > li .sub > .inner > .arr_photo > ul > li > img {
  width: 23%;
  border-radius: 10px;
}

.header > ul > li .sub > .inner > .arr_photo > ul > li {
  display: none;
  /* display: flex; */
  justify-content: space-between;
}

.header > ul > li .sub > .inner > .arr_photo > ul > li > a {
  width: 100%;
  display: block;
}

.header > ul > li .sub > .inner > .add_list {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header > ul > li .sub > .inner > .add_list > .tit > img {
  width: 130px;
}

.header > ul > li .sub > .inner > .add_list > ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.header > ul > li .sub > .inner > .add_list > ul > li {
  margin: 5px 0;
  font-size: 14px;
}

.header > ul > li .sub > .inner > .add_list > ul > li > a:hover {
  text-decoration: underline;
}

.header > ul > li > a {
  font-family: 'Montserrat';
  font-weight: bold;
  height: 60px;
  line-height: 60px;
  font-size: 13px;
  display: block;
  box-sizing: border-box;
  padding: 0 24px;
  /* background-color: red; */
}
.header > ul > li:hover > a {
  border-bottom: 3px solid #000;
}

.header > ul > li:hover .sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 반응형 */
.m_h {
  border-top: 4px solid #000;
  border-bottom: 1px solid #ececec;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 65px;
  width: 100vw;
  background-color: #fff;
  display: none;
  justify-content: center;
}
.m_logo {
  height: inherit;
  line-height: inherit;
  margin: 0;
  position: absolute;
  top: 0;
  font-size: 25px;
  display: flex;
  align-items: center;
}
.m_logo a {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.m_logo a img {
  width: 130px;
}
/* 반응 메뉴 */
/* PC 메뉴 icon */
input[id='menuicon'] {
  display: none;
}
input[id='menuicon'] + label {
  display: block;
  width: 30px;
  height: 20px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.35s;
  cursor: pointer;
  z-index: 2;
}
input[id='menuicon'] + label span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 30px;
  background-color: #000;
  transition: all 0.35s;
}

input[id='menuicon'] + label span:nth-child(1) {
  top: 0;
}
input[id='menuicon'] + label span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
input[id='menuicon'] + label span:nth-child(3) {
  bottom: 0;
}
/* 체크 */
input[id='menuicon']:checked + label span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
input[id='menuicon']:checked + label span:nth-child(2) {
  opacity: 0;
}
input[id='menuicon']:checked + label span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* 사이드바 */
.sidebar {
  width: 250px;
  height: 100%;
  background: #fff;
  opacity: 0.9;
  position: fixed;
  top: 4px;
  left: -300px;
  z-index: 1;
  transition: all 0.35s;
}
.side_nav {
  width: 200px;
  height: 90%;
  margin: 0 auto;
  margin-top: 60px;
  color: #fff;
}
.side_nav > ul {
  display: flex;
  flex-direction: column;
}
.side_nav > ul li {
  list-style: none;
  border-top: 1px solid #e7e7e7;
}
.side_nav > ul li:last-child {
  border-bottom: 1px solid #ddd;
}
.side_nav > ul > li a {
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  padding: 0;
  font-weight: bold;
}
.side_nav ul li > .sub {
  display: none;
  margin-left: 20px;
}

.side_nav ul li > .sub > li:last-child {
  border-bottom: 0;
}
input[id='menuicon']:checked + label + div {
  left: 0;
}

@media (max-width: 1536px) {
}

@media (max-width: 1536px) {
}

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
  .m_h {
    display: flex;
  }
  #pc_h {
    display: none;
  }
}

@media (max-width: 768px) {
  .m_h {
    display: flex;
  }
  #pc_h {
    display: none;
  }
}

@media (max-width: 640px) {
  .m_h {
    display: flex;
  }
  #pc_h {
    display: none;
  }
}
