@charset "UTF-8";

/* ========== イベントページ専用スタイル ========== */

/* メインコンテンツラッパー */
.bp-wrap {
  background: #ffffff;
  padding: 40px 30px 60px;
}

/* ---- イベントメイン ---- */
.bp-event-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.bp-event-poster {
  flex: 0 0 auto;
  width: 310px;
}

.bp-event-poster img {
  width: 100%;
  display: block;
}

.bp-event-info {
  flex: 1;
  text-align: left;
}

.bp-event-info .bp-subtitle {
  font-size: 20px;
  font-weight: bold;
  font-family: serif;
  color: #333;
  margin-bottom: 4px;
}

.bp-event-info h2 {
  font-size: 32px;
  font-weight: bold;
  font-family: serif;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.3;
}

.bp-event-info .bp-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 開催情報グリッド */
.bp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.bp-info-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px 16px;
}

.bp-info-card .bp-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.bp-info-card .bp-info-label .bp-icon {
  width: 16px;
  height: 16px;
  background: #8B7355;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-info-card .bp-info-label .bp-icon svg {
  width: 10px;
  height: 10px;
  fill: #fff;
}

.bp-info-card .bp-info-value {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  line-height: 1.5;
}

/* ボタンエリア */
.bp-buttons {
  display: flex;
  gap: 12px;
}

.bp-btn {
  display: flex;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  background: #fafafa;
  transition: background 0.2s;
  flex: 1;
}

.bp-btn:hover {
  background: #f0f0f0;
  text-decoration: none;
  color: #333;
}

.bp-btn .bp-btn-qr {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-btn .bp-btn-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 画像全体を収める */
  display: block;
}

.bp-btn .bp-btn-text .bp-btn-title {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 2px;
  color: #c8973a;
}

.bp-btn .bp-btn-text .bp-btn-sub {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

/* ---- セクション共通 ---- */
.bp-section {
  margin-bottom: 40px;
}

.bp-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}

.bp-section-title::before {
  content: "✦";
  color: #c8973a;
  font-size: 14px;
}

/* ---- 会場の様子 ---- */
.bp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bp-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* ---- 出品予定 ---- */

/* 出品品目グリッド */
.bp-items-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.bp-item-cell {
  text-align: center;
}

.bp-item-cell img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.bp-item-cell .bp-item-name {
  font-size: 10px;
  color: #555;
  margin-top: 4px;
  line-height: 1.3;
}

.bp-items-note {
  font-size: 12px;
  color: #666;
  text-align: left;
  margin-top: 4px;
}

/* ---- お支払いについて ---- */
.bp-payment-box {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

img.payment {
  width: 100%;
}

.bp-pay-col {
  flex: 1;
  padding: 14px 16px;
}



/* ---- アクセス ---- */
.bp-access {
  display: flex;
  gap: 32px;
  align-items: center;
}

.bp-access-left {
  flex: 1;
  text-align: left;
}

.bp-access-left h3 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.bp-access-left .bp-access-address {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bp-access-map {
  height: 300px;
  overflow: hidden;
  margin-bottom: 12px;
}

.bp-access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.bp-shiinoki-btn {
  display: inline-block;
  background: #d9a23a;
  color: #fff;
  font-size: 12px;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
}

.bp-shiinoki-btn:hover {
  background: #4a6a60;
  color: #fff;
  text-decoration: none;
}

.bp-access-center {
  flex: 1;
  text-align: left;
}

.bp-access-by {
  margin-bottom: 14px;
}

.bp-access-by h4 {
  font-size: 13px;
  font-weight: bold;
  color: #8B7355;
  margin-bottom: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid #e0d5c5;
}

.bp-access-by p {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
  padding: 5px;
}


.bp-access-right img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .bp-wrap {
    padding: 20px 15px 40px;
  }

  .bp-event-main {
    flex-direction: column;
    gap: 20px;
  }

  .bp-event-poster {
    width: 100%;
  }

  .bp-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bp-buttons {
    flex-direction: column;
  }

  .bp-btn {
    align-items: center;
  }

  .bp-gallery {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bp-gallery img {
    height: 200px;
  }

  .bp-payment-box {
    flex-direction: column;
  }

  .bp-pay-divider {
    width: auto;
    height: 1px;
    background: repeating-linear-gradient(to right,
        #ccc 0,
        #ccc 4px,
        transparent 4px,
        transparent 8px);
    margin: 0 12px;
  }

  .bp-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bp-access {
    flex-direction: column;
  }

  .bp-access-map {
    width: 100%;
  }

  .bp-access-right img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 414px) {
  .bp-event-info h2 {
    font-size: 22px;
  }

  .bp-info-grid {
    grid-template-columns: 1fr;
  }

  .bp-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}