@media screen and (min-width: 481px) {
  .modelhouse {
    padding: 0 20px;
  }
}
.modelhouse_head {
  width: 100%;
  margin-top: 30px;
}
@media screen and (min-width: 769px) {
  .modelhouse_head {
    max-width: 1019px;
    padding: 0 20px;
    margin: 50px 50px 0 auto;
  }
}
.modelhouse_in {
  padding: 20px 0;
  margin-top: 80px;
}
.modelhouse_in_h4 {
  font-size: 18px;
  margin-top: 30px;
}
.modelhouse_in_p {
  margin-top: 20px;
}
.modelhouse_text {
  padding: 0 20px;
}
@media screen and (min-width: 769px) {
  .modelhouse_in {
    width: 100%;
    max-width: 1300px;
    margin: 80px auto 0;
  }
  .modelhouse_in_h4 {
    text-align: left;
    font-size: 24px;
  }
  .modelhouse_in_p {
    width: 320px;
  }
  .modelhouse_text {
    position: absolute;
    padding-top: 20px;
    top: 320px;
    width: 420px;
  }
  .modelhouse_text_1 {
    right: 20px;
  }
  .modelhouse_text_2 {
    left: 20px;
  }
  .modelhouse_lead {
    max-width: 1275px;
    margin: 0 auto;
  }
}
.modelhouse_2_in {
  margin-top: -10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
}
.modelhouse_2_head {
  text-align: center;
  font-size: 18px;
}
.modelhouse_2_ul {
  max-width: 200px;
  margin: 30px auto 0;
}
.modelhouse_2_li {
  border-bottom: 1px solid #b89f58;
}
.modelhouse_2_li:last-of-type {
  border-bottom: none;
}
.modelhouse_2_text {
  margin-top: 30px;
  line-height: 2;
}
@media screen and (min-width: 769px) {
  .modelhouse_2 {
    margin-top: 200px;
  }
  .modelhouse_2_in {
    margin: -30px auto 0;
    max-width: 980px;
    padding: 50px;
  }
  .modelhouse_2_head {
    font-size: 36px;
  }
  .modelhouse_2_ul {
    max-width: 842px;
    display: flex;
  }
  .modelhouse_2_li {
    border-bottom: none;
    border-right: 1px solid #b89f58;
  }
  .modelhouse_2_li:last-of-type {
    border-right: none;
  }
  .modelhouse_2_text {
    width: 70%;
    margin: 30px auto 0;
  }
}

.rslide {
  margin-top: -10px;
}
.rslide_1 {
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.5);
}
.rslide_1::before {
  content: "";
  width: 100%;
  padding-top: 75%;
  display: block;
}
.rslide_1_in {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s linear;
}
.rslide_1_in.show {
  opacity: 1;
}
.rslide_nav {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}
.rslide_nav_img {
  width: 50%;
  display: block;
  aspect-ratio: 2/1;
}
.rslide_nav_img::after {
  content: "NEXT";
  font-family: sans-serif;
  color: #FFF;
  font-size: 28px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
}
.rslide_nav_img_in {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}
.rslide_nav_img_in.show {
  opacity: 1;
}
.rslide_nav_prev, .rslide_nav_next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(25% - 1px);
  background: #505050;
}
.rslide_nav_prev::after, .rslide_nav_next::after {
  content: "";
  width: 20px;
  height: 20px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
}
.rslide_nav_prev::after {
  transform: rotate(-135deg);
}
.rslide_nav_next::after {
  transform: rotate(45deg);
}
@media screen and (min-width: 769px) {
  .rslide {
    margin-top: -30px;
    width: calc(100% - 400px);
  }
  .rslide_1 {
    width: 90%;
    max-width: 860px;
    padding: 30px;
  }
  .rslide_1_in {
    left: 30px;
    width: calc(100% - 60px);
  }
  .rslide_nav {
    width: 320px;
    flex-wrap: wrap;
    position: absolute;
    top: 400px;
    margin: 0;
  }
  .rslide_nav_1 {
    left: 100%;
  }
  .rslide_nav_img {
    width: 100%;
  }
  .rslide_nav_prev {
    width: calc(50% - 1px);
    aspect-ratio: 1/1;
    order: 1;
  }
  .rslide_nav_next {
    width: calc(50% - 1px);
    aspect-ratio: 1/1;
    order: 2;
  }
}

.achievements {
  margin: 50px auto;
  padding: 0 20px;
}
.achievements_head {
  width: calc(100% - 40px);
  margin: 0 auto;
  max-width: 556px;
}

.gallery_li {
  width: calc(50% - 5px);
  max-width: 400px;
  margin-top: 40px;
  display: none;
}
.gallery_ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 10px;
}
.gallery_btn {
  display: block;
  width: 100%;
}
.gallery_p1 {
  margin-top: 1em;
  line-height: 1;
}
@media screen and (min-width: 769px) {
  .gallery_ol {
    max-width: 1245px;
    margin: 40px auto 0;
  }
  .gallery_ol::after {
    content: "";
    width: calc(33.333% - 0.6666px);
    height: 0;
    display: block;
  }
  .gallery_li {
    width: calc(33.333% - 6.6666px);
  }
}

.slide {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
  transition: 0.5s;
  opacity: 0;
}
.slide.show {
  opacity: 1;
}
.slide_in {
  width: 100%;
  max-width: 1000px;
  height: 100%;
  max-height: 800px;
}
.slide_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.slide_img.show {
  opacity: 1;
}
.slide_img.W {
  width: 100%;
}
.slide_img.L {
  width: 80%;
}
.slide_img .img-L {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.slide_img .img-W {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.slide_prev {
  display: block;
  width: 20px;
  position: absolute;
  top: calc(50% - 32px);
  left: 0;
}
.slide_next {
  display: block;
  width: 20px;
  position: absolute;
  top: calc(50% - 32px);
  right: 0;
}
.slide_close {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 0;
}
.slide_close::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #FFF;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(45deg);
}
.slide_close::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #FFF;
  position: absolute;
  top: 50%;
  left: 0;
  transform: rotate(-45deg);
}
@media screen and (min-width: 769px) {
  .slide_img.L {
    width: auto;
    height: 100%;
  }
  .slide_img .img-L {
    height: 100%;
    width: auto;
  }
  .slide_prev {
    width: 40px;
    top: calc(50% - 63px);
  }
  .slide_next {
    width: 40px;
    top: calc(50% - 63px);
  }
}

.pager {
  display: flex;
  justify-content: flex-end;
  max-width: 1245px;
  padding: 0 10px;
  margin: 80px auto 0;
}
.pager_btn {
  display: grid;
  place-items: center;
  background: #505050;
  color: #FFF;
  border: none;
  outline: none;
  padding: 0;
  margin-left: 3px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}
.pager_btn:hover {
  background: #b89f58;
  color: #000;
}
.pager_btn.active {
  background: #b89f58;
  color: #000;
  pointer-events: none;
}