@charset "utf-8";

/* ==========================================
   【LP専用スコープ】他のページへ影響を与えないためのラッパー
   ========================================== */
.exhibition-lp-wrapper {
  /* 必要に応じてLP全体の文字コードや基本設定をここに書くこともできます */
  width: 100%;
  box-sizing: border-box;
}

.exhibition-lp-wrapper *,
.exhibition-lp-wrapper *::before,
.exhibition-lp-wrapper *::after {
  box-sizing: border-box;
}

/* ==========================================
   このLP内の <p>（紹介文など）のフォントサイズ調整
   ========================================== */
.exhibition-lp-wrapper .product-grid-section p {
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================
   開催概要インフォメーションボックス
   ========================================== */
.exhibition-lp-wrapper .event-summary-box {
  width: 100%;
  max-width: 940px;
  margin: 30px auto 10px auto; /* 順番：上・右・下・左 */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.exhibition-lp-wrapper .event-summary-header {
  background-color: #2d3748;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.exhibition-lp-wrapper .event-badge-label {
  background-color: #4a5568;
  color: #edf2f7;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
}

.exhibition-lp-wrapper .event-summary-main-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.05em;
}

.exhibition-lp-wrapper .event-summary-body {
  padding: 20px 20px 20px 20px !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exhibition-lp-wrapper .event-item {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  border-bottom: 1px dashed #edf2f7;
}

.exhibition-lp-wrapper .event-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.exhibition-lp-wrapper .event-item-label {
  width: 90px;
  font-weight: bold;
  color: #718096;
  flex-shrink: 0;
  padding-top: 2px;
}

.exhibition-lp-wrapper .event-item-value {
  color: #2d3748;
  line-height: 1.6;
  flex-grow: 1;
}

.exhibition-lp-wrapper .highlight-date {
  font-weight: bold;
  color: #c53030;
  font-size: 20px;
}

.exhibition-lp-wrapper .store-name {
  display: block;
  font-size: 20px;
  color: #1a202c;
  margin-bottom: 2px;
}

.exhibition-lp-wrapper .store-address {
  display: block;
  color: #4a5568;
  font-size: 14px;
}

.exhibition-lp-wrapper .event-note {
  background-color: #f7fafc;
  border-left: 3px solid #cbd5e0;
  padding: 10px 12px;
  font-size: 14px;
  color: #718096;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
  margin-top: 4px !important;
}

/* ==========================================
   ページ内アクションボタン（概要ボックス内）
   ========================================== */
.exhibition-lp-wrapper .event-summary-body .page-link-buttons {
  /* width: 100%; */
  max-width: 1200px;           /* 必要に応じて最大幅を制限すると中央寄せが綺麗に見えます */
  margin: 0 auto 0 auto !important;  /* 「auto」を左右に入れて中央に配置 */
  display: flex;
  flex-direction: row;
  justify-content: center;    /* ボタン全体を中央に寄せる */
  gap: 10px;
  box-sizing: border-box;
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .anchor-btn {
  flex: 1;
  max-width: none;
  padding: 12px 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .faq-anchor-btn {
  background-color: #f7fafc;
  color: #2d3748;
  border: 1px solid #cbd5e0;
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .faq-anchor-btn:hover {
  background-color: #edf2f7;
  border-color: #a0aec0;
  color: #1a202c;
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .shop-anchor-btn {
  background-color: #2d3748;
  color: #fff;
  border: 1px solid #2d3748;
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .shop-anchor-btn:hover {
  background-color: #1a202c;
  border-color: #1a202c;
}

.exhibition-lp-wrapper .event-summary-body .page-link-buttons .anchor-btn .btn-icon {
  font-size: 14px;
}

/* ==========================================
   展示即売会LP専用 商品カードスタイル（940px対応版）
   ========================================== */
.exhibition-lp-wrapper .product-grid-section {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  color: #333;
}

.exhibition-lp-wrapper .product-grid-section .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: stretch;
}

.exhibition-lp-wrapper .product-grid-section .product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s ease;
  width: calc((100% - 30px) / 3);
}

.exhibition-lp-wrapper .product-grid-section .product-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.exhibition-lp-wrapper .product-grid-section .product-image-wrap {
  position: relative;
  background: #f7fafc;
  padding: 20px;
  text-align: center;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exhibition-lp-wrapper .product-grid-section .product-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.exhibition-lp-wrapper .product-grid-section .badge-order {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #6b46c1;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 14px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.exhibition-lp-wrapper .product-grid-section .badge-stock {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* 売り切れ状態 */
.exhibition-lp-wrapper .product-grid-section .product-card.is-soldout {
  opacity: 0.85;
}

.exhibition-lp-wrapper .product-grid-section .product-card.is-soldout .product-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.exhibition-lp-wrapper .product-grid-section .product-card.is-soldout .badge-soldout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background-color: #e53e3e;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 20px;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 4;
}

.exhibition-lp-wrapper .product-grid-section .product-card.is-soldout .btn-web-purchase {
  background-color: #cbd5e0;
  color: #718096;
  pointer-events: none;
}

.exhibition-lp-wrapper .product-grid-section .product-content {
  background: #fcfbf9;
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.exhibition-lp-wrapper .product-grid-section .product-brand {
  margin-bottom: 8px;
  height: 24px;
  display: flex;
  align-items: center;
}

.exhibition-lp-wrapper .product-grid-section .product-brand img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
}

.exhibition-lp-wrapper .product-grid-section .product-title {
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
  line-height: 1.5;
  margin: 0 0 12px 0;
  min-height: 3em;
}

.exhibition-lp-wrapper .product-grid-section .product-price-area {
  margin-top: auto;
  border-top: 1px dotted #cbd5e0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exhibition-lp-wrapper .product-grid-section .product-price-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.exhibition-lp-wrapper .product-grid-section .product-price-original {
  color: #718096;
  text-decoration: line-through;
  font-size: 14px;
}

.exhibition-lp-wrapper .product-grid-section .badge-discount {
  background-color: #e53e3e;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: auto;
}

.exhibition-lp-wrapper .product-grid-section .product-price-main-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.exhibition-lp-wrapper .product-grid-section .product-price-label {
  font-size: 14px;
  font-weight: bold;
  color: #c53030;
}

.exhibition-lp-wrapper .product-grid-section .product-price {
  font-size: 22px;
  font-weight: 700;
  color: #c53030;
  letter-spacing: -0.02em;
}

.exhibition-lp-wrapper .product-grid-section .product-tax {
  font-size: 14px;
  color: #718096;
  font-weight: normal;
  margin-left: 2px;
}

.exhibition-lp-wrapper .product-grid-section .product-external-link-wrap {
  padding: 2px 5px;
  background: #edf2f7;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  margin-top: auto;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exhibition-lp-wrapper .product-grid-section .product-external-link-wrap.is-empty {
  background: transparent;
  border-top: none;
}

.exhibition-lp-wrapper .product-grid-section .btn-web-purchase {
  display: block;
  width: 100%;
  background-color: #2b6cb0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 10px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.exhibition-lp-wrapper .product-grid-section .btn-web-purchase:hover {
  background-color: #2c5282;
}

.exhibition-lp-wrapper .product-grid-section .purchase-note {
  font-size: 12px;
  color: #718096;
  margin-top: 2px;
  display: block;
  line-height: 1.4;
}

/* ==========================================
   よくある質問（FAQ）セクション
   ========================================== */
.exhibition-lp-wrapper .faq-section {
  width: 100%;
  max-width: 940px;
  margin: 40px auto 20px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.exhibition-lp-wrapper .faq-section-title {
  font-size: 20px;
  font-weight: bold;
  color: #2d3748;
  text-align: center;
  margin: 0 0 25px 0;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 10px;
}

.exhibition-lp-wrapper .faq-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #cbd5e0;
}

.exhibition-lp-wrapper .faq-item {
  margin-bottom: 20px;
  border-bottom: 1px dashed #edf2f7;
  padding-bottom: 20px;
}

.exhibition-lp-wrapper .faq-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.exhibition-lp-wrapper .faq-question {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 8px;
}

.exhibition-lp-wrapper .faq-q-mark {
  color: #2b6cb0;
  flex-shrink: 0;
}

.exhibition-lp-wrapper .faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  background-color: #f7fafc;
  padding: 12px 15px;
  border-radius: 6px;
}

.exhibition-lp-wrapper .faq-a-mark {
  color: #c53030;
  font-weight: bold;
  flex-shrink: 0;
}

/* ==========================================
   スマホ・タブレット表示の調整（レスポンシブ）
   ========================================== */
@media (max-width: 900px) {
  .exhibition-lp-wrapper .product-card {
    width: calc((100% - 15px) / 2);
  }
}

@media (max-width: 767px) {
  .exhibition-lp-wrapper p {
    font-size: 14px;
    line-height: 1.7;
  }

  .exhibition-lp-wrapper .event-summary-box {
    margin: 10px 10px;
    width: calc(100% - 20px);
  }

  .exhibition-lp-wrapper .event-summary-body {
    padding: 15px;
  }

  .exhibition-lp-wrapper .event-item {
    flex-direction: column;
    gap: 4px;
  }

  .exhibition-lp-wrapper .event-item-label {
    width: 100%;
    font-size: 12px;
  }

  .exhibition-lp-wrapper .event-item-value {
    width: 100%;
    font-size: 13px;
  }
  .exhibition-lp-wrapper .product-grid-section .store-name-wrap {
    flex-direction: column; /* スマホでは店舗名とリンクを縦に並べるとスッキリします */
    align-items: flex-start;
    gap: 4px;
  }
  .exhibition-lp-wrapper .faq-section {
    margin: 30px 10px 20px 10px;
    width: calc(100% - 20px);
    padding: 20px 15px;
  }

  .exhibition-lp-wrapper .faq-question {
    font-size: 13px;
  }

  .exhibition-lp-wrapper .faq-answer {
    font-size: 12px;
    padding: 10px 12px;
  }

.exhibition-lp-wrapper .event-summary-body .page-link-buttons {
    flex-direction: row !important;     /* 横並びにする場合 */
    justify-content: center !important; /* 中央揃えにする */
    margin: 0 auto 0 auto !important;
    width: 100% !important;

  }
  
  .exhibition-lp-wrapper .event-summary-body .page-link-buttons .anchor-btn {
    flex: 1 !important;                 /* 幅を均等に分ける */
    max-width: 200px !important;        /* ボタンが広がりすぎないように上限をつける場合 */
    margin: 0 !important;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
   .exhibition-lp-wrapper .product-grid-section .product-card {
    width: 100%;
  }

/* スマホ表示（1列）のときの画像ラッパー調整 */
   .exhibition-lp-wrapper .product-grid-section .product-card {
    width: 100%;
  }

  /* 画像エリアの高さをスマホ用に固定・制限する */
   .exhibition-lp-wrapper .product-grid-section .product-image-wrap {
    aspect-ratio: auto; /* 比率の固定をいったん解除 */
    height: 200px;      /* スマホでの画像の高さを200pxに固定（お好みで180px〜220pxに調整可能） */
    padding: 15px;
  }

  /* 画像が絶対に枠からはみ出さないようにする */
   .exhibition-lp-wrapper .product-grid-section .product-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

}

/* ==========================================
   PC版・スマホ版の表示切り替え（.pc-only / .sp-only）
   ========================================== */

/* ラッパーの中にある切替用クラス自体の幅を100%にする */
.exhibition-lp-wrapper .pc-only,
.exhibition-lp-wrapper .sp-only {
  width: 100%;
  box-sizing: border-box;
}

/* 切替用クラスの直下にあるボタンコンテナも幅100%に広げる */
.exhibition-lp-wrapper .pc-only .page-link-buttons,
.exhibition-lp-wrapper .sp-only .page-link-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 1. デフォルト（PC版）の設定 */
.exhibition-lp-wrapper .sp-only {
  display: none !important; /* スマホ用要素はPCでは隠す */
}

.exhibition-lp-wrapper .pc-only {
  display: block !important; /* PC用要素はPCでは表示する */
}

/* 2. スマホ・タブレット（画面幅767px以下）のときの設定 */
@media (max-width: 767px) {
  .exhibition-lp-wrapper .pc-only {
    display: none !important; /* PC用要素はスマホでは隠す */
  }

  .exhibition-lp-wrapper .sp-only {
    display: block !important; /* スマホ用要素はスマホで表示する */
  }
}