@charset "UTF-8";
/* コンテンツ */


#wrapper {
     overflow: hidden;
}

@keyframes title_bg {
  0% {
    opacity: 0;
    transform: scale(1.2);
    filter: blur(20px);
    -webkit-filter: blur(20px);
  }
  100% {
    filter: blur(0);
    -webkit-filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

#mainimg {
	position: relative;
    width: 100%;
    min-width:1280px;
    min-height: 700px;
    height: 100vh; /* disable Fallback */
    height: calc((var(--vh, 1vh) * 100) - 150px);
    overflow: hidden;
}
#mainimg section {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url("../slide4/room.webp");
    background-position: center center;
    background-size: cover;
    animation: title_bg 2s ease 0s normal both;
}
#mainimg h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 90%;
}
#mainimg h3 {
    position: absolute;
    right: 10%;
    top: 10%;
    width: 30%;
}
#mainimg h4 {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 40%;
}
#mainimg h4 img {
    filter: drop-shadow(0px 0px 10px #fff) drop-shadow(0px 0px 10px #fff) drop-shadow(0px 0px 10px #fff) drop-shadow(0px 0px 10px #fff);
}

.model_doc {
    position: relative;
    background-image: url("../img/bg04.webp");
    background-position: center center;
    background-size: cover;
}
.model_doc img {
    width: 100%;
}
.model_doc ul {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    max-width: 1200px;
    width: 70%;
    padding: 30px 0;
    margin: 0 auto;
}

.mname {
    text-align: center;
    padding: 5em 0;
}
.mname h2 {
    line-height: 0;
    margin-bottom: 3em;
}
.mname h2 img {
    width: 90%;
}
.mname p {
    line-height: 0;
}
.mname p img {
    width: 50%;
}

.pre_box {
    background-image: url("../slide4/bg_red.jpg");
    background-position: center center;
    background-size: cover;
    padding: 50px 0;
}
.pre_box ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.pre_box ul li {
    width: 48%;
}
.pre_box ul li img {
    width: 100%;
}

@media screen and (max-width: 499px) {

#mainimg {
    width: 100%;
    min-width: auto;
    min-height: auto;
    height: 250px;
}
#mainimg h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 80%;
}
#mainimg h3 {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 50%;
}

.model_doc ul {
    width: 80%;
    padding: 15px 0;
}

.mname {
    padding: 40px 0;
}
.mname h2 {
    margin-bottom: 20px;
}
.mname h2 img {
    width: 100%;
}
.mname p {
    line-height: 0;
}
.mname p img {
    width: 80%;
}

.pre_box {
    padding: 20px 0;
}
.pre_box ul {
}
.pre_box ul li {
    width: 100%;
    margin-bottom: 20px;
}

}