/* ==========================================================================
   EXPO 2025 大阪・関西万博 訪問アルバム — 共通スタイル
   配色は公式サイトの雰囲気（赤・青・グレー・白の余白基調）に合わせている
   ========================================================================== */

:root{
  --expo-red: #E60012;
  --expo-blue: #0068B7;
  --expo-gray: #D2D7DA;
  --expo-ink: #1a1a1a;
  --expo-bg: #FAFAF8;
  --expo-white: #ffffff;
  --radius: 18px;
}

*{ box-sizing: border-box; }

html,body{
  margin:0; padding:0;
  background: var(--expo-bg);
  color: var(--expo-ink);
  font-family: "Yu Gothic UI","Hiragino Sans","Noto Sans JP","Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }

img{ max-width: 100%; display:block; }

/* ---- decorative blob motifs (myaku-myaku を想起させる抽象的な円形パターン) ---- */
.blob-deco{
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

/* ---- コミャク風の小さなキャラクター装飾（オリジナルデザイン） ---- */
.komyaku{
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter: drop-shadow(0 4px 8px rgba(0,20,40,.08));
}
.komyaku.faint{ opacity: .5; }

/* ---- header ---- */
.site-header{
  position: relative;
  overflow: hidden;
  padding: 64px 24px 56px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f8 100%);
  border-bottom: 4px solid var(--expo-blue);
}
.site-header .eyebrow{
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--expo-blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.site-header h1{
  font-size: clamp(28px, 5vw, 46px);
  margin: 0 0 14px;
  letter-spacing: .04em;
  font-weight: 800;
}
.site-header h1 .accent{ color: var(--expo-red); }
.site-header p.lead{
  color:#555;
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  position: relative;
  z-index: 1;
}

.section-title{
  display:flex;
  align-items:center;
  gap:12px;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 28px;
}
.section-title::before{
  content:"";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--expo-red);
  box-shadow: 16px 0 0 var(--expo-blue);
  margin-right: 10px;
}

/* ---- ticket grid (全体トップページ) ---- */
.ticket-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.ticket{
  position:relative;
  background: var(--expo-white);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,20,40,.06);
  overflow: hidden;
  border: 1px solid #eceff1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.ticket:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,40,80,.14);
  border-color: var(--expo-blue);
}
.ticket .ticket-top{
  padding: 18px 20px 14px;
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
}
.ticket .date{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}
.ticket .date small{
  display:block;
  font-size: 12px;
  font-weight: 600;
  color: var(--expo-blue);
  letter-spacing: .08em;
}
.ticket .badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 30px; height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--expo-blue);
  color:#fff;
  font-weight: 800;
  font-size: 13px;
}
.ticket.opening .badge{ background: var(--expo-red); }

.ticket .perforation{
  position:relative;
  height: 0;
  border-top: 2px dashed #dfe3e6;
  margin: 0 18px;
}
.ticket .perforation::before,
.ticket .perforation::after{
  content:"";
  position:absolute;
  top:-9px;
  width:18px; height:18px;
  border-radius:50%;
  background: var(--expo-bg);
}
.ticket .perforation::before{ left:-27px; }
.ticket .perforation::after{ right:-27px; }

.ticket .ticket-bottom{
  padding: 14px 20px 20px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12.5px;
  color:#556;
}
.ticket .ticket-bottom span b{
  color: var(--expo-ink);
  font-weight: 700;
}
.ticket .status{
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--expo-blue);
}
.ticket.soon{
  opacity: .55;
  filter: grayscale(.15);
  cursor: default;
}
.ticket.soon .status{ color:#98a0a6; }
.ticket .ribbon{
  position:absolute;
  top: 14px; right: -34px;
  background: var(--expo-red);
  color:#fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 4px 40px;
  transform: rotate(35deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.legend{
  margin-top: 34px;
  font-size: 12px;
  color:#777;
  line-height: 1.9;
}

/* ---- day hero (訪問日トップページ) ---- */
.day-hero{
  position: relative;
  min-height: 62vh;
  display:flex;
  align-items:flex-end;
  background-size: cover;
  background-position: center;
  color:#fff;
  overflow:hidden;
}
.day-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,20,30,.15) 0%, rgba(10,20,30,.75) 78%, rgba(10,20,30,.92) 100%);
}
.day-hero .hero-inner{
  position:relative;
  z-index:1;
  padding: 40px 24px 40px;
  width:100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
}
.day-hero .back-link{
  position:absolute;
  top: 22px; left: 24px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color:#fff;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.5);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.day-hero .eyebrow{
  font-size: 13px;
  letter-spacing:.25em;
  color: #ffd7d9;
  font-weight: 700;
  margin-bottom: 8px;
}
.day-hero h1{
  font-size: clamp(26px, 4.5vw, 42px);
  margin: 0 0 18px;
  font-weight: 800;
}
.facts{
  /* 5枠を「訪問スケジュール」等のコンテンツカード4枚の行（.nav-grid）と
     同じ全体幅に揃えるため、コンテンツ行と同じ考え方（グリッドで均等割り）
     に統一する。列数は違っても行全体の幅は同じコンテナ幅いっぱいに広がる
     ため、両方の行の左右端がそろう（ユーザー指摘） */
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.fact{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  box-sizing: border-box;
  min-width: 0;
}
.fact b{
  display:block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #cfe6ff;
  margin-bottom: 2px;
}

/* ---- nav cards ---- */
.nav-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.nav-card{
  position:relative;
  background: var(--expo-white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 6px 20px rgba(0,20,40,.06);
  border: 1px solid #eceff1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.nav-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,40,80,.14);
  border-color: var(--expo-blue);
}
.nav-card .icon{
  width: 46px; height:46px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--expo-blue), #0090c7);
  color:#fff;
  margin-bottom: 16px;
  font-size: 20px;
}
.nav-card.red .icon{ background: linear-gradient(135deg, var(--expo-red), #ff5a5f); }
.nav-card.green .icon{ background: linear-gradient(135deg, #00A651, #4cd08a); }
.nav-card.yellow .icon{ background: linear-gradient(135deg, #FFC800, #ffdd66); }
.nav-card h3{
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}
.nav-card p{
  margin:0;
  font-size: 13px;
  color:#667;
  line-height: 1.7;
}
.nav-card .tag{
  position:absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  font-weight: 800;
  color:#98a0a6;
  background:#f0f2f3;
  padding: 3px 9px;
  border-radius: 999px;
}

footer.site-footer{
  text-align:center;
  padding: 40px 20px 60px;
  color:#98a0a6;
  font-size: 12px;
  letter-spacing: .05em;
}

/* ---- simple placeholder pages ---- */
.placeholder{
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align:center;
}
.placeholder .icon-big{
  font-size: 46px;
  margin-bottom: 18px;
}
.placeholder h1{ font-size: 26px; margin: 0 0 12px; }
.placeholder p{ color:#667; line-height:1.9; }
.placeholder .back-btn{
  display:inline-block;
  margin-top: 28px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--expo-blue);
  color:#fff;
  font-weight: 700;
  font-size: 13px;
}

/* ---- simple page header (sub-pages) ---- */
.page-header{
  position: relative;
  padding: 40px 24px 30px;
  text-align:center;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6f8 100%);
  border-bottom: 4px solid var(--expo-blue);
}
.page-header .back-link{
  position:absolute;
  top: 20px; left: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--expo-blue);
  background: #fff;
  border: 1px solid #dde3e6;
  padding: 8px 14px;
  border-radius: 999px;
}
.page-header .eyebrow{
  font-size: 12px;
  letter-spacing:.25em;
  color: var(--expo-blue);
  font-weight: 700;
  margin-bottom: 6px;
}
.page-header h1{
  font-size: clamp(22px, 4vw, 32px);
  margin: 0;
  font-weight: 800;
}

/* ---- timeline (訪問スケジュール) ---- */
.timeline-wrap{
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 100px;
}
.timeline{
  position: relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: repeating-linear-gradient(180deg, var(--expo-blue) 0 18px, transparent 18px 28px);
}
.tl-item{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  margin-bottom: 8px;
}
.tl-item:last-child .tl-arrow{ display:none; }
.tl-node{
  position:absolute;
  left:50%; top: 36px;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--expo-blue);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 0 5px var(--expo-bg);
  z-index: 2;
}
.tl-item.food .tl-node{ background: var(--expo-red); }
.tl-item.gate .tl-node{ background: var(--expo-ink); }
.tl-item.gate .tl-card .tl-time{ color: var(--expo-ink); }
.tl-item.gate .tl-kind-badge{ background:#eceff1; color: var(--expo-ink); }
.tl-item.event .tl-node{ background: #a9720a; }
.tl-item.event .tl-card .tl-time{ color: #a9720a; }
.tl-item.event .tl-kind-badge{ background:#fdf3e0; color: #a9720a; }
.tl-item.transit .tl-node{ background: #e0a415; }
.tl-item.transit .tl-card .tl-time{ color: #a9720a; }
.tl-item.transit .tl-kind-badge{ background:#fdf3e0; color: #a9720a; }
.tl-arrow{
  position:absolute;
  left:50%; top: 70px;
  transform: translateX(-50%);
  color: var(--expo-blue);
  font-size: 16px;
  z-index: 2;
}
.tl-card{
  width: calc(50% - 46px);
  background: var(--expo-white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 6px 20px rgba(0,20,40,.07);
  border: 1px solid #eceff1;
  margin-bottom: 56px;
}
.tl-item.right{ justify-content: flex-end; }
.tl-item.left .tl-card{ margin-right: auto; }
.tl-item.right .tl-card{ margin-left: auto; }
.tl-card button.thumb-btn{
  display:block;
  width:100%;
  border:0; padding:0; margin:0;
  cursor: zoom-in;
  background:none;
}
.tl-card img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display:block;
  transition: transform .25s ease;
}
.tl-card button.thumb-btn:hover img{ transform: scale(1.04); }
.tl-card .tl-body{
  padding: 14px 18px 16px;
}
.tl-card .tl-time{
  font-size: 12px;
  font-weight: 800;
  color: var(--expo-blue);
  letter-spacing:.05em;
}
.tl-item.food .tl-card .tl-time{ color: var(--expo-red); }
.tl-card h3{
  margin: 4px 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height:1.4;
}
.tl-card p{
  margin:0;
  font-size: 12.5px;
  color:#778;
}
.tl-kind-badge{
  display:inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background:#eef5fb;
  color: var(--expo-blue);
  margin-bottom:6px;
}
.tl-item.food .tl-kind-badge{ background:#fdeceb; color: var(--expo-red); }

.tl-start, .tl-end{
  text-align:center;
  position:relative;
  z-index:2;
  margin: 0 0 40px;
}
.tl-end{ margin: 8px 0 0; }
.tl-flag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--expo-ink);
  color:#fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing:.05em;
}
.tl-flag.begin{ background: var(--expo-blue); }
.tl-flag.finish{ background: var(--expo-red); }

@media (max-width: 720px){
  .timeline::before{ left: 22px; margin-left:0; }
  .tl-node{ left: 22px; transform: translateX(-50%); top: 4px; }
  .tl-arrow{ left: 22px; top: 40px; }
  .tl-item, .tl-item.right{ justify-content: flex-start; }
  .tl-card, .tl-item.left .tl-card, .tl-item.right .tl-card{
    width: calc(100% - 60px);
    margin-left: 46px;
    margin-right: 0;
  }
}

/* ---- lightbox ---- */
.lightbox{
  position: fixed; inset:0;
  background: rgba(10,14,18,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 100;
  padding: 30px;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox .lb-cap{
  position:absolute;
  bottom: 26px; left:0; right:0;
  text-align:center;
  color:#fff;
  font-size: 14px;
  font-weight:700;
}
.lightbox .lb-close{
  position:absolute;
  top: 22px; right: 26px;
  color:#fff;
  font-size: 30px;
  line-height:1;
  cursor:pointer;
  background:none; border:0;
  z-index: 5;
}
.lightbox .lb-nav{
  position:absolute;
  top:50%; transform: translateY(-50%);
  color:#fff;
  font-size: 34px;
  background: rgba(255,255,255,.12);
  border:0;
  width: 48px; height:48px;
  border-radius:50%;
  cursor:pointer;
  z-index: 5;
}
.lightbox .lb-prev{ left: 18px; }
.lightbox .lb-next{ right: 18px; }

/* ---- lightbox thumbnail list (multi-photo pin sets) ---- */
/* Main photo area and thumbnail column are both pinned with fixed boxes,
   so their screen position never shifts with the photo's aspect ratio. */
.lightbox .lb-main{
  /* position:absolute with all four offsets set gives this box a definite
     height in every case (single photo or multiple), so the percentage
     max-height on the img below always resolves instead of being ignored. */
  position: absolute;
  top: 30px; bottom: 30px; left: 30px; right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-main img{
  max-width: 100%;
  max-height: calc(100% - 34px);
  width: auto;
  height: auto;
}
.lightbox .lb-main .lb-cap{
  position: static;
  margin-top: 12px;
  flex-shrink: 0;
}
.lightbox .lb-thumbs{
  display: none;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 4px 6px;
  scrollbar-width: thin;
}
.lightbox.has-thumbs{
  align-items: stretch;
  justify-content: flex-start;
}
.lightbox.has-thumbs .lb-main{
  top: 58px; bottom: 20px; left: 20px;
  right: 158px;
}
.lightbox.has-thumbs .lb-thumbs{
  display: flex;
  position: absolute;
  top: 58px; bottom: 20px; right: 20px;
  width: 100px;
}
.lightbox.has-thumbs .lb-next{
  right: 168px;
}
.lightbox .lb-thumb{
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
  flex-shrink: 0;
  display: block;
}
.lightbox .lb-thumb:hover{ opacity: .9; }
.lightbox .lb-thumb.active{
  opacity: 1;
  border-color: #fff;
}
@media (max-width: 720px){
  .lightbox.has-thumbs .lb-main{
    position: absolute;
    top: 58px; left: 0; right: 0; bottom: 108px;
  }
  .lightbox.has-thumbs .lb-thumbs{
    position: absolute;
    top: auto; left: 0; right: 0; bottom: 20px;
    width: auto; height: 92px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
  }
  .lightbox.has-thumbs .lb-next{ right: 0; }
}

.page-header .page-sub{
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 13px;
  color: #5b6b74;
}

/* ---- photo album ---- */
.album-wrap{
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}
.album-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  grid-auto-rows: 100px;
  grid-auto-flow: dense;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.album-item{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: #e7ebed;
  border: 0;
  padding: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,20,40,.06);
}
.album-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.album-item:hover img{ transform: scale(1.08); }
.album-item .album-cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 5px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,10,20,.62), rgba(0,10,20,0));
  opacity: 0;
  transition: opacity .2s ease;
  text-align: left;
}
.album-item:hover .album-cap{ opacity: 1; }
.album-item.size-w{ grid-column: span 2; }
.album-item.size-t{ grid-row: span 2; }
.album-item.size-l{ grid-column: span 2; grid-row: span 2; }
@media (max-width: 560px){
  .album-item.size-w, .album-item.size-l{ grid-column: span 2; }
  .album-item.size-t, .album-item.size-l{ grid-row: span 2; }
}

.album-section{ margin-bottom: 40px; }
.album-section-head{
  display:flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--expo-blue);
}
.album-section-time{
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-weight: 800;
  font-size: 13px;
  color: var(--expo-blue);
  background: #eaf2f8;
  padding: 3px 9px;
  border-radius: 6px;
}
.album-section-en{
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--expo-ink);
}
.album-section-jp{
  font-size: 12px;
  color: #6a7880;
}
.album-section-count{
  margin-left: auto;
  font-size: 11px;
  color: #9aa7ac;
  align-self: center;
}
.album-section.gate .album-section-head{ border-bottom-color: var(--expo-ink); }
.album-section.gate .album-section-time{ background:#eceff1; color: var(--expo-ink); }
.album-section.food .album-section-head{ border-bottom-color: var(--expo-red); }
.album-section.food .album-section-time{ background:#fdeceb; color: var(--expo-red); }
.album-section.misc .album-section-head{ border-bottom-color: #c9d2d6; }
.album-section.misc .album-section-time{ background:#f1f3f4; color:#6a7880; }
.album-section.transit .album-section-head{ border-bottom-color: #e0a415; border-bottom-style: dashed; }
.album-section.transit .album-section-time{ background:#fdf3e0; color:#a9720a; }
.album-section.transit .album-section-en{ font-weight: 700; font-size: 16px; color: #6a7880; }
.album-section.event .album-section-head{ border-bottom-color: #a9720a; }
.album-section.event .album-section-time{ background:#fdf3e0; color:#a9720a; }
/* 当日の万博チケット（フォトアルバム冒頭） */
.album-section.ticket .album-section-head{ border-bottom-color: var(--expo-blue); border-bottom-style: double; border-bottom-width: 4px; }
.album-section.ticket .album-section-time{ background: var(--expo-blue); color:#fff; letter-spacing:.08em; }
.album-section.ticket .album-item{ background:#fff; outline: 2px dashed rgba(0,104,183,.35); outline-offset: -6px; }
.album-section.ticket .album-item img{ object-position: center top; }
.album-section.ticket .album-item .album-cap{ opacity: 1; }

/* ---- visit map ---- */
.map-legend{
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 20px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: #3a4750;
}
.lg-item{ display:flex; align-items:center; gap:6px; }
.lg-dot{
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.lg-dot.pav{ background: var(--expo-blue); width: 16px; height: 16px; }
.lg-dot.food{ background: var(--expo-red); }
.lg-dot.ring{ background: #8a8f94; }
.lg-dot.scenery{ background: #2f9e44; }
.lg-dot.character{ background: #e64980; }
.lg-dot.waypoint{ background: #ffd43b; width: 10px; height: 10px; }
.lg-line{ width: 22px; height: 0; border-top: 2.5px solid #1a1a1a; display: inline-block; border-radius: 2px; }

.map-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 6px 20px 100px;
}
.map-inner{
  position: relative;
  width: 100%;
}
.map-base{
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,20,40,.15);
}
.map-route{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-pin{
  position: absolute;
  /* hit area is fixed to the dot's own size (see .pin-badge), not the
     dot+label column, so a neighboring pin's label never steals hover/click
     from a pin sitting close to it */
  width: 24px;
  height: 24px;
  overflow: visible;
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.map-pin:hover, .map-pin:focus-visible{ z-index: 5; }
.pin-badge{ position: relative; display: inline-block; }
.pin-dot{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--expo-blue);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,20,40,.4);
  transition: transform .15s ease;
}
.map-pin.food .pin-dot{ background: var(--expo-red); }
.map-pin.ring .pin-dot{ background: #8a8f94; }
.map-pin.scenery .pin-dot{ background: #2f9e44; }
.map-pin.character .pin-dot{ background: #e64980; }
.map-pin.event .pin-dot{ background: #a9720a; }
.map-pin:hover .pin-dot{ transform: scale(1.2); }
.pin-seq{
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pin-label{
  /* standalone layer, no longer a child of .map-pin: this is what lets every
     pin-dot button (z-index 2+) paint above every label regardless of DOM
     order or which pins happen to be close together */
  position: absolute;
  transform: translate(-50%, 15px);
  z-index: 1;
  font-size: 9px;
  font-weight: 700;
  color: var(--expo-ink);
  background: rgba(255,255,255,.88);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}
.route-arrow{
  position: absolute;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid #1a1a1a;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
  pointer-events: none;
  z-index: 1;
}
.route-flag{
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--expo-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  z-index: 3;
}
.route-waypoint{
  /* route-only exception marker: no sequence number, not a button, no click/lightbox
     behavior — purely decorative indicator of a routed-through point on the path */
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd43b;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,20,40,.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

/* ---- illustration viewer ---- */
.illust-page{
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 90px;
  text-align:center;
}
.illust-page img{
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,20,40,.18);
  margin: 28px auto 0;
}

/* ---- video badge in album grid (added for 0807) ---- */
.album-item{ position: relative; }
.vid-badge{
  position:absolute; top:8px; right:8px; width:26px; height:26px;
  background:rgba(10,20,30,.6); color:#fff; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:12px;
  pointer-events:none;
}


/* ---- 訪問の集計へのバナー（全体トップページ） ---- */
.summary-banner{
  position:relative; display:grid; grid-template-columns: 1.3fr 1fr auto; align-items:center; gap:28px;
  margin: 0 0 72px; padding: 36px 40px 36px 150px;
  background: linear-gradient(120deg, #f4f9fd 0%, #f7fbfe 55%, #f2f8fc 100%);
  border: 1px solid #d6e6f3;
  color: var(--expo-ink); border-radius: 26px;
  box-shadow: 0 10px 26px rgba(0,70,130,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  z-index: 1;
}
.summary-banner:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,70,130,.14); border-color:#b9d4ea; }
.summary-banner .sb-chara{ position:absolute; pointer-events:none; filter: drop-shadow(0 6px 10px rgba(0,20,40,.18)); transition: transform .3s ease; }
.summary-banner:hover .sb-chara{ translate: 0 -6px; }
.summary-banner .sb-eyebrow{ font-size:12px; letter-spacing:.3em; font-weight:800; color: var(--expo-red); margin-bottom:8px; }
.summary-banner .sb-title{ font-size: clamp(19px, 2.4vw, 25px); font-weight:800; line-height:1.4; }
.summary-banner .sb-lead{ margin:10px 0 0; font-size:13px; line-height:1.8; color:#556; }
.summary-banner .sb-stats{ display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; }
.summary-banner .sb-stats div{ background:#e3eff9; border:1px solid #cfe1f0; border-radius:14px; padding:10px 14px; }
.summary-banner .sb-stats b{ display:block; font-size:24px; font-weight:800; line-height:1.2; font-feature-settings:"tnum"; color: var(--expo-blue); }
.summary-banner .sb-stats span{ font-size:11px; color:#556; }
.summary-banner .sb-cta{ background: var(--expo-blue); color:#fff; font-weight:800; font-size:14px; padding:12px 22px; border-radius:999px; white-space:nowrap; box-shadow: 0 6px 14px rgba(0,30,60,.18); }
.summary-banner:hover .sb-cta{ background:#FFC800; color:#1a1a1a; }
@media (max-width: 860px){
  .summary-banner{ grid-template-columns: 1fr; padding: 40px 24px 56px; gap:20px; }
  .summary-banner .sb-cta{ justify-self:start; }
  .summary-banner .sb-chara[src*="trio_family"]{ width:120px !important; left:auto !important; right:-10px; bottom:-40px !important; }
  .summary-banner .sb-chara[src*="taper_red"]{ right:90px !important; width:90px !important; top:-44px !important; }
}


/* ---- 訪問スケジュール：予約して入場した訪問ポイント ---- */
.tl-resv-badge{
  /* .tl-kind-badge と同じ寸法にそろえる（横並びでずれないように） */
  display:inline-block; vertical-align:baseline;
  font-size:10.5px; font-weight:800; line-height:inherit;
  padding:2px 9px; border-radius:999px;
  margin:0 0 6px 6px;
  background: var(--expo-red); color:#fff;
}
.tl-item.reserved .tl-card{ border-color:#f5c2c6; box-shadow: 0 6px 20px rgba(230,0,18,.10); }
.tl-resv{
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px;
  margin-top:10px; padding:8px 12px;
  background:#fff5f5; border:1px dashed #f0a3aa; border-radius:10px;
  font-size:12px; color:#556;
}
.tl-resv b{ flex-basis:100%; color: var(--expo-red); font-size:12px; }
.tl-resv span{ white-space:nowrap; margin-right:6px; }
.tl-resv i{ font-style:normal; font-size:10.5px; font-weight:700; color:#98a0a6; margin-right:5px; }

/* ---- 訪問イラストページ：採用＋候補ギャラリー ---- */
.illust-page{ position: relative; }
.illust-page img.komyaku{ margin:0; border-radius:0; box-shadow:none; }
.il-lead{ max-width:640px; margin:14px auto 0; font-size:13.5px; line-height:1.9; color:#667; }
.il-main{ margin: 26px 0 0; }
.il-main-btn{ display:block; width:100%; padding:0; border:0; background:none; cursor: zoom-in; }
.illust-page .il-main img{ margin:0 auto; width:100%; height:auto; }
.il-main figcaption{ margin-top:14px; font-size:12.5px; color:#667; }
.il-thumbs{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:26px; }
.il-thumb{ position:relative; width:200px; padding:0 0 10px; border:2px solid transparent; border-radius:14px; background:#fff;
  box-shadow:0 6px 18px rgba(0,20,40,.08); cursor:pointer; transition: transform .15s ease, border-color .15s ease; }
.il-thumb:hover{ transform: translateY(-3px); }
.il-thumb.active{ border-color: var(--expo-blue); }
.illust-page .il-thumb img{ margin:0; width:100%; aspect-ratio: 3/2; object-fit: cover; border-radius:12px 12px 0 0; box-shadow:none; display:block; }
.il-thumb .il-name{ display:block; margin-top:8px; font-size:12px; font-weight:700; color:#334; }
.il-back{ display:inline-block; padding:12px 26px; border-radius:999px; background: var(--expo-blue); color:#fff; font-weight:700; font-size:13px; }
html:has(.illust-page), body:has(.illust-page){ overflow-x: hidden; }
@media (max-width: 600px){
  .il-thumbs{ gap:10px; }
  .il-thumb{ width: calc(50% - 5px); max-width:200px; }
}


/* ---- ミャクミャク184日アルバムへのバナー（全体トップページ） ---- */
.mm-banner{
  position:relative; display:block; margin: 0 0 72px; padding: 18px 18px 26px;
  background:#fff; border:1px solid #eceff1; border-radius:26px;
  box-shadow: 0 10px 26px rgba(0,70,130,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--expo-ink); z-index:1;
}
.mm-banner:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,70,130,.14); border-color:#f0a3aa; }
.mm-banner .sb-chara{ position:absolute; pointer-events:none; filter: drop-shadow(0 6px 10px rgba(0,20,40,.18)); transition: transform .3s ease; z-index:2; }
.mm-banner:hover .sb-chara{ translate: 0 -6px; }
.mm-banner .mmb-strip{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; border-radius:16px; overflow:hidden; }
.mm-banner .mmb-strip img{ width:100%; aspect-ratio: 16/10; object-fit:cover; transition: transform .35s ease; }
.mm-banner:hover .mmb-strip img{ transform: scale(1.05); }
.mm-banner .mmb-body{ display:flex; align-items:center; gap:28px; padding: 22px 16px 0; }
.mm-banner .mmb-text{ flex:1; }
.mm-banner .sb-eyebrow{ font-size:12px; letter-spacing:.3em; font-weight:800; color: var(--expo-red); margin-bottom:8px; }
.mm-banner .sb-title{ font-size: clamp(19px, 2.4vw, 25px); font-weight:800; line-height:1.4; }
.mm-banner .sb-lead{ margin:10px 0 0; font-size:13px; line-height:1.8; color:#556; }
.mm-banner .sb-cta{ background: var(--expo-red); color:#fff; font-weight:800; font-size:14px; padding:12px 22px; border-radius:999px; white-space:nowrap; box-shadow: 0 6px 14px rgba(60,0,10,.18); }
.mm-banner:hover .sb-cta{ background:#FFC800; color:#1a1a1a; }
@media (max-width: 760px){
  .mm-banner .mmb-strip{ grid-template-columns: repeat(4, 1fr); }
  .mm-banner .mmb-strip img:nth-child(n+5){ display:none; }
  .mm-banner .mmb-body{ flex-direction:column; align-items:flex-start; gap:16px; padding: 18px 6px 0; }
}


/* ---- 資料室へのバナー（全体トップページ） ---- */
.lib-banner{
  position:relative; display:block; margin: 0; padding: 18px 18px 26px;
  background:#fff; border:1px solid #eceff1; border-radius:26px;
  box-shadow: 0 10px 26px rgba(0,70,130,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--expo-ink); z-index:1;
}
.lib-banner:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,70,130,.14); border-color:#b9d4ea; }
.lib-banner .sb-chara{ position:absolute; pointer-events:none; filter: drop-shadow(0 6px 10px rgba(0,20,40,.18)); transition: transform .3s ease; z-index:2; }
.lib-banner:hover .sb-chara{ translate: 0 -6px; }
.lib-banner .lbb-strip{ display:grid; grid-template-columns: repeat(5, 1fr); gap:6px; border-radius:16px; overflow:hidden; }
.lib-banner .lbb-strip img{ width:100%; aspect-ratio: 4/3; object-fit:cover; transition: transform .35s ease; }
.lib-banner:hover .lbb-strip img{ transform: scale(1.05); }
.lib-banner .lbb-body{ display:flex; align-items:center; gap:28px; padding: 22px 16px 0; }
.lib-banner .lbb-text{ flex:1; }
.lib-banner .sb-eyebrow{ font-size:12px; letter-spacing:.3em; font-weight:800; color: var(--expo-blue); margin-bottom:8px; }
.lib-banner .sb-title{ font-size: clamp(19px, 2.4vw, 25px); font-weight:800; line-height:1.4; }
.lib-banner .sb-lead{ margin:10px 0 0; font-size:13px; line-height:1.8; color:#556; }
.lib-banner .sb-cta{ background: var(--expo-blue); color:#fff; font-weight:800; font-size:14px; padding:12px 22px; border-radius:999px; white-space:nowrap; box-shadow: 0 6px 14px rgba(0,30,60,.18); }
.lib-banner:hover .sb-cta{ background:#FFC800; color:#1a1a1a; }
@media (max-width: 760px){
  .lib-banner .lbb-strip{ grid-template-columns: repeat(3, 1fr); }
  .lib-banner .lbb-strip img:nth-child(n+4){ display:none; }
  .lib-banner .lbb-body{ flex-direction:column; align-items:flex-start; gap:16px; padding: 18px 6px 0; }
}


/* ---- 万博スタンプパスポートへのバナー（全体トップページ） ---- */
.pp-banner{
  position:relative; display:block; margin: 0; padding: 18px 18px 26px;
  background:#fff; border:1px solid #eceff1; border-radius:26px;
  box-shadow: 0 10px 26px rgba(0,70,130,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  color: var(--expo-ink); z-index:1;
}
.pp-banner:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,70,130,.14); border-color:#a9d9c2; }
.pp-banner .sb-chara{ position:absolute; pointer-events:none; filter: drop-shadow(0 6px 10px rgba(0,20,40,.18)); transition: transform .3s ease; z-index:2; }
.pp-banner:hover .sb-chara{ translate: 0 -6px; }
.pp-banner .ppb-strip{ display:grid; grid-template-columns: repeat(5, 1fr); gap:6px; border-radius:16px; overflow:hidden; }
.pp-banner .ppb-strip img{ width:100%; aspect-ratio: 1.42; object-fit:cover; transition: transform .35s ease; }
.pp-banner:hover .ppb-strip img{ transform: scale(1.05); }
.pp-banner .ppb-body{ display:flex; align-items:center; gap:28px; padding: 22px 16px 0; }
.pp-banner .ppb-text{ flex:1; }
.pp-banner .sb-eyebrow{ font-size:12px; letter-spacing:.3em; font-weight:800; color: #1F9D6B; margin-bottom:8px; }
.pp-banner .sb-title{ font-size: clamp(19px, 2.4vw, 25px); font-weight:800; line-height:1.4; }
.pp-banner .sb-lead{ margin:10px 0 0; font-size:13px; line-height:1.8; color:#556; }
.pp-banner .sb-cta{ background: #1F9D6B; color:#fff; font-weight:800; font-size:14px; padding:12px 22px; border-radius:999px; white-space:nowrap; box-shadow: 0 6px 14px rgba(0,50,30,.18); }
.pp-banner:hover .sb-cta{ background:#FFC800; color:#1a1a1a; }
@media (max-width: 760px){
  .pp-banner .ppb-strip{ grid-template-columns: repeat(3, 1fr); }
  .pp-banner .ppb-strip img:nth-child(n+4){ display:none; }
  .pp-banner .ppb-body{ flex-direction:column; align-items:flex-start; gap:16px; padding: 18px 6px 0; }
}

/* フォトアルバム：ページ末尾の写真・動画の数（2026/10/17） */
.album-total{
  margin: 44px auto 0;
  max-width: 440px;
  background: linear-gradient(135deg,#f1f7fc,#e3eff9);
  border: 1px solid #cfe1f0;
  border-radius: 16px;
  padding: 18px 24px 16px;
  text-align: center;
}
.album-total .at-eyebrow{ font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--expo-blue); }
.album-total .at-nums{ display: flex; justify-content: center; gap: 44px; margin: 8px 0 6px; }
.album-total .at-nums div{ display: flex; flex-direction: column; align-items: center; }
.album-total .at-nums b{ font-size: 32px; font-weight: 800; color: #0b2f4f; line-height: 1.15; font-feature-settings: "tnum"; }
.album-total .at-nums span{ font-size: 12px; color: #6a7880; }
.album-total .at-note{ margin: 4px 0 0; font-size: 11px; color: #9aa7ac; }

/* 一般公開版の表記 */
.sf-notes{max-width:760px;margin:14px auto 0;line-height:1.8;font-size:11.5px;color:#8a9298;letter-spacing:0}
.sf-notes p{margin:4px 0}.sf-notes a{color:#6b8fa8}
.ai-disclaimer{max-width:1100px;margin:16px auto;padding:10px 16px;background:#fff8e6;border:1px solid #f0d58a;border-radius:10px;color:#6b5a1e;font-size:13px;line-height:1.7}
.ai-illust-note{text-align:right;font-size:11.5px;color:#8a9298;margin:6px 16px 0}
.pub-note{text-align:center;color:#6b7680;font-size:13px;margin:-6px 0 18px}
.ev-photo.illust{position:relative}
.ev-photo.illust::after{content:"AI作成のイメージ";white-space:nowrap;position:absolute;left:4px;bottom:4px;background:rgba(0,0,0,.55);color:#fff;font-size:10px;padding:1px 6px;border-radius:8px;letter-spacing:0}
