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}
hr{border:0;display:block;margin:1em 0;padding:0;height:1px}
.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}

/* ===================================
Background, Text, and Link Settings
=================================== */

html{
font-size:75%;
height:100%
}
body{
background:#c34343; /* Background (for advertisements): The background for the main section is specified via #wrapper. */
color:#f33434; /* Text color (for advertisements): The text color for the main section is specified in #wrapper. */
font-size:1.3em;/* Font size */
font-family:'Segoe UI','Yu Gothic Medium',YuGothic,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
letter-spacing:.1em;
line-height:1.5;
text-align:center;
height:100%
}
/*  link
------------------------------ */
a{
color:inherit
}
#rightcolumn a,aside a{
color:#f32e38;
display:inline-block;
margin:3px 3px 3px 0;
border-bottom:1px dashed #d42121
}
#rightcolumn a:hover,aside a:hover{
border-bottom:1px solid
}
nav li a:hover,nav li span:hover{
background:rgba(223, 33, 51, 0.8)
}
#rightcolumn a.bg-none,aside a.bg-none{
border-bottom:0
}
#rightcolumn a.bg-none:hover,aside a.bg-none:hover,#fl a:hover{
border-bottom:0;
color:inherit
}

/* ===================================
basic
=================================== */

#wrapper{
background:#e6e6e6; /* Background on the right side */
color:#191919;/* Text color */
position:relative;
min-height:100%
}
header{
position:absolute;
left:0;top:0;
z-index:5;
}
#header-bg{
background:url(image/pie.png) no-repeat 50% 50%;
height:220px;/* (※2)Image height */
width:250px; /* (※1) Image width */
object-fit: contain;
}
#header-inner{
color:#000;/* text */
padding:20px 20px 15px;
position:absolute;
top:50%;left:50%;
width:260px;
-ms-transform:translate(-50%, -50%);
-webkit-transform:translate(-50%, -50%);
transform:translate(-50%, -50%);
text-shadow:1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff, -1px 1px 0 #fff, -1px 0 0 #fff, -1px -1px 0 #fff, 0 -1px 0 #fff, 1px -1px 0 #fff
}
#rightcolumn-wrap{ 
float:right;
margin-left:-260px; /* (※1)minus the same amount */
width:100%
}
#rightcolumn{
margin-left:260px; /* (※1)same as */
padding:20px 20px 20px 35px;
position:relative;
text-align:left
}
#leftcolumn-wrap{
background:rgb(226, 226, 226) url(image/back02.png) repeat-y 100% 0;
float:left;
width:260px; /* Width on the left side(※1) */
}
#leftcolumn{
color:#707070;/* Text color */
padding:20px 40px 80px 20px
}

/* ===================================
menu
=================================== */

#menu{
display:block
}
nav li a,nav li span{
color:#256ed9;
display:block;
padding:5px 20px;/* Adjust the row height here. */
position:relative
}
.sub-menu{
display:none;
overflow:hidden
}
.sub-menu li{
text-indent:1em
}
nav li{
background:#fff;
border-top:1px solid #999
}
nav li:last-child{
border-bottom:1px solid #999
}
.sub-menu li:last-child{
border-bottom:0
}
/*  The ">" in the menu
------------------------------ */
nav li span:after{
border-top:1px solid #999; /* color */
border-right:1px solid #999; /* color */
content:"";
display:block;
margin-top:-5px;
position:absolute;
height:5px;width:5px;
top:50%;right:15px;
-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)
}
/*  Hide menu open button
------------------------------ */
#open{display:none}

/* ===================================
Link to the top of the page, copyright notice
=================================== */

#pagetop{
background:rgba(254,67,83,.8);/* bg */
border-radius:30px;
box-sizing:border-box;
color:#fff;/* color */
display:block;
font-size:13px;
letter-spacing:normal;
line-height:20px;
padding-top:12px;
position:fixed;
text-align:center;
height:40px;width:40px; /* size */
bottom:-80px;
z-index:10
}
#pagetop:before{
content:"";
display:block;
border-left:2px solid #fff;
border-top:2px solid #fff;
position:absolute;
top:10px;left:16px;
height:6px;width:6px;
-ms-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
transform:rotate(45deg)
}
#pagetop:hover{
background:rgba(0, 0, 0, 0.8)
}
#fl{
position:absolute;
bottom:0;left:0;
background:#b85959;
border-radius:5px;
color:#fff;
display:block;
margin:20px;
text-align:center;
width:200px; /* (※1)-60 */
}

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

#index{
color:#8a6d6d;
height:auto;
min-height:inherit;
padding:20px
}
.indexbox{
background:#000;
border-radius:10px;
color:#fff;
margin:0 auto;
padding:20px;
max-width:400px
}

/* ===================================
Headings, borders, and lines
=================================== */

h1{
font-size:1.5em;
letter-spacing:.2em;
margin:0 0 10px
}
h2{
border-bottom:3px double;
color:#1f2428;
font-size:1.5em;
margin:10px 0
}
h2:first-letter{
color:#fe4353;
font-size:1.2em
}
#rightcolumn h2{
margin:15px 0 15px -15px;
text-align:left
}
#rightcolumn h2:first-child{
margin-top:0
}
h3{
border-bottom:1px dashed;
font-size:1.1em;
margin:15px 0;
padding:2px 0
}
dt{
color:#2c4408;
clear:both;
float:left;
font-weight:700;
margin:0 0 5px;
padding:0 5px;
width:12em /* Subject to adjustment based on character count. */
}
dd{
border-bottom:1px dotted #999;
margin:0 0 5px 14em /* I've added 2 to the `dt` width. */
}
em{
font-style:normal;
font-weight:700
}
input,textarea{
background:#000;
border:1px solid #999;
color:#fff;
margin:3px 0;
width:200px
}
#leftcolumn input,#leftcolumn textarea{
width:100%
}
textarea{
height:50px
}
hr{
border-top:1px solid #ccc
}
.marker{
background:#0354ff;
background:-webkit-linear-gradient(rgba(172,209,119,0) 80%, #191bd7 0%);
background:linear-gradient(rgba(172,209,119,0) 80%, #2f5ef1 0%);
padding:1px 5px
}
.dcline{
border-left:8px solid #fc5663;
margin:8px 0;
padding:3px 3px 3px 10px
}
.textbox{
border:1px solid;
margin:10px 0;
padding:3px;
text-align:center
}
.title{
color:#fc5663;
font-size:1.5em;
font-weight:700;
margin:2em 0
}

/*  Right-aligned multi-line text
------------------------------ */
.r-justified{
text-align:right
}
.r-justified p{
display:inline-block;
text-align:left
}
.inline{
display:inline-block
}

/* ===================================
Switch at a width of 800px.
=================================== */

@media screen and (max-width: 800px){
dt{float:none;clear:none}
dd{margin-left:20px}
input,textarea{width:100%}
img{max-width:100%;height:auto} /* Displaying a reduced-size image */
}

/* ===================================
For smartphones and tablets
Switches at a width of 600px
=================================== */

@media screen and (max-width: 600px){
body{
font-size:1.5em
}
#wrapper{
background:#fff url(image/back01.gif);
padding:15px 15px 70px
}
#header-inner{
padding:0 0 20px;
min-height:60px; /* Space for the menu open button */
margin-right:60px; /* Space for the menu open button */
text-align:left
}
#rightcolumn{
background:#020202;
border-radius:10px;
color:#fff;
padding:20px 30px
}
#leftcolumn{
padding:0 10px
}
#fl{
margin:50px 0 0;
position:static;
width:100%
}
h1{
font-size:1.1em
}
#rightcolumn h2{
margin:20px -10px
}
body{height:auto}
#wrapper{min-height:inherit}
header{position:relative;z-index:auto}
#header-bg{background:none;height:auto;width:auto}
#header-inner{position:static;width:auto;-ms-transform:none;-webkit-transform:none;transform:none}
#rightcolumn-wrap{float:none;margin-left:0}
#rightcolumn{margin-left:0}
#leftcolumn-wrap{float:none}
nav li a:hover,nav li span:hover,#rightcolumn a:hover,aside a:hover{background:inherit;color:inherit}

/* ===================================
Smartphone and tablet menu
=================================== */

/*  slide
------------------------------ */
#leftcolumn-wrap{
background:#fff;
border:0;
line-height:2;
padding:70px 10px 20px; /* Leave space for the menu button. */
position:fixed;
height:100%;width:280px; /* (*1)Make it the same */
top:0;right:0;
-ms-transform:translate(280px); /* (*1)Make it the same */
-webkit-transform:translate(280px); /* (*1)Make it the same */
transform:translate(280px); /* (*1)Make it the same */
transition:.3s;
z-index:1000
}
#side-bg{
background:rgba(51,51,51,.5)/* Surrounding background color */
}
/*  Button to open the menu
------------------------------ */
#open{
background:#9c6060;
border-radius:3px;
color:#fff; /* color */
display:inline-block;
position:absolute;
text-align:center;
height:50px;width:50px; /* size */
top:10px;right:15px;
z-index:1001
}
#open-icon,#open-icon:before,#open-icon:after{
background:#fff /* color */ 
}
#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.buttonclose{position:fixed}
.open-text{font-size:12px;position:absolute;bottom:0;left:0;width:100%}
#open-icon{display:block;margin:-1px 0 0 -10px;position:absolute;top:16px;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)}
}