@charset "utf-8";
/* CSS Document */

:root {
	--main-color1: #006935;
	--main-color2: #690000;
	--main-color3: #040069;

	--main-color1-sub: #008744;
	--main-color2-sub: #a80303;
	--main-color3-sub: #05009a;

	--main-color1-light: #e8f2ec;
	--main-color2-light: #f2e8e8;
	--main-color3-light: #e8e8f2;

	--text-color1: #393939;
	--text-color2: #696969;

	--link-color: #cb533e;

	--menu1-color: #9ae392;
	--menu2-color: #8bc3d3;
	--menu3-color: #d9b1c8;
	--menu4-color: #e0b898;
}

body {
	margin:0;
	padding:0;
	color: var(--text-color1);
	font-size:12px;
	font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
a {
	color: var(--link-color);
	text-decoration:none;
	font-size:15px;
}
a:hover {
	text-decoration:underline;
}
body:after {/*擬似要素をつくる*/
	position: fixed;/*固定配置*/
	top: 0; left: 0;/*左上に固定*/
	width: 100%; height: 100%;/*画面全体を覆う*/
	content: "";
	z-index:-10;
}


#outline {
	width: 96%;
	max-width: 800px;
	margin: 0 auto;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#header_in {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 10px;
	max-width: 800px;
	margin: 0 auto;
}

#h_logo a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 10px;
	white-space: nowrap;
}

#h_logo img {
	width: 50px;
}

#h_logo span {
	font-size: 14px;
	color: var(--main-color1);
}

#header_in .btn_home {
	font-size: 12px;
	color: var(--main-color1);
	line-height: 1.2;
	text-align: center;
}

.h_box_right {
	display: flex;
	align-items: center;
	gap: 20px;
}
#h_cart {
	background-image: url(../images/cart.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 30px;
	height: 30px;
	position: relative;
}
#h_cart a {
	display: inline-block;
	width: 100%;
	height: 100%;
}
#h_cart span.cart_count {
	position: absolute;
	top: 0;
	right: 0;
	background-color: var(--main-color2-sub);
	color: white;
	padding: 2px 5px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	min-width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#h_cart span.cart_count.active {
	animation: cartCountScale 0.8s ease-out;
}

@keyframes cartCountScale {
	from {
		transform: scale(2);
	}
	to {
		transform: scale(1);
	}
}


#contents {
	margin-top: 80px;
}

h1 {
	font-size: 1.6em;
}
h1 span {
	display: inline-block;
	font-size: 0.8em;
	font-weight: normal;
	margin-left: 10px;
	color: var(--text-color2);
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.2em;
}


#footer {
	margin-top: 80px;
	padding: 20px 0;
	text-align: center;
	font-size: 12px;
}


#center_contents {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    max-width: 90%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
	background-color: rgba(255,255,255,0.95);
	border-radius:10px;
}
#center_contents_in {
	padding:25px 20px;
}

#center_contents input[type="text"]
,#center_contents input[type="password"] {
	width:calc(100% - 12px);
}
#center_contents dl {
	display:block;
	padding:10px 0 20px;
}
#center_contents dl dt {
	padding-top:10px;
}
#center_contents .l_box {
	width:50%;
	float:left;
	margin-top:10px;
}
#center_contents .l_box a {
	font-size:80%;
}
#center_contents .r_box {
	width:50%;
	float:right;
	text-align:right;
}
@media print, screen and (max-width: 500px){
	#center_contents .l_box {
		width:100%;
		float:none;
	}
	#center_contents .r_box {
		width:100%;
		float:none;
	}
}


#ovray_hanyou1_out {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: none;
}
#ovray_hanyou1_out.active {
	display: block;
}
#ovray_hanyou1 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85%;
	max-width: 700px;
	background-color: white;
	border-radius: 10px;
	padding: 30px 15px;
	max-height: 75vh;
	min-height: 40vh;
	overflow-y: auto;
}
#ovray_hanyou1_in {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.overlay_header {
	text-align: center;
}
.overlay_header h3 {
	font-size: 1.2em;
}
.overlay_header p {
	font-size: 0.95em;
	color: var(--text-color2);
	margin: 10px 0;
}