/* トップ共通 */
.c-top-title {
  font-family: 'Lato', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  line-height: calc(39 / 32);
  color: #2D4C8C;
  text-transform: uppercase;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .c-top-title {
    font-size: 2.8125rem;
    line-height: calc(54 / 45);
  }
}

/* トップビジュアル */
.p-top-fv {
  padding-block: 1.375rem;
  background: url("../images/top/img-top-fv-bg.jpg") no-repeat center/cover;
}

.p-top-fv .swiper-slide picture {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 375 / 287;
  object-fit: contain;
  background-color: #fff;
  overflow: hidden;
}

.p-top-fv .swiper-pagination {
  position: static;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.p-top-fv .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #A2ADB3;
  border-radius: 100vh;
  opacity: 1;
}

.p-top-fv .swiper-pagination-bullet-active {
  background-color: #68AED4;
  transform: scale(1);
}

@media screen and (min-width: 768px) {
  .p-top-fv {
    padding-block: 3.75rem 2rem;
  }

  .p-top-fv .swiper-slide picture {
    border-radius: 0.7rem;
    aspect-ratio: 992 / 508;
    box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);
  }

  .p-top-fv .swiper-pagination {
    margin-top: 1.25rem;
    gap: 1.125rem;
  }
}

/* セクション2 */
.p-top-sec2 {
  margin-top: 2rem;
}

.p-top-sec2__inner {
  padding-inline: 3.5rem;
  max-width: 500px;
}

.p-top-sec2__title {
  margin-inline: -1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: calc(45 / 24);
  color: #707070;
  text-align: center;
}

.p-top-sec2__content {
  margin-top: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 1.5625rem;
}

.p-top-sec2__text {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: calc(24 / 12);
  text-align: center;
}

.p-top-sec2__btn-wrap {
  margin-top: 0.875rem;
}

.p-top-sec2__btn {
  display: inline-block;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  border: 1px solid #000;
  border-radius: 100vh;
  background-color: #fff;
  transition: all 0.3s;
}

.p-top-sec2__btn:hover {
  background-color: #000;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .p-top-sec2 {
    margin-top: 6.75rem;
  }

  .p-top-sec2__inner {
    padding-inline: 1.5625rem;
    max-width: 900px;
  }

  .p-top-sec2__title {
    font-size: 2.8125rem;
    line-height: 1;
  }

  .p-top-sec2__content {
    margin-top: 6rem;
    flex-direction: row;
    gap: 0.625rem;
  }

  .p-top-sec2__text-area {
    width: 52%;
    flex-shrink: 0;
  }

  .p-top-sec2__text {
    font-size: 1.3125rem;
    line-height: calc(45 / 21);
    text-align: start;
  }

  .p-top-sec2__btn-wrap {
    margin-top: 1.5rem;
    width: 60%;
  }
}

/* セクション3 */
.p-top-sec3 {
  margin-top: 1.125rem;
}

.p-top-sec3__inner {
  width: 100%;
  max-width: 500px;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .p-top-sec3 {
    margin-top: 2.625rem;
  }

  .p-top-sec3__inner {
    max-width: 1200px;
  }
}

/* Index */
.p-top-company {
  margin-top: 3rem;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
  background-color: #F8F8F8;
}

.p-top-company__index {
  margin-top: 3rem;
  max-width: 500px;
  margin-inline: auto;
}

.p-top-company__index-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.p-top-company__index-item {
  width: calc((100% - 1.5rem) / 4);
  text-align: center;
  transition: all 0.3s;
}

.p-top-company__index-item:hover {
  opacity: .7;
  cursor: pointer;
}

.p-top-company__index-item-label {
  margin-top: 0.375rem;
  display: inline-block;
  font-size: 0.6em;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.3;
  vertical-align: top;
}

.p-top-company__list {
  margin-top: 3.125rem;
}

.p-top-company__list-empty {
  font-size: 1rem;
  text-align: center;
  display: none;
}

.p-top-company__list.is-empty .p-top-company__list-empty {
  display: block;
}

.p-top-company__list.is-empty .p-top-company-list {
  display: none;
}

.p-top-company-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.37rem;
}

.p-top-company-list__item {
  transition: all 0.3s;
}

.p-top-company-list__item:hover {
  opacity: .7;
  cursor: pointer;
}

.p-top-company-list__img {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 170;
  object-fit: cover;
  border-radius: 0.5rem;
  overflow: hidden;
}

.p-top-company-list__text {
  margin-top: 0.5rem;
}

.p-top-company-list__name {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: calc(32 / 18);
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-top-company {
    margin-top: 4.5rem;
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .p-top-company__index {
    margin-top: 5.25rem;
    max-width: unset;
  }

  .p-top-company__index-list {
    max-width: 600px;
    margin-inline: auto;
    gap: 0.625rem 1rem;
  }

  .p-top-company__index-item {
    width: calc((100% - 4rem) / 5);
  }

  .p-top-company__index-item img {
    width: 100%;
  }

  .p-top-company__index-item-label {
    font-size: 0.8rem;
  }

  .p-top-company-list {
    margin-top: 4.75rem;
    gap: 1.5rem 1rem;
    justify-content: flex-start;
  }

  .p-top-company-list__item {
    width: calc((100% - 2rem) / 3);
  }
}

/* Special Contents */
.p-top-special {
  margin-top: 5rem;
}

.p-top-special__content {
  margin-top: 2.625rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.875rem;
}

.p-top-special__item {
  min-width: 18.75rem;
}

.p-top-special__item picture * {
  width: 100%;
  height: auto;
  aspect-ratio: 328 / 136;
  object-fit: cover;
  max-width: unset;
}


@media screen and (min-width: 480px) {
  .p-top-special__item {
    min-width: unset;
    width: calc((100% - 0.875rem) / 2);
  }
}

@media screen and (min-width: 768px) {
  .p-top-special {
    margin-top: 8.75rem;
  }
}

/* ニュース & トピックス */
.p-top-news {
  margin-top: 3.75rem;
}

.p-top-news__list {
  margin-top: 3.375rem;
  max-width: 500px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-wrap: wrap;
}

.p-top-news__link {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}

.p-top-news__date {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #FF3B00;
  line-height: calc(24 / 16);
}

.p-top-news__text {
  margin-top: 0.375rem;
  font-size: 0.875rem;;
  font-weight: 500;
  color: #383838;
  line-height: calc(24 / 14);
  /* 3行までの表示 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-top-news__image-area img {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 185;
  object-fit: cover;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #B2B2B2;
}

.p-top-news__btn-wrap {
  margin-top: 4.75rem;
  max-width: 300px;
  margin-inline: auto;
}

.p-top-news__btn {
  display: inline-block;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  border: 1px solid #000;
  border-radius: 100vh;
  background-color: #fff;
  transition: all 0.3s;
}

.p-top-news__btn:hover {
  background-color: #000;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .p-top-news {
    margin-top: 4.75rem;
  }

  .p-top-news__list {
    margin-top: 2.5rem;
    max-width: unset;
    flex-direction: row;
    gap: 1rem;
  }

  .p-top-news__item {
    width: calc((100% - 2rem) / 3);
  }

  .p-top-news__btn-wrap {
    margin-top: 5rem;
    max-width: 270px;
  }
}

/* TikTok */
.p-top-tiktok {
  margin-top: 3.5rem;
  padding-bottom: 2.875rem;
}

.p-top-tiktok__inner {

}

@media screen and (min-width: 768px) {
  .p-top-tiktok {
    margin-top: 3.75rem;
    padding-bottom: 5.875rem;
  }

  .p-top-tiktok__inner {
    max-width: 41rem;
    margin-right: auto;
  }
}