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%
}
body{
background:#fff;/* 背景色 */
color:#6d5f5d;/* 文字色 */
font-size:1.2em;/* 文字の大きさ */
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
}
/*  リンク
------------------------------ */
a{
color:#6d5f5d
}
a:hover{
color:#add8e6
}
#main a{
color:#bbd9d9;
text-decoration:underline;
text-decoration-color:#ccc /* 一部ブラウザのみ */
}
#index a{
background:#add8e6;
border-radius:3px;
color:#6d5f5d
}

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

#wrapper{
margin:20px auto;
width:1024px /* #mainの幅+#menuの幅+4*/
}
header{
min-height:50px
}
#contents{
background:url(images/back.jpg) no-repeat 0% 100%;
border:2px dashed #add8e6;
height:500px;/* 高さ */
text-align:left
}
#main,#menu{
height:100%
}
#menu{
float:left;
width:250px /* メニュー幅 */

}
#menu-inner{
height:100%;
overflow:auto;
padding:20px
}
#main{
float:right;
overflow:auto;
width:750px /* メイン幅 */
}
#main-inner{
padding:20px 
}
footer{
text-align:right
}

/* ===================================
index
=================================== */

#index{
background:url(./images/shougatsuback.png) #fff repeat 0% 0%;
background-attachment: fixed;
margin:20px;
text-align:left
}


table , td, th {
	border: 1px solid #595959;
	border-collapse: collapse;
}
td, th {
	padding: 3px;
	width: 150px;
	height: 25px;
	text-align:center
}
th {
	background: #f0e6cc;
}
.even {
	background: #fbf8f0;
}
.odd {
	background: #fefcf9;
}







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

nav{
padding:0 0 20px
}
nav li{
padding:5px 0
}
nav li a:hover{
color:#add8e6
}
nav li a,nav li span{
color:#6d5f5d;
font-weight:700;
display:block;
position:relative
}
nav li a:hover,nav li span:hover{
color:#add8e6
}
.sub-menu{
display:none;
margin:0;
overflow:hidden
}
.sub-menu li{
text-indent:1em
}
/*  メニューの「>」
------------------------------ */
nav li span:after{
border-top:2px solid #6d5f5d; /* 色 */
border-right:2px solid #6d5f5d; /* 色 */
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:.5s
}
nav li span.open:after{
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg);
transform:rotate(135deg)
}

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

h1{
font-size:1.4em;
text-align:left
}
h2{
color:#bbd9d9;
font-size:1.4em;
margin:10px 0
}
h2:before{
content:"\2605";
color:#6d5f5d;
font-size:1.4em
}
h3{
background:#add8e6;
border-radius:5px;
content:" ";
display:table;
font-size:1em;
margin:20px 0;
padding:0 10px
}
dt{
color:#7c9090;
font-weight:700;
margin:0 0 5px;
width:80%
}
dd{
margin:0 0 5px 2em;
width:80%
}
em{
font-style:normal;
font-weight:700
}
input,textarea{
background:#fff;
border:1px dotted;
margin:3px 0;
width:80%
}
textarea{
height:200px
}
hr{
border:0;
border-top:1px solid #ccc;
display:block;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#f8c8c8;
background:-webkit-linear-gradient(rgba(248,200,200,0) 50%, #f8c8c8 0%);
background:linear-gradient(rgba(248,200,200,0) 50%, #f8c8c8 0%)
}
.dcline{
border-left:8px solid #add8e6;
margin:5px 0;
padding:3px
}
.textbox{
background:#bbd9d9;
border-radius:5px;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#bbd9d9;
font-size:1.5em;
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 #6d5f5d
}

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

@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
margin:0;
padding:20px;
width:100%
}
#contents{
background:url(images/back.jpg) no-repeat 0 0
}
#contents,#menu,#main{
float:none;
height:auto;width:100%
}
#main{
padding:0;
overflow:visible
}
#main-inner{
padding:0 20px 20px
}
nav{
padding:0
}
nav li a,nav li span{
border-bottom:1px dashed #6d5f5d;
display:inline-block;
height:3em;line-height:3em;
width:100%
}
/* 画像の縮小表示 */
img{
height:auto;
max-width:100%
}
}

