@charset "utf-8";
/* -----------------------------
 common.css
----------------------------- */

/* リセット */
@import url("./destyle.css");

:root {
	--font-serif: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "Times New Roman", serif;
	--font-sans-serif: "Yu Gothic", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif;
/*	--main-color: #668929;
	--impact-color: #D96D00;
	--pale-color: #E1EFCB;
	--text-color: #111111;*/
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	font-family: var(--font-sans-serif);
	line-height: 150%;
}

a.def {
	color: var(--main-color);
	text-decoration: underline;
}

* {
	line-height: normal;
}

img {
	max-width: 100%;
	height: auto;
}

/* ------------------------------
 general
------------------------------ */

.wholeLink {
	cursor: pointer;
}

span.nowrap {
	display: inline-block;
	white-space: nowrap;
}

/* ------------------------------
 header
------------------------------ */
header {
	width: 100%;
	background-color: #FFFFFF;
	box-shadow: 0px 2px 2px #999999;
	transition: 0.5s;
}

header.isfixed {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 50;
}

header #head {
	display: flex;
/*	max-width: 1200px;*/
	margin: auto;
}

header #logo {
	align-items: center;

	order: 2;
	flex-grow: 1;

	display: flex;

	padding: 5px;
}

header h1 img {
	flex-grow: 1;

	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 50px;
}

header #logo p {
	flex-grow: 0;

	margin-left: 10px;
	font-size: small;
}

header nav {
	align-items: center;
	flex-shrink: 0;

	order: 3;

	display: flex;
	flex-direction: column;
}

header nav h2 {
	flex-grow: 1;

	display: flex;
	align-items: center;

	padding: 5px;
}

header nav button img {
	width: 50px;
	cursor: pointer;
}

header nav .gNav {
}

header nav .gNav .gNavIn {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url(../../images/common/icon-xmark-gray.png);
	background-position: center bottom 30px;
	background-repeat: no-repeat;
	background-size: 50px;
	cursor: pointer;
	z-index: 90;
}

header nav .gNav .gNavIn ul {
	position: fixed;
	width: 100%;
	margin-top: -100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: #FFFFFF;
}

header nav .gNav .gNavIn ul li:not(:last-child) {
	border-bottom: 1px solid #FFFFFF;
}

header nav .gNav .gNavIn ul li a {
	display: block;
	padding: 10px;
	text-align: center;
}
/*
header #cart {
	position: relative;
	flex-shrink: 0;
	order: 3;
	margin-right: 5px;

	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 70;
}

header #cart a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #777777;
	font-weight: bold;
}

header #cart img {
	width: 40px;
}

header #cart span {
	display: flex;
	justify-content: center;
	align-items: center;

	position: absolute;
	top: 0px;
	left: 10px;

	width: 2em;
	height: 2em;
	border-radius: 50%;
	background-color: #CC0000;
	font-weight: bold;
	color: #FFFFFF;
}*/
/*
header #search {
	max-width: 1200px;
	margin: auto;
	padding: 5px;
	padding-bottom: 10px;
}

header #search form {
	display: flex;
	align-items: stretch;
}

header #search input {
	flex-grow: 1;
	margin-right: 5px;
	padding: 3px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	background-color: #FFFFFF;
}

header #search button {
	padding: 5px 20px;
	border: #CCCCCC;
	border-radius: 5px;
	background-image: linear-gradient(
		to bottom,
		#999999,
		#CCCCCC
	);
}

header #search button img {
	width: auto;
	height: 25px;
	vertical-align: middle;
}*/

/* ------------------------------
 main
------------------------------ */
main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

main #search {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	padding: 20px 5px;
}

main #search form {
	display: flex;
	align-items: stretch;
}

main #search input {
	flex-grow: 1;
	margin-right: 5px;
	padding: 3px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	background-color: #FFFFFF;
}

main #search button {
	padding: 5px 20px;
	border: #CCCCCC;
	border-radius: 5px;
	background-image: linear-gradient(
		to bottom,
		#999999,
		#CCCCCC
	);
}

main #search button img {
	width: auto;
	height: 25px;
	vertical-align: middle;
}
/*#pankuzu {
	width: 100%;
	padding: 0px 5px;
	background-color: #DDDDDD;
}

#pankuzu ol {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	
	display: flex;
	align-items: center;

	padding: 5px;
	overflow: auto;
}

#pankuzu ol li {
	white-space: nowrap;
}

#pankuzu ol li:not(:last-child)::after {
	content: " ＞ ";

	display: inline-block;
	margin: 0px 5px;
}

main {
	width: 100%;
	max-width: 1200px;
	flex-grow: 1;
}

/* ------------------------------
 aside
------------------------------ */
aside {
}

/* ------------------------------
 footer
------------------------------ */
footer {
	position: relative;
	width: 100%;
	margin-top: 100px;
}

footer #fNav {
	position: fixed;
	display: flex;
	color: #777777;
	font-weight: bold;
}

footer #fNav li a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
}

footer #fNav li span {
	display: flex;
	justify-content: center;
	align-items: center;

	position: absolute;
	top: -10px;
	left: 10px;

	width: 2em;
	height: 2em;
	border-radius: 50%;
	background-color: #CC0000;
	font-weight: bold;
	color: #FFFFFF;
}

footer #fNav li img {
	width: auto;
	height: 30px;
}

footer #copyright {
	padding: 5px;
	background-color: #EEEEEE;
	text-align: center;
}

/* -----------------------------
 PC
----------------------------- */
@media not screen and (max-width:1000px) {
	.onlysp {
		display: none;
	}

	header #head {
		height: 100px;
	}

	header h1 img {
		max-height: 80px;
	}

	header nav {
		display: none;
	}

	footer #fNav {
		top: 25px;
		right: 5px;
		z-index: 60;
	}

	footer #fNav li img {
		height: 25px;
	}

	footer nav {
		display: flex;
		justify-content: center;
		padding: 10px 0px;
	}

	footer nav ul {
		display: flex;
		justify-content: center;
	}

	footer nav ul li {
		margin: 0px 10px;
	}
}

/* -----------------------------
 SP
----------------------------- */
@media screen and (max-width:1000px) {
	.onlypc {
		display: none;
	}

	main {
		margin-bottom: 40px;
	}

	footer {
		position: relative;
		width: 100%;
	}

	footer #fNav {
		bottom: 0px;
		width: 100%;
		border-top: 1px solid #777777;
	}

	footer #fNav li {
		flex-grow:  1;
		background-color: #EEEEEE;
	}

	footer #copyright {
		display: none;
	}
}
