﻿*{margin:0;padding:0}
body,div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section{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%;
height:100%
}
body{
background:#fff;/* 背景 */
color:#000;/* 文字色 */
font-size:1.3em;/* 文字の大きさ */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
letter-spacing:.1em;
line-height:1.5;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word;
height:100%
}
a{
color:#744557;
text-decoration:underline
}
a:hover{
color:#ad3335
}


/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
margin:0 auto;
position:relative;
text-align:center;
min-height:100%;
height:100%
}
body > #wrapper{
height:auto
}
header{
margin-top: 10px;
padding: 5px;
position:absolute;
left:0;
width:200px; /* (※1)と同じ */
z-index:5
}
#main-wrap{ 
min-height:100%;
width:100%;
float:right;
margin-left:-200px /* (※1)と同じだけマイナス */
}  
#rightcolumn{
position:relative;
margin-left:200px /* (※1)と同じ */
} 
#rightcolumn-inner{
padding:30px
} 
#leftcolumn{
float:left
}
#leftcolumn,#leftcolumn-sub{
background: #474777;
border-right:1px solid #734924;
width:200px; /* (※1) 左側の幅 */
padding:0 0 3em
}
#leftcolumn-inner{
padding:0 20px
}
#leftcolumn-sub-inner{
display:inline-block;
padding:0 20px;
width:100%
}
#rightcolumn a:hover,#leftcolumn-sub a:hover{
background:#e6e0d6;
border-radius:5px;
text-decoration:none;
transition:.6s
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
display:block;
line-height:1;
margin:0 auto
}
nav li a,nav li span{
background:#fff;
border-top:1px dashed #734924;
border-bottom:1px dashed #734924;
color:#ad3335;/* メニューの文字色 */
display:block;
font-weight:700;
margin:5px -5px;
padding:5px 0;/* 一列の高さはここで調節 */
border-radius:5px;
position:relative;
text-decoration:none;
text-align:center
}
nav li a:hover,nav li span:hover{
background:#d6bead;
color:#770404;
transition:.6s
}
.sub-menu{
display:none;
margin:0;
overflow:hidden
}
.sub-menu li a{
background:#fff;
border:1px solid #734924;
margin:5px 0;
}
nav li span:after{
border-top:1px solid #734924; /* メニュー「>」の色 */
border-right:1px solid #734924; /* メニュー「>」の色 */
content:"";
display:block;
margin-top:-3px;
width:5px;height:5px;
top:50%;right:10px;
position:absolute;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg);
transition:.5s
}
nav li span.open:after{
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg);
transform:rotate(135deg)
}
#open{display:none}


/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer{
background: url(img/line.gif) no-repeat center;
padding:20px 10px 20;
}



/* hr線の背景に画像を用いたバージョン */
.bar1 {
display: block;
border: 0;
width: 100%;
height: 0px;
padding: 10px 10px 0px 0px;
background: url(img/line2.gif) repeat-x bottom center;

}

/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {
background:rgba(231,232,226,.7);
color:#4d0000;/* 色 */
height:50px;width:50px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:16px;
padding-top:25px;
position:fixed;
text-align:center;
text-decoration:none;
z-index:10
}
#pagetop:before {
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:10px;
width:100%
}
#pagetop:hover {
background:rgba(186,183,224,.5);
}
#fl a{
position:absolute;
bottom:1em;left:0;
display:block;
width:240px; /* (※1)と同じ */
text-align:center;
text-decoration:none
}
/*--------------------------------------------------------
comicpage
--------------------------------------------------------*/
#comicpage{
background: #fff;
height:auto;
min-height:inherit;
padding:20px
}
.indexbox{
background:#fff;
border-radius:5px;
margin:20px auto;
padding:20px;
width:400px;
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.3em;
margin:0 0 0px
}

h2{
font-size:1.2em;
margin:15px 0
}


.mgr-10{
    margin-right : 10px;
}

h3{
font-size:1.1em;
margin:3px 0
}

h4{
 font-size:1.2em;
margin:5px 0


}


h5{
display:inline; 
font-size:1.2em;
margin:15px 0
}


#yohaku{
margin-bottom:25px

}


dt{
background:#734924;
border-radius:5px;
color:#fff;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
padding:0 5px;
width:10em
}
dd{
border-bottom:dotted 1px #999;
margin:0 0 5px 12em
}
em{
background:#dcba94; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #dcba94), color-stop(1, #dcba94));
background: -webkit-linear-gradient(transparent 50%, #dcba94 0%);
background:linear-gradient(transparent 50%, #dcba94 0%);
font-weight:700
}
input,textarea{
background:#fff;
border:1px solid;
margin:3px 0;
margin-bottom:30px;
width:220px
}

textarea{
height:60px
}

hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#fdebbb;
padding:1px 5px
}
.dcline{
border-left:5px solid #dcba94;
margin:5px 0;
padding:3px
}
.textbox{
border:3px solid #dcba94;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#dcba94;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{

color:#999;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#fff;
border-radius:3px;
padding:6px;
box-shadow:4px 4px 4px #999
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
background:#474777;
font-size:1.4em;
padding:0px;
margin-bottom:60px;
height:auto
}
#wrapper{
background:none;
position:relative; /* メニュー表示位置の基準 */
height:auto
}

header{
padding:5 0 20px;
position:static;
text-align:center;
width:auto
}

h1{
min-height:50px; /* メニューを開くボタン分 */
margin-right:60px /* メニューを開くボタン分 */
}
#index h1{
min-height:inherit;
margin-right:0
}

#main-wrap{
float:none;
min-height:inherit;
margin-left:0
}
#rightcolumn{
background:#fff;
margin:0 0 20px;
position:static
}

#leftcolumn{
background:none;
border-right:0;
float:none;
padding:0;
width:100%
}
#leftcolumn-inner{
padding:0
}
#leftcolumn-sub{
background:#fff;
border-right:0;
border-radius:5px;
margin:0 0 20px;
padding:0;
text-align:left;
width:50%
}
#leftcolumn-sub-inner{
display:inherit;
padding:20px
}
#fl{
text-align:center
}
#fl a{
background:rgba(115,73,36,.8);
border-radius:5px;
color:#fff;
position:static;
display:inline-block;
margin:20px;
padding:5px;
width:auto
}

dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
.indexbox{width:auto}
img{max-width:100%;height:auto} /* 画像の縮小表示 */
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:#fff;
border:1px solid #734924;
display:none;
position:absolute; /* 表示位置固定 */
top:60px;left:0; /* #wrapperを基準とした位置 */
margin:0 0 10px;
width:100%;
z-index:10
}
nav li a,nav li span{
border-right:0;
margin:10px 0;
padding:10px 5px /* 一列の高さはここで調節 */
}

.sub-menu li a{
border-top:1px dashed #734924;
border-bottom:1px dashed #734924;
border-left:0;border-right:0;
}
/* メニューを開くボタン */
#open{
color:#e8dfcf; /* 文字色 */
border-radius:3px;
display:inline-block;
position:absolute;
text-align:center;
height:50px;width:50px; /* 大きさ */
top:0;right:0; /* #wrapperを基準とした位置 */
z-index:20
}
.open-text{
position:absolute;
bottom:0;left:0;
letter-spacing:0;
width:100%
}


#open-icon,#open-icon:before,#open-icon:after{
background:#e8dfcf /* 線の色 */
}
#open-icon{display:block;margin:-1px 0 0 -10px;position:absolute;top:20px;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)}
}
