#page_modelhouse {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding-bottom: 50px;
    padding-top: 50px;
  }

.tab {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 0 auto;
    gap: 15px;
}
.tab li {
    width: 100%;
    background-color: #eee;
}
.tab li a  {
    display: block;
    color: #191919;
    position: relative;
}

.tab li a img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    filter: opacity(50%) grayscale(100%);
}
.tab .active a img {
    filter: opacity(100%) grayscale(0%);
}
.tab li a:hover img {
    filter: opacity(100%) grayscale(0%);
}

.tab li a span {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 0px 0px 10px rgba(000, 000, 000, 0.3);
}
.tab li a .preparation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    display: block;
    color: #fff;
    background: #1b1b1b34;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0px 0px 10px rgba(000, 000, 000, 0.3);
}


.tab li a p {
    font-size: 13px;
    margin: -6px 0 0;
    padding: 5px 10px;
    background-color: #eee;
    position: relative;
}

.tab li a p::after {
    content: '\25be';
    font-family: fontawesome;
    color: #23AD39;
    position: absolute;
    right: 10px;
}
.modelhousearea.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
.modelhousearea {
    margin: 0 auto;
    padding: 20px 0 0;
    display: none;
    opacity: 0;
}

.modelhousearea h2 {
    line-height: 50px;
    border-bottom: none;
    font-size: 35px;
    font-weight: bold;
    font-family: "Tsukimi Rounded";
    margin: 15px auto;
}
.modelhousearea span {
    color: #23AD39;
}
.modelhousearea p {
    line-height: 30px;
    letter-spacing: 3px;
    margin: 15px auto;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


.mh-section-01{
    padding-top: 50px;
}

.mh-section-01-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.mh-sec-01-left{
    padding-top: 30px;
    margin-right: 70px;
}

.model-slider {
    position: relative;
    max-width: 100%;
}

.model-slider img {
    width: 100%;
    display: none;
}

.model-slider img.active {
    display: block;
}

.dots {
    position: absolute;
    bottom: -15px;
    left: 0px;
}

.dots span {
    display: inline-block;
    width: 25px;
    height: 2px;
    background-color: #9d9d9d;
    margin: 0 5px;
    cursor: pointer;
}
.dots span.active {
    background-color: var(--green);
}

.prev-next {
    position: absolute;
    bottom: -25px;
    right: 0;
    display: flex;
    /* transform: translateY(-50%); */
    cursor: pointer;
}

.prev-next span {
    display: block;
    width: 50px;
    height: 25px;
    color: #888888;
    text-align: center;
    line-height: 30px;
}

.mh-sec-title-2 {
    width: 98%;
    margin-bottom: 30px;
}
.mh-sec-title-2 h3{
    border: 1px solid #707070;
    padding:25px 15px 5px 25px;
    font-weight: normal;
    font-size: 20px;
    position: relative;
}
.mh-sec-title-2 h3::before{
    background-color: #E5F7E6;
    top: 30%;
    left: 1.2%;
    width: 100%;
    height: 60px;
    position: absolute;
    content: "";
    z-index: -1;
}

.image-1col{
    max-width: 992px;
    margin: 0 auto;
    height: 500px;
}
.image-1col img{
   height: 100%;
   width: 100%;
   object-fit: cover;
}

.image-2col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.image-2col img,
.image-col2-left-80 img{
    width: 100%;
    height: 100%;
}
.image-3col{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}
.image-3col img{
    width: 100%;
}

.image-col2-left-80{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.mh-section-03-2col-1,
.mh-section-03-2col-2{
    display: flex;
    align-items: center;
    padding: 20px 50px;;
}
.mh-section-03-2col-1 .mhs03-2col-txt{
    width: 50%;
    padding-right:50px;
}
.mh-section-03-2col-2 .mhs03-2col-txt{
    width: 50%;
    padding-left:50px;
}

.mhs03-2col-txt>div{
    width: 100%;
    padding: 50px;
    background-color: #F6F6F6;
    border-radius: 50px;
    position: relative;
}
.mhs03-2col-txt>div>.line1{
    position: absolute;
    top: 50px;
    left: 18px;
    height: 1px;
    width: 50px;
    background-color: var(--green);
}
.mhs03-2col-txt>div>.line2{
    position: absolute;
    top: 57px;
    left: 15px;
    height: 1px;
    width: 50px;
    transform: rotate(90deg);
    background-color: var(--green);
}
.mhs03-2col-txt>div>.line3{
    position: absolute;
    bottom: 50px;
    right: 18px;
    height: 1px;
    width: 50px;
    background-color: var(--green);
}
.mhs03-2col-txt>div>.line4{
    position: absolute;
    bottom: 57px;
    right: 15px;
    height: 1px;
    width: 50px;
    transform: rotate(90deg);
    background-color: var(--green);
}
.mh-section-03-2col-1 figure{
    width: 50%;
    overflow: hidden;
    border-radius: 35px;
    margin-left: 50px;
}
.mh-section-03-2col-2 figure{
    width: 50%;
    margin-right: 50px;
    overflow: hidden;
    border-radius: 35px;
}
.mh-section-03-2col-1 figure img,
.mh-section-03-2col-2 figure img{
    width: 100%;
    height: 100%;
}
.mh-section-02 figure img{
    margin: 0 auto;
}


@media screen and (max-width: 992px) {
    .tab {
        grid-template-columns: repeat(2, 1fr);
    }
    .mh-section-01-wrap {
        align-items: center;
    }
    .mh-sec-01-left{
        margin-right: 0px;
    }
    .model-slider {
        position: relative;
        max-width: 100%;
        height: auto;
    }
    .model-slider img {
        width: 100%;
      height: 100%;
    }
    .mh-section-03-2col-1, 
    .mh-section-03-2col-2{
        padding: 20px 0px; 
    }
    .mh-section-03-2col-1 .mhs03-2col-txt {
        padding-right: 0px;
    }
    .mh-section-03-2col-2 .mhs03-2col-txt {
        padding-left: 0px;
    }
    .mh-section-03-2col-1 figure{
        margin-left: 30px;
    }
    .mh-section-03-2col-2 figure{
        margin-right: 30px;
    }
    .image-3col{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 15px;
    }
    .image-3col img{
        width: 100%;
    }
    .image-1col{
        max-width: 992px;
        width: 100%;
        height: 100%
    }
  }

@media screen and (max-width: 768px) {
    .modelhousearea h2 {
        font-size: 30px;
    }
    .mh-section-01-wrap {
        align-items: center;
        grid-template-columns: 1fr;
    }
    .mh-sec-01-left{
        margin-right: 0px;
    }
    .model-slider {
        position: relative;
        max-width: 100%;
        height: auto;
    }
    .model-slider img {
        width: 100%;
      height: 100%;
    }
    .mh-sec-title-2 h3{
        padding: 15px 10px 5px 20px;
    }
    .mh-sec-title-2 h3::before {
        background-color: #E5F7E6;
        top: 25%;
        left: 2%;
        height: 50px;
    }
    .mh-section-03-2col-1, .mh-section-03-2col-2{
        flex-direction: column;
        gap: 20px;
    }
    .mh-section-03-2col-1 .mhs03-2col-txt,
    .mh-section-03-2col-2 .mhs03-2col-txt{
        width: 100%;
    }
    .mh-section-03-2col-1 figure,
    .mh-section-03-2col-2 figure{
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }
    .mh-section-03-2col-2 figure{
      order: 2;
    }
    .mh-section-03-2col-2 .mhs03-2col-txt {
      order: 1;
    }
    .image-3col{
        display: grid;
        grid-template-columns: 1fr;
    }
  }
  @media screen and (max-width: 576px) {
    .modelhousearea h2 {
        font-size: 25px;
    }
    .mh-sec-title-2 h3{
        font-size: 18px;
    }
    .mhs03-2col-txt>div {
        padding: 30px;
    }
    .mhs03-2col-txt>div>.line1{
        top: 40px;
        left: 1px;    
    }
    .mhs03-2col-txt>div>.line2{
        top: 46px;
        left: -7px;
    }
    .mhs03-2col-txt>div>.line3{
        bottom: 44px;
        right: 3px;
    }
    .mhs03-2col-txt>div>.line4{
        bottom: 50px;
        right: -4px;
    }
  }

  @media screen and (max-width: 400px) {
    .tab {
        grid-template-columns: 1fr;
    }
  }