/**
 * 店舗一覧ページ専用スタイル
 * page-shoplist.php で使用
 */
:root {
  --accent: #625c8a;
}
html {
  font-size: 0.520833333vw;
}
body {
  background-color: #f7eaee;
}
.shoplist-container {
  width: 82%;
  margin: 0 auto;
  color: var(--accent);
}
/* =============================================================================
   page-title-section
================================================================================ */
.page-title-section {
  padding-top: 13.020833333333334vw;
  position: relative;
}
.page-title-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6vw;
  width: 46vw;
  aspect-ratio: 1 / 0.7382445141065831;
  background-image: url("../../assets/images/corporate/shoplist/hero.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-title {
  font-size: 5.9rem;
  color: var(--accent);
  text-align: center;
}
/* =============================================================================
   search-section
================================================================================ */
.search-section {
  margin-top: 6.2vw;
  padding: 6rem 12rem;
  background-color: #fff;
  border-radius: 3.8rem;
}
.search-section__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18.9rem;
}
.search-title {
  font-size: 2.4rem;
}
.search-section form {
  flex: 1;
}
.search-section select {
  border-radius: 1.6rem;
  border: 1px solid #707070;
  padding: 1.7rem 5.2rem;
  width: 100%;
  font-size: 2rem;
  color: var(--accent);
}
.search-section option {
  font-size: 2rem;
}
/* =============================================================================
   shop-list
============================================================================= */
.shop-list-section {
  margin: calc(12rem + 6.63rem) auto;
}
.shop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18.6rem 5.4rem;
}
.shop-card {
  position: relative;
  width: calc(50% - 5.4rem / 2);
  padding: 3.6rem 8.5rem;
  background-color: #fff;
  border-radius: 0 3.8rem 3.8rem;
}
.card-title {
  position: absolute;
  top: -6.63rem;
  left: 0;
  width: 60%;
  height: 6.63rem;
  border-radius: 3.8rem 3.8rem 0 0;
  background-color: #fff;
  padding: 3.3rem 0 9rem;
  font-size: 2.4rem;
  text-align: center;
  z-index: -1;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 4.8rem;
}
.card-head__img {
  width: 20.8rem;
}
.card-head__company {
  font-size: 1.6rem;
}
.card-head__name {
  font-size: 2.4rem;
}
.card__content {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.card__content__text-wrap {
  display: flex;
  gap: 4rem;
}
.card__content dt {
  font-size: 2.4rem;
  width: 10rem;
}
.card__content dd {
  font-size: 1.8rem;
}

@media screen and (max-width: 768px) {
  /* =============================================================================
   page-title-section
================================================================================ */
  .page-title-section {
    margin-top: 60px;
  }
  .page-title {
    font-size: 22px;
  }
  /* =============================================================================
   search-section
================================================================================ */
  .search-section {
    margin-top: 6.2vw;
    padding: 23.5px 27.5px;
    border-radius: 16px;
    max-width: 400px;
  }
  .search-section__inner {
    gap: 12px;
  }
  .search-title {
    font-size: 14px;
  }
  .search-section select {
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 12px;
  }
  .search-section option {
    font-size: 12px;
  }
  /* =============================================================================
   shop-list
============================================================================= */
  .shop-list-section {
    margin-top: 80px;
    max-width: 400px;
  }
  .shop-list {
    gap: 80px;
  }
  .shop-card {
    width: 100%;
    padding: 20px;
    border-radius: 0 16px 16px;
  }
  .card-title {
    top: -30px;
    width: 178px;
    height: 30px;
    border-radius: 16px 16px 0 0;
    padding: 10px 0 8px;
    font-size: 12px;
  }
  .card-head {
    gap: 20px;
  }
  .card-head__img {
    width: 108px;
  }
  .card-head__company {
    font-size: 12px;
  }
  .card-head__name {
    font-size: 14px;
  }
  .card__content {
    margin-top: 24px;
    gap: 10px;
  }
  .card__content__text-wrap {
    gap: 8px;
  }
  .card__content dt {
    font-size: 12px;
    width: 48px;
  }
  .card__content dd {
    font-size: 12px;
    flex: 1;
  }
}
