body{
  font-family: 'Noto Serif JP', serif;
  background-image: url(../img/back-01.jpg);
  background-attachment: fixed;
}

h1{
  color: white;
  letter-spacing: 0.16em;
}

@media (min-width: 320px) {
    h1 {
      font-size: calc(1.5rem + (40 - 24) * ((100vw - 320px) / (1366 - 320)));
      min-height: 0vw;
    }
  }
  @media (min-width: 1366px) {
    h1 {
      font-size: 40px;
    }
  }

  h2{
    color: white;
    letter-spacing: 0.2em;
    font-weight: 600;
    line-height: 1.6;
  }

  @media (min-width: 320px) {
    h2 {
      font-size: calc(0.96875rem + (24 - 15.5) * ((100vw - 320px) / (1366 - 320)));
      min-height: 0vw;
    }
  }
  @media (min-width: 1366px) {
    h2 {
      font-size: 24px;
    }
  }

p{
  line-height: 2em;
  letter-spacing: 0.08em;
  color: white;
}

@media (min-width: 320px) {
  p {
    font-size: calc(0.75rem + (16 - 12) * ((100vw - 320px) / (1366 - 320)));
    min-height: 0vw;
  }
}
@media (min-width: 1366px) {
  p {
    font-size: 16px;
  }
}

.space-4{
  margin: 4rem 0;
}

.space-8{
  margin: 8rem 0;
}

.space-16{
  margin: 16rem 0;
}


/****************************************
ヘッダー
****************************************/

header{
    height:100px;
    width: 100%;
    position: fixed;
    z-index: 2;
}

.menu{
  font-size: 2em;
  color: #FFFFFF;
  margin: 1em;
}

/****************************************
トップ
****************************************/

.top-wrapper{
    background-color: lightgray;
    height:100vh;
    position: relative;
}

.logo {
  position: absolute;
  padding: 1.4em;
  right: 0;
  z-index: 2;
}

.top-title{
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    z-index: 1;
}

/****************************************
メッセージ
****************************************/

.message-wrapper{
    width: 88vw;
    max-width: 1280px;
    margin: 12vh auto 0;
}

.message-wrapper-re{
  text-align: right;
}

.message-wrapper img{
  width: 70vw;
  max-width: 720px;
}

.message{
  margin-top: 1em;
  line-height: 1.3em;
}

.message span{
  font-size: 0.8em;
}

@media (min-width: 320px) {
  .message {
    font-size: calc(1.35rem + (72 - 21.6) * ((100vw - 320px) / (1366 - 320)));
    min-height: 0vw;
  }
}
@media (min-width: 1366px) {
  .message {
    font-size: 72px;
  }
}

.message-wrapper-2{
    width: 100%;
    margin: 0 auto;
    background-position: top center;
    background-size: auto;
    padding-bottom: 6%;
    margin: 2em 0 36em;
}

.visual-00{
  background-image: url(../img/about-23.png);
  padding-bottom: 12%;
  margin: 0 0 10em;
  background-position-x: 30%;
}

.visual-01{
  background-image: url(../img/about-26.png);
}

.visual-02{
  background-image: url(../img/about-29.png);
}

.visual-03{
  background-image: url(../img/about-41.png);
}

.visual-04{
  background-image: url(../img/about-42.png);
}

@media (max-width: 1366px) {
    .message-wrapper-2 {
      background-size: cover;
    }
  }

.message-wrapper-3{
    width: 88vw;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10em 0;
    position: relative;
}

.message-image-left{
  position: absolute;
  top: 100%;
  width: 37.5%;
  max-width: 480px;
}

.message-image-left img{
  width: 100%;
}

.message-image-right{
  position: absolute;
  right: 4%;
  top: 110%;
  width: 53.125%;
  max-width: 680px;
}

.message-image-right img{
  width: 100%;
}

.message-image-left-re{
  left: 4%;
  top: 110%;
  width: 53.125%;
  max-width: 680px;
}

.message-image-right-re{
  top: 100%;
  right: 0;
  width: 37.5%;
  max-width: 480px;
}

.message-wrapper-5{
  width: 88vw;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 14em;
}

.message-image-left-5{
  position: absolute;
  top: -20%;
  left: 4%;
  width: 53.125%;
  max-width: 680px;
}

.message-image-right-5{
  position: absolute;
  top: -40%;
  right: 2%;
  width: 37.5%;
  max-width: 480px;
  opacity: 1;
  background-color: rgba(0, 0, 0, 1);
  mix-blend-mode: screen;
}

@media (min-width: 320px) {
    .message-title-decoration {
      font-size: calc(2.25rem + (60 - 36) * ((100vw - 320px) / (1366 - 320)));
      min-height: 0vw;
    }
  }
  @media (min-width: 1366px) {
    .message-title-decoration {
      font-size: 60px;
    }
  }

.message-text{
    width: 41vw;
    max-width: 560px;
}

.message-text-re{
  margin-left: auto;
}

.message-middle{
  text-align: right;
}

.message-text p{
  margin: 4vh 0;
  font-size: 20px;
}

.message-text img{
    width: 67.86%;
    display: block;
    margin-left: auto;
}

/****************************************
コンテンツ共通
****************************************/

.wrapper {
  margin: 4em 0;
}

.wrapper img{
  width: 100%;
}

.contents-wrapper{
  width: 88vw;
  max-width: 1280px;
  margin: 0 auto;
}

.contents-title{
  text-align: center;
  margin: 8rem 0 0;
}

.contents-title img{
  width: 70vh;
}

.contents-title p{
  padding-top: 0.2em;
}

.title-border{
  border: 0.1px solid #000000;
  border-image: linear-gradient(to right, #000000 0%, #FFFFFF 50%, #000000 100%);
  border-image-slice: 1;
  margin: 4vh 0;
}

.contents-text{
  width: 66.67%;
  margin: 8vh auto;
}

.inner{
  width: 88vw;
  max-width: 1280px;
  margin: 0 auto;
}

/****************************************
アバウト
****************************************/

.about-contents{
  display: flex;
  margin: 8vh 0;
}

.about-contents-re{
  flex-direction: row-reverse;
}

.about-img {
  width: 49.22%;
  max-width: 630px;
}

.about-re{
  position: relative;
}

.about-img-re{
  position: absolute;
  right: 0;
  z-index: -1;
}

/*
.about-img img{
  width: 100%;
}
*/

.about-img span{
  opacity: 0.6;
}

.about-text{
  width: 44.53%;
  margin-left: 4vh;
  margin-top: 4vh;
}

.about-text-re{
  margin-right: 4vh;
  margin-left: 0;
  
}

.about-text h2 {
  margin: 1vh 0 4vh;
  line-height: 1.6;
}

.button{
  text-align: right;
  margin-top: 2vh;
  margin-right: -2vh;
}

.button-re {
  text-align: left;
  margin-top: 2vh;
  margin-left: -2vh;
}

/****************************************
プロダクト
****************************************/

.product-contents{
  display: flex;
  flex-wrap:wrap;
  width: 66.67vw;
  margin: 8rem auto;
  align-items: flex-start;
}

.product-contents img{
  width: 32vw;
  max-width: 630px;
  margin: 0.4em;
}

.product-contents-right {
  margin: 4em 0 -4em!important;
}

.product-image{
  position: relative;
}

.product-image h2{
  position: absolute;
  top: 5%;
  text-align: center;
  width: 100%;
}

.product-image p{
  position: absolute;
  top: 10%;
  text-align: center;
  width: 100%;
}

.product-image-button{
  position: absolute;
  bottom: 2%;
  right: 2%;
}

.product-image-button img{
  width: auto;
  margin: 0;
}

/****************************************
ビジネス
****************************************/

.business-contents{
  margin: 8rem auto;
}

.business-m-s{
  display: flex;
  margin: 2rem auto ;
}

.business-box{
  width: 62.5%;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 3rem;
}

.business-m-s img{
  width: 37.5%;
}

.business-box-text{
  line-height: 2;
  margin-top: 2rem;
}

/****************************************
フッター
****************************************/

footer{
  background-color: rgba(255, 255, 255, 0.2);
  height:80px;
  width: 100%;
  z-index: 2;
  position: relative;
}

footer ul{
  display: flex;
  line-height: 80px;
}


footer li{
  margin-right: 2em;
  color: #fff;
  font-size: 12px;
}

footer p{
    position: absolute;
    right: 0;
    top: 0;
    line-height: 80px;
    margin-right: 6vw;
    font-size: 12px;
}

.tb{
  display: none;
}

.sp{
  display: none;
}



/****************************************
ナビゲーション
****************************************/

.menu-title {
  border-left: white solid 1px;
  padding: 0.5em 1em 0;
}

.menu-big{
  font-size: 16px;
  font-weight: normal;
}

.menu-small{
  font-size: 12px;
}

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:0;
  left: -16%;
width:16%;
  height: 100vh;/*ナビの高さ*/
background:#000000;
opacity: 0.8;
  /*動き*/
transition: all 0.4s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  left: 0;
}


/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width:100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 0;
  transform: translate(0,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
list-style: none;
  text-align: left; 
}

#g-nav li a{
color: #FFFFFF;
text-decoration: none;
padding:1em;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
left: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: #FFFFFF;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
top:15px;	
}

.openbtn span:nth-of-type(2) {
top:23px;
}

.openbtn span:nth-of-type(3) {
top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}



/****************************************
スライダー
****************************************/

.slider {
  position:relative;
	z-index: 0;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/top-01.jpg);
}

.slider-item02 {
    background:url(../img/top-02.jpg);
}

.slider-item03 {
    background:url(../img/top-03.jpg);
}

.slider-item04 {
  background:url(../img/top-04.jpg);
}

.slider-item05 {
  background:url(../img/top-05.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    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:#333;/*ドットボタンの現在地表示の色*/
}



/****************************************
スクロール
****************************************/

/*スクロールダウン全体の場所*/
.scrolldown1{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
left:50%;
bottom:10px;
  /*全体の高さ*/
height:80px;
z-index: 1;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
  /*描画位置*/
position: absolute;
left:-15px;
top: -15px;
  /*テキストの形状*/
color: #eee;
font-size: 0.7rem;
letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
content: "";
  /*描画位置*/
position: absolute;
top: 0;
  /*線の形状*/
width: 1px;
height: 30px;
background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
animation: pathmove 2s ease-in-out infinite;
opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
0%{
  height:0;
  top:0;
  opacity: 0;
}
30%{
  height:30px;
  opacity: 1;
}
100%{
  height:0;
  top:50px;
  opacity: 0;
}
}

.header-pc {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  height: 4rem;
  width: 100%;
  position: fixed;
  z-index: 9;
}

.header-list-wrapper{
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

header{
  display: none;
}

.contents-title {
  margin: 0;
  padding: 8rem 0 0;
}



/****************************************
タブレット
****************************************/

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

  .contents-title {
    padding: 0;
  }

  .pc , .header-pc{
    display: none;
  }
  
  .tb , header{
    display: block;
  }

  .message-wrapper {
    margin: 4vh auto;
}

  .message-wrapper-2{
    display: none;
}

  .message-wrapper img {
    width: 100%;
    max-width: 530px;
}

.message-wrapper-4{
  margin: 4vh 0;
}

.message-wrapper-4 img{
  width: 100%;
}

.message-wrapper-4-sub{
  display: flex;
  align-items: flex-start;
}

.message-wrapper-4-sub img{
  width: 50%;
}

.message-wrapper-5 {
  width: 88vw;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 6em;
}

  .about-contents {
    display: block;
    margin: 4vh 0 6vh;
}

.about-text {
  width: 100%;
  margin-left: 0; 
  margin-top: 4vh;
}

.about-img-re {
  position: inherit; 
  right: 0;
  z-index: -1;
}

.product-contents {
  display: block;
  flex-wrap: wrap;
  width: 66.67vw;
  margin: 8vh auto;
  align-items: flex-start;
}

.product-contents img {
  width: 100%;
  max-width: 630px;
  margin: 0.4em 0;
}

.product-contents-right {
  margin: 0!important;
}

.business-m-s {
  display: block;
  margin: 4rem auto;
}

.business-box {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 3rem;
}

.business-m-s img {
  width: 100%;
}

.about-img {
  width: 100%;
  max-width: 630px;
}

.about-img img{
  width: 100%;
}

.contents-title {
  text-align: center;
  margin: 8rem 0 0;
}

.contents-title img {
    width: 48vh;
}

.contents-text{
  width: 66.67vw;
  margin: 8vh auto;
}

.space-16 {
  margin: 4rem 0;
}

.business-contents {
  margin: 0 auto;
}

footer ul {
  display: none;
}

footer p {
  position: inherit;
  margin-right: 0;
  text-align: center;
}

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:0;
  left: -24%;
width:24%;
  height: 100vh;/*ナビの高さ*/
background:#000000;
opacity: 0.8;
  /*動き*/
transition: all 0.4s;
}

}



/****************************************
スマホ
****************************************/

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

  .tb{
    display: none;
  }
  
  .sp{
    display: block;
  }

  body:before{
    content:"";
    display:block;
    position:fixed;
    top:0;
    left:0;
    z-index:-2;
    width:100%;
    height:100vh;
    background:url(../img/back-01sp.jpg) center no-repeat;
    background-size:cover;
  }

  .message-wrapper {
    width: 88vw;
    max-width: 1280px;
    margin: 1em auto 0;
}

.message-wrapper-4{
  margin: 4vh 0;
}

.message-wrapper-4 img{
  width: 100%;
}

.message-wrapper-4-sub{
  display: flex;
  align-items: flex-start;
}

.message-wrapper-4-sub img{
  width: 50%;
}

.message-wrapper-5 {
  width: 88vw;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 4em;
}

  .product-contents {
      display: block;
      flex-wrap: wrap;
      width: 100%;
      margin: 0 auto;
      align-items: flex-start;
  }

  .contents-text{
    width: 100%;
    margin: 8vh auto;
  }

  .business-box {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
}

.about-contents {
  display: block;
  margin: 4vh 0 8vh;
}

.button {
  text-align: right;
  margin-top: 2vh;
  margin-right: 0;
  text-align: center;
}

.button img{
  width: 50%;
}

.product-image-button {
  text-align: right;
}

.product-image-button img{
  width: 80%;
}

.contents-title {
  text-align: center;
  margin: 6rem 0 0;
}

.contents-title img{
  width: 100%;
}

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:0;
  left: -50%;
width:50%;
  height: 100vh;/*ナビの高さ*/
background:#000000;
opacity: 0.8;
  /*動き*/
transition: all 0.4s;
}

}