﻿@charset "utf-8";

body {
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic, "メイリオ", Meiryo, sans-serif;
	background: url(../images/bg04_a.png);
	background-size: cover;
}
@font-face {
	font-family: 'Zen_Kaku_Gothic_Antique';
	  src: url('../fonts/Zen_Kaku_Gothic_Antique/ZenKakuGothicAntique-Light.ttf')format('truetype');
}
a {
	transition: all 0.3s ease;
}
#container {
	width: 100%;
}
header {
//	position: fixed;
	z-index: 9999;
	padding: 20px 0;
	width: 100%;
	background: rgba(255,255,255,0.5);
	transition: all 0.15s linear;
}
/*
header.active {
     box-shadow: 0 0 20px rgba(20,50,90,0.8);   
}
*/
header #headerBox {
	display: flex;
//	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
	margin: 0 auto;
	width: 98%;
	font-family: 'Zen_Kaku_Gothic_Antique';
//	background: yellow;
}
.mark {
	position: absolute;
	top: -14px;
	left: 240px;
	
}
.mark img {
	width: 70%;
}
#headerBox hgroup {
	width: 50%;
//	background: azure;
}
header h1 {
	margin-bottom: 6px;
	font-size: 1.6rem;
	align-self: center;
}
header h1 span {
	font-size: 1.2rem;
	margin-right: 1%;
}
header h1 a {
	color: royalblue;
}
header h2 {
	margin: 0 10px 10px;
	text-align: right;
	font-size: 1.2rem;
	color: #666;
}
header h3 {
	margin-left: 4%;
	font-size: 1.2rem;
	color: #666;
}

#right_box {
	align-self: flex-end;
	width: 50%;
//	background: tomato;
}

#nav_box {
	
	width: 100%;
}

nav {
	margin: 0 0 0 0;
	width: 100%;
}
nav p {
	width: 100%;
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 2;
	text-align: center;
	letter-spacing: 1px;
	box-sizing: border-box;
//	background:lightgray;
}
nav p span {
	font-size: 2rem;
}
nav p a {
	display: block;
	color: #333;
}
nav p a:hover {
	border-radius: 10px;
	color: #F00;
	background: mistyrose;
}
main {
	margin: 0 auto;
	width: 98%;
//	background: peachpuff;
}
main.goods {
	padding: 10px 0 0;
}

main h2 {
	margin-left: 10%;
	font-size:2.4rem;
//	line-height: 1.8;
	color: orangered;
}

footer {
//	border-top: 1px dotted #CCC;
	width: 100%;
	background: slategray;
}
#footerBox {
//	display: flex;
//	flex-wrap: wrap;
//	justify-content: space-between;
	margin: 2% auto 0;
	padding: 30px 0 40px;
	width: 70%;
}
#footerBox p {
//	align-self: flex-end;
	font-size: 0.9rem;
	color: #FFF;
}

#footerBox li a:hover {
	color: lightpink;
}
.pagetop {
	display: none;
	position: fixed;
	bottom: 80px;
	right: 20px;
}



@media screen and (max-width:1026px){
	.mark {
		left: 210px;
	}
	nav p {
		width: 90%;
		text-align: right;
//		justify-content: flex-end;
	}
}


@media screen and (max-width:824px){
	.mark {
		left: 220px;
	}
	.mark img {
		width: 70%;
	}
	#right_box {
		width: 30%;
	}
	nav p {
		width: 100%;
}


@media screen and (max-width:769px){
	#container {
		margin: 0;
	}
	header #headerBox {
		width: 80%;
	}
	#headerBox hgroup {
		width: 60%;
		text-align: center;
	}
	.mark {
		top: -10px;
		left: 270px;
	}
	.mark img {
		width: 70%;
	}
	header h1 {
		width: 90%;
		font-size: 2rem;
	}
	header h2 {
		margin-right: 2%;
		font-size: 1.4rem;
	}
	#right_box {
		width: 60%;
		align-self: flex-start;
	}
	main {
		padding: 100px 0 60px;
		width: 96%;
	}
	nav p {
		margin-left: auto;
		width: 70%;
		text-align: center;
//		font-size: 1.2rem;
//		line-height: 1.4;
	}

	nav {
		width: 100%;
//		text-align: right;
	}

}

@media screen and (max-width:700px){
	#headerBox hgroup {
		width: 90%;
	}
	#right_box {
		width: 60%;
	}
	nav p {
		width: 90%;
	.mark {
		left: 250px;
	}
	main {
		padding: 140px 0 30px;
//		width: 96%;
	}
}



@media screen and (max-width: 642px){
	header #headerBox {
		flex-direction: column;
		width: 90%;
	}
	#headerBox hgroup {
		width: 90%;
		text-align: center;
	}
	header h1 {
		width: 100%;
		font-size: 2rem;
	}
	header h1 span {
		font-size: 1.8rem;
	}
	header h2 {
		text-align: center;
	}
	#right_box {
//		align-self: flex-end;
		width: 100%;
	}
	.mark {
		top: 36px;
		left: 0px;
		
	}
	.mark img {
		width: 60%;
	}
}

@media screen and (max-width: 420px){
	header #headerBox {
		width: 100%;
	}
	#headerBox hgroup {
		width: 100%;
	}
	header h1 span {
		font-size: 1.5rem;
	}
	header h2 {
		font-size: 1.3rem;
	}
	.mark {
		top: 32px;
		left: 4px;
	}
}
