/*メニュー展開時に背景固定*/
body.fixed {
  height: 100%;
  overflow: hidden;
}
/*fv*/
#wrap,.concept{
    position: relative;
    z-index: 1;
}
.fv-wrap,.concept-wrap{
    padding:.1px 0;
    position: relative;
    z-index: 1;
}
.fv-first{
  margin: 0 auto;
}
.fv-first,.concept-top{
    max-width: 1080px;
    padding: .1px 0;
    position: relative;
    z-index: 5;
    margin: 0 auto;
}
.concept-img{
  margin: 30px 0 0;
  width: 90%;
}
.concept-img img{
  width: 100%;
}
.move .animation-bg {
  background-color: #f4f3ef;
  display: block;
  content: "";
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 200vh;
  top: 0;
  left: 0;
  animation-duration: 6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  /*animation-delay: 1s;*/
}
 
.btt .animation-bg {
  animation-name: PageAnime-btt;
}
@keyframes PageAnime-btt {
  50% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: top;
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}

/* concept */
.concept-content{
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: normal;
  margin-bottom: 200px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .01rem;
}
.concept--lead{
  grid-column: 1/2;
  grid-row: 1/2;
  width: 90%;
  margin: 0 0 6%;
}
.concept-statement{
  display: grid;
  grid-column: 2/3;
  grid-row: 1/3;
}
.concept h2{
  font-size: 13px;
  margin: 42px 0 144px 48px;
}
@media screen and (max-width:768px) {
  .concept h2{
    font-size: 13px;
    width: 90%;
    margin: 42px auto 48px;
  }
  .concept--lead{
    font-size: 1.5rem;
  }
  .sp-mt-20{
    margin-top: 20px;
  }
}

.fv-logo{
    width: 400px;
    margin: 266px auto 45px;
}
.fv-logo img{
  width: 100%;
}
@media screen and (max-width:768px) {
  .fv-logo{
    width: 70vw;
    margin: 52.6666666667vw auto 28vw;
  }
  .concept-content{
    grid-template-columns: 100%;
    width: 90%;
    margin: 0 auto 100px;
  }
  .concept-statement{
    grid-column: 1;
    grid-row: 2;
    width: 90%;
    margin: 0;
  }
  .concept--lead{
    width: 100%;
  }
  .concept-statement{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .concept-img{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .fv .establish-date{
    font-size: 4.6666666667vw;
    margin: 0 0 5px;
  }
}
@media screen and (max-width:544px){
  .fv .establish-date{
    font-size: 1.8rem !important;
  }
}
.fv-bottom{
    position: relative;
    height: 100vh;
}
.logo img{
    max-width: 480px;
}
#container {
    text-align: center;
    padding: 10px 0 50px;
}
.fv .establish-date{
  font-size: 2.4rem;
  margin: 0 0 10px;
}
.fv #elapsed-time-1{
  font-size: 1.0rem;
  letter-spacing: 0em;
}

/*時計*/
.digit-container {
    display: inline-block;
    position: relative;
    width: 0.7em;
    height: 1.2em;
}

.digit {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.digit.old {
    transform: translateY(100%);
}

.digit.new {
    transform: translateY(-100%);
    opacity: 0;
}
 /*スライダー*/
 .slider-container {
  position: relative;

}

.slider {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* .slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  animation: parallax linear both;
  animation-timeline: view();
} */

.slide {
  /* width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: absolute; */
  width: 100%;
  height: 100vh;
    position:absolute;
    top:0;
    left:0;
    clip-path:polygon(00% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index:-1;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide img {
  width:100%;
    height: 100%;
    position:fixed;
    top:0%;
    right:0%;
    object-fit:cover;
    
}
.slide.active {
  opacity: 1;
}

@keyframes parallax {
  from {
    background-position: center 0;
  }

  to {
    background-position: center -200px;
  }
}
/* ドットナビゲーションのスタイル */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dot {
  height: 3px;
  width: 20px;
  margin: 0 5px;
  background-color: #fff;
  cursor: pointer;
}

.dot.active {
  background-color: #717171;
}


.slider-container1 {
  /*height: 100vh;*/
  /*overflow-y: scroll;
  scroll-snap-type: y mandatory;*/
}

.slide1 {
  height: 100vh;
  /*scroll-snap-align: start;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  color: #ffffff;
  position: relative;
  background-position: center center;
}

/* スライドごとに異なる背景色を設定 */
.slide1:nth-child(1) { background-image: url(../img/journal01.webp); }
.slide1:nth-child(2) { background-image: url(../img/journal02.webp); }
.slide1:nth-child(3) { background-image: url(../img/journal03.webp); }
.slide1:nth-child(4) { background-image: url(../img/journal04.webp); }

.slide1::after{
  content:'';
  display: block;
  width: 100%;
  height: 350px;
  background: linear-gradient(0deg,#2c282680,#2c282600);
  position: absolute;
  left: 0;
  bottom: 0;
}
.slide1-info{
  width: 500px;
  position: absolute;
  right: 70px;
  bottom: 0;
  z-index: 2;
  margin: 0 0 7%;
}
.slide1-ttl{
  font-size: 23px;
  line-height: 1.48;
  margin: 0 0 5.2%;
}
.slide1-txt{
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: .04em;
  margin: 0 0 6%;
}

/* Products */
.Products .flex,.Company .flex, .Journal .flex, #RECRUIT .flex{
  width: 83.3333333333%;
  margin: 8.3333333333% auto 6.9444444444%;
  align-items: center;
}
.Recruit-concept{
  display: flex;
  justify-content: space-between;
}
.recruit-phrase{
  font-size: 20px;
}
@media screen and (max-width:787px) {
  .recruit-phrase{
    font-size: 17px;
  }
}
.w45per{
  width: 45%;
}
.w45per img{
  width: 100%;
  margin: 0 0 40px;
}
.Products-content,
.Company-content{
  display: grid;
  width: 83.3333333333%;
  grid-template-columns: repeat(auto-fill,31.25%);
  gap: 3.125%;
  margin: 0 auto 7.6388888889%;
}
.Products-content img,
.Company-content img{
  width: 100%;
}
.Products-box{
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: 1rem;
  background-color: #ffffff;
  border: .5px solid #606060;
}
.Products-box:hover .card-btn{
  background-color: #e5e5e5;
  color: #535353;
}
.Company-box{
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: 1rem;
}
.Company-box:hover .card-btn{
  background-color: #ffffff;
  color: #535353;
}
.Company-box:hover .Company-picture img {
  transform: scale(1.15, 1.15);
  transition-duration: 0.5s;
}
@media screen and (max-width: 768px){
  .Products-content,
.Company-content{
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1%;
  }
  .Company-box,
  .Products-box{
    width: 70vw;
    margin-right: 4vw;
  }
  #RECRUIT .flex{
    flex-direction: column;
    align-items: flex-start;
  }
  .slide1-info{
    width: 86.6666666667vw;
    right: 6.6666666667vw;
    bottom: 0;
  }
  .w45per{
    width: 100%;
  }
  .slide1-btn{
    margin: 0 0 10%;
  }
  .Recruit-concept{
    flex-direction: column;
  }
}
@media screen and (max-width: 587px){
  .Products .flex,.Company .flex, .Journal .flex{
    display: block;
  }
}

.Products h2,
.Company h2,
.Journal h2,
#RECRUIT h2{
  font-size: 32px;
  margin: 0 5.8333333333% 0 0;
}
@media screen and (max-width: 787px){
  .Products h2,
.Company h2,
.Journal h2,
#RECRUIT h2{
  font-size: 13px;
  margin: 0 5.8333333333% 40px 0;
}
.Products h2{
  padding-top: 20px;
}
.Products h3,.Company h3,#RECRUIT h3{
  font-size: 20px!important;
}
#RECRUIT h3{
  margin: 20px 0 3%!important;
}
}
.Products-box-text,
.Products h3{
  padding: 0 10px;
}
.Products-btn-area{
  padding: 0 10px 10px;
}
.Products h3,.Company h3{
  font-size: 25px;
  margin: 0 0 5%;
}
h3::before{
  content: attr(data-en);
  display: block;
  font-size: 14px;
  /*margin: 0 0 5px;*/
}
#RECRUIT h3{
  font-size: 30px;
  margin: 0 0 3%;
}
/* tag */
.tag{
  background-color: #404040;
  color: #ffffff;
  padding: 3px 5px;
  position: absolute;
  top: 0;
  left: 0;
  font-family: serif;
  z-index: 1;
}
.Company-picture,
.Product-picture{
  margin: 0 0 3%;
}
.Company-picture,
.Product-picture{
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.Company-picture img,
.Product-picture img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 0.5s;
}
.Products-box:hover .Product-picture img {
  transform: scale(1.15, 1.15);
  filter: brightness(70%);
}
.Company-box-text,
.Products-box-text{
  font-size: 13px;
  margin: 0 0 6.4%;
}

/*recruit*/
.Recruit-concept{
  width: 83.3333333333%;
  margin: 0 auto 7.6388888889%;
  display: flex;
}
@media screen and (max-width:787px) {
  .Recruit-concept{
    margin: 0 auto 12%;
  }
}

.Recruit-text p{
  margin: 0 0 2%;
}

/*アンカーリンク調整*/
section#PRODUCT,section#COMPANY,
section#JOURNAL {
  scroll-margin-top: 80px;
}
@media screen and (max-width:787px) {
section#PRODUCT,section#COMPANY,
section#JOURNAL {
  scroll-margin-top: 20px;
}
section#COMPANY,section#JOURNAL {
  scroll-margin-top: 25px;
}
}