/*common*/
*{
	box-sizing: border-box;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}
p,a,label{
	margin:0; 
	text-decoration: none;
	color:#000;
	font-size: large;
}
img{
	width: 100%;
}
ul{
	list-style: none;
}
html,body,ul{
	margin:0; 
	padding: 0;
}
h1{
	margin:10px 0; 
}
h1,h2,h3{
	font-family: 'Fjalla One', sans-serif;
}
.content{
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
}
.star{
	padding-left: 5px;
}
.star>img{
	width: 20px;
	vertical-align: middle;
	display: inline-block;
}
/*header*/
header{
	border-bottom: solid 1px #b3b3b3;
	padding-bottom: 5px; 
	position: relative;
}
header .content{
	font-family: 'Fjalla One', sans-serif;
	display: flex;
	justify-content: space-around;
	align-items: baseline;
}
header .content div{
	display: flex;
	align-items: baseline;	
}
header ul{
	display: flex;
	margin-left: 30px;
}
header ul li{
	margin-right: 20px;
	font-size: larger;
}
header form{
	margin-left: 10px;
}
header form input{
	font-size: 100%;
	border-radius: 10px;
	border:0; 
	padding: 7px;
	background-color: #e6ecf0;
}
header form input[type="submit"]{
	background-color: #ccc;
	color: #fff;
	border:0;
}
/*spハンバーガーメニュー*/
#nav_toggle,#humbergar{
	position: fixed;
	right: 0;
	top: 0;
	transition-duration: 1s;
}
#nav_toggle{
	z-index: 10;
	position: absolute;
}
#humbergar{
	overflow: hidden;
	opacity: 0;
}
@media screen and (max-width:768px){
	/*画面幅が768px以下の時*/
	header ul,header form{
		display: none;
	}
	#nav_toggle,#nav_toggle > div{
		display: block;
		width: auto;
	}
	#nav_toggle > div,#humbergar > nav{
		margin:25px 20px;
	}
	#nav_toggle.open{
		padding-top:5px;
	}
	#nav_toggle span{
		height: 1px;
		background-color: #000;
		width: 40px;
		display: block;
		margin-bottom:10px;
	}
	#nav_toggle.open span{
		margin: 0;
	}
	#nav_toggle.open span:nth-child(1){
		transform: rotate(45deg);
	}
	#nav_toggle.open span:nth-child(2){
		opacity: 0;
	}
	#nav_toggle.open span:nth-child(3){
		transform: rotate(-45deg);
		margin: 0;
	}

	#humbergar.open{
		display: block;
		width: 100%;
		background-color: #ecebeb9e;
		height: 100vh;
		z-index: 5;
		opacity: 1;
	}
	#humbergar ul{
		display: flex;
		justify-content: space-around;
		margin:45vh 0 0 0;
	}
	#humbergar.open li{
		display: block;
		margin: 0;
	}
	#humbergar li{
		border-radius: 50%;
		background-color: #000;
		padding: 15px;
	}
	#humbergar a{
		color: #fff;
	}
	#humbergar i{
		border:0;
		vertical-align: text-top;
	}
}
/*footer*/
footer{
	background-color: #ccccd1;
	padding: 30px;
}
footer .content ul{
	display: flex;
	justify-content: space-around;
	margin:40px auto; 
	padding:20px;
}
.band{
	background-color: #000;
	padding: 5vh;
}
.band .content:before{
	content: '';
	display: inline-block;
	background-image: url(img/fixed/beans.png);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	width: 50px;
	height: 50px;
	top:-90px;
	right: 0px;
	transition: 5s;
}
.band .content:after{
	content: '';
	display: inline-block;
	background-image: url(img/fixed/beans.png);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	width: 40px;
	height: 40px;
	top:-80px;
	right: 50px;
	transition: 5s;
}
.sp_footer{
	display: none;
}
.copyright{
	margin:0 auto;
	padding: 20px;
	font-size: smaller;
	text-align: right;
}
@media screen and (max-width:768px){
	/*画面幅が768px以下の時*/
  	footer .content ul:nth-child(1){
		display: none;
	}
	footer .content ul:nth-child(2){
		display: block;
	}
	footer .content ul:nth-child(2) li
	{
		padding-top: 10px;
	}
	.band{
		padding: 1px;
		position: fixed;
		bottom: 0;
		width: 100%;
	}
	.sp_footer{
		display: flex;
		justify-content: space-around;
		text-align: center;
		padding:5px 0; 
	}
	.band .content ul a{
		color: #fff;
	}
	.band .content:before{
		width: 30px;
		height: 30px;
		top:-30px;
		right: 15px;
	}
	.band .content:after{
		width: 20px;
		height: 20px;
		top: -20px;
		right: 45px;
	}
	.copyright{
		text-align: left;
	}
	i{
		font-size: 1.7em;
		border-bottom: solid 3px #000;
    	padding-bottom: 5px;
	}
	a:focus i{
		border-bottom:solid 3px #fff;
	}
}
.band .content:focus:after,.band .content:focus:before{
	transform: rotate(-720deg);
	right: 1000px;
}

