@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: ZenOldMincho;
    src: url(../font/Zen_Old_Mincho/ZenOldMincho-Regular.ttf);
}

html {
    scroll-behavior: smooth;
}

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.headerflex-parent {
    display: flex;
}



/* スクロール */
.Scroll-container {
    display: none;
}

/* スクロール */

/* 湯気 */
.moku img:nth-of-type(1) {
    position: absolute;
    top: 100%;
    left: 40%;
    display: block;
    opacity: 0.1;
    width: 15%;
    animation: 5s yuge linear infinite;
    animation-delay: 5s;
}

.moku img:nth-of-type(2) {
    position: absolute;
    top: 100%;
    left: 60%;
    display: block;
    opacity: 0.1;
    width: 15%;
    animation: 3s yuge linear infinite;
    animation-delay: 8s;
}
.moku img:nth-of-type(3) {
    position: absolute;
    top: 100%;
    left: 20%;
    display: block;
    opacity: 0.1;
    width: 15%;
    animation: 3s yuge linear infinite;
    animation-delay: 1s;
}

.moku img:nth-of-type(4) {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    opacity: 0.3;
    width: 15%;
    animation: 2s yuge linear infinite;
    animation-delay: 15s;
}

@keyframes yuge{
  0% {
    transform:translate(0, 0) rotate(-15deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  80% {
    opacity: 0.1;
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
    top: -22%;
    opacity: 0;
  }
}

/* 湯気 */

h1 {
    position: absolute;
    width: 30%;
    padding: 3%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

h1 a {
    width: 90%;
    display: block;
    text-decoration: none;
    color: #603813;
    font-size: 2.2vw;
    font-family: ZenOldMincho;
}

h1 a img {
    display: block;
    width: 100%;
    mix-blend-mode: hard-light;
    background-color: #fff;
}

header .yoyaku2 {
    width: 40%;
    position: absolute;
    padding: 2% 1.5%;
    text-align: center;
    top: 55%;
    left: 50%;
    border: 3px double #603813;
    background-color: rgba(255, 255, 255, 0.5);
 }

 header .yoyaku2 p {
    font-size: 2vw;
    font-weight: 700;
    color: #ffffff;
 }


 header .yoyaku2 a {
    display: block;
    width: 30%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    padding: 6% 18%;
    background-color: #e7643c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 2.5vw;
    transition: .5;
 } 

 header .yoyaku2 a:hover {
    background-color: #fff;
    border: 1px solid #e7643c;
    color: #e7643c;
    transition: .5s;
 }

header .sns-icon2 {
    width: 37%;
    text-align: center;
    position: absolute;
    padding: 4% 3%;
    top: 71%;
    left: 50%;
    z-index: 10;
    border: 3px double #603813;
    background-color: rgba(255, 255, 255, 0.5);
}

header .sns-icon2 i {
    display: inline-block;
    font-size: 5vw;
}

header .sns-icon2 .fa-brands {
    margin-left: 11%;
    margin-right: 5%;
    color: #42270d;
}


/* なび */

.NavMenu {
    position: relative;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0.9;
    width: 100%;
    height: 100vh;
    padding-top: 5%;
    padding-right: 2.5%;
    padding-left: 2.5%;
    z-index: 100;
    transform: translateX(100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: .3s ease-in-out; /*アニメーションの時間を指定*/
    background-color:#C49C75;
}

nav.NavMenu.active{
	transform: translateX(0%);/*上から出したい場合は、transform: translateYを使う。*/
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 4%;
    width: 9%;
}

nav ul li a {
    position: relative;
    display: block;
    text-decoration: none;
    color: #603813;
    font-family: ZenOldMincho;
    font-weight: 600;
    font-size: 4vw;
    line-height: 3;
    writing-mode: vertical-rl;
}

nav ul li a::after {
    position: absolute;
    left: 0%;
    top: 106%;
    display: block;
    opacity: 0;
    content: url(../images/onsenmaku.png);
}

nav ul li a:hover::after {
    opacity: 1;
    top: 100%;
    transition: 1s;
}


header .yoyaku {
    width: 75%;
    position: absolute;
    padding: 3%;
    text-align: center;
    top: 43%;
    left: 10%;
    z-index: 10;
    border: 3px double #603813;
 }

 header .yoyaku p {
    font-size: 4vw;
    font-weight: 700;
    color: #ffffff;
 }


 header .yoyaku a {
    display: block;
    width: 30%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    padding: 6% 18%;
    background-color: #e7643c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 4vw;
    transition: .5s;
 } 

 header .yoyaku a:hover {
    background-color: #fff;
    border: 1px solid #e7643c;
    color: #e7643c;
    transition: .5s;
 }


header .sns-icon {
    width: 75%;
    text-align: center;
    position: absolute;
    padding: 6% 3%;
    top: 70%;
    left: 10%;
    z-index: 10;
    border: 3px double #603813;
}

header .sns-icon i {
    display: inline-block;
    font-size: 6vw;
}

header .sns-icon .fa-brands {
    margin-left: 11%;
    margin-right: 5%;
    color: #42270d;
}


/* とぐる */

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 40px;
	top: 25px;
	width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 101;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	left: 7px;
	
	border-bottom: solid 3px #ffffff;
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	
}

.Toggle span:nth-child(1) {
    width: 50px;
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
    width: 50px;
}

.Toggle span:nth-child(3) {
	top: 27px;
    width: 30px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
    border-color: #42270D;
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2) {
	top: 18px;
	transform: rotate(45deg);
    border-color: #42270D;
}

.Toggle.active span:nth-child(3) {
	opacity: 0;
}


/* すらいどショー */
.img-frame{
    position: absolute;
    left: 10%;
    width: 50%;
    height: 100vh;
    overflow: hidden;
 }
 
 .img-frame{
    display: block;
    width: 90%;
    height: 100vh;
 }
 .img-01, .img-02, .img-03{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
 }
 .img-01{
    background-image: url(../images/slide1.jpg);
    background-position: 0 0;
    background-attachment: fixed;
    animation: slide-animation-01 24s infinite;
 }
 .img-02{
    background-image: url(../images/slide2.jpg);
    animation: slide-animation-02 24s infinite;
 }
 .img-03{
    background-image: url(../images/slide3.jpg);
    animation: slide-animation-03 24s infinite;
 }
 .img-04{
    background-image: url(../images/slide4.jpg);
    animation: slide-animation-03 24s infinite;
 }
 @keyframes slide-animation-01 {
     0% {opacity: 1; transform: scale(1.0);}
   30% {opacity: 1;}
   40% {opacity: 0; transform: scale(1.15);}
   90% {opacity: 0}
 100% {opacity: 1; transform: scale(1.0);}
 }
 @keyframes slide-animation-02 {
     0% {opacity: 0;}
   30% {opacity: 0; transform: scale(1.1);}
   40% {opacity: 1;}
   60% {opacity: 1;}
   70% {opacity: 0; transform: scale(1.0);}
 100% {opacity: 0;}
 }
 @keyframes slide-animation-03 {
     0% {opacity: 0;}
   60% {opacity: 0;  transform: scale(1.0);}
   70% {opacity: 1;}
   90% {opacity: 1;}
 100% {opacity: 0; transform: scale(1.1);}
 }


 /* めいん */


main {
    background-image: url(../images/bg.webp);
    font-family: ZenOldMincho;
    text-align: center;
    color: #42270D;
}

main h2 {
    font-size: 5vw;
}

main a {
    text-decoration: none;
}


/* ぱん */
.pan {
    background-color: #42270D;   
}

.pan p {
    color: #ffffff;
    text-align: left;
    margin-left: 10%;
    font-size: 3vw;
}

.pan a {
    display: inline-block;
    padding: 1%;
    text-decoration: none;
    color: #e4e4e4;
}
 
/* にゅーす */
.section-news {
    width: 60%;
    margin-top: 4%;
    margin-left: auto;
    margin-right: auto;
}

.section-news ul {
    list-style-type: none;
}
.section-news ul li a {
    display: block;
    padding: 5%;
    margin-top: 3%;
    font-size: 3vw;
    text-decoration: none;
    color: #7D6449;
    border: 3px double #603813;
    transition: .5s;
}

.section-news ul li a:hover {
    background-color: #faf3ed;
    transition: .5s;
}

.section-news ul:nth-of-type(2) {
    width: 100%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.section-news ul:nth-of-type(2) li {
    width: 48%;
}

.section-news ul:nth-of-type(2) li:nth-of-type(2) {
    margin-left: 4%;
}

/*  */

.section-about {
    width: 60%;
    margin-top: 4%;
    margin-left: auto;
    margin-right: auto;
}

.section-about p {
    width: 60%;
    font-size: 3vw;
    margin-left: 68%;
    margin-top: 5%;
    padding-bottom: 3%;
    line-height: 2.5;
    text-indent: 1em;
    text-align: left;
    writing-mode: vertical-rl;
    white-space: pre;
}

.section-about p:nth-of-type(2) {
    writing-mode: horizontal-tb;
    font-size: 3vw;
    margin-left: 20%;
    margin-top: 0;
    text-indent: 0;
}

/* 温泉 */

.section-onsen {
    margin-top: 5%;
}

.onsenflex-parent {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.onsenflex-child h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    writing-mode: vertical-rl;
    text-align: center;
}

.onsenflex-child h2::before {
    content: url(../images/wakumo.png);
    
}
.onsenflex-child p:nth-of-type(2) {
    width: fit-content;
    font-size: 3vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    text-indent: 1em;
    text-align: center;
    white-space: pre;
}

.section-onsen a {
    text-decoration: none;
    color: #6F5D4B;
}

.section-img {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

.section-img img {
    display: block;
    width: 100%;
}

.onsenflex-parent .onsenflex-child a {
    margin-bottom: 2%;
    display: inline-block;
    font-size: 3vw;
}


.onsenflex-parent .onsenflex-child a::after {
    display: block;
    width: 0%;
    height: .2vw;
    mix-blend-mode: color-burn;
    content: '';
    background-color: #6F5D4B;
    transition: 1s; 
}

.onsenflex-parent .onsenflex-child a:hover::after {
    width: 100%; 
    transition: 1s; 
}

/* 間 */

.between {
    width: 70%;
    height: 28vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    display: flex;
    overflow: hidden;
}

.between a {
    display: block;
    width: 50%;
    transition: 1s;
    overflow: hidden;
}

.between a:nth-of-type(2) {
    margin-left: 2%;
}

.between a .between-img {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #c45c5c;
    overflow: hidden;
}

.between a img {
    width: 100%;
    vertical-align: bottom;
    overflow: hidden;
}

.between a:hover {
    color: #ffffff;
    z-index: 100;
}

.between a:hover img {
    transform: scale(105%);
    transition: 1s;
    filter: brightness(50%);
}

.between a p {
    color: #ffffff;
    font-size: 2vw;
    font-weight: 600;
    background-color: #fff;
    text-shadow: 1px 5px 3px rgba(0, 0, 0, 0.4);
}

.between a p::after {
    width: 10vw;
    height: 10vw;
    background-color: #9b2b2b;
    content: "";
}

.between a p:nth-of-type(1) {
    margin-left: auto;
    margin-right: auto;
    margin-top: -50%;
    background-color: #856d6d;
    writing-mode: vertical-rl;
}

.between a p:nth-of-type(1) span {
    display: block;
}

/* 食事 */

.section-syokuzi {
    margin-top: 10%;
}

.syokzi-parent {
    display: flex;
    flex-direction: column-reverse;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.syokzi-child h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    writing-mode: vertical-rl;
    text-align: center;
}

.syokzi-child h2::before {
    content: url(../images/wakumo.png);
    
}
.syokzi-child p:nth-of-type(2) {
    width: fit-content;
    font-size: 3vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    text-indent: 1em;
    text-align: center;
    white-space: pre;
}

.section-syokuzi a {
    text-decoration: none;
    color: #6F5D4B;
}

.section-img {
    width: 80%;
    margin-left: auto;
}

.section-img img {
    display: block;
    width: 100%;
}

.syokzi-parent .syokzi-child a {
    width: fit-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2%;
    font-size: 3vw;
}



.syokzi-parent .syokzi-child a::after {
    display: block;
    width: 0%;
    height: .2vw;
    mix-blend-mode: color-burn;
    content: '';
    background-color: #6F5D4B;
    transition: 1s; 
}

.syokzi-parent .syokzi-child a:hover::after {
    width: 100%; 
    transition: 1s; 
}

/* いやし */

.section-healing {
    margin-top: 10%;
    margin-bottom: 5%;
}

.section-healing div:nth-of-type(1) {
    margin-top: 2%;
}

.section-healing div:nth-of-type(2) {
    margin-top: 1%;
}


/* フッダー */

footer {
    text-align: left;
    padding: 5%;
    padding-bottom: 0;
    font-family: sans-serif;
    background-color: #42270D;
    color: #ffffff;
}

footer ul {
    list-style-type: none;
}

footer a {
    display: block;
    text-decoration: none;
    color: #ffffff;
}

footer a:hover {
    color: #c7c7c7;
    transition: .5s;
}

.footer-flexdox {
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;

}

.footer-flexdox address {
    width: 30%;
    font-style:normal;
    font-size: 2vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}

.footer-flexdox .ul-parent {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    text-align: center;
    color: #bbbbbb;
    font-size: 3vw;

}

.address-img {
    width: 60%;
    margin-left: 21%;
    margin-bottom: 2%;
}

.address-img img {
    width: 100%;
}

.footer-flexdox .ul-parent li {
    width: 90%;
    margin-bottom: 1%;
}

.footer-flexdox .ul-parent li .ul-child  li {
    width: 65%;
    margin-top: 2%;
    font-size: 2vw;
    line-height: 2.5;
    margin-left: auto;
    margin-right: auto;
}


small {
    font-size: 2.5vw;
    width: 100%;
    display: block;
    padding: 2%;
    padding-top: 0;
    text-align: center;
    word-spacing: .5em;
}