@charset"utf-8";
body {
	font-family: 'Spartan', sans-serif;
  font-family: 'Noto Sans JP', sans-serif;
	font-size:12px;
	background-color:#f5f5f5;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

img {
  vertical-align: bottom;
}

a{
  text-decoration:none;
  color:#3b3b3b;
}

a:visited{
  color: #434343;
}

a:hover {
  color: #cccccc;
  text-decoration: none;
}

a:hover img { opacity: 0.5;}

header{
  width: 100%;
  height: 100px;
  margin: auto;
}

#logo {
  position: fixed;
  top: 27px;
  left: 60px;
  z-index: 1;
}

.global-nav {
  position: fixed;
  top: 34px;
  left: 350px;
  z-index: 1;
}

.global-nav li {
  float: left;
  margin: 0 14px;
  font-size: 12px;
  list-style: none;
  font-family: 'Spartan', sans-serif;
}


li
{
	list-style-type: none;
}
input[type="submit"],button,label,select{
	cursor:pointer;
}




#contents{
	padding:5px 0 80px;
}


.grid-items {
	margin-right: auto;
	margin-left: auto;
}



.grid-items li {
	margin: 10px;
	width: 280px;
	
}

.grid-items li img{
	max-width:100%
}

.grid-items li p{
	padding:5px;
	
}




#wrap {
  clear: both;
  margin-top: -60px;
}

.main-center {
  width: 940px;
  margin: 10px;
  font-family: 'Spartan', sans-serif;
  
}

.main-center h1{
  margin: 0 20px 20px 50px;
  font-size:14px;
}

.main-center h2{
  margin: 2px 10px -1px 50px;
  font-size: 10px;
}

.main-center p{
  margin: 5px 10px -20px 40px;
  padding: 10px;
  line-height: 1.1em;
  font-size: 10px;
}

.content-wrapper {
  width: 50%;
  margin:5px 120px;
  text-align: center;
  padding: 2.5em 0;
}


.bottom-footer {
  width: 50%;
  margin:5px 60px;
  text-align: left;
  padding: 2.5em 0;

  font-family: 'Spartan', sans-serif;
}

.bottom-footer p {
  font-size: 11px;
  font-family: 'Spartan', sans-serif;
  color:#434343;
}


/*ページのはじめに戻る
-----------------------------------------*/
#goto-pagetop {
position: fixed;
bottom: 5px;
right: 5px;
z-index: 10000;
}
#goto-pagetop a {
display: block;
overflow: hidden;
text-indent: -999em;
width: 35px;
height: 104px;
text-decoration: none;
position: relative;
}
#goto-pagetop a:before {
content: url(../images/goto-pagetop.svg);
display: block;
position: absolute;
text-indent: 0;
width: 57px;
height: 57px;
top:0;
left: 0;
}


@media only screen and (min-width: 1800px){
	.grid-items {
		width:1800px;
	}
}
@media only screen and (min-width: 1500px) and (max-width: 1799px) {
	.grid-items {
		width:1500px;
	}
}
@media only screen and (min-width: 1200px) and (max-width: 1499px) {
	.grid-items {
		width:1200px;
	}
}
@media only screen and (min-width: 900px) and (max-width: 1199px) {
	.grid-items {
		width:900px;
	}
}
@media only screen and (min-width: 600px) and (max-width: 899px) {
	.grid-items {
		width:600px;
	}
}
@media only screen and (max-width: 599px) {
	.grid-items {
		width:300px;
	}
}



/* ここから上がPC向けCSS*/
@media screen and (max-width:480px) {
  
  /* この中がスマートフォン向けCSS*/
  
    body {
    font-size: 12px;
  }
  
  h1 {
    font-size: 12px;
  }
  
  h2 {
    font-size: 12px;
  }
  
  h {
    font-size: 10px;
  }
  p {
    font-size: 10px;
  }
  
  
  #logo img {
    width: 90%;
  }
  
      
#menu {
    width: 22px;
    height: 40px;
    display: block;
    float: right;
    margin: 12px 20px;
    background-image: url("../images/menu-btn.svg");
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

#menu.on {
    background-image: url("../images/menu-btn-on.svg");
}
  

  
nav ul {
    background: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
  }
  
.global-nav {
  display: block;
  padding: 20px 0 12rem 0;
  position: fixed;
  width: 375px;
  height: 20px;
  padding-bottom: 500px;
  top: 60px;
  left: 1px;
  display: none;

}
  
  
.global-nav li {
  float: none;
  font-size: 0.85rem;
  padding: 20px;
  color: #606060;
  border-bottom: 1px solid rgba(118,123,133,0.3);
  text-align: left;
}
  
  

#contents{
	padding:5px 10px 80px;
}
  

.grid-items li {
	margin: 10px;
	width: 250px;
}
  
.grid-items li img{
   	max-width:100%;
}
  
.grid-items li p{
  font-size: 10px;
  color:#434343;
}

.grid-items li h3{
  font-size: 10px;
  line-height: 1.5;
  color:#434343;
}
  
.content-wrapper {
  width: 80%;
  margin:40px 10px 30px 0;
  text-align: center;
  padding: 2.5em 0;
}

.main-center {
  width: 370px;
  margin: 0 auto;
  font-family: 'Spartan', sans-serif;
}
  
  h1 {
    float: none;
    font-size: 14px;
  }


.sub-nav {
  float: right;
    background: none;
    position: relative;
    z-index: 1;
}

.sub-nav li {
  float: left;
  margin: 10px 10px 20px 0px;
}
  
.sub-nav a{
    font-size: 10px;
}

.bottom-footer {
  width: 50%;
  margin:5px 40px;
  text-align: left;
  padding: 2.5em 0;

  font-family: 'Spartan', sans-serif;
}

#bottom-footer p {
  font-size: 10px;
  line-height: 1.5;
  font-family: 'Spartan', sans-serif;
  color:#434343;
}

}









