@charset "UTF-8";

/* カラー変数 */
:root {
  --primary-color: #233BB5;
  --ad-primary-color: #0b1a72;
  --ma-primary-color: #216fb8;
  --base-color: #4f4e4e;
  --accent-color: #FCA005;

  --primary-color-2: #8f99ca;
}

/* ヒーロー */
.hero {
  background-image: url(img/hero-bg_sp.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height:100%;
}

.hero_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 600px;
  padding: 180px 0 64px;
  max-width: 1000px;
  margin: auto;
}

.hero__title {
  width: 340px;
}

.hero__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 24px 16px;
  background-image: url(img/hero-layer.png);
}

.hero__text {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.hero__button {
  width: 100%;
  max-width: 400px;
}

/* セクションタイトル */
.title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 28px;
  text-align: center;
}

.title span {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-color-2);
}

/* 前説 */
.introduction {
  color: var(--base-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.2px;
}

/* 「サービス」セクション */
.serviceCards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.serviceCard {
  background-color: #fff;
}

.serviceCard--ad h3 {
  color: var(--ad-primary-color);
}

.serviceCard--ma h3 {
  color: var(--ma-primary-color);
}

.serviceContents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
  flex-grow: 1;
}

.serviceContents__wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--base-color);
  width: 100%;
}

.serviceContents img {
  width: 140px;
}

.serviceContents__action {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* 「お客様の声」セクション */
.customerCards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.customerCard--ad {
  background-color: #fff;
  border: 2px solid var(--ad-primary-color);
}

.customerCard--ma {
  background-color: #fff;
  border: 2px solid var(--ma-primary-color);
}

.customerContents {
  display: flex;
  flex-direction: column;
}

.customerCard--ad label {
  background-color: var(--ad-primary-color);
}

.customerCard--ma label {
  background-color: var(--ma-primary-color);
}

.customerContents__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--base-color);
  width: 100%;
  line-height: 1.6;
}

.customerContents__body img {
  width: 140px;
}

/* 「フォーム」セクション */
.form__title,
.policy__link {
  color: var(--primary-color);
}

.form__label--must,
.form__button {
  background-color: var(--primary-color);
}

@media (min-width: 768px) {
  /* ヒーロー */
  .hero {
    background-image: url(img/hero-bg_pc.jpg);
  }

  .hero_wrapper {
    padding: 180px 0 74px;
  }

  .hero__title {
    width: 480px;
  }

  .hero__action {
    flex-direction: row;
    flex-wrap: wrap;
    background-image: unset;
    padding: 0;
    max-width: 640px;
  }
  
  .hero__text {
    font-size: 20px;
  }

  .hero__button {
    width: calc((100% - 24px)/2);
  }

  /* タイトル */
  .title {
    font-size: 32px;
  }
  
  .title span {
    font-size: 18px;
  }

  /* 前説 */
  .introduction {
    font-size: 16px;
    text-align: center;
  }

  /* 「サービス」セクション */
  .serviceCards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .serviceCard {
    width: calc((100% - 16px)/2);
  }

  .serviceContents__wrapper {
    font-size: 16px;
  }

  .serviceContents__wrapper img {
    width: 180px;
  }

  /* 「お客様の声」セクション */
  .customerCards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .customerCard {
    width: calc((100% - 16px)/2);
  }

  .customerContents__body {
    font-size: 16px;
  }

  .customerContents__body img {
    width: 160px;
  }
}