@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/*-------------------------
  トップ画面の表示
-------------------------*/
.top-phrase {
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 8px;
}

.phrase-wrapper{
  position: fixed;
  z-index: -1;
  top:300px;
  left:3vw;
}

.first {
  font-size: 4rem;
  line-height: 5.5rem;
  font-weight: 600;
}


.second {
  font-size: 4rem;
  margin-top: 20px;
  font-weight: 600;
}

.small {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 40px;
  width: 100%;
  text-align: right;
  color: #000080;
}
.blue{
  color:#000080;
  display: inline-block;
  margin-right: 30px;
}

@media screen and (max-width: 1000px) {
  .top-phrase {
    padding: 0;
  }
  .first {
    font-size: 3rem;
    line-height: 1.5;
  }
  .second {
    font-size: 3rem;
    margin-top: 10px;
  }
  
  .small {
    font-size: 1.8rem;
    margin-top: 20px;
  }
  .blue{
    margin-right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .phrase-wrapper{
    top:300px;
    left:6vw;
  }
  .first {
    font-size: 2rem;
  }

  .second {
    font-size: 2rem;
    margin-top: 10px;
  }

  .small {
    font-size: 1.2rem;
    margin-top: 10px;
    width: 100%;
  }
  .blue{
    margin-right: 10px;
  }
}

@media screen and (max-width: 575px) {
  .top-phrase{
    letter-spacing: 1px;
  }
  .phrase-wrapper{
    left:4vw;
  }
  .first {
    font-size: 2rem;
    line-height: 1.5;
  }

  .second {
    font-size: 2rem;
    margin-top: 20px;
  }

  .small {
    font-size: 0.9rem;
    margin-top: 20px;
  }
  .blue{
    margin-right: 0;
  }
}

#slider {
  position: fixed;
  top: 100px;
  width: 75%;
  right: 0;
  height: 100%;
  z-index: -2;
  border-radius: 2%;
  transition: 1.5s;
  opacity: 0;
}
#slider::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0.4;
}

@media screen and (max-width: 768px) {
  #slider {
    position: fixed;
    width: 100%;
    z-index: -2;
    border-radius: 2%;
    transition: 1.5s;
    opacity: 0;
    border-radius: 0;
  }
  #slider::after{
    background-color: #FFF;
    opacity: 0.2;
  }
}
#slider.isPlay {
  animation-name: play;
  animation-duration: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8,0,.5,1);
  opacity: 1;
}

#slider.isPlay:before {
  animation-name: maskOut;
  animation-duration: .5s;
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.8,0,.5,1);
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: linear-gradient( 109.6deg,  rgba(0,0,128,1) 11.2%, rgba(0,0,129,1) 91.1% );
}

@keyframes play {
  from {
    transform: translateX(100%);
  }
  
  to {
    transform: translateX(0);
  }
}

@keyframes maskOut {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translateX(-100%);
  }
}

/*-------------------------
  横から白い背景が伸びるアニメーション
-------------------------*/
.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
  opacity: 0;
  color: #fff;

}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #FFF;
}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }

  50% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50.001% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}



/*-------------------------
  スクロールの設定
-------------------------*/
.scrolldown1{
  position: fixed;
  bottom:30px;
  right: 50%;
  color: #FFF;
  z-index: -1;
  text-align: center;
  font-size: 1.3rem;
}
@media screen and (max-width: 768px) {
.scrolldown1{
  right: 10px;
}
}


/* 線の描写 */
.scrolldown1::after{
	content: "";
	position: absolute;
	bottom:50%;
  left: 50%;
	width: 1px;
	height: 30px;
	background: #eee;
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

@keyframes pathmove{
	0%{
		height:0;
		top:10px;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

/*-------------------------
  main-section
-------------------------*/
main{
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #FFF;
}

.section-top{
  width: 100%;
  position: relative;
  padding-top: 50px;
  max-width: 1500px;
  margin:  0 auto;
}
.section-top__title{
  margin:0 auto 60px auto;
  text-align-last: center;
  color:#000080;
  width: 600px;
  font-size: 4rem;
  letter-spacing: 5px;
  
}


.title__focus{
  display: inline-block;
  background-color: #000080;
  border-radius: 50px;
  padding:5px;
  color: #FFF;
}
.section-top__wrapper{
  display: flex;
  justify-content: space-around;
}

.phrase{
  display: flex;
  flex-direction: column;
}

.phrase h2{
  font-size: 1.6rem;
}


.phrase h3{
  font-size: 3rem;
  letter-spacing: 3px;
  font-weight: 600;
}
.color{
  color: blue;
}

.phrase p{
  margin-top: 30px;
  font-size: 1.2rem;
  width: 600px;
}


.img-wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.img-wrapper::after{
  content: '';
    max-width: 500px;
    width: 40vw;
    height: 430px;
    background-color: #000090;
    position: absolute;
    top:-40px;
    right: -30px;
    z-index: 0;

}

.img-wrap{
  position: relative;
  width: 1px;
  height: 430px;
  overflow: hidden;
  opacity: 0;
  z-index: 1;
}

.img-wrap.active{
  max-width: 500px;
  width: 40vw;
  opacity: 1;
  transition: opacity 1s, width 1s;
}

.img-area{
  position: absolute;
  top:0;
  left: 0;
  width: 40vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.6);

}

.img-wrap.active > .img-area{
  transform:scale(1);
  transition: 1s ease-in-out;
}
@media screen and (max-width: 1045px) {
  .section-top{
    margin-top: 10px; 
    margin-bottom: 80px; 
  }
  .section-top__title{
    font-size: 3.5rem;
  }
  .section-top__wrapper{
    display: block;
  }
  
  
  .phrase{
    display: block;
    width: 80%;
    margin:  0 auto;
    
  }
  
  .phrase h2{
    font-size: 1.2rem;
    text-align: center;
  }
  
  
  .phrase h3{
    font-size: 2.5rem;
    font-weight: 600;
    width: 500px;
    margin: 20px auto;
  }
  .color{
    color: blue;
  }
  
  .phrase p{
    font-size: 1.2rem;
    width: 80%;
    margin: 20px auto;
  }

  .img-wrapper{
    display: block;
    width: 80%;
    margin: 80px auto;
  }
  
  .img-wrapper::after{
      content: '';
      max-width:none;
      width: 70vw;
      height: 430px;
      background-color: #000070;
      position: absolute;
      top:-20px;
      right: -20px;
      z-index: 0;
  
  }
  
  .img-wrap.active{
    max-width:none;
    width: 70vw;
    opacity: 1;
    transition: opacity 1s, width 1s;
  }
  
  .img-area{
    width: 70vw;
  }
}

@media screen and (max-width: 576px) {
  .section-top{
    padding-top: 20px;
    margin-bottom: 80px; 
  }
  .section-top__title{
    margin:0 auto 30px auto;
    color:#000080;
    width: 300px;
    font-size: 2rem;
    letter-spacing: 2px;
    
  }
  .phrase{
    display: block;
    width: 80%;
    margin:  0 auto;
    
  }
  
  .phrase h2{
    font-size: 1rem;
    text-align: center;
  }
  
  
  .phrase h3{
    font-size: 1.5rem;
    font-weight: 600;
    width: 315px;
    margin: 20px auto;
  }
  .color{
    color: blue;
  }
  
  .phrase p{
    font-size: 0.9rem;
    width: 100%;
    margin: 10px auto;
  }

  .img-wrapper{
    display: block;
    width: 80%;
    margin: 40px auto;
  }
  
  .img-wrapper::after{
      content: '';
      max-width:none;
      width: 80vw;
      height: 300px;
      background-color: #000070;
      position: absolute;
      top:-20px;
      right: -20px;
      z-index: 0;
  
  }
  .img-wrap{
    height: 300px;
   
    
  }
  .img-wrap.active{
    max-width:none;
    width: 80vw;
    opacity: 1;
    transition: opacity 1s, width 1s;
  }
  
  .img-area{
    width: 80vw;
  }
}

/*-------------------------
  アニメーション
-------------------------*/

/*テキストアニメーション*/

.slide-in {
	overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:1s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:1s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.fade{
  opacity: 0;
}
.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

  /*-------------------------
    ボタンアニメーション
  -------------------------*/
  .btn-title{
    text-align: center;
    font-size: 2rem;
  }
  .btn-flat {
    text-align: center;
    display: block;
    width: 320px;
    overflow: hidden;
    position: relative;
    padding: 20px;
    color: #000;
    border-radius: 0;
    border:solid 1px #000;
    background: transparent;
    margin:  20px auto;
    font-weight: 600;
  }
  
  .btn-flat span {
    position: relative;
  }
  
  .btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-96%);
    transform: translateX(-96%);
    background: #000080;
  }
  
  a.btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    color: #FFF;
  }

  .btn-flat:hover{
    color: #FFF;
    transition: 0.5s;
  }

  @media screen and (max-width: 576px) {
    .btn-title{
      font-size: 1.5rem;
    }
    .btn-flat {
      width: 220px;
      padding: 10px;
    }
  }


  /*-------------------------
     section service
  -------------------------*/
  .service{
    padding-bottom: 20px;
    height: 100vh;
  }
  .service__phrase{
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
.service h2{
  font-size: 5rem;
  letter-spacing: 10px;
  color: yellow;
}

.sub-title{
  font-size: 1.5rem;
  letter-spacing: 0;
  display: block;
}
.service h3{
  color: yellow;
}
.service p{
  width: 60%;
  color: #FFF;
}
@media screen and (max-width: 1045px) {
  .service__phrase{
    display: block;
  }
  .service h2{
    font-size: 3.5rem;
    letter-spacing: 10px;
    text-align: center;
  }
  
  .sub-title{
    font-size: 1.5rem;
    letter-spacing: 0;
    display: block;
  }
  .service p{
    width: 60%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 576px) {
  .service{
    height: auto;
  }
  .service__phrase{
    display: block;
  }
  .service h2{
    font-size: 2rem;
    text-align: center;
    letter-spacing: 5px;
  }
  .sub-title{
    font-size: 1rem;
    letter-spacing: 0;
    display: block;
  }
  .service p{
    margin: 20px auto;
    font-size: 0.8rem;
    width: 320px;
  }
}

/*-------------------------
  画像スライド
-------------------------*/
.slider {
  width:94%;
  margin:50px auto;
}
.slider h3{
  text-align: center;
  font-size: 1.5rem;
}
.slider p{
  width: 100%;
  margin-top: 10px;
}
.slider img {
   width:100%;
   height:15em;
   border-radius: 10px;
}

.slider .slick-slide {
   margin:0 10px;
}


/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
   position: absolute;/*絶対配置にする*/
   top: 42%;
   cursor: pointer;/*マウスカーソルを指マークに*/
   outline: none;/*クリックをしたら出てくる枠線を消す*/
   border-top: 2px solid #666;/*矢印の色*/
   border-right: 2px solid #666;/*矢印の色*/
   height: 15px;
   width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
   left: -1.5%;
   transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
   right: -1.5%;
   transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
   text-align:center;
 margin:20px 0 0 0;
}

.slick-dots li {
   display:inline-block;
 margin:0 5px;
}

.slick-dots button {
   color: transparent;
   outline: none;
   width:8px;/*ドットボタンのサイズ*/
   height:8px;/*ドットボタンのサイズ*/
   display:block;
   border-radius:50%;
   background:#FFF;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
   background:yellow;
}

@media screen and (max-width: 768px) {
  .slider img{
    height: auto;
  }
}

/*-------------------------
  section other
-------------------------*/
.other-wrapper{
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}
.other-btn{
  width: 20vw;
  height: 200px;
  margin:40px;
  border-radius: 20px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(128, 128, 192, 0.98) 0%, rgba(0, 0, 128, 0.97) 90%); 
}
.other-btn:nth-of-type(1):hover{
  opacity: 0.5;
  transition: 0.2s;
}
.other-btn:nth-of-type(2):hover{
  opacity: 0.5;
  transition: 0.2s;
}
.other-btn:nth-of-type(3):hover{
  opacity: 0.5;
  transition: 0.2s;
}
.other-btn:nth-of-type(4):hover{
  opacity: 0.5;
  transition: 0.2s;
}
.other-btn:nth-of-type(5):hover{
  opacity: 0.5;
  transition: 0.2s;
}
.other-btn a{
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 2rem;
}

/*-------
擬似要素テキストが流れる
-------*/
.flowimg {
  position: relative;
  padding: 3vw 10vw;
  overflow: hidden;
}

.flowimg::before,
.flowimg::after {
  content: "WEARECOMPANY";
  position: absolute;
  bottom: 40%;
  width: 100%;
  height: auto;
  color: #000080;
  font-size: 11vw;
  font-family: "Marcellus", serif;
  line-height: 1;
  text-align: center;
  z-index: 0;
  opacity: 0.1;
}

.flowimg::before {
  left: 0;
  -webkit-animation: flowimg 40s linear infinite;
          animation: flowimg 20s linear infinite;
}

.flowimg::after {
  left: 100%;
  -webkit-animation: flowimg 40s linear infinite;
          animation: flowimg 20s linear infinite;
}

@-webkit-keyframes flowimg {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes flowimg {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media screen and (max-width: 480px) {
  .flowimg {
    padding: 40px 10vw;
  }


}
.title {
  margin-bottom: 40px;
  line-height: 1;
  text-align: center;
}
.title h2 {
  display: block;
  font-style: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.title span {
  font-family: "Marcellus", serif;
}

ul.box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
}

.box li {
  flex: 0 1 46%;
  height: 30vw;
  background-color: #565656;
}


/*-------------------------
  section other
-------------------------*/
.other__title{
  font-size: 5rem;
  letter-spacing: 10px;
  text-align: right;
  margin:20px 50px 0 0;
  color: #000080;
}

.other__sub-title{
  font-size: 1.5rem;
  display: block;
}

@media screen and (max-width: 917px) {
  .other-wrapper{
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .other-btn{
    width: 220px;
    height: 200px;
  }
  .other__title{
    font-size: 3rem;
    letter-spacing: 5px;
    text-align: center;
    margin:0 auto;
    color: #000080;
  }
  
  .other__sub-title{
    font-size: 0.9rem;
    display: block;
  }
}
