@charset "utf-8";

/* =========================================
   トップページ お知らせコメント
========================================= */
.top-index-comment {
  background-color: #e8f5e9;
  border-left: 5px solid #43a047;
  padding: 16px 20px;
  margin: 0 0 24px 0;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.65;
  color: #2c3e50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.top-index-heading {
  display: block;
  margin-bottom: 10px;
  padding-left: 4px;
  font-size: 1.15em;
  font-weight: bold;
  color: #1b5e20;
}

/* =========================================
   開催情報（直近）
========================================= */
#news {
  margin: 1.25rem 0 2rem;
}

#news .event-list {
  margin: 0.25rem 0;
  padding: 0;
}

#news .event-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.5rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e5e5;
}

#news .event-item dt,
#news .event-item dd {
  min-width: 0;
}

#news .event-item dt {
  color: #444;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#news .event-item dd a {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#news .event-item dd a:hover {
  text-decoration-thickness: 2px;
}

#news .event-item dd a:focus-visible {
  outline: 2px solid #b4002e;
  outline-offset: 2px;
}

#news .event-list:last-of-type .event-item:last-child {
  border-bottom: 0;
}

@media (max-width: 640px) {
  #news .event-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  #news .event-item dd {
    order: 1;
  }

  #news .event-item dt {
    order: 2;
    color: #666;
    font-size: 0.92rem;
  }
}

/* =========================================
   トップページ モバイル専用 主要導線ボタン
   1段目: 今日の花火 / 現在地検索
   2段目: 2026年全国カレンダー / アプリ紹介
========================================= */
#sp-top-cta-ab {
  display: none;
}

.sp-top-cta {
  display: none;
}

@media screen and (max-width: 900px) {
  #sp-top-cta-ab {
    display: block;
    margin: 16px 0 24px;
  }

  .sp-top-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .sp-top-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .sp-top-cta__btn {
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .sp-top-cta__btn:hover,
  .sp-top-cta__btn:active {
    transform: translateY(1px);
    opacity: 0.97;
  }

  .sp-top-cta__grid--primary .sp-top-cta__btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 116px;
    padding: 18px 12px;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
    line-height: 1.45;
  }

  .sp-top-cta__grid--secondary .sp-top-cta__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 90px;
    padding: 14px 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #d8e0ea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    color: #334155;
  }

  .sp-top-cta__main {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.35;
  }

  .sp-top-cta__sub {
    display: block;
    font-size: 11px;
    text-align: center;
    line-height: 1.45;
    opacity: 0.98;
  }

  .sp-top-cta__btn--today {
    background: #df6a6a;
    color: #ffffff;
  }

  .sp-top-cta__btn--nearby {
    background: #4f97bc;
    color: #ffffff;
  }

  .sp-top-cta__btn--calendar,
  .sp-top-cta__btn--app {
    color: #334155;
  }

  .sp-top-cta__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
  }

  .sp-top-cta__text {
    display: block;
    min-width: 0;
    flex: 1;
  }

  .sp-top-cta__main--sub {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    color: #2f3a4a;
  }

  .sp-top-cta__sub--sub {
    font-size: 10px;
    line-height: 1.45;
    text-align: left;
    color: #667085;
    opacity: 1;
  }

  .sp-top-cta__btn:link,
  .sp-top-cta__btn:visited,
  .sp-top-cta__btn:hover,
  .sp-top-cta__btn:active {
    text-decoration: none;
  }

  .sp-top-cta__btn--today:link,
  .sp-top-cta__btn--today:visited,
  .sp-top-cta__btn--today:hover,
  .sp-top-cta__btn--today:active,
  .sp-top-cta__btn--nearby:link,
  .sp-top-cta__btn--nearby:visited,
  .sp-top-cta__btn--nearby:hover,
  .sp-top-cta__btn--nearby:active {
    color: #ffffff;
  }

  .sp-top-cta__btn--calendar:link,
  .sp-top-cta__btn--calendar:visited,
  .sp-top-cta__btn--calendar:hover,
  .sp-top-cta__btn--calendar:active,
  .sp-top-cta__btn--app:link,
  .sp-top-cta__btn--app:visited,
  .sp-top-cta__btn--app:hover,
  .sp-top-cta__btn--app:active {
    color: #334155;
  }

  .sp-top-cta__btn:focus-visible {
    outline: 3px solid rgba(180, 0, 46, 0.9);
    outline-offset: 2px;
  }

  .top-index-comment {
    margin-top: 0;
  }
}

@media screen and (max-width: 480px) {
  .sp-top-cta {
    gap: 12px;
  }

  .sp-top-cta__grid {
    gap: 12px;
  }

  .sp-top-cta__grid--primary .sp-top-cta__btn {
    min-height: 104px;
    padding: 16px 10px;
    border-radius: 16px;
  }

  .sp-top-cta__grid--secondary .sp-top-cta__btn {
    min-height: 84px;
    padding: 12px 10px;
    border-radius: 14px;
    gap: 8px;
  }

  .sp-top-cta__main {
    font-size: 15px;
  }

  .sp-top-cta__sub {
    font-size: 10px;
  }

  .sp-top-cta__main--sub {
    font-size: 13px;
  }

  .sp-top-cta__sub--sub {
    font-size: 9px;
  }

  .sp-top-cta__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 17px;
  }
}

.top-author {
  font-size: 13px;
  color: #666;
  margin: 10px 0 16px;
  text-align: center;
}

.top-monitor-link-box {
  margin: 14px 0 18px;
}

.top-monitor-link-box a {
  position: relative;
  display: block;
  padding: 16px 70px 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffaf2, #fff4e4);
  border: 1px solid #ead6b8;
  color: #3a2a18;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.top-monitor-link-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #8a4b12;
}

.top-monitor-link-box span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5c4a36;
}

.top-monitor-link-box em {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #9a6a2f;
  color: #fff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: bold;
  white-space: nowrap;
}