/* APOLLO TOWN 新高島 — 共通 styles.css の上に載せる街ごとの差分。
   主色は港の青。識別子(セクション番号・エリア記号・区画番号)の朱色は共通のまま。 */
:root {
  --teal: #1b5fa6;
  --teal-deep: #0f3f75;
  --teal-pale: #dfeaf7;
  --sky: #d7e9f6;
  --paper: #f5f7f8;
  --paper-bright: #fdfdfb;
  --venue-k: #1b5fa6;
  --venue-p: #c94f7a;
  --venue-z: #0f8f8f;
  --wave-goods: #e9c46a;
  --wave-show: #1b5fa6;
  --wave-post: #c94f7a;
}
.dither-section { background-image: linear-gradient(rgba(245,247,248,.86), rgba(245,247,248,.86)), url("../assets/texture-dither.webp"); }
.about-section .section-index, .about-copy dt { color: #9cc4ee; }
.site-footer nav a:hover { color: #9cc4ee; }

/* ヒーロー: 妙蓮寺と同じ重ね方(空の上に俯瞰の街を multiply)。絵はCodexと作成(design-lab/hero/README.md にプロンプト)。 */
.hero--harbor {
  position: relative;
  height: 920px;
  min-height: min(920px, 100svh);
  padding: 0;
  overflow: hidden;
  background: #d7e9f6;
}
.hero--harbor::after {
  display: block;
  background: linear-gradient(to bottom, rgba(215,233,246,.08) 0 38%, rgba(215,233,246,0) 60%);
}
.hero-sky--harbor {
  background-image: url("assets/hero-sky.webp");
  background-position: center;
  background-size: cover;
}
.hero-art--harbor {
  object-fit: cover;
  object-position: 50% 100%;
  mix-blend-mode: multiply;
}
.hero--harbor .hero-copy { padding-top: 90px; }
.hero--harbor .hero-kicker { margin-bottom: 115px; color: #0f3f75; }
.hero--harbor h1 { color: #0f3f75; }

@media (max-width: 820px) {
  .hero--harbor { height: 790px; min-height: 92svh; }
  .hero-art--harbor {
    inset: 25% -32% 0;
    width: 164%;
    height: 75%;
    object-position: 54% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
}
@media (max-width: 560px) {
  .hero--harbor { height: 700px; min-height: 90svh; }
  .hero-art--harbor {
    inset: 34% -48% 0;
    width: 196%;
    height: 66%;
    object-position: 56% 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }
}

@media (max-width: 560px) { .hero--harbor .hero-greeting { font-size: .84rem; } .hero--harbor .hero-greeting br { display: none; } }

/* 01 今日 */
.today-section { padding-top: clamp(80px, 9vw, 130px); }
.section-ja { margin: 0; font: 600 .78rem "Lexend Exa", sans-serif; letter-spacing: .08em; color: var(--muted); }
.today-board { border-top: 2px solid var(--ink); }
.today-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.today-summary > div { padding: 30px clamp(18px, 2.4vw, 36px) 32px; border-right: 1px solid var(--line); }
.today-summary > div:first-child { padding-left: 0; }
.today-summary > div:last-child { border-right: 0; padding-right: 0; }
.today-summary small { display: block; font: 600 .62rem "Lexend Exa", sans-serif; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.today-summary b { display: block; line-height: 1.2; font: 600 clamp(1.4rem, 2.4vw, 2rem) "Lexend Exa", sans-serif; color: var(--teal-deep); letter-spacing: -.03em; }
.today-summary b em { font-style: normal; font: 500 .8rem "Noto Sans JP", sans-serif; color: var(--muted); margin-left: 6px; }
.today-summary p { margin: 10px 0 0; font-size: .82rem; line-height: 1.7; color: var(--muted); }
.today-empty { padding: 40px 0; border-bottom: 1px solid var(--line); }
.today-empty h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.today-empty p { margin: 0; color: var(--muted); }
.today-event { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 32px; padding: 36px 0 30px; border-bottom: 1px solid var(--line); }
.today-event__venue { display: grid; gap: 6px; align-content: start; }
.today-event__venue b { display: inline-block; justify-self: start; padding: 4px 10px; border-radius: 999px; color: white; font: 600 .62rem "Lexend Exa", sans-serif; letter-spacing: .08em; background: var(--venue-color, var(--teal)); }
.today-event__venue span { font-size: .78rem; color: var(--muted); }
.today-event__body h3 { margin: 0 0 4px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.4; letter-spacing: -.01em; }
.today-event__body .artist { margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.today-event__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 22px; font-size: .84rem; }
.today-event__meta span b { font-family: "Lexend Exa", sans-serif; font-weight: 600; color: var(--teal-deep); }
.today-event__meta .est { color: var(--muted); }
.venue-k { --venue-color: var(--venue-k); }
.venue-p { --venue-color: var(--venue-p); }
.venue-z { --venue-color: var(--venue-z); }

/* 来街の波(9時〜24時の帯) */
.wave { position: relative; height: 38px; border-radius: 4px; background: rgba(32,39,38,.06); overflow: visible; }
.wave__seg { position: absolute; top: 9px; height: 20px; border-radius: 3px; }
.wave__seg--goods { background: var(--wave-goods); }
.wave__seg--show { background: var(--wave-show); }
.wave__seg--post { background: var(--wave-post); opacity: .85; }
.wave__mark { position: absolute; top: 100%; transform: translateX(-50%); margin-top: 10px; font: 500 .7rem "Lexend Exa", sans-serif; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.wave__mark::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 9px; background: rgba(32,39,38,.35); }
.wave__now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); }
.wave__now::after { content: "いま"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font: 600 .58rem "Lexend Exa", sans-serif; color: var(--accent); }
.wave-wrap { padding-bottom: 8px; }
.wave__mark--alt { margin-top: 32px; }
.wave__mark--alt::before { top: -34px; height: 31px; }
.wave-axis { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--line); font: 500 .6rem "Lexend Exa", sans-serif; color: var(--muted); }
.wave-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 30px 0 0; font-size: .76rem; color: var(--muted); }
.wave-key { display: inline-flex; align-items: center; gap: 8px; }
.wave-key::before { content: ""; width: 22px; height: 10px; border-radius: 2px; background: var(--wave-show); }
.wave-key--goods::before { background: var(--wave-goods); }
.wave-key--post::before { background: var(--wave-post); }
.wave-note { flex-basis: 100%; }
.today-tomorrow { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.today-tomorrow b { font: 600 .62rem "Lexend Exa", sans-serif; letter-spacing: .1em; color: var(--teal); }
.today-tomorrow ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.weather-chip { display: inline-flex; align-items: center; gap: 8px; }
.weather-chip i { font-style: normal; }
.rain-note { color: var(--venue-p); font-weight: 600; }

/* 02 これから */
.calendar-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; padding: 28px 0 34px; border-top: 2px solid var(--ink); }
.calendar-list { border-top: 1px solid var(--ink); }
.calendar-day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; padding: 30px clamp(14px, 1.6vw, 24px); border-bottom: 1px solid var(--line); }
.calendar-day--peak { background: linear-gradient(to right, var(--teal-pale), transparent 70%); }
.calendar-day__date { display: grid; align-content: start; gap: 8px; }
.calendar-day__date b { font: 600 1.55rem "Lexend Exa", sans-serif; letter-spacing: -.04em; color: var(--teal-deep); line-height: 1; }
.calendar-day__date b small { font-size: .7rem; margin-left: 4px; letter-spacing: 0; }
.calendar-day__date .wd { font-size: .78rem; color: var(--muted); }
.calendar-day__date .wd.holiday { color: var(--venue-p); font-weight: 600; }
.calendar-day__date .total { margin-top: 10px; font-size: .78rem; line-height: 1.7; color: var(--muted); }
.calendar-day__date .total i { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 4px; background: var(--teal-deep); color: white; font-style: normal; font-size: .66rem; }
.calendar-day__date .total b { display: inline; font-size: .9rem; color: var(--teal-deep); }
.calendar-day__date .weather { font-size: .74rem; color: var(--muted); }
.calendar-event { display: grid; grid-template-columns: 104px minmax(0, 1fr) 230px; gap: 24px; align-items: start; padding: 16px 0; }
.calendar-event:first-child { padding-top: 2px; }
.calendar-event:last-child { padding-bottom: 2px; }
.calendar-event + .calendar-event { border-top: 1px dashed var(--line); }
.calendar-event .venue-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; color: white; font: 600 .58rem "Lexend Exa", sans-serif; letter-spacing: .08em; background: var(--venue-color, var(--teal)); }
.calendar-event h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.55; }
.calendar-event p { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.calendar-event .times { text-align: right; font-size: .78rem; line-height: 1.75; color: var(--muted); white-space: nowrap; }
.calendar-event .times b { display: block; margin-bottom: 4px; font: 600 .95rem "Lexend Exa", sans-serif; color: var(--teal-deep); }
.calendar-event .times span { display: block; }
.calendar-event .times .est { color: var(--muted); }
.calendar-event .ensei { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: .62rem; color: var(--muted); }
.calendar-empty { padding: 40px 0; color: var(--muted); }

/* 03 街の使い方 */
.usecase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(50px, 6vw, 90px); }
.usecase { display: grid; gap: 10px; align-content: start; min-height: 150px; padding: 20px 20px 18px; border: 1px solid var(--ink); background: var(--paper-bright); text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }
.usecase:hover { background: var(--teal-deep); color: white; }
.usecase:hover small, .usecase:hover p { color: rgba(255,255,255,.75); }
.usecase small { font: 600 .6rem "Lexend Exa", sans-serif; letter-spacing: .12em; color: var(--accent); }
.usecase h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); }
.usecase p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.6; }
.usecase b { justify-self: start; font: 600 .68rem "Lexend Exa", sans-serif; color: var(--teal-deep); }
.usecase:hover h3, .usecase:hover b { color: white; }
.guide-section .usecase p { color: var(--muted); }
.rules-list--compact li { min-height: 0; padding-top: 30px; padding-bottom: 32px; }
.rules-list--compact li:nth-child(odd) { padding-right: clamp(20px, 3vw, 44px); }
.rules-list--compact li:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); }
.usecase-grid { margin-top: 8px; }

/* 03 荷物とトイレ(濃色面の上) */
.facility-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(50px, 6vw, 90px); }
.guide-section .facility-block .town-side__title { color: #9cc4ee; }
.facility-list { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.facility-list div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .86rem; }
.facility-list dt { font-weight: 700; }
.facility-list dd { margin: 0; color: rgba(255,255,255,.82); line-height: 1.75; }
.facility-list a { margin-left: 6px; color: #9cc4ee; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.facility-note { margin: 14px 0 0; font-size: .72rem; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .facility-grid { grid-template-columns: 1fr; } .facility-list div { grid-template-columns: 1fr; gap: 4px; } }

/* 05 一覧: 遅くまで開いている印と、会場の定員 */
.tenant-late { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px; background: var(--teal-deep); color: white; font: 600 .6rem "Lexend Exa", sans-serif; letter-spacing: .06em; vertical-align: middle; }
.tenant-meta span.level { color: var(--teal-deep); }
.results-head p button { border: 0; background: none; padding: 0; color: var(--teal-deep); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* 07 事業者向け */
.business-section { background: var(--paper-bright); }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.business-card { padding: 34px clamp(20px, 3vw, 44px) 34px 0; border-bottom: 1px solid var(--ink); }
.business-card + .business-card { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; border-left: 1px solid var(--line); }
.business-card h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.business-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.85; }

/* イラストマップの色を港の青に */
.illustration-stage .landmark { color: var(--teal-deep); }

@media (max-width: 1100px) {
  .today-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today-summary > div:nth-child(2) { border-right: 0; }
  .today-summary > div:nth-child(odd) { padding-left: 0; }
  .today-summary > div:nth-child(even) { padding-right: 0; }
  .today-summary > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .calendar-tools { grid-template-columns: 1fr; }
  .calendar-day { grid-template-columns: 1fr; gap: 12px; }
  .calendar-day__date { grid-template-columns: auto auto 1fr; align-items: baseline; gap: 12px; }
  .calendar-day__date .total { margin-top: 0; }
  .calendar-event { grid-template-columns: 1fr; gap: 6px; }
  .calendar-event .times { text-align: left; white-space: normal; }
  .calendar-event .times span { display: inline; margin-right: 10px; }
  .calendar-day { padding-left: 12px; padding-right: 12px; }
  .rules-list--compact li:nth-child(odd), .rules-list--compact li:nth-child(even) { padding-left: 0; padding-right: 0; }
  .calendar-event .times b { display: inline; margin-right: 8px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card + .business-card { padding-left: 0; border-left: 0; }
  .today-event, .today-tomorrow { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .today-summary { grid-template-columns: 1fr 1fr; }
  .today-summary > div { padding-top: 20px; padding-bottom: 22px; }
  .today-summary > div:nth-child(even) { padding-left: 16px; }
  .today-summary > div:nth-child(odd) { padding-right: 16px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .wave__mark { font-size: .55rem; }
}

/* スマホ幅では帯の上の時刻ラベルが重なるので出さない(時刻は帯の上の行に全部書いてある)。目盛りの線だけ残す */
@media (max-width: 560px) {
  .wave__mark { font-size: 0; margin-top: 0; }
  .wave__mark::before { top: -6px; height: 8px; }
  .wave__mark--alt { margin-top: 0; }
  .wave__mark--alt::before { top: -6px; height: 8px; }
  .wave-axis { margin-top: 16px; }
  .today-event { padding: 28px 0 24px; }
  .today-event__meta { gap: 6px 20px; margin-bottom: 18px; }
}
