/* SMART PHONE */

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: 7vw;
    word-break: break-word;
    line-height: 1.3;
    padding: 0 50px 20px 0;
}

.page_title {
    font-size: 10vw;
}

section {
	padding: 100px 20px;
}

.prev.slick-arrow,
.next.slick-arrow,
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
	width: 40px!important;
	height: 40px!important;
	top: calc(100% - 30px);
	right: 15px;
	left: initial;
}

.prev.slick-arrow,
.slick-prev.slick-arrow {
	top: calc(100% - 75px);
}

.slick-arrow::before {
    left: 15px;
}

.prev.slick-arrow::before,
.slick-prev.slick-arrow::before {
    right: initial;
    left: 17px;
}

.slick-dots {
    bottom: -10px;
    right: 15px;
}

.slick-dots li {
    background: gray;
}
.slick-dots li.slick-active {
	background: black;
}


#menu .prev.slick-arrow,
#menu .next.slick-arrow,
#menu .slick-prev.slick-arrow,
#menu .slick-next.slick-arrow {
	top: calc(100% - 0px);
	right: initial;
	left: 55px;
}

#menu .prev.slick-arrow,
#menu .slick-prev.slick-arrow {
	left: 10px;
}

#facilities .prev.slick-arrow,
#facilities .next.slick-arrow,
#facilities .slick-prev.slick-arrow,
#facilities .slick-next.slick-arrow {
	top: 40px;
	right: initial;
	left: 30px;
}

#facilities .prev.slick-arrow,
#facilities .slick-prev.slick-arrow {
	top: 40px;
	left: -15px;
}




/* Header */

header.flex {
	height: 60px;
	line-height: 60px;
}

header a.logo {
	display: inline-block;
	width: 100px;
	height: 50px;
	margin: 0 0 0 20px;
	background: url(/svg/logo_meitokuanWHY.svg) no-repeat center center;
	background-size: contain!important;
}

.reservation,
#header .open-modal {
	width: 60px;
	height: 60px;
	padding: 0;
}

.reservation {
	margin: 0 0 0 calc(100% - 240px);
}

.reservation a {
	height: 100px;
	line-height: 60px;
	background: black url(/svg/pict_calendarWH.svg) no-repeat center center;
	background-size: 25px auto;
    position: relative;
    text-indent: 999999% !important;
    white-space: nowrap;
    overflow: hidden;
}

#header .open-modal:before {
    width: 30px;
    height: 21px;
    top: calc(50% - 12px);
    left: calc(50% - 15px);
    border-top: solid 1px white;
    border-bottom: solid 1px white;
}

#header .open-modal:after {
    width: 30px;
    height: 1px;
    top: calc(50% - 2px);
    left: calc(50% - 15px);
    background: white;
}

#header .open-modal:hover:before {
    left: calc(50% - 10px)
}

#header .open-modal:hover:after {
    left: calc(50% - 0px)
}

#header .open-modal.action:before,
#header .open-modal.action:hover:before {
    left: calc(50% - 15px);
    transform: rotate(-20deg) translateY(10px);
    border-bottom: none;
}

#header .open-modal.action:after,
#header .open-modal.action:hover:after {
    left: calc(50% - 15px);
    transform: rotate(20deg);
}

.navimenu_window {
    padding: 60px 40px 40px;
}

.navimenu_window .modal-content {
	padding: 0 ;
}

.navimenu_window .modal-close {
    cursor: pointer;
    display: block;
    width: 30px;
    height: 60px;
    position: fixed;
    top: 0px;
    left: initial;
    right: 15px;
    z-index: 1000;
    -webkit-filter: invert(1);
    filter: invert(1);
}



/* Home */

.home, .home #wrapper, .home #all, .home #container, .home #content {
	overflow: hidden;
}

.home .topgallery {
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
}

.home_catchcopy {
	width: 100%;
	position: absolute;
	bottom: 250px;
	left: 0;
	padding: 0 20px;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 1);
}

.home_catchcopy h1 {
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 5px;
}
	
a.topgllry_url.button {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
	opacity: 1;
}

.into_img_box {
	flex-flow: column;
}

.intor_img {
	width: 60vw;
	height: calc(60vw * 1.5);
	max-height: initial;
	min-height: initial;
    background-size: cover !important;
}

.intor_img:last-child {
	margin: 20px 0 0 calc(100% - 60vw);
}

.stay_window #stayroom_info {
    padding: 150px 20px 100px;
}

.doubleslide .doubleimg {
    width: 95vw;
    height: calc(96vw * 0.56);
    max-width: initial;
    max-height: initial;
}

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

.stay_window .stayplan_data:last-child {
    padding: 100px 0;
	
}

.stay_window .stayplan_data h3.pagetitle {
	top: -30px;
	color: black;
}

.stay_window .stayplan_data .stayroom_text {
	margin: 0 0 40px;
	padding: 0 0 0 120px;
}

.stay_window .stayplan_data .stayroom_data_title {
	width: 17vw;
	margin: 0 3vw 0 0;
	padding: 0 2vw 0 0;
	border-right: solid 1px black;
	text-align: justify;
}

.stay_window .stayplan_data .stayroom_data_data {
	width: calc(100% - 20vw);
}

#menu {
    padding: 150px 0 100px;
}

#menu .menu_info,
#menu .menu_slide {
    width: 100%;
	padding: 0 20px;
}

#menu .doubleimg {
	width: 85vw;
	height: calc(85vw * 0.56);
	max-width: initial;
	max-height: initial;
	margin: 20px 1vw 0;
	background-size: cover!important;
}

#menu .menu_title p::after {
	width: 100vw;
	left: calc(100% + 20px);
}

#facilities {
	padding: 150px 20px 0;
}

.stay_window .stayplan_price_box {
    margin: 0 0 100px;
}

.stay_window .stayplan_price_box .stayplan_priceimg {
	width: 100%;
	height: calc((100vw - 40px) * 0.56);
	max-height: calc((100vw - 40px) * 0.56);
	min-height: calc((100vw - 40px) * 0.56);
	background-size: cover!important;
}

.stay_window .stayplan_price_box .stayplan_price {
	width: calc(100% - 20px);
	margin: 0 0 0 20px;
	padding: 20px;
}

.stay_window .stayplan_price_box .stayplan_price::before {
	width: 1px;
	height: calc(100% + 50px);
	background: black;
	top: 0;
	left: 0;
}

.stay_window .reserve {
    width: 100%;
    max-width: initial;
    min-width: initial;
}

.stayplan_reservation_annnai {
    text-align: left;
}

#floormap {
	min-height: 600px;
	padding: 150px 0px 0;
}

#floormap .pagetitle {
	margin: 0 20px 50px;
}

.floorswitch {
    margin: 0;
}

.swipe {
	margin: 20px 0 0;
}

.floormap_illustarea {
    width: 100%;
    height: calc(1000px * 0.55);
    position: relative;
    overflow-y: hidden;
    overflow-x: auto;
}

.floormap_illust {
    width: 1000px;
    height: calc(1000px * 0.55);
    background-size: contain!important;
    position: absolute;
    left: 0;
    transform: initial;
    opacity: 0;
    z-index: 0;
}

.floormap_illust.active {
	opacity: 1;
	z-index: 1;
}

#option {
	padding: 150px 20px 100px;
}

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

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

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

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

#banner {
	padding: 100px 20px;
}

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

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



/* Contact */

.contact #form_box {
    margin: 100px auto 0;
    padding: 150px 20px 0;
}

.contact .contact_comment {
	text-align: left;
}

.contact .contact_comment br {
	display: none;
}

.contact #company {
    padding: 150px 20px 50px;
}

.company_outline tr td {
	min-width: auto;
    padding: 10px 0;
}


.smf-form--simple-table .smf-item__col--label,
.smf-form--simple-table .smf-item__col--controls {
    width: 100%;
    max-width: 100% !important;
    padding: 0;
}

.smf-form .smf-text-control__control {
	padding: 10px;
	font-size: 1rem;
}

.smf-checkbox-control {
    letter-spacing: 3px;
}

.smf-form--simple-table+.smf-action {
    display: flex;
    flex-flow: column;
}

.smf-action .smf-button-control {
	margin: 10px 0!important;
}





/* 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;
}



/* Footer */

#footer {
	padding: 80px 20px 15px;
}

#footer .comdata.half_box {
	width: 100%;
}

.cominfo {
	width: 100%;
	margin: 0;
	line-height: 1.8;
}

.cominfo p {
	margin: 10px 0;
}

#footer .footerlogo.half_box {
	display: none;
}

#footer .half_box {
	width: 100%;
}

ul.footermenu {
	-webkit-justify-content: center;
	justify-content: center;
}

ul.footermenu li {
	margin: 0 10px;
}

.copy {
	text-align: center;
        margin: 0 auto;
}

.sitepolicy .policy_box {
    width: 100%;
    height: 60vh;
    margin: 40px 0 0;
    padding: 10px 15px;
}


/* Default */

.pc,
.overSm,
.flex.overSm {
	display: none;
}

.sp,
.underSm {
	display: block;
}

.sptb {
	display: block;
}



/* Tea House */

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

#teahouse .option_list {
	width: calc(100vw - 20px);
	height: calc((100vw - 80px) * 0.3 * 1.5);
	max-height: calc(1440px * 0.3 * 1.5);
	min-height: calc(1100px* 0.3 * 1.5);
    max-width: initial;
    min-width: initial;
}

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

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

#teahouse .service_text_teahouse {
    width: 100%;
    position: relative;
    padding: 40px 0 0;
}

#teahouse .pagetitle {
	margin: 0 0 20px;
}

#teahouse a.service_text_teahouse_url {
	margin: 20px 0 0;
}



