﻿/* ===== セクション見出し (共通) ===== */
/* .section-head .ttl-sm {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.section-head .ttl {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.38;
  color: #006ad5;
  letter-spacing: 0;
  position: relative;
}
.section-head.white .ttl-sm {
  color: #fff;
}
.section-head.white .ttl {
  color: #fff;
}
.section-head.center {
  text-align: center;
}
.intro {
  font-size: 1.4rem;
  line-height: 1.875;
}
.intro.white {
  color: #fff;
} */

/* ===== MV セクション ===== */
/* .mv-section {
  position: relative;
  width: 100%;
  aspect-ratio: 880 / 1198;
  overflow: hidden;
}
.mv-section .mv-img {
  position: relative;
  width: 100%;
  height: 100%;
}
.mv-section .mv-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-section .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mv-section .content .ttl {
  font-size: 286%;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin-bottom: 2.7rem;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.66);
}
.mv-section .content .txt {
  font-size: 200%;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.66);
} */

/* ===== background 切り替え（WebP / Jpeg） ===== */
/* .webp .about-section::before {
  background: url(../img/top/about-bk-sp.webp);
  background-blend-mode: multiply;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-position-x: center;
  opacity: 0.35;
}
.no-webp .about-section::before {
  background: url(../img/top/about-bk-sp.jpg);
  background-blend-mode: multiply;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: bottom;
  background-position-x: center;
} */

/* ===== About セクション ===== */
/* .about-section {
  background: #f2fafd;
  padding-top: 6rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.about-section::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  z-index: -1;
}
.about-above .box:nth-child(1) {
  margin-bottom: 1rem;
}
.about-section .section-head {
  margin-bottom: 3.6rem;
}
.about-section .section-head .ttl {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-section img {
  display: inline-block;
  width: 100%;
  height: auto;
}
.about-list {
  list-style: none;
  margin-bottom: 3.5rem;
}
.about-item {
  font-size: 1.3rem;
  line-height: 1.6;
}
.about-item:not(:last-child) {
  margin-bottom: 1rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid #707070;
}
.about-item img {
  width: 20px;
  margin-right: 0.5rem;
  vertical-align: text-bottom;
}
.about-bottom .txt {
  font-size: 1.2rem;
  line-height: 1.875;
} */

/* ===== 共通 ===== */
.cta-section .txt {
  margin-bottom: 4rem;
}

/* ===== サービスセクション ===== */
.webp .service-section {
  background: url(../img/top/service-bk.webp);
  background-repeat: repeat-y;
  background-size: 200%;
}
.no-webp .service-section {
  background: url(../img/top/service-bk.jpg);
  background-repeat: repeat-y;
  background-size: 200%;
}
.service-section {
  padding-top: 4.5rem;
  /* padding-bottom: 4.2rem; */
  overflow: hidden;
}
.service-section .section-head {
  margin-bottom: 2rem;
}
.service-section .intro {
  margin-bottom: 3.8rem;
}
.service-item-ttl {
  color: #fff;
}
.service-item-txt {
  color: #fff;
}
.service-item-link {
  color: #fff;
}

/* ===== 技術セクション ===== */
.tech-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.tech-section .section-head {
  margin-bottom: 2.4rem;
}
.tech-section .intro {
  margin-bottom: 4.2rem;
}
.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: -6rem;
  margin-bottom: 4.6rem;
}
.tech-item {
  margin-top: 6rem;
}
.tech-item-img {
  margin-bottom: 2rem;
}
.tech-item-ttl {
  color: #006ad5;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.tech-item-txt {
  font-size: 1.4rem;
  line-height: 1.866;
}

/* ===== フローセクション ===== */
.flow-section {
  background: #006ad5;
  padding-top: 5rem;
  padding-bottom: 7rem;
  color: #fff;
}
.flow-section .section-head {
  margin-bottom: 3rem;
}
.flow-section .intro {
  margin-bottom: 3rem;
}
.flow-section .flow-wrap .box {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  margin-top: 3rem;
  position: relative;
}
.flow-section .flow-wrap .box:not(:last-child)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 30px solid rgba(0, 0, 0, 0);
  border-right: 30px solid rgba(0, 0, 0, 0);
  border-top: 20px solid #00285d;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.flow-section .flow-wrap .box div:nth-child(1) .step-txt {
  color: #006ad5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid #d0d0d0;
  margin-bottom: 2rem;
}
.flow-section .flow-wrap .box div:nth-child(1) .step-txt .step {
  font-size: 1.2rem;
  font-weight: 700;
}
.flow-section .flow-wrap .box div:nth-child(1) .step-txt .num {
  font-size: 2.4rem;
  font-weight: 700;
}
.flow-section .flow-wrap .box div:nth-child(1) .step-txt.green {
  color: #599b53;
}
.flow-section .flow-wrap .box div:nth-child(2) {
  margin-bottom: 2rem;
}
.flow-section .flow-wrap .box div:nth-child(2) img {
  width: 100%;
}
.flow-section .flow-wrap .box div:nth-child(3) .ttl {
  color: #006ad5;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}
.flow-section .flow-wrap .box div:nth-child(3) .ttl.green {
  color: #599b53;
}
.flow-section .flow-wrap .box div:nth-child(3) .txt {
  color: #000;
  font-size: 1.4rem;
  line-height: 1.875;
  font-weight: 400;
}

/* ===== FAQ セクション ===== */
.faq-section {
  padding-top: 7rem;
  padding-bottom: 8rem;
  background: #fff;
}
.faq-section .section-head {
  margin-bottom: 6.2rem;
}
.faq-section .faq-wrap {
  margin-bottom: 3rem;
}
.faq-section .faq-wrap .faq-block:nth-child(1) {
  padding-top: 0;
}

/* ===== News セクション ===== */
.news-section {
  background: #f0f2f2;
  padding-top: 7rem;
  padding-bottom: 7rem;
  color: #000;
}
.news-section .section-head {
  margin-bottom: 5.8rem;
}

/* ===== Blog セクション ===== */
.blog-section {
  background: #006ad5;
  padding-top: 8rem;
  padding-bottom: 9.4rem;
}
.blog-section .section-head {
  margin-bottom: 5.8rem;
}
.blog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: -6rem;
  margin-bottom: 5rem;
}
.blog-item {
  margin-top: 6rem;
}
.blog-item-inner {
  transition: all 0.3s ease-out;
}
.blog-item-img {
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 64.5161290323%;
}
.blog-item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-item-ttl {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.blog-item-ttl.black {
  color: #000;
}
.blog-item-txt {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.875;
  font-weight: 400;
}
.blog-item-txt.black {
  color: #000;
}

/* ===== リクルートセクション (必要なら) ===== */
.recruit-item-img {
  width: 100%;
  transition: all 0.3s ease-out;
}
.recruit-item-img img {
  width: 100%;
}

/* =========================================================
   Responsive（768px以上）のルール
   ========================================================= */
@media screen and (min-width: 768px) {
  /* .section-head .ttl-sm {
    font-size: 1.4rem;
  }
  .section-head .ttl {
    font-size: 3.6rem;
  }
  .intro {
    font-size: 1.6rem;
    max-width: 930px;
    margin: 0 auto;
  }
  .mv-section {
    aspect-ratio: 2800 / 1152;
  }
  .mv-section .content .ttl {
    font-size: 5rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }
  .mv-section .content .txt {
    font-size: 2rem;
  } */

  /* About セクション */
  /* .about-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
  .about-section::before {
    height: 100%;
    top: 0;
  }
  .about-section .section-head {
    margin-bottom: 6rem;
  }
  .about-above {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 6.4rem;
  }
  .about-above .box:nth-child(1) {
    max-width: 350px;
    width: 40%;
    margin-bottom: 0;
  }
  .about-above .box:nth-child(2) {
    width: calc(100% - 350px - 115px);
  }
  .about-list {
    margin-bottom: 0;
  }
  .about-item {
    font-size: 2rem;
  }
  .about-item img {
    width: 25px;
  }
  .about-bottom .txt {
    font-size: 1.6rem;
  } */

  /* サービス背景の繰り返し・サイズ調整 */
  .webp .service-section,
  .no-webp .service-section {
    background-repeat: repeat;
    background-size: 100%;
  }
  .service-section {
    padding-top: 7.5rem;
  }
  .service-section .section-inner {
    max-width: 1360px;
  }
  .service-section .section-head {
    margin-bottom: 3.6rem;
  }
  .service-section .intro {
    margin-bottom: 6.3rem;
  }

  /* 技術セクション */
  .tech-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
  .tech-section .section-inner {
    max-width: 1040px;
  }
  .tech-section .section-head {
    margin-bottom: 4rem;
  }
  .tech-section .intro {
    margin-bottom: 7rem;
    max-width: 800px;
  }
  .tech-list {
    width: 1000px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: -7rem;
    margin-bottom: 7.7rem;
  }
  .tech-item {
    width: calc((100% - 4rem) / 2);
    margin-top: 7rem;
  }

  /* フローセクション */
  .flow-section {
    padding-top: 7rem;
    padding-bottom: 7.5rem;
  }
  .flow-section .section-inner {
    max-width: 1040px;
  }
  .flow-section .section-head {
    margin-bottom: 5.2rem;
  }
  .flow-section .intro {
    margin-bottom: 5rem;
    max-width: 800px;
  }
  .flow-section .flow-wrap {
    max-width: 1000px;
  }
  .flow-section .flow-wrap .box {
    flex-direction: row;
    padding: 2.8rem 0;
  }
  .flow-section .flow-wrap .box div:nth-child(1) {
    padding-left: 1.3rem;
    width: 120px;
    border-right: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flow-section .flow-wrap .box div:nth-child(1) .step-txt {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .flow-section .flow-wrap .box div:nth-child(1) .step-txt .step {
    font-size: 1.6rem;
  }
  .flow-section .flow-wrap .box div:nth-child(1) .step-txt .num {
    font-size: 4rem;
  }
  .flow-section .flow-wrap .box div:nth-child(2) {
    margin-bottom: 0;
    width: 258px;
    margin-left: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flow-section .flow-wrap .box div:nth-child(3) {
    margin-left: 3.7rem;
    padding-right: 3.5rem;
    max-width: 587px;
    width: calc(100% - 350px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .flow-section .flow-wrap .box div:nth-child(3) .ttl {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 1.7rem;
  }
  .flow-section .flow-wrap .box div:nth-child(3) .txt {
    font-size: 1.6rem;
  }

  /* FAQ セクション */
  .faq-section {
    padding-top: 7rem;
    padding-bottom: 7.5rem;
    background: #fff;
  }
  .faq-section .section-inner {
    max-width: 940px;
  }
  .faq-section .section-head {
    margin-bottom: 10.4rem;
  }
  .faq-section .faq-wrap {
    margin-bottom: 5.6rem;
  }

  /* Blog セクション */
  .blog-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .blog-section .section-inner {
    max-width: 1040px;
  }
  .blog-section .section-head {
    margin-bottom: 9.7rem;
  }
  .blog-list {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 8.5rem;
  }
  .blog-item {
    width: 31%;
    margin-top: 0;
  }
  .blog-item-ttl {
    font-size: 2rem;
  }
  .blog-item-txt {
    font-size: 1.6rem;
  }

  /* リクルートセクション */
  .recruit-section {
    padding-top: 10.6rem;
    padding-bottom: 10.7rem;
    background: #fff;
  }
  .recruit-item-img {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
  }
}
