@charset "UTF-8";
@import url("html5reset-1.6.1.css");
@import url("chara-set.css");
@import url("system.css");

/* «CAEg« */

*{
    line-height:150%;
}

body{
    color:#303030;
    background-color:#f3f3f3;
}

.base{
    margin:0 auto;
    max-width:1000px;
}

.header{
    padding:15px;
    margin:20px 0px;
    text-align:center;
}

.footer{
    padding:5px;
    text-align: center;
}

.work{
    padding:10px;
    margin:30px 0px 20px 0px;
}

.box{
    margin:0px;
    padding:10px;
}

.text{
    margin:5px 0px;
    padding:20px;
    line-height:180%;
    color:#303030;
    background-color:#f3f3f3;
}

img
{
    max-width:100% ;
    height:auto ;
}


/* «^O« */

h1{
    font-size:150%;
    font-weight:normal;
    font-family:"Sawarabi Mincho";
    color:#fff;
    text-shadow:3px 3px 5px #000;
}

h2{
    position: relative;
    text-align: center;
    font-size:120%;
    text-shadow: 3px 3px #c0c0c0;
}

h2:before {
    position: absolute;
    top: 50%;
    z-index: 1;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background:#684a46;
}

h2 span {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0 20px;
    background-color:#f3f3f3;
    text-align: left;
}

h3{
    font-size:100%;
    text-shadow: 1px 1px #fff, 3px 3px 0 #5d6f77, 1px 3px 0 #5d6f77, 1px 1px 0 #5d6f77;
    background:linear-gradient(transparent 60%, #c0c0c0 60%);
}

h4{
    font-size:100%;
    font-weight:normal;
    margin:15px 0px;
    padding-left:5px;
    font-family:"Sawarabi Mincho";
    color:#510000;
    font-weight: bolder;
    position: relative;
    border-left: solid 5px #684a46;
    border-bottom: solid 1px #684a46;
}

h5{
    font-size:95%;
    font-weight:normal;
    display:inline-block;
    margin:10px 0px;
    padding:0px 5px;
    border-width:1px 0px 1px 0px;
    border-style:solid;
    border-color:#000;
    font-family: 'Kaisei HarunoUmi', serif;
    background:#636363;
    color:#fff;
}

h6{
    font-size:80%;
    font-weight:normal;
    margin:10px 0px;
    color:#B5495B;
}

em{
   background: linear-gradient(transparent 60%, #7dbeff 60%);
}

strong{
    background-color:#d6ffff;
    font-weight:normal;
}

small{
    font-size:80%;
}

i{
    padding:1px 5px;
    background-color:#fff;
    font-style:italic;
    color:#000;
    border-radius:5px;
}

a:link{
    color:#9f0000;
    text-decoration:none;
}

a:visited{
    color:#d97668;
    text-decoration:none;
}

a:hover{
    color:#dfab7b;
}

blockquote{
    padding:5px;
    font-size:90%;
    margin:5px 10px;
    color:#778899;
}

blockquote:before{
    content:'\201c';
    font-size:150%;
    color:#000000;
    margin:0px 10px;
}

blockquote:after{
    content:'\201d';
    font-size:150%;
    color:#000000;
    margin:0px 10px;
}

li{
    padding:2px 3px;
}

dl{
    padding-left:3px;
    margin:20px 10px;
}

dt{
    padding-left:5px;
}

dd{
    padding-left:10px;
}

address{
    font-size:80%;
    font-family: 'Lora', serif;
}

cite{
    font-size:smaller;
}

.topmargin{
    margin-top:100px;
}

/* «class^O« */

.list1{
    list-style:none;
    text-align:center;
}

.list1 li{
    display: inline-block;
}

.list1 a:hover{
    background-color:#ffffff;
    text-decoration:none;
}

.list1 a{
    color:#000;
    text-decoration:none;
}


.list2{
    list-style-type: upper-roman;
    list-style-position:inside;
}

.hr1{
    margin:5px 0px;
    border-top: 1px #ccc;
    border-bottom: 1px #fff;
    border-style:solid;
}

.hr2{
    margin:5px 0px;
    border-top: 1px #aaa;
    border-style:dashed;
}

.hr3{
    margin:5px 0px;
    height:20px;
    border-width:0px;
}

.p1{
    padding:5px;
    margin:5px 0px;
    font-size:100%;
}

.p2{
    border-style:double;
    border-width:3px;
    padding:3px;
    margin:5px 0px;
    font-size:100%;
    border-color:#0051a2;
}

.p3{
    border-style:dashed;
    border-width:1px;
    padding:5px;
    margin:5px 0px;
    font-size:100%;
    border-color:#0051a2;
}

.dt1{
    margin:0px 0px -7px -10px;
    font-size:100%;
}

.dd1{
    font-size:90%;
    padding:5px;
    border-width:1px;
    border-style:dotted;
    margin:3px;
    border-radius:5px;
}

.memo{
    background-color:#0051a2;
    color:#fff;
    font-size:80%;
    padding:0px 10px;
    height:100px;
    overflow:auto;
    margin:5px 10px;
}

.img1{
    box-shadow:1px 1px 3px -1px #999999;
-moz-box-shadow:1px 1px 3px -1px #999999;
-webkit-box-shadow:1px 1px 3px -1px #999999;
}

.homeback{
  background-image: url('../img/sys_home.png');
  background-repeat: no-repeat;
  background-position: center;
}

.R18{
 color:#ff0000;
}

/*«fBXvC580pxΘΊp«*/

@media screen and (max-width:800px) 

{
    
.base{
    width:auto;
    margin:-20px 5px;
}

.box{
    margin:0px;
}

.work{
    float:none;
    width:auto;
    margin:0px;
    padding:10px;
}

.text{
    float:none;
    width:auto;
    margin:0px;
    padding:10px;
}

.gallery{
    flex-direction:column;
    width:auto;
    margin:0px;
}

.colum{
    flex-direction:column;
    width:auto;
    margin:10px 0px;
}

.item2{
    width:95%;
}

.item3-1{
    width:95%;
    padding:6px;
}

.item3-2{
    width:95%;
}

h1{
    font-size:150%;
    margin-top:75px;
}

}
