/* 네비게이션 시작 */

#navigation {
  width: 100%;
  height: 50px;
  background: #fff;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9;
}

#navigation .wrap {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#navigation .wrap .home {
  width: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

#navigation .wrap .home img {
  width: auto;
  height: auto;
}

#navigation .wrap .home::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #d9d9d9;
}

#navigation .wrap .parent_menu {
  width: 100%;
  max-width: 200px;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  max-height: 100%;
}

#navigation .wrap .parent_menu.action {
  max-height: 9999px;
  overflow: unset;
}

#navigation .wrap .parent_menu::after {
  content: "";
  width: 10px;
  height: 5px;
  background: url(../img/sub/black_arrow.png) no-repeat center / cover;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#navigation .wrap .parent_menu::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #d9d9d9;
}

#navigation .wrap .parent_menu .main_category {
  width: 100%;
  height: 100%;
  display: block;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  padding-left: 20px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 16px;
  border-top: 1px solid #d9d9d9;
}

#navigation .wrap .parent_menu .main_category a {
  color: #222;
}

#navigation .wrap .parent_menu .main_category:first-of-type {
  border-top: none;
}

#navigation .wrap .parent_menu .main_category:last-of-type {
  border-bottom: 1px solid #d9d9d9;
}

#navigation .wrap .child_menu {
  width: 100%;
  max-width: 200px;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  max-height: 100%;
}

#navigation .wrap .child_menu.action {
  max-height: 9999px;
  overflow: unset;
}

#navigation .wrap .child_menu::after {
  content: "";
  width: 10px;
  height: 5px;
  background: url(../img/sub/black_arrow.png) no-repeat center / cover;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#navigation .wrap .child_menu::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #d9d9d9;
}

#navigation .wrap .child_menu .sub_category {
  width: 100%;
  height: 100%;
  display: block;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  padding-left: 20px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 16px;
  border-top: 1px solid #d9d9d9;
}

#navigation .wrap .child_menu .sub_category:first-of-type {
  border-top: none;
}

#navigation .wrap .child_menu .sub_category:last-of-type {
  border-bottom: 1px solid #d9d9d9;
}

#navigation .wrap .child_menu .sub_category a {
  color: #222;
}

@media (max-width: 700px) {
  #navigation .wrap .parent_menu .main_category {
    padding-left: 10px;
    font-size: 14px;
  }

  #navigation .wrap .parent_menu::after {
    right: 10px;
  }

  #navigation .wrap .child_menu .sub_category {
    padding-left: 10px;
    font-size: 14px;
  }

  #navigation .wrap .child_menu::after {
    right: 10px;
  }

  #navigation .wrap .parent_menu {
    max-width: 130px;
  }

  #navigation .wrap .child_menu {
    max-width: 130px;
  }
}

@media (max-width: 400px) {
  #navigation {
    height: 40px;
  }

  #navigation .wrap .home {
    width: 40px;
  }

  #navigation .wrap .parent_menu .main_category {
    font-size: 14px;
  }

  #navigation .wrap .child_menu .sub_category {
    font-size: 14px;
  }

  #navigation .wrap .parent_menu {
    max-width: 110px;
  }

  #navigation .wrap .child_menu {
    max-width: 110px;
  }
}

/* 네비게이션 종료 */

/* 배너 공통 */
#banner {
  width: 100%;
  height: auto;
  padding: 50px 0;
}

#banner h2 {
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 50px auto;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 50px;
  color: #222;
}

#banner .background {
  width: 100%;
  height: 480px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: circle(0% at 0% 50%);
  animation: fillBackground 3s ease-out forwards;
}

@keyframes fillBackground {
  0% {
    clip-path: circle(0% at 0% 50%);
  }
  100% {
    clip-path: circle(150% at 50% 50%);
  }
}

@media (max-width: 1400px) {
  #banner h2 {
    max-width: 90%;
  }
}

@media (max-width: 1200px) {
  #banner h2 {
    font-size: 36px;
    margin: 30px auto;
  }

  #banner .background {
    height: 300px;
  }
}

@media (max-width: 500px) {
  #banner {
    padding-bottom: 0;
  }

  #banner h2 {
    margin: 0 auto 30px;
    font-size: 24px;
  }

  #banner .background {
    height: 250px;
  }
}

@media (max-width: 400px) {
  #banner h2 {
    font-size: 20px;
  }

  #banner .background {
    height: 150px;
  }
}
/* 배너 종료 */

/* 연혁 시작 */
#history_1 {
  width: 100%;
  height: auto;
  padding: 100px 0;
  overflow: hidden;
}

#history_1 .tit_box {
  width: 100%;
  height: auto;
  text-align: center;
  position: relative;
  margin-bottom: 120px;
}

#history_1 .tit_box h2 {
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 50px;
  color: #222;
}

#history_1 .tit_box img {
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#history_1 .history_box {
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 0 auto;
  position: relative;
}

#history_1 .history_box .box {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 165px;
}

#history_1 .history_box .box:last-of-type {
  margin-bottom: 0;
}

#history_1 .history_box .box .time {
  width: 170px;
  height: auto;
  position: relative;
}

#history_1 .history_box .box .time::after {
  content: "";
  width: 365px;
  height: 1px;
  background-image: linear-gradient(90deg, #c8c8c8, #c8c8c8 50%, transparent 50%, transparent 100%);
  background-size: 10px 1px;
  position: absolute;
  left: calc(100% + 57px);
  top: 30px;
}

#history_1 .history_box .box .time h2 {
  text-align: left;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 50px;
  color: #77b746;
}

#history_1 .history_box .box .time h3 {
  text-align: right;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 30px;
  color: #c8c8c8;
}

#history_1 .history_box .box .info {
  width: 100%;
  max-width: 575px;
  height: auto;
}

#history_1 .history_box .box .info p {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 20px;
  color: #222;
  margin-bottom: 20px;
  position: relative;
}

#history_1 .history_box .box .info p::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: #77b746;
  top: 50%;
  transform: translateY(-50%);
  left: -25px;
  border-radius: 50%;
}

#history_1 .history_box .box .info p:last-of-type {
  margin-bottom: 0;
}

#history_1 .history_box .line {
  width: 1px;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  background: linear-gradient(to bottom, #77B746 0%, #77B746 0%, #C8C8C8 0%);
}

@media (max-width: 1400px) {
  #history_1 .history_box {
    max-width: 90%;
  }

  #history_1 .history_box .box .time::after {
    width: 250px;
  }

  #history_1 .history_box .box .info {
    max-width: 450px;
  }
}

@media (max-width: 1200px) {
  #history_1 .tit_box h2 {
    font-size: 36px;
  }

  #history_1 .history_box .box .time h2 {
    font-size: 36px;
  }

  #history_1 .history_box .box .time h3 {
    font-size: 24px;
  }

  #history_1 .history_box .box .time {
    width: 130px;
  }

  #history_1 .history_box .box .info p {
    font-size: 16px;
  }

  #history_1 .history_box .box .info {
    max-width: 350px;
  }

  #history_1 .history_box .box .time::after {
    width: 200px;
  } 
}

@media (max-width: 900px) {
  #history_1 .tit_box h2 {
    font-size: 28px;
  }

  #history_1 .tit_box img {
    width: 120px;
  }

  #history_1 .history_box .box {
    justify-content: flex-start;
    margin-bottom: 100px;
    flex-wrap: wrap;
  }

  #history_1 .history_box .box .info {
    max-width: 96%;
    margin-left: 4%;
  }

  #history_1 .history_box .box .time {
    margin-bottom: 30px;
  }

  #history_1 .history_box .line {
    left: -5%;
    transform: unset;
    width: 3px;
  }

  #history_1 .history_box .box .time::after {
    display: none;
  }

  #history_1 .history_box {
    max-width: 80%;
  }

  #history_1 .history_box .box .info p::before {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 500px) {
  #history_1 {
    padding: 50px 0;
  }

  #history_1 .tit_box h2 {
    font-size: 18px;
  }

  #history_1 .tit_box img {
    width: 80px;
  }

  #history_1 .tit_box {
    margin-bottom: 80px;
  }

  #history_1 .history_box .line {
    left: -10%;
  }

  #history_1 .history_box .box .time h2 {
    font-size: 20px;
  }

  #history_1 .history_box .box .time h3 {
    font-size: 16px;
  }

  #history_1 .history_box .box .time {
    width: 80px;
  }

  #history_1 .history_box .box .info {
    max-width: 93%;
    margin-left: 7%;
  }

  #history_1 .history_box .box .info p::before {
    width: 10px;
    height: 10px;
  }

  #history_1 .history_box .box .info p {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  #history_1 .tit_box h2 {
    font-size: 16px;
  }

  #history_1 .tit_box img {
    width: 60px;
  }

  #history_1 .tit_box {
    margin-bottom: 60px;
  }

  #history_1 .history_box .box {
    margin-bottom: 50px;
  }

  #history_1 .history_box .box .time h2 {
    font-size: 16px;
  }

  #history_1 .history_box .box .time h3 {
    font-size: 12px;
  }

  #history_1 .history_box .box .time {
    width: 65px;
  }

  #history_1 .history_box .box .info p {
    font-size: 12px;
  }

  #history_1 .history_box .box .info p::before {
    width: 8px;
    height: 8px;
  }

  #history_1 .history_box .box .info p::before {
    left: -20px;
  }
}
/* 연혁 종료 */

/* 비전 시작 */
#vision {
  width: 100%;
  height: auto;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vision .wrap {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}

#vision .wrap .t_box {
  width: 100%;
  height: auto;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 5px 5px rgba(000,000,000,0.4);
  border: 1px solid #d9d9d9;
}

#vision .wrap .t_box h2 {
  font-family: 'PB_B';
  font-size: 24px;
  margin-bottom: 30px;
}

#vision .wrap .t_box p {
  font-family: 'PB_R';
  font-size: 18px;
}

#vision .wrap .box {
  width: calc((100% - 30px) / 2);
  height: auto;
  min-height: 300px;
  padding: 30px;
  box-shadow: 0px 5px 5px rgba(000,000,000,0.4);
    border: 1px solid #d9d9d9;
}

#vision .wrap .box h2 {
  font-family: 'PB_B';
  font-size: 20px;
  margin-bottom: 30px;
}

#vision .wrap .box li {
  list-style: decimal;
  font-family: 'PB_R';
  font-size: 16px;
  margin-left: 20px;
}

@media (max-width: 1200px) {
  #vision .wrap {
    max-width: 90%;
  }

  #vision .wrap .box {
    width: 100%;
    min-height: unset;
  }
}

@media (max-width: 500px) {
  #vision {
    padding: 50px 0;
  }

  #vision .wrap .t_box {
    padding: 15px;
  }

  #vision .wrap .box {
    padding: 15px;
  }

  #vision .wrap .t_box h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  #vision .wrap .t_box p {
    font-size: 16px;
  }

  #vision .wrap .t_box p br {
    display: none;
  }

  #vision .wrap .box h2 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  #vision .wrap .box li {
    font-size: 14px;
    margin-left: 15px;
  }

  #vision .wrap .box li br {
    display: none;
  }
}

@media (max-width: 400px) {
  #vision .wrap .t_box h2 {
    font-size: 18px;
  }

  #vision .wrap .t_box p {
    font-size: 14px;
  }

  #vision .wrap .box h2 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  #vision .wrap .box li {
    font-size: 12px;
  }
}
/* 비전 종료 */

/* 오시는길 시작 */
#location {
  width: 100%;
  height: auto;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#location .wrap {
  width: 100%;
  max-width: 1200px;
  height: auto;
  text-align: center;
}

#location .wrap .root_daum_roughmap {
  width: 100%;
  height: 600px;
}

#location .wrap .root_daum_roughmap .cont {
  display: none;
}

#location .wrap .root_daum_roughmap .wrap_map {
  height: 100%;
}

@media (max-width: 1200px) {
  #location .wrap {
    max-width: 90%;
  }
}

@media (max-width: 500px) {
  #location {
    padding: 50px 0;
  }

  #location .wrap .root_daum_roughmap {
    height: 300px;
  }
}

/* 오시는길 종료 */