/* ============================================================
要素
============================================================ */
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, blockquote, form, label {
	margin: 0;
	padding: 0;
}
img {
	border:0;
	vertical-align:bottom;
}	
/* リンク
============================================================ */
a:link {
	color: #2f6fa8;
	text-decoration: underline;
}
a:visited {
	color: #2f6fa8;
	text-decoration: underline;
}
a:hover {
	color: #184e77;
	text-decoration: none;
}
a:active {
	color: #184e77;
	text-decoration: none;
}
/* ============================================================
汎用class
============================================================ */
.f_clear {			
	clear:both;
	margin:0;
	padding:0;
	border:0;
	height:0;
	font-size:0;
	line-height:0;
}
.l_clear {			
	clear:left;
	margin:0;
	padding:0;
	border:0;
	height:0;
	font-size:0;
	line-height:0;
}
.r_clear {			
	clear:right;
	margin:0;
	padding:0;
	border:0;
	height:0;
	font-size:0;
	line-height:0;
}
/* 寄せ */
.right {
	text-align:right;
}
.center {
	text-align:center;
}
/* */
.opa_chg:hover {
	filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: 0.7;
}
.red {
	color: red;
}

/* 全体
============================================================ */
body {
	margin: 0;
	padding: 0;
	color: #030303;
	font-family: "Meiryo", "HiraKakuProN-W3", "Hiragino Kaku Gothic ProN", "MotoyaLCedar", "Droid Sans Japanese", "MS Gothic", "sans-serif";
	-webkit-text-size-adjust: 100%;
}
#wrap_header {
	width: 100%;
	text-align: left;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 999;
	background-color: rgba(255,255,255,1.0);
	-webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}
#wrap_pagehead {
	margin-top: 48px;		/* for fixed header */
	width: 100%;
	text-align: left;
	background-color: #f2f2f2;
	-webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}
#wrap_content {
	width: 100%;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 20px;
	background-color: transparent;
	-webkit-transform: translate3d(0, 0, 1px);
	transform: translate3d(0, 0, 1px);
}
@media screen and (max-width:640px) {
	#wrap_content {
		padding-top: 0px;
		background-color: white;
		-webkit-transform: translate3d(0, 0, 1px);
    		transform: translate3d(0, 0, 1px);
	}
	#wrap_pagehead {
		margin-top: 38px;		/* for fixed header */
	}
}

/* ヘッダー
============================================================ */
#header {
	width: 950px;
	margin: 0 auto;
	height: 48px;
	position: relative;
}
#header #logo {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 200px;
}
@media screen and (max-width:968px) {
	#header {
		width: 100%;
	}
}
@media screen and (max-width: 640px) {
	#header {
		height: 38px;
	}
	#header #logo {
		top: 2px;
		width: 150px;
	}
}


/*    content
============================================================ */
#content {
	width: 950px;
	margin: 0 auto 0;
	position: relative;
	background-color: transparent;
}
@media screen and (max-width:968px) {
	#content {
		width: 100%;
		/*overflow: hidden;*/
	}
}


/*   footer
============================================================ */
#footer {
	width: 100%;
	position: relative;
	padding: 0;
	background-color: #4D4D4D;
	-webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}
#footer #inner {
	position: relative;
	margin: 0 auto;
	width: 950px;
	height: 60px;
	background-color: #4D4D4D;
}
@media screen and (max-width:968px) {
	#footer #inner {
		width: 100%
	}
}
@media screen and (max-width:640px) {
	#footer #inner {
		height: 125px;
	}
}
@media screen and (max-width:400px) {
	#footer #inner {
		height: 125px;
	}
}

#footer #copyright {
	position: absolute;
	bottom: 10px;
	left: 0;
	width:100%;
	text-align: center;
	font-size: 14px;
	color: #999999;
}
@media screen and (max-width:640px) {
	#footer #copyright {
		font-size: 12px;
	}
}
@media screen and (max-width:400px) {
	#footer #copyright span {
		display: none;
	}
}
#pagetop {
	position: fixed;
	bottom: 65px;
	right: 0px;
	display: block;
	opacity: 0;
	z-index: 999;
	-webkit-transform: translate3d(0, 0, 9px);
    transform: translate3d(0, 0, 9px);
}
@media screen and (min-width:1200px) {
	#pagetop {
		right:5%;
	}
}