  @charset "utf-8";

#main {
  margin-bottom: 50px;
}
.type2 {
  margin-bottom: 30px;
}

.office_top .text_block .text,
.office_about .text_block .text {
  line-height: 1.7;
}
.text_block {
  margin-bottom: 30px;
}
.mb_30 {
  margin-bottom: 30px;
}

/* -- office_top -- */
.office_top {
  /* padding: 0px 50px; */
}
.office_top_text {
  width: 100%;
  height: 100px;
  background-color: #f19716;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
}
.office_top_text .text {
  color: #fff;
  font-size: 16px;
  font-family: "BIZ UDPGothic";
  line-height: 1.5!important;
}
.office_top_text .text span {
  font-size: 20px;
  font-weight: 700;
}
.office_top_movie {

}
.office_top_movie_thum {
  width: 100%;
  cursor: pointer;
}
.office_top_movie_thum img {
  max-width: 100%;
}
.office_top_movie_modal video {
  max-width: 100%;
  cursor: pointer;
}

/* -- office_about -- */
.office_about_head {
  
}
.office_about_contents {

}
.office_about_contents_block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.office_about_contents_img {
  width: calc((100% / 2) - 10px);
}
.office_about_contents_img--max {
  width: 100%;
}
.office_about_contents_img img {
  max-width: 100%;
}
/*
****     SP     ***
**/
@media (max-width: 767px) {
  .office_top {
    padding: 0;
  }
  .office_top_text {
    width: auto;
    height: 100%;
    padding: 15px 25px;
    text-align: left;
  }
  .office_top_text .text {
    font-size: 14px;
  }
  .office_top_text .text span {
    font-size: 18px;
  }

  .office_about_contents_block {
    gap: 10px;
  }
  .office_about_contents_img {
    width: 100%;
  }
}


/* modalÔO¶¨ */
.modal_movie {
  display: none;
  position: relative;
}
.modal_video {
  transform: translate(-50%, -50%);
  width: 80%;
  top: 50%;
  left: 50%;
  position: absolute;
}
.modal_wrap {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: auto;
  opacity: 1;
  box-sizing: border-box;
}
.modal_wrap::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  opacity: 0.8;
  display: block;
}
.modal_close {
  position: fixed;
  right: 20px;
  top: 20px;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0);
  border-radius: 100%;
  border: none;
  transition: all .2s ease-in-out;
}
.modal_close:hover {
  background: #fff;
}
.modal_close::before {
  display: block;
  content: " ";
  position: absolute;
  top: 14px;
  left: 23px;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(45deg);
}
.modal_close::after {
  display: block;
  content: " ";
  position: absolute;
  top: 14px;
  left: 23px;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(-45deg);
}
.modal_close:hover::before,
.modal_close:hover::after {
  background: #f19716;
}
.modal_active {
  overflow: hidden;
}
