/* ============================================================
   event.css
   ============================================================ */

/* ============================================================
   Hero：front-page.cssの上書き
   ============================================================ */
.event-single .hero { margin-bottom: 0; }

/* h1の背景をリセット */
.event-single .hero-text h1 {
  background: none;
  border-radius: 0;
  font-size: 36px;
  font-weight: 600;
  color: #4C9D81;
  margin-bottom: .8rem;
  display: block;
}

/* p全体の背景をリセット */
.event-single .hero-text p,
.event-single .hero-text p:first-child {
  background: none;
  border-radius: 0;
  font-size: 1rem;
  color: inherit;
}

/* hero-imgのデフォルト背景を上書き */
.event-single .hero-img {
  background-image: none;
  background-color: #EDF6EE;
  background-size: cover;
  background-position: center;
}

/* ② 開催期間 */
.event-single .event-period {
  color: #4FB8CC;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .05em;
  background: none;
  border-radius: 0;
}
.event-single .event-period-year { font-size: 16px; color: #4FB8CC; }
.event-single .event-period-date { font-size: 28px; font-weight: 600; color: #4FB8CC; }
.event-single .event-period-day  { font-size: 16px; font-weight: 600; color: #4FB8CC; }
.event-single .event-period-sep  { margin: 0 .5em; font-size: 16px; font-weight: 600; color: #4FB8CC; }

/* ① メタバッジ：左ベタ塗りラベル・右値 */
.event-single .event-meta-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0 0 1.2rem;
  padding: 0;
}
.event-single .event-meta-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0.4rem 0;
}
.event-single .event-meta-label {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: #4FB8CC;
  color: #EDF6EE;
  font-size: 13px;
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
  padding: .25em .8em;
  border-radius: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}
.event-single .event-meta-label i {
  font-size: 12px;
}
.event-single .event-meta-value {
  color: #4FB8CC;
  font-size: inherit;
  font-weight: 600;
}

/* ② 説明文 */
.event-single .hero-text .event-desc-text,
.event-single .hero-text .event-desc-text p,
.event-single .event-desc-text,
.event-single .event-desc-text p {
  font-size: 16px !important;
  color: inherit !important;
  line-height: 1.85 !important;
  background: none !important;
  border-radius: 0 !important;
}

/* ============================================================
   ③ エリアセクション
   ============================================================ */
.event-single .room-section {
  background: linear-gradient(to bottom,
    #EDF6EE 0%,
    #EDF6EE 68%,
    #FFE899 85%,
    #FFE084 90%);
  margin-block: 0;
  padding: 0 30px;
}

.event-single .room-section-stores {
  background: linear-gradient(to bottom,
    #FFE899 0%,
    #FFE084 100%);
  margin-block: 0;
  padding: 3rem 30px;
}

/* バッジのフォントファミリー */
.event-single .badge-wrap span {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  word-spacing: .1em;
}

/* Wave隙間をなくす */
.event-single .wave-section {
  margin-block: 0;
  display: block;
  line-height: 0;
  margin:0 auto;
}
.event-single .wave-section-end {
  margin-block: 0;
  display: block;
  line-height: 0;
  margin: 0 auto;
  top:0;
}
.event-single .wave-section svg path { fill: #EDF6EE; }
.event-single .wave-section-end svg path { fill: #FFE084; }

/* room-boxの下余白をなくす */
.event-single .room-box {
  margin-bottom: 0;
}

/* カード3列強制 */
.event-single .cards-three {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* 商品リスト */
.event-product-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px dashed #ddd;
  padding-top: .5rem;
  margin-bottom: .5rem;
}
.event-product-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
}
.event-product-item img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}
.event-product-name { display: block; color: inherit; font-weight: 500; }
.event-product-price { display: block; color: #4FB8CC; font-weight: 600; }

/* カードボタン */
.event-card-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
}
.event-btn-ig   { background: #e1306c !important; border-color: #e1306c !important; color: #fff !important; }
.event-btn-line { background: #06c755 !important; border-color: #06c755 !important; color: #fff !important; }

/* SNSボタン：表示するが遷移しない */
.event-btn-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.6;
}
.event-entry-other {
  font-size: .78rem;
  color: #8e8a86;
  display: flex;
  gap: .3em;
  margin: .3rem 0 0;
}
.event-entry-other i { color: #4FB8CC; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   イベント詳細
   ============================================================ */
.event-detail-section {
  background: #fff;
  padding: 3rem 0 4rem;
}
.event-detail-section .badge-wrap { margin-bottom: 2rem; }

.event-detail-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.event-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.event-detail-label {
  background: #4FB8CC;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  padding: .35em .3em;
  margin-bottom: 0.5rem;
  border-radius: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 110px;
  text-align: center;
  line-height: 1.1;
  align-self: flex-start;
  display: block;
}

.event-detail-value {
  color: #4FB8CC;
  font-size: 18px;
  line-height: 1.2;
  padding-top: .15em;
  font-weight: 500;
}
.event-detail-value a {
  color: #4FB8CC;
  text-decoration: none;
}
.event-detail-value a:hover {
  text-decoration: underline;
}

/* 地図：containerのpaddingに合わせて全幅 */
.event-detail-map-wrap {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0 30px;
  box-sizing: border-box;
}
.event-detail-map-wrap iframe {
  width: 100% !important;
  height: 400px;
  border: none;
  border-radius: 8px;
  display: block;
}

/* 主催以降2カラム */
.event-detail-bottom {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 1.5rem;
  align-items: start;
  margin-top: .5rem;
}
.event-detail-bottom-left {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.event-detail-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.event-logo-img {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  display: block;
  border: 0.02rem solid #88888847;
  padding: 1rem;
}

/* SNSアイコン */
.event-sns-links {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.event-sns-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity .2s;
}
.event-sns-icon:hover { opacity: .8; }
.event-sns-ig   { background: #e1306c; }
.event-sns-x    { background: #000; }
.event-sns-line { background: #06c755; }

.fa-brands { margin: 0; }

/* 前後ナビ */
.event-post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 30px 3rem;
}
.event-nav-prev { text-align: left; }
.event-nav-next { text-align: right; }
.event-nav-center { text-align: center; }
.event-nav-disabled { opacity: .4; cursor: default; pointer-events: none; }

/* レスポンシブ */
@media (max-width: 900px) {
  .event-single .cards-three { grid-template-columns: repeat(2, 1fr) !important; }
  .event-detail-bottom { grid-template-columns: 1fr; }
  .event-post-nav { grid-template-columns: 1fr; text-align: center; padding: 2rem 15px 3rem; }
  .event-nav-next { text-align: center; }
  .event-detail-label { min-width: 90px; font-size: 13px; }
  .event-single .room-section,
  .event-single .room-section-stores { padding: 3rem 15px; }
  .event-detail-map-wrap { padding: 0 15px; }
}
@media (max-width: 600px) {
  .event-single .cards-three { grid-template-columns: 1fr !important; }
  .event-single .hero-text h1 { font-size: 26px; }
  .event-single .event-period-date { font-size: 22px; }
}