/*--------- sp ---------*/
.slid_wrap {
	width: 100%;
	position: relative;
	overflow: hidden;
}
.slider {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	line-height: 0;
    }
.slick-slide {
  transition: all ease-in-out 0.5s;
  /*opacity: .2;*/
}
.slid {
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-position:  center center;
  background-size: 768px;
}
.slid_01 {
	background-image: url("../images/top/slide_01.jpg");
    }
.slid_02 {
	background-image: url(../images/top/slide_02.jpg);
    }
.slid_03 {
	background-image: url(../images/top/slide_03.jpg);
    }
.slid_04 {
	background-image: url(../images/top/slide_04.jpg);
    }
.slid_05 {
	background-image: url(../images/top/slide_05.jpg);
    }
/*=== スクロールを促す↓ ====*/
.scrolldown {
  position: absolute;
  bottom: 0px;
  right: 50%;
  transition: .9s;
}
.scrolldown_on {
  opacity: 0;
}
/*Scrollテキスト*/
.scrolldown span {
  /*描画位置*/
  position: absolute;
  left: -2em;
  bottom: 72px;
  /*テキストの形状*/
  color: var(--pink);
  font-size: clamp(1.5rem,1.8vw,1.8rem);
  font-weight: var(--Bold);
  
  text-shadow: 1px 1px 3px #fff;
  /*縦書き設定*/
  /*-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;*/
  /*text-shadow: 1px 1px 1px #ccc;*/
}
/* 丸 */
.scrolldown:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: -3px;
  /*丸の形状*/
  width: 7px;
  height: 7px;
  border-radius: 10px;
  background: var(--pink);
  /*丸の動き1.4秒かけて透過し、永遠にループ*/
  animation:
    circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
  box-shadow: 1px 1px 3px #fff;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 55px;
  }
  100% {
    bottom: -20px;
  }
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0
  }
  30% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/* 線 */
.scrolldown:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 1px;
  height: 60px;
  background: var(--pink);
  box-shadow: 1px 1px 3px #fff;
} /*=== スクロールを促す↑ ====*/

.explain{
  padding: clamp(70px,12vw,140px) 0;
  color: #fff;
  text-align: center;
  
    h3{
      font-size: var(--font-size60);
      position: relative;
    }
    h3:before{
      position: absolute;
      content: '';
      display: inline-block;
      width: 1.3em;
      bottom: -5px;
      left: calc((100% - 1.3em) / 2);
      border-bottom: solid 1px #fff;
    }

    p{
      padding-top: clamp(20px,3vw,44px);
      font-weight: var(--SemiBold);
      font-size: clamp(1.8rem,2vw,3.6rem);
    }
  
    .paragraph{
      width: min(90%,960px);
      margin: 0 auto;
      padding-top: clamp(14px,1.8vw,24px);   
      text-align: left;
      font-size: var(--font-size18);
      line-height: 1.8;
    }
}
/*--------- 会社案内 sp ---------*/
.company{
  padding: clamp(70px,12vw,140px) 0 clamp(40px,7vw,80px);
  width: min(90%,1264px);
  margin: 0 auto;
  
  .company_tx{
    
    .title{
      font-size: var(--font-size80);
      position: relative; 
      
      &:before{
        position: absolute;
        content: "会社案内";
        font-size: clamp(1.2rem,1.8vw,1.8rem);
        left: 0;
        top: -1em;
      }
    }
    
    h2{
      padding-top: var(--px40);
      font-size: clamp(1.7rem, 2.6vw, 3.0rem);
      font-weight: var(--Bold);
      padding-left: 12px;
    }

    p{
      padding-top: clamp(4px,1vw,5px);
      padding-left: clamp(17px,2vw,35px);
    }
  }
  
  .company_img{
    margin-top: clamp(22px,2.5vw,35px);
    
    img{
      padding-bottom: var(--px10);
    }

    
  }
  .btn_box{
    margin-top: clamp(15px,3vw,42px);
    font-size: 1.6rem;
    
    a:hover{
      opacity: 1;
    }
    
    .btn_01 {
      display: inline-block;
      width: 200px;
      padding-left: 2em;
      line-height: 55px;
      outline: none;
      border-radius: 60px;
      color: #fff;
      background-color: var(--font-color);
      position: relative;
      border: 1px solid var(--font-color);
      transition: color 0.3s ease;
      overflow: hidden;
    }
    .btn_01:after {
      position: absolute;
      content: "→";
      font-size: 20px;
      right: 1em;
    }
    .btn_01:hover {
      color: var(--font-color);
      border-radius: 50px;
    }
    .btn_01:hover::before {
      transform: scaleX(1);
      transform-origin: left;
    }
    .btn_01::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background: #fff;
      transform: scaleX(0);
      transform-origin: right;
      transition: all 0.3s ease;
      transition-property: transform;
    }
    .btn_text {
      position: relative;
    }
  }


}
/*--------- 商品一覧 sp ---------*/  
.product{
  position: relative;
  border-top: 120px solid #F2F2F2;
  color: #fff;
  padding-bottom: var(--px140);
  
  &:before{
    content: '';
    position: absolute;
    top: clamp(-120px,-8vw,-50px);
    width: 50%;
    height: clamp(50px,8vw,120px);
    background: var(--main-color);
  }
  .text_inner{
    width: min(90%,1264px);
    margin: 0 auto;
    padding-top: var(--px20);
    
    .title{
      font-size: var(--font-size80);
      position: relative; 
      
      &:before{
        position: absolute;
        content: "製品一覧";
        font-size: clamp(1.2rem,1.8vw,1.8rem);
        left: 0;
        top: -1em;
      }
    }
    p{
      padding-top: 14px;
    }
  }
  
}

.catego_other{
    width: min(90%,1650px);
    margin: 0 auto;
    padding-top: var(--px100);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(286px, 1fr));
    grid-auto-rows: 230px;
    grid-gap: 25px;
    transition: .5s;
    
    .g_item{
      position: relative;
      overflow: hidden;
      border: 2px solid #ccc;
      
      img{
        width: 100%;
        object-fit: cover;
        object-position: 50% 50%;
      }
      
      .cover{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.6);
        <!--backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);-->
      }
      
      .btn_box{
        font-size: 1.6rem;
        position: absolute;
        bottom: 8px;
        /*top: calc((100% - 70px) / 2);*/
        left: calc((100% - 200px) / 2);

        a:hover{
          opacity: 1;
        }

        .btn_01 {
          display: inline-block;
          width: 200px;
          padding: 12px 0;
          outline: none;
          border-radius: 60px;
          text-align: center;
          position: relative;
          border: 1px solid #888;
          background-color: rgba(255,255,255,0.8);
          transition: color 0.3s ease;
          overflow: hidden;
        }

        .btn_01:hover {
          color: #fff;
          border-radius: 50px;
        }
        .btn_01:hover::before {
          transform: scaleX(1);
          transform-origin: left;
        }
        .btn_01::before {
          position: absolute;
          top: 0;
          left: 0;
          content: "";
          display: block;
          width: 100%;
          height: 100%;
          background: #14141E;
          transform: scaleX(0);
          transform-origin: right;
          transition: all 0.3s ease;
          transition-property: transform;          
        }
        .btn_text {
          position: relative;
          text-decoration: underline;
        }
      }
      
      .other_layer{
        position: absolute;
        left: 0;
        top: 0;
        color: #14141E;
        font-size: 2.8rem;
        line-height: .9;
        padding: 30px 15px 10px 20px;
        transition: .5s;
        
        span{
          font-size: 1.5rem;
          display: inline-block;
          padding-top: 8px;
          line-height: 1.4;
          font-weight: var(--Regular);
        }
      }
    }
  }

@media (min-width:768px){
.slid {
  height: 100vh;
  background-size: cover;
}
/*--------- 会社案内 tab ---------*/
  .company{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    .company_tx{
      width: min(47%,495px);
    }

    .company_img{
      margin-top: 0;
      width: 50%; 
    }
  }
/*--------- 商品一覧 tab ---------*/  
  .product{
    
    .text_inner{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      
      .title{
        width: 40%;
      }
      p{
        padding-top: 10px;
        width: min(60%,495px);
      }
    }

  }
.catego_other{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-auto-rows: 250px;
    
    .g_item{
      
      .btn_box{
        bottom: 12px;
      }
      
      .other_layer{
        font-size: 2.9rem;
        padding: 35px 10px 10px 15px;
        
        span{
          font-size: 1.6rem;
          padding-top: 15px;
        }
      }
    }
  }

 
 
}
@media (min-width:1024px){
/*--------- pc ---------*/
  .main_photo{
    height: 100vh;
    
    .main_tx{
      
      h1{
        font-size: clamp(5.0rem,5vw,10rem);
      }
      h2{
        &:before{
          width: calc(100% - 14em);
        }
      }
    }
  }
  .explain{
    h3:before{
      border-bottom: solid 2px #fff;
    }
  }
/*--------- 会社案内 pc ---------*/  
  .company{

    .company_tx{

      .title{ 

        &:before{
          top: -.6em;
        }
      }
    }
}
/*--------- 商品一覧 pc ---------*/  
  .product{

    .text_inner{

      .title{
        
        &:before{
          top: -.6em;
        }
      }
    }
  }
  .catego_other{
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 30px;

    }

}



@media (min-width:1200px){
  .main_photo{
    .main_tx{
      h2{
        &:before{
          width: calc(100% - 14.8em);
        }
      }
    }
  }
 }
@media (min-width:1280px){
/*----- 1280 -----*/
  .main_photo{
    .main_tx{
      h2{
        &:before{
          width: calc(100% - 15.2em);
        }
      }
    }
  }
  /*--------- 商品一覧 1280 ---------*/  
  .catego_other{
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    grid-gap: 35px;

  }
  
  
}
@media (min-width:1480px){
/*----- 1480 -----*/
  .main_photo{
    .main_tx{
      h2{
        &:before{
          width: calc(100% - 15.9em);
        }
      }
    }
  }


}



@media (min-width:1560px){

  /*--------- 商品一覧 1560 ---------*/  
  .catego_other{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 10px;
    grid-auto-rows: 280px;

    }
}

@media (min-width:1600px){
/*----- 1600 -----*/
  .main_photo{
    
    .main_tx{
      
      h2{
            
        &:before{
          width: calc(100% - 16.2em);
        }
      }
    }
  }
/*--------- 商品一覧 1600 ---------*/
.catego_other{
    grid-gap: 20px;
    
    .g_item{
      
      .btn_box{
        bottom: 20px;
      }
      
      .other_layer{
        font-size: 3.2rem;
        
        span{
          padding-top: 18px;
        }
      }
    }
  }  
  
  
  
  
}


@media (min-width:1680px){
/*----- 1680 -----*/
  .main_photo{
    
    .main_tx{
      
      h2{
            
        &:before{
          width: calc(100% - 16.6em);
        }
      }
    }
  }

  

}

@media (min-width:1860px){
/*----- 1860 -----*/
  .main_photo{
    
    .main_tx{
      
      h2{
            
        &:before{
          width: calc(100% - 17.3em);
        }
      }
    }
  }


}