*{margin:0;padding:0}
div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav{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/back01.gif) #fff;/* 背景 */
color:#000;/* 文字色 */
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.5;
margin:20px 20px 70px;
text-align:center;
overflow-y:scroll;
overflow-wrap:break-word;
word-wrap:break-word
}
a{
color:#666
}
a:hover{
color:#c1b5a5
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
background:#fff;
border:1px solid #666;
margin:0 auto;
text-align:left;
width:750px /* 全体の幅・大きさはここで変更 */
}
/*--------------------------------------------------------
上(ヘッダー)
--------------------------------------------------------*/
header{
text-align:right
}
header a{
color:#000
}
#header-inner{
background-image:url(image/back02.jpg);
border:1px solid #666;
margin:20px;
padding:10px;
min-height:150px
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
background:#666;
font-weight:700;
line-height:1;
width:100%;
text-align:center
}
nav li{
display:inline-block; /* 横並び */
position:relative; /* サブメニュー表示位置の基準 */
height:2em;line-height:2em; /* メニュー高さ */
}
nav li a,nav li span{
color:#fff;
display:inline-block;
padding:0 5px;
text-decoration:none
}
nav li a:hover,nav li span:hover{
background:rgba(102,102,102,.6);
transition:.6s
}
nav li+li:before{
content:"│"
}
/* サブメニュー */
.sub-menu{
background:rgba(0,0,0,.8);
position:absolute;
width:180px; /* サブメニュー幅 */
z-index:20
}
.sub-menu li{
display:block; /* 横並びをリセット */
visibility:hidden; /* 隠す */
overflow:hidden; /* 隠す */
height:0; /* 隠す */
width:100%
}
.sub-menu li:before{
content:none
}
.sub-menu li a{
display:block
}
nav li:hover .sub-menu li{
visibility:visible;
overflow:visible;
height:3em;line-height:3em; /* サブメニュー高さ */
transition: .5s
}
#open{display:none}
/*--------------------------------------------------------
メイン
#leftcolumnと#rightcolumnのwidthを足して
#wrapperの幅を超えないように
--------------------------------------------------------*/
#container{
padding:20px
}
#container a{
text-decoration:underline
}
#column{
width:100%
}
#leftcolumn{
float:left;
width:400px
}
#rightcolumn{
float:right;
text-align:center;
width:250px
}
/*--------------------------------------------------------
下(フッター)
--------------------------------------------------------*/
footer{
padding:10px;
text-align:right
}
.footer-inner{
background:#666;
color:#fff;
margin:10px 0
}
.footer-inner a{
color:#fff
}
/*--------------------------------------------------------
ページ上部へのリンク
--------------------------------------------------------*/
#pagetop {/* 位置はscroll.jsで設定 */
background:#666;/* 背景 */
color:#fff;/* 色 */
border-radius:10px;
box-sizing:border-box;
display:block;
padding:10px;
position:fixed;
text-align:center;
z-index:50
}
#pagetop:hover {
background:rgba(0,0,0,.9)
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:1em;
letter-spacing:.1em;
margin:0 0 .5em
}
h2{
background-image:url(image/back01.gif);
border-left:8px solid #666;
font-size:1.1em;
margin:1em 0;
padding-left:10px;
text-align:right
}
h3{
border-bottom:1px dashed #666;
border-top:1px dashed #666;
font-size:1em;
margin:1em 0;
padding:2px
}
h4{
background-image:url(image/back01.gif);
border-left:8px solid #666;
font-size:1.1em;
margin:1em 0;
padding-left:10px;
text-align:center
}
dt{
font-weight:700;
margin:0 0 5px
}
dd{
background:#ccc;
margin:0 0 5px 2em
}
em{
font-weight:700
}
input,textarea{
background:#ccc;
border:1px solid;
margin:3px 0;
width:80%
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:rgb(70, 71, 71); /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.79, #fff), color-stop(0.8, #778080), color-stop(1, #778080));
background:-webkit-linear-gradient(transparent 80%, #778080 0%);
background:linear-gradient(transparent 80%, #778080 0%)
}
.dcline{
border-left:8px solid #c00;
margin:5px 0;
padding:3px
}
.textbox{
border:1px dotted;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#ccc;
font-size:1.2em;
font-weight:700;
margin:1em 0
}
.txt{
border-left:1px solid;
color:#999;
margin:1em;
padding:0 0 0 1em
}
.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}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
font-size:1.4em
}
#wrapper{
position:relative; /* メニュー表示位置の基準 */
width:100%
}
header{
text-align:center
}
#header-inner{
margin-top:40px
}
#rightcolumn,#leftcolumn{
float:none;
width:100%
}
#rightcolumn{
border-top:1px dashed #000;
margin-top:20px
}
/* 画像の縮小表示 */
img{
max-width:100%;
height:auto
}
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(0,0,0,.8); /* メニューの背景色 */
text-align:left;
display:none;
position:absolute; /* 表示位置固定 */
top:0;left:0; /* #wrapperを基準とした位置 */
padding-top:50px; /* メニューを開くボタン分空ける */
width:100%;
z-index:20
}
nav li{
display:block; /* 横並び解除 */
height:auto;line-height:inherit /* 高さリセット */
}
nav li a,nav li span{
display:block;
margin:0;
position:relative;
padding:15px 20px /* リンクの余白 一列の高さはここで調節 */
}
nav li+li:before{
content:none
}
nav li+li{
border-top:1px solid #000;
box-shadow:0 -1px #999
}
/* サブメニュー */
.sub-menu{
border-top:1px solid #000;
box-shadow:0 -1px #999;
background:none;
position:static;
display:none; /* 隠す */
width:100%;
z-index:auto
}
.sub-menu li{
border-top:0;
box-shadow:none;
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:.5s
}
nav li span.open:after {
-ms-transform:rotate(135deg);
-webkit-transform:rotate(135deg);
transform:rotate(135deg)
}
 /* メニューを開くボタン */
#open{
display:inline-block;
position:absolute;
top:0;left:0;   /* #wrapperを基準とした位置 */
height:40px;width:100%; /* 大きさ */
z-index:30
}
#open .close{
transition:.3s
}
#open-icon,#open-icon:before,#open-icon:after{
background:#000 /* 線の色 */
}
#open-icon{display:block;margin:-2px 0 0 0;position:absolute;top:50%;left:20px;  height:4px;width:30px}
#open-icon:before,#open-icon:after{content:"";display:block;position:absolute;top:50%;left:0;height:4px;width:30px;transition:.3s}
#open-icon:before{margin-top:-13px}
#open-icon:after{margin-top:9px}
#open .close{background:transparent;color:#fff}
#open .close:before,#open .close:after{margin-top:0;background:#fff}
#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)}
 
.open-text {
display:inline-block;
font-size:1.2em;
font-weight:700; 
height:40px;line-height:40px;
position:absolute;
left:60px;   /* #wrapperを基準とした位置 */
z-index:30
}
}