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,body{
min-height:100%;
width:100%
}
html{
font-size:62.5%
}
body{
/* 以下背景色 */
background-color:#a6dfca;
background:-webkit-linear-gradient(top, #a9a9d2, #a6dfca);
background:linear-gradient(#a9a9d2, #a6dfca);
/* 以上背景色 */
color:#fff;/* 文字色 */
font-size:1.3em;/* 文字の大きさ */
font-family:'Segoe UI','游ゴシック Medium','Yu Gothic Medium','游ゴシック体',YuGothic,'Hiragino Kaku Gothic ProN','メイリオ',Meiryo,sans-serif;
letter-spacing:.1em;
line-height:1.7;
text-align:center
}
/*  リンク
------------------------------ */
a{
color:#fff
}
a:hover{
color:#ffc
}
#contents a{
text-decoration:underline
}

/* ===================================
基本
=================================== */

#wrapper{
margin:0 auto;
text-shadow:1px 1px 1px #999;
width:600px /* 全体の幅・大きさはここで変更 */
}
.header-inner{
padding:10px
}
#contents{
padding:20px;
text-align:left
}
footer{
border-top:1px solid #fff;
padding:5px 10px;
text-align:left
}
footer .sub{
text-align:right
}

/* ===================================
メニュー
=================================== */

#menu{
padding:10px 0;
text-align:left
}
nav li{
display:inline
}
nav li + li:before{
content:"｜"
}
nav li a{
color:#fff;
display:inline-block;
padding:0 10px
}
#open{display:none}

/* ===================================
見出し、枠、線
=================================== */

h1{
font-size:2.2rem;
margin:10px 0;
text-align:left
}
h2{
border-left:8px solid #f9e773;
font-size:1.6rem;
margin:20px 0;
padding-left:15px
}
h3{
border-bottom:1px dotted;
font-size:1.5rem;
margin:20px 0
}
h2:first-letter,h3:first-letter{
font-size:2.4rem;
margin-right:.1em
}
dt{
clear:both;
font-weight:700;
float:left;
margin:0 0 5px;
width:160px
}
dd{
margin:0 0 5px 170px
}
em{
font-style:normal;
font-weight:700
}
input,textarea{
background:#e1d7b8;
border:1px dotted #fff;
color:#999;
margin:3px 0;
width:250px
}
textarea{
height:50px
}
hr{
border:0;
border-top:1px solid #ccc;
display:block;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:rgba(140,134,115,.6);
padding:1px 5px
}
.dcline{
border-left:8px solid #fff;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#f9e773;
font-size:2rem;
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:4px 4px 5px #999
}

/* ===================================
スマホ、タブレット用
横幅600pxで切り替え
=================================== */

@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
width:100%
}
#contents{
padding:10px 20px
}
/* 画像の縮小表示 */
img{
height:auto;
max-width:100%
}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}

/* ===================================
スマホ、タブレット用メニュー
=================================== */

#menu{
margin-bottom:42px;  /* #openの高さ(32px)+10以上 */
padding:0;
border:0;
position:relative
}
nav{
background:#a8c3ce;
position:absolute;
width:100%;
left:0
}
nav ul{
display:none;
width:100%
}
nav li + li:before{
content:""
}
nav li{
display:inline-block;
text-align:left;
width:50% /* 一列ごとにするならここを100%に変更 */
}
nav li a{
border-bottom:1px solid #fff;
border-left:1px solid #fff;
margin:0 0 -1px -1px;
padding:10px; /* 枠の大きさはここを調整 */
display:block
}
nav li a:hover{
background:#a6dfca
}
/*  メニューを開くボタン
------------------------------ */
#open{
background:#a9a9d2;
display:block;
position:relative;
text-align:center;
height:32px;line-height:32px;
width:100%
}
#open:after{
background:url(image/nav-icon.png) no-repeat 10px 50%;
content:"";
display:inline-block;
position:absolute;
right:0;top:0;
height:32px;width:100%
}
}
/* ===================================
スマホ、タブレット用
横幅480pxで切り替え
=================================== */
@media screen and (max-width: 480px){
nav li{
width:100%
}
}