@charset "UTF-8";

.p-front {
  font-family: var(--font-base);
  color: var(--color-text);
}

/*-------------------------------------------
メインビジュアル
背景（mv-bg.jpg）の配置はカンプに合わせて調整
  SP: 右上の青い帯が見えるよう拡大して配置
  PC: 左下の曲線が常に画面下部に来るよう下揃えで配置
-------------------------------------------*/
.p-mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: 96px var(--gutter) 120px;
  overflow: hidden;
  background: #d6ecfb url(../img/mv-bg.jpg) 55% 50% / auto 175% no-repeat;
  text-align: center;
}

.p-mv__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
}

.p-mv__catch {
  margin: 0;
  color: var(--color-primary);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.p-mv__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.p-mv__lead,
.p-mv__title,
.p-mv__text {
  margin: 0;
  text-shadow: 0 0 6px rgb(0 139 210 / 90%), 0 0 12px rgb(0 139 210 / 80%), 0 0 18px rgb(0 139 210);
}

.p-mv__lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.p-mv__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
}

.p-mv__text {
  margin-top: 40px;
  /* 小さい文字でも輪郭が出るよう、共通の光彩の内側に濃い青の影を重ねる */
  text-shadow:
    0 0 6px rgb(0 70 150 / 90%),
    0 0 12px rgb(0 139 210 / 80%),
    0 0 18px rgb(0 139 210);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.p-mv__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.p-mv__buttons .c-btn {
  min-width: 145px;
}

.p-mv__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transform: translateX(-50%);
}

.p-mv__scroll:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

.p-mv__scroll-arrow {
  display: block;
  animation: arrow-bob 1s ease-in-out infinite;
}

.p-mv__scroll-arrow .c-icon {
  width: 16px;
  height: 24px;
}

@keyframes arrow-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (min-width: 768px) {
  .p-mv {
    background-position: center bottom;
    background-size: cover;
  }

  .p-mv__catch {
    font-size: 28px;
  }

  .p-mv__heading {
    gap: 20px;
    margin-top: 56px;
  }

  .p-mv__lead {
    font-size: 26px;
  }

  .p-mv__title {
    font-size: 44px;
  }

  .p-mv__text {
    margin-top: 56px;
    font-size: 16px;
    font-weight: 500;
  }
}

@media (min-width: 1024px) {
  .p-mv {
    padding-bottom: 140px;
  }

  .p-mv__catch {
    font-size: 34px;
  }

  .p-mv__heading {
    gap: 24px;
    margin-top: 64px;
  }

  .p-mv__lead {
    font-size: 32px;
  }

  .p-mv__title {
    font-size: 60px;
    line-height: 1.1;
  }

  .p-mv__text {
    margin-top: 66px;
    font-size: 18px;
    line-height: 1.25;
  }

  .p-mv__buttons {
    margin-top: 32px;
  }

  .p-mv__buttons .c-btn {
    min-width: 172px;
  }

  .p-mv__scroll {
    bottom: 36px;
  }
}

/*-------------------------------------------
取引実績ロゴ
-------------------------------------------*/
.p-clients {
  padding: 96px var(--gutter) 0;
}

.p-clients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 42px;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
}

.p-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50%;
  height: 33px;
  padding-inline: 18px;
}

.p-clients__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .p-clients {
    padding-top: 82px;
  }

  .p-clients__list {
    row-gap: 39px;
    max-width: 752px;
  }

  .p-clients__item {
    flex-basis: 25%;
    height: 36px;
    padding-inline: 39px;
  }
}

/*-------------------------------------------
Service
-------------------------------------------*/
.p-service {
  padding-top: 108px;
}

.p-service__carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-service__swiper {
  flex: 1;
  min-width: 0;
}

.p-service__list {
  margin: 0;
  padding: 0;
}

.p-service__item {
  box-sizing: border-box;
  height: auto;
}

.p-service__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.p-service__thumb {
  width: 70px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #f2f2f2;
}

/* 人物の顔が入らないよう左寄りでトリミング */
.p-service__thumb--system img {
  object-position: 20% 50%;
}

/* 白背景のロゴ画像は背景との境界がわかるよう枠線を付ける */
.p-service__thumb--bordered {
  border: 1px solid var(--color-border);
}

.p-service__name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  word-break: keep-all;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.p-service__name-seg {
  display: inline-block;
  max-width: 100%;
}

@media (min-width: 768px) {
  .p-service__item {
    padding-inline: 4px;
  }

  .p-service__thumb {
    width: 120px;
  }

  .p-service__name {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .p-service {
    padding-top: 126px;
  }

  .p-service__carousel {
    gap: 45px;
    padding-inline: 40px;
  }

  .p-service__link {
    gap: 20px;
  }

  .p-service__thumb {
    width: 150px;
  }

  .p-service__name {
    max-width: 150px;
  }
}

/*-------------------------------------------
What's New
-------------------------------------------*/
.p-news__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.c-news-card__thumb {
  aspect-ratio: 16 / 9;
  background-color: var(--color-white);
}

.c-news-card__thumb--noimage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-news-card__thumb--noimage .c-logo {
  font-size: 12px;
}

.c-news-card__label {
  margin: 10px 0 0;
  color: var(--color-text-sub);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.c-news-card__title {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

/* 2行で省略する */
.c-news-card__title .c-hover-card__text {
  display: -webkit-inline-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-news__empty {
  text-align: center;
}

@media (min-width: 768px) {
  .p-news__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .c-news-card__label {
    font-size: 18px;
  }

  .c-news-card__title {
    min-height: 3em;
    margin-top: 11px;
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (min-width: 1024px) {
  .p-news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 39px;
  }

  .c-news-card__thumb--noimage .c-logo {
    font-size: 13px;
  }
}
