@charset "UTF-8";

:root {
  --color-white: #FFFFFF;
  --color-black: #3E3A39;
  --color-666666: #666666;
  --color-cdcdcd: #cdcdcd;
  --color-ebebeb: #ebebeb;
  --color-e1e1e2: #e1e1e2;
  --color-f3f3f3: #f3f3f3;
  --color-ececec: #ececec;
  --color-2b4cdb: #2b4cdb;
  --color-00B9EF: #00B9EF;
  --color-00AB5A: #00AB5A;
  --color-007320: #007320;
  --color-FDD000: #FDD000;
  --color-E8380D: #E8380D;
  --color-b89023: #b89023;
  --color-6b82e6: #6b82e6;
  --font10: 0.625rem;
  --font12: 0.75rem;
  --font13: 0.8125rem;
  --font14: 0.875rem;
  --font15: 0.9375rem;
  --font16: 1rem;
  --font17: 1.0625rem;
  --font18: 1.125rem;
  --font20: 1.25rem;
  --font21: 1.3125rem;
  --font24: 1.5rem;
  --font26: 1.625rem;
  --font28: 1.75rem;
  --font30: 1.875rem;
  --font35: 2.1875rem;
  --font38: 2.1875rem;
  --font45: 2.8125rem;
  --font50: 50px;
  --font60: 60px;
  --font70: 70px;
  --font80: 80px;
  --font90: 90px;

  --font-weight-bold: 700;
  --font-weight-normal: normal;
  --main-width_1920: min(calc(100vw - 6vw), 1920px);
  --main-width_1750: min(calc(100vw - 6vw), 1750px);
  --main-width_1600: min(calc(100vw - 6vw), 1600px);
  --main-width_1500: min(calc(100vw - 6vw), 1500px);
  --main-width_1300: min(calc(100vw - 6vw), 1300px);
  --shape-triangle-top: polygon(50% 0, 100% 100%, 0 100%);
  --shadow: 0 0.3rem 2.5rem -2rem rgba(85, 96, 96, 0.3), 0 0.3rem 0.5rem rgba(84, 96, 96, 0.376);
  --shadow2: 0 0.2rem 2rem -1rem rgba(85, 96, 96, 0.4), 0 0.2rem 0.3rem rgba(84, 96, 96, 0.4);
  --list-border: 1px solid var(--color-cfcfcf);
  --number-width: clamp(136px, 33.8vw, 180px);
  --stretch: stretch;
}
/*main
---------------------------*/
.main{
  --main-padding-t: clamp(75px, 13vw, 130px);
  padding-top: var(--main-padding-t);
}
.section-title__en{
  position: absolute;
  z-index: -1;
}
.title_1{
  margin-top: clamp(45px, 7vw / 1.92, 70px);
  .section-title__jp{
    font-size: clamp(var(--font45), 7vw / 1.92, var(--font70));
    margin-bottom: 0.3em;
  }
  .section-title__en{
    font-size: clamp(var(--font60), 25vw / 1.92, 250px);
  }
}
.title_2{
  position: relative;
  .section-title__jp{
    font-size: clamp(var(--font21), calc((0.0625rem * 21) + ((1vw - 4.5px)*(29/10.5))), var(--font50));
    .news &{
      margin-bottom: 1.5em;
    }
  }
  .section-title__en{
    top: 10px;
    color: var(--color-e1e1e2);
    font-size: clamp(var(--font35), calc((0.0625rem * 35) + ((1vw - 4.5px)*(65/10.5))), 100px);
  }
}
.section-desc{
  line-height: 1.6;
  margin-bottom: 2em;
  &:has(.btn-list){
    display: grid;
    place-items: start;
    gap: 1.5em;
    margin-bottom: 0;
    .about-us &{
      place-items: start center;
    }
  }
}
.btn-list{
  background: var(--color-black);
  color: var(--color-white);
  font-size: clamp(var(--font16), 2.1vw / 1.75, var(--font21));
  margin-bottom: 2em;
}
/*-- アニメーション --*/
.header {
  opacity: 0;
  animation: LoadHeader 1s ease-out 1s forwards, LoadOpacity 1s ease-out 1s forwards;
}
.site-logo {
  opacity: 0;
  animation: LoadLogo 1s ease-out 2s forwards, LoadOpacity 1s ease-out 2s forwards;
}
.hero__imgs{
  opacity: 0;
  animation: LoadOpacity .5s ease-out forwards;
}
.hero__imgs::before{
  content: '';
  position: absolute;
  inset: 0 0 0 100%;
  background: var(--color-white);
  animation: LoadHeroImg .8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 1;
}
.hero-slider-container{
  opacity: 0;
  animation: LoadOpacity 1.3s ease-out 2.5s forwards;
}
.svc-intro{
  opacity: 0;
  animation: LoadOpacity 1s ease-out 2s forwards;
}
@keyframes LoadOpacity {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes LoadHeader {
  0% { transform: translateY(-80px); }
  100% { transform: translateY(0); }
}
@keyframes LoadLogo {
  0% { transform: translateX(60px); }
  100% { transform: translateX(0); }
}
@keyframes LoadHeroImg {
  0% { inset: 0; }
  40% { inset: 0; }
  100% { inset: 0 0 0 100% ; }
}
.hero__img1{
  animation: LoadImg1 .8s ease-out 2.5s forwards;
}
@keyframes LoadImg1{
  0% { opacity: 1; }
  100% { opacity: 70%; }
}
/*topイメージ 
---------------------------*/
.hero{
  --catch-h: clamp(100px, (15vw / 1.3), 150px);
  --hero-h: calc(100dvh - var(--main-padding-t) - 100px);
  position: relative;
  display: grid;
  align-items: center;
  height: var(--hero-h);
  margin-bottom: 20px;
}
.hero__imgs{
  contain: content;
  order: 1;
  width: 100%;
  height: var(--hero-h);
}
.hero__img1{
  height: 100%;
  clip-path: polygon(0 60%, 100% 0, 100% calc(100% - 60%), 0 100%);
  object-fit: cover;
}
.hero-slider-container{
  position: absolute;
  inset: 0;
  height: calc(100% - var(--catch-h));
  z-index: 1;
}
.splide, .splide__track, .splide__list, .splide__slide, .splide picture{
  height: 100%;
}
.splide {
  width: 100%;
}
.splide__slide {
  height: 100%;
  aspect-ratio: 105 / 70;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
}
.splide__slide img {
  height: 100%;
  width: auto;
  transform: scale(0.75);
  object-fit: contain;
  transition: 1s;
  border-radius: 0.2rem;
  box-shadow: var(--shadow);
}
.splide__slide.is-active img  {
  transform: scale(0.94);
}
.hero__title{
  position: relative;
  order: 2;
}
.hero__catch{
  position: absolute;
  bottom: 0;
  right: 1em;
  font-size: clamp(var(--font20), calc((0.0625rem * 20) + ((1vw - 3.8px) * (30 / 15.4))), var(--font50));
  text-align: right;
  transform: translateX(-2em);
  opacity: 0;
  animation: fadeInOut 24s ease-in-out infinite;
  &:nth-child(1){
    animation-delay: 1s;
  }
  &:nth-child(2){
    animation-delay: 9s;
  }
  &:nth-child(3){
    animation-delay: 17s;
  }
}
@keyframes fadeInOut {
  0% {
    transform: translateX(-2em);
    opacity: 0;
  }
  4% {
    opacity: 1;
    transform: translateX(0);
  }
  29.17% {
    opacity: 1;
    transform: translateX(0);
  }
  33.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (width <=1400px){
  .hero{
    --hero-h: max((36.4vw / 1.2) + var(--catch-h), 300px);
  }
}
/*主要な製品・サービス
---------------------------*/
.svc-intro{
  background: var(--color-ebebeb);
  padding-block: 30px 40px;
  z-index: -1;
}
.svc__list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: clamp(25px, 5vw / 1.5, 50px) clamp(10px, 4vw / 1.5, 40px);
  transform: translateX(-5px);
  width: var(--main-width_1920);
  margin-inline: auto;
}
.svc__item{
  container-type: inline-size;
  position: relative;
  --x-y: clamp(5px, 3.57cqi, 10px);
  isolation: isolate;
  &::before{
    content: '';
    position: absolute;
    inset: 0;
    transform: translate(var(--x-y), var(--x-y));
    background: var(--color-black);
    border-radius: 8px;
    z-index: -1;
    transition: .3s;
  }
  .svc__item-link {
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    place-content: start;
    height: clamp(130px, 45cqw, 180px);
    background: var(--color-white);
    border-radius: 5px;
    padding: clamp(10px, 3.57cqi, 15px) clamp(10px, 3.8cqi, 25px);
  }
  .svc__item-title{
    font-size: clamp(var(--font16), 5.4px + 6.9cqi, var(--font35));
    span{
      font-size: 75%;
    }
  }
  .svc__item-name-sub{
    font-size: clamp(var(--font14), 7.5px + 3.1cqi, var(--font21));
    margin-bottom: 0.2em;
  }
  .svc__item-name{
    background: var(--color-2b4cdb);
    color: var(--color-white);
    font-size: clamp(var(--font12), 7.25px + 2.5cqi, var(--font18));
    transition: .3s;
  }
  &:hover{
    .svc__item-link{
      transform: translate(var(--x-y), var(--x-y));
    }
    .svc__item-name{
      background: var(--color-black);
    }
  }
  p{
    display: grid;
    justify-items: start;
  }
}
@media (width <=650px){
  .svc__list{
    grid-template-columns: repeat(2, 1fr);
  }
}
/*一貫責任体制
---------------------------*/
.flow-support{
  position: relative;
}
.flow-support__header{
  position: initial;
  text-align: right;
  padding-top: 30px;
  .section-title__en{
    color: var(--color-00B9EF);
    bottom: 0;
    transform: translateY(-20%);
    z-index: 1;
  }
}
.flow-support__main{
  position: relative;
  background: linear-gradient(90deg, var(--color-white) 0%, var(--color-white) 20%, var(--color-2b4cdb) 20%, var(--color-2b4cdb) 100%);
  padding-block: clamp(40px, calc(8vw / 1.92), 80px) clamp(50px, 13vw / 1.92, 130px);
  z-index: 0;
  &::before{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: clamp(150px, 38vw / 1.92, 380px);
    aspect-ratio: 1;
    background: var(--color-00B9EF);
    z-index: -1;
  }
}
.flow-step img {
  display: none;
}
.flow-support__steps{
  display: grid;
  justify-content: end;
  gap: clamp(10px, 3vw / 1.92, 30px);
  grid-template-columns: repeat(4, clamp(200px, calc(38.5vw / 1.92), 385px));
  transform: translateX(100%);
  animation: SlideL 1s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
  li{
    container-type: inline-size;
    display: grid block;
    place-items: center;
    place-content: center;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: clamp(8px, 1.5vw / 1.75, 15px);
    background: var(--color-white);
    box-shadow: var(--shadow);
    text-align: center;
    padding-block: 0.5em 1.5em;
  }
  h3{
    font-size: clamp(18px, calc(11.51px + 3.24cqi), 24px);
  }
  p{
    padding-inline: 10px;
    font-size: clamp(14px, calc(9.68px + 2.16cqi), 18px);
  }
  .lottie-obj{
    width: min(70%, 150px);
  }
}
@keyframes SlideL {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
 @media (width <=1000px){
  .flow-support__steps{
    grid-template-columns: repeat(2, clamp(160px, 30vw, 300px));
  }
}
/*製品・サービス
---------------------------*/
.circle{
  &::before{
    content: '';
    position: absolute;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: -1;
  }
}
.products__header{
  position: relative;
  &::before{
    left: 0;
    top: 50%;
    background: var(--color-00AB5A);
  }
  .section-title__en{
    color: var(--color-00AB5A);
    top: 65%;
  }
  .btn-list{
    margin-bottom: 0;
  }
}
.products__main{
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: clamp(15px, 12vw / 1.92, 120px);
  margin-inline: auto 0;
}
.prod-cat{
  position: absolute;
  background: var(--color-white);
  box-shadow: var(--shadow);
  h3{
    background: var(--color-00AB5A);
    text-align: center;
    color: var(--color-white);
    font-size: clamp(var(--font16), calc((0.0625rem * 16) + ((1vw - 10px)*(4/9.2))), var(--font20));
    padding-block: 0.5em;
    padding-inline: 0.2em;
  }
  ul{
    padding: clamp(5px, 1vw / 1.92, 10px) clamp(8px, 1.6vw / 1.92, 16px) clamp(3px, 0.6vw / 1.92, 6px);
  }
  li{
    display: grid;
    place-items: start;
    margin-bottom: 1em;
    font-size: clamp(var(--font12), calc((0.0625rem * 12) + ((1vw - 10px)*(4/9.2))), var(--font16));
  }
  span{
    margin-bottom: 0.4em;
  }
  a{
    background: var(--color-ebebeb);
    font-size: clamp(var(--font13), calc((0.0625rem * 13) + ((1vw - 10px)*(3/9.2))), var(--font16));
    &:hover{
      background: var(--color-black);
      color: var(--color-white);
    }
  }
}
.prod-cat-1{ top: 10%; right: -5px;}
.prod-cat-2{
  --a:clamp(10px, calc(8.06vw - 94.84px), 60px);
  bottom: 0;
  left: calc(1px - var(--a));
}
.prod-cat-3{ bottom: 0; left: 70%;}
.prod-cat-4{ top: 49%; right: -10px;}
.prod-cat-5{ top: 70%; left: 70%;}
.prod-cat-6{ top: 70%; right: 0;}
.prod-cat-7{ bottom: 0; left: 18%;}

@media (width <=1000px){
  .products__main{
    img{
      max-width: 450px;
      margin-bottom: 30px;
    }
  }
  .prod-cats{
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 30px 20px;
  }
  .prod-cat{
    position: initial;
    ul{
      padding: 0.8rem 1rem;
    }
    li, a{
      font-size: 1rem;
    }
  }
}
/*叶えたい未来
---------------------------*/
.future-vision__header{
  position: relative;
  &::before{
    right: -10%;
    background: var(--color-FDD000);
  }
  .section-title__en{
    bottom: 100%;
    color: var(--color-FDD000);
    transform: translateY(50%);
  }
  .section-desc{
    width: min(100%, 650px);
  }
}
.future-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(25px, 5vw / 1.92, 50px) clamp(15px, 4vw / 1.5, 30px);
  padding-inline: clamp(20px, 12.5vw / 1.5, 125px);
  li{
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 10px;
    background: var(--color-white);
    box-shadow: var(--shadow);
    padding: 1.5em;
  }
  p{
    font-size: clamp(var(--font18), calc((0.0625rem * 18) + ((1vw - 4px)*(6/11))), var(--font24));
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    letter-spacing: 0.1em;
    
  }
  a{
    justify-self: end;
    background: var(--color-FDD000);
    border-radius: 0.8em;
    font-size: clamp(var(--font14), calc((0.0625rem * 14) + ((1vw - 4px)*(2/11))), var(--font16));
    padding-block: 0.2em;
    padding-inline: 0.8em 2em;
    &:hover{
      background: var(--color-black);
      color: var(--color-white);
    }
  }
}
@media (width <=650px){
  /*叶えたい未来*/
  .future-list{
    grid-template-columns: 1fr;
  }
}
/*導入事例
-----------------------*/
.cases__header{
  position: relative;
  &::before{
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    transform: translateY(-15%);
    width: 48%;
    aspect-ratio: 1;
    background: url("../images/home/top_cases.svg") no-repeat center / contain;
    z-index: -1;
  }
  .section-title__en{
    top: clamp(45px, 7vw / 1.92, 70px);
    transform: translateY(-65%);
    color: var(--color-E8380D);
  }
}
.cases__footer{
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-white) 50%, var(--color-E8380D) 50%, var(--color-E8380D) 100%);
  margin-top: clamp(30px, 8vw / 1.92, 80px);
  padding-block: clamp(30px, 5vw / 1.92, 50px);
}
.cases__note{
  font-size: var(--font14);
  color: var(--color-666666);
}
.cases__logo-wrap{
  display: flex;
  background: var(--color-white);
  padding-block: clamp(10px, 2.5vw / 1.92, 25px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cases__logo{
  position: relative;
  display: flex;
  width: max-content;
  animation: infinity-scroll 90s linear infinite both;
  img{
    width: auto;
    height: clamp(40px, 10vw / 1.92, 100px);
    margin-right: clamp(20px, 5vw / 1.92, 50px);
  }
}
@keyframes infinity-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/*お知らせ
-----------------------*/
.news{
  display: grid;
  align-items: center;
  grid-template-columns: clamp(100px, 30vw / 1.5, 300px) 1fr;
}
.news-list{
  border-top: 1px solid;
  li{
    border-bottom: 1px solid;
  }
  a{
    display: grid;
    align-items: center;
    grid-template-columns: auto auto 1fr;
    gap: clamp(5px, 1vw / 1.5, 10px) clamp(15px, 3vw / 1.5, 30px);
    padding: clamp(10px, 1.5vw / 1.5, 15px) clamp(5px, 3vw / 1.5, 30px);
    &:hover{
      background: var(--color-ececec);
    }
  }
  h3{
    width: 7.5em;
    background: var(--color-black);
    border-radius: 0.2em;
    color: var(--color-white);
    font-weight: var(--font-weight-normal);
    font-size: clamp(var(--font14), calc((0.0625rem * 14) + ((1vw - 3.7px)*(4/11.3))), var(--font18));
    padding: 0.2em;
    text-align: center;
  }
  .day{
    width: 6em;
  }
}
@media (width <=1000px){
  .news{
    grid-template-columns: auto;
    gap: clamp(20px, 3vw, 30px);
  }
  .news-list{
    a{
      grid-template-columns: auto 1fr;
    }
    h3{
      grid-row: span 2;
    }
  }
}
/*blog
-----------------------*/
.blog{
  h2{
    margin-bottom: clamp(20px, 6.5vw / 1.5, 65px);
  }
}
.blog__main{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 40px) 3%;
  a{
    grid-row: span 3;
  }
}
/*私たちのこと
-----------------------*/
.about-us{
  position: relative;
  scroll-snap-type: y mandatory; 
  -webkit-overflow-scrolling: touch;
  background: var(--color-ececec);
  padding-top: 10px;
}
.about-us__header{
  position: relative;
  place-items: center;
  isolation: isolate;
  padding-bottom: 40px;
  .section-title__en{
    top: 0;
    color: var(--color-white);
    transform: translateY(5%);
  }
  p{
    font-size: clamp(var(--font16), calc((0.0625rem * 16) + ((1vw - 3.7px)*(5/13.8))), var(--font21));
    z-index: 1;
  }
}
.story-item{
  position: sticky;
  top: var(--header-top-h);
  box-shadow: 0 -0.2rem 4rem -2rem rgba(85, 96, 96, 0.3), 0 -0.2rem 0.5rem rgba(84, 96, 96, 0.376);
  background: var(--color-e1e1e2);
  padding-block: clamp(40px, 8.5vw, 85px) clamp(100px, 20vw, 200px);
  z-index: 0;
  &:last-child{
    padding-block: clamp(40px, 8.5vw, 85px);
  }
}
.sticky-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  opacity: 0.7;
}
.story-bg_1{
  background-image: url("../images/home/top_history_1.jpg");
  background-image: image-set(
    url("../images/home/top_history_1.webp") type("image/webp"),
    url("../images/home/top_history_1.jpg") type("image/jpeg")
  );
}
.story-bg_2{
  background-image: url("../images/home/top_history_2.jpg");
  background-image: image-set(
    url("../images/home/top_history_2.webp") type("image/webp"),
    url("../images/home/top_history_2.jpg") type("image/jpeg")
  );
}
.story-bg_3{
  background-image: url("../images/home/top_history_3.jpg");
  background-image: image-set(
    url("../images/home/top_history_3.webp") type("image/webp"),
    url("../images/home/top_history_3.jpg") type("image/jpeg")
  );
}
.story-card{
  --padding-inline: 2rem;
  width: min(100vw - var(--padding-inline) * 2 - 6vw, 750px - (var(--padding-inline) * 2));
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem var(--padding-inline);
  margin-inline: auto;
  z-index: 1;
  .story-card__eyecatch{
    display: block;
    text-align: right;
    color: rgba(62, 58, 57, 0.3);
    font-size: clamp(var(--font16), calc((0.0625rem * 16) + ((1vw - 3.7px)*(14/4.3))), var(--font30));
    span{
      font-size: clamp(var(--font45), calc((0.0625rem * 16) + ((1vw - 3.7px) * (45 / 4.3))), 90px);
    }
  }
  h3, p{
    padding-inline: clamp(15px, 3vw, 30px);
    padding-bottom: 1.5rem;
  }
  h3{
    font-size: clamp(var(--font20), calc((0.0625rem * 20) + ((1vw - 3.7px) * (10 / 4.3))), var(--font30));
    span{
      font-size: 90%;
    }
  }
  p{
    font-size: clamp(var(--font16), calc((0.0625rem * 16) + ((1vw - 3.7px) * (4 / 4.3))), var(--font20));
    line-height: 2;
  }
}
@media (width <=600px){
  .story-item{
    height: 100svh;
  }
  .story-card{
    p{
      line-height: 1.8;
    }
  }
}