*{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%
}
body{
background:url(image/back02.gif) #ffd8d5 repeat-y fixed 50% 50%;/* 背景 */
color:#8c8673;/* 文字色 */
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:2;
text-align:center;
overflow-y:scroll;
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:#fe9599;
text-decoration:underline
}
a:hover{
color:#fe8c92
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
padding:20px 50px;
margin:0 auto;
text-align:left;
width:1000px /* 全体の幅 */
/* レース背景を使用する場合は600or1000 1000の場合はbodyの背景をback02.gifにする */
}
/*--------------------------------------------------------
上(ヘッダー)
--------------------------------------------------------*/
header{
text-align:center
}
header a{
color:#8c8673;
text-decoration:none
}
.header-inner{
padding:0 0 10px 0;
min-height:50px
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
font-weight:700;
margin:10px 0;
line-height:1;
text-align:center;
width:100%
}
nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav > ul > li+li:nth-child(2n){
background:url(image/a02.png) no-repeat 0 50%
}
nav > ul > li+li:nth-child(2n+1){
background:url(image/a03.png) no-repeat 0 50%
}
nav li a,nav li span{
color:#fdc1c1;
display:inline-block;
padding:0 0 0 15px;
text-decoration:none
}
/* サブメニュー */
.sub-menu{
background:#fed0cc;
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:#8c8673;
display:block;
padding:0
}
.sub-menu li a:hover{
background:#fdc1c1;
color:#fff
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:3em;line-height:3em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#contents{
padding:10px 0
}
#contents a{text-decoration:underline #8c8673}
#contents a img{text-decoration:none}
/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer{
border-top:1px solid #8c8673;
padding:2px 0 2px 10px;
text-align:right;
width:100%
}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:rgba(255,198,193,.8);/* 背景 */
color:#fff;/* 色 */
border-radius:5px;
display:block;
padding:5px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:hover {
background:rgba(255,198,193,.5)
}
#fl a {
display:inline-block;
margin:10px 0
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1.1em;
margin:0 0 0.5em;
text-align:left
}
h2{
background:url(image/a01.png) no-repeat;
border-bottom:1px dotted;
font-size:1em;
margin:1.5em 0;
padding-left:20px;
line-height:20px
}
h1 span{color:#fe9599}
h1 span,h2 span{color:#fe8c92}

h3{
background:url(image/a04.png) no-repeat 0 50%;
font-size:1em;
font-weight:400;
line-height:1em;
margin:1.5em 0;
padding-left:20px
}
dt{
color:#c4c48a;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
width:150px
}
dd{
border-bottom:1px dotted #8c8673;
margin:0 0 5px 160px
}
em{
font-weight:700
}
input,textarea{
background:#ffd8d5;
border:1px solid;
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:#ffd6da;
padding:1px 5px
}
.dcline{
border-left:8px solid #fe9599;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
text-align:center
}
.title{
color:#fe9599;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px solid;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#ffd8d5;
border-radius:3px;
padding:5px
}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
background:none #fff;
font-size:1.4em
}
#wrapper{
background:rgba(255,255,255,.5);
padding:20px 20px 60px;
width:100%
}
header{position:relative}
h1{line-height:1;min-height:40px;padding-right:50px}
.line{width:100%}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
img{max-width:100%;height:auto} /* 画像の縮小表示 */
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(255,198,193,.8); /* メニューの背景色 */
padding:0;margin:0;
display:none;
position:absolute; /* 表示位置固定 */
left:0; /* 位置 */
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav > ul > li+li:nth-child(2n){
background:none
}
nav > ul > li+li:nth-child(2n+1){
background:none
}
nav li a,nav li span,.sub-menu li a{
color:#8c8673;
display:block;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}
nav li a:hover,nav li span:hover{
background:#fdc1c1;
color:#fff;
letter-spacing:1em
}
/* サブメニュー */
.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: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: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:#fe8c92;
display:inline-block;
position:absolute;
height:40px;width:40px; /* 大きさ */
top:0;right:0 /* headerを基準とした位置 */
}
#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)}
}