@charset "utf-8";

.top_mv {
  position: relative;
  background: #000;
}
.mv_mov {
  position: relative;
  width: 100%;
  max-height: 100%;
  height: 800px;
  overflow: hidden;
  &::before {
    content: '';
    position: absolute;
    background: url(../img/mv_kazari.png)no-repeat left;
    background-size: cover;
    width: 98%;
    height: 95%;
    right: 0;
    border-radius: 0 0 0 50px;
  }
  video {
    width: 98%;
    height: 95%;
    margin: 0 auto;
    margin-right: 0;
    object-fit: cover;
    /* opacity: .7; */
    border-radius: 0 0 0 50px;
  }
  @media screen and (max-width: 767px) {
    height: 480px;
    video,
    &::before {
      width: 90%;
    }
  }
}

.top_mv--ttl {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-size: 5.6rem;
  font-weight: bold;
  letter-spacing: 8.4px;
  line-height: 1.7;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  z-index: 1;
  span {
    display: contents;
    font-size: 2.8rem;
    letter-spacing: 4.2px;
    font-weight: 900;
  }
  @media screen and (max-width: 767px) {
    font-size: min(4rem, 8.8vw);
    letter-spacing: 4px;
    left: 12%;
    span {
      font-size: 1.8rem;
      letter-spacing: 2.4px;
    }
  }
}
.top_mv--enttl {
  position: absolute;
  left: 70px;
  bottom: 20px;
  font-family: var(--en-font);
  font-size: 11.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  z-index: 1;
  @media screen and (max-width: 767px) {
    font-size: min(5rem, 7vw);
    left: auto;
    right: 0;
  }
}
.top_mv--scroll {
  position: absolute;
  display: inline-block;
  left: 8px;
  bottom: 0;
  padding-bottom: 210px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .2em;
  text-decoration: none;
  z-index: 1;
  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 1px;
    height: 205px;
    background: #fff;
  }
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 1px;
    height: 205px;
    background: var(--sub-color);
    animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
  }
  span {
    writing-mode: vertical-rl;
    text-orientation: initial;
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 125px;
    left: 4%;
    &::before {height: 120px;}
    &::after {height: 120px;}
  }
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}



.under_mv {
  position: relative;
  width: 90%;
  max-width: 905px;
  margin: 40px auto;
  .arrow_box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    top: 0;
    bottom: 0;
  }
  
  .prev-arrow,
  .next-arrow {
    position:relative;
    display: block;
    width: 50px;
    height: 50px;
    transition: all .3s ease;
    cursor: pointer;
    right: -4em;
    &::before {
      position:absolute;
      content: "";
      width:28px;
      height:28px;
      border-right: 2px solid var(--sub-color);
      border-top: 2px solid var(--sub-color);
      top:0;
      bottom:0;
      left:0;
      right:0;
      margin:auto;
      transform:rotate(45deg);
    }
  }
  .prev-arrow {
    transform: rotate(180deg);
    left: -4em;
    right: auto;
  }
  @media screen and (max-width: 767px) {
    max-width: 173px;

    /* .next-arrow {
      right: 0;
    }
    .prev-arrow {
      left: 0;
    } */
  }
}
.under_swiper {
  overflow: hidden;
  width: 100%;
}
.under_swiper .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
}



.top_about {
  height: 540px;
  &::before {
    content: '';
    position: absolute;
    background: url(../img/about_bg.png)no-repeat center;
    background-size: cover;
    top: 0;
    /* bottom: 0; */
    right: 0;
    margin: auto;
    width: 78%;
    height: 366px;
  }
  @media screen and (max-width: 767px) {
    overflow: hidden;
    height: auto;
  }
}
.top_about .container {
  height: 100%;
  padding: 175px 0 40px;
  @media screen and (max-width: 767px) {
    width: 100%;
    padding-bottom: 56px;
  }
}

.top_about .top_en--1367 {
  position: absolute;
  top: 0;
  right: -1em;
  margin: auto;
  min-height: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 12.8rem;
  font-weight: 700;
  font-family: var(--en-font);
  @media screen and (max-width: 1366px) {
    display: none;
  }
}
.top_about .top_en--1366 {
  display: none;
  @media screen and (max-width: 1366px) {
    position: absolute;
    top: 0;
    right: 0;
    margin: auto;
    min-height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.18);
    font-size: 12.8rem;
    font-weight: 700;
    font-family: var(--en-font);
  }
  @media screen and (max-width: 767px) {
    top: 60px;
    font-size: min(9rem, 20vw);
    z-index: 1;
  }
}
.top_about--txt {
  position: relative;
  width: 100%;
  max-width: 607px;
  margin: 0 auto;
  margin-right: 0;
  background: var(--dark-blue);
  padding: 56px 72px 56px 80px;
  border-radius: 50px 0 0 0;
  z-index: 1;
  h2 {
    color: #fff;
    font-size: 2.4rem;
    letter-spacing: 4.8px;
    font-weight: 700;
  }
  p {
    color: #fff;
  }
  .cmn_link {
    max-width: 100%;
  }
  & + figure {
    position: absolute;
    top: 40px;
    left: -10em;
  }
  @media screen and (max-width: 767px) {
    width: 90%;
    padding: 48px 7%;
    & + figure {
      margin-right: 5%;
    }
  }
}


.top_strength {
  padding: 64px 0;
  &::before {
    content: '';
    position: absolute;
    background: url(../img/strength_bg.png)no-repeat center;
    background-size: cover;
    top: 0;
    /* bottom: 0; */
    left: 0;
    margin: auto;
    width: 83%;
    height: 618px;
  }
  @media screen and (max-width: 767px) {
    padding-bottom: 32px;
    &::before {width: 90%;}
  }
}
.top_strength .cmn_ttl {
  margin-bottom: 40px;
  h2 {
    color: var(--dark-blue);
  }
  p {
    color: rgba(255, 255, 255, 0.5);
  }
  @media screen and (max-width: 767px) {
    margin-bottom: 0;
  }
}
.top_strength--list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: initial;
  gap: 20px 24px;
  margin-bottom: 32px;
  li {
    width: calc(50% - 12px);
    max-width: 499px;
    padding: 30px;
  }
  li:nth-child(1) {
    background: var(--dark-blue);
    border-radius: 50px 0 0 0;
    h3 {
      font-size: 2rem;
      letter-spacing: 2px;
    }
  }
  li:nth-child(2) {
    background: var(--light-blue);
    border-radius: 0 50px 0 0;
  }
  li:nth-child(3) {
    background: var(--light-blue);
    border-radius: 0 0 0 50px;
  }
  li:nth-child(4) {
    background: var(--dark-blue);
    border-radius: 0 0 50px 0;
  }
  h3 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    font-size: 2.4rem;
    letter-spacing: 2.4px;
    font-weight: 700;
    line-height: 1.7;
    color: #fff;
    & + p {color: #fff;}
  }
  h3 span {
    min-width: 90px;
    color: var(--sub-color);
    font-size: 6.4rem;
    font-weight: 700;
    font-family: var(--en-font);
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    li {
      width: 100%;
      padding: 30px 15px;
    }
    li:nth-child(2),
    li:nth-child(3) {
      border-radius: 0;
    }
    h3 {
      font-size: 2rem;
      letter-spacing: 1px;
      gap: 6px;
    }
    h3 span {
      min-width: 40px;
      font-size: 2.8rem;
    }
  }
}


.top_products {
  padding: 64px 0;
  &::before {
    content: '';
    position: absolute;
    background: url(../img/pro_bg.png)no-repeat center;
    background-size: cover;
    top: 0;
    /* bottom: 0; */
    right: 0;
    margin: auto;
    width: 83%;
    height: 498px;
  }
  @media screen and (max-width: 767px) {
    &::before {width: 90%;}
  }
}
.top_products .cmn_ttl {
  margin-bottom: 56px;
  @media screen and (max-width: 767px) {
    margin-bottom: 0;
  }
}
.top_products--list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  a {
    position: relative;
    width: calc(25% - 15px);
    max-width: 240px;
  }
  a:hover {
    opacity: 1;
  }
  a:hover img {
    transform: scale(1.1,1.1);
    transition: .5s all;
  }
  .products_ttl {
    width: 100%;
    color: #fff;
    background: var(--sub-color);
    border-radius: 0 50px 0 0;
    padding: 12px;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: bold;
  }
  figure {
    width: 100%;
    height: 160px;
    background: #F9F9F9;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .products_des {
    width: 100%;
    color: #000;
    background: #E6E6E6;
    border-radius: 0 0 0 50px;
    padding: 12px 28px;
    padding-bottom: 20px;
  }
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    align-items: initial;
    gap: 10px;
    a {
      width: calc(50% - 5px);
    }
    .products_ttl {
      font-size: min(2rem, 4.8vw);
      letter-spacing: 1px;
    }
    a:nth-of-type(3) .products_ttl,
    a:nth-of-type(4) .products_ttl {
      height: 96px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .products_des {
      padding: 12px 24px;
      line-height: 1.7;
    }
  }
}


.top_kodawari {
  background: url(../img/kodawari_bg2.png)no-repeat center;
  background-size: cover;
}
.top_kodawari .container {
  padding: 64px 0;
  background: url(../img/kodawari_bg1.png)no-repeat center;
  background-size: contain;
  @media screen and (max-width: 767px) {
    padding: 32px 0;
    background: url(../img/kodawari_bg1_sp.png)no-repeat center;
    background-size: contain;
  }
}
.top_kodawari--ttl {
  text-align: center;
  color: #fff;
  font-size: 4rem;
  letter-spacing: 6px;
  margin: 32px 0 28px;
  font-family: 'Noto Serif JP';
  & + p {
    color: #fff;
    margin-bottom: 44px;
  }
  @media screen and (max-width: 767px) {
    font-size: min(2.4rem, 6vw);
    letter-spacing: 2px;
    margin: 24px 0;
  }
}


.top_bnr {
  padding: 64px 0;
}
.top_bnr .container {
  display: flex;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
  }
}
.top_bnr--link {
  position: relative;
  width: 50%;
  max-width: 512px;
  display: flex;
  justify-content: center;
  align-items: center;
  &:hover {opacity: 1;}
  &:hover .top_bnr--bg img {
    transform: scale(1.06, 1.06);
    transition: .5s all;
  }
  &:nth-child(1) .top_bnr--bg {
    border-radius: 50px 0px 0px 0px;
  }
  &:nth-child(2) .top_bnr--bg {
    border-radius: 0px 0px 50px 0px;
  }
  h2 {
    color: #fff;
    font-size: 3.6rem;
    letter-spacing: 7.2px;
  }
  @media screen and (max-width: 767px) {
    width: 100%;
    h2 {
      font-size: 2rem;
      letter-spacing: 2px;
    }
  }
}
.top_bnr--bg {
  overflow: hidden;
  height: auto;
  & + div {
    position: absolute;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 10px;
  }
  & + div.bg_light {
    background: rgba(0, 114, 230, 0.9);
  }
  & + div.bg_dark {
    background: rgba(36, 86, 192, 0.9);
  }
  @media screen and (max-width: 767px) {
    & + div {
      padding: 20px 10px;
      width: 80%;
    }
    & + div figure {
      height: 50px;
      img {
        height: 100%;
        object-fit: contain;
      }
    }
  }
}


.top_news {
  padding: 96px 0;
  &::before {
    content: '';
    position: absolute;
    background: rgba(239, 248, 255, 1);
    border-radius: 50px 0 0 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 100%;
  }
  @media screen and (max-width: 1920px) {
    &::before {
      max-width: 1380px;
    }
  }
  @media screen and (max-width: 1366px) {
    &::before {
      width: 83.5%;
    }
  }
}
.top_news .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}
.top_news--left {
  width: 100%;
  max-width: 326px;
}
.top_news--ttl {
  color: var(--main-blue);
  font-size: 3.6rem;
  letter-spacing: 7.2px;
  margin-bottom: 64px;
  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
    letter-spacing: 4.8px;
    margin-bottom: 0;
  }
}
.top_news--list {
  width: 100%;
  max-width: 655px;
  border-top: 1px solid #68B3FF;
  article {
    width: 100%;
    border-bottom: 1px solid #68B3FF;
  }
  a, div {
    position: relative;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px 32px;
    color: #000;
  }
  a:hover {
    opacity: 0.6;
  }
  h3 {
    font-size: 1.6rem;
    letter-spacing: 0.8px;
    font-weight: 500;
  }
  @media screen and (max-width: 767px) {
    max-width: 100%;
    a, div {
      padding: 16px;
    }
  }
}

.top_news .cmn_link.pc_block {
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.top_news .cmn_link.sp_block {
  display: none;
  @media screen and (max-width: 767px) {
    display: flex;
  }
}