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:50%
}
body{
background:url(image/back03.png) #ffffff00;/* 背景 */
color:#3e5479; /* 文字色 */
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.5;
padding:20px;
text-align:center;
height:1%
}
/*  リンク
------------------------------ */
a{
color:#3e5479
}
header a,footer a{
color:#ffffff
}
#rightcolumn a{
color:#3e5479;
text-decoration: none
}
#rightcolumn a:hover{
background:#2b4bff00;
border-radius:20px;
color:#ffc400;
text-decoration:none;
transition:.6s
}

/* ===================================
基本
=================================== */

#wrapper{
background:#f5f1e5;
border:1px solid #000000;
border-radius:20px;
box-shadow:5px 5px 4px rgba(0, 0, 0, 0.8);
margin:0 auto 20px;
padding-bottom:10px; /* footerの高さと同じ */
position:relative;
text-align:left;
max-width:800px; /* 全体の幅・大きさはここで変更 */
height:auto !important;
height:0%;
min-height:0%
}
header{
background:url(image/back01.png) repeat-x 50% 0;
border-radius:20px 20px 0 0
}
#header-inner{
color:#000000;
padding:10px 20px;
min-height:100px
}
#rightcolumn-wrap{ 
float:right;
margin-left:-250px; /* (※1)と同じだけマイナス */
width:100%
}  
#rightcolumn{
margin-left:250px; /* (※1)と同じ */
padding:20px;
position:right
}
#leftcolumn-wrap{
float:left;
width:250px; /* 左側の幅(※1) */
}
#leftcolumn{
padding:20px;
text-align:left
}
#column{
padding:0px
}
footer{
background: url(image/back02.png) repeat-x #2f3c7500 0 100%;
bottom:0;
border-radius: 0 0 20px 20px;
padding:15px 20px 10px 0;
position:absolute;
text-align:right;
height:50px;
width:100%
}
/*  文字の縁取り
------------------------------ */



/* ===================================
index
=================================== */

#index{
height:auto
}
#index #wrapper{
padding:0;
max-width:500px;
height:auto;
min-height:inherit
}
#index footer{
position:static
}

/* ===================================
メニュー
=================================== */

#menu{
display:block;
margin:0 auto
}
nav span{
background:url(image/back04.png);
color:#ffffff;
display:block;
font-weight:700;
line-height:2em
}
nav li{
display:block
}
nav li ul{
margin:10px 0 20px
}
nav li ul li{
border-bottom:1px dashed
}
#menu a{
color:#000000;
display:block;
padding:3px;
position:relative;
transition:.6s
}
#menu a:hover{
color:#3e5479;
letter-spacing:.3em
}
/*  メニューを開くボタン、前に戻るボタン非表示
------------------------------ */
#open,#back{display:none}

/* ===================================
ページ上部へのリンク、著作権表示
=================================== */

#pagetop{
background:rgba(255, 255, 255, 0.7);/* 背景 */
color:#000000;/* 色 */
border-radius:10px;
box-sizing:border-box;
display:block;
padding:10px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:hover{
background:rgba(255, 255, 255, 0)
}
#fl a{
color:#fff;
display:inline-block;
margin-top:10px
}

/* ===================================
見出し、枠、線
=================================== */

h1{
font-size:1.4em;
line-height:1;
margin:0 0 .5em
}
h2{
border-bottom:1px solid;
font-size:1.1em;
margin:5px 0 10px
}
h2:first-letter{
font-size:1.5em
}
h3{
background:url(image/icon02.gif) no-repeat 0 50%;
border-bottom:1px dotted;
font-size:1em;
margin:20px 0;
padding-left:13px
}
dt{
clear:both;
font-weight:700;
float:left;
margin:0 0 5px;
width:12em
}
dd{
border-bottom:dotted 1px;
margin:0 0 5px 12em
}
#leftcolumn dt{
float:none;
clear:none;
padding:.2em 0;
margin:10px 0;
width:auto
}
#leftcolumn dd{
border:0;
margin:0 0 5px 1em
}
em{
background:#f5f1e5;
border-radius:5px;
font-weight:700;
padding:0 .10em;
font-style:normal
}
input,textarea{
background:#ffffff;
border:1px solid;
margin:6px 0;
width:250px
}
textarea{
height:50px
}
#leftcolumn input,#leftcolumn textarea{
width:100%
}
hr{
border:0;
border-top:1px solid #cccccc;
display:block;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#3e5479;
background:-webkit-linear-gradient(rgba(211,102,102,0) 80%, #d36666 0%);
background:linear-gradient(rgba(211,102,102,0) 80%, #d36666 0%)

}
.dcline{
border-left:8px solid #3e5479;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
font-size:0.9em;
padding:1em 0;
text-align:center
}
.title{
color:#3e5479;
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.txt{
border-left:1px dotted;
color:#3e547981;
margin:1em;
padding:0 0 0 1em
}
.frame{
background:#3e5479;
padding:3px;
border-radius:3px;
box-shadow:4px 4px 4px #cccccc00
}
.box1{
background:#3e5479;
border-radius:1x;
color:#fff;
padding:10px;
margin:1em 0
}
.box2{
background:#a31818;
border-radius:1px;
color:#ffffff00;
padding:10px;
margin:1em 0
}
.box1 a,.box2 a{
background:#a5abb400
}
/*  文字の下の線
------------------------------ */
/* bodyのfont-sizeを変更したら数値を変更 */
/* 2.6 = font-size:1.3 x line-height:2 */
#contents p{
padding-bottom:0.1em;
background-color:#ffffff00;
background-image:-webkit-linear-gradient(left, #ffffff 1.1px, rgba(255,255,255,0) 1px), -webkit-linear-gradient(top, #666 1.1px, rgba(102,102,102,0) 1px);
background-image:linear-gradient(to right, #ffffff00 1.1px, rgba(255,255,255,0) 1px), linear-gradient(to bottom, #666 1.1px, rgba(102,102,102,0) 1px);
background-size:2px 2.6rem;
line-height:2
}
/* ===================================
横幅840pxで切り替え
=================================== */
@media screen and (max-width: 800px){
body{
padding:20px 20px 60px
}
#wrapper{
margin:0 auto 60px
}
dt{
float:none;
clear:none
}
dd{
margin-left:20px
}
/*  画像の縮小表示
------------------------------ */
img{
height:auto;
max-width:100%
}
}
/* ===================================
スマホ、タブレット用
横幅600pxで切り替え
=================================== */

@media screen and (max-width: 600px){
body{
font-size:1.5em;
padding:10px 20px 60px;
height:auto
}
#wrapper{
margin:10px 0;
width:auto
}
h1:not(.index){
font-size:1.1em;
padding-right:100px; /* メニューを開くボタン分 */
min-height:40px;
margin:0 0 .2em
}
#rightcolumn-wrap{
float:none;
margin:0
}
#rightcolumn{
margin:0;
padding:10px 20px;
position:static
}
#leftcolumn-wrap{
float:none;
width:100%
}
#leftcolumn{
padding:0 15px
}

/*  文字の下の線
------------------------------ */
/* bodyのfont-sizeを変更したら数値を変更 */
/* 3 = font-size:1.5 x line-height:2 */
#contents p{
background-size:2px 3rem;
line-height:2
}

/* ===================================
スマホ、タブレット用メニュー
=================================== */

/*  スライド
------------------------------ */
#leftcolumn-wrap{
background:#f5f1e5; /* 背景色 */
padding:70px 20px 20px; /* メニューボタン分空ける */
line-height:2;
margin:0;
position:fixed;
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-bg{
background:rgba(62, 84, 121, 0.473)/* 周りの背景色 */
}
/*  メニューを開くボタン/前に戻るボタン
------------------------------ */
#open,#back{
background:#f5f1e5;
border:3px solid;
border-radius:5px;
color:#3e5479; /* 文字色 */
display:inline-block;
position:absolute;
text-align:center;
height:40px;width:40px; /* 大きさ */
top:10px;right:15px; /* メニューを開くボタンの位置 */
z-index:1001
}
#open-icon,#open-icon:before,#open-icon:after{
background:#3e5479/* 線の色 */
}
/*  前に戻るボタン
------------------------------ */
#back{
right:60px; /* 位置 */
z-index:auto
}
#back a{
color:#3e5479;
display:block;
height:100%
}
#back a:before{
content:'\21E6';
display:block;
font-size:17px;
line-height:17px;
position:relative;
top:5px;
width:100%
}
#leftcolumn{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}
#leftcolumn-wrap.open{-ms-transform:translate(0);-webkit-transform:translate(0);transform:translate(0)}
#side-bg{display:none;position:fixed;height:100%;width:100%;top:0;left:0;z-index:999;cursor:pointer}
.open-text,.back-text{font-size:10px;letter-spacing:0;position:absolute;bottom:0;left:0;width:100%}/* ボタン文字サイズ */
#open.buttonclose{position:fixed;right:35px}
#open-icon{display:block;margin:-1px 0 0 -9px;position:absolute;top:14px;left:50%;height:2px;width:18px}
#open-icon:before,#open-icon:after{content:"";display:block;position:absolute;top:50%;left:0;height:2px;width:18px;transition:.3s}
#open-icon:before{margin-top:-7px}
#open-icon:after{margin-top:5px}
#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)}

}
