/* TABLET */

.pc {
	display: none!important
}

.sptb {
	display: inline-block;
}

body {
	font-weight: 400;
}

#wrapper {
	width: 100vw;
}

#wrapper::after {
    height: 100vh;
}

.fancybox-navigation .fancybox-button {
    width: 40px!important;
}

.entry-summary .wp-block-gallery {
    margin: 20px 0!important;
}

.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
	margin: 2vw 2vw 0 0;
}

.wp-block-gallery .blocks-gallery-image:nth-last-child(-n+3),
.wp-block-gallery .blocks-gallery-item:nth-last-child(-n+3) {
	margin: 2vw 4vw 1vw 0;
}

.wp-block-gallery.columns-2 .blocks-gallery-item {
    width: 45%;
    margin: 1vw 2vw 1vw 0;
}

.wp-block-gallery.columns-3 .blocks-gallery-item {
	width: 30%;
    margin: 1vw 2vw 1vw 0;
}

.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),
.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),
.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),
.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),
.wp-block-gallery.columns-2 .blocks-gallery-image:last-child,
.wp-block-gallery.columns-2 .blocks-gallery-item:last-child {
    margin: 1vw 0!important;
}

.wp-block-gallery.columns-3 .blocks-gallery-item {
    width: 30%;
    margin: 1vw 2vw 1vw 0!important;
}

.wp-block-gallery.columns-3 .blocks-gallery-item:nth-child(3n),
.wp-block-gallery.columns-3 .blocks-gallery-item:last-child {
    width: 30%;
    margin: 1vw 0!important;
}

.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),
.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),
.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),
.wp-block-gallery.columns-4 .blocks-gallery-image:last-child,
.wp-block-gallery.columns-4 .blocks-gallery-item:last-child {
	margin: 2vw 0 0 0!important;
}


.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(odd),
.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(odd),
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(odd),
.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(odd) {
    margin: 2vw 2vw 0 0;
}



/* Common */

#stkr {
	display: none;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 2px;
}

.half_box {
	width: 100%;
}

.heading_title {
    font-size: 4vw;
    word-break: break-word;
    line-height: 1.3;
    padding: 0 50px 20px 0;
}

.page_title {
    font-size: 2.5rem;
}

.modal-window {
	width: 92vw;
}

.modal-window:target {
	-webkit-transform: translateX(-92vw);
	-ms-transform: translateX(-92vw);
	transform: translateX(-92vw);
}

.modal-content {
    width: 100%;
    max-width: initial;
    min-width: initial;
    margin: 0 auto;
    padding: 50px 8vw;
}

.modal-close {
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
}

.modal-close::before {
    width: 30px;
}
.modal-close::after {
    height: 30px;
}



/* Home */

.stay_window .stayplan_data {
    padding: 100px 0 150px 0;
}

.stay_window .stayplan_data .stayroom_text {
	margin: 0 0 60px;
	z-index: 1;
}

.floormap_illustarea {
    width: 100%;
    height: 55vw;
}

.floormap_illust {
    width: 100%;
    height: 55vw;
    background-size: contain!important;
    opacity: 0;
    z-index: 0;
}

#option .option_block {
    flex-flow: column;
    margin: 0 0 40px;
}

#option .option_img {
	width: 66%;
	height: calc((100vw - 80px) * 0.66 * 0.56);
	max-height: initial;
	min-height: initial;
	background-size: cover !important;
}

#option .option_menu_box {
	width: 66%;
	margin: 0 0 0 34%;
	padding: 0 0 0 40px;
	border-left: solid 1px black;
}

#option .option_title {
	margin: 20px 0 10px;
	font-size: 1.2rem;
	letter-spacing: 5px;
}


@media screen and (max-width: 899px) {
	
#banner {
	padding: 100px 20px;
}

#banner .banner_box {
	flex-flow: column;
}

#banner .banner_img {
    width: 100%;
    height: calc((100vw - 40px) * 0.3);
    position: relative;
    background-size: cover !important;
    margin: 10px 0;
}
	
}



/* 404 */

.notfound section#top h1.catch {
    left: initial;
    font-size: 30vw;
    font-weight: 100;
    text-align: center;
    color: white;
}

.notfound section#top .text_box br {
	display: none;
}

.notfound section#top .text_box p {
	word-break: break-word;
}



/* Tea House */

#teahouse {
	margin: 50px 0 80px;
	padding: 0 0 80px;
	border-bottom: solid 1px black;
}

#teahouse .option_list {
    width: 50%;
	height: calc((100vw - 80px) * 0.5 * 1.5);
	max-height: calc(100vw * 0.5 * 1.5);
	min-height: calc(100vw* 0.5 * 1.5);
    max-width: initial;
    min-width: initial;
}

#teahouse .option_slide .option_block {
	width: calc((100vw - 80px) * 0.5);
	max-width: calc(100vw * 0.5);
	min-width: calc(100vw * 0.5);
	margin: 0 10px;
}

#teahouse .option_slide .option_img {
	width: 100%;
	height: calc(((100vw - 80px) / 2) * 1.5);
	max-height: calc(((100vw - 80px) / 2) * 1.5);
	min-height: calc(((100vw - 80px) / 2) * 1.5);
	background-size: cover !important;
}


#teahouse .service_text_teahouse {
        flex-flow: wrap;
    width: 50%;
    position: relative;
    padding: 0 0 0 40px;
}



/* Landscape Mobile */

.ua-mobile {
	background: #111;
}

.ua-mobile .landscape,
.ua-mobile .landscape #wrapper,
.ua-mobile .landscape #all,
.ua-mobile .landscape header,
.ua-mobile .landscape section {
	width: 100vw!important;
	position: relative;
	margin: 0 auto;
	overflow: hidden;
}

.ua-mobile .landscape .home,
.ua-mobile .landscape .home #wrapper,
.ua-mobile .landscape .home #all,
.ua-mobile .landscape .home #container,
.ua-mobile .landscape .home #content {
	overflow: hidden;
}

.ua-mobile .landscape section#top,
.ua-mobile .landscape section#top .fade {
    height: 100vw;
}
