*{margin:0;padding:0}
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{
min-height:100%;
position:relative;
font-size:62.5%
}
body{
background:url(image/back02.png) #cfc295;/* 背景 */
color:#07181e;/* 文字色 */
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.5;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:#57450f
}
.block a{
background:#e0f8cf;
border-radius:5px;
display:inline-block
}
.block a:hover{
background:#998c66
}
.block a img{
vertical-align:bottom
}
/*--------------------------------------------------------
Basic
--------------------------------------------------------*/
#wrapper{
text-align:left
}
#index{
margin:0 auto;
width:500px
}
/*--------------------------------------------------------
Top
--------------------------------------------------------*/
header{
background:#306850;
border-bottom:3px solid #86c06c;
position:fixed;
top:0;left:0;
min-height:80px;
width:100%;
z-index:10
}
#header-inner{
margin-bottom:3em;/* メニュー分余白 */
padding:10px
}
/*--------------------------------------------------------
Main
Add the width on the left and the width on the right side so that it does not exceed the width of the whole
--------------------------------------------------------*/
#contents{
margin:0 auto;
height:100%;
width:1000px; /* 全体の幅・大きさはここで変更 */
}
/* 左側 */
#leftcolumn{
float:left;
text-align:left;
width:300px
}
/* 右側 */
#rightcolumn{
display:inline;
float:right;
margin:0;
width:700px
}
.block{
background:#86c06c;
border:3px solid #07181e;
border-radius:5px;
box-shadow:0 1px 2px #e0f8cf;
clear:both;
margin:20px 10px;
padding:8px;
word-wrap:break-word
}
#contents,#rightcolumn,#leftcolumn,.block{
box-sizing:border-box
}
/*--------------------------------------------------------
Footer
--------------------------------------------------------*/
footer{
background:#07181e;
position:absolute;
bottom:0;left:0;
width:100%;
min-width:1000px; /* #contentsのwidthと同じ数値 */
}
.footer-inner{
padding:10px;
text-align:center
}
footer a{
color:#e0f8cf
}
/*--------------------------------------------------------
Menu
--------------------------------------------------------*/
#menu{
background:#07181e;
border-bottom:3px double #306850;
position:absolute;
bottom:0;
line-height:1;
text-align:center;
width:100%
}
nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav li a,nav li span{
color:#e0f8cf;
display:inline-block;
padding:0 5px
}
nav li a:hover,nav li span:hover{
color:#fff;
transition:.6s
}
/* サブメニュー */
.sub-menu{
background:#e0f8cf;
position:absolute;
width:200px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li a{
border-bottom:1px solid #998c66;
color:#07181e;
display:block
}
.sub-menu li a:hover{
background:#fdb4a9;
color:#57450f
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:2em;line-height:2em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
Link to the top of the page, copyright notice
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:#cfc295;/* 背景 */
border:3px solid #57450f;
color:#57450f;/* 色 */
height:60px;width:60px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:20px;
padding-top:27px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:before {
content:'\25B2';
font-size:18px;
position:absolute;
left:0;top:7px;
width:100%
}
#pagetop:hover {
background:#998c66
}
#fl a {
display:inline-block;
margin:5px 0
}
/*--------------------------------------------------------
Headings, borders, lines
--------------------------------------------------------*/
h1{
color:#e0f8cf;
font-size:1.5em;
margin:0 0 0.5em
}
h2{
background:#07181e;
border-radius:6px;
color:#e0f8cf;
font-size:1em;
margin:1em 0;
padding:10px;
position:relative
}
h2::after{
border:8px solid transparent;
border-top:8px solid #07181e;
content:'';
position:absolute;
top:100%;left:30px;
height:0;width:0
}
h3{
background:#306850;
border-radius:6px;
color:#e0f8cf;
font-weight:400;
margin:1em 0;
padding:0 10px
}
dt{
border-bottom:1px solid;
font-weight:700
}
dd{
padding:1em
}
em{
background:#fdb4a9; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd3b3), color-stop(0.49, #ddd3b3), color-stop(0.5, #fdb4a9), color-stop(1, #fdb4a9));
background:-webkit-linear-gradient(transparent 50%, #65ff00 0%);
background:linear-gradient(transparent 50%, #65ff00 0%)
}
input,textarea{
background:#07181e;
border:1px dotted #57450f;
color:#e0f8cf;
margin:9px 0;
width:200px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #998c66;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#65ff00;
padding:1px 5px
}
.dcline{
border-left:5px solid #dd0206;
margin:5px 0;
padding:3px
}
.textbox{
border:1px solid;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted;
color:#998c66;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#998c66;
border-radius:3px;
padding:5px
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
For smartphones and tablets
Switch with width of 600px
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.3em
}
header{
border-bottom:20px solid #e0f8cf;
position:relative
}
#header-inner{
margin-bottom:0
}
h1{
line-height:1;
min-height:40px;
padding-right:50px
}
#index h1{
min-height:inherit;
padding-right:0
}
#contents{
margin:0 auto 50px auto;
width:100%
}
#leftcolumn,#rightcolumn{
float:none;
width:100%
}
#rightcolumn{
margin-left:0
}
header,footer{
min-width:100%
}
.block a{
display:inline-block;
margin:5px 5px 5px 0;
padding:5px
}
.block a.bg-none{
background:none;
border-radius:0;
margin:5px 5px 0 0;
padding:0
}
.block a:hover{
background:#57450f;
color:#f1edde;
transition:.5s
}
#fl a{
color:#fff;
background:#8c8673;
border-radius:5px
}
#index{
width:auto
}
/* 画像の縮小表示 */
img{
max-width:100%;
height:auto
}
/*--------------------------------------------------------
Menu for smartphones and tablets
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(87,69,15,.9); /* メニューの背景色 */
display:none;
left:0;
bottom:inherit;
text-align:left;
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav li a,nav li span{
color:#fff;
display:block;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}
nav li a:hover,nav li span:hover{
background:rgba(221,211,179,.8);
color:#57450f
}
/* サブメニュー */
.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{
border-bottom:0;
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: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{
display:inline-block;
margin:0 5px;
position:absolute;
height:40px;width:40px;/* 大きさ */
top:10px;right:10px/* 位置 */
}
#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)}

}
