@charset "UTF-8";
/* CSS Document */


/* ---------------------------------------------
*  grid
--------------------------------------------- */
.grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 100px 10px 0;
}
.grid .box {
  display: grid;
  grid-template-rows: auto; 
  gap: 10px;
  max-width: 990px;
  margin: 0 auto;
}
.grid .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: 16px;
}
.grid .box .txt {
  height: 100%;
  width: 100%;
}
.grid .box .item {
  height: 100%;
  width: 100%;
  cursor: pointer;
  transform: scale(1);
  transition: transform .5s cubic-bezier(.210, .60, .350, 1);
}
.grid .box .item:hover {
  transform: scale(.98);
}
@media screen and (max-width: 750px) {
  .grid {
    gap: 6px;
    padding: 60px 6px 0;
  }
  .grid .box {
    gap: 6px;
  }
  .grid > div {
    border-radius: 10px;
  }
}


/* ---------------------------------------------
*  box_type_A
--------------------------------------------- */
.grid .box_type_A {
  grid-template-columns: repeat(4, 1fr);
}
.grid .box_type_A  > div:nth-child(1) {
  grid-area: 1 / 1 / 3 / 3;
  aspect-ratio: 490 / 280;
}
.grid .box_type_A  > div:nth-child(2) {
  grid-area: 3 / 1 / 4 / 2;
  aspect-ratio: 240 / 135;
}
.grid .box_type_A  > div:nth-child(3) {
  grid-area: 3 / 2 / 4 / 3;
  aspect-ratio: 240 / 135;
}
.grid .box_type_A  > div:nth-child(4) {
  grid-area: 1 / 3 / 2 / 4;
  aspect-ratio: 240 / 135;
}
.grid .box_type_A  > div:nth-child(5) {
  grid-area: 1 / 4 / 3 / 5;
  aspect-ratio: 240 / 280;
}
.grid .box_type_A  > div:nth-child(6) {
  grid-area: 2 / 3 / 4 / 4;
  aspect-ratio: 240 / 280;
}
.grid .box_type_A > div:nth-child(7) {
  grid-area: 3 / 4 / 4 / 5;
  aspect-ratio: 240 / 135;
}
@media screen and (max-width: 750px) {
  .grid .box_type_A {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid .box_type_A > div:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .grid .box_type_A > div:nth-child(2) {
    grid-area: 3 / 1 / 4 / 2;
  }
  .grid .box_type_A > div:nth-child(3) {
    grid-area: 3 / 2 / 4 / 3;
  }
  .grid .box_type_A > div:nth-child(4) {
    grid-area: 4 / 1 / 5 / 2;
  }
  .grid .box_type_A > div:nth-child(5) {
    grid-area: 4 / 2 / 6 / 3;
  }
  .grid .box_type_A > div:nth-child(6) {
    grid-area: 5 / 1 / 7 / 2;
  }
  .grid .box_type_A > div:nth-child(7) {
    grid-area: 6 / 2 / 7 / 3;
  }
}


/* ---------------------------------------------
*  box_type_B
--------------------------------------------- */
.grid .box_type_B {
  grid-template-columns: repeat(4, 1fr);
}
.grid .box_type_B > div:nth-child(1) {
  grid-area: 1 / 1 / 3 / 3;
  aspect-ratio: 490 / 280;
}
.grid .box_type_B > div:nth-child(2) {
  grid-area: 1 / 3 / 2 / 4;
  aspect-ratio: 240 / 135;
}
.grid .box_type_B > div:nth-child(3) {
  grid-area: 1 / 4 / 3 / 5;
  aspect-ratio: 240 / 280;
}
.grid .box_type_B > div:nth-child(4) {
  grid-area: 2 / 3 / 3 / 4;
  aspect-ratio: 240 / 135;
}
@media screen and (max-width: 750px) {
  .grid .box_type_B {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid .box_type_B > div:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .grid .box_type_B > div:nth-child(2) {
    grid-area: 3 / 1 / 4 / 2;
  }
  .grid .box_type_B > div:nth-child(3) {
    grid-area: 3 / 2 / 5 / 3;
  }
  .grid .box_type_B > div:nth-child(4) {
    grid-area: 4 / 1 / 5 / 2;
  }
}


/* ---------------------------------------------
*  box_type_C
--------------------------------------------- */
.grid .box_type_C {
  grid-template-columns: repeat(4, 1fr);
}
.grid .box_type_C > div:nth-child(1) {
  grid-area: 1 / 3 / 3 / 5;
  aspect-ratio: 490 / 280;
}
.grid .box_type_C > div:nth-child(2) {
  grid-area: 3 / 3 / 4 / 4;
  aspect-ratio: 240 / 135;
}
.grid .box_type_C > div:nth-child(3) {
  grid-area: 3 / 4 / 4 / 5;
  aspect-ratio: 240 / 135;
}
.grid .box_type_C > div:nth-child(4) {
  grid-area: 1 / 1 / 3 / 2;
  aspect-ratio: 240 / 280;
}
.grid .box_type_C > div:nth-child(5) {
  grid-area: 1 / 2 / 2 / 3;
  aspect-ratio: 240 / 135;
}
.grid .box_type_C > div:nth-child(6) {
  grid-area: 2 / 2 / 4 / 3;
  aspect-ratio: 240 / 280;
}
.grid .box_type_C > div:nth-child(7) {
  grid-area: 3 / 1 / 4 / 2;
  aspect-ratio: 240 / 135;
}
@media screen and (max-width: 750px) {
  .grid .box_type_C {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid .box_type_C > div:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .grid .box_type_C > div:nth-child(2) {
    grid-area: 3 / 1 / 4 / 2;
  }
  .grid .box_type_C > div:nth-child(3) {
    grid-area: 3 / 2 / 4 / 3;
  }
  .grid .box_type_C > div:nth-child(4) {
    grid-area: 4 / 1 / 6 / 2;
  }
  .grid .box_type_C > div:nth-child(5) {
    grid-area: 4 / 2 / 5 / 3;
  }
  .grid .box_type_C > div:nth-child(6) {
    grid-area: 5 / 2 / 7 / 3;
  }
  .grid .box_type_C > div:nth-child(7) {
    grid-area: 6 / 1 / 7 / 2;
  }
}


/*------------------------------------------------------------
	modal
------------------------------------------------------------*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9999;
  overflow-y: auto;
  text-align: center;
  font-size: 0;
  padding: 20px 40px;
}
.modal .bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #021973;
  opacity: .9;
}
.modal::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.modal .inner {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  max-width: 1080px;
  width: 100%;
  color: #000;
  margin: 0 auto;
  padding: 75px 60px 0 60px;
}
.modal .close {
  position: absolute;
  right: 60px;
  top: 0;
  cursor: pointer;
}
.modal .close span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  height: 50px;
}
.modal .close span::before, .modal .close span::after {
  content: "";
  display: block;
  position: absolute;
  background: #fff;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 3px;
  margin-left: -50%;
}
.modal .close span::before {
  transform: rotate(-45deg);
}
.modal .close span::after {
  transform: rotate(45deg);
}
.modal .slide p {
  color: #fff;
  font-size: 18px;
  margin-top: 30px;
  text-align: center;
}
.modal .slide {
  color: #fff;
  font-size: 18px;
}
.modal .slide li img {
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  max-height: calc(100vh - 180px);
}
.modal .slick-track {
  display: flex;
  align-items: center;
}
.modal .slick-prev,
.modal .slick-next {
  width: 60px;
  height: 60px;
  background-image: none !important;
}
.modal .slick-prev {
  left: -60px;
}
.modal .slick-next {
  right: -60px;
}
.modal .slick-arrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  color: #333;
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-left: 0;
  border-bottom: 0;
  transform: translateX(0) rotate(45deg);
}
.modal .slick-arrow.slick-prev::before {
  transform: translateX(0) rotate(-135deg);
}
@media screen and (max-width: 750px) {
  .modal {
    padding: 0 0;
  }
  .modal .bg {
    pointer-events: none;
  }
  .modal .inner {
    padding: 20px;
  }
  .modal .close {
    position: fixed;
    right: 15px;
    top: 15px;
  }
  .modal .close span {
    width: 28px;
    height: 28px;
  }
  .modal .slide li img {
    border-radius: 10px;
    max-height: calc(100vh - 180px);
  }
  .modal .slide p {
    font-size: 16px;
    margin-top: 15px;
  }
  .modal .slick-prev,
  .modal .slick-next {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
  }
  .modal .slick-prev {
    left: 15px;
  }
  .modal .slick-next {
    right: 15px;
  }
  .modal .slick-arrow::before {
    width: 20px;
    height: 20px;
  }
}
