/* ハナビュー: 宣伝ページと読み物ページ。色・書体・ボタンは brand.css */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--washi); font: 400 16px/1.85 var(--f-body);
  background: linear-gradient(180deg, #0E1330 0, #0B0E1A 640px, #08090F 100%) var(--yoru); overflow-x: hidden; }
a { color: var(--kin); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.num { font-family: var(--f-num); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- ヘッダー・フッター ---------- */
.site-head { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent; }
.site-head.solid, .page .site-head { background: rgba(11, 14, 26, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--sen); }
.lp .site-head { position: fixed; left: 0; right: 0; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.site-head .hn-logo { font-size: 18px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-nav > a:not(.btn) { color: var(--washi); text-decoration: none; opacity: .85; }
.site-nav > a:not(.btn):hover { opacity: 1; }
@media (max-width: 400px) { .site-nav > a:not(.btn) { display: none; } }
.site-foot { border-top: 1px solid var(--sen); margin-top: 72px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-foot .wrap { padding-block: 40px 32px; display: grid; gap: 14px; }
.site-foot .hn-logo { font-size: 20px; justify-self: start; }
.foot-tag { margin: 0; font-family: var(--f-mincho); font-weight: 700; font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.foot-tag .num { font-size: 11px; letter-spacing: .24em; color: var(--kasumi); font-weight: 500; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.site-foot nav a { color: var(--washi); opacity: .8; }
.foot-data, .foot-copy { margin: 0; color: var(--kasumi); font-size: 12.5px; line-height: 1.7; max-width: 760px; }

/* ---------- 見出し・本文 ---------- */
h1, h2 { font-family: var(--f-mincho); font-weight: 800; letter-spacing: .02em; text-wrap: balance; margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--kin); }
h2 { font-weight: 700; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.4; }
h3 { font-size: 19px; line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
.kicker { font-family: var(--f-num); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--kin); margin: 0 0 14px; }
.lead { font-weight: 500; font-size: clamp(17px, 2vw, 19px); line-height: 1.8; color: color-mix(in srgb, var(--washi) 90%, transparent); }
.note { color: var(--kasumi); font-size: 13px; }
.sec { padding-block: 72px; }
@media (min-width: 900px) { .sec { padding-block: 112px; } }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head p { color: var(--kasumi); margin: 16px 0 0; }

/* ---------- ファーストビュー: 言葉と、昼↔夜の見比べ ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 20%, rgba(255, 193, 77, .10), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(143, 176, 255, .08), transparent 60%); }
.hero-in { display: grid; gap: 36px; align-items: center; padding-top: 104px; padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
.hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.18; letter-spacing: .02em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--kin); text-shadow: 0 0 40px rgba(255, 193, 77, .35); }
.hero .lead { max-width: 30em; margin-bottom: 28px; color: var(--washi); opacity: .9; }
.hero .btn.primary { min-height: 56px; font-size: 17px; padding: 0 32px; }
.hero-meta { margin: 18px 0 0; font-size: 15px; color: var(--kasumi); letter-spacing: .04em; }
.hero-meta b { color: var(--washi); font-weight: 600; }

.dn { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--sen); box-shadow: var(--lift), 0 30px 80px rgba(0, 0, 0, .5);
  cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; background: #05060f; }
.dn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.dn-day { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.dn-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--kin); box-shadow: 0 0 16px rgba(255, 193, 77, .8); pointer-events: none; }
.dn-line i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kin); color: var(--kin-ink); box-shadow: var(--glow); }
.dn-line svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dn-tag { position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  font: 600 17px/1 var(--f-num); letter-spacing: .02em; pointer-events: none; }
.dn-tag small { font: 700 12px/1 var(--f-body); margin-left: 4px; opacity: .85; }
.dn-tag .ico { width: 18px; height: 18px; }
.dn-tag.day { left: 14px; background: rgba(255, 255, 255, .88); color: #1d2440; }
.dn-tag.night { right: 14px; background: rgba(11, 14, 26, .78); color: var(--washi); border: 1px solid var(--sen); }
.dn-tag.night .ico { color: var(--kin); }
.dn-verdict { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: var(--r-pill);
  background: rgba(19, 24, 48, .85); border: 1px solid color-mix(in srgb, var(--hisui) 50%, transparent); font-weight: 700; font-size: 14px; pointer-events: none; }
.dn-verdict .g { font: 600 14px var(--f-num); color: var(--kin); background: var(--kon-2); border-radius: 6px; padding: 2px 7px; }
.dn-verdict .ico { width: 18px; height: 18px; color: var(--hisui); }
.dn-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.dn-range:focus-visible { opacity: 0; }
.dn:has(.dn-range:focus-visible) { outline: 2px solid var(--kin); outline-offset: 3px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(11, 14, 26, 0), var(--yoru)); }
.dn figcaption { position: absolute; left: 14px; bottom: 14px; max-width: 46%; font-size: 12px; line-height: 1.6; color: var(--washi); background: rgba(11, 14, 26, .72);
  padding: 6px 10px; border-radius: 10px; pointer-events: none; }
@media (max-width: 760px) {
  .hero .btn.primary { width: 100%; }
  .hero-in { padding-top: 92px; gap: 28px; }
  .dn { aspect-ratio: 1 / 1; margin: 0 -4px; }
  .dn figcaption { display: none; }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; min-height: 86vh; padding-bottom: 72px; }
}

/* ---------- 比べる ---------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp figure { margin: 0; position: relative; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--sen); background: var(--kon); }
.cmp img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cmp figcaption { position: absolute; left: 12px; right: 12px; top: 12px; display: grid; gap: 6px; justify-items: start; }
.cmp .place { font-size: 13px; color: var(--washi); text-shadow: 0 1px 4px #000; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-s); font-weight: 700; font-size: 15px;
  background: rgba(11, 14, 26, .82); border: 1px solid currentColor; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chip .ico { width: 18px; height: 18px; }
.cmp-note { margin-top: 20px; color: var(--kasumi); max-width: 680px; }
@media (max-width: 560px) { .cmp { gap: 10px; } .chip { font-size: 13px; padding: 5px 9px; } .cmp .place { font-size: 12px; } }

/* ---------- 2つの見方 ---------- */
.mode-cards { display: grid; gap: 16px; }
@media (min-width: 860px) { .mode-cards { grid-template-columns: 1fr 1fr; } }
.mode-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r-m);
  background: var(--kon); border: 1px solid var(--sen); color: var(--washi); text-decoration: none; box-shadow: var(--lift);
  transition: border-color var(--ease), transform var(--ease); position: relative; }
.mode-card:hover { border-color: color-mix(in srgb, var(--kin) 50%, transparent); transform: translateY(-2px); }
.phone { border-radius: 22px; padding: 6px; background: #05060c; border: 1px solid #2c3352; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.phone img { border-radius: 16px; aspect-ratio: 585 / 1266; object-fit: cover; }
.mode-card .tag { display: inline-block; font-size: 12px; color: var(--kasumi); border: 1px solid var(--sen); border-radius: var(--r-s); padding: 2px 8px; margin-bottom: 10px; }
.mode-card h3 { font-family: var(--f-mincho); font-size: 22px; margin-bottom: 8px; }
.mode-card p { color: var(--kasumi); font-size: 15px; margin: 0; }
.mode-card .arrow { position: absolute; right: 18px; bottom: 16px; color: var(--kin); }
@media (max-width: 420px) { .mode-card { grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; } .mode-card h3 { font-size: 19px; } }

/* ---------- 数字の図 ---------- */
.diagram { margin: 0; border: 1px solid var(--sen); border-radius: var(--r-m); background: linear-gradient(180deg, #0F1430, #0B0E1A); padding: 8px; overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 620px; height: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.fact { padding: 14px 16px; border-radius: var(--r-m); background: var(--kon); border: 1px solid var(--sen); }
.fact .k { font-size: 12.5px; color: var(--kasumi); }
.fact .v { font-family: var(--f-num); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--kin); }
.fact .v small { font-family: var(--f-body); font-size: 12px; color: var(--kasumi); margin-left: 3px; }
.fact .d { font-size: 13px; color: var(--kasumi); margin-top: 4px; line-height: 1.6; }

/* ---------- 大会一覧 ---------- */
.band { border: 1px solid var(--sen); background: var(--kon); border-radius: var(--r-m); padding: 14px 18px; margin: 0 0 24px; color: var(--washi); font-size: 15px; }
.band b { color: var(--kin); }
.ev-tools { position: sticky; top: 60px; z-index: 5; background: rgba(11, 14, 26, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 12px 0; margin-bottom: 12px; display: grid; gap: 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: var(--r-s); background: var(--kon-2); border: 1px solid var(--sen); }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--washi); font: 16px var(--f-body); outline: none; }
.search .ico { color: var(--kasumi); width: 20px; height: 20px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: 500 14px var(--f-body); color: var(--kasumi); background: transparent; border: 1px solid var(--sen); border-radius: var(--r-pill); padding: 7px 14px; cursor: pointer; }
.tabs button[aria-pressed="true"] { color: var(--kin-ink); background: var(--kin); border-color: var(--kin); font-weight: 700; }
.featured { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 260px); gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 28px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.feat { scroll-snap-align: start; border-radius: var(--r-m); overflow: hidden; background: var(--kon); border: 1px solid var(--sen); color: var(--washi); text-decoration: none; transition: border-color var(--ease); }
.feat:hover { border-color: color-mix(in srgb, var(--kin) 50%, transparent); }
.feat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0E1330; }
.feat div { padding: 12px 14px 14px; display: grid; gap: 4px; }
.feat b { font-size: 16px; line-height: 1.45; }
.feat span { color: var(--kasumi); font-size: 13px; }
.feat .tag { justify-self: start; font-family: var(--f-num); font-size: 13px; color: var(--kin); border: 1px solid var(--sen); border-radius: var(--r-s); padding: 0 7px; }
.ev-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sen); }
.ev-rows li { border-bottom: 1px solid var(--sen); }
.ev-rows a { display: grid; grid-template-columns: 56px 1fr auto 16px; gap: 14px; align-items: center; min-height: 72px; padding: 10px 4px; color: var(--washi); text-decoration: none; }
.ev-rows a:hover { background: var(--kon); }
.ev-date { display: grid; justify-items: center; line-height: 1.1; }
.ev-date .num { font-size: 22px; }
.ev-date small { font-size: 11px; color: var(--kasumi); }
.ev-main { min-width: 0; }
.ev-main b { font-size: 16px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev-main span { font-size: 13px; color: var(--kasumi); }
.ev-when { font-size: 13px; color: var(--kasumi); text-align: right; white-space: nowrap; }
.ev-when.soon { color: var(--kin); font-weight: 700; }
.ev-when.stop { color: var(--botan); border: 1px solid color-mix(in srgb, var(--botan) 50%, transparent); border-radius: var(--r-s); padding: 2px 8px; }
.ev-chev { color: var(--kasumi); }
.ev-more { margin: 20px auto 0; display: flex; }
.ev-empty { color: var(--kasumi); padding: 24px 4px; }
@media (max-width: 480px) { .ev-rows a { grid-template-columns: 48px 1fr auto; gap: 10px; } .ev-chev { display: none; } .ev-when { font-size: 12px; } }

/* ---------- 使い方 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 22px; border-radius: var(--r-m); background: var(--kon); border: 1px solid var(--sen); }
.steps .n { font-family: var(--f-num); font-weight: 600; font-size: 40px; line-height: 1; color: var(--kin); display: block; margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--kasumi); font-size: 15px; margin: 0; }

/* ---------- 注意・広告 ---------- */
.callout { border: 1px solid var(--sen); border-left: 3px solid var(--botan); background: var(--kon); border-radius: var(--r-m); padding: 18px 20px; font-size: 15px; }
.callout p:last-child { margin: 0; }
.callout.report { border-left-color: var(--kin); }
.callout.report .cta { margin: 12px 0 0; }
.ad { margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--sen); border-bottom: 1px solid var(--sen); min-height: 250px; display: grid; place-items: center; text-align: center; }
.ad-label { display: block; color: var(--kasumi); font-size: 11px; letter-spacing: .1em; margin-bottom: 6px; }
.ad.preview { color: var(--kasumi); font-size: 13px; border-style: dashed; }

/* ---------- 読み物ページ ---------- */
main.read { max-width: 680px; padding-block: 48px 24px; }
.read h1 { font-size: clamp(28px, 5vw, 34px); line-height: 1.4; margin-bottom: 8px; }
.read .meta { font-family: var(--f-num); color: var(--kasumi); font-size: 14px; margin-bottom: 24px; }
.read h2 { font-size: 22px; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--sen); margin-bottom: 14px; }
.read h2:first-of-type { border-top: 0; margin-top: 24px; padding-top: 0; }
.read p, .read li { font-size: 15.5px; line-height: 1.95; color: #DCD7CA; }
.read ol, .read ul { padding-left: 1.4em; margin: 0 0 1em; }
.read ol li::marker { font-family: var(--f-num); color: var(--kin); font-weight: 600; }
.read .table-wrap { overflow-x: auto; border: 1px solid var(--sen); border-radius: var(--r-m); margin: 0 0 16px; }
.read table { border-collapse: collapse; width: 100%; font-size: 14px; }
.read th, .read td { padding: 10px 12px; border-bottom: 1px solid var(--sen); text-align: left; vertical-align: top; }
.read th { background: var(--kon); color: var(--kasumi); font-weight: 500; white-space: nowrap; }
.read tr:last-child td { border-bottom: 0; }
.read-end { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--sen); }
.toc { background: var(--kon); border: 1px solid var(--sen); border-radius: var(--r-m); padding: 16px 20px; margin: 8px 0 8px; }
.toc p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--kasumi); }
.read .toc ol { margin: 0; padding-left: 1.6em; columns: 2 220px; column-gap: 24px; }
.read .toc li { font-size: 14px; line-height: 1.6; padding: 4px 0; break-inside: avoid; }
.toc a { color: var(--washi); text-decoration: none; }
.toc a:hover { color: var(--kin); }
.read h2[id] { scroll-margin-top: 80px; }

/* 日本語の改行を文節で(対応ブラウザのみ)。見出しは句の途中で折らない */
h1, h2, h3, .lead, .hero p { word-break: auto-phrase; }
.nw { display: inline-block; white-space: nowrap; }

/* ---------- 大会ページ(/e/<slug>/) ---------- */
.read .badge { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; border: 1px solid var(--sen); color: var(--washi); }
.read .badge.next { color: var(--kin); border-color: color-mix(in srgb, var(--kin) 50%, transparent); }
.read .badge.warn { color: var(--botan); border-color: color-mix(in srgb, var(--botan) 50%, transparent); }
.read .badge.done { color: var(--kasumi); }
.read h1 em { font-style: normal; color: var(--kin); }
.ev-fig { margin: 20px 0 8px; }
.ev-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-m); border: 1px solid var(--sen); background: var(--kon); }
.ev-fig figcaption { margin-top: 6px; font-size: 12px; color: var(--kasumi); }
.read .cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.read .cta .btn { flex: 1 1 200px; }
.read ol.spots { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; gap: 8px; }
.read ol.spots li { margin: 0; }
.spots a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-m);
  background: var(--kon); border: 1px solid var(--sen); color: var(--washi); text-decoration: none; transition: border-color var(--ease); }
.spots a:hover { border-color: color-mix(in srgb, var(--kin) 50%, var(--sen)); }
.spots .sp-no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--kin); color: var(--kin); font-size: 17px; }
.spots li:nth-child(-n+3) .sp-no { background: var(--kin); color: var(--kin-ink); }
.spots .sp-main { display: grid; gap: 2px; min-width: 0; }
.spots .sp-main b { font-size: 15.5px; line-height: 1.4; }
.spots .sp-main small { font-size: 12px; color: var(--kasumi); }
.spots .sp-meta { font-size: 12.5px; color: var(--kasumi); line-height: 1.6; }
.spots .sp-bat { font-size: 11.5px; font-weight: 700; color: var(--kasumi); white-space: nowrap; }
.spots .sp-bat.hot { color: var(--botan); }
.read a { overflow-wrap: anywhere; }   /* 出典の長いURLで横にはみ出さない */
