﻿*{margin:0;padding:0}
body,div,h1,h2,h3,p,ul,li,input,textarea,table,tr,th,td,footer,header,nav,section{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%;
height:100%
}
body{
background:#801a33; /* 背景:メイン部分の背景は#wrapperで指定 */
color:#fff; /* 文字色:メイン部分の文字色は#wrapperで指定 */
font-size:1.2em;/* 文字の大きさ */
font-family:'Linden Hill',Verdana,Roboto,'游ゴシック','Yu Gothic','游ゴシック体','YuGothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
letter-spacing:.1em;
line-height:1.5;
text-align:center;
overflow-wrap:break-word;
word-wrap:break-word;
height:100%
}
a{
color:#fdc0c0
}
a:hover{
color:#ccc;
text-decoration:underline
}
/*--------------------------------------------------------
基本
--------------------------------------------------------*/
#wrapper{
background:#000; /* 右側の背景 */
color:#fff;/* 文字色 */
margin:0 auto;
text-align:left;
position:relative;
min-height:100%
}
#contents{
min-height:100%
}
header{
position:absolute;
width:350px; /* (※1)と同じ */
left:0;top:0;
z-index:10
}
#header-inner{
color:#fff;
padding:20px 90px 20px 30px;
text-align:center
}
#main-wrap{ 
width:100%;
float:right;
margin-left:-350px /* (※1)と同じだけマイナス */
}  
#rightcolumn{
position:relative;
margin-left:350px /* (※1)と同じ */
} 
#rightcolumn-inner{
padding:20px
} 
#leftcolumn{
float:left
}
#leftcolumn,#leftcolumn-sub{
background:url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back01.gif); /* 左側の背景 */
color:#fff;
width:350px /* (※1) */
}
#leftcolumn-inner{
background:#000;
border-radius:0 0 10px 10px;
padding:0 10px 10px
}
#leftcolumn-sub-inner{
display:inline-block;
background:#000;
border-radius:10px;
padding:10px;
width:100%
}
.leftcolumn-bg{
background:url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back02.gif) repeat-y 290px 0; /* 290=#leftcolumnのwidth-60 */
padding:0 80px 3em 20px;
width:350px; /* (※1)と同じ */
}
/*--------------------------------------------------------
メニュー
--------------------------------------------------------*/
#menu{
display:block;
line-height:1;
text-align:center
}
nav li a,nav li span{
color:#fff;/* メニューの文字色 */
display:block;
font-size:1.3em;
margin:5px 0;
padding:5px 0;
position:relative
}
nav li a:hover,nav li span:hover{
background:#801a33;
border-radius:5px;
color:#fff;
text-decoration:none;
transition:.6s
}
.sub-menu{
display:none;
margin:0;
overflow:hidden
}
nav li span:after{
border-top:3px solid #fff; /* メニュー「>」の色 */
border-right:3px solid #fff; /* メニュー「>」の色 */
content:"";
display:block;
margin-top:-5px;
width:5px;height:5px;
top:50%;right:10px;
position:absolute;
-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:none}
/*--------------------------------------------------------
index
--------------------------------------------------------*/
#index {
background:#000 url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back01.gif);
height:auto;
min-height:inherit;
padding:20px
}
.indexbox {
background:#000 url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back03.gif) repeat-y 100% 0;
border-radius:10px;
margin:0 auto;
padding:20px 40px 20px 20px;
width:500px
}
/*--------------------------------------------------------
ページ上部へのリンク、著作権表示
--------------------------------------------------------*/
#pagetop {
background:rgba(128,26,51,.7);/* 背景 */
color:#fff;/* 色 */
height:50px;width:50px; /* 大きさ */
border-radius:30px;
box-sizing:border-box;
display:block;
line-height:16px;
padding-top:25px;
position:fixed;
text-align:center;
text-decoration:none;
z-index:10
}
#pagetop:before {
content:'\25B2';
font-size:14px;
position:absolute;
left:0;top:10px;
width:100%
}
#pagetop:hover {
background:rgba(128,26,51,.5)
}
#fl{
position:absolute;
bottom:1em;left:0;
background:#000;
border-radius:5px;
display:block;
margin:0 20px;
text-align:center;
text-decoration:none;
width:250px
}
/*--------------------------------------------------------
見出し、枠、線
--------------------------------------------------------*/
h1{
color:#e4dabb;
font-size:1.6em;
letter-spacing:.2em;
line-height:1;
margin:0 0 10px
}
h2 {
color:#e4dabb;
font-size:1.5em;
line-height:30px;
margin:.5em 0
}
#rightcolumn h2 {
background:url(http://traumerei.jpn.org/tr/htmldwarf/template/image/icon01.gif) no-repeat 0 0;
border-bottom:3px double #801a33;
font-size:1.5em;
line-height:30px;
margin:1em 0 .5em;
padding:0 0 0 25px
}
h3 {
border-bottom:1px dashed #801a33;
margin:20px 0
}
dt {
background:#801a33;
border-radius:5px;
display:inline-block;
font-weight:700;
float:left;
clear:both;
margin:0 0 5px;
padding:0 5px;
width:10em
}
dd {
border-bottom:1px solid #e4dabb;
margin:0 0 5px 12em
}
em {
font-weight:700
}
input,textarea {
background:#000;
border:1px solid;
margin:3px 0;
width:200px
}
textarea {
height:50px
}
hr {
display:block;
border:0;  
border-top:1px solid #ccc;
margin:1em 0;
padding:0;
height:1px
}
.marker {
background:#801a33; /* Ie9 */
background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #000), color-stop(0.49, #000), color-stop(0.5, #801a33), color-stop(1, #801a33));
background: -webkit-linear-gradient(transparent 50%, #801a33 0%);
background:linear-gradient(transparent 50%, #801a33 0%)
}
.dcline {
border-left:8px solid #801a33;
margin:5px 0;
padding:3px
}
.textbox {
border:1px solid #801a33;
margin:10px 0;
padding:3px;
text-align:center
}
.title {
color:#801a33;
font-size:1.5em;
font-weight:700;
letter-spacing:.1em;
margin:2em 0;
text-align:right
}
.txt {
border-left:1px dotted;
color:#999;
margin:1em;
padding:0 0 0 1em
}
.frame {
background:#801a33;
padding:6px;
border-radius:3px
}
.cf:before,.cf:after{content:" ";display:table}
.cf:after{clear:both}
/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
background:#000;
font-size:1.4em;
height:auto
}
#wrapper{
background:#000 url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back01.gif);
}
header{
background:url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back04.gif) repeat-x 0 0;
position:static;
min-height:inherit;
width:100%
}
#header-inner{
color:#000;
padding:10px 20px;
text-align:left
}
h1{
min-height:50px; /* メニューを開くボタン分 */
margin-right:60px /* メニューを開くボタン分 */
}
#index h1{
min-height:inherit;
margin-right:0
}
#contents{
min-height:inherit;
padding:0 20px
}
#main-wrap{
float:none;
margin-left:0
}
#rightcolumn{
background:#000 url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back03.gif) repeat-y 100% 0;
border-radius:10px;
margin:0 0 20px;
position:static
}
#rightcolumn-inner{
padding:10px 40px 10px 20px
} 
#leftcolumn{
float:none;
width:100%
}
#leftcolumn-inner{
background:none;
border-radius:0;
padding:0
}
#leftcolumn-sub{
background:none;
width:100%
}
#leftcolumn-sub-inner{
background:#000 url(http://traumerei.jpn.org/tr/htmldwarf/template/image/back03.gif) repeat-y 100% 0;
display:inherit;
margin:0 0 20px;
padding:10px 40px 10px 20px
}
.leftcolumn-bg{
background:none;
padding:0;
width:auto
}
dt{float:none;clear:none;width:auto}
dd{margin-left:20px}
.indexbox{width:auto}
#fl{position:static;margin:20px 0;width:auto}
img{max-width:100%;height:auto} /* 画像の縮小表示 */
/*--------------------------------------------------------
スマホ、タブレット用メニュー
--------------------------------------------------------*/
/* メニュー */
#menu{
background:rgba(0,0,0,.9);
border-radius:10px;
display:none;
position:absolute; /* 表示位置固定 */
top:65px;left:0; /* #wrapperを基準とした位置 */
margin:0 0 10px;
padding:10px;
width:100%;
z-index:20
}
nav li a,nav li span{
font-size:1em;
padding:10px /* 一列の高さはここで調節 */
}
/* 一列にするなら削除 */
.sub-menu li{
display:inline-block;
width:50%
}
/* メニューを開くボタン */
#open{
background:#000;
color:#fff; /* 文字色 */
border:1px solid #801a33;
border-radius:3px;
display:inline-block;
position:absolute;
text-align:center;
height:50px;width:50px; /* 大きさ */
top:10px;right:20px; /* #wrapperを基準とした位置 */
z-index:20
}
.open-text{
position:absolute;
bottom:0;left:0;
letter-spacing:0;
width:100%
}
#open-icon,#open-icon:before,#open-icon:after{
background:#fff /* 線の色 */
}
#open-icon{display:block;margin:-1px 0 0 -10px;position:absolute;top:20px;left: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)}
}
