/*
Theme Name: stay
Theme URI: https://www.thesec.co.jp
Description: 
Author: BaQuun.TV
Author URI: 
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)

License:
License URI:

General comments (optional).
*/


/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address, caption, cite, code, dfn, em, strong, th, var {
	font-style:normal;
	font-weight:normal;
}
ol, ul {
	list-style:none;
}
caption, th {
	text-align:left;
}
h1, h2, h3, h4, h5, h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr, acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input, textarea, select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	padding: 6px 10px;
	width: 90%;
}
/*to enable resizing for IE*/
input, textarea, select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset { display: none; }

body {
	font-family:"Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fff;
	color: #3d362a;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	line-height: 28px;
	letter-spacing: 2.5px;
	margin: 0;
}
a {
	text-decoration: none;
}
li {
	list-style: none;
}
table {
	width: 100%;
	margin: 30px 0;
}
tr {
	border: solid 1px #939393;
}
th, td {
	padding: 14px;
}
th {
	border-right: solid 1px #939393;
}
.tab-btn {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .btn {
        flex-basis: 30%;
        text-align: center;
		border: solid 1px;
    }
    .btn a {
        display: block;
        position: relative;
        font-size: 16px;
        padding: 14px;
        text-decoration: none;
        line-height: 1.2;
        color: #181716;
        background-color: #fff;
        cursor: pointer;
    }
    .btn a.is-active {
        background-color: #ae3131;
		color: #fff;
		font-weight: bold;
    }


    .tab-contents-item {
        display: none;
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .tab-contents-item.is-active {
        display: flex;
        background-color: #ae3131;
		color: #fff;

    }
    .tab-contents-item>p {
        margin: auto;
        height: 40px;
        opacity: 0;
    }
    .tab-contents-item.is-active>.tab-contents-inner {
      animation:  fadeinAnime 2s forwards;
    }

    @keyframes fadeinAnime{
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
    }
.facility-slider img {
  width: 360px;
  height: 270px;
  object-fit: cover;
}

.facility-slider .slick-slide {
  margin: 0 10px;
}

@media (max-width: 768px) {
  .facility-slider img {
    width: 100%;
    height: auto;
  }
}
.facility-slider {
  width: 100%;
  display: block;
}

.facility-slider .slick-track {
  display: flex !important;
}

.facility-slider .slick-slide {
  height: auto !important;
}

.facility-slider img {
  width: 360px;
  height: auto;
  object-fit: cover;
  display: block;
}
.fade-in {
	transition: opacity 0.5s;
}
.fade-up {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.left-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.right-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
@keyframes slide{
	0%{
		transform:scaleX(0);
	}
	100%{
		transform:scaleX(1);
	}
}
@keyframes fadeIn{
	0%{
		opacity:0;
	}
	100%{
		opacity:1;
	}
}
@keyframes moveUp{
	0%{
		transform: translateY(0px);
	}

	100%{
		transform: translateY(-215px);
	}

}
@keyframes leftIn{
	0%{
		transform: translateX(0px);
	}

	100%{
		transform: translateX(550px);
	}

}




/*======================header===========================*/

#header {
	width: 100%;
	height: 100vh;
	background-image:url("img/main-img.png");
	background-position: center;
	background-size: cover;
	position: relative;
}
#header2 {
	width: 100%;
	height: 110px;
	background-color: #323232;
}
.utility {
	width: 180px;
	position: absolute;
	top: 0;
	right: 0;
}
#header2 .header-utility {
	position: relative;
}
.contact-link {
	width: 180px;
	height: 80px;
	padding-top: 20px;
	text-align: center;
	vertical-align: middle;
	background-color: #fff;
	color: #ae3131;
	display: block;
}
.contact-link li a {
	text-decoration: none;
}
.logo {
	width: 23%;
	height: auto;
	position: absolute;
	top: 22vh;
	left: 50%;
	margin-left: -12.5%;
}
.logo img, #header2 .logo img {
	width: 100%;
	height: auto;
}
#header2 .logo {
	width: 8%;
	top: 6px;
	left: 4%;
	margin-left: 0;
}
#header2 .header-utility .contact-link {
	position: absolute;
	top: 4px;
	right: 20px;
}
.h2-01 {
	width: 500px;
	font-size: 28px;
	color: #fff;
	text-align: center;
	position: absolute;
	top: 56vh;
	left: 50%;
	margin-left: -250px;
	line-height: 38px;
}
.top-text {
	font-size: 40px;
	width: 450px;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 70%;
	left: 50%;
	margin-left: -225px;
	line-height: 42px;
	color: #fff;
}
.top-text-sp {
	font-size: 18px;
	font-weight: 100;
}



/*==========front-page==========*/
.wrap01 {
	width: 100%;
	padding: 160px 0;
	background-color: #bfbbb8;
}
.wrap01-inner {
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.wrap01-left {
	width: 60%;
	border-left: solid 1px;
}
.h2-02 {
	font-size: 28px;
	margin: 0 0 20px 40px;
	padding-top: 100px;
}
.wrap01-left p {
	margin-left: 40px;
}
.wrap01-right {
	width: 38%;
	text-align: right;
}
.wrap02 {
	width: 100%;
	padding: 160px 0 70px;
}
.wrap02-inner {
	width: 84%;
	margin: 0 auto 120px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.wrap02-inner2 {
	width: 50%;
	min-width: 330px;
	margin: 120px auto;
}
.wrap02-left {
	padding-top: 120px;
	width: 42%;
	margin-right: 8%;
}
.h3-01 {
	width: 220px;
	font-size: 20px;
	font-weight: bold;
	border-bottom: solid 1px;
	padding-bottom: 10px;
	margin: 0 0 30px 50px;
}
.h4-01 {
	text-align: center;
	font-size: 26px;
	font-weight: bold;
}
.wrap02-right {
	width: 50%;
}
.img-box{
  width: 100%;
  height: 503px;
  overflow: hidden;
  position: relative;
}
.img-box>div{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 503px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}
@keyframes fade {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 1;
  }
  80%{
    opacity: 0;
    transform: scale(1.2);
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}
.img-box>div:first-of-type{
  background-image:url("img/img02-1.png");
}
.img-box>div:nth-of-type(2){
  background-image:url("img/img02-2.png");
  animation-delay: 4s;
}
.img-box>div:nth-of-type(3){
  background-image:url("img/img02-3.png");
  animation-delay: 8s;
}
.wrap03 {
	width: 100%;
	height: 500px;
	background-image: url("img/takayama-back.png");
	background-position: center;
	background-size: cover;
	margin: 120px 0;
	color: #fff;
}
.h3-02 {
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	padding-top: 120px;
	margin-bottom: 40px;
}
.h5-01 {
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 10px;
}
.wrap03 p {
	text-align: center;
}
.wrap04-text {
	text-align: center;
	margin: 20px 0;
}
.wrap04-inner {
	width: 70%;
	min-width: 320px;
	margin: 20px auto 80px;
}
.map {
	text-align: center;
}
.tab-contents-inner {
	width: 96%;
	padding: 30px 2%;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.tab-contents-inner li {
	width: 22%;
	font-size: 14px;
	text-align: center;
	line-height: 20px;
	padding-bottom: 12px;
	border-bottom: dotted 1px #fff;
	margin-bottom: 40px;
}
.category {
	background-color: #fff;
	color: #ae3131;
	font-size: 10px;
	text-align: center;
	padding: 4px 0;
	margin-bottom: 6px;
}
.wrap04 {
	margin: 120px 0;
}



/*======================child-page===========================*/

.form {
	width: 50%;
	min-width: 330px;
	margin: 120px auto;
}
.pv {
	width: 70%;
	min-width: 330px;
	margin: 100px auto;
}
.h2-03 {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}
.pv-section {
	margin: 50px 0;
}
.h3-03 {
	font-weight: bold;
	margin-bottom: 10px;
}
.btn01 a {
	background-color: #ceb849;
	border: 1px solid #ceb849;
}

.btn01 a:hover {
	background-color: #B99b00;
	border: 1px solid #333;
}

.btn01 a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -35px;
	transform: translateY(-50%);
	width: 70px;
	height: 1px;
	background-color: #333;
}



/*======================footer===========================*/
#footer {
	width: 100%;
	height: 500px;
	background-image: url("img/ft-back.png");
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 70px 0;
}
.ft-info {
	width: 90%;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
.ft-info-left {
	width: 30%;
	margin-right: 2%;
}
.ft-logo {
	width: 200px;
	height: auto;
}
.ft-logo img {
	width: 100%;
	height: auto;
}
.ft-info-right {
	width: 68%;
}
.ft-map {
	width: 100%;
	margin-bottom: 20px;
}




/* 1100px以下 */
@media only screen and (max-width:1100px){
	#header {
		background-position: 22%;
	}
	.logo {
		width: 50%;
		margin-left: -25%;
	}
	#header2 .logo {
		width: 15%;
	}
	.form {
		width: 70%;
	}
    
}

/* 768px以下 */
@media only screen and (max-width:768px){
   
	
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:680px){
	.utility {
		width: 120px;
	}
	.contact-link {
    width: 120px;
    height: 42px;
    padding-top: 10px;
		font-size: 10px;
		line-height: 16px;
		letter-spacing: 1px;
}
	.h2-01 {
		width: 330px;
		margin-left: -165px;
		line-height: 30px;
		font-size: 18px;
	}
	.top-text {
		font-size: 24px;
		width: 330px;
		line-height: 32px;
		margin-left: -165px;
	}
	.btn a {
		font-size: 12px;
	}
	th,td {
		display: block;
		width: 96%;
		padding: 2%;
		border: none;
	}
	th {
		background-color: #E7E7E7;
	}
	.form {
		font-size: 12px;
		margin: 70px auto;
	}
	.btn01 a::after {
    right: -16px;
    width: 40px;
    }
	.form p {
		line-height: 18px;
	}
	#header2 .logo {
		width: 34%;
		top: 12px;
	}
	#header2 .header-utility .contact-link {
		top: 30px;
	}
	.pv {
		width: 92%;
		font-size: 13px;
		line-height: 18px;
		
	}
}