/* =====================================================================
style.css
================================================================== */
@charset "utf-8";
/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html,body{
	width: 100%;
	margin: 0;
	padding: 0;
}

body{
	background: #000;
	color:#f1f1f1;
	font-size: 13px;
	margin: 0 auto;
	font-family: "メイリオ", Meiryo, sans-serif;
}

img {
	border: 0;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: #f1f1f1;
}

a:hover{
	color: #ccc !important;
}

a:visited{
	color: #f1f1f1;
}

li {
	list-style-position: inside;
	list-style-type: none;
}

.center {
	text-align: center !important;
}

.clear{
	clear:both;
}

.red {
	color: #ff333d;
}

.blue{
	color: skyblue;
}

.yellow{
	color: yellow;
}

.bold{
	font-weight: bold;
}

.fleft{
	float: left;
}

.fright{
	float: right;
}

/* ==========================================================================
header
========================================================================== */
#header{
	position: fixed;
	width: 100%;
	background: #000;
	z-index: 999999;
}

header {
	max-width: 980px;
	margin: 0 auto;
}

header a{
	text-decoration:none;
	color: #f1f1f1;
}

header a:visited{
	color: #f1f1f1;
}

header #lside{
	float: left;
	width: 25%;
}

header h1{
	float: left;
	width: 45%;
}

header #rside{
	float: left;
	width: 25%;
}

header #lside , header #rside {
	position: relative;
	top: 36px;
}

header #lside li, header #rside li{
	float: left;
	width: 33%;
	text-align:center;
	font-size: 15px;
	line-height: 18px;
	position: relative;
}

header #lside span, header #rside span{
	display: block;
	font-size: 11px;
	color: #808080;
}

header #lside li #submenu, header #rside li #submenu{
	z-index: 999999;
	top: 35px;
	position: absolute;
	width: 100px;
}

header #lside li #submenu li, header #rside li #submenu li{
	float: none;
	width: 100%;
	display: none;
	background: #333;
	padding: 10px;
	border-bottom: dotted 1px #666;
}

header #lside li:hover #submenu li, header #rside li:hover #submenu li{
	display: block;
}

/* ==========================================================================
ハンバーガーメニュー
========================================================================== */
#ham {
	display: none;
}

#ham-menu {
    background-color: #333; /*メニュー背景色*/
    box-sizing: border-box;
    height: 100%;
    padding: 10px 40px; /*メニュー内左右上下余白*/
    position: fixed;
    right: -300px; /*メニュー横幅 width と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 300px; /*メニュー横幅*/
    z-index: 1000;
}

#menu-background {
    background-color: #333; /*黒背景*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}

#menu-icon {
    background-color: #333; /*アイコン部分背景色*/
    border-radius: 0 0 0 10px; /*左下角丸*/
    color: #f1f1f1; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px; /*アイコン縦高さ*/
    line-height: 50px; /*縦位置中央化*/
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    z-index: 1000;
}

#menu-cb {
    display: none; /*チェックボックス本体は消しておく*/
}

#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    transform: translate(-300px); /*メニュー本体横幅 width と合わせる*/
}

#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}

#ham-menu ul {
	float: left;
	margin-left: 10px;
}

#ham-menu ul li{
	padding: 5px 0;
}

#ham-menu ul li a{
	font-size: 15px;
	color: #00d9e2;
}

/* ==========================================================================
footer
========================================================================== */
footer{
	background: url('../images/foot_bg.png');
	padding-top: 30px;
}

footer a{
	text-decoration: none;
	color: #f1f1f1;
}

footer a:visited{
	color: #f1f1f1;
}

footer #footer-inner{
	width: 980px;
	margin: 0 auto;
}

footer h4{
	border-bottom: solid 1px #808080;
	font-weight: bold;
	color: #f1f1f1;
	font-size: 12px;
	margin-bottom: 10px;
	padding: 10px 0;
}

footer #footer_navi1, #footer_navi2{
	float: left;
	width: 32%;
}

footer #footer_navi1 ul li, #footer_navi2 ul li{
	padding: 3px 0;
	background-image: url('../images/arrow.gif');
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 15px;
	
}

footer #footer_navi1 ul li a, #footer_navi2 ul li a{
	font-size: 11px;
}

footer #footer_navi2{
	margin-left: 2%;
}

footer #intro{
	float: right;
	width: 32%;
}

footer #intro #intro-picture{
	float: left;
	width: 30%;
}

footer #intro #intro-side p{
	font-size: 11px;
	line-height: 18px;
}

footer #copyright{
	text-align:center;
	margin-top: 35px;
	font-size: 10px;
	line-height: 15px;
	padding-bottom: 15px;
}

footer #copyright address a{
	color: #00d9e2;
}

/* ==========================================================================
container
========================================================================== */
#container{
	background: url('../images/main_bg.png');
	padding-bottom: 60px;
}

/* ==========================================================================
main
========================================================================== */
#main {
	max-width: 980px;
	margin: 0 auto;
	padding-top: 30px;
}

#main #main-top{
	float:left;
	width: 750px;
}

#main #sidebar{
	float:right;
	width: 200px;
	text-align:center;
	padding: 10px;
	background-color: #333;
}

#main #media ul li .date{
	color: #d49726;
	font-weight: bold;
}

#main #media ul li {
	border-bottom: solid 1px #ccc;
}

/* ==========================================================================
button
========================================================================== */
.btn_sxr {
	background: #3D94F6;
	background-image: -webkit-linear-gradient(top, #3D94F6, #1E62D0);
	background-image: -moz-linear-gradient(top, #3D94F6, #1E62D0);
	background-image: -ms-linear-gradient(top, #3D94F6, #1E62D0);
	background-image: -o-linear-gradient(top, #3D94F6, #1E62D0);
	background-image: linear-gradient(to bottom, #3D94F6, #1E62D0);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	color: #FFFFFF;
	font-family: Open Sans;
	font-size: 11px;
	padding: 10px;
	box-shadow: 1px 1px 20px 0px #000000;
	-webkit-box-shadow: 1px 1px 20px 0px #000000;
	-moz-box-shadow: 1px 1px 20px 0px #000000;
	text-shadow: 1px 1px 20px #000000;
	border: solid #337FED 1px;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	width: 90%;
}

.btn_sxr:hover {
	background: #1E62D0;
	background-image: -webkit-linear-gradient(top, #1E62D0, #3D94F6);
	background-image: -moz-linear-gradient(top, #1E62D0, #3D94F6);
	background-image: -ms-linear-gradient(top, #1E62D0, #3D94F6);
	background-image: -o-linear-gradient(top, #1E62D0, #3D94F6);
	background-image: linear-gradient(to bottom, #1E62D0, #3D94F6);
	text-decoration: none;
}

/* ==========================================================================
adsense
========================================================================== */
#adsense3{
	margin-top: 20px;
	padding-bottom: 20px;
}

/* ==========================================================================
スマホ
========================================================================== */
@media only screen and (max-width: 738px){

	#header{
		position: static;
		width: 100%;
	}

	header{
		width: 100%;
	}
	
	header #lside, header #rside{
		display:none;
	}
	
	header h1{
		width: 100%;
		text-align: center;
	}
	
	header h1 img{
		width: 70%;
	}
	
	#ham{
		display: block;
	}
	
	#main {
		width: 98%;
		margin: 0 auto;
		padding: 0 5%;
	}

	#main #main-top{
		float:none;
		width: 100%;
	}

	#main #sidebar{
		float: none;
		display: none;
	}
	
	#container{
		padding-bottom: 30px;
	}
	
	footer{
		padding-top: 15px;
	}
	
	footer #footer-inner{
		width: 98%;
		margin: 0 auto;
		padding: 0 5%;
	}

	footer #footer_navi1, #footer_navi2{
		float: none;
		width: 100%;
		margin-left: 0 !important;
	}

	footer #intro{
		float: none;
		width: 100%;
	}

}