@charset "UTF-8";

/* clearfix */
.cf {zoom: 1;}
.cf:before,
.cf:after {
	content: "";
	display: table;
}
.cf:after {clear: both;}

/* default CSS ========>>> */
/* wrapBox css  */
html,
body { height: 100%; }
body { background-color: #efefef; }



/* default CSS ======================================================================>>> */
#wrapper {}

/*------------------------------------------*
* header#top CSS
*------------------------------------------*/
#top {}

/*------------------------------------------*
* #gmenu-icon (drawer icon)
*------------------------------------------*/
#gmenu-icon,
#gmenu-icon span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
#gmenu-icon {
	position: fixed;
	z-index: 1000;
	top: 30px;
	right: 20px;
	width: 30px;
	height: 22px;
  margin: 6px;
}
#gmenu-icon span {
	position: absolute;
  z-index: 999;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #454545;
}
#gmenu-icon span:nth-of-type(1) { top: 0; }
#gmenu-icon span:nth-of-type(2) { top: 10px; }
#gmenu-icon span:nth-of-type(3) { bottom: 0; }

#gmenu-icon.active span {
  background-color: #fff;
}
#gmenu-icon.active span:nth-of-type(1) {
  -ms-transform: translateY(10px) rotate(-45deg);
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
#gmenu-icon.active span:nth-of-type(2) { opacity: 0; }
#gmenu-icon.active span:nth-of-type(3) {
  -ms-transform: translateY(-10px) rotate(45deg);
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}


/******************************
drawer nav (drawer body)
******************************/
#drawer {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999;
	width: 250px;
	background: #232323;
	padding-top: 80px;
	padding-left: 20px;
}
#drawer ul {
  padding: 16px 72px 0 16px;
}
#drawer ul li {
	margin-bottom: 16px;
	border-bottom: 1px solid #fff;
	padding-bottom: 4px;
}
#drawer ul li a {
	display: block;
	color: #fff;
	font-size: 14px;
}
#drawer #menu li a {
  color: #fff!important;
}

/******************************
Global footer
******************************/
#global-footer {
  text-align: center;
  width: 100%;
}
#global-footer p small { color: #232323; }




/******************************
Back to TOP btn
******************************/
#backTop {
  background: #0074c0;
  padding: 6px 14px 8px;
  cursor: pointer;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
#backTop a {
  color: #fff;
  font-size: 12px;
}



/* END  default CSS =================================================================>>> */



/* Break Point ======================================================================>>> 1024px以下 */
@media screen and ( max-width:1024px )
{

  #wrapper { width: 100%; }

  /*------------------------------------------*
  * #gmenu-icon (drawer icon)
  *------------------------------------------*/
  #gmenu-icon,
  #gmenu-icon span {
  	display: inline-block;
  	transition: all .4s;
  	box-sizing: border-box;
  }
  #gmenu-icon {
  	position: fixed;
  	z-index: 1000;
  	top: 30px;
  	right: 20px;
  	width: 30px;
  	height: 22px;
    margin: 6px;
  }
  #gmenu-icon span {
  	position: absolute;
    z-index: 999;
  	left: 0;
  	width: 100%;
  	height: 2px;
  	background-color: #454545;
  }
  #gmenu-icon span:nth-of-type(1) { top: 0; }
  #gmenu-icon span:nth-of-type(2) { top: 10px; }
  #gmenu-icon span:nth-of-type(3) { bottom: 0; }

  #gmenu-icon.active span:nth-of-type(1) {
    -ms-transform: translateY(10px) rotate(-45deg);
  	-webkit-transform: translateY(10px) rotate(-45deg);
  	transform: translateY(10px) rotate(-45deg);
  }
  #gmenu-icon.active span:nth-of-type(2) { opacity: 0; }
  #gmenu-icon.active span:nth-of-type(3) {
    -ms-transform: translateY(-10px) rotate(45deg);
  	-webkit-transform: translateY(-10px) rotate(45deg);
  	transform: translateY(-10px) rotate(45deg);
  }


  /******************************
  drawer nav (drawer body)
  ******************************/
  #drawer {
  	display: none;
  	position: fixed;
  	top: 0;
  	right: 0;
  	z-index: 999;
  	width: 100%;
  	height: 80%;
  	background: rgba(35,35,35,.0);
  	padding-top: 0;
  	padding-left: 0;
  }
  #drawer ul {
    padding: 0;
    margin: 0;
    z-index: 1000;
    height: auto;
  }
  #drawer ul li {
    width: 100%;
  	margin-bottom: 0;
  	border-bottom: 1px dotted #787878;
  	padding-bottom: 4px;
    padding: 18px 24px 16px;
    background: #232323;
/*
    transform: rotateX(-90deg);
    transform-origin: 50% 0;
    transition: .1s;
*/
  }
  #drawer ul li:first-child {
    padding-top: 40px;
  }
  #drawer ul li a {
  	display: block;
  	color: #fff;
  	letter-spacing: .15em;
  	font-size: 12px;
  }
  
/*
  #drawer ul.toggle {
    visibility: visible;
  }
  #drawer ul.toggle li{
    transform: rotateX(0);
  }
  #drawer ul.toggle li:nth-child(1) {
    transition-delay: 0s;
  }
  #drawer ul.toggle li:nth-child(2) {
    transition-delay: .1s;
  }
  #drawer ul.toggle li:nth-child(3) {
    transition-delay: .2s;
  }
  #drawer ul.toggle li:nth-child(4) {
    transition-delay: .3s;
  }
  #drawer ul.toggle li:nth-child(5) {
    transition-delay: .4s;
  }
  #drawer ul.toggle li:nth-child(6) {
    transition-delay: .5s;
  }
  #drawer ul li:nth-last-of-type(1) {
    transition-delay: 0s;
  }
  #drawer ul li:nth-last-of-type(2) {
    transition-delay: .1s;
  }
  #drawer ul li:nth-last-of-type(3) {
    transition-delay: .2s;
  }
  #drawer ul li:nth-last-of-type(4) {
    transition-delay: .3s;
  }
  #drawer ul li:nth-last-of-type(5) {
    transition-delay: .4s;
  }
  #drawer ul li:nth-last-of-type(6) {
    transition-delay: .5s;
  }
*/
}
/* END Break Point ==================================================================>>> 1024px以下 */









/* Break Point ======================================================================>>> 480px以下 */
@media screen and ( max-width:480px )
{

  #wrapper { width: 100%; }

  /*------------------------------------------*
  * #gmenu-icon (drawer icon)
  *------------------------------------------*/
  #gmenu-icon,
  #gmenu-icon span {
  	display: inline-block;
  	transition: all .4s;
  	box-sizing: border-box;
  }
  #gmenu-icon {
  	position: fixed;
  	z-index: 1000;
  	top: 30px;
  	right: 20px;
  	width: 30px;
  	height: 22px;
    margin: 6px;
  }
  #gmenu-icon span {
  	position: absolute;
    z-index: 999;
  	left: 0;
  	width: 100%;
  	height: 2px;
  	background-color: #454545;
  }
  #gmenu-icon span:nth-of-type(1) { top: 0; }
  #gmenu-icon span:nth-of-type(2) { top: 10px; }
  #gmenu-icon span:nth-of-type(3) { bottom: 0; }

  #gmenu-icon.active span:nth-of-type(1) {
    -ms-transform: translateY(10px) rotate(-45deg);
  	-webkit-transform: translateY(10px) rotate(-45deg);
  	transform: translateY(10px) rotate(-45deg);
  }
  #gmenu-icon.active span:nth-of-type(2) { opacity: 0; }
  #gmenu-icon.active span:nth-of-type(3) {
    -ms-transform: translateY(-10px) rotate(45deg);
  	-webkit-transform: translateY(-10px) rotate(45deg);
  	transform: translateY(-10px) rotate(45deg);
  }
  
  


  /******************************
  drawer nav (drawer body)
  ******************************/
  #drawer {
  	display: none;
  	position: fixed;
  	top: 0;
  	right: 0;
  	z-index: 999;
  	width: 100%;
  	background: rgba(35,35,35,.0);
  	padding-top: 0;
  	padding-left: 0;
  }
  #drawer ul {
    padding: 0;
    margin: 0;
  }
  #drawer ul li {
    width: 100%;
  	margin-bottom: 0;
  	border-bottom: 1px dotted #787878;
  	padding-bottom: 4px;
    padding: 18px 24px 16px;
    background: #232323;
/*
    transform: rotateX(-90deg);
    transform-origin: 50% 0;
    transition: .1s;
*/
  }
  #drawer ul li:first-child {
    padding-top: 40px;
  }
  #drawer ul li a {
  	display: block;
  	color: #fff;
  	letter-spacing: .15em;
  	font-size: 12px;
  }
  
/*
  #drawer ul.toggle {
    visibility: visible;
  }
  #drawer ul.toggle li{
    transform: rotateX(0);
  }
  #drawer ul.toggle li:nth-child(1) {
    transition-delay: 0s;
  }
  #drawer ul.toggle li:nth-child(2) {
    transition-delay: .1s;
  }
  #drawer ul.toggle li:nth-child(3) {
    transition-delay: .2s;
  }
  #drawer ul.toggle li:nth-child(4) {
    transition-delay: .3s;
  }
  #drawer ul.toggle li:nth-child(5) {
    transition-delay: .4s;
  }
  #drawer ul.toggle li:nth-child(6) {
    transition-delay: .5s;
  }
  #drawer ul li:nth-last-of-type(1) {
    transition-delay: 0s;
  }
  #drawer ul li:nth-last-of-type(2) {
    transition-delay: .1s;
  }
  #drawer ul li:nth-last-of-type(3) {
    transition-delay: .2s;
  }
  #drawer ul li:nth-last-of-type(4) {
    transition-delay: .3s;
  }
  #drawer ul li:nth-last-of-type(5) {
    transition-delay: .4s;
  }
  #drawer ul li:nth-last-of-type(6) {
    transition-delay: .5s;
  }
*/
  
}
/* END Break Point ==================================================================>>> 480px以下 */
