html,body,div,span,iframe,h1,h2,h3,h4,p,pre,del,em,img,b,i,dl,dt,dd,ol,ul,li,form,table,tbody,tr,th,td,article,aside,footer,header,nav,section{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;box-sizing:border-box}
article,aside,footer,header,nav,section{display:block}
body{line-height:1;overflow-wrap:break-word;word-wrap:break-word}
input,textarea,select{font-family:inherit;font-size:inherit;color:inherit;vertical-align:middle;box-sizing:border-box}
a{margin:0;padding:0;text-decoration:none;outline:none;font-size:100%;vertical-align:baseline;background:transparent}
a img{border-style:none}
ul,li{list-style-type:none}
.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}

/* ===================================
背景,文字,リンク設定
=================================== */

html{
font-size:62.5%;
height:100%
}
body{
background:#f8f6ef;/* 背景 */
color:#8c8673; /* 文字色 */
font-size:1.4em;/* 文字の大きさ */
font-family:'Segoe UI','游ゴシック Medium','Yu Gothic Medium','游ゴシック体',YuGothic,'Hiragino Kaku Gothic ProN','メイリオ',Meiryo,sans-serif;
letter-spacing:.1em;
line-height:1.5;
text-align:center;
height:100%
}
/*  リンク
------------------------------ */
a{
color:inherit
}
.block a{
color:#f16b8e
}
a:hover{
text-decoration:underline
}
/*  メイン部分のリンク
------------------------------ */
#contents a:not(.bg-none){
border-bottom:1px dashed #8c8673;
color:#f16b8e;
display:inline-block;
position:relative;
transition:.6s
}
#contents a:not(.bg-none):hover{
background:#f8c8c8;
border-radius:5px;
border-bottom:1px solid transparent;
color:#fff;
text-decoration:none
}

/* ===================================
基本
=================================== */

#wrapper{
background:#fff url(image/back01.gif);
padding-top:80px;
text-align:left;
min-height:100%
}
header{
background:url(image/back04.gif);
margin-bottom:-100px;
padding:10px 30px 20px 10px;
text-align:left;
height:100px
}
#contents{
background:#fff;
margin:0 270px 0 270px; /* 0 (※2) 0 (※1)  */
}
#leftcolumn{
background:url(image/back02.gif) repeat-y 100% 0;
width:270px; /* 左側の幅(※1) */
}
#rightcolumn{
background:url(image/back03.gif) repeat-y;
margin-left:-270px; /* (※2)と同じだけマイナス */
width:270px /* 右側の幅(※2) */
}
.block{
background:rgba(248,246,239,.8);
border-radius:5px;
margin:20px 0;
padding:10px
}

#wrapper{position:relative;height:100%;width:100%}
header{position:relative;padding:10px 30px 20px 10px;top:0;left:0;width:100%;z-index:20}
#main{float:left;width:100%}
#contents{height:100%}
#contents-inner{padding:30px 20px 50px}
#leftcolumn{float:left;margin-left:-100%;position:relative;height:100%}
#leftcolumn-inner{padding:30px 40px 30px 10px;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}
#rightcolumn{float:left}
#rightcolumn-inner{padding:30px 10px 30px 40px}

/* ===================================
メニュー
=================================== */

#menu{
display:block;
margin:20px auto
}
nav li a,nav li span{
background:#f8f6ef;
border-radius:5px;
color:#8c8673;/* メニューの文字色 */
font-size:1.7rem;
font-weight:700;
display:block;
line-height:2em;
margin-bottom:5px;
padding:0 10px;
position:relative
}
nav li a:hover,nav li span:hover{
background:#e1d7b8;
text-decoration:none;
transition:.6s
}
.sub-menu{
display:none;
overflow:hidden
}
/*  メニューの「>」
------------------------------ */
nav li span:after{
border-top:2px solid #8c8673; /* 色 */
border-right:2px solid #8c8673; /* 色 */
content:"";
display:block;
margin-top:-5px;
position:absolute;
height:5px;width:5px;
top:50%;right:10px;
-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}

/* ===================================
index
=================================== */

#index{
background:#f8c8c8 url(image/back04.gif) repeat-x;
padding:120px 20px 0;
height:auto;min-height:inherit
}
.indexbox{
background:#f8f6ef;
border-radius:5px;
margin:0 auto;
padding:1em;
max-width:500px
}

/* ===================================
ページ上部へのリンク、著作権表示
=================================== */

#pagetop{
background:#ffb0b8;
border-radius:30px;
border:3px solid #fff;
box-sizing:border-box;
box-shadow:0px 0px 10px #84b6d5;
color:#fff;
display:block;
line-height:16px;
padding-top:22px;
position:fixed;
text-align:center;
text-decoration:none;
width:50px;height:50px; /* 大きさ */
bottom:-80px;
z-index:60
}
#pagetop:before{
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:7px;
width:100%
}
#fl{
position:absolute;
text-align:center;
width:100%;
bottom:0
}

/* ===================================
見出し、枠、線
=================================== */

h1{
font-size:1.6rem;
line-height:1;
margin:0 0 10px;
text-shadow:5px 5px 2px #ccc
}
h2{
border-bottom:3px solid;
font-size:1.5rem;
margin:10px 0;
padding:0 0 5px;
text-shadow:5px 5px 2px #ccc
}
h3{
border-bottom:1px dashed;
font-weight:400;
margin:1em 0
}
dt{
background:#f8c8c8;
border-radius:5px;
color:#fff;
clear:both;
font-weight:700;
float:left;
margin:0 0 5px;
padding:0 5px;
width:14em
}
dd{
border-bottom:1px solid #ccc;
margin:0 0 5px 15em
}
em{
background:#ffe1e4;
background:-webkit-linear-gradient(rgba(255,225,228,0) 50%, #ffe1e4 0%);
background:linear-gradient(rgba(255,225,228,0) 50%, #ffe1e4 0%);
font-style:normal;
font-weight:700
}
input,textarea{
background:#8c8673;
border:1px dashed;
color:#fff;
margin:3px 0;
width:200px
}
textarea{
height:50px
}
#leftcolumn textarea{
width:100%
}
hr{
border:0;
border-top:1px solid #ccc;
display:block;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#f16b8e;
background:-webkit-linear-gradient(rgba(241,107,142,0) 80%, #f16b8e 0%);
background:linear-gradient(rgba(241,107,142,0) 80%, #f16b8e 0%)
}
.dcline{
border-left:8px solid #ffe1e4;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#ffb4bc;
font-size:1.8em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#fff;
padding:6px;
border-radius:3px;
box-shadow:3px 3px 3px #ccc
}
#side .block li{
border-bottom:1px dashed;
padding:5px 0
}

/* ===================================
横幅1000pxで切り替え
=================================== */

/*  説明リストの横並び解除
------------------------------ */
@media screen and (max-width: 1000px){
dt{float:none;clear:none}
dd{margin-left:20px}
/*  画像の縮小表示
------------------------------ */
img{max-width:100%;height:auto}
}

/* ===================================
スマホ、タブレット用
横幅768pxで切り替え
=================================== */

@media screen and (max-width: 768px){
#wrapper{
padding:120px 20px 20px;
min-height:100%
}
header{
padding:10px 60px 10px 20px
}
#contents,.block{
background:#f8f6ef;
border-radius:5px;
margin:1em 0;
padding:10px 15px
}
#fl a{
background:#8c8673;
color:#fff;
border-radius:5px;
display:inline-block;
padding:5px
}
.block a{
margin:.3em;
}
/*  リセット
------------------------------ */
#main,#leftcolumn,#rightcolumn{float:none;position:static;width:auto}
#leftcolumn,#rightcolumn{background:none;margin:0;height:auto;width:auto}
#contents{margin:0 0 20px;height:auto;width:auto}
#contents-inner{padding:0}
#leftcolumn-inner,#rightcolumn-inner{padding:0;text-align:left;height:auto}
#fl{position:static}

/* ===================================
スマホ、タブレット用メニュー
=================================== */

/*  スライド
------------------------------ */
#side{
background:rgba(140,134,115,.8); /* 背景色 */
padding:70px 20px 20px; /* メニューボタン分空ける */
margin:0;
position:fixed;
line-height:2;
height:100%;width:300px; /* (*1)同じにする */
top:0;right:0;
-ms-transform:translate(300px); /* (*1)同じにする */
-webkit-transform:translate(300px); /* (*1)同じにする */
transform:translate(300px); /* (*1)同じにする */
transition:all .3s;
z-index:1000
}
#side-inner{
padding:0 10px
}
#side-bg{
background:rgba(51,51,51,.5)/* 周りの背景色 */
}
/*  メニュー
------------------------------ */
#menu{
margin:10px auto
}
nav li a,nav li span{
background:#f8c8c8;
border-radius:5px;
color:#fff; /* メニュー文字色 */
margin:5px 0;
padding:0 15px;
}
nav li a:hover,nav li span:hover{
background:rgba(248,246,239,.5)
}
.sub-menu li a{
background:#726e61
}
/*  サブメニューを一列にするなら削除
------------------------------ */
.sub-menu li{
display:inline-block;
width:50%
}
/*  メニューの「>」
------------------------------ */
nav li span:after{
border-top:2px solid #fff; /* 色 */
border-right:2px solid #fff; /* 色 */
}
/*  メニューを開くボタン
------------------------------ */
#open{
background:#ffb0b8;
box-shadow:0px 3px 8px #ccc;
border:3px solid #fff;
height:40px;width:40px; /* 大きさ */
right:20px;top:20px; /* 位置 */
border-radius:20px;
display:inline-block;
position:absolute;
z-index:1001
}
#side.open{-ms-transform:translate(0);-webkit-transform:translate(0);transform:translate(0)}
#side-inner{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}
#side-bg{display:none;position:fixed;height:100%;width:100%;top:0;left:0;z-index:999;cursor:pointer}
#open.buttonclose{position:fixed}
#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)}
}