@charset "utf-8";

/* --------------------------------------------
parts
-----------------------------------------------*/
/* 見出し
---------------------*/
#home .heading__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 min(55/1720 * 100vw, 55px);
  margin-bottom: min(85/1720 * 100vw, 85px);
}

#home .heading {
  display: flex;
  flex-direction: column;
}

#home .heading-jp {
  font-size: var(--fontsize70);
  font-weight: 800;
}

#home .heading-en {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 2.5rem;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "メイリオ",
    sans-serif;
  color: var(--gray-700);
}

#home .heading-en::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gray-700);
}

#home .heading__link {
  padding-top: 35px;
}

#home .heading__link a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  padding: 11px 20px 11px 25px;
  border: 1px solid var(--base-black);
  border-radius: 50px;
  transition: all 0.3s;
}

#home .heading__link a:hover {
  opacity: 1;
  background: var(--base-black);
  color: var(--base-white);
  transition: all 0.3s;
}

#home .heading__link a::after {
  content: "";
  background: url(../../img/common/btn-black-right-arw.png) no-repeat center;
  background-size: 16px 9px;
  width: 16px;
  height: 9px;
  padding-left: 10px;
  transition: all 0.3s;
}

#home .heading__link a:hover::after {
  content: "";
  background: url(../../img/common/btn-white-right-arw.png) no-repeat center;
  background-size: 16px 9px;
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  #home .heading-jp {
    font-size: var(--fontsize30);
  }

  #home .heading-en {
    gap: 5px;
    font-size: 1.4rem;
  }

  #home .heading-en::before {
    width: 8px;
  }

  #home .heading__link {
    margin-left: auto;
    padding-top: 5px;
  }

  #home .heading__link a {
    font-size: 1.6rem;
    padding: 8px 10px 8px 20px;
  }
}

/* --------------------------------------------
メインビジュアル(hero)
-----------------------------------------------*/
.hero {
  background: url(../../img/top/hero-bg.png) no-repeat center;
  background-color: var(--base-white);
  background-size: cover;
  height: clamp(420px, 75vh, 940px);
  height: 100dvh;
  max-height: 940px;
  min-height: 900px;
  width: 100%;
  margin-bottom: min(120/1720 * 100vw, 120px);
}

.hero__wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  height: 100%;
}

/* キャッチコピー
---------------------------------- */
.hero__title {
  width: 37%;
  position: absolute;
  bottom: 85px;
  left: 5%;
}

/* スライダー
-----------------------------------*/
.hero-swiper {
  padding-top: min(100/1720 * 100vw, 100px);
  width: 50%;
}

.hero-swiper .swiper-3d .swiper-wrapper {
        pointer-events: none;
}
 
.hero__card {
  display: flex;
  justify-content: center;
  align-items: center;
pointer-events: auto;
}

.hero__card a {
  position: relative;
  width: min(610/1720 * 100vw, 610px);
  /* height: 710px; */
  height: auto;
  display: block;
  border-radius: 20px;
  padding: min(30/1720 * 100vw, 30px) min(30/1720 * 100vw, 30px)
    min(30/1720 * 100vw, 30px) 70px;
}

.hero__card a:hover {
  opacity: 1;
}

.hero__card:nth-child(3n-2) a {
  background: #c5c5c5;
}

.hero__card:nth-child(3n-1) a {
  background: #757575;
}

.hero__card:nth-child(3n) a {
  background: #444444;
}

/* カード番号
--------------------------*/
.hero__card-number {
  position: absolute;
  top: 65px;
  left: -15px;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 600;
  color: var(--base-white);
  background-color: inherit;
  border-radius: 5px;
  padding: 10px 5px;
}

/* カードタイトル
--------------------------*/

.hero__card-EnTitle {
  position: absolute;
  bottom: 30px;
  right: calc(100% - 15px);
  font-size: 3rem;
  font-weight: 600;
  rotate: 90deg;
  transform-origin: bottom right;
  color: var(--base-white);
  white-space: nowrap;
}

/* カード 詳細
-------------------------- */
.hero__card-content {
  background: var(--base-white);
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.hero__card-img {
  width: 100%;
  height: min(440/1720 * 100vw, 440px);
}

.hero__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card-info {
  padding: min(35/1720 * 100vw, 35px) min(25/1720 * 100vw, 25px)
    min(25/1720 * 100vw, 25px) min(25/1720 * 100vw, 25px);
}

.hero__cardTag {
  font-size: 1.8rem;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "メイリオ",
    sans-serif;
  color: #afafaf;
}

.hero__cardTitle {
  font-size: 3rem;
  font-weight: 800;
}

.hero__cardText {
  font-size: 2rem;
}

/* スライダー ボタン
-------------------------- */
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "";
  background: url(../../img/top/white-right-arw.png) no-repeat center;
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  background-color: #afafaf;
  border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "";
  background: url(../../img/top/white-right-arw.png) no-repeat center;
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  rotate: 180deg;
  background-color: #afafaf;
  border-radius: 50%;
}

.swiper-horizontal > .swiper-pagination-bullets {
  bottom: -30px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbcbcb;
}

.swiper-pagination-bullet-active {
  background: var(--base-black);
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 min(15/1200 * 100vw, 15px);
}

@media screen and (max-width: 767px) {
  .hero {
    height: 100%;
    max-height: 580px;
    min-height: 100dvh;
    width: 100%;
    margin-bottom: min(120/390 * 100vw, 120px);
  }

  .hero__wrap {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 125px;
  }

  .hero-swiper {
    padding-top: min(100/1720 * 100vw, 100px);
    width: 100%;
  }

  .hero__card a {
    width: 60%;
    padding: min(15/390 * 100vw, 15px) min(15/390 * 100vw, 15px)
      min(15/390 * 100vw, 15px) 35px;
  }

  .hero__card-number {
    top: 40px;
    font-size: 1.4rem;
    padding: 10px 5px;
  }

  .hero__card-content {
    border-radius: 10px;
  }

  .hero__title {
    width: 75%;
    position: initial;
    bottom: initial;
    left: initial;
  }

  .hero__cardTag {
    font-size: 1.6rem;
  }

  .hero__cardTitle {
    font-size: 1.8rem;
  }

  .hero__cardText {
    font-size: 1.2rem;
  }

  .hero__card-EnTitle {
    right: calc(100% - 2px);
    font-size: 1.6rem;
  }

  .hero__card-img {
    height: auto;
    aspect-ratio: 500 / 440;
  }

  .swiper-button-next:after,
  .swiper-rtl .swiper-button-prev:after {
    background-size: 17px 12px;
    width: 35px;
    height: 35px;
  }

  .swiper-button-prev:after,
  .swiper-rtl .swiper-button-next:after {
    background-size: 17px 12px;
    width: 35px;
    height: 35px;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
}

/* --------------------------------------------
キャッチコピー(catch)
-----------------------------------------------*/
#home .catch {
  margin-bottom: min(160/1720 * 100vw, 160px);
  background: url(../../img/top/catch.png) no-repeat center;
  background-size: cover;
}

#home .catch__wrap {
  padding: min(180/1720 * 100vw, 180px) 0;
}

#home .catch__txt {
  font-size: var(--fontsize50);
  font-weight: 800;
  color: var(--base-white);
}

#home .catch__txt span {
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  #home .catch__txt {
    font-size: var(--fontsize18);
  }
}

/* --------------------------------------------
キャッチコピー(problem)
-----------------------------------------------*/
#home .problem__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--base-black);
  border-radius: 30px;
  padding: min(75/1720 * 100vw, 75px) min(80/1720 * 100vw, 80px)
    min(50/1720 * 100vw, 50px);
  margin-bottom: min(150/1720 * 100vw, 150px);
}

#home .problem__content-txt h3 {
  font-size: var(--fontsize60);
  font-weight: 800;
  color: var(--base-white);
  margin-bottom: min(40/1720 * 100vw, 40px);
}

#home .problem__content-txt ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#home .problem__content-txt li {
  display: flex;
  align-items: baseline;
  font-size: var(--fontsize27);
  font-weight: 600;
  color: var(--base-white);
}

#home .problem__content-txt li::before {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #7e7e7e;
  border-radius: 500%;
  margin-right: min(18/1720 * 100vw, 18px);
translate: 0 -3px;
}

#home .problem__content-img {
  position: relative;
}

#home .problem__content-img--large {
  margin-top: calc(-1 * min(125/1720 * 100vw, 125px));
  width: 85%;
  margin-left: min(58/1720 * 100vw, 58px);
}

#home .problem__content-img--small {
  position: absolute;
  bottom: calc(-1 * min(100/1720 * 100vw, 100px));
  right: calc(-1 * min(130/1720 * 100vw, 130px));
  width: 47%;
}

#home .problem__content-btn {
  text-align: right;
  margin-top: min(60/1720 * 100vw, 60px);
}

#home .problem__content-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.8rem;
  color: var(--base-white);
  padding: min(12/1720 * 100vw, 12px) min(20/1720 * 100vw, 20px)
    min(12/1720 * 100vw, 12px) min(50/1720 * 100vw, 50px);
  border: 1px solid var(--base-white);
  border-radius: 50px;
  transition: all 0.3s;
}

#home .problem__content-btn a:hover {
  opacity: 1;
  background: var(--base-white);
  color: var(--base-black);
  transition: all 0.3s;
}

#home .problem__content-btn a::after {
  content: "";
  background: url(../../img/common/btn-white-right-arw.png) no-repeat center;
  background-size: 16px 9px;
  width: 16px;
  height: 9px;
  margin-left: 28px;
  transition: all 0.3s;
}

#home .problem__content-btn a:hover:after {
  content: "";
  background: url(../../img/common/btn-black-right-arw.png) no-repeat center;
  background-size: 16px 9px;
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  #home .problem__content {
    grid-template-columns: repeat(1, 1fr);
    border-radius: 20px;
    padding: min(30/390 * 100vw, 30px) min(20/390 * 100vw, 20px)
      min(50/390 * 100vw, 50px);
    margin-bottom: min(60/390 * 100vw, 60px);
  }

  #home .problem__content-txt h3 {
    font-size: var(--fontsize28);
    margin-bottom: min(25/390 * 100vw, 25px);
  }

  #home .problem__content-txt li {
    font-size: var(--fontsize18);
  }

  #home .problem__content-txt li::before {
    width: 5px;
    height: 5px;
    border: 1px solid #7e7e7e;
    margin-right: min(10/390 * 100vw, 10px);
  }

  #home .problem__content-btn {
    text-align: left;
    margin-top: min(30/390 * 100vw, 30px);
  }

  #home .problem__content-btn a {
    font-size: 1.6rem;
    color: var(--base-white);
    padding: min(7/390 * 100vw, 7px) min(10/390 * 100vw, 10px)
      min(7/390 * 100vw, 7px) min(20/390 * 100vw, 20px);
  }

  #home .problem__content-btn a::after {
    margin-left: 15px;
  }

  #home .problem__content-img--large {
    position: absolute;
    margin-top: 0;
    width: 40%;
    margin-left: 0;
    right: -30px;
    bottom: -65px;
  }

  #home .problem__content-img--small {
    position: absolute;
    bottom: -90px;
    right: 23%;
    width: 25%;
  }
}

/* --------------------------------------------
サービス紹介(service)
-----------------------------------------------*/
#home .service__wrap {
  margin-bottom: min(120/1720 * 100vw, 120px);
}

#home .service__contain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: min(60/1720 * 100vw, 60px) min(40/1720 * 100vw, 40px);
}

#home .service__box {
  padding: 10px;
  background: var(--base-white);
  box-shadow: 0 0 20px 3px rgb(0, 0, 0, 0.2);
  border-radius: 20px;
  height: min(460/1720 * 100vw, 460px);
  min-height: 340px;
}

#home .service__thumbnail {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
  margin-bottom: 25px;
}

#home .service__thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#home .service__title-en {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "メイリオ",
    sans-serif;
  color: var(--gray-700);
  padding: 0 15px;
}

#home .service__title-en::before {
  content: "";
  width: 4px;
  height: 4px;
  border: 1px solid var(--gray-700);
  border-radius: 50%;
  margin-right: 5px;
}

#home .service__title-jp {
  font-size: var(--fontsize30);
  font-weight: 800;
  color: #3b3b3b;
  padding: 0 15px;
}

@media screen and (max-width: 767px) {
  #home .service__contain {
    grid-template-columns: repeat(2, 1fr);
    gap: min(20/390 * 100vw, 20px) min(10/390 * 100vw, 10px);
  }

  #home .service__box {
    border-radius: 10px;
    height: initial;
    min-height: initial;
    box-shadow: 0 0 5px 2px rgb(0, 0, 0, 0.2);
  }

  #home .service__thumbnail {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 10px;
  }

  #home .service__title-en {
    font-size: 1.4rem;
    padding: initial;
    align-items: baseline;
    word-break: break-all;
  }

  #home .service__title-jp {
    font-size: var(--fontsize20);
    padding: initial;
  }
}

/* --------------------------------------------
お客様事例紹介(cases)
-----------------------------------------------*/
#home .cases__wrap {
  /* margin-bottom: min(270/1720*100vw,270px); */
}

/* スワイパー
------------------------------ */
#home .cases .swiper {
  overflow: initial;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

#home .cases .swiper-wrapper {
  display: flex;
  align-items: center;
 /* gap: min(50/1720 * 100vw, 50px);*/
}

#home .cases__slide a {
  display: block;
  border: 10px solid var(--base-white);
  border-radius: 20px;
  background: var(--base-white);
  box-shadow: 0 0 8px 3px rgb(0, 0, 0, 0.2);
  width: 100%;
  aspect-ratio: 37/41;
}

#home .cases__slide-img {
  width: 100%;
  height: 100%;
}

#home .cases__slide-img img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#home .cases__slide-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  width: 100%;
}

#home .cases__slide-category span {
  font-size: 1.7rem;
  color: var(--base-white);
  border: 1px solid var(--base-white);
  border-radius: 50px;
  padding: 0 5px;
}

#home .cases__slide-title {
  font-size: var(--fontsize30);
  font-weight: 600;
  color: var(--base-white);
text-shadow: 2px 2px #00000036;
}

#home .cases__slide-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
text-shadow: 2px 2px #00000036;
}

#home .cases__slide-date time {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--base-white);
}

#home .cases__slide-date time::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--base-white);
  border-radius: 50%;
  margin-right: 5px;
}

#home .cases__slide-date span {
  background: url(../../img/common/btn-black-right-arw.png) no-repeat center;
  background-size: 13px 7px;
  background-color: var(--base-white);
  width: 26px;
  height: 14px;
  border-radius: 50px;
}

#home .cases .swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 30px);
}

#home .cases .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 30px);
  right: auto;
}

@media screen and (max-width: 767px) {
/* 親でクリッピングして、はみ出したスライドを隠す */
  #home .cases {
    overflow: hidden;
  }
#home .cases .swiper {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  #home .cases__slide-img {
    border-radius: 10px;
  }

  #home .cases__slide a {
    border-radius: 10px;
    border: 8px solid var(--base-white);
  }

  #home .cases__slide-category span {
    font-size: 1.4rem;
  }

  #home .cases__slide-title {
    font-size: var(--fontsize20);
  }

  #home .cases__slide-date time {
    font-size: 1.4rem;
  }

  #home .cases__slide-date time::before {
    width: 3px;
    height: 3px;
  }
}
