@charset "utf-8";

.sns-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.sns-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sns-btn:hover {
  opacity: 0.85;
}

.sns-btn i {
  font-size: 16px;
}

.twitter {
  background-color: #1DA1F2;
}

.facebook {
  background-color: #4267B2;
}

.line {
  background-color: #00C300;
}

.credit-note {
  font-size: 0.75em;
  color: #666;
  text-align: right;
  margin-top: 0.5em;
  line-height: 1.5;
}

.faq-section {
  background: #fff;
  border-radius: 6px;
  padding: 2em;
  max-width: 800px;
  margin: 2em auto;
}

.faq-section h2 {
  font-size: 1.4em;
  color: #fff;
  background: #e65348;
  padding: 0.7em 1em;
  border-radius: 6px;
}

.faq-item {
  margin-top: 2em;
  padding: 1em 1.2em;
  background: #fefefe;
  border-left: 4px solid #e65348;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.6em;
  color: #222;
}

.faq-answer {
  font-size: 1em;
  color: #444;
  line-height: 1.7;
  margin-left: 0.2em;
}

.event-card {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-family: "Arial", sans-serif;
}

.event-card h3 {
  font-size: 16px;
  margin: 0 0 5px;
}

.event-card p {
  margin: 2px 0;
  font-size: 14px;
}

#searchBtn {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 16px;
}

#hanabiMap {
  width: 100%;
  height: 50vh;
  max-height: 500px;
  touch-action: none;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.custom-marker {
  max-width: 80vw;
  word-break: break-word;
}

.marker-label {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 4px 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  max-width: 120px;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.3;
}

.marker-date {
  font-weight: bold;
  color: #d63384;
  font-size: 11px;
  margin-bottom: 2px;
}

.marker-title {
  color: #333;
  font-size: 11px;
}

.marker-icon {
  width: 40px;
  height: 40px;
}

.update-info {
  margin: 1rem 0;
  padding: 0.4rem 0.8rem;
  background-color: #f5f5f5;
  border-left: 3px solid #e88e8e;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.update-info p {
  margin: 0;
}

/* =========================================
   dayEvent
   ========================================= */

.day-date-nav {
  display: flex;
  gap: 6px;
  align-items: stretch;
  margin: 12px 0 14px;
}

.day-date-nav > .day-date-link,
.day-date-nav > .day-date-current {
  flex: 1;
  height: 56px;
  min-height: 56px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.day-date-nav > .day-date-link {
  background: #e88484;
  color: #fff;
  text-decoration: none;
  border: 1px solid #d77272;
}

.day-date-nav > .day-date-link:hover {
  opacity: 0.92;
}

.day-date-nav > .day-date-current {
  background: #d95f67;
  color: #fff;
  border: 1px solid #c74f57;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.day-date-nav-bottom {
  margin-top: 14px;
}

.hanabi-item {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #f8f8f8;
  padding: 12px;
}

.hanabi-header {
  margin-bottom: 8px;
}

.hanabi-date-wrap {
  margin-bottom: 6px;
}

.hanabi-date {
  display: inline-block;
  font-weight: bold;
  color: #444;
  font-size: 0.95rem;
}

#main h3.hanabi-title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

#main h3.hanabi-title a {
  color: #222;
  text-decoration: none;
}

#main h3.hanabi-title a:hover {
  text-decoration: underline;
}

.hanabi-details p {
  margin: 6px 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* 地図ラベル切替 */
.hanabi-map-wrap {
  position: relative;
}

.map-label-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 8px 12px;
  border: 1px solid #cfcfcf;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.map-label-toggle-btn:hover {
  background: #f7f7f7;
}

#hanabiMap.labels-hidden .marker-label {
  visibility: hidden;
}

.map-tap-note {
  margin: 8px 0 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* 近くの花火CTA */
.nearby-cta-wrap {
  margin: 14px 0 18px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nearby-cta-btn {
  display: block;
  margin: 0;
  padding: 16px 12px;
  background: #e57474;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.4;
  border-radius: 10px;
  border: 1px solid #d86464;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.nearby-cta-btn:hover {
  opacity: 0.92;
}

@media screen and (min-width: 481px) {
  .day-date-nav {
    gap: 12px;
  }

  .day-date-nav > .day-date-link,
  .day-date-nav > .day-date-current {
    height: 64px;
    min-height: 64px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  #main h3.hanabi-title {
    font-size: 1rem;
  }

  .hanabi-details p {
    font-size: 0.92rem;
  }

  .map-label-toggle-btn {
    top: 8px;
    right: 8px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .nearby-cta-btn {
    font-size: 0.98rem;
    padding: 14px 10px;
  }
}

.share-rich {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.share-rich-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.share-rich-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.share-rich-icon {
  display: block;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
}

.share-rich-label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}

.share-x {
  background: #111111;
}

.share-threads {
  background: #222222;
}

.share-bluesky {
  background: #1d9bf0;
}

.share-facebook {
  background: #4267b2;
}

.share-line {
  background: #06c755;
}

.share-copy {
  background: #4a4a4a;
}

@media screen and (min-width: 768px) {
  .share-rich {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .share-rich {
    gap: 10px;
  }

  .share-rich-btn {
    height: 68px;
    border-radius: 8px;
  }

  .share-rich-icon {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .share-rich-label {
    font-size: 13px;
  }
}