@charset "UTF-8";
/* Rental／レンタル／chapelier han（シャプリエ・ハン）*/

/*--common------------------------------------------*/	

*{
	margin: 0;
	padding:0;
	box-sizing: border-box;
	list-style: none;
	text-decoration: none;
	color: inherit; /*aが青文字になるのをを防ぐ*/
	}

body{
	font-family: 'Lato', 'Helvetica Neue', Helvetica, serif;
	background: url("../img/gray.concrete.jpg") no-repeat;
	background-size:cover;
	color:#fff;
	/*text-shadow: 1px 1px 5px rgba(0,0,0,.8);*/
}

html{
	font-size: 18px;
}

img {
 width: 100%;
}

a {
 transition: .3s;
}

/*--header------------------------------------------*/

header{
	height: 105px; /*注意；スマホ広げて*/
	position: relative;
	}

header img{ /*無いとheaderを無視して巨大な写真に*/
	width: 100px;
	position: absolute;
	top:5px;
	left:5px;
	}
/*img-height = header-height にしていたがレスポンシブに合わせimg-height削除*/

/*ロゴ変更のため中止*/
	/*header .hat img:hover{
	transform:rotate(-40deg);
	transition-duration: 2s;
	transition-delay: .1s;
	}*/

header .chapelierhan{
	position: absolute;
	top:15px;
	left:115px;
	font-size: .5rem;
	}

header span{
	font-size: .8rem;
	letter-spacing: 1.5px;
	}
	
	nav{
		position:fixed;
		top:77px;
		right:3%;
		width:70%;
	}
	
	nav ul{
		display: flex;
		justify-content: space-between;
		flex:1;
		text-align: center;
		font-weight: bold;
		color:#fff;
		text-shadow: 1px 1px 5px rgba(0,0,0,.8);
		transition: 1s;
	}

	nav ul li:hover{
		font-size: 1.2rem;
		color:antiquewhite;
		background: #393E46;
		padding: 0 1em;
		border-radius: 10px;
		cursor:grab;
	}

/*--rental.css---------------------------------------*/
/*--article--Gallery--*/
article{
	height: 1500px;
	margin: 100px auto;
	background: #ccc;
	text-align: center;
}

h2{ /*article & table*/
	margin:50px auto;
	color: #FCDA05; /*#FBD068 #FFFBE0*/
	text-shadow: 1px 1px 5px rgba(0,0,0,.8);
	font-size:2.3em;
	font-weight:bold;
	padding-top: 50px;
	text-align:center;
}

/*--.detail------------------------------------------*/

.info p{
	font-size: 1.1rem;
	color: #111;
	margin:15%;
	line-height: 2;
}

h3{
	text-shadow: 1px 1px 5px rgba(0,0,0,.8);
	font-size: 1.4rem;
	margin: 5% 15% 2%;
}

article p,
.detail p{
	color: #111;
	margin: auto 15%;
	line-height: 2;
}

/*--table--------------------------------------------*/

table{
	margin:5% auto;
	font-size:1.1em;
	border-collapse:separate;
	border-spacing:1px;
}

th, td{
	padding:10px 25px;
}

th{
	background:#595260; /*#A76188*/
	color:#FFF;
}

td{
	background:#FFF;
	color:#503A47;
}

.target td, td.target{
	background:#E8E8E8;
}

/*---------------------------------------------------*/

h4{
	text-align: center;
	margin: 10% auto;	
}

h4:hover{
	color: antiquewhite;
}

h4 a{
	display: inline-block;
	text-align: center;
	padding:.5em 1em;
	border-radius:20px;
	background: #393E46;
	font-size: 1.1rem;
	font-weight: bold;
}

/*--back-button-------------------------------------*/

	.back{
	z-index: 999;
	width: 83px;
	height: 83px;
	border-radius: 50%;
	border: 2px solid #fff;
	background-color: #393E46;
	text-align: center;
	color: antiquewhite;
	font-size: 16px;
	font-weight: bold;	
	padding-top: .2em; /*--D.Forget-文字高さの調節はシンプル--*/
	line-height: 1;
	position: fixed;
	bottom:-200px;
	right: 30px;
	animation: button 3s 1s forwards;}
/*--そのまま留まり消えない--*/
/*--animationの指定位置に注意--aタグでない--*/


@keyframes button{
	100%{bottom:30px;} 
/*--変更をしないright:30px;は書かなくて良い--*/
}

/*--footer---------------------------------------*/

footer{
	height: 100px;
	line-height: 100px;
	text-align: center;
	background: #fffbe0;
	position:relative;
	text-shadow: none;
}

.logo{
	width: 150px;
	position: absolute;
	top:15%;
	left:5%;
}

.icon{
	width:50px;
	position:absolute;
	top:23%;    /*ブラウザー縮めても重ならない位置*/
	right:14%; /*ブラウザー縮めても重ならない位置*/
}

footer small{
	color: #333;
	font-size: .9rem;
	box-shadow: 0 0 0 0;
}

footer .small322{
	display: none;
}

/*--max-width(1000)------------------------------*/

@media(max-width:1000px){
	
	header nav{
		width:90%;
	}
	
	footer{
	height: 300px;
	}
	
	footer small{
		position: absolute;
		top:100px;
		left: 3px;
	}
	}

/*--max-width(768)------------------------------*/

@media(max-width:768px){
	
	header{
		position: relative;
		height: 277px;
	}
	
	header nav{
		position:static;
		display: flex;
		padding-top: 15px;
	}
	
	header nav ul{
		/*flex: 1;*/     /*間違え*/
		/*width: 100%;*/ /*間違え*/
		display: block;
		line-height: 2;
	}
	
	header nav ul li{
	text-align: center;
	}
	}

/*--max-width(480)------------------------------*/

@media(max-width:480px){
	
	header{
		height: 300px;
	}
	
	header span{
		display:block;
	}
	
	header nav{
		padding-top: 30px;
	}
	
	footer small{
		display: none;
	}
	
	footer{
		position: relative;
	}
	
	footer .small322{
		display: block;
		color: #111;
		line-height: 1;
		position:absolute;
		top:150px;
	}
	}

/*--max-width(320)------------------------------*/

@media(max-width:320px){
	
	header{
		height:330px;
	}
	
	header .leftbody{
		padding-bottom: 30px;
	}
	
	header span{
		font-size:.7rem;
	}
	}
/*-----------------------------stylesheet--END--*/
