*{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{
font-size:62.5%;
position: relative;
min-height:100%
}
body{
background:#fff url(image/back01.gif); /* 背景 */
color:#483b3c;/* 文字色 */
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.6;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word;
height:100%;width:100%
}
a{
color:#cf5c62
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
text-align:left
}
/*--------------------------------------------------------
上
--------------------------------------------------------*/
header{
position:relative;
top:0;left:0;
width:100%;
min-width:1032px; /* #contentsのwidthと同じ */
z-index:20
}
#header-inner{
padding:10px 20px;
width:100%
}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#contents{
margin:0 auto;
width:1032px; /* 全体の幅・大きさはここで変更 */
}
#contents-inner{
margin:0 auto;
padding:20px 0;
width:922px /* #contents-boxのwidth+42 */
}
.box-inner{
background:#fff;
padding:10px
}
#contents a{
text-decoration:underline
}
/*--------------------------------------------------------
下
--------------------------------------------------------*/
footer{
position:absolute;
bottom:0;left:0;
width:100%;
min-width:1032px; /* #contentsのwidthと同じ */
z-index:10
}
#footer-inner{
padding:10px 20px;
text-align:center
}
footer a{
color:#483b3c
}
/*--------------------------------------------------------
index
--------------------------------------------------------*/
#indexcontents-inner{
margin:0 auto;
width:482px
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
background:#87af5f;
border-top:1px dashed #483b3c;
border-bottom:1px dashed #483b3c;
font-size:1.2em;
line-height:1;
margin:10px 0 0;
position:absolute;
text-align:center;
bottom:0;left:0;
width:100%
}
nav li{
background:#857663;
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav > ul > li+li{
border-left:1px dashed #483b3c
}
nav li a,nav li span{
color:#fff;
display:inline-block;
padding:0 5px
}
nav li a:hover,nav li span:hover{
background:#e46565
}
/* サブメニュー */
.sub-menu{
background:#87af5f;
position:absolute;
width:200px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
background:none;
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li a{
color:#fff;
display:block
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:3em;line-height:3em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:#87af5f;/* 背景 */
color:#fff;/* 色 */
border:3px solid #483b3c;
box-shadow:0 1px 5px #483b3c;
height:50px;width:50px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:16px;
padding-top:22px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:before {
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:7px;
width:100%
}
#pagetop:hover,#fl a:hover {
background:#e46565
}
#fl a {
background:rgba(189,105,101,.5);
border-radius:5px;
color:#fff;
margin:10px 0;
padding:5px
}
/*--------------------------------------------------------
苺の枠
--------------------------------------------------------*/
#contents-box{background-image:url(image/f-migi.gif),url(image/f-hidari.gif);background-position:top right,top left;background-repeat:repeat-y,repeat-y;padding:0 21px}
.u01{background:url(image/f-ue.gif) repeat-x;height:37px;margin:0 21px}
.s01{background:url(image/f-sita.gif) repeat-x;height:37px;margin:0 21px}
.box-top{background-image:url(image/f-kado1.gif),url(image/f-kado2.gif);background-position:top left,top right;background-repeat:no-repeat,no-repeat;height:37px}
.box-bottom{background-image:url(image/f-kado3.gif),url(image/f-kado4.gif);background-position:top left,top right;background-repeat:no-repeat,no-repeat;height:37px}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:2em;
line-height:1;
padding:0 0 .5em
}
h2{
font-size:1.2em;
color:#fff;
margin:20px 0;
padding:0 1em;
background:#e46565;
border-radius:5px;
border:1px dashed #483b3c;
box-shadow:0 0 0 4px #e46565
}
h3{
font-size:1.3em;
border-bottom:1px dashed;
font-weight:400;
line-height:18px;
margin:20px 0
}
dt{
color:#afc995;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
width:12em
}
dd{
border-bottom:1px dashed #ccc;
margin:0 0 5px 13em
}
em{
background:#ffe796; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #ffe796), color-stop(1, #ffe796));
background:-webkit-linear-gradient(transparent 50%, #ffe796 0%);
background:linear-gradient(transparent 50%, #ffe796 0%)
}
input,textarea{
background:#dadada;
border:1px solid;
margin:3px 0;
width:400px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#d7e4ca;
padding:1px 5px
}
.dcline{
border-left:5px solid;
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
}
.title:first-letter{
color:#e46565;
font-size:1.6em
}
.txt{
border-left:1px dotted;
color:#999;
margin:1em;
padding:0 0 0 1em
}
.middle{
vertical-align:middle
}
.frame{
background:#fff;
border-radius:3px;
padding:6px;
box-shadow:3px 3px 3px #ccc
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅768pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 768px){
header,footer{
min-width:inherit
}
#contents{
width:100%
}
#contents-inner{
margin:0 auto;
width:100%
}}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.3em
}
header{
background:url(image/f-ue.gif) repeat-x 100% 100%;
min-height:100px
}
#header-inner{
padding:10px 20px 40px 
}
h1{
padding-right:60px;
min-height:40px
}
#indexcontents-box h1{
padding-right:0;
min-height:inherit
}
#contents,#contents-inner,#contents-box,#indexcontents-inner,#indexcontents-box{
width:100%
}
#contents,#indexcontents{
background:url(image/f-sita.gif) repeat-x 100% 100%
}
#contents-inner,#indexcontents-inner{
padding:0 0 37px
}
#contents a{
background:rgba(228,101,101,.5);
border-radius:5px;
color:#483b3c;
display:inline-block;
margin:3px 3px 3px 0;
padding:3px
}
#contents a.bg-none{
background:none;
border-radius:0;
margin:5px 5px 5px 0;
padding:0
}
#contents a img{
vertical-align:bottom
}
.box-inner{
padding:20px
}
input,textarea{
width:200px
}
#contents-box,.box-bottom,.box-top,.u01,.s01{background:none;height:auto}
#contents-box{padding:0}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
img{max-width:100%;height:auto} /* 画像の縮小表示 */
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
margin:0;
display:none;
bottom:inherit;
text-align:left;
z-index:20
}
nav li{
background:none;
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav > ul > li+li{
border-left:0
}
nav li a,nav li span{
display:block;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}
/* サブメニュー */
.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{
color:#483b3c
}
.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 #483b3c;/* メニュー「>」の色 */
border-right:3px solid #483b3c;/* メニュー「>」の色 */
content:"";
display:block;
margin-top:-5px;
position:absolute;
top:50%;right:20px;
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:#87af5f;
border:3px solid #fff;
border-radius:20px;
box-shadow:0 1px 5px #483b3c;
display:inline-block;
position:absolute;
height:40px;width:40px;/* 大きさ */
top:10px;right:20px/* 位置 */
}
#open-icon,#open-icon:before,#open-icon:after{
background:#483b3c; /* 線の色 */
}
#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)}
}