@charset 'utf-8';

/*--------------------------------------------------------
common
--------------------------------------------------------*/


/*--------------------------------------------------------
mv
--------------------------------------------------------*/
.mv {
  width: 100%;
  height: 100vh;
  position: relative;
}

.slider li {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
}

.slider li:first-of-type {
  background-image: url('../img/mv1.jpeg');
  background-color: rgba(0, 79, 152, 0.6);
  background-blend-mode: darken;
}
.slider li:nth-of-type(2) {
  background-image: url('../img/mv2.jpeg');
  background-color: rgba(0, 31, 81, 0.6);
  background-blend-mode: darken;
}
.slider li:last-of-type {
  background-image: url('../img/mv3.jpeg');
  background-color: rgba(0, 52, 94, 0.6);
  background-blend-mode: darken;
}

.mv_title {
  position: absolute;
  left: 5%;
  top: 60%;
  color: #fff;
}

.mv_title h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -5px;
}

.mv_title span {
  font-size: 2rem;
  font-weight: 700;
}

.mv_title p {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
}

@media screen and (max-width: 1000px) {
  .mv {
    height: 75vh;
  }

  .slider li {
    height: 75vh;
  }

   .mv_title {
    left: 5%;
    top: 50;
    transform: translateY(-50%);
  }

  .mv_title h1 {
    margin-top: 0.5rem;
    font-size: 8cqw;
    font-weight: 700;
    letter-spacing: 0;
  }

  .mv_title span {
    font-size: 3cqw;
    font-weight: 700;
  }

  .mv_title p {
    margin-top: 1rem;
    font-size: 3cqw;
    font-weight: 300;
    line-height: 1.5;
  }
}

@media screen and (max-width: 580px) {
  .mv {
    height: 50vh;
  }

  .slider li {
    height: 50vh;
  }
}

/*--------------------------------------------------------
what_we_do
--------------------------------------------------------*/
.whatwedo {
  width: 100%;
  background-image: linear-gradient(145deg, rgba(2, 32, 68, 1), rgba(0, 69, 156, 1));
}

.main_text {
  margin-top: 3rem;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.pRevealTextInView__text {
  margin-top: 3rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2;
  color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 580px) {
  .main_text {
    font-size: 3.5cqw;
  }

  .pRevealTextInView__text {
    margin-top: 1.5rem;
    font-size: 4.5cqw;
    font-weight: 500;
    line-height: 1.5;
  }
}


/*--------------------------------------------------------
features
--------------------------------------------------------*/
.features_card {
  margin-top: 3rem;
}

.features_card_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.features_card_list li {
  width: 25%;
  aspect-ratio: 1;
  padding: 20px;
  background-color: transparent;
  background-image: repeating-linear-gradient(90deg, #003477, #003477 8px, transparent 8px, transparent 16px), repeating-linear-gradient(180deg, #003477, #003477 8px, transparent 8px, transparent 16px), repeating-linear-gradient(90deg, #003477, #003477 8px, transparent 8px, transparent 16px), repeating-linear-gradient(180deg, #003477, #003477 8px, transparent 8px, transparent 16px);
  background-position: left top, right top, left bottom, left top;
  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
  background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
  position: relative;
}
.features_card_list li:after {
  content: '';
  background-color: #E8F3FF;
  width: 100%;
  height: 100%;
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: -1;
}

.features_card_list li:nth-of-type(n + 4) {
  margin-top: 5rem;
}

.features_card_list li span {
  display: block;
  position: relative;
  left: -40px;
  width: 90%;
  padding: 0.7rem 1.5rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.features_card_list li:nth-child(1) span {
  background-color: #00295B;
}
.features_card_list li:nth-child(2) span {
  background-color: var(--color1);
}
.features_card_list li:nth-child(3) span {
  background-color: #00408E;
}
.features_card_list li:nth-child(4) span {
  background-color: #004BA8;
}
.features_card_list li:nth-child(5) span {
  background-color: #0057C1;
}
.features_card_list li:nth-child(6) span {
  background-color: #0062DB;
}

.card_list_ttl {
  margin-top: 1rem;
  color: var(--color1);
  font-size: 1.15rem;
  font-weight: 800;
}

.features_card_list li p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media screen and (max-width: 1023px) {
  .features_card_list li {
    width: 40%;
  }

  .features_card_list li:nth-of-type(n + 3) {
    margin-top: 5rem;
  }

  .features_card_list li span {
    padding: 0.7rem 1rem;
    font-size: 1.5rem;
  }

  .card_list_ttl {
    font-size: 2.3cqw;
  }

  .features_card_list li p {
    margin-top: 1rem;
    font-size: 1.8cqw;
  }
}

@media screen and (max-width: 768px) {
  .features_card_list {
    display: block;
  }

   .features_card_list li:nth-of-type(n + 3) {
    margin-top: 0;
  }

  .features_card_list li {
    width: 90%;
    margin: 0 auto;
    aspect-ratio: 0;
    box-sizing: border-box;
  }

  .features_card_list li:nth-of-type(n + 2) {
    margin-top: 3rem;
  }

  .features_card_list li span {
    padding: 0.7rem 1rem;
    font-size: min(3cqw, 1.5rem);
  }

  .card_list_ttl {
    font-size: 4cqw;
  }

  .features_card_list li p {
    margin-top: 1rem;
    font-size: min(3cqw, 1.25rem);
    line-height: 2;
  }
}

/*--------------------------------------------------------
Liver
--------------------------------------------------------*/
section.liver {
  background: #EEEBE9;
}

.scroll-infinity {
  margin-top: 5rem;
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__wrap:hover .scroll-infinity__list--left{
  animation-play-state: paused;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}

.scroll-infinity__item {
  margin-left: 50px;
  width: calc(100vw / 5);
}

.scroll-infinity__item img {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .scroll-infinity {
    margin-top: 3rem;
  }

  .scroll-infinity__item {
    margin-left: 20px;
    width: calc(100vw / 4);
  }
}

@media screen and (max-width: 580px) {
  .scroll-infinity__item {
    margin-left: 20px;
    width: calc(100vw / 3);
  }
}

/*--------------------------------------------------------
faq
--------------------------------------------------------*/
.qa_list {
  margin-top: 3rem;
}

.qa_list_box {
  width: 70%;
  margin: 0 auto;
}

.qa_list dl {
  position: relative;
  margin: 30px 0 0;
  cursor: pointer;
  border: 3px solid var(--color1);
  border-radius: 5px;
}

.qa_list dl:first-child {
margin-top: 0;
}

.qa_list dl::after {
  position: absolute;
  top: 22px;
  right: 26px;
  display: block;
  width: 15px;
  height: 15px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 3px solid var(--color1);
  border-right: 3px solid var(--color1);
}

.qa_list .open::after {
  transform: rotate(-45deg);
}

.qa_list dl dt {
  position: relative;
  margin: 0;
  padding: 20px;
  color: var(--color1);
  font-weight: 700;
  background: #f5f5f5;
  border-radius: 4px;
}

.qa_list dl.open dt {
  border-radius: 5px 5px 0 0;
}

.qa_list dl dd {
  display: none;
  position: relative;
  margin: 0;
  padding: 20px;
  background: #fff;
  border-top: 3px solid var(--color1);
  border-radius: 0 0 5px 5px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.qa_list dl:first-of-type dd {
  display: block;
}

.qa_list dl dd p {
  margin: 30px 0 0;
}

.qa_list dl dd p:first-child{
  margin-top: 0;
}

.qa_list dl dd span {
  display: block;
  margin-left: 1rem;
  font-size: 0.8rem;
}

.comment {
  margin-top: 1rem;
}

@media screen and (max-width: 960px) {
  .qa_list_box {
    width: 90%;
  }

  .qa_list dl::after {
    right: 10px;
  }

  .qa_list dl dt {
    padding: 20px 30px 20px 10px;
  }

  .qa_list dl dd {
    padding: 10px;
  }
}

@media screen and (max-width: 580px) {
  .qa_list {
    margin-top: 1rem;
  }

  .qa_list_box {
    width: 95%;
  }

  .qa_list dl {
    margin: 1rem 0 0;
    border: 2px solid var(--color1);
  }

  .qa_list dl::after {
    width: 12px;
    height: 12px;
  }

  .qa_list dl dt {
    font-weight: 500;
    font-size: 0.8rem;
  }

  .qa_list dl dd {
    padding: 10px;
    border-top: 2px solid var(--color1);
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/*--------------------------------------------------------
what's new
--------------------------------------------------------*/
.news_container {
  margin-top: 3rem;
}

.card_list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hover_all {
  position: relative;
}

.hover_all a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.card {
  width: calc(96% / 3);
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

figure {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s ease-in-out;
}

.card:hover figure img {
  transform: scale(1.05);
}

.card_body {
  margin-top: 0.5rem;
}

.data-box {
  font-size: 0.8rem;
}

.news_ttl {
  margin-top: 0.5rem;
  color: var(--color1);
  font-size: 1.25rem;
  font-weight: 700;
}

.news_txt {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.25;

  display: -webkit-box;             
  -webkit-box-orient: vertical;      /* 垂直方向に配置 */
  overflow: hidden;                  /* 溢れた部分を隠す */
  text-overflow: ellipsis;           /* 溢れた部分に「...」を表示 */
  -webkit-line-clamp: 3;             /* 最大行数を2行に設定 */
}

@media screen and (max-width: 900px) {
  .card_list {
    display: block;
  }

  .card {
    width: 80%;
    margin: 50px auto 0;
  }

  figure {
    height: 350px
  }
}

@media screen and (max-width: 580px) {
  .card {
    width: 100%;
  }

    figure {
    height: 250px
  }

  .data-box {
    font-size: 0.9rem;
  }

  .news_ttl {
    font-size: 1.5rem;
  }

  .news_txt {
    font-size: 1rem;
  }
}