@charset "utf-8";

/*スライダー 【start】*/
.mv {
  position: relative;
  width: 100%;
  height: 840px;
  /* height: calc(100% - 80px); */
  overflow: hidden;
}
.mv_inner {
  height: 100%;
}
.mv_slide {
  width: 100%;
  height: 100%;
}
.mv_child--bg {
  position: relative;
  width: 100%;
  height: 840px;
  object-fit: cover;
  img {
    width: 100%;
    height: 100%;
  }
}

.mv_child {
  position: relative;
}
.mv_child:nth-child(1) .mv_child--left figure,
.mv_child:nth-child(2) .mv_child--left figure {
  height: 291px;
  img {
    height: 100%;
    object-fit: contain;
  }
  @media screen and (max-width: 767px) {
    height: 220px;
  }
}
.mv_child--inner {
  position: absolute;
  width: 90%;
  max-width: 1280px;
  height: 840px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.mv_child--left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mv_child--ttl {
  font-size: 4rem;
  font-family: var(--title-font);
  color: #fff;
  line-height: 1.3;
  /* text-align: center; */
  span.font_57 {
    font-size: 5.7rem;
    margin-left: -0.5em;
    margin-right: -0.4em;
  }
  span.font_64 {
    font-size: 6.4rem;
    letter-spacing: 12.8px;
  }
}
.mv_child--list {
  width: 100%;
  max-width: 295px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 6px;
  li {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 18px;
    padding: 8px;
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.mv_child--list.long {
  max-width: initial;
  @media screen and (max-width: 767px) {
    li {
      font-size: min(1.4rem, 3.5vw);
    }
  }
}
.mv_child--right {
  width: 100%;
  max-width: 720px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  figure {
    width: calc(50% - 6px);
    max-width: 274px;
  }
  @media screen and (max-width: 767px) {
    flex-wrap: nowrap;
    gap: 5px;
  }
}

@media screen and (max-width: 767px) {
  .mv {
    height: 720px;
  }
  .mv_inner .slick-list,
  .mv_inner .slick-track {
    height: 100%;
  }
  .mv_child {
    height: 100%;
  }
  .mv_child--bg {
    height: 100%;
    img {height: 100%;}
  }
  .mv_child--inner {
    width: 90%;
    height: 720px;
    margin-top: auto;
    flex-direction: column;
    justify-content: center;
  }
  .mv_child--ttl {
    font-size: 2.4rem;
    span.font_57 {
      font-size: 3.2rem;
    }
    span.font_64 {
      font-size: 3.2rem;
      letter-spacing: 4.1px;
    }
  }
  .mv_child--second.slick-slide .mv_child--left img {
    height: 168px;
    object-fit: contain;
  }
  .mv_child:nth-child(1) .mv_child--ttl,
  .mv_child--second .mv_child--ttl {
    margin-top: -0.8em;
  }
}
/*スライダー 【end】*/



/*products*/
.products {
  background: linear-gradient(180deg, #0037770D 0%, #00377773 100%) ;
  padding-top: 50px;
  @media screen and (min-width: 768px),print{
    background: url(../img/pro_bg.png) no-repeat bottom/cover;
    height: 395px;
  }
}
.products_inner {
  width: 90%;
  max-width: 1024px;
  margin: auto;
  .text {
    text-align: center;
    font-weight: bold;
    padding: 16px 0;
  }
  .list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    margin-top: 20px;
    li {
      text-align: center;
      font-size: 2.4rem;
      font-weight: bold;
      color: var(--main-color);
      line-height: 1.5;
      width: 100%;
      figure {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 20px;
      }
    }
  }
  .common_link {
    margin: auto;
    margin-top: 20px;
  }
}
@media screen and (max-width: 767px){
  .products {
    padding: 48px 0;
    .list {
      flex-wrap: wrap;
      gap: 28px;
      li {
        font-size: 2rem;
        line-height: 1.5;
        figure {gap: 10px;}
      }
    }
  }
}


/*test*/
.test {
  background: #fff;
  height: 510px;
  background:#fff;
  border-radius: 0 0 100% 100% / 0 0 30px 30px;
  padding-top: 220px;
}
.test_inner {
  width: 90%;
  max-width: 1024px;
  margin: auto;
  background: #f6f6f6;
  height: 360px;
  border-top: 3px solid var(--main-color);
  position: relative;
  z-index: 4;
  padding: 35px 90px;

  #sliderInner03{
    margin-top: 15px;
  }
  a:hover {
    opacity: 0.6;
  }
  figure{
    text-align: center;
    font-weight: bold;
    letter-spacing: 0px;
  }

  .prev-arrow {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translate(-0%, -50%);
    cursor: pointer;
  }
  .next-arrow {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translate(-0%, -50%);
    cursor: pointer;
  }
}
@media screen and (max-width: 767px){
  .test{
    height: auto;
    padding: 60px 0;
  }
  .test_inner{
    padding: 30px 5%;
    height: auto;
  }
}
/* ==========================
試験項目 【end】
============================= */


/* ==========================
利用事例 【start】
============================= */
.usage {
  padding: 260px 0 0;
  @media screen and (min-width: 768px),print{
    background: url(../img/usage_bg.webp) no-repeat center/cover;
    height: 712px;
    margin-top: -70px;
  }
  @media screen and (max-width: 767px) {
    padding: 50px 0;
    background: #A2D8F2;
    & .common_title{
      padding-bottom: 30px;
    }
  }
}
.usage_inner {
  position: relative;
  z-index: 3;
}
.usage_flex {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  .box{
    max-width: 502px;
    width: 100%;
    border-top: 3px solid var(--main-color);
    background: #fff;
    /* height: 422px; */
    padding: 30px;
    h3{
      text-align: center;
      color: var(--main-color);
      letter-spacing: 2.4px;
      font-size: 2.4rem;
      font-family: var(--title-font);
      margin-bottom: 10px;
    }
    h3 + p {
      min-height: 88px;
    }

    .list{
      display: flex;
      gap: 20px;
      margin-top: 25px;
      li{
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        font-weight: bold;
        max-width: 132px;
      }
      li p:last-child {
        line-height: 1.4;
        min-height: 68px;
      }
    }
    .common_link{
      background: none;
      border: 2px solid var(--main-color);
      color: var(--main-color);
      margin: 20px auto 0;
      &:hover {
        opacity: 0.6;
      }
    }
  }
  @media screen and (max-width: 767px) {
    width: 90%;
    margin: auto;
    flex-direction: column;
    gap: 10px;
    .box{
      height: auto;
      padding: 30px 5%;
      h3{
        letter-spacing: 1.8px;
        font-size: 1.8rem;
      }
      h3 + p {
        min-height: initial;
      }
  
      .list{
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
        li{
          width: 33.3%;
          display: flex;
          flex-direction: column;
          gap: 10px;
          justify-content: center;
          align-items: center;
          text-align: center;
          font-weight: bold;
        }
        li p:last-child {
          min-height: 50px;
          font-size: 1.12rem;
        }
        li p.usage_flex--small {
          font-size: min(1.2rem, 3vw);
        }
      }
      .common_link{
        background: none;
        border: 2px solid var(--main-color);
        color: var(--main-color);
      }
      &:first-child .common_link {
        margin-top: -1em;
      }
    }
  }
}

#sliderInner03 .slick-slide {
  margin: 0 10px;
}

/* ==========================
利用事例 【end】
============================= */

/* ==========================
サン科学が選ばれる理由 【start】
============================= */
.reason{
  background: #f5f5f5;
  padding: 240px 0 0;
}
.reason_inner{
  position: relative;
  z-index: 2;
}

.reason_inner--box{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1024px;
  margin: 30px auto 20px;
  & .box{
    max-width: 502px;
    background: var(--main-color);
    min-height: 257px;
    padding: 30px;
    position: relative;
    & .text{
      color: #fff;
      padding-top: 15px;
      padding-right: 140px;
      /* text-align: justify; */
    }
    &::after{
      content: "";
      position: absolute;
    }
    &:nth-child(1)::after{
      background: url(../img/reason01.svg) no-repeat center/contain;
      bottom: 30px;
      right: 30px;
      display: flex;
      width: 103px;
      height: 79px;
    }
    &:nth-child(2)::after{
      background: url(../img/reason02.svg) no-repeat center/contain;
      bottom: 30px;
      right: 30px;
      display: flex;
      width: 99px;
      height: 93px;
    }
    &:nth-child(3)::after{
      background: url(../img/reason03.svg) no-repeat center/contain;
      bottom: 30px;
      right: 30px;
      display: flex;
      width: 98px;
      height: 117px;
    }
    &:nth-child(4)::after{
      background: url(../img/reason04.svg) no-repeat center/contain;
      bottom: 30px;
      right: 30px;
      display: flex;
      width: 114px;
      height: 126px;
    }
  }
  & .num_flex{
    display: flex;
    gap: 15px;
    align-items: center;
    font-family: var(--title-font);
    & .num{
      color: #ababab;
      font-size: 5.6rem;
      font-weight: bold;
      border: 1px solid #ababab;
      width: 86px;
      min-width: 86px;
      height: 86px;
      display: flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }
    & h3{
      font-size: 2.4rem;
      font-weight: bold;
      color: #fff;
      line-height: 1.5;
    }
  }
}

.reason .common_link{
  background: none;
  border: 2px solid #fff;
  margin: auto;
  &:hover {opacity: 0.6;}
}

@media screen and (max-width: 767px){
  .reason{
    padding: 50px 0 0;
  }
  .reason_inner--box{
    gap: 10px;
    & .box{
      height: auto;
      padding: 20px 5%;
      & .text{
        padding-right: 105px;
      }
      &::after{
        content: "";
        position: absolute;
      }
      &:nth-child(1)::after{
        width: 75px;
        height: 57px;
      }
      &:nth-child(2)::after{
        width: 70px;
        height: 63px;
      }
      &:nth-child(3)::after{
        width: 65px;
        height: 77px;
      }
      &:nth-child(4)::after{
        width: 70px;
        height: 78px;
      }
    }
    & .num_flex{
      & .num{
        font-size: 3rem;
        width: 55px;
        height: 55px;
      }
      & h3{
        font-size: 1.8rem;
      }
    }
  }
}

/* ==========================
サン科学が選ばれる理由 【end】
============================= */

/* ==========================
導入の流れ 【start】
============================= */
.flow{
  padding-top: 260px;
  position: relative;
  z-index: 1;
  margin-top: -200px;
  @media screen and (min-width: 768px),print{
    background: url(../img/flow_bg.webp) no-repeat center/cover;
    height: 370px;
  }
}
.flow_inner{
  max-width: 676px;
  width: 90%;
  margin: auto;
  background: #fff;
  a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--main-color);
    /* transition: ease-out 0.5s; */
  }
  a:hover {
    opacity: 0.6;
    transition: all .3s;
  }
  hgroup.common_title {
    background: #fff;
    width: 50%;
    .en_tt {
      font-size: 3.6rem;
      letter-spacing: 3.6px;
    }
    @media screen and (max-width: 767px) {
      .en_tt {
        font-size: 2.8rem;
        letter-spacing: 2.8px;
      }
    }
  }
}
@media screen and (max-width: 767px){
  .flow{
    background: rgba(0, 0, 0, .5);
    padding-top: 300px;
    margin-top: -450px;
  }
  .flow_inner{
    background: none;
    max-width: 320px;
    position: relative;
    top: 200px;
    a {
      flex-direction: column-reverse;
    }
    hgroup.common_title {
      width: 100%;
      padding: 25px 5% 30px;
    }
  }
}
/* ==========================
導入の流れ 【end】
============================= */


.bgray{
  background: #f5f5f5;
  height: 275px;
  @media screen and (max-width: 767px){
    height: 455px;
    position: relative;
  }
}

/* ==========================
 会社メニュー 【start】
============================= */
.corp{
  display: flex;
  justify-content: center;
  margin: -100px auto 65px;
  & a{
    position: relative;
    color: #fff;
    border-top: 3px solid var(--main-color);
    &:hover::after{
      content: "";
      background: rgba(0, 55, 119, .8);
      transition: all .3s;
    }
    &::after{
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 55, 119, .5);
    }
  }
  & hgroup{
    position: absolute;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    & p{
      color: #fff;
    }
  }
  @media screen and (max-width: 767px){
    width: 90%;
    margin: 60px auto;
    margin-top: -206px;
    flex-wrap: wrap;
    & a{
      max-width: 327px;
    }
    & .text{
      bottom: 11px;
      font-size: 1.4rem;
      letter-spacing: 2.8px;
    }
  }
}
/* ==========================
 会社メニュー 【end】
============================= */


@media screen and (min-width: 767px),print {
}

@media screen and (max-width: 767px) {

}

@page {
  size: A4;
  margin: 5px;
}
