@charset "UTF-8";
@import url("layout_respond.css");
/*-------------------------------------------------
title       : 메인 반응형
Author      : ㅈㅁㅈ
Create date : 2025-11-05
-------------------------------------------------*/
@media (max-aspect-ratio: 1/0.5) {
  #visual > .video video {
    width: auto;
    height: 110%;
  }
}
@media (max-width: 1280px) {
  #visual {
    display: block;
    padding-bottom: 10rem;
  }
  #visual ul {
    max-width: var(--width2);
    margin: 5rem auto 0;
  }
  #visual .video video {
    right: 0;
  }
  #visual .group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 42rem;
    max-width: var(--width2);
    min-height: 100vh;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #visual .group .form {
    width: 100%;
  }
  #visual .group p {
    font-size: 3rem;
    text-align: center;
  }
  #visual .group strong {
    font-size: 6rem;
  }
  .books {
    padding: 5rem 25rem 0 0;
  }
  .books::after {
    left: auto;
    right: -3rem;
    width: 23rem;
    background-position-x: right;
  }
  .books h2 {
    width: 50rem;
    max-width: 100%;
    margin-bottom: 5rem;
    padding-right: 7rem;
    font-size: 3.1rem;
  }
  .books h2::before {
    top: calc(100% + 18rem);
  }
  .books h2::after {
    top: calc(100% + 5rem);
  }
  .books .group {
    margin-left: 7rem;
  }
  .books .group + a {
    top: 5.5rem;
    right: 23rem;
    width: 8rem;
    height: 8rem;
    padding-top: 1rem;
    gap: 0;
  }
  .now h2 {
    width: 30rem;
  }
  .now .group {
    padding-left: 5rem;
  }
  .now .group li {
    margin-right: 2rem;
  }
}
@media (max-width: 767px) {
  #visual .video video {
    right: -10%;
  }
  #visual ul {
    gap: 1rem;
    grid-template-columns: repeat(3, calc(33.333% - 0.6666666667rem));
  }
  #visual ul li:nth-child(6) {
    margin-top: 2rem;
  }
  #visual ul a {
    padding: 2rem 1.5rem;
    font-size: inherit;
  }
  .swiper-indicator button, .swiper-indicator a {
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
  }
  .krds-tab-area {
    gap: 1rem;
  }
  .krds-tab-area .tab > ul {
    gap: 1.5rem;
    font-size: 2rem;
  }
  .books {
    padding-right: 0;
  }
  .books::after {
    display: none;
  }
  .books h2 {
    font-size: 2.9rem;
  }
  .books .group {
    margin-left: 4rem;
  }
  .books .group + a {
    right: 0;
  }
  .now {
    display: block;
  }
  .now .swiper-indicator {
    bottom: auto;
    top: 7rem;
    left: auto;
    right: 0;
  }
  .now .group {
    padding: 3rem 0;
  }
  .now h2 {
    width: 100%;
    padding: 5rem 0 3rem;
  }
  .now h2::before {
    right: -3rem;
  }
}
@media (max-width: 500px) {
  #visual .video video {
    right: -25%;
  }
  #visual .group {
    width: 26rem;
  }
  #visual .group p {
    font-size: 2.1rem;
  }
  #visual .group p strong {
    font-size: 3.4rem;
    letter-spacing: -0.2rem;
  }
  #visual ul {
    width: 35rem;
    grid-template-columns: repeat(2, calc(50% - 0.5rem));
  }
  #visual ul li {
    position: relative;
    height: 10rem;
    grid-column: 1;
  }
  #visual ul li:nth-child(1) {
    grid-row: 1/span 2;
    grid-column: 2;
    height: 18rem;
  }
  #visual ul li:nth-child(n+5) {
    grid-column: 2;
  }
  #visual ul li:nth-child(4) {
    grid-row: 4/span 2;
    height: 13rem;
  }
  #visual ul li:nth-child(3), #visual ul li:nth-child(5) {
    grid-row: 3/span 1;
    height: 15rem;
  }
  #visual ul li:nth-child(2) {
    grid-row: 2/span 1;
  }
  #visual ul li:nth-child(6) {
    grid-row: 5/span 1;
  }
  #quick {
    right: 2rem;
    bottom: 2rem;
  }
  .krds-tab-area {
    padding: 5rem 0 3rem;
  }
  .krds-tab-area .swiper-indicator {
    position: static;
    margin-top: 2rem;
  }
  .krds-tab-area .swiper-slide {
    width: 26rem;
    margin-right: 1.5rem;
  }
  .krds-tab-area .swiper-slide a {
    padding: 2.5rem;
    font-size: 1.4rem;
  }
  .krds-tab-area .swiper-slide strong {
    max-height: 5rem;
    font-size: 1.6rem;
    line-height: 2.5rem;
  }
  .krds-tab-area .swiper-slide p {
    max-height: 4rem;
    margin: 1rem 0 2rem;
  }
  .books h2 {
    margin-bottom: 3rem;
    padding-right: 4rem;
    font-size: 1.8rem;
  }
  .books h2::before, .books h2::after {
    display: none;
  }
  .books .group {
    height: auto;
    margin: 0 0 -4rem;
  }
  .books .group li a span {
    font-size: 1.2rem;
  }
  .books .group + a {
    top: 7rem;
    width: 3.5rem;
    height: 3.5rem;
    padding-top: 0;
    font-size: 0;
  }
  .now h2 strong {
    font-size: 3.5rem;
  }
  .now .swiper-indicator {
    top: 6rem;
  }
  .now .group {
    font-size: inherit;
  }
  .now .group li {
    width: 26rem;
  }
  .now .group span {
    margin: 2rem 0 1rem;
    font-size: 1.2rem;
  }
}