@charset "UTF-8";
@import url("html5reset-1.6.1.css");
@import url('https://fonts.googleapis.com/css?family=Montserrat:300');


/* ↓レイアウト↓ */

*{
    line-height:150%;
}

body{
    font-family: 'Consolas','Arial Narrow','Meiryo UI','klee',sans-serif;
    background-color:#FFF;
}

.base{
    margin:auto;
    width:800px;
}

.header{
    z-index:100;
    padding:15px 5px;
    text-align:center;
}

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

.work{
    float:right;
    width:570px;
    padding:0px 15px 5px 15px;
}

.menu{
    background-color:#800000;
    float:left;
    width:180px;
    padding:10px 5px;
    position:fixed;
    top:0;
    height:100%;
    color:#fff;
}

.box{
    overflow: hidden ;		/* floatを解除する */
}

.text{
    margin:25px 0px;
    padding:5px;
    line-height:180%;
    font-size:90%;
}

.textmenu{
    text-align:center;
    padding:5px;
    margin:5px;
    word-spacing:20px;
}

 #hdr {
  position: relative;
  top: 0pX;
  left: -25px;
  z-index: -10;
  width:110%;
  height: auto;
  }
  #hdr span h1{
  position: absolute;
  top: 30%;
  left: 20%;
  font-weight: bold;
  color: white;
  font-size:400%;
  }
  #hdr span p{
  position: absolute;
  top: 20%;
  left: 25%;
  color: white;
  font-size:150%;
  }

  #hdr2 {
  position: relative;
  top: 0%;
  left: -20px;
  z-index: -10;
  width:105%;
  height: auto;
  }

#nav ul li { 
  position: relative;
  top: 0px;
  left: 0px;
  z-index: 10;
  display: inline-block;/*inline-blockにします*/
  width: 265px;/*幅も指定できる*/
  height: 265px;
  padding: 0px ;/*余白も指定できる*/
  margin: 2px 4px;/*余白も指定できる*/
  }
  .yoso{
  font-size:240%;
  position: absolute;
  bottom: 5px;
  left: 5px;
  color:#fff;
  font-weight: bold;
  }
  a {
  text-decoration:none;
  }
  
  #inv {
   color:#fff; 
  }

                                          /*Characters*/
  .cha1{
  position: relative;
  top: 0px;
  left: 10px;
  text-align:left;
  }
  .cha2 h5{
  text-align:left;  
  }

  .org{
  display: inline-block;
  padding: 0 0 10px 0px;
  width: 45%;
  margin: 5px;
  background-color: #9ACD32;
  border-radius:10px;
  }
  .org h5{
  font-weight: bold;
  }

  #about{
  font-size:80%;
  padding:0px 10px;
  width: auto;
  overflow: visible;
  margin:5px 10px;
  background-color:#fff;
  color:#000000;
  }
  
  #list{
  position: relative;
  left :0px;
  }
  #list li{
    position: relative;
    left :30px;
    text-align: left;
  }

  #icon img{
  position: relative;
  top: 0px;
  left:-210px;  
  }
  #icon p{
  position: relative;
  top: -90px;
  text-align:right;  
  }
  
  #top{
  font-size:130%;
  font-weight:normal;
  text-align:center;
  margin:5px 0px;
  }


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


/* ↓タグ↓ */

h1{
    font-size:100%;
    font-weight:normal;
}

h2{
    font-size:70%;
    font-weight:normal;
    margin-top:10px;
}

h3{
    font-size:130%;
    font-weight:normal;
    text-align:center;
    margin:25px 0px;
}

h4{
    background-color:#800000;
    color:#fff;
    font-size:100%;
    font-weight:normal;
    text-align:center;
    margin:15px 0px;
    padding:1px;
    box-shadow: 0px 0px 0px 3px #800000;
    border: dashed 1px #fff;
}

h5{
    text-align:center;
    font-size:90%;
    font-weight:normal;
    margin:10px 0px;
}

h6{
    font-size:80%;
    font-weight:normal;
    color:#928b8b;
}

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

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

small{
    font-size:80%;
}

i{
    font-style:italic;
}


a:link{
    color:#000;
}

a:visited{
    color:#000;
}

a:hover{
    background-color:#DCDCDC;
    color:#000000;
}

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

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

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

li{
    padding:5px;
}

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

dt{
    padding-left:5px;
}

dd{
    padding-left:10px;
}

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

cite{
    font-size:smaller;
}

a:hover img {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
  /*画像を70%の不透明度に
  もし50%にしたいときは
  上から50、0.5、0.5にします*/
}

                                        /* ↓classタグ↓ */

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

.list1 a{
    color:#fff;
}

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

.hr1{
    margin:5px;
    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:35px;
    border-width:0px;
}

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

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

.p3{
    color:#fff;
    text-align: center;
    padding:5px;
    margin:5px 5px;
    border-color:#800000;
    background-color:#800000;
}

.dl1 span{
background-color:yellow;
}

.dt1{
      border-width:0px 0px 0px 2px;
    border-style:solid;
    font-family: 'Montserrat', sans-serif;
    border-color:#928b8b;
    padding:5px;
}

.dd1{
    font-size:80%;
    border-width:0px 0px 0px 2px;
    border-style:solid;
    border-color:#ccc;
}

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

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

.counter{
    font-family: 'Montserrat', sans-serif;
}

.pagetop{
    position: fixed;
    bottom: 10px;
    right: 14px;
}
 
.pagetop a{
    display: block;
    text-decoration: none;
}
 
.pagetop:hover{
    opacity: 0.7 ;
}

.rkgk img{
  position: relative;
  top: 5px;
  left: 0px;  
}

.prof{
  text-align: left;
  font-size: 130%;
  padding: 10px;
  width: auto;
  overflow: visible;
  margin:5px;
  color:#000000;
}

.inst{
z-index:100;
margin:10px;
padding:15px 5px;
text-align:center;
background-color: #B1F9D0;
border-radius:10px;
}

.moc1{

}



/*↓ディスプレイ800px以下用↓*/

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

{
    
.base{
    width:auto;
    text-align:center;
}

.work{
    float:none;
    width:auto;
    margin-top:175px;
}

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

.menu{
    float:none;
    width:100%;
    margin:0px;
    padding:0px 15px 0px 5px;
    height:auto;
    z-index: 100;
}

.list1 li{
    display: inline-block;
    font-size:90%;
}

.header h2{
position: relative;
top :-10px;
}

#list{
position: relative;
left :0px;
}
#list ul li{
position: relative;
left :0px;
list-style: none;
text-align: center;
}

  #icon img{
  position: relative;
  top: 0;
  left:0;  
  }
  #icon p{
  position: relative;
  top: 0px;
  text-align: center; 
  }


h3{
    font-size:120%;
}

h2{
    margin-bottom:-10px;
}

dl{
    text-align: center;
}

#hdr {
  position: relative;
  top: 0px;
  left: -15px;
  z-index: 10;
  width:110%;
  height: auto;
  background: white;
  }
  #hdr span h1{
  position: absolute;
  top: 30%;
  left: auto;
  font-weight: bold;
  color: white;
  font-size:350%;
  }
  #hdr span p{
  position: absolute;
  top: 20%;
  left:auto;
  color: white;
  font-size:100%;
  }

  #hdr2 {
  position: relative;
  top: -30px;
  left: -10px;
  z-index: -10;
  width:105%;
  height: auto;
  }
}
