@charset "utf-8";
/* レイアウトのためのCSS */

body{
  font-family: "Open Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  letter-spacing: 0.1em;
  color: #fff;
  font-size:1rem;
  line-height:1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; 
  word-wrap: break-word;
}

ul{
  margin:0;
  padding: 0;
  list-style: none;
}

a{
  color: #fff;
  text-decoration: none;
  outline: none;
}

p{
  margin:20px 0px;
  font-size: 0.9em;
  text-align: left;
}
img{
  width:100%;
  height: auto;
}

*{
  box-sizing: border-box;
}
h1{
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  z-index: 999;
  letter-spacing: 0.1em;
  line-height: 1.45em;
}
h2{
  font-family: 'Oswald', sans-serif;
  margin-bottom: 50px;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
@media screen and (max-width:550px){
 body,p{
  font-size: 0.7em;
  margin:inherit;
 }
 h2{
  font-size: 1.5rem;
  margin-bottom: 25px;
  }
}
/*==================================================
/* header */
/*===========================================*/
#header{
  position: absolute;
  width: 100%;
}
nav{
  position: fixed;
  z-index:999;
  padding:5px 20px;
  /*--background-color:rgba(205,205,205,0.4);--*/
  width: 100%;
}
/*右にある丸ナビゲーション色*/

#multiscroll-nav span{
  background:transparent!important;
  border-color:#fff!important;
}

/*右にある丸のナビゲーション現在地色*/

#multiscroll-nav li .active span{
  background:#fff!important;
}

/*左上のナビゲーション*/
#menu{
  font-family: 'Oswald', sans-serif;
}
#menu li {
  display:inline-block;
}

#menu li a{
  display:inline-block;
  text-decoration:none;
  color: #fff;
  padding:20px;
  opacity: 0.9;

}
@media screen and (max-width:550px){
  
#header{
  justify-content: center;
}
ul#menu{
  display: flex;
  justify-content: space-between;
}
#menu li a{
  font-size: 0.8em;
  padding: 10px 10px 10px 0px;
}
#menu li a::after{
  left:0px;
  bottom: 25px;
}
}
@media screen and (max-width:375px){
#menu li a{
  font-size: 0.65em;
  }
#menu li a::after{
  bottom: 20px;
}
}
/*==================================================
/*全体の設定*/
/*===================================*/
#main{
  background: #4aa899;
  width: 100%;
  min-height: 50vh;
  min-height: calc(var(--vh, 1vh) * 50);
}
#uniform,#about{
  background: #f7f7f7;
}
#partner{
  background: #f7f7f7 ;
}

.sp-bottom{
  text-align: center;
}
.flex_box{
  display: flex;
}
img.logo{
  width: 240px;
}
/*sスライド*/
.img-gallery {
  background: #4aa899;
  background-size: 50px 16px;
  min-height: 40vh;
  min-height: calc(var(--vh, 1vh) * 40);
}
.text_area{
  position: absolute;
  top:50%;
  text-align: left;
  padding: 0px 20px 0px 20px;
  width: 880px;
  max-width: 100%;
  transform: translate(-0%, -50%);
}
.text_area p{
  margin:initial;
  animation-delay: 2.7s;
  margin:10px 0px;
  font-size: 0.9em;
}

.fadein {
  opacity: 0;
  animation: fadein 2s ease forwards;
}
@keyframes fadein {
  100% {  opacity: 1;}
}

@media screen and (max-width:680px){
 h1{
  font-size: 1.5rem;
  }
}
@media screen and (max-width:550px){
 img.logo{
  width: 160px;
  }
}
.ms-section{
  color:#fff;
  display: flex;
  align-items: center;
  background: #fff;
  flex-direction: column;
  margin:0 auto;
  text-align: center;
}

.sp-bottom{
  width: 100%;
  color:#2e2e2e;
  margin-bottom: 20px;
}
.ms-top{
  width: 100%;
  margin-bottom: 20px;
}

/*about*/
#about .sp-bottom ul li{
  border-bottom: 1px solid #ccc;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
}

#about .about-list {
  width: 96%;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

#about .about-list dl {
  display: flex;
  justify-content: space-between;
}
#about .about-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}
#about .about-list dd {
  width: 65%;
}
@media screen and (max-width:550px){
 .sp-bottom{
  margin-bottom: 10px;
 }
}
/*==================================================
/*footer*/
/*===================================*/
#footer{
  bottom:20px;
  left: 20px;
  width:100%;
  background-color:rgba(205,205,205,0.6);
  padding: 0px 20px 0px 20px;
}
small{
  padding: 20px;
  display: block;
  text-align: center;
}

@media screen and (max-width:550px){
 
#footer{
  bottom:inherit;
  left: 20px;
  top:20px;
} 
}
/*==================================================
/*container inner*/
/*===================================*/
#container{
  position: relative;
  z-index: 1;
}
.inner{
  padding: 70px 20px 50px 20px;
  width: 880px;
  max-width: 100%;
  margin: 0 auto;
}
/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay: 0.8s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}
/*==================================================
　スクロールを促す矢印
===================================*/
.scroll_area{
  min-height: 10vh;
  min-height: calc(var(--vh, 1vh) * 10);
  background: #49a899;
  position: relative;
}

/*スクロールダウン全体の場所*/
p.scroll  {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8em;
  text-align: center;
  display: block;
  margin:initial;

}
p.scroll span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: sdb 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
  -webkit-transform: rotate(-45deg) translate(0, 0);
  opacity: 0;
  }
  50% {
  opacity: 1;
  }
  100% {
  -webkit-transform: rotate(-45deg) translate(-20px, 20px);
  opacity: 0;
  }
}
@keyframes sdb {
  0% {
  transform: rotate(-45deg) translate(0, 0);
  opacity: 0;
  }
  50% {
  opacity: 1;
  }
  100% {
  transform: rotate(-45deg) translate(-20px, 20px);
  opacity: 0;
  }
}
/*==================================================
　ナビボタン 中心から外に線が伸びる（中央）
===================================*/
#menu li a{
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

#menu li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 34px;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 1px;
  background: #fff;
  /*アニメーションの指定*/
  transition: all .2s;
  transform: scale(0, 1);/*X方向0、Y方向1*/
  transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
#menu li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}


/*==================================================
/*タイトルのアニメーション*/
/*===================================*/
#uniform h1{
  color: #fff;
}
#goods h2,#about h2{
  color:#eb6100;
}
#uniform h2{
  color: #2c645b;
}
#threed h2{
  color: #fd1d63;
}
/*4-9　シャッ（左から）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@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: #eb6100;/*伸びる背景色の設定*/
}
#main .bgLRextend::before{
  background-color: #fff;
  }
#uniform .bgLRextend::before{
  background-color: #2c645b;
}
#threed .bgLRextend::before{
  background-color: #fd1d63;
}
#partner .bgLRextend::before,#gallery .bgLRextend::before{
  background-color: #2e2e2e;
}
#contact .bgLRextend::before{
  background-color: #2e2e2e;
}
@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);
  }
}

/* 4-1 ふわっ（下から） */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
  opacity: 0;
  transform: translateY(100px);
  }

  to {
  opacity: 1;
  transform: translateY(0);
  }
}


/* 4-2　パタッ（左へ） */
.flipLeft{
animation-name: flipLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area{
  transform:  translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
  opacity: 0;
}


/*==================================================
　ボタンの動き
===================================*/

a{
  display: block;
  text-decoration: none;
}

.Btn{
  position: relative;
  border: 1px solid #4aa899;
  margin-left: auto;
  margin-right: auto;
  width: 240px;
  height: 48px;
  line-height: 48px;
  display: flex;
  text-align: center;
  background: #4aa899;
  border-radius: 3px;
}
.Btn-Text:after{
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  margin-top: -3px;
}
.Btn-Text{
  width: 100%;
  height: 100%;
  color: #fff;
  z-index: 10;
}

.Btn-Text:before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #fff;
  z-index: -1;
  transition: .6s;
}

.Btn-Text:hover{
  color: #4aa899;
  transition: .6s;
}

.Btn-Text:hover:before{
  width: 100%;
}
.Btne-Text:hover:after{
  border-top: 1px solid #4aa899;
  border-right: 1px solid #4aa899;
}
/*==================================================
横移動させて全画面で見せる
===================================*/
.slider {
  position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を(80vh）にする*/
  opacity: 0;
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height:100vh;/*各スライダー全体の縦幅を（80vh）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

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

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

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

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

.slick-dots {
  position: relative;
  z-index: 3;
  text-align:center;
  margin:-50px 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:#ffec04;/*ドットボタンの現在地表示の色*/
}


/*==================================================
複数画像を流して見せる
===================================*/

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider2 img {
  width:100%;/*スライダー内の画像を横幅100%に*/
  height:auto;
}

.slider2 .slick-slide {
  margin:0 10px;/*スライド左右の余白調整*/
}
.slider2{
  opacity: 0;
}

.slider2.slick-initialized {
  opacity:1.0;

}
/*==================================================
トップに戻るボタンの形状
===================================*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background-color:rgba(36,24,24,0.2);
  border-radius: 3px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8em;
}

#page-top a:hover{
  background-color:rgba(36,24,24,0.2);
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
  opacity: 0;
  transform: translateY(100px);
  }
  to {
  opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  opacity: 1;
  transform: translateY(0);
  }
  to {
  opacity: 1;
  transform: translateY(100px);
  }
}