/*----------------------------
 共通CSS
-----------------------------*/

/*===== レイアウト設定 =====*/


body {
/*  IE8以下の代替の背景画像  */
background:url("mv.jpg") #000;
background-attachment:fixed;
background-size:cover;
position:relative;
}

video {display:block;}
 
#bg-video {
	position:fixed;
	bottom:0;
	min-width:100%;
	min-height:100%;
	width:auto;
	height:auto;
	z-index:-10;
	text-align: center;
}

#wrapper {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.sec {
  position: relative;
  padding: 4.6875% 1.5625%;
}

.col-2 {
	width: 100%;
	display: table;
	text-align: center;
}

.col-2 > div {
  display: table-cell;
  text-align: left;
  vertical-align: middle;
}

.ttl-h2 {
  width: 100%;
  margin-bottom: 20px;
}

.ttl-h2 img {
  display: block;
  margin: 0 auto;
}

i {
  position: relative;
  font-style: normal;
  margin-right: 5px;
}

.marker {
  background: linear-gradient(transparent 65%, #FCFF00 65%);
  font-weight: bold;
  color: #000;
}




/*===== ヘッダー =====*/

header {
  width: 100%;
  height: 10%;
  max-height: 100px;  
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: 20;
}

header .col-2 {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

header .col-2 > div {
	width: 100%;
	height: 60px;
	text-align: center;
	vertical-align: middle;
	background-color: rgba(0,0,0,0.6);
}


header .col-2 > div #logo {
  background: #BFFFEF;
  width: 100%;
  display: block;
  vertical-align: middle;
  position: relative;  
}

header .col-2 > div #logo img {
	position: absolute;
	width: 18%;
	z-index: 10000;	
	top: 0px;
	left: 42%;
}

.header-back {
  animation: fade-out .6s ease-in 0s alternate forwards;
  position: relative;
  z-index: 101;
}

@keyframes fade-out {
  0%{
	opacity: 1;
  }
  100%{
	opacity: 1;
	top: 0;
  }
}

.header-fixed {
  animation: fade-in .6s ease-out 0s alternate forwards;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  opacity: 0;
}

@keyframes fade-in {
  0%{
	opacity: 0;
	top: -100px;
  }
  100%{
	opacity: 1;
	top: 0;
  }
}




/* ------------------------------
   #menuList
------------------------------ */
#menuList {
	width: 100%;
	height: 45px;
	border-top: #aaa 1px solid;
	border-bottom: #aaa 1px solid;
	position: relative;
	z-index: 10;
	background: #ebebeb;
}

#menuList ul {
	margin: 0 auto;
	width: 800px;
	height: 45px;
	text-align: left;
}

#menuList ul li {
	width: 160px;
	height: 45px;
	float: left;
	border-left: #aaa 1px solid;
	box-sizing: border-box;
}

#menuList ul li:last-child {
	border-right: #aaa 1px solid;
}

#menuList ul li a {
	height: 45px;
	font-weight: bold;
	line-height: 45px;
	display: block;
	text-align: center;
	transition: all 0.2s linear;
}

#menuList ul li:hover > a {
	background: #fff;
}

#contents {
	margin: 0 auto;
	padding: 40px 0;
	width: 800px;
	text-align: left;
}

#contents p {
	padding-bottom: 2em;
	font-size: 1em;
	line-height: 2em;
}

	#menuList {
		display: none;
	}

	#menuOverlay {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.6);
		display: none;
		position: fixed;
		/*z-index: 9997;*/
	}

	#switchBtnArea {	
		position:fixed;
		z-index:2000;
	}

	#switchBtnArea #switchBtn {
		top: 10px;
		left: 10px;
		width: 40px;
		height: 40px;
		display: block;
		background: #a7a7a7;
		position: absolute;
		border-radius: 5px;
		z-index: 9998;
	}

	#switchBtnArea #switchBtn span {
		left: 20%;
		width: 60%;
		height: 4px;
		display: block;
		position: absolute;
		background-color: #fff;
		border-radius: 5px;
		transition: all 0.2s linear;
	}
	#switchBtnArea #switchBtn span:nth-of-type(1) {
		top: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	#switchBtnArea #switchBtn span:nth-of-type(2) {
		top: 18px;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	#switchBtnArea #switchBtn span:nth-of-type(3) {
		bottom: 10px;
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	#switchBtnArea #switchBtn.btnClose {
		background: transparent;
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
		top: 18px;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	#switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
		bottom: 18px;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	#rwdMenuWrap {
		top: 0;
		left: -200px;
		width: 200px;
		height: 100%;
		background-color: rgba(0,0,0,0.6);
		overflow: auto;
		position: fixed;
		z-index: 9999;
	}

	#rwdMenuWrap ul {
		width: 100%;
	}

	#rwdMenuWrap ul li {
		width: 100%;
		border-bottom: #aaa 1px solid;
	}

	#rwdMenuWrap ul li a {
		padding: 15px 20px;
		text-align: left;
		display: block;
		background: #ebebeb;
		position: relative;
	}

	#rwdMenuWrap ul li a:after {
		content: '';
		margin-top: -4px;
		top: 50%;
		right: 15px;
		width: 8px;
		height: 8px;
		color: #888;
		font-size: 1em;
		font-weight: bold;
		line-height: 1.2em;
		display: block;
		position: absolute;
		border-top: 2px solid #b0b0b0;
		border-right: 2px solid #b0b0b0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	#contents {
		width: 100%;
	}

	#contents p {
		padding: 0 20px 2em 20px;
	}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */
#menuList > ul:before,
#menuList > ul:after {
	content: " ";
	display: table;
}
#menuList > ul:after {clear: both;}
#menuList > ul {*zoom: 1;}






















#menu-header {
  position: relative;
}

#menu-close {
  background: #333;
  text-align:center;
  width: 20%;
	height: 10%;
}


#menu-close img {
  width: 40%;
	vertical-align: middle;
	padding-top: 10%;
	padding-bottom: 10%;
}

#menu-header > div:last-child {
  background: #000000;
  color: #fff;
  text-align: center;
  font-size: 1.125em;
  font-weight: bold;
}




/*===== コンテンツ =====*/

#main {
  clear: both;
  width: 100%;
  position: relative;
}





/*===== works =====*/

#works {
	width: 100%;
	background: rgba(0,0,0,0.7);
	padding-bottom: 60px;
	margin-bottom: 50px;
}

#works h2 {
   text-align: center;
    margin: 20px auto;
    font-family: 'Alfa Slab One', cursive;
    font-size: 50px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px #fefcc9, 5px -5px 10px #feec85, -10px -10px 30px #ffae34, 10px -10px 20px #ec760c, -10px -10px 10px #cd4606, 0 -10px 10px #973716, 5px -20px 20px #451b0e;  
}

#works ul {
  width: 60%;
  margin: 0 auto;
}

#works ul li {
  float: left;
  position: relative;
  width: 100%;
  display: block;
  text-align: center;
  padding-bottom: 50px;
}

#works ul li img {
	width: 100%;
	padding-bottom: 10px;
}

#works ul li span {
  font-size: 24px;	
  color: #006666;
}  


.menu li:not(:last-child ) {
	
}

.menu li {
	position: relative;
	width: 100%;
	height: 140px;
	display: inline-block;
	background: rgba(0,0,0,0.7);
	vertical-align: middle;
	margin-bottom: 5px;
	padding: 10px;
}

.menu li a {
	font-size: 21px;
	font-weight: bold;
	display: block;
	color: #FFF;
	vertical-align: middle;
	padding-bottom: 20px;
	position: relative;
}
.menu li a span {
	position: absolute;
	top: 55px;
}

.menu li a::before {
  content: "";
  position: relative;
  display: inline-block;
  margin-right:10px;
  width: 67px;
  height: 66px;
  text-align: center;

  padding-bottom: 10px;
}

.menu li:first-child a::before {
  background: url(../img/common/icon_01.png) no-repeat center center;
  background-size: 67px 66px;
  margin-top:25px;
  width: 67px;
  height: 66px;
}

.menu li:nth-child(2) a::before {
  background: url(../img/common/icon_02.png) no-repeat center center;
  background-size: 67px 66px;
  margin-top:25px;
}

.menu li:nth-child(3) a::before {
  background: url(../img/common/icon_03.png) no-repeat center center;
  background-size: 67px 66px;
  margin-top:25px;
}

.menu li:nth-child(4) a::before {
  background: url(../img/common/icon_04.png) no-repeat center center;
  background-size: 67px 66px;
  margin-top:25px;
}

.menu li:nth-child(5) a::before {
  background: url(../img/common/icon_05.png) no-repeat center center;
  background-size: 67px 66px;
  margin-top:25px;
}



/*===== フッター =====*/

footer {
  width: 100%;
  position: relative;
}


#footer-nav {
	margin-bottom: 10%;
}


#footer-info {
	background-color: #000;
	padding: 4.6875% 1.5625% 1.5625% 4.6875%;
}


#footer-info > #logo {
  width: 100%;
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

#footer-info > #logo img {
  width: 30%;
}


#footer-info > div > div {
  vertical-align: top;
  text-align: center;
}

#footer-info > div > div:last-child {
  width: 24.516%;
  padding-left: 1.6129%;
}


#footer-info dl dt {
  color: #fff;
  font-size: 1.625em;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 5px;
}

#footer-info dl dd p {
  color: #fff;
}

#footer-info dl dd p:nth-child(2) {
  padding: 10px 0;
}

#footer-info dl dd p:nth-child(2) a {
  color: #fff;
  font-size: 2.375em;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 10px 0;
}

#footer-info dl dd p:nth-child(2) a::before {
  content: "";
  display: inline-block;
  background: url(../img/common/icon_tel.png) no-repeat left center;
  background-size: 25px 40px;
  width: 25px;
  height: 40px;
  margin-right: 5px;
  position: relative;
  vertical-align: middle;
  top: -4px;
}

#copy {
  text-align: center;
  color: #fff;
  font-size: 0.813em;
  line-height: 1.3;
  margin-top: 10px;
}




/* pagetop */

#pagetop {
  position: fixed;
  right: 1.34%;
  z-index: 50;
  display: none;
}

.pagetop-absolute {
  position: absolute !important;
  bottom: 10px;
}

.pagetop-fixed {
  position: fixed !important;
  bottom: 10px !important;
}

#pagetop a {
  display: inline-block;
  background: rgba(70,170,214,.6);
  border-radius: 5px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: -.05em;
  -webkit-transition: .4s;
  transition: .4s;
}

#pagetop span {height:25px; width:40px; display:block; position:relative;overflow:hidden; margin: 0 auto 5px;}

#pagetop span:before{content:''; height:20px; width:20px; display:block; border:5px solid #fff; border-left-width:0; border-bottom-width:0; -webkit-transform:rotate(-45deg); transform:rotate(-45deg);;position:absolute; top:7px; left:7px;}

#pagetop a:hover {
  background: rgba(70,170,214,.8);
}





@media screen and (max-width:480px) {

#footer-info {
  padding: 4.6875% 1.5625% 1.5625% 1.5625%;
}

#footer-info dl dd p:nth-child(2) a {
  font-size: 2.000em;
}
  
}




@media screen and (max-width:414px) {
  
#footer-info dl dt {
  font-size: 1.313em;
}
  
#footer-info dl dd p {
  font-size: 0.875em;
  line-height: 1.3;
}
  
#copy {
  font-size: 0.750em;
}
  
#bg-video {
	position:fixed;
	bottom:0;
	right: -110%;
}

}


@media screen and (max-width:375px) {
  
#footer-info dl dd p:nth-child(2) a {
  font-size: 1.500em;
}
  
#footer-info dl dd p:nth-child(2) a::before {
  background-size: 18px 30px;
  width: 18px;
  height: 30px;
  top: -3px;
}
  
#footer-info dl dt {
  font-size: 1.188em;
}

}




/*===== popup =====*/

.lity {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(204,230,255,.5);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity.lity-opened {
  opacity: 1;
}
.lity.lity-closed {
  opacity: 0;
}
.lity * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.lity-wrap {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}
.lity-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}
.lity-loader {
  z-index: 9991;
  color: #fff;
  position: absolute;
  top: 50%;
  margin-top: -0.8em;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
  opacity: 1;
}
.lity-container {
  z-index: 9992;
  position: relative;
  text-align: left;
  vertical-align: middle;
  display: inline-block;
  white-space: normal;
  max-width: 100%;
  max-height: 100%;
  outline: none !important;
}
.lity-content {
  z-index: 9993;
  width: 95%;
  margin: auto;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  transition: transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}
.lity-content:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  right: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  -webkit-box-shadow: 0 0 8px rgba(0,109,217,.8);
          box-shadow: 0 0 8px rgba(0,109,217,.8);
}
.lity-close {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: fixed;
  right: 0px;
  top: 5px;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #006DD9;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0,109,217,.1);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #006DD9;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0,109,217,.1;
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.lity-close:active {
  top: 1px;
}
/* Image */
.lity-image img {
  max-width: 100%;
  display: block;
  line-height: 0;
  border: 0;
}
/* iFrame */
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
  width: 100%;
  max-width: 964px;
}
.lity-iframe-container {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: auto;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
.lity-hide {
  display: none;
}


