@charset "utf-8";

/* ==========================================================
   info.css — INFO ページ固有（会場 / SNS）
   レイアウトと部品は book.css を参照
   ========================================================== */

.info-book {
  --spread-paper: #fdfcef;
  --spread-grid: #f1eac6;
}

.info-cover {
  min-height: calc(100vh - var(--top-logo-bar-height));
  min-height: calc(100svh - var(--top-logo-bar-height));
  padding: 28px 24px 0;
  display: grid;
  place-items: end center;
}

.info-cover-page {
  min-height: max(640px, calc(100svh - var(--top-logo-bar-height) - 28px));
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-book {
  padding-top: 132px;
}

#venue-nakanoshima,
#sns {
  scroll-margin-top: calc(var(--top-logo-bar-height) + 28px);
}

.info-book .book-heading {
  font-size: 28px;
}

.venue-page .book-heading {
  font-size: 23px;
}

@media (min-width: 901px) {
  .venue-page .spec-list-wide div {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .venue-page .spec-list dd {
    font-size: 18px;
  }
}

/* ==========================================================
   1. ページ先頭の目次
   ========================================================== */

.info-index {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.info-index a {
  padding: 20px 24px;
  display: grid;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.14);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.info-index a:hover {
  transform: translateY(-6px);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.16);
}

.info-index-label {
  width: fit-content;
  padding: 5px 10px;
  color: var(--paper);
  background-color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1;
}

.info-index strong {
  font-size: 19px;
  line-height: 1.5;
}

.info-index strong::after {
  content: ' →';
}

.info-index em {
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.62);
  overflow-wrap: anywhere;
}

/* ==========================================================
   2. 地図
      標本カードの中に貼り込む。data-tag のラベルが上辺に載るので、
      その分の余白を上に確保しておく。
   ========================================================== */

.access-map {
  margin-top: 34px;
  padding: 22px 12px 12px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ==========================================================
   3. 補足（駐車場の案内・編集メモなど）
   ========================================================== */

.access-note {
  margin-top: 22px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.66);
  border-left: 3px solid rgba(0, 0, 0, 0.28);
}

/* ==========================================================
   4. SNS
   ========================================================== */

.sns-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.sns-card {
  height: 100%;
  padding: 22px 24px;
  display: grid;
  gap: 8px;
  align-content: start;
  background-color: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.14);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.sns-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  line-height: 1.2;
  font-weight: bold;
}

.sns-card-handle {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.62);
  overflow-wrap: anywhere;
}

.sns-card-state {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 10px;
  color: var(--paper);
  background-color: var(--ink);
  font-size: 12px;
  line-height: 1;
}

/* アカウント開設前は破線にして、押せないことを見た目でも示す */
.sns-card.is-preparing {
  border-style: dashed;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.5);
}

/* リンクになったカードだけ反応させる */
a.sns-card:hover {
  transform: translateY(-6px);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.16);
}

/* ==========================================================
   5. レスポンシブ（book.css と同じ 900 → 520 → 700 の順）
   ========================================================== */

@media (max-width: 900px) {
  .info-cover {
    padding-top: 72px;
  }

  .info-cover-page {
    min-height: auto;
  }

  .access-map iframe {
    height: 360px;
  }
}

@media (max-width: 520px) {
  .info-cover {
    padding: 58px 16px 0;
  }

  .info-index {
    margin-top: 26px;
  }

  .info-index a {
    padding: 16px 18px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.14);
  }

  .info-index strong {
    font-size: 16px;
  }

  .info-index em {
    font-size: 13px;
  }

  .access-map {
    margin-top: 26px;
    padding: 20px 8px 8px;
  }

  .access-map iframe {
    height: 280px;
  }

  .access-note {
    font-size: 13px;
  }

  .sns-list {
    margin-top: 26px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sns-card {
    padding: 18px 20px;
  }

  .sns-card-name {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .info-book .book-heading {
    font-size: 23px;
  }

  .venue-page .book-heading {
    font-size: 21px;
  }

  .access-map iframe {
    height: 240px;
  }

  .sns-list {
    grid-template-columns: 1fr;
  }
}
