@charset "utf-8";

.home .l-header{
  background-color: transparent;
  transition: background-color 200ms ease-in 0s;
}
.js-mv-hide .l-header{
  background-color: rgb(255 255 255 / 0.95);
}

@media screen and (max-width: 768px){
  [class$="heading"] img,
  [class$="heading"] picture{
    width: 100%;
    height: auto;
  }
}

/************************************************  
    MV
 *************************************************/
.p-top-mv{
  height: max(54rem, 100svh);
  column-gap: 0;
  position: relative;
  color: var(--color-white);
  background: url(../images/top/mv_pc.jpg) no-repeat center / cover;
  overflow: hidden;
}
.p-top-mv::before,
.p-top-mv::after{
  content: "";
  display: block;
  width: 60rem;
  height: 13rem;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}
.p-top-mv::before{
  top: 0;
  left: 0;
  background-image: url(../images/top/mv-bg02.svg);
  background-position: bottom right;
}
.p-top-mv::after{
  right: -2px;
  bottom: 0;
  background-image: url(../images/top/mv-bg01.svg);
  background-position: top left;
}
.p-top-mv__section{
  flex-basis: 50%;
  display: flex;
  justify-content: center;
}

.p-top-mv__heading{
  width: min(100%, 37.5rem);
  margin: 0 auto 2rem;
  filter: drop-shadow(0px 0px 30px rgb(0 0 0 / 0.3));
}
.p-top-mv__heading svg{
  width: 100%;
  height: auto;
}
.p-top-mv__heading .entity {
  stroke-width: 15px;
  stroke-miterlimit: 10;
  transition: fill 250ms ease 0s,
  stroke-width 250ms ease 0s;
}

.p-top-mv__copy{
  margin-bottom: 3.5rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
  text-shadow: 0px 0px 4px rgb(0 0 0 / 0.5);
}
.p-top-mv__link-container{
  width: min(26.3rem, 85%);
  margin: 0 auto;
}
.p-top-mv__link{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 4rem;
  padding: 1.2rem;
  position: relative;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  background-image: var(--gradient-blue);
  border-radius: 0.2rem;
}
.p-top-mv__link::before,
.p-top-mv__link::after{
  content: "";
  display: block;
  position: absolute;
}
.p-top-mv__link::before{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: var(--gradient-blue);
  border-radius: 0.2rem;
  scale: 1;
  transition: scale 300ms ease-out 0s;
}
.p-top-mv__link::after{
  width: 0.5em;
  height: 1rem;
  top: calc(50% - 0.4rem);
  right: 2.3rem;
  z-index: 0;
  background: url(../images/common/chevron-s_w.svg) no-repeat center / contain;
}
.p-top-mv__link-inner{
  z-index: 5;
}

@media (hover: hover){
  .p-top-mv__section-inner:hover .p-top-mv__heading .entity {
    fill: transparent;
    stroke-width: 3px;
  }
  
  .p-top-mv__section-inner:hover .p-top-mv__link{
    background-image: none;
    color: var(--color-white);
  }
  .p-top-mv__section-inner:hover .p-top-mv__link::before{
    scale: 1.09 1.285;
    background-image: none;
    border: 2px solid var(--color-white);
  }
}
@media screen and (max-width: 768px){
  .p-top-mv{
    flex-direction: column;
    row-gap: 9rem;
    height: auto;
    padding: 10.4rem 0;
  }
  .p-top-mv::before{
    width: 48rem;
    height: 10.4rem;
    background-position: left top;
  }
  .p-top-mv::after{
    width: 48rem;
    height: 10.4rem;
    background-position: right bottom;
  }
  .p-top-mv__section{
    flex-basis: auto;
    position: relative;
    z-index: 5;
  }
  .p-top-mv .p-top-mv__section--thr{
    margin-top: 10.6rem;
  }
  .p-top-mv .p-top-mv__section--etc{
    margin-bottom: 3.9rem;
  }
  .p-top-mv__heading{
    width: 30.1rem;
    margin-bottom: 1.2rem;
  }
  .p-top-mv__copy{
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.625;
  }
}

/************************************************  
    MV下・About
 *************************************************/
.p-top-about{
  margin-top: 12rem;
  padding: 14rem calc(var(--side-margin) + 3rem) 13rem calc(var(--side-margin) + var(--side-padding) + 2rem);
  background: url(../images/top/about-bg.png) no-repeat center top / 100% auto;
}
.p-top-about__heading{
  margin-bottom: 5rem;
}
.p-top-about__body{
  column-gap: 4rem;
}
.p-top-about__pickup{
  flex-shrink: 0;
  flex-basis: 42rem;
  align-self: flex-start;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.2rem;
  padding-top: 7.7rem;
}
.p-top-about__description{
  padding: 3rem 4rem;
  position: relative;
  z-index: 0;
  line-height: 2.25;
  letter-spacing: 0.05em;
}
.p-top-about__description p + p{
  margin-top: 3.2rem;
}
.p-top-about__description::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -5;
  background: var(--color-lightgray);
  opacity: 0.6;
  filter: blur(3rem);
}
@media screen and (max-width: 1200px){
  .p-top-about__body{
    flex-direction: column;
    row-gap: 6rem;
  }
  .p-top-about__pickup{
    flex-basis: auto;
    width: 100%;
    padding-top: 0;
    z-index: 5;
  }
}
@media screen and (max-width: 768px){
  .p-top-about__heading{
    width: var(--main-inner);
  }
}
@media screen and (max-width: 768px){
  .p-top-about{
    margin-top: 6rem;
    padding: 0 0 10rem;
    background-image: url(../images/top/about-bg_sp.png);
  }
  .p-top-about__heading{
    width: min(100%, var(--main-inner), 31.5rem);
    margin-right: auto;
    margin-left: var(--side-margin);
  }
  .p-top-about .p-top-about__pickup{
    width: var(--main-inner);
    margin: 0 auto;
  }
  .p-top-about__description{
    padding: 0 var(--side-margin);
  }
}


/************************************************  
    お知らせ、技術資料
 *************************************************/
.p-top-pickup{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.p-top-news,
.p-top-column{
  flex-basis: calc(50% - 1rem);
  padding-top: 11rem;
  padding-bottom: 16.5rem;
  color: var(--color-white);
  background-color: #2E6CCA;
  background-repeat: no-repeat;
}
.p-top-news{
  padding-left: calc(var(--side-margin) + var(--side-padding));
  background-image: url(../images/top/news-bg.png);
  background-position: top right;
}
.p-top-news{
  width: max-content;
  margin-left: 0;
}
.p-top-news__heading{
  margin-bottom: 8rem;
}
.p-top-news__list{
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4rem;
  padding-right: 6.7rem;
}
.p-top-news__list-item{
  padding-right: 2rem;
  padding-left: 2rem;
  letter-spacing: 0.05em;
}
.p-top-news__list-item:not(:last-of-type){
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-white);
}
.p-top-news__date{
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-famiry-en);
  font-weight: var(--font-weight-regular);
}
.p-top-news__text{
  font-size: 1.4rem;
  line-height: 1.857;
}

.p-top-column{
  padding-right: calc(var(--side-margin) + var(--side-padding));
  background-image: url(../images/top/column-bg.png);
  background-position: top left;
}

.p-top-column__heading{
  width: max-content;
  margin-right: 0;
  margin-left: auto;
}
.p-top-column__index{
  margin-top: 8rem;
  margin-bottom: 2rem;
  text-align: right;
  letter-spacing: 0.05em;
}
.p-top-column__index-link{
  display: inline-grid;
  grid-template-columns: 1.5rem auto;
  align-items: center;
  column-gap: 1.5rem;
  position: relative;
}
.p-top-column__index-link::before{
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.6rem;
  margin-top: auto;
  background: url(../images/common/box-chevron_w.svg) no-repeat center bottom / contain;
}
.p-top-column__index-link::after{
  content: "";
  display: block;
  width: calc(100% + 1rem);
  height: 0.2rem;
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -0.5rem;
  z-index: 0;
  background-color: var(--color-white);
  scale: 0 1;
  opacity: 0;
  transform-origin: left center;
  transition: scale 200ms ease-in 0s,
    opacity 200ms ease-in 0s;
  pointer-events: none;
}
.p-top-column__index-link:hover::after{
  opacity: 1;
  scale: 1 1;
}
.p-top-column__list{
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  margin-top: 1rem;
  padding-left: 7rem;
}
.p-top-column__link{
  --this-bg-color: var(--color-white);
  --this-bg: none;
  color: var(--color-text);
}
.p-top-column__link .c-chevron::after{
  background-image: url(../images/common/chevron-m_bk.svg);
}
@media screen and (max-width: 1200px){
  .p-top-pickup{
    flex-direction: column;
  }
  .p-top-news,
  .p-top-column{
    flex-basis: auto;
    width: 100%;
    padding-right: var(--side-padding);
    padding-left: var(--side-padding);
    background-position: top center;
    background-size: 100% auto;
  }
  .p-top-column__list{
    padding-left: 0;
  }
}
@media screen and (max-width: 768px){
  .p-top-news,
  .p-top-column{
    padding: 10rem var(--side-margin) 11rem;
    background-size: cover;
  }
  .p-top-news{
    background-image: url(../images/top/news-bg_sp.png);
  }
  .p-top-column{
    background-image: url(../images/top/column-bg_sp.png);
  }
  .p-top-news__heading{
    width: 13.3rem;
    margin-bottom: 4rem;
  }
  .p-top-news__list{
    padding-right: 0;
  }
  .p-top-news__list-item{
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  .p-top-column__heading{
    width: 14rem;
  }
  .p-top-column__index{
    margin-top: 5rem;
  }
}

/************************************************  
    製品情報、納入実績、他社製品の改造
 *************************************************/
.p-top-contents--1{
  align-items: stretch;
  gap: 0;
}
.p-top-contents--1 .p-top-contents__item{
  --this-overray: linear-gradient(to right, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.6));
  flex-basis: calc(100% / 3);
  flex-grow: 1;
  flex-shrink: 1;
  height: 45rem;
  position: relative;
  color: var(--color-white);
  background-color: #000;
  background-repeat: no-repeat;
  transition: flex-basis 200ms ease-in 0s;
}
.p-top-contents--1 .p-top-contents__item:hover{
  flex-basis: calc((100% / 3) * 1.38);
}
.p-top-contents--1 .p-top-contents__item--product{
  background-image: var(--this-overray), url(../images/top/product-bg.jpg);
  background-position: center, top 50% left;
  background-size: cover, auto 100%;
}
.p-top-contents--1 .p-top-contents__item--achievement{
  background-image: var(--this-overray), url(../images/top/achievement-bg.jpg);
  background-position: center,center;
  background-size: cover, auto 100%;
}
.p-top-contents--1 .p-top-contents__item--modify{
  background-image: var(--this-overray), url(../images/top/modify-bg.jpg);
  background-position: center, top 50% right;
  background-size: cover, auto 100%;
}
.p-top-contents--1 .p-top-contents__heading{
  height: 5.2rem;
  margin: auto;
  position: relative;
  top: 2.7rem;
}
.p-top-contents--1 .p-top-contents__link{
  display: inline-block;
  margin-bottom: 4rem;
  line-height: 1.5;
}
.p-top-contents--1 .p-top-contents__link::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}
@media screen and (max-width: 768px){
  .p-top-contents--1{
    flex-direction: column;
  }
  .p-top-contents--1 .p-top-contents__item{
    flex-basis: auto;
    row-gap: 3.5rem;
    height: auto;
    padding: 5.5rem var(--side-padding) 3.5rem;
    background-size: cover;
  }
  .p-top-contents--1 .p-top-contents__heading{
    top: auto;
  }
  .p-top-contents--1 .p-top-contents__heading img{
    width: auto;
    height: 100%;
  }
  .p-top-contents--1 .p-top-contents__link{
    margin-bottom: 0;
  }
}

/************************************************  
    会社概要、Q&A
 *************************************************/
.p-top-contents--2{
  column-gap: 0;
  height: 15rem;
  padding: 0 calc(var(--side-margin) + var(--side-padding));
  position: relative;
  color: var(--color-white);
  background-color: #26292D;
}
.p-top-contents--2::before{
  content: "";
  display: block;
  width: 0.2rem;
  height: 6rem;
  position: absolute;
  top: calc(50% - 3rem);
  left: calc(50% - 0.1rem);
  background-color: var(--color-white);
}
.p-top-contents--2 .p-top-contents__item{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: static;
}
.p-top-contents--2 .p-top-contents__link::before{
  content: "";
  display: block;
  width: 50vw;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 5;
}
.p-top-contents__item--company .p-top-contents__link::before{
  left: 0;
}
.p-top-contents__item--faq .p-top-contents__link::before{
  right: 0;
}
.p-top-contents--2 .p-top-contents__link-inner{
  display: inline-grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.6rem;
  position: relative;
}
.p-top-contents--2 .p-top-contents__link-inner::before{
  content: "";
  display: block;
  width: calc(100% + 2rem);
  height: 0.2rem;
  position: absolute;
  bottom: -1.3rem;
  left: -1rem;
  background-color: var(--color-white);
  scale: 0 1;
  opacity: 0;
  transition: scale 200ms ease-in 0s,
  opacity 200ms ease-in 0s;
  transform-origin: left center;
}
.p-top-contents--2 .p-top-contents__item:hover .p-top-contents__link-inner::before{
  scale: 1 1;
  opacity: 1;
}
.p-top-contents--2 .p-top-contents__link-inner::after{
  content: "";
  display: block;
  width: 1.6rem;
  height: 2.8rem;
  background: url(../images/common/chevron-s_w.svg) no-repeat center / contain;
}
@media screen and (max-width: 768px){
  .p-top-contents--2{
    flex-direction: column;
    gap: 0;
    height: auto;
    padding-right: var(--side-margin);
    padding-left: var(--side-margin);
  }
  .p-top-contents--2::before{
    display: none;
  }
  .p-top-contents--2 .p-top-contents__item{
    padding: 5rem var(--side-padding);
    position: relative;
  }
  .p-top-contents--2 .p-top-contents__item--company::after{
    content: "";
    display: block;
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    border-top: 1px solid var(--color-white);
  }

  .p-top-contents--2 [class$="heading"]{
    height: 2.8rem;
  }
  .p-top-contents--2 [class$="heading"] img{
    display: block;
    width: auto;
    height: 2.8rem;
  }
    .p-top-contents--2 .p-top-contents__link::before{
    display: none;
  }
}
