/*==================================================
    ページ共通
==================================================*/
.title-h2 {
  font-size: 2.6rem;
  font-weight: 700;
  padding-left: 2.6rem;
  position: relative;
  line-height: 1;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid #000;
}

.title-h2::before {
  content: "";
  background-color: var(--color-orange);
  width: 1.3rem;
  height: 1.3rem;
  position: absolute;
  left: 0;
  top: 0.7rem;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  .title-h2 {
    font-size: 4.8vw;
    padding-bottom: 4.2667vw;
    padding-left: 3.2vw;
    line-height: 1.2;
  }

  .title-h2::before {
    width: 2.1333vw;
    height: 2.1333vw;
    top: 1.2vw;
  }
}

/*==================================================
    フッター
==================================================*/
.footer__expg_banner {
  display: none !important;
}

/*==================================================
    パンくず
==================================================*/
.breadcrumb {
  padding: 2.8rem 0;
}

/*==================================================
    メインビジュアル
==================================================*/
#expgHead__logo {
  width: 19.444vw;
  height: 22.22vw;
  margin: 3.89vw auto 0;

  @media screen and (max-width: 767px) {
    width: 38.33vw;
    height: 44.667vw;
    margin: 18.933vw auto 0;
  }
}

#expgHead {
  padding: 6.7rem 0 11rem;

  h1 {
    color: var(--color-orange);
    font-size: 8.3rem;
    position: relative;
    width: fit-content;
    line-height: 1;
    font-family: "Rowdies", sans-serif;
    margin: 0 auto;
  }

  h1::before {
    content: "";
    background-color: #fae500;
    width: 2.64rem;
    height: 0.72rem;
    position: absolute;
    right: 0;
    top: -1.4rem;
    border-radius: 3.6px;
  }

  .head__text {
    font-weight: 700;
  }

  .head__text-expg {
    font-size: 2.6rem;
    margin-top: 2.2rem;
    font-weight: 700;
    text-align: center;
  }

  @media screen and (max-width: 767px) {
    padding: 8.86vw 0 0 0;

    .head__titles {
      width: fit-content;
      margin: 0 auto;
    }

    h1 {
      line-height: 1.2;
      font-size: 10.667vw;
      text-align: center;
    }

    h1::before {
      right: auto;
      left: 62%;
      transform: translateX(-50%);
      width: 4.5vw;
      height: 1.3vw;
      top: 0;
    }

    .head__text-expg {
      font-size: 4.533vw;
      margin-top: 2.8667vw;
      line-height: 1.4;
    }
  }
}

.fv__image {
  @media screen and (max-width: 767px) {
    margin-top: 9.0667vw;
    display: block;
  }
}

/*==================================================
    コンテンツ
==================================================*/
#expgDetail {
  padding-bottom: 13rem;

  .inner {
    width: 1100px;
  }

  .contents__text {
    text-align: center;
    padding-top: 6.4rem;
    line-height: 1.9;
    font-size: 2rem;
  }

  .contents__cards {
    padding-top: 9.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
  }

  .card {
    padding: 4rem 5rem;
    background-color: #000;
    color: #fff;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
  }

  .card picture {
    flex-grow: 1;
    display: flex;
    align-items: center;
  }

  .card img {
    width: 18rem;
    margin: 0 auto;
    display: block;
  }

  .card:nth-of-type(2) img {
    margin-top: 5rem;
  }

  .card__title {
    font-size: 3rem;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
  }

  .card__text {
    font-size: 1.8rem;
    margin-top: 2rem;
    font-weight: 400;
  }

  .cardCenter {
    width: 36rem;
    height: 36rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 4rem;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
  }

  .cardCenter img {
    width: 12rem;
  }

  @media screen and (max-width: 767px) {
    padding-bottom: 17vw;

    .contents__text {
      font-size: 4.2667vw;
      line-height: 2;
      margin-right: 3.667vw;
      margin-left: 3.667vw;
      text-align: left;
      padding-top: 11vw;
    }

    .contents__cards {
      padding-top: 15vw;
      gap: 4vw 2.22vw;
    }

    .card {
      padding: 13.33vw 4.4vw 0 4.4vw;
      min-height: 94.667vw;
      border-radius: 4vw;
    }

    .card picture {
      align-items: flex-start;
            flex-grow: unset;
    }

    .card:nth-of-type(3) picture,
    .card:nth-of-type(4) picture {
      margin-top: 5vw;
    }

    .card img {
      width: 23.0667vw;
    }

    .card:nth-of-type(1) img {
      margin-top:  1.0667vw;
    }

    .card:nth-of-type(2) img {
      margin-top: 5.533vw;
      width: 23.8667vw;
    }

    .card:nth-of-type(3) img {
      margin-bottom: 5.8667vw;
      width: 22.667vw;
    }

    .card:nth-of-type(4) img {
      margin-bottom: 3.8667vw;
      width: 21.86667vw;
    }

    .card__title {
      font-size: 4.533vw;
      line-height: 1.147;
    }

    .card__text {
      font-size: 3.2vw;
      margin-top: 3.333vw;
      line-height: 1.41667;
    }

    .cardCenter {
      width: 47.8667vw;
      height: 47.8667vw;
            margin-top: 7vw;
    }

    .cardCenter img {
      width: 16.533vw;
    }
  }
}