@charset "utf-8";

/*indexページ*/

#hm_box{
	height:100vh;
	position: relative;
}
#gnav{
	position: absolute;
	bottom:0;
	width:100%;
}

/*header*/
.header{
	background-color: #723C60;
}

.header-logo {
	border: #000 5px solid;
}


/*slide*/

#mobile img{
	display:none;
}
#header{
	display:flex;
	flex-direction: column;
	align-items: center;
	height: calc(100vh - 120px);
}

@media screen and (min-width: 768px) {
	#header{
		height: calc(100vh - 75px);
	}
}

#slide {
	position: relative;
	width: 100%;
	display: inline-block;
	text-align: center;
	overflow:hidden;
}
#slide:before {
	content: "";
	display: block;
	padding-top: 75%;
}
#slide div {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height:100%;
	opacity: 0;
	animation: slide-animation 32s linear infinite 0s;
	background-size:cover;
}

#slide div#img01{
	background-image:url(../images/slide/photo1.jpg);
}
#slide div#img02{
	background-image:url(../images/slide/photo2.jpg);
}
#slide div#img03{
	background-image:url(../images/slide/photo3.jpg);
}
#slide div#img04{
	background-image:url(../images/slide/photo4.jpg);
}

#slide div:nth-of-type(2){
	animation-delay: 8s;/*2枚目の開始時間*/
}

#slide div:nth-of-type(3){
	animation-delay: 16s;/*3枚目の開始時間*/
}

#slide div:nth-of-type(4){
	animation-delay: 24s;/*4枚目の開始時間*/
}

@keyframes slide-animation {
	0% {
	animation-timing-function: ease-in;/*ゆっくり表示される*/
	opacity: 0;
		}
	12% {
	animation-timing-function: ease-out;/*表示された*/
	opacity: 1;
		}
	30% {
	opacity: 1;/*＊表示期間*/
		}
	43% {
	opacity: 0;/*次の画像で消えている*/
		}
	100% {
	opacity: 0;/*表示されていない時間*/
		}
}

/*global navigation*/
.gnav {
	background: #723C60;
}
.gnav ul {
	display: flex; /*アイテムを横並びにする*/
	flex-wrap: wrap;
	font-size: 4vmax;
}
.gnav li {
	width: 50%; /*アイテム幅を親要素の1/2にする*/
}
.gnav a {
	display: block;
	padding: 15px 0;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-family: 'New Tegomin', serif;
}
.gnav a:hover {
	background: #90326D;
}

@media screen and (min-width: 768px) {
	.gnav ui {
		display: flex; /*アイテムを横並びにする*/
		flex-wrap: wrap;
	}
	.gnav li {
	width: 25%; /*アイテム幅を親要素の1/4にする*/
	}
}

/*new*/
#new{
	text-align: center;
}
.new-info{
	font-size: 20px;
	background: #ac6692;
}
.new-info dt {
	width: 30%;
	padding: 10px 0;
	font-weight: bold;
}
.new-info dd {
	width: 100%;
	padding: 10px 0;
	border-top: 1px #723C60 dotted;
	border-bottom: 1px #723C60 solid;
	font-weight: bold;
	
}

@media screen and (min-width: 768px) {
	.new-info dd {
		font-size: 25px;
	}
}

.new-info dd a{
	width: 20%;
	padding: 10px 0;
	text-align: right;
}
.new-info dd img{
	text-align: right;
}

/*shop*/
.shop-info{
	font-size: 20px;
	font-weight: bold;
}

.shop-info dt{
	font-style: italic;
}
#shop{
	padding: 10px;
	background: #ac6692;
	box-sizing: border-box;
}
.shop-photo{
	width: 48.9361%; /* 460÷940×100 */
	margin: 10px auto 20px;
}
.shop-name{
	text-align: center;
	padding-top: 10px;
}
@media screen and (min-width: 768px) {
	.shop-photo {
		width: 54.7619%; /* 230÷420×100 */
	}
}


/*section
--------------------*/
.section {
	margin: 10px 0 15px;
}

@media screen and (min-width: 768px) {
	.section {
	margin: 20px 0;
	}
}

/*Google Map
--------------------*/
.map {
	position: relative;
	padding-top: 50%; 
}
.map iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

/*pagetop*/

#pagetop{
	width: 60px;
	height: 60px;
	position: fixed;
	right:20px;
	bottom:20px;
	background: #ac6692;
	border-radius: 15px;
	opacity: 0.4;
}
#pagetop a{
	position: relative;
	display: block;
	width: 60px;
	height: 60px;
}

#pagetop a::after{
	content: '▲';
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	top: 15px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}



