@charset "UTF-8";
/* contact／コンタクト／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;
	}

/*--contents-----------------------------------------*/

.contents{
	color:#595260; /*灰紫系*/
	font-weight: bold;
	margin-left: 50%;
	padding-top: 5%;
}

.contents ol:hover{
	color:antiquewhite;
	background: #393E46;
	padding: 0 1em;
	border-radius: 10px;
	cursor:grab;
}

.contents2{
	display: none;
}

/*--contact form-------------------------------------*/

	.formh2{
		color: #FCDA05; /*黄色系*/
		text-shadow: 1px 1px 5px rgba(0,0,0,.8);
		font-size:1.5em;
		font-weight:bold;
		text-align: center;
		padding-top: 100px;
	}

	form{
		width: 85%;
		margin:70px auto;
		border-radius:10px;
		background-color:#595260; /*灰紫系*/
		color:antiquewhite;
		padding:40px 20px;
		line-height: 2.5;
	}

	input[type="button"],
	input[type="submit"]{
		/*background: #E75355; /*赤系どこ？*/
		color:#fff;
		font-weight: bold;
		border:none;
		padding: 10px;
		width:auto;
	}

	label{
		display: block;
		padding: 25px;
	}

	input,select,textarea{
		width:100%;
		background:#fff;
		color:#111;
		padding:10px;
		border:1px solid #ccc;
		border-radius:5px;
	}

	input[name="郵便番号"]{
		width:10em; /*7emだと6桁目で誤住所で反応してしまった*/
	}

	textarea{
		height:15em;
	}

	input[value="確認画面へ"]{
		display: block;
		width:200px; /*25%だとスマホできれてしまう*/
		background:#EA9215; /*おれんじ系*/
		margin:50px; /*20px auto=後の送信ボタンとくっついてた*/
		color:#fff;
		font-size: 1.2rem;
		font-weight: bold;
	}

	form span{ /*必須*/
		background: #E75355; /*赤系*/
		margin: 0 25px;
		color:#fff;
		padding:0 1em;
	}


	/*---phpの(400行目あたり)#formWrapのことだった---

	table.formTable{
		width:100%;
	}

	.formTable th,.formTable td {
		padding:15px;
	}

	.formTable th{
	width:25%;
	}

	.formTable td {
	width:75%;
	}-------------------------------------------*/


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

	.back{
	z-index: 999;
	width: 83px;
	height: 83px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #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%;
	}
	
	.contents{
		display: none;
	}
	
	.contents2{
	display: block;
	color:#595260; /*灰紫系*/
	font-weight: bold;
	padding-top: 5%;
	padding-left: 5%;
	}
	
	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;
	}
	
	form b{
		display: inline-block;
	}
	}

/*--max-width(490)------------------------------*/

@media(max-width:490px){
	
	header{
		height: 300px;
	}
	
	header span{
		display:block;
	}
	
	header nav{
		padding-top: 30px;
	}
	
	form span{
		display: inline-block;
		padding: 0 .7em;
	}
	
	input[value="確認画面へ"]{
		width:45%;
		margin:5%;
		}
	
	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--*/
