@charset "utf-8";

html{
	font-size: 62.5%;
}
@media screen and (max-width: 1200px){
  html{
    font-size: 50.78125%; /* 13px */
  }
}
@media screen and (max-width: 1024px){
  html{
    font-size: 46.875%;
  }
}
@media screen and (max-width: 520px){
  html{
	font-size: 62.5%;
  }
}

/*--------------------------------------*/

body{
	font-family: 'Noto Serif JP', serif;
	line-height: 1.75;
  background-color: #000;
  color: #919191;
  font-weight: 100;
  font-size: 1.6rem;
  letter-spacing: .1em;
}
@media screen and (min-width: 521px){
  body{

  }
}
@media screen and (max-width: 520px){
  body{

  }
}

/*--------------------------------------*/

#wrapper{
	position: relative;
	width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 521px){
  #wrapper{

  }
}
@media screen and (max-width: 520px){
  #wrapper{

  }
}

/*--------------------------------------*/

header{
	position: fixed;
	z-index: 1000;
}
@media screen and (min-width: 521px){
  header{

  }
}
@media screen and (max-width: 520px){
  header{
    display: none;
  }
}

/*--------------------------------------------------------------------*/

#layer{
	display: none;
	z-index: 2;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
	background-color: rgba(0,0,0,.3);
}
@media screen and (min-width: 521px){
  .menu{
    display: none;
  }
}
@media screen and (max-width: 520px){
  .menu{
    position: relative;
    align-items: stretch;
    border-radius: 3px;
    display: inline-block;
    z-index: 3;
  }
  .menu .button{
    position: relative;
    z-index: 1100;
    width: 14px;
    height: 14px;
    margin: 10px;
  }
  .menu .button .line{
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .3s;
  }
  .menu .button .line:nth-of-type(1){
    top:0;
  }
  .menu .button .line:nth-of-type(2){
    top: 0;
    bottom: 0;
  }
  .menu .button .line:nth-of-type(3){
    bottom: 0;
  }
  header.active .menu .button .line:nth-of-type(1){
    top: 0;
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  header.active .menu .button .line:nth-of-type(2){
    opacity: 0;
  }
  header.active .menu .button .line:nth-of-type(3){
    top: 0;
    bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  header.active + #layer{
    display: block;
  }
}

/*--------------------------------------*/

#main{
  
}
@media screen and (min-width: 521px){
  #main{

  }
}
@media screen and (max-width: 520px){
  #main{

  }
}

/*--------------------------------------*/

#contents{
	
}
@media screen and (min-width: 521px){
  #contents{

  }
}
@media screen and (max-width: 520px){
  #contents{

  }
}

/*--------------------------------------*/

#sidebar{
	
}
@media screen and (min-width: 521px){
  #sidebar{

  }
}
@media screen and (max-width: 520px){
  #sidebar{

  }
}

/*--------------------------------------------------------------------*/

footer{
	padding-bottom: 5em;
}
footer .upper{
	background-color: #383838;
	padding: 1em 0;
}
footer .upper .item a{
	background-color: #000;
	padding-left: 3em;
	background-image: url("../img/common/ico_footer_tw.svg");
	background-repeat: no-repeat;
	background-position: left 1em center;
	background-size: 17px auto;
	margin: 1em;
	display: block;
}
footer .lower{
	background-color: #292929;
	padding: 3em;
}
footer .lower .wrap{
	display: inline-flex;
}
footer .lower .item{
	padding: 0 .5em;
	margin: 0 .5em;
}
footer .copyright{
	padding: 1.5em;
}
footer img{
	max-width: 100%;
}
@media screen and (max-width: 1240px){
	footer .lower .wrap{
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 520px){
	footer .upper{
		padding: 1em 3.6vw;
	}
	footer .lower{
		padding: 2em 3.6vw;
	}
	footer .lower .wrap{
		flex-wrap: wrap;
	}
	footer .lower .wrap .item{
		width: 40%;
	}
	footer .lower .wrap .item{
		margin-bottom: 3%;
	}
	footer .lower .item.bd:after,
	footer .lower .wrap:after{
		display: none;
	}
}