.toppage {
  padding: 32px 0 48px 0;
  display: flex;
  flex-direction: column;
  gap: 96px 0;
}
@media screen and (max-width: 767px) {
  .toppage {
    padding: 0 0 48px;
    gap: 56px 0;
  }
}

.toppage_image {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  padding: 0 42px;
}
@media screen and (max-width: 800px) {
  .toppage_image {
    gap: 24px 0;
    padding: 0 16px;
  }
}

@media screen and (min-width: 700px) {
  .toppage_image {
    background-color: rgba(255, 255, 255, 0.5);
  }
}
.toppage_fund-title-bg {
  background-color: rgba(255, 255, 255, 0.5);
  padding-bottom: 24px;
}

/* top image */
.image-container {
  display: grid;
  gap: 3px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}
.image-container div img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.image-container div:nth-child(1) {
  grid-row: 1/3;
  grid-column: 1/3;
}
@media screen and (max-width: 800px) {
  .image-container div:nth-child(2) {
    grid-row: 3;
    grid-column: 1;
  }
  .image-container div:nth-child(3) {
    grid-row: 3;
    grid-column: 2;
  }
  /* .image-container div:nth-child(4),
  .image-container div:nth-child(5) {
    display: none;
  } */
}
@media screen and (max-width: 767px) {
  .image-container div:nth-child(4),
  .image-container div:nth-child(5) {
    display: none;
  }
}
@media screen and (min-width: 801px) {
  .image-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .image-container div:nth-child(1) {
    grid-row: 1/3;
    grid-column: 1/3;
  }
}

/* toppage_description */
.toppage_description_inner {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .toppage_description_inner {
    padding: 8px 16px;
    display: grid;
    place-content: center;
    grid-template-columns: 48% 48%;
    gap: 0 48px;
    background: #fff;
  }
}

@media screen and (min-width: 800px) {
  .toppage_description_inner {
    grid-template-columns: 48% 48%;
  }
}

.toppage_description_inner div {
  border-top: 1px solid #8f8f8f;
}

.toppage_description_inner div a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
.toppage_description_inner div a img {
  padding-right: 8px;
}

.toppage_description_inner p {
  overflow: hidden;
  color: var(--Alias-Token-Text-Neutral-0, #333);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin: 0;
  padding: 16px 8px 16px 0;
}
@media screen and (min-width: 941px) {
  .toppage_description_inner p {
    padding: 16px 8px;
  }
}
.toppage_description_inner div:nth-child(1) {
  border: none;
}

@media screen and (min-width: 768px) {
  .toppage_description_inner div:nth-child(2) {
    border: none;
  }
}

@media screen and (max-width: 767px) {
  .toppage_description_inner div:nth-child(4),
  .toppage_description_inner div:nth-child(5),
  .toppage_description_inner div:nth-child(6) {
    display: none;
  }
}

.title_white_border {
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px 0;
  padding: 0 8px;
}
@media screen and (min-width: 768px) {
  .title_white_border {
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    padding: 48px 0;
    background-color: rgba(0, 0, 0, 0.08);
    gap: 48px 0;
  }
}

/* ファンド */
.top-fund {
  display: flex;
  justify-content: center;
  padding: 0 42px;
}
@media screen and (max-width: 767px) {
  .top-fund {
    flex-direction: column;
    gap: 58px 0;
    padding: 0 8px;
  }
}

/* ファンド一覧 */
.top_fund_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 7px;
  width: 359px;
}

@media screen and (min-width: 768px) {
  .top_fund_list {
    width: 300px;
    gap: 16px 0;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1350px) {
  .top_fund_list {
    width: 616px;
    gap: 16px;
  }
}

@media screen and (min-width: 2000px) {
  .top_fund_list {
    width: 932px;
    gap: 16px;
  }
}

/* 募集中・募集前ファンド一覧 */
.toppage_offering_fund,
.toppage__before_offering_fund {
  width: 50%;
}

@media screen and (max-width: 767px) {
  .toppage_offering_fund,
  .toppage__before_offering_fund {
    width: 100%;
  }
}

.toppage_offering_fund,
.toppage__before_offering_fund {
  display: flex;
  flex-direction: column;
  gap: 48px 0;
}

.toppage_offering_fund_list,
.toppage_before_offering_fund_list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  gap: 32px 0;
}

@media screen and (max-width: 767px) {
  .toppage_offering_fund,
  .toppage__before_offering_fund {
    gap: 24px 0;
  }

  .toppage_offering_fund_list,
  .toppage_before_offering_fund_list {
    gap: 24px 0;
  }
}

/* ファンド・事業者カード */
.list_card {
  width: 176px;
}

.list_card a {
  text-decoration: none;
  color: #333;
}

@media screen and (min-width: 768px) {
  .list_card {
    width: 300px;
  }
}

.fund_card {
  justify-content: center;
}

/* tenant */
.toppage_tenant_of_interest .toppage_slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px 0;
}
@media screen and (max-width: 940px) {
  .toppage_tenant_of_interest .toppage_slider {
    gap: 24px 0;
  }
}
.toppage_slider_headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  text-align: center;
}
.toppage_slider_inner {
  display: none;
}
.toppage_sp_tenant {
  display: flex;
  /* justify-content: center; */
  flex-wrap: wrap;
  gap: 12px 7px;
  margin: 0 auto;
  width: 359px;
}

@media screen and (min-width: 768px) {
  .toppage_slider_inner {
    display: block;
  }
  .toppage_sp_tenant {
    display: none !important;
  }
}

.toppage-review {
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 1420px) {
  .toppage-review {
    flex-wrap: wrap;
    gap: 24px;
    width: 710px;
  }

  .toppage_new_review {
    align-items: center;
    gap: 48px 0;
  }
}

@media screen and (max-width: 768px) {
  .toppage-review {
    width: 350px;
  }
}

@media screen and (min-width: 700px) and (max-width: 1024px) {
  .toppage_slider_inner {
    width: 100%;
    margin: auto;
  }
}

.toppage_slider_headline:before,
.toppage_slider_headline:after {
  content: '';
  width: 70px;
  border-top: 1px solid;
}

.toppage_slider_headline:before {
  margin-right: 1em;
}

.toppage_slider_headline:after {
  margin-left: 1em;
}

/* 口コミ */
.toppage_new_review {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px 0;
  padding: 0;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .toppage_new_review {
    background-color: rgba(0, 0, 0, 0.08);
    padding: 48px 0;
    margin: 0 0 -48px 0;
  }
}

.toppage_new_review .toppage_slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px 0;
}

@media screen and (max-width: 940px) {
  .toppage_new_review,
  .toppage_new_review .toppage_slider {
    gap: 24px 0;
  }
}

@media screen and (max-width: 768px) {
  .toppage_slide_card_area.review_card {
    width: 343px;
  }
}

/* スライダー関連 */
.toppage_slide_card_area {
  width: 343px;
  margin: 0;
}
/* @media screen and (min-width: 700px) {
  .toppage_slide_card_area {
    margin: 0 auto 50px;
  }
} */

.toppage_slider_container {
  position: relative;
  width: 100%;
}

@media screen and (min-width: 1200px) {
  .toppage_slider_container {
    width: 1200px;
    margin: 15px calc(50% - 600px) 17px;
  }
}

.toppage_slider_image {
  width: 50%;
  max-width: 50%;
  aspect-ratio: 16/9;
}

.toppage_slide_card_title {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 15px;
  font-size: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (min-width: 700px) {
  .toppage_slide_card_title {
    font-size: 20px;
  }
}

.toppage_slide_card {
  display: block;
  position: relative;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  background-color: var(--color-white);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: inherit;
  text-decoration: none;
}

@media screen and (min-width: 700px) {
  .toppage_slide_card {
    width: 100%;
  }
}

.swiper-slide {
  transform: scale(0.9);
}

.swiper-slide-active {
  opacity: 1; /* 中央のスライドは薄くしない */
  transform: scale(0.9);
  z-index: 1; /* 中央のスライドを一番上にする */
}

.list_card_flex_area_item:first-child {
  border-right: 1px solid #646464;
}

.toppage_slider_container .swiper-button-prev,
.toppage_slider_container .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  outline: none;
}

.toppage_slider_container .swiper-button-prev {
  left: 5px;
}

.toppage_slider_container .swiper-button-next {
  right: 5px;
}

@media screen and (min-width: 700px) and (max-width: 1024px) {
  .toppage_slider_container .swiper-button-prev {
    left: -40px;
  }

  .toppage_slider_container .swiper-button-next {
    right: -40px;
  }
}

.toppage_slider_container .swiper-button-prev img,
.toppage_slider_container .swiper-button-next img {
  width: 10px;
}

@media screen and (min-width: 700px) {
  .toppage_slider_container .swiper-button-prev img,
  .toppage_slider_container .swiper-button-next img {
    width: 15px;
    object-fit: contain;
  }
}

.toppage_slider_container .swiper-button-prev:after,
.toppage_slider_container .swiper-button-next:after {
  content: '';
  display: none;
}

.toppage_slider_container .swiper-pagination-bullet {
  width: 35px;
  height: 3px;
  border-radius: 0;
  outline: none;
}

.toppage_slider_container .swiper-pagination-bullet-active {
  background: #dcd081;
}

/* 新着のクチコミ */
.toppage .evaluation_star {
  width: 16px;
  height: auto;
}

@media screen and (min-width: 768px) {
  .toppage .review-card-content {
    min-height: 190px;
  }
  .toppage .review-card-content.unregistered {
    min-height: 71px;
  }
}
/* クチコミ */
.toppage-review-contents {
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
  background: rgba(0, 0, 0, 0.08);
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 48px 0;
}

.toppage-review-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.toppage-review-item {
  width: 350px;
  background: var(--Global-Token-Gold-40, #fffaed);
}

/* 注目の事業者 */
.toppage-contents {
  display: flex;
  flex-direction: column;
  gap: 48px 0;
}

.toppage-contents-tenant-list {
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 1280px) {
  .toppage-contents {
    align-items: center;
  }

  .toppage-contents-tenant-list {
    flex-wrap: wrap;
    gap: 48px;
    width: 648px;
  }
}

@media screen and (max-width: 768px) {
  .toppage-contents-tenant-list {
    gap: 12px 7px;
    width: 359px;
  }
}
