@charset "utf-8";
/* CSS Document */

/* ----- 背景用の動画ファイル ----- */

/* video
---------------------------------------------------- */

.bg-movie {
    position: relative;
    top: 0;
    left: 0;
	bottom: 0;
    width: 100%;
    height: auto;
    z-index: -100;
}
.topcoment {
	padding-top: 8px;
	color:#fff;
	font-family:"Jun 501";
	font-size: 26px;
	font-weight: 500;
}
.topcatch {
	font-family:"Jun 501";
	font-size: 46px;
	color:#fff;
	font-weight: 500;
}


/*========= レイアウトのためのCSS ===============*/

.topflex {
	position: absolute;
	width: 100%;
	display: flex;
	top: 50px;
	left: 5%;
	margin: 0 auto;
}

.topmenu {
	flex-basis:96%;
}


/* トップ画面のスライドショー
---------------------------------------------------- */
.topcpname {
	position: absolute;
	left: 100px;
	top: 40vh;
}
.topcpname img {
	width: 600px;
}
.overlaylogo {
  position: absolute;
  top: 30px;
  left: 5%;
}
.overlaylogo img {
	width: 240px;
}

.img-box{
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.img-box>div{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}
@keyframes fade {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 7;
  }
  80%{
    opacity: 0;
    transform: scale(1.2);
  }
  100%{
    z-index: 0;
    opacity: 0;
  }
}
/* 1枚目のスライド */
.img-box>div:first-of-type{
  background-image: url("../images/topimage1.jpg");
}

/* 2枚目のスライド */
.img-box>div:nth-of-type(2){
  background-image: url("../images/topimage2.jpg");
  animation-delay: 4s;
}

/* 3枚目のスライド */
.img-box>div:last-of-type{
  background-image: url("../images/topimage3.jpg");
  animation-delay: 8s;
}


/* ページトップ
---------------------------------------------------- */
.pagetopcpname {
	position: absolute;
	left: 100px;
	top: 110px;
}
.pagetopcpname img {
	width: 520px;
}
.pageimg-box{
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

/*スマホ*/
@media screen and (max-width: 768px){
.topcoment {
	font-size: 16px;
}
	.topcatch {
	font-size: 30px;
}
.img-box{
  height: 70vh;
}
.img-box>div{
  height: 70vh;
}
	.topcpname {
	left: 20px;
	top: 20vh;
}
.topcpname img {
	width: 260px;
}
	.pagetopcpname {
	position: absolute;
	left: 20px;
	top: 50px;
}
.pagetopcpname img {
	width: 260px;
}
	.pageimg-box {
		width: 100%;
  height: 150px;
	}
.pageimg-box img {
  width: 250%;
  height: 100%;
}
	.overlaylogo {
  top: 8px;
  left: 16px;
		z-index: 999;
}
	.overlaylogo img {
	width: 130px;
}
}


