/* =============================
  出展社一覧 ページ固有スタイル
============================= */

body.exhibitor-list-page {
  background: #fff;
}

.exhibitor-list > div {
  max-width: 100%;
}

.exhibitor-list-page main {
  padding-bottom: 0;
}

.exhibitor-list-page .wrap {
  background: #fff5f5;
  padding-bottom: 130px;
}

/* コンテンツラッパー */
.exhibitor-list-page .content-box {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

/* ページタイトル */
.exhibitor-list-page .page-title-bar {
  background: #b32222;
  padding: 28px 32px 22px;
  margin-bottom: 50px;
}
.exhibitor-list-page .page-title-bar h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 4px;
}
.exhibitor-list-page .page-title-bar .en {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0;
}

/* 出展社一覧コンテナ */
.exhibitor-list-wrap {
  margin: 0 auto;
  padding: 0 0 30px;
}

/* 出展社カード */
.exhibitor-card {
  border-radius: 4px;
  margin-bottom: 60px;
  overflow: hidden;
  background: #fff;
}
.exhibitor-card:last-child {
  margin-bottom: 0;
}


/* カードヘッダー（会社名バー） */
.exhibitor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8e8e8;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}

.exhibitor-company-name {
  font-size: 20px;
  margin-bottom: 0;
}

.exhibitor-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.exhibitor-booth {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}
.exhibitor-icon {
  position: relative;
  padding-left: 19px;
  &::before {
      position: absolute;
      top: 4px;
      left: 0;
      width: 13px;
      height: 20px;
      content: "";
      background-image: url(../img/icon-map.png);
      background-repeat: no-repeat;
      background-size: contain;
      background-position: 0 0;
  }
}


.exhibitor-list-page .btn-detail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #555;
  background: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.exhibitor-list-page .btn-detail .arrow {
  position: relative;
  display: inline-block;
  width: 10.9px;
  height: 5.9px;
  transition: transform 0.4s ease;
}

.exhibitor-list-page .btn-detail .arrow::before,
.exhibitor-list-page .btn-detail .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  height: 8px;
  border-radius: 9999px;
  background-color: #000000;
  transform-origin: 50% calc(100% - 0.5px);
}

.exhibitor-list-page .btn-detail .arrow::before {
  transform: rotate(45deg);
}

.exhibitor-list-page .btn-detail .arrow::after {
  transform: rotate(-45deg);
}

.exhibitor-card.is-open .btn-detail .arrow {
  transform: rotate(180deg);
}
.exhibitor-card.is-open .product-detail-info {
  margin-bottom: 30px;
}

/* カード本体（常時表示部分） */
.exhibitor-card-body {
  padding: 20px 0 0;
}

/* カテゴリタグ */
.exhibitor-list-page .category-header {
  margin-bottom: 6px;
}
.exhibitor-list-page .category-head {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
}
.exhibitor-list-page .category-head::before {
  content: '●';
  color: #b32222;
  font-size: 14px;
  margin-right: 6px;
}
.exhibitor-list-page .category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}
.exhibitor-list-page .category-tag {
  background: #f7dbdb;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
}

/* 製品リスト（サマリー） */
.exhibitor-list-page .product-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.exhibitor-list-page .product-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.exhibitor-list-page .product-detail-head {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.exhibitor-list-page .product-detail-head::before {
  content: '●';
  color: #b32222;
  font-size: 14px;
  margin-right: 6px;
}
/* 会社ロゴ */
.exhibitor-list-page .company-logo {
  flex-shrink: 0;
  width: 230px;
  padding: 0 10px;
}
.exhibitor-list-page .company-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 詳細エリア（アコーディオン） */
.exhibitor-detail {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

/* 製品詳細ブロック */
.exhibitor-list-page .product-detail-block {
  margin-bottom: 32px;
}
.exhibitor-list-page .product-detail-block:last-child {
  margin-bottom: 0;
}

.exhibitor-list-page .product-detail-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.exhibitor-list-page .product-detail-name::before {
  content: '●';
  color: #8b1a1a;
  font-size: 0.7rem;
}

.exhibitor-list-page .product-detail-info {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.exhibitor-list-page .product-detail-desc {
  line-height: 1.7;
  margin-bottom: 12px;
}

.exhibitor-list-page .product-images {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  width: 90%;
  justify-content: flex-start;
}
.exhibitor-list-page .product-images img,
.exhibitor-list-page .product-images .product-movie {
  flex: 0 0 calc(50% - 15px);
  width: calc(50% - 15px);
  min-width: 0;
  aspect-ratio: 16 / 9;
  display: block;
}
.exhibitor-list-page .product-images img {
  object-fit: cover;
  height: auto;
}
.exhibitor-list-page .product-images .product-movie iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* 自治体情報 */
.exhibitor-list-page .muni-item {
  margin-bottom: 30px;
}
.exhibitor-list-page .muni-value {
  line-height: 1.7;
}

/* SPサイト */
@media only screen and (max-width: 880px) {
  .exhibitor-list-page .wrap {
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .exhibitor-list {
    padding: 0;
  }
  .exhibitor-list-page .content-box {
    max-width: calc(100% - 30px);
    padding: 15px;
  }
  .exhibitor-list-wrap {
    padding-bottom: 0;
  }
  .exhibitor-list-page .page-title-bar {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  .exhibitor-list-page .page-title-bar h1 {
      font-size: 1.3rem;
  }
  .exhibitor-card:last-child {
    margin-bottom: 0;
  }
  .exhibitor-card {
    margin-bottom: 30px;
  }
  .exhibitor-card-header {
    flex-direction: column;
    align-items: start;
  }
  .exhibitor-icon {
    padding-left: 15px;
    &::before {
      top: 3px;
      width: 11px;
      height: 16px;
    }
  }
  .exhibitor-company-name {
    font-size: 18px;
  }
  .exhibitor-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .exhibitor-booth {
    font-size: 12px;
  }
  .exhibitor-list-page .btn-detail {
    padding: 6px 12px;
    font-size: 12px;
  }
  .exhibitor-list-page .btn-detail .arrow {
    width: 8px;
    height: 4px;
  }
  .exhibitor-list-page .btn-detail .arrow::before,
  .exhibitor-list-page .btn-detail .arrow::after {
    width: 1px;
    height: 6px;
    bottom: -1px;
  }
  .exhibitor-list-page .category-tag {
    padding: 1px 10px;
  }
  .exhibitor-list-page .product-summary {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .exhibitor-list-page .company-logo {
    margin: 0 auto;
    width: 80%;
  }
  .exhibitor-list-page .product-images {
    flex-direction: column;
    width: 100%;
  }
  .exhibitor-list-page .product-images img, .exhibitor-list-page .product-images .product-movie {
    width: 100%;
  }
}