html,body,div,span,iframe,h1,h2,h3,h4,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,textarea{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}
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}



.if-container {
    display: inline-block;
    margin: 0 auto;
    height: 600px;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.ifrm{border:none;display:block;height:100%;width:100%}
.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}
/* この上はいじらないほうがいいです */

html{
font-size:62.5%;
position:relative;
height:100%;min-height:100%
}

p{font-size: 14px;}

body {cursor: url(/media/tcursor.png), auto;
    color: #083844;
       font-family: 'Newsreader', sans-serif;
    font-size: 1.2em;
    text-align: left;
    letter-spacing: .1em;
    line-height: 1.5;
    padding: 0px 0px 0px 20px;
	border-right: solid 2px #000;
}
body:active {
  cursor: url('/media/tcursor2.png'), auto;
}

::-webkit-scrollbar-track {
    background-color: #083844;
} 
::-webkit-scrollbar-thumb {
    background-color: #0B586C;
}
::-webkit-scrollbar {
    width: 6px;
}

a{
color:#c32;
text-decoration:underline
}
#page a{
text-decoration:none
}
a:hover{
color:#a3a328
}
a:active{
color:#a3a328
}

#page a:hover{
color:#FFE58C
}
/*--------------------------------------------------------
インラインフレーム外設定
--------------------------------------------------------*/
#page {
    background: #083844 url(/media/background.png) fixed;
    margin: 0 6%;
    width: 1155px;
    color: #083844;
    padding: 0;
    height: 100%;
}
header {
    background: #000 url(/media/top.png);
    background-position: right;
    position: relative;
    top: 0;
    left: 0;
    min-height: 200px;
    width: 100%;
}
#header-inner{
padding:10px 20px
}
#contents {
    height: 603px;
    width: 1156px;
    background: black;
    margin: 0 auto;
}
#main-wrap{
float:right;
margin-left:-300px;/* (※1)と同じだけマイナス */
width:100%;height:100%
}
#rightcolumn {
    margin-left: 150px;
    position: relative;
}
#rightcolumn-inner{
height:100%
}
#leftcolumn {float:left;
	font: 9px / 12px georgia, tahoma, verdana, arial, helvetica, sans-serif;
    text-transform: uppercase;
    color: #333;
    border-bottom: 5px solid #000;
    width: 170px;
}
#leftcolumn-inner {
 
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#leftcolumn-inner, #rightcolumn-inner {
    /* padding: 20px; */
}
footer {
    border-top: #000000 solid 20px;
    /* height: 72px; */
    width: 100%;
}
#footer-inner{
padding:10px 20px;
text-align:center
}

.separator h3 { background: transparent url(/media/divider1.png) no-repeat; }
.separator h3:hover {background: transparent url(/media/dividerhov1.png) no-repeat;}
.separator h3 {
    /* width: 170px; */
    height: 30px;
    margin: 0 0 -1px 0;
}

#leftcolumn .block {
    /* background: #083844; */
    /* border-radius: 5px; */
    color: #000000;
    clear: both;
    margin: 0 auto 10px;
    /* padding: 8px; */
    word-wrap: break-word;
}
.block {
    /* background: black; */
  
    /* border-radius: 5px; */
    clear: both;
    margin: 0 auto 10px;
    /* padding: 20px; */
    word-wrap: break-word;
}
.block-inner {
    height: auto;
    background: #fff;
    /* border-radius: 5px; */
    padding: 8px;
}
#open{
display:none
}
/*--------------------------------------------------------
index
--------------------------------------------------------*/
#index{
margin:20px;
height:auto
}
#index .block{
width:400px
}
/*--------------------------------------------------------
ページ上部へのリンク
--------------------------------------------------------*/
#pagetop{/* 位置はscroll.jsで設定 */
background:rgba(131,119,93,.8);/* 背景 */
color:#fff;/* 色 */
height:50px;width:50px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:20px;
padding-top:22px;
position:fixed;
text-align:center;
z-index:10
}
#pagetop:before{
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:6px;
width:100%
}
#pagetop:hover{
background:rgba(222,222,222,.8)
}
#fl a{
background:#083844;
border-radius:5px;
color:#fff;
display:inline-block;
padding:5px;
margin:10px 0
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu {
    /* background: #083844; */
    font-size: 1.2em;
    text-align: justify;
    width: 100%;
}
nav li {font-size: larger;
     margin: 0 15px;
    border-top: 1px dotted #333;
    padding: 8px 0;
    text-transform: uppercase;
}
nav li a{
color:#c32;
display:inline-block;
margin:0 10px
}

/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
font-size:2em;
letter-spacing:.3em;
padding:0 0 .5em 0
}
h2,.h2{
color:#170303;
font-size:1.5em;
font-weight:700;
margin:20px 0;
padding:.2em 0;
position:relative;
border-bottom:2px solid
}
h2:first-letter,.h2:first-letter{
color:#083844;
font-size:1.7em
}
h2::after,.h2::after{
background:#083844;
position:absolute;
bottom:-2px;left:0;
content:'';
height:2px;width:20%;
z-index:2
}
h3, .h3 {
    font-size: 1.3em;
    border-bottom: 1px dotted;
     font-weight: 400; 
     margin: 20px 0;
}
dt{
font-weight:700;
float:left;
margin:0 0 5px;
width:12em
}
dd{
border-bottom:1px solid;
margin:0 0 5px 13em
}
dl:after{
content:"";
clear:both;
height:0;
display:block;
visibility:hidden
}
#leftcolumn dt{
color:#d5f2eb;
float:none
}
#leftcolumn dd{
margin-left:1em
}
em{
font-weight:700
}
input,textarea{
background:#083844;
border:1px solid #fff;
color:#fff;
margin:3px 0;
width:100%
}
#leftcolumn input,#leftcolumn textarea{
width:180px
}
textarea{
height:50px
}
hr{
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker{
background:#d5f2eb; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.49, #fff), color-stop(0.5, #d5f2eb), color-stop(1, #d5f2eb));
background:-webkit-linear-gradient(transparent 50%, #d5f2eb 0%);
background:linear-gradient(transparent 50%, #d5f2eb 0%)
}
.ln01{
border-left:5px solid #083844;
margin:5px 0;
padding:3px
}
.ln02{
border-left:5px solid #b2dcd2;
margin:5px 0;
padding:3px
}
.textbox{
border:1px solid;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
font-size:1.5em;
font-weight:700;
margin:2em 0;
text-align:right
}
.title:first-letter{
color:#b2dcd2;
font-size:1.6em
}
.txt{
border-left:1px dotted;
color:#999;
margin:1em;
padding:0 0 0 1em
}
.frame{
border:6px solid #fff;
border-radius:3px;
box-shadow:4px 4px 4px #ccc;
-webkit-box-shadow:4px 4px 4px #ccc
}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/

@media screen and (max-width: 600px){

  body{
    padding: 0 10px;
    border-right: none;
  }

  #page{
    width: 100%;
    margin: 0;
    background-size: cover;
  }

    #contents {
        width: 100%;
        height: 1000px;
    }


  
  #main-wrap{
    float: none;
    margin-left: 0;
    width: 100%;
    height: auto;
  }

  #rightcolumn{
    margin-left: 0;
  }


  #rightcolumn-inner{
    height: auto;
  }
  .block{
    min-height: 600px; 
  }

  #index .block{
    width: 100%;}

  header{height:50px;
  }

  nav li{
    margin: 0 5px;
    font-size: 1em;
  }


     .if-container {
        height: 800px;
    }


#leftcolumn{
  

background:rgba(0,0,0,.8); /* 背景色 */
padding:70px 20px 20px; /* メニューボタン分上を空ける */
height:100%;width:300px; /* (*1)同じにする */
transition:all .3s;
transform:translate(300px); /* (*1)同じにする */
-ms-transform:translate(300px); /* (*1)同じにする */
-webkit-transform:translate(300px); /* (*1)同じにする */



position:fixed;
top:0;right:0;
z-index:1000
}
#leftcolumn.open{
transform:translate(0);
-ms-transform:translate(0);
-webkit-transform:translate(0)
}

    #leftcolumn a {
        /* color: #083844; */
        /* background: #170303; */
        border-radius: 5px;
        display: inline-block;
        margin: 3px 3px 3px 0;
        padding: 3px;
    }
}
#leftcolumn a:hover{
background:#fff
}
#leftcolumn a img{
vertical-align:bottom
}

#leftcolumn{float:none;width:auto;padding:0}
#leftcolumn-inner {
    overflow: hidden;
    padding: 10px;
}
/* サイドを開くボタン */    #open {
        float: left;
        background: #c32;
        color: lemonchiffon;
        border: 1px dashed #fff;
        /* border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; */
        display: block;
        padding: 10px;
        position: absolute;
        height: 40px;
        width: 120px;
        top: 20px;
        /* right: 0px; */
        z-index: 1001;
        -ms-transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }

.open-text{height:40px;margin-left:40px}
#open-icon,#open-icon:before,#open-icon:after{background:#fff} /* 線の色 */
#open-icon{display:block;margin:-1px 0 0 0;position:absolute;top: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)
}
@media screen and (min-width: 601px){
  #open {
    display: none;
  }
}
