/* header start */

header {
  background-color: #262626;
}

header section.top_button_warp {
  padding: 15px 0;
}

header section.top_button_warp a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

header section.top_button_warp span {
  color: #f9f9f9;
  font-size: 14px;
}

header section.top_button_warp img {
  width: 21px;
}

/* header end */

/* nav start */

nav.top_nav {
  position: sticky;
  top: 0;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:6px 15px;
  background-color: rgba(211, 255, 85, 0.95);
  z-index: 3;
}

nav.top_nav h1.logo a img {
  height: 42px;
  width: auto;
}

nav.top_nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav.top_nav ul li:last-child {
  display: none;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 6px;
  background-color: #1b1c1d;
  color: #fff;
  transition: all ease-in-out 0.3s;
}

nav.top_nav ul li:last-child:hover {
  background: #fff;
  color: #1b1c1d;
  transition: all ease-in-out 0.3s;
}

nav.top_nav a.link_button {
  font-size: 13px;
}



/* nav end */

/* main start */
main {

}

main section {
  padding: 60px 0 60px;
}

main section:first-child {
  padding: 60px 0 20px;
}

main section:nth-child(6), main section:nth-child(7) {
  padding: 110px 0;
}

main section:nth-child(7) {
  /*height: 600px;*/
}

main section:nth-child(7) article {
  flex-direction: column;
}

main section:nth-child(7) article p.content_sub_title {
  font-size: 26px;
}

main section:nth-child(odd) {
  background-color: #fffded;
}

main section:nth-child(even) {
  background-color: #fff;
}

main section article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px;
  text-align: center;
  color: #1b1c1d;
}

main section article p {
  white-space: pre-line;
}

main section:first-child article img {
  max-height: 600px;
}

main section:first-child article div img {
  display: none;
}

main section article img {
  max-height: 350px;
  width: auto;
}

main section article p.content_main_title {
  font-size: 26px;
  font-weight: 700;
}

main section article p.content_sub_title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 52px;
}

main section article p.content_sub {
  font-size: 14px;
  color: rgb(93,93,93);
  letter-spacing: -1px;
  line-height: 1.5;
  margin-bottom: 40px;
}

main section article p.sub_title {
  font-size: 16px;
  font-weight: 700;
}

main section article p.sub_contents {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 30px;
}

main section article img.sub_content_img {
  width: 105px;
  height: 105px;
}

main section:last-child {
  display: none;
}

/* main end */

/* footer start */

footer {
  font-size: 16px;
  color: #212121;
  padding: 30px 15px 16px;
  background-color: #f6f6f6;
  width: 100vw;
}

footer p.company_info {
  padding: 10px 0;
}

footer address {
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.3;
  margin-bottom: 30px;
}

footer nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 30px;
}

footer div.footer_info_button {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

footer div.footer_info_button span {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

footer div.footer_info_button a {
  width: 100%;
  padding: 10px 20px;
  font-size: 12px;
  text-align: center;
  background: #fff;
  color: #1b1c1d;
  transition: all ease-in-out 0.3s;
  border-radius: 5px;
}

footer div.footer_info_button a:hover {
  background-color: #e5e5e5;
  transition: all ease-in-out 0.3s;
}

/* footer end */

/* swiper start */

.swiper {
  width: 100%;
  /*max-width: 600px;*/
  height: 300px;
  aspect-ratio: 1 / 1; /* 정사각형 비율 */
  margin: 0 auto;
}

.swiper-wrapper {
  height: 100%;
  transition-timing-function: linear;
}

.swiper-slide {
  height: 100% !important;   /* 슬라이드 높이를 swiper와 동일하게 */
  aspect-ratio: 1 / 1;       /* 정사각형 비율 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}
/* swiper end */

@media (min-width: 992px) {
  nav.top_nav ul li:last-child {
    display: block;
  }

  main section p {
    text-align: left;
  }

  main section:first-child article div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 74px;
  }

  main section:first-child article div img {
    display: inline;
    width: 167px;
    height: auto;
  }

  main section article {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }

  main section article p.content_main_title {
    font-size: 36px;
  }

  main section article p.content_sub {
    font-size: 26px;
  }

  main section:first-child p.content_main_title {
    font-size: 48px;
  }

  main section:nth-child(3) article div, main section:nth-child(5) article div {
    order: 2;
  }
  /*More, Memo*/
  main section:nth-child(6) article {
    flex-direction: column;
  }

  main section:nth-child(6) article div:last-child {
    display: flex;
  }

  main section:nth-child(6) article div:last-child article {
    text-align: center;
  }

  main section article p.sub_title {
    font-size: 24px;
  }

  main section article p.sub_contents {
    font-size: 18px;
    text-align: center;
  }

  main section:last-child {
    display: block;
    background-color: #000;
    padding: 85px 0;
  }

  main section:last-child article {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  main section:last-child article p {
    font-size: 30px;
    color: #fff;
  }

  main section:last-child article img {
    width: 206px;
    height: auto;
  }

  footer {
    display: flex;
    justify-content: space-between;
    padding: 60px 30px 30px;
  }

  footer article:last-child .footer_info_button a {
    width: 400px;
  }

  .swiper {
    max-width: 100vw;
  }

}