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

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

body {
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1;
  font-size: 14px;
  background-color: #ddd;
}

a {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  list-style-type: none;
}

.full-width {
  width: 100%;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 16px;
}

header {
  background-color: white;
}

.btn_bars {
  border: 0;
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: url("../images/bars.png") no-repeat;
  background-position: center center;
  background-size: 100%;
}

.btn_close {
  border: 0;
  display: block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: url("../images/close_btn.png") no-repeat;
  background-position: center center;
  background-size: 100%;
  margin: 16px;
  margin-left: auto;
}

.header_container {
  display: flex;
  background: -moz-linear-gradient(
    top,
    rgba(191, 191, 191, 0.65) 0%,
    rgba(191, 191, 191, 0.64) 1%,
    rgba(255, 255, 255, 0) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(191, 191, 191, 0.65) 0%,
    rgba(191, 191, 191, 0.64) 1%,
    rgba(255, 255, 255, 0) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(200, 200, 200, 0.65) 0%,
    rgba(191, 191, 191, 0.64) 1%,
    rgba(255, 255, 255, 0) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6bfbfbf', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
  height: 94px;
}

.gnb {
  width: 100%;
}

.gnb > ul {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.gnb > ul > li {
  width: 100%;
  height: 100%;
  flex: 1;
  position: relative;
}

.gnb > ul > li > a {
  color: #333;
  font-size: 22px;
  font-weight: 500;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 94px;
  position: relative;
}

.gnb > ul > li:last-child a::after {
  display: none;
}

.gnb > ul > li > a::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 15px;
  content: "";
  display: block;
  transform: translateY(-50%);
  background-color: black;
}

.gnb > ul > li > a:hover {
  color: red;
}

.sub_gnb {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1;
}

.sub_gnb a {
  font-weight: 500;
  font-size: 15px;
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
}

.sub_gnb a:hover {
  color: red;
  background-color: rgba(255, 255, 255, 1);
}

.main_visual_wrap {
  height: 600px;
  background: url("../images/main.jpg?v=1") no-repeat;
  background-size: cover;
  background-position: center;
}

.main_title {
  color: white;
  background-color: red;
  display: inline-block;
  padding: 4px 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.main_products {
  padding-bottom: 80px;
}

.banner_list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.banner_list li {
  flex: 1;
}

.banner_list li img {
  width: 100%;
}

.footer_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: url("../images/bg_1.jpg");
  font-size: 25px;
  font-weight: 600;
  color: #3c3c3c;
}

.mobile_nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: right 0.4s ease;
}

.mobile_nav.open {
  right: 0;
}

.mobile_nav_title {
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.mobile_nav nav > ul > li {
  font-size: 18px;
  font-weight: 500;
  padding: 16px;
}

.mobile_nav nav > ul > li:last-child {
  padding: 16px;
  padding-left: 32px;
}

.mobile_sub_nav a:active {
  color: red;
}

.mobile_sub_nav li a {
  display: block;
  padding: 16px;
  padding-left: 32px;
  border-bottom: 1px solid #ddd;
  font-weight: normal;
  font-size: 16px;
}

.header_container {
  padding-left: 60px;
}

.header_container .logo {
  padding: 10px;
}

.header_container .logo img {
  width: 100%;
}

.sub_visual_container {
  background: url("../images/sub_main.jpg") no-repeat;
  background-size: cover;
  height: 300px;
  background-position: center;
}

@media screen and (max-width: 1023px) {
  .sub_visual_container {
    width: 100%;
    height: 300px;
    background: url("../images/sub_main_mobile.jpeg") no-repeat;
    background-size: cover;
    background-position: center;
  }

  .btn_bars {
    display: block;
  }

  .header_container {
    width: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header_container .logo {
    width: 180px;
  }

  .header_container .gnb {
    display: none;
  }

  .main_visual_wrap {
    height: 210px;
    background: url("../images/main.jpg") no-repeat;
    background-size: cover;
    background-position: center;
  }

  .main_products {
    text-align: center;
  }

  .banner_list {
    gap: 0;
    padding: 16px;
  }

  .banner_list li {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

#pop {
  position: fixed;
  width: 708px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

#pop .btn {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  text-align: center;
  width: 142px;
  height: 33px;
}
