@charset "utf-8";
body {
    display: none;
	min-width: 1040px;
	background-color: #FFFFFF;
	}

@media screen and (min-width :541px) {
#wrapper {
    width: 94%;
    margin: 0px auto;
       }


header {
    margin: 0px auto;
    width: 90%;
    padding-top:2%;
    padding-bottom:4.5%;

}

#logo {
   float: left;
   margin-top: 4%;
   position:absolute; 
   width: 150px;
 
}

header #logo h1 {
    width:  100%;
    
}
    
 

header #logo img {
    width: 85%;
    height: auto;
    float: left;
}
    



#nav {
/*    margin-top: 60px;*/
    margin-top: 6%;
/*    margin-bottom: 1%;*/
    float: right;
    
}
#nav ul li  {
	float: left;
    margin-right: 30px;
    position: relative;
}
#nav ul li:last-child {
    margin-right: 0;
}
#nav ul li a {
    text-decoration: none;
    display: block;
    transition: 0.1s;
    letter-spacing:0.9px;
    font-size: 12px;
    font-style: normal;
    text-transform: lowercase;
    text-decoration-line: none;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: 'Noto Serif JP', serif;
    color:#868585;
   
   
}
#nav ul li a.about{
    color: rgb(86, 133, 208);
}

#nav ul li a:hover {
    color: rgba(196, 195, 195, 0.75)
}

#nav li ul {
    left: 0px;
	position: absolute;
}

#nav li ul li {
	overflow: hidden;
	height: 0;
	transition:0.2s;
    position: relative;
    z-index: 100;
}

#nav li:hover > ul > li  {
	overflow: visible;
	width: 100%;
	height: 16px;
    padding: 3%;
    font-size: 65%;

}
#nav li:hover > ul > li:first-child {
    margin-top: 5%;
}



.contants {
/*    width:90%;*/
    height: auto;
    margin: 0 auto;
   margin-top: 1%;
}    
    
.contants2 {
    width:55%;
    margin: 0 auto;
}  
    
.contants2 .text{
    display: inline-block;
    text-align:left;
    margin: 0 auto;	
}
    
    
    
.contants2 .text p{
    line-height: 2;
    font-size: 78%;
    color: #868585;
    font-family: 'Noto Serif JP', serif;
    letter-spacing:1.3px;
    margin-top: 4.5%;
}

   
    
     
.picture{
    text-align:center;
     }
.picture ul li img {
    width:59%;
    margin: 0 auto;
  }

.picture ul li:last-child {
    margin-bottom: 2%;
}
    


 #footer {
    margin-top: 15%;
    clear: both;
        
    }
    
#footer a
 {
    margin-left: 12%;
    font-size: 70%;
    font-family: 'Noto Serif JP', serif;
    color:#868585;
 }

 
footer {
    float: right;
    margin-bottom:  5%;
    margin-right: 5%;
    font-size: 60%;
    margin-top: 7%;
    margin-left: 5%;
    font-family: 'Noto Serif JP', serif;
    color: #868585;
    
    
}
}
 
@media screen and (max-width :540px) {
    
body {
    min-width: initial;

    }
#wrapper {
    width: 95%;
    margin: 0 auto;
    }
    
body header #logo {
    width: 150px;
    position:absolute;
    margin-top: 5%;
}

header #logo h1 {
    width:  60%;       
}
 

header #logo img {
    display: inline-block;
    width: 100%;
    height: auto;
}
    
    
#nav {
    width: 90%;
    clear: both;
    margin-bottom: 30px;
    margin-top: 30px;
}
#nav ul li {
    float: none;
    margin-right: 0;
        
    }
#nav > ul > li > a {
    display: block;
    color: rgb(108, 107, 107);
    font-size: 16px;
    text-decoration: none;
/*  background-color: #6ab5c8;*/
    border-bottom: 1px solid #fff;
/*  cursor: pointer;*/
    padding: 8px 12px;
    position: relative;
    text-align: center;
    border-bottom:1px solid #bcbcbc;
    font-family: 'Noto Serif JP', serif;
}
#nav > ul > li > a:hover{
   color: rgb(108, 107, 107);
}
#nav > ul > li > a#button:after,
#nav > ul > li > a#button:active:after{
    font-size: 12px;
    position: absolute;
    right: 12px;
    top: 12px;
    color: rgb(108, 107, 107);
}
#nav > ul > li > a#button:after{
    content: "▼";
}
#nav > ul > li > a#button:active:after{
    content: "▲";
}
#nav > ul > li > ul {
    display: none;
}
#nav > ul > li > ul > li > a {
    display: block;
    color: rgb(108, 107, 107);
    font-size: 14px;
/*  background-color: #79c9b8;*/
    border-bottom: 1px solid #fff;
    padding: 6px 12px;
    position: relative;
    text-align: center;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
  
}
    #nav > ul > li > ul > li > a:hover {
    color: rgba(196, 195, 195, 0.75)
    }
#nav ul li a.top {
    color: rgba(196, 195, 195, 0.75);
}

    
.contants {
    height: auto;
    margin: 0 auto;   
    width:100%;  
    margin-top: 4.5%;
    }    
 
.contants2 {
    width:90%;
    margin: 0 auto;    
    }   
    
.contants2 .text{
     display: inline-block;
     text-align:left;
     margin: 0 auto;
     
   }   

.contants2 .text p{
     line-height: 2;
     font-size:  78%;
     color: #6c6b6b;
     font-family: 'Noto Serif JP', serif;
     letter-spacing:1px;
     margin-top: 4.5%;
    
} 
  
.picture{
     text-align:center;
}

.picture ul li img {
     width: 95%;
     margin: 0 auto;   
  
     }            

    
.picture ul li:last-child {
     margin-bottom: 3%;
}    
  


 #footer {
    margin-top: 15%;
/*    clear: both;*/
        
    } 
    
    
#footer a
 {
    margin-left: 5%;
    font-size: 15%;
    font-family:'Noto Serif JP', serif;
    color: #868585;
 }

footer {
    float: right;
    margin-bottom: 5%;
    font-size: 10%;
    margin-top:  12%;
    font-family: 'Noto Serif JP', serif;
    color: #868585;
    margin-right: 2%;
    
    
}
    
}

    
