/*----------------------------
 トップページCSS
-----------------------------*/

/*===== メイン画像 =====*/

#mv-box {
  width: 100%;
  height: 320px;
  position: relative;
  margin-bottom: 0px;
}

#mv-box > div {
	display: block;
	position: relative;	
	width: 100%;
	height: 100%;
}

#mv-box > div img {
	display: block;
	position: relative;		
	margin: 0 auto;
	z-index: 10;
	padding-top: 140px;
	width: 80%;
}

#loading {
  position: absolute;
  width: auto;
  margin: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


.fade {
  animation: fade .5s ease .5s alternate forwards;
  opacity: 0;
}

.slide-area {
  display: block;
}

.slide-area li {
  outline: none;
}

.slide-area li img {
  position: relative;	
  width: 100%;
  z-index: -1;
}

button {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  outline: none;
}



/*===== 株式会社 松岡工業 =====*/

#about {
	padding: 0;
}

#about > div {
	display: block;
	width: 100%;
	min-height: 450px;
	position: relative;
	background: rgba(0,0,0,0.7);
}

#about > div h2,
#about > div #btn-about {
	position: relative;
	width: 100%;
}

#about > div h2 {
    text-align: center;
    margin: 20px auto;
    font-family: 'Alfa Slab One', cursive;
    font-size: 50px;
    padding-top: 30px;
    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; }

#about > div #btn-about {
  bottom: 10%;
  left: 18%;
}

#about > div #btn-about img {
  width: 63.0645%;
}

#about > div #about-txt {
	position: relative;
	display: block;
	width: 75%;
	margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

#about > div #about-txt p {
  text-align: left;	
  font-size: 16px;
  color: #FFFFFF;
}

#about > div #about-txt li {
  font-size: 1.125em;
  line-height: 1.3;
  margin-left: 1em;
  text-indent: -1em;
}

#about > div #about-txt li:not(:last-child) {
  margin-bottom: 10px;
}

.scroll {
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 500ms;
}
.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

/*ギャラリーのスライド*/
##stage {
    position: relative;
    width: 100%;
    height:253px;
    margin: 0 auto;
}
#photo1,#photo2,#photo3 {
    position: absolute;
    float: left;
    width: 100%;
    height: 253px;
    left:100%;
    -moz-animation: imgtrans 18s infinite;
    -webkit-animation: imgtrans 18s infinite;
    animation: imgtrans 18s infinite;
}
#photo1 {
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
#photo2 {
    -moz-animation-delay: 6s;
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}
#photo3 {
    -moz-animation-delay: 12s;
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}

#frame {
    width: 100%;
    height: 253px;
    position: relative;
    overflow: hidden;
}
@-webkit-keyframes imgtrans {
 0% { left:100%; }
 5% { left:0%; }
 33% { left:0%; }
 38% { left:-100%; }
 100% { left:-100%; }
}
@-moz-keyframes imgtrans {
 0% { left:100%; }
 5% { left:0%; }
 33% { left:0%; }
 38% { left:-100%; }
 100% { left:-100%; }
}
@keyframes imgtrans {
 0% { left:100%; }
 5% { left:0%; }
 33% { left:0%; }
 38% { left:-100%; }
 100% { left:-100%; }
}




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


#about > div #about-txt p {
  font-size: 0.938em;
  margin-bottom: 10px;
  line-height: 1.4;
}

#about > div #about-txt li {
  font-size: 0.938em;
}

}
