@charset "UTF-8";
/*-----------------------------------------
main_visual
-----------------------------------------*/
.main_visual {
  position: relative;
  width: 100%;
  height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.main_visual .inr::before {
  content: "";
  position: absolute;
  max-width: 1400px;
  left: 0;
  right: 0;
  bottom: -1px;
  margin: 0 auto;
  width: 100vw;
  height: 100%;
  background: url("../images/top/top_anime_bg.png?1.4") no-repeat center bottom;
  background-size: contain;
  z-index: 1;
}
.main_visual .inr::after {
  content: "";
  position: absolute;
  max-width: 1400px;
  width: 100vw;
  bottom: -2px;
  width: 100vw;
  height: 100%;
  background: url("../images/top/company.png?1") no-repeat center bottom;
  background-size: contain;
  z-index: 3;
}
.main_visual .inr .train,
.main_visual .inr .train2 {
  width: 100vw;
}
.main_visual .inr .train figure,
.main_visual .inr .train2 figure {
  position: absolute;
  bottom: -7px;
  z-index: 2;
  animation: trainMove 16s linear infinite;
  transform: translateX(100%);
}
.main_visual .inr .train2 figure {
  animation-delay: 8s;
}
@keyframes trainMove {
  0% {
    transform: translateX(100%);
  }
  5%, 20% {
    transform: translateX(40%);
  }
  30%, 100% {
    transform: translateX(-120%);
  }
}
.main_visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: #ea5441;
  mask-image: url("../images/top/main_logo_mask.svg");
  mask-position: bottom left;
  mask-repeat: no-repeat;
  mask-size: cover;
  animation: logoAnimation 3s linear forwards;
}
@keyframes logoAnimation {
  0% {
    opacity: 0;
    background-color: #fff;
  }
  40% {
    opacity: 1;
    background: #fff100;
  }
  80% {
    background: #14a83b;
  }
  100% {
    background: #ea5441;
  }
}
.main_visual .inr .txt h2 {
  font-size: clamp(1.5rem, 2.5vw, 3.8rem);
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 0.6em;
}
.main_visual .inr .txt p {
  font-size: clamp(0.8rem, 2.5vw, 2rem);
}

/*-----------------------------------------
news_sec
-----------------------------------------*/
.news_sec {
  background-color: #ea5441;
  padding: 40px 0;
}
.news_sec .inr {
  display: flex;
  align-items: center;
}
.news_sec .inr .txt {
  width: 15%;
  padding: 20px 30px 20px 0;
  border-right: 1px solid #fff;
}
.news_sec .inr .txt .ttl {
  display: inline;
  text-align: center;
  margin: 0 auto;
}
.news_sec .inr .txt .ttl h2,
.news_sec .inr .txt .ttl h3 {
  color: #fff;
}
.news_sec .inr .txt .ttl h2 {
  font-size: min(3.6vw, 40px);
}
.news_sec .inr .cont {
  padding-left: 40px;
  width: 70%;
}
.news_sec .inr .cont dl {
  display: flex;
  align-items: center;
  color: #fff;
}
.news_sec .inr .cont dl:not(:last-child) {
  padding-bottom: 15px;
}
.news_sec .inr .cont dl dt {
  width: 15%;
  min-width: 140px;
}
.news_sec .inr .cont dl dd {
  width: 70%;
  font-size: 1.1em;
  padding-left: 1em;
  font-weight: 500;
}
.news_sec .inr .cont dl dd a {
  color: #fff;
}

/*-----------------------------------------
product_sec
-----------------------------------------*/
.product_sec {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.product_sec .inr {
  display: flex;
  justify-content: end;
}
.product_sec .txt {
  position: relative;
  z-index: 1;
  padding-right: 5vw;
  margin-left: auto;
  text-align: right;
}
.product_sec .txt .info {
  width: 45%;
  margin-left: auto;
}
.product_sec .txt .btn {
  margin-top: 30px;
  margin-left: auto;
}
.product_sec .img {
  width: 100%;
  margin-top: -10vw;
}
.product_sec .img div {
  transition: all 1s ease;
}
.product_sec .img div:nth-child(1) {
  width: 50%;
  transform: translateX(-100px);
  opacity: 0;
}
.product_sec .img div:nth-child(1).active {
  opacity: 1;
  transform: translateX(0);
}
.product_sec .img div:nth-child(2) {
  margin-left: auto;
  width: 55%;
  margin-top: max(-3vw, -80px);
  transform: translateX(100px);
  opacity: 0;
}
.product_sec .img div:nth-child(2).active {
  opacity: 1;
  transform: translateX(0);
}
.product_sec .img div:nth-child(3) {
  width: 60%;
  margin-top: -25%;
  transform: translateX(-100px);
  opacity: 0;
}
.product_sec .img div:nth-child(3).active {
  opacity: 1;
  transform: translateX(0);
}
.product_sec .img div img {
  mix-blend-mode: multiply;
}

/*-----------------------------------------
machinery_sec
-----------------------------------------*/
.machinery_sec .inr {
  position: relative;
}
.machinery_sec .inr .txt {
  width: 40%;
  padding-left: 5vw;
}
.machinery_sec .inr .txt .btn {
  margin-top: 30px;
}
.machinery_sec .inr .movie {
  width: 50%;
  position: absolute;
  z-index: 1;
  right: 2%;
  top: 2vw;
}
.machinery_sec .inr .movie figure {
  cursor: pointer;
}
.machinery_sec .marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 8vw;
}
.machinery_sec .marquee .marquee_inner {
  display: flex;
  width: fit-content; /* JS側で幅を調整 */
  animation: marquee 30s linear infinite;
}
.machinery_sec .marquee .marquee_content {
  display: flex;
  width: auto; /* JSが制御 */
}
.machinery_sec .marquee li {
  flex: 0 0 350px; /* 固定幅 */
  box-sizing: border-box;
  padding: 0 5px;
}
.machinery_sec .marquee li img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}

/*-----------------------------------------
company_sec
-----------------------------------------*/
.company_sec {
  min-height: 35vw;
}
.company_sec .img {
  position: relative;
  z-index: 2;
}
.company_sec .img figure {
  position: absolute;
  width: 50vw;
}
.company_sec .inr {
  display: flex;
  justify-content: end;
}
.company_sec .txt {
  position: relative;
  z-index: 1;
  width: 40vw;
  padding-right: 3vw;
  margin-left: auto;
  text-align: right;
}
.company_sec .txt .info {
  margin-left: auto;
}
.company_sec .txt .btn {
  margin-top: 30px;
  margin-left: auto;
}
.company_sec .txt::before {
  content: "";
  width: 40vw;
  height: 100%;
  position: absolute;
  right: 20px;
  bottom: -240px;
  background: url("../images/top/logo_bg.jpg") no-repeat right;
  background-size: contain;
  z-index: -1;
}

/*-----------------------------------------
recruit_sec
-----------------------------------------*/
.recruit_sec {
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}
.recruit_sec::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 200px;
  background: url("../images/top/recluit_bg.svg") no-repeat top center;
  background-size: contain;
  top: -1px;
  left: 0;
  z-index: 4;
}
.recruit_sec .inr .txt {
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  z-index: 3;
  width: 100%;
  color: #fff;
}
.recruit_sec .inr .txt .ttl h2.en,
.recruit_sec .inr .txt .ttl h3 {
  color: #fff;
}
.recruit_sec .inr .txt .info {
  display: flex;
  color: #fff;
}
.recruit_sec .inr .txt .info .btn {
  margin-left: 30px;
  width: 50%;
}
.recruit_sec .recruit_bg {
  background-color: #000;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.recruit_sec .recruit_bg .recruit_row {
  overflow: hidden;
}
.recruit_sec .recruit_bg .recruit_row .recruit_bg_inr {
  display: flex;
  width: fit-content;
  animation: scroll-left 60s linear infinite;
}
.recruit_sec .recruit_bg .recruit_row .recruit_bg_content {
  display: flex;
  line-height: 0;
}
.recruit_sec .recruit_bg .recruit_row .recruit_bg_content li {
  flex: 0 0 40%;
  max-width: 500px;
  line-height: 0;
  box-sizing: border-box;
  position: relative;
}
.recruit_sec .recruit_bg .recruit_row .recruit_bg_content li img {
  display: block;
  width: 100%;
  height: auto;
}
.recruit_sec .recruit_bg .recruit_row .recruit_bg_content li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 横幅は親の100% */
  height: 100%; /* 高さも親の100% */
  background-color: rgba(0, 0, 0, 0.6); /* 透過黒 */
  pointer-events: none;
  z-index: 1;
}
.recruit_sec .recruit_bg .recruit_row.bottom .recruit_bg_inr {
  animation: scroll-right 60s linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}
@keyframes scroll-right {
  0% {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
  100% {
    transform: translateX(0);
  }
}

/*-----------------------------------------
our_people_sec
-----------------------------------------*/
.our_people_sec {
  overflow: hidden;
  position: relative;
}
.our_people_sec::after {
  content: "";
  position: absolute;
  right: -30vw;
  top: 0;
  background: url("../images/top/main_logo_mask.svg") no-repeat top right;
  width: 100vw;
  height: 100%;
  z-index: -1;
  background-size: cover;
}
.our_people_sec .list {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
}
.our_people_sec .list li {
  display: flex;
  justify-content: space-between;
  width: 48%;
  align-items: center;
  box-sizing: border-box;
}
.our_people_sec .list li a {
  display: block;
  position: relative;
  padding: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
}
.our_people_sec .list li a:hover {
  background-color: #ea5441;
  color: #fff;
  text-decoration: none;
}
.our_people_sec .list li a:hover .case p {
  color: #fff;
}
.our_people_sec .list li a:hover img {
  opacity: 1 !important;
}
.our_people_sec .list li .illust {
  position: absolute;
  width: 32%;
  top: -30px;
}
.our_people_sec .list li .info {
  padding-left: 40%;
}
.our_people_sec .list li .info .case {
  font-weight: 600;
  margin-bottom: 10px;
}
.our_people_sec .list li .info .case p {
  font-size: 1.2em;
  color: #ea5441;
  line-height: 1.3;
}
.our_people_sec .list li .info .case p span {
  font-size: 1.4em;
}
.our_people_sec .list li .info .case h5 {
  font-size: 1.2em;
  margin-bottom: 5px;
}
.our_people_sec .list li .info .case h6 {
  font-weight: 400;
  font-size: 0.95em;
}
.our_people_sec .btn {
  margin: 40px auto;
}
.our_people_sec .img {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}
.our_people_sec .img li {
  max-width: 600px;
  position: relative;
}
.our_people_sec .img li figure {
  clip-path: polygon(0 10%, 10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}
.our_people_sec .img li dl {
  position: absolute;
  bottom: 5%;
  left: 3%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
}
.our_people_sec .img li dl dt {
  font-weight: bold;
  font-size: clamp(10px, 3.8vw, 28px);
  color: #ea5441;
}
.our_people_sec .img li dl dd {
  margin-right: 5%;
  width: min(2.5vw, 20px);
  height: min(2.5vw, 20px);
  padding: 10px min(2.5vw, 20px);
  background-color: #ea5441;
  border-radius: 20px;
}
.our_people_sec .img li dl dd span {
  display: block;
  width: 100%;
  height: 100%;
  mask: url("../images/common/allow.svg") no-repeat center;
  mask-size: contain;
  background-color: #fff;
  color: #fff;
}