@media screen and (max-width: 1200px) {
  .kv {
    margin-top: 70px;
  }
}
.kv .kv_img {
  background: url(/building/img/building_kv.jpg) no-repeat;
  background-size: cover;
  width: 100%;
  height: 33.33vw;
}

@media screen and (max-width: 1200px) {
  .works {
    margin-top: 70px;
  }
}
.works .panel_area {
  width: 100%;
  margin-top: 120px;
}
@media screen and (max-width: 768px) {
  .works .panel_area {
    margin-top: 60px;
  }
}
.works .panel_area .inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.works .panel_area .inner p {
  text-align: center;
  font-size: 18px;
  line-height: 1.6666666667;
}
@media screen and (max-width: 768px) {
  .works .panel_area .inner p {
    font-size: 16px;
  }
}
.works .panel_area .inner .panel_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .works .panel_area .inner .panel_box {
    grid-template-columns: repeat(2, 1fr);
  }
}
.works .panel_area .inner .panel_box .panel_item {
  width: 100%;
}
.works .panel_area .inner .panel_box .panel_item .panel_image {
  transition: 0.5s;
  cursor: pointer;
}
@media (hover) {
  .works .panel_area .inner .panel_box .panel_item .panel_image:hover {
    opacity: 0.7;
  }
}

.modal {
  position: absolute;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}
.modal.is_active {
  visibility: visible;
  opacity: 1;
}
.modal .modal_area {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 100%;
}
.modal .modal_area .modal_box {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1001;
  transform: translate(-50%, -50%);
  background: #fff;
  padding-inline: 3.46vw;
  padding-top: 1.33vw;
  padding-bottom: 2.66vw;
}
@media screen and (max-width: 768px) {
  .modal .modal_area .modal_box {
    width: 90%;
    padding-top: 3vw;
    padding-bottom: 3vw;
  }
}
.modal .modal_area .modal_box .modal_item {
  position: relative;
}
.modal .modal_area .modal_box .modal_item .modal_close {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  left: 100%;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .modal .modal_area .modal_box .modal_item .modal_close {
    right: 0;
    left: unset;
  }
}
.modal .modal_area .modal_box .modal_item .modal_close::after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 1px;
  background: #20459e;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal .modal_area .modal_box .modal_item .modal_close::before {
  content: "";
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 1px;
  background: #20459e;
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal .modal_area .modal_box .modal_item p.title {
  font-size: 20px;
  display: flex;
  align-items: center;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .modal .modal_area .modal_box .modal_item p.title {
    font-size: 16px;
  }
}
.modal .modal_area .modal_box .modal_item p.title span {
  margin-right: 1vw;
  font-size: 24px;
  font-weight: 700;
  background: #ff9000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal_area .modal_box .modal_item .img_box {
  margin-top: 1.33vw;
  width: 45.66vw;
  max-width: 700px;
}
@media screen and (max-width: 768px) {
  .modal .modal_area .modal_box .modal_item .img_box {
    width: 100%;
  }
}
.modal .modal_area .modal_box .modal_item .img_box img {
  width: 100%;
}
.modal .modal_area .modal_box .modal_item .text_box {
  padding-top: 1.33vw;
}
.modal .modal_area .modal_box .modal_item .text_box P {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.875;
}
@media screen and (max-width: 768px) {
  .modal .modal_area .modal_box .modal_item .text_box P {
    font-size: 14px;
  }
}

/*# sourceMappingURL=style.css.map */
