.gallery-mv{
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
}
.gallery-mv::before{
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}
.gallery-head{
	position: absolute;
	top: 48%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 2;
	text-align: center;
	max-width: 600px;
	width: calc(100% - 69px);
}
.gallery-head .en{
	font-size: clamp(4rem ,7.4vw , 7.6rem);
	border-bottom: 1px solid #fff;
	padding-bottom: .1em;
	margin-bottom: .4em;
}
.gallery-head .jp{
	font-size: clamp(1.6rem ,2.4vw , 2.6rem);
}

.modelroom .container{
	font-family: "Shippori Mincho", serif;
	font-weight: 400;
	font-style: normal;
}
.page-ttl{
	padding: 95px 0 43px;
	width: min(100% - 32px,1200px);
	margin: 0 auto;
	font-size: 12.4rem;
}
.page-ttl span{
	display: block;
	font-size: 2rem;
}
@media screen and (max-width: 767px){
	.page-ttl{
		padding-top: 50px;
		font-size: 5rem;
	}
	.page-ttl span{
		font-size: 1rem;
	}
	.gallery-mv{
		grid-template-columns: 1fr;
	}
	.gallery-mv .gallery-mv-item:first-child .img-wrapper .caption.has-bg{
		bottom: auto;
		top: 0;
		right: 0;
		left: auto;
	}
}
.gallery{
	background-color: #998764;
}
.secondary-heading{
	margin-bottom: 50px;
	line-height: 1.7;
}
@media screen and (max-width: 767px){
	.gallery .inner{
		padding-top: 40px;
	}
	.secondary-heading{
		margin-bottom: 40px;
		font-size: 4.6vw;
	}
}
.gallery-wrap{
	display: flex;
	flex-direction: column;
	gap: 36px;
}
.gallery-01,
.gallery-02{
	display: grid;
	gap: 36px;
}
.gallery-item{
	max-width: 100%;
	width: 100%;
	height: auto;
}
.gallery-01{
	grid-template-columns: 1fr 1.4fr;
	grid-template-rows: 1.9fr 1fr;
}
.gallery-02{
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1.5fr 1.17fr;
}
@media screen and (max-width: 767px){
	.gallery-wrap,
	.gallery-01,
	.gallery-02{
		gap: 18px;
	}
	.gallery-01{
		grid-template-columns: auto;
		grid-template-rows: auto;
	}
	.gallery-02{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1.15fr 1.74fr 1fr 1fr;
	}
}
.gallery-item-01{
	grid-column: 1 / 3;
	grid-row: 1 / 2;
}
.gallery-item-02{
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}
.gallery-item-03{
	grid-column: 2 / 3;
	grid-row: 2 / 3;
}
.gallery-item-04{
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}
.gallery-item-05{
	grid-column: 2 / 4;
	grid-row: 1 / 2;
}
.gallery-item-06{
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}
.gallery-item-07{
	grid-column: 2 / 3;
	grid-row: 2 / 3;
}
.gallery-item-08{
	grid-column: 3 / 4;
	grid-row: 2 / 3;
}
.gallery-item-09{
	grid-column: 1 / 2;
	grid-row: 3 / 4;
}
.gallery-item-10{
	grid-column: 2 / 4;
	grid-row: 3 / 4;
}
@media screen and (max-width: 767px){
	.gallery-item-01{
		grid-column: auto;
		grid-row: auto;
	}
	.gallery-item-02{
		grid-column: auto;
		grid-row: auto;
	}
	.gallery-item-03{
		grid-column: auto;
		grid-row: auto;
	}
	.gallery-item-04{
		grid-column: 1 / 2;
		grid-row: 2 / 3;
	}
	.gallery-item-05{
		grid-column: 1 / 3;
		grid-row: 1 / 2;
	}
	.gallery-item-06{
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
	.gallery-item-07{
		grid-column: 1 / 2;
		grid-row: 3 / 4;
	}
	.gallery-item-08{
		grid-column: 1 / 2;
		grid-row: 4 / 5;
	}
	.gallery-item-09{
		grid-column: 2 / 3;
		grid-row: 3 / 4;
	}
	.gallery-item-10{
		grid-column: 2 / 3;
		grid-row: 4 / 5;
	}
}


.inmain--inner {
    left: 0;
    right: 0;
    text-align: center;
    top: 35%
}

.sec--head {
    margin-bottom: 0
}



div.slide_main_wrap {
    position: relative;
    margin: 0 auto 20px
}

ul.slide_main {
    background: #000
}

ul.slide_main li {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    position: absolute;
    opacity: 0;
    -webkit-transition: 1s all ease-in-out 0s;
    transition: 1s all ease-in-out 0s
}

@media screen and (max-width: 767px) {
    ul.slide_main li img {
        aspect-ratio:2 / 1;
        -o-object-fit: cover;
        object-fit: cover
    }
}

ul.slide_main li:first-child {
    position: relative
}

ul.slide_main li.active {
    opacity: 1
}

.slide_prev {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    cursor: pointer;
    z-index: 9;
    background: rgba(0,0,0,.3);
    opacity: 0;
    -webkit-transition: .5s all ease-in-out 0s;
    transition: .5s all ease-in-out 0s
}

.slide_next {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60px;
    cursor: pointer;
    z-index: 9;
    opacity: 0;
    -webkit-transition: .5s all ease-in-out 0s;
    transition: .5s all ease-in-out 0s;
    background: rgba(0,0,0,.3)
}

ul.slide_thum {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1280px
}

ul.slide_thum li {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #000;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1%;
    position: relative;
    width: 18.7636363636%
}

@media screen and (max-width: 767px) {
    ul.slide_thum li {
        width:19%;
        font-size: 10px;
        line-height: 1.5
    }

    ul.slide_thum li img {
        aspect-ratio: 1;
        -o-object-fit: cover;
        object-fit: cover
    }
}

ul.slide_thum li p {
    color: #fff;
    left: 0;
    text-align: center;
    position: absolute;
    right: 0;
    -webkit-transition: .5s all ease-in-out 0s;
    transition: .5s all ease-in-out 0s;
    z-index: 1;
    padding:0
}

ul.slide_thum li:hover p,ul.slide_thum li.active p,ul.slide_thum li.mouse_on p {
    opacity: 0
}

ul.slide_thum li img {
    vertical-align: middle;
    -webkit-transition: .5s all ease-in-out 0s;
    transition: .5s all ease-in-out 0s;
    opacity: .3
}

ul.slide_thum li:hover img {
    opacity: 1
}

ul.slide_thum li.active img {
    opacity: 1
}

ul.slide_thum li.mouse_on {
    position: relative
}

ul.slide_thum li.mouse_on img {
    -webkit-transition: all .5s linear;
    transition: all .5s linear
}

ul.slide_thum li.mouse_on img.off {
    position: relative;
    z-index: 1;
    opacity: 1
}

ul.slide_thum li.mouse_on img.on {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0
}

ul.slide_thum li.mouse_on.active img.on,ul.slide_thum li.mouse_on:hover img.on {
    opacity: 1
}

.secondary-heading{
	margin-bottom: 0;
}