*{margin:0;padding:0}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section,dd,dt{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}
a{text-decoration:none;outline:none}
a img{border-style:none}
ul,li{list-style-type:none}

html{
font-size:62.5%
}
body{
background:#000000;/* 背景 */
color:rgb(114, 114, 114);/* 文字色 */
font-size:1.2em;/* 文字の大きさ */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
letter-spacing:.1em;
line-height:1.6;
padding:20px;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:rgb(216, 216, 216);
}
a:hover{
color:rgb(182, 182, 182);
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#main-wrap{ 
float:right;
width:100%;
margin-left:-300px /* #leftcolumnのwidthと同じだけ左に余白 */
}  
#rightcolumn{
background:#f8f3f0;
border:5px solid rgb(0, 38, 255);
border-radius:0px;
padding:10px;
position:relative;
text-align:left;
margin-left:350px /* #leftcolumnのwidthと同じかそれ以上 */
}
#rightcolumn a{
color:#0c61ff;
text-decoration:underline
}
#leftcolumn{ 
float:left;
text-align:left;
width:300px
}
/*--------------------------------------------------------
上(ヘッダー)
--------------------------------------------------------*/
header{
text-align:right;
width:100%
}
#header-inner{
padding:0 20px;
width:100%
}
/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer{
padding:20px 0 0;
text-align:center
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
font-size:1.2em;
font-weight:700;
line-height:1;
margin:10px 0;
width:100%
}
nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav li a,nav li span{
color:#fff;
display:block;
padding:0 5px
}
/* サブメニュー */
.sub-menu{
background:rgb(216, 216, 216);
position:absolute;
width:200px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li a:hover{
background:#fff;
color:rgb(173, 174, 184)
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:2em;line-height:2em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
index
--------------------------------------------------------*/
#index{
background:#ebebeb;
color:#0c61ff;
margin:20px auto;
text-align:center
}
.indexbox{
border:5px dashed #0c61ff;
background:#fff;
border-radius:10px;
margin:0 auto;
padding:20px;
width:400px
}
#index a,.indexbox a{
color:#0c61ff
}
/*--------------------------------------------------------
ページ上部へのリンク
--------------------------------------------------------*/
#pagetop{/* 位置はscroll.jsで設定 */
background:rgba(255,255,255,.8);/* 背景 */
color:#0c61ff;/* 色 */
border:3px solid #0c61ff;
height:50px;width:50px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:16px;
padding-top:22px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:before{
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:7px;
width:100%
}
#pagetop:hover{
background:rgba(222,222,222,.8)
}
#fl a{
color:#fff;
display:inline-block;
margin:10px 0
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.5em;
line-height:1;
margin:0 0 10px
}
h2{
font-size:1.3em;
font-weight:700;
margin:20px 0;
padding:0.2em 0;
position:relative;
border-bottom:2px solid
}
h2:first-letter{
font-size:1.5em;
color:#0011ff
}
h2::after{
background:#0011ff;
position:absolute;
bottom:-2px;left:0;
content:'';
height:2px;width:20%;
z-index:2
}
h3{
border-bottom:1px dashed;
font-size:1.2em;
font-weight:400;
margin:20px 0
}
dt{
background:#171b24;
border-radius:5px;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
padding:0 5px;
width:160px
}
dd{
border-bottom:dashed 1px;
margin:0 0 5px 170px
}
aside dt{
background:none;
display:inline-block;
float:none;
clear:none;
font-weight:700;
padding:3px
}
aside dd{
margin:0 0 10px 10px;
padding:3px
}
em{
background:#e5e5e5;
font-weight:700
}
input,textarea{
background:#bebebe;
border:1px solid;
margin:3px 0;
width:80%
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#859cff; 
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #a5dbd9), color-stop(1, #a5dbd9));
background:-webkit-linear-gradient(transparent 50%, #a5dbd9 0%);
background:linear-gradient(transparent 50%, #a5dbd9 0%)
}
.dcline{
border-left:5px solid #a9bdff;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#eeb022;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted;
margin:1em;
padding:0 0 0 1em
}
.frame {
background:#fff;
border-radius:3px;
padding:6px;
box-shadow:4px 4px 0 #ccc
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
position:relative
}
header{
text-align:left;
min-height:70px
}
#header-inner {
padding:0 0 10px
}
h1{
padding-right:50px;
min-height:40px
}
#index h1{
padding-right:0;
min-height:inherit
}
#main-wrap{
float:none;
margin-left:0
}
#rightcolumn{
margin-left:0;
position:static
}
#leftcolumn{
float:none;
margin-top:30px;
width:100%
}
#fl a{
color:#fff;
background:#400;
border-radius:5px
}
.indexbox{width:100%}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
img{max-width:100%;height:auto} /* 画像の縮小表示 */
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(68,0,0,.9);
display:none;
position:absolute; /* 表示位置固定 */
bottom:inherit;
text-align:left;
left:0;
z-index:20
}
nav li{
background:none;
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav li a,nav li span{
color:#fff;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}
nav li a:hover,nav li span:hover{
background:rgba(238,176,34,0.8);
color:#fff
}
/* サブメニュー */
.sub-menu{
background:none;
position:static;
display:none; /* 隠す */
width:100%;
z-index:auto
}
.sub-menu li{
display:inline-block;/* 一列ごとにするならここを削除 */
visibility:visible; /* リセット */
overflow:visible; /* リセット */
height:auto; /* 高さリセット */
width:50% /* 一列ごとにするならここを削除 */
}
.sub-menu li a:hover{
background:rgba(238,176,34,0.8);
color:#fff
}
.sub-menu li a:after{
display:none
}
nav li:hover .sub-menu li{
height:auto;line-height:inherit /* 高さリセット */
}
nav li span:after{
border-top:3px solid #fff;/* メニュー「>」の色 */
border-right:3px solid #fff;/* メニュー「>」の色 */
content:"";
display:block;
margin-top:-5px;
position:absolute;
top:50%;right:20px;
height:5px;width:5px;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg);
transition:.2s
}
nav li span.open:after{
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg);
transform:rotate(135deg)
}
/* メニューを開くボタン */
#open{
background:#400;
border-radius:6px;
color:#fff;
display:inline-block;
position:absolute;
height:40px;width:40px;/* 大きさ */
top:0;right:0/* 位置 */
}
#open-icon,#open-icon:before,#open-icon:after{
background:#fff; /* 線の色 */
}
#open-icon{display:block;margin:-1px 0 0 -10px;position:absolute;top:50%;left:50%;height:2px;width:20px}
#open-icon:before,#open-icon:after{content:"";display:block;position:absolute;top:50%;left:0;height:2px;width:20px;transition:.3s}
#open-icon:before{margin-top:-8px}
#open-icon:after{margin-top:6px}
#open .close{background:transparent}
#open .close:before,#open .close:after{margin-top:0}
#open .close:before{-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}
#open .close:after{-ms-transform:rotate(-135deg);-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}
}