@charset "utf-8";

html{
    scroll-behavior: smooth;
}

body {
    color: #4E2828;
    font-size: 16px;
    font-family: "Shippori Mincho",serif;
    background-color: #92837b;
    height: max-content;
}

#container{
    background-color: #FDFDFB;
    margin: 0 auto;
    width: 100%;
    max-width :390px;
    height: fit-content;
    text-align: left;
 }

html,
body {
    margin: 0;
    padding: 0;
}

p, figcaption{
    line-height: 30px;
}

.top {
    margin-bottom: 135px;
    display: flex;
}

.pic{
    width: 320px;
    height: 844px;
}

.pic div{
    position: absolute;
	
	width: 320px;
	height: 844px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10;
	opacity: 0;
	animation-name: slide-fade;
	animation-duration: 15s;
	animation-iteration-count: infinite;
}

@keyframes slide-fade {
	0%{
		opacity: 0;
	}
	20%{
		opacity: 1;
	}
	80%{
		opacity: 0;
	}
	100%{
		opacity: 0;
		z-index: 0;
	}
}

.pic div:first-of-type{
    background-image: url(image/img1.png);
}

.pic div:nth-of-type(2){
	background-image: url(image/img2.png);
	animation-delay: 5s;
}
.pic div:last-of-type{
	background-image: url(image/img3.png);
	animation-delay: 10s;
}

.top_r {
    writing-mode: vertical-rl;
    display: flex;
    height: 844px;
    width: 70px;
    background-color: #4E2828;
    color: #ffffff;
    background-image: url(image/titleback.png);
    position:relative;
}

h1 {
    font-size: 32px;
    margin-top: 210px;
    margin-bottom: 284px;
    margin-right: 16px;
    letter-spacing: 14px;
}

.top_r p{
    margin-left: 5px;
    margin-right: 10px;
    padding-bottom: 0;
   /* border-left: 2px solid #ffffff;*/
   position: absolute;
   bottom: 0;
}

.top_r .scroll{
    margin-bottom: 78px;
}

@keyframes scrollAnimation{
    0%{
        transform: scaleY(0);
        transform-origin: top;
    }
    50%{
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1%{
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100%{
        transform: scaleY(0);
        transform-origin: bottom;
    }
}
.top_r .scrollbar{
    animation-name: scrollAnimation;
    animation-duration: 1.8s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.shop{
    margin-bottom: 80px;
}

h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 23px;
}

h2, h3{
    background-image: url(image/soushoku1.png);
    background-repeat: no-repeat;
    background-position: bottom;
}

.shop img{
    margin-bottom: 14px;
}

.shop1{
    text-align: center;
    margin-bottom: 100px;
}

.shop2{
    margin-left: 0;
    margin-bottom: 80px;
}

.shop2 img{
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.shop2 figcaption{
    margin-left: 25px;
}

.shop3{
    text-align: right;
    margin-right: 0;
    margin-bottom: 100px;
}

.shop3 img{
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.shop3 figcaption{
    margin-right: 10px;
}

.shop::after{
    content: url(image/light3.png);
}




h3 {
    font-size: 20px;
    text-align: center;
    line-height: 28px;
}


.scene{
    margin-bottom: 120px;
}

.scene h3{
    margin-bottom: 40px;
}

.scene p{
    text-align: center;
    margin-bottom: 80px;
}


.scene::after{
    content: url(image/pod.png);
}

.info{
    margin-bottom: 97px;
}

.info h3{
    margin-bottom: 35px;
}


address{
    margin-bottom: 140px;
}

.jusho{
    margin-left: 61px;
    margin-bottom: 50px;
}

.map{
    text-align: center;
}

.rink{
    text-align: center;
}

.rink p{
    margin: 0 auto 10px;
    width: 240px;
    background-color: #4E2828;
    color: #ffffff;
    padding: 10px 0;
}

.rink p:hover{
    background-color: #614646;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    transition-delay: 0ms;
}
.rink p:active{
    background-color: #9A6969;
}

.rink img{
    margin-bottom: 10px;
}

.btnarea{
    display: flex;
    justify-content: flex-end;
}

.top_btn{
    display: block;
    width: 70px;
    height: 98px;
    background-color: #4E2828;
    position: relative;
}

.top_btn:hover{
    background-color: #614646;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    transition-delay: 0ms;
}
.top_btn:active{
    background-color: #9A6969;
}

.top_btn p{
    position: absolute;
    width: 56px;
    top:6px;
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    line-height: 14px;
    margin:  auto 7px;
    padding: 20px 0 20px 0;
    border: 1px solid #ffffff;
}




/*ここからした、オーバーレイで使ったやつ*/
#overlay,
#overlay2,
#overlay3 {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 390px;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    background: rgba(39, 3, 3, 0.2);
    transition: all 0.5s ease-out;
}

#overlay.overlay-on,
#overlay2.overlay-on,
#overlay3.overlay-on {
    visibility: visible;
    opacity: 1;
}

.flex {
    width: 356px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.flex p{
    text-align: left;
    margin-bottom: 40px;
}

h4 {
    font-size: 20px;
    margin-bottom: 26px;
    position: relative;
    z-index: 10;
}

h4::after{
    content: url(image/soushoku356.png);
    position: absolute;
    top: 5px;
    left: -30px;
    z-index: -1;
}

#overlay-inner,
#overlay-inner2,
#overlay-inner3 {
    padding: 100px 30px 0px;
    background-color: #F5F5F5;
}


.overlay-btn{
    display: block;
    margin: 0 auto 60px;
    padding: 10px 30px;
    text-align: center;
    cursor: pointer;
}

.overlay-btn img:hover{
    transform: translateY(-10px);
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    transition-delay: 0ms;
}

.close-btn {
    display: block;
    margin: 0 auto 60px;
    padding: 10px 30px;
    text-align: center;
    cursor: pointer;
    background-color: #4E2828;
    color: #ffffff;
     line-height: 32px;
}

.close-btn:hover{
    background-color: #614646;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    transition-delay: 0ms;
}
.close-btn:active{
    background-color: #9A6969;
}

.oyatu{
    margin-bottom: 120px;
}