@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:600,700|Noto+Sans+JP');
/* CSS Document */

.mv {
    position: relative;
    overflow: visible;
}
.layoutFull {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
/*
.mv > .inner {
    width: 100%;
    height: calc(100vh);
    position: relative;
    overflow: hidden;
}
.mv > .inner .video {
    position: fixed;
    z-index: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
*/
.mv > .inner {
    /*background: #012135;*/
    bottom:0;
    left: 0;
    overflow: hidden;
    /*position: absolute; /* fixed の場合。absolute でも同じ */
    height: 100vh;
    right: 0;
    top: 0;
    z-index: -1
  }

.mv > .inner .video {
    box-sizing: border-box;
    height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
    left: 50%;
    /*left: 63%;*/
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 0;
    /*top: -18%;*/
    transform: translateX(-50%);
    width: 177.77777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
}

.zindex-up{
	position: relative;
	background: #FFF;
}
.visual-div{
    display: block;
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*background-color: rgba(0, 0, 0, 0.3);*/
}
.visual-contents {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
}
/*
.visual-contents{
    
	position: absolute;
	left: 100%;
	top:60%;
    width: 100%;
}
.visual-contents div{
	text-align: center;
	transform: translate(-50%,-60%);
}
*/
.visual-title{
	color: #fff;
	font-family: 'Josefin Sans', sans-serif;
	/*font-size: 48px;*/
    font-size: 4rem;
	font-weight: bold;
	text-shadow: 1px 5px 5px rgba(0,0,0,.3);
}

.visual-text{
	font-family: 'Josefin Sans', sans-serif;
	margin-top: 1.5rem;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	text-shadow: 1px 5px 5px rgba(0,0,0,.3);
}


.text-animation {
  font-family: kozuka-mincho-pro, serif;
  font-weight: 700;  
  font-style: normal;
  display: flex;
  overflow: hidden;
  color: #fff;
  font-size: 6rem;
  /*line-height: 1.5em;*/
  font-weight: bold;
}
.text-animation.sub-catch {
    margin-top: 1.75rem;
    margin-left: 3rem;
    font-size: 2.25rem;
}
.font6rem{
    font-size: 6rem;
}
.font5rem {
    font-size: 5rem;
}
.font3rem{
    font-size: 3rem;
}

.text-animation span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
  /*background-color: #000000;*/
}

.text-animation.-visible span {
  transform: translate(0, 0);
}

.text-animation span:nth-child(2) {
  transition-delay: 0.06s;
}
.text-animation span:nth-child(3) {
  transition-delay: 0.12s;
}
.text-animation span:nth-child(4) {
  transition-delay: 0.18s;
}
.text-animation span:nth-child(5) {
  transition-delay: 0.24s;
}
.text-animation span:nth-child(6) {
  transition-delay: 0.30s;
}
.text-animation span:nth-child(7) {
  transition-delay: 0.36s;
}
.text-animation span:nth-child(8) {
  transition-delay: 0.42s;
}
.text-animation span:nth-child(9) {
  transition-delay: 0.48s;
}
.text-animation span:nth-child(10) {
  transition-delay: 0.54s;
}
.text-animation span:nth-child(11) {
  transition-delay: 0.6s;
}
.text-animation span:nth-child(12) {
  transition-delay: 0.66s;
}
.text-animation span:nth-child(13) {
  transition-delay: 0.72s;
}
.text-animation span:nth-child(14) {
  transition-delay: 0.78s;
}
.text-animation span:nth-child(15) {
    transition-delay: 0.82s;
}
.text-animation span:nth-child(16) {
    transition-delay: 0.86s;
}
.text-animation span:nth-child(17) {
    transition-delay: 0.90s;
}
.text-animation span:nth-child(18) {
    transition-delay: 0.94s;
}
.text-animation span:nth-child(19) {
    transition-delay: 0.98s;
}

.text-animation.text-animation.sub-catch span {
  transition-delay: 1s;
}

@media print,screen and (max-width: 1260px) {
  .visual-contents {
    bottom: 2rem;
    left: 2rem;
  }
  .text-animation {
    font-size: 5rem;
  }
  .text-animation.sub-catch {
    font-size: 2rem;
  }
}

@media print,screen and (max-width: 896px) {
/*
    .mv > .inner .video {
        position: absolute;
        top: 0;
        left:0;
        width:100%;
        height: 100%;
        transform:none
      }
*/
/*
    .mv > .inner {
        height: 56.25vw;
        width: 100vw;
    }
*/
    .mv > .inner {
        height: 84.25vw;
        width: 150vw;
        margin-left: -25vw;
    }
    .visual-contents {
      bottom: 5vw
      left: 5vw;
    }
    .text-animation {
      font-size: 7vw;
    }
    .text-animation.sub-catch {
      font-size: 3vw;
      margin-left: 2rem;
    }
}

@media print, screen and (max-width: 769px) { 
    .visual-title{
        font-size: 30px;
    }
}

@media print, screen and (max-width: 680px) { 
.mv > .inner .video {
/*    top: 55%!important;
    left: 100%!important;
*/
}
}

@media print, screen and (max-width: 480px) { 
    .p-home .visual-title {
        /*font-size: 20px;*/
        white-space: nowrap;
    }
    .p-home .visual-contents {
        left: 1rem;
    }
    .p-home .visual-contents div {
        transform: unset;
    }
    .p-home .visual-text {
        /*display: block;*/
        text-align: right;
        line-height: 1.5;
    }
    .text-animation.sub-catch {
      margin-left: 0;
      font-size: 3.5vw;
    }

}
