*{margin:0;padding:0}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav{box-sizing:border-box}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}
a{text-decoration:none}
a img{border-style:none}
ul,li{list-style-type:none}

html,body{
height:100%
}
html{
font-size:62.5%
}
body{
background:#741935;/* 背景色 */
color:#fff;/* 文字色 */
font-size:1.2em;/* 文字の大きさ */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
height:100%;
line-height:1.5;
text-align:center;
overflow-y:scroll;
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:#f8caca
}
a:hover{
color:#b6bdd2
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
height:100%;
height:auto!important;
margin:0 auto;
min-height:100%;
position:relative
}
/*--------------------------------------------------------
上(ヘッダー)
--------------------------------------------------------*/
header{
text-align:center;
text-shadow:2px 2px #000
}
header a{
color:#fff
}
.header-inner{
background:url(image/back01.gif);
min-height:100px;
padding:10px
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
background:#000;
line-height:1;
width:100%;
text-align:center
}
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;
text-decoration:none
}
nav li a:hover,nav li span:hover{
background:rgba(116,25,53,.2);
transition:.6s
}
/* サブメニュー */
.sub-menu{
background:rgba(0,0,0,.8);
position:absolute;
width:180px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:3em;line-height:3em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#contents{
margin:0 auto;
padding:20px 0 120px; /* 最後はfooterの高さ+20 */
text-align:left;
width:600px /* 文字幅はここを調節 */
}
#contents a:hover{
text-decoration:underline
}
/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer{
bottom:0;
height:100px;
left:0;
position:absolute;
text-align:right;
width:100%
}
.footer-inner{
background:#000;
padding:0 10px;
text-align:right
}
footer a{
color:#fff
}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:rgba(0,0,0,0.5);/* 背景 */
color:#fff;/* 色 */
border-radius:5px;
display:block;
padding:10px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:hover {
background:rgba(0,0,0,.8)
}
#fl a {
display:inline-block;
margin:10px 0
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:2em;
margin:0 0 1em
}
h2,.h02{
background:url(image/line02.png) no-repeat 0% 0%;
font-size:1.3em;
font-weight:bold;
height:30px;
line-height:30px;
margin:20px 0;
padding-left:30px
}
h2 span{
background:#741935;
display:inline;
height:30px;
line-height:30px
}
h3{
background:#000;
border-radius:6px;
font-size:1em;
margin:20px 0;
padding:5px
}
dl{
margin-bottom:1em
}
dl dt{
float:left;
clear:both;
font-weight:700;
width:150px
}
dl dd{
margin-bottom:5px;
text-indent:1em
}
em{
font-weight:700
}
input,textarea{
background:#000;
border:1px solid;
margin:3px 0;
width:200px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#741935;
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #741935), color-stop(0.69, #741935), color-stop(0.7, #000), color-stop(1, #000));
background:-webkit-linear-gradient(transparent 70%, #000 0%);
background:linear-gradient(transparent 70%, #000 0%)
}
.dcline{
border-left:6px solid #000;
margin:.5em 0;
padding:3px
}
.textbox{
border:2px solid #000;
margin:.5em 0;
padding:3px;
text-align:center
}
.title{
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px solid;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#fff;
border-radius:3px;
padding:6px;
box-shadow:3px 3px 3px #000
}
.line{
background-image:url(image/line01.gif);
line-height:25px;
text-align:left
}
.race-image01{background:url(image/back02.gif) repeat-x;height:20px;}
.race-image02{background:url(image/back03.gif) repeat-x;height:20px;}
.race-back01{background-color:#741935}/* header-innerの背景色と同じ */
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
width:100%
}
#contents{
padding:20px;
width:100%
}
footer{
position:static
}
/* 画像の縮小表示 */
img{
max-width:100%;
height:auto
}
dl dt{float:none;clear:none;width:auto}
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(0,0,0,.9);
color:#666;
text-align:left;
display:none;
position:absolute; /* 表示位置固定 */
left:0;
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav li a,nav li span{
position:relative;
padding:15px 0; /* リンクの余白 一列の高さはここで調節 */
text-indent:1em
}
nav li a:hover,nav li span:hover{
background:rgba(116,25,53,.4);
transition:.5s ease-in
}
/* サブメニュー */
.sub-menu{
border-bottom:1px dashed #666;
border-top:1px dashed #666;
background:none;
position:static;
display:none; /* 隠す */
width:100%;
z-index:auto
}
.sub-menu li{
text-indent:1em;
display:inline-block;/* 一列ごとにするならここを削除 */
visibility:visible; /* リセット */
overflow:visible; /* リセット */
height:auto; /* 高さリセット */
width:50% /* 一列ごとにするならここを削除 */
}
.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:10px;
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:#000;
color:#fff;
display:block;
padding:10px 0
}
}