*{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;outline:none}
a img{border-style:none}
ul,li{list-style-type:none}

html{
height:100%;
font-size:62.5%
}
body{
background:#fff;/* 背景 */
color:#4f371b;/* 文字色 */
font-size:1.2em;/* 文字の大きさ */
font-family:Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
height:100%;
letter-spacing:.1em;
text-align:center;
padding-left:320px;/* #leftcolumnのwidth+20 */
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:#ee8a88
}
/*--------------------------------------------------------
上(ヘッダー)
--------------------------------------------------------*/
header{
background:#fff;
position:fixed; /* 固定 */
padding-left:300px;/* #leftcolumnのwidthと同じ */
top:0;left:0;
width:100%;
z-index:10
}
#header-inner{
background:#fff;
padding:10px 20px 0;
text-align:right
}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#contents{
background:#fff;
height:100%;min-height:100%;
width:100%
}
/* 左側 */
#leftcolumn{
background-image:url(image/back02.gif), url(image/back01.gif);
background-attachment:fixed fixed;
background-repeat:repeat-y, repeat;
background-position:100% 0,0 0 ;
padding:50px 30px 0 20px;
position:fixed; /* 固定 */
height:100%;
width:300px;/* 幅 */
left:0;top:0;
text-align:left;
z-index:20
}
#leftcolumn-inner{
height:90%;
overflow-y:auto;
-webkit-overflow-scrolling: touch
}
/* 左側の白背景枠 */
aside{
background:#fff;
clear:both;
margin:0 0 20px;
padding:8px;
border-radius:5px;
word-wrap:break-word
}
/* 右側 */
#rightcolumn{
background:#fff;
text-align:left;
padding:0 20px 20px 0
}
/* 右側の背景枠 */
.block{
background:#4f371b;
color:#fff;
margin:20px 0;
padding:8px;
border-radius:5px;
word-wrap:break-word
}
/* index */
#index{
background:url(image/back01.gif) #ee8a88;
margin:20px;
height:auto
}
body > #wrapper{
height:auto
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
background:#4f371b;
border-radius:6px;
margin:20px;
padding:5px;
text-align:center;
line-height:1
}
nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav > ul > li+li:before{
color:#fff;
content:"│"
}
nav li a,nav li span{
color:#ee8a88;
display:inline-block;
padding:0 5px
}
nav li a:hover,nav li span:hover{
color:#fff;
transition:.6s
}
/* サブメニュー */
.sub-menu{
background:#e1d7b8;
position:absolute;
width:180px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li a{
color:#4f371b;
display:block
}
.sub-menu li a:hover{
background:#ee8a88
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:3em;line-height:3em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
著作権表示、TOPへのリンク
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:rgba(238,138,136,.6);/* 背景 */
border:3px solid #4f371b;
color:#fff;
border-radius:30px;
width:60px;height:60px; /* 大きさ */
bottom:20px;right:20px; /* 位置 */
line-height:22px;
padding-top:27px;
text-align:center;
text-decoration:none;
display:block;
position:fixed;
box-sizing:border-box
}
#pagetop:before {
content:'\25B2';
position:absolute;
top:7px;left:0;
width:100%;
font-size:20px
}
#pagetop:hover {
background:rgba(238,138,136,.9)
}
#fl{
position:absolute;
text-align:center;
width:100%;
bottom:0;left:0
}
#fl a{
color:#fff
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.5em;
margin:0 0 .5em
}
#index h1{
margin:1em 0
}
h2{
color:#fff;
border-bottom:double 3px #ee8a88;
font-size:1.3em;
margin:20px 0
}
h2:first-letter{
color:#ee8a88;
font-size:1.5em
}
h3{
border-bottom:dashed 1px #ee8a88;
margin:20px 0
}
h3:first-letter{
color:#ee8a88;
font-size:1.3em
}
dt{
border-bottom:1px solid;
font-weight:700
}
dd{
padding:1em
}
em{
font-weight:700
}
input,textarea{
background:#fff;
border:1px solid;
color:#4f371b;
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:#ee8a88; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #4f371b), color-stop(0.49, #4f371b), color-stop(0.5, #ee8a88), color-stop(1, #ee8a88));
background:-webkit-linear-gradient(transparent 50%, #ee8a88 0%);
background:linear-gradient(transparent 50%, #ee8a88 0%)
}
.dcline{
border-left:5px solid #ee8a88;
margin:5px 0;
padding:3px
}
.textbox{
border:1px solid #ee8a88;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#ee8a88;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted #ccc;
color:#ccc;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#fff;
border-radius:3px;
padding:5px
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.3em;
padding-left:0
}
#wrapper{
background:url(image/back01.gif)
}
header{
background:url(image/back03.gif) repeat-x 0 0;
padding-left:0;
height:auto;min-height:80px;
position:relative
}
#header-inner{
background:none;
margin-left:0;
padding:10px
}
h1{
min-height:40px;
padding-left:60px
}
#index h1{
min-height:inherit;
padding-left:0
}
#contents,#rightcolumn,#leftcolumn,aside{
background:none;
width:100%
}
#contents{
margin:0 auto;
height:auto;min-height:inherit
}
#leftcolumn{
background:#fff;
height:auto;
position:static
}
#leftcolumn-inner{
height:auto
}
#rightcolumn{
padding:20px
}
aside{
padding:0
}
.link{
margin-top:0;
padding-top:0
}
#fl{
margin-top:50px;
position:static
}
#leftcolumn-top{
background:url(image/back04.gif) repeat-x 0 0;
height:25px
}
#rightcolumn a,#leftcolumn a{
color:#fff;
background:#ee8a88;
border-radius:3px;
display:inline-block;
margin:5px 5px 5px 0;
padding:5px
}
#rightcolumn a.bg-none,#leftcolumn a.bg-none{
background:none;
border-radius:0;
display:inline-block;
padding:0
}
a img{
vertical-align:bottom
}
#leftcolumn dd{
display:inline-block;
padding:.5em .2em
}
/* 画像の縮小表示 */
img{
max-width:100%;
height:auto
}
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(238,138,136,.9); /* メニューの背景色 */
border-radius:0;
padding:0;margin:0;
display:none;
position:absolute; /* 表示位置固定 */
top:60px;left:0; /* 位置 */
text-align:left;
width:100%;
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav > ul > li+li:before{
content:none
}
nav > ul > li+li{
border-top:1px solid #f4b5b3
}
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:#4f371b;
letter-spacing:1em
}
/* サブメニュー */
.sub-menu{
border-top:1px solid #f4b5b3;
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(221,211,179,.8);
color:#4f371b
}
.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:rgba(238,138,136,.6);
border:3px solid #4f371b;
border-radius:20px;
display:inline-block;
position:absolute;
height:40px;width:40px;/* 大きさ */
top:10px;left:10px/* 位置 */
}
#open-icon,#open-icon:before,#open-icon:after{
background:#4f371b; /* 線の色 */
}
#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)}
}