/* TRIP ADVISOR — B "SIGNAL" green
   レイアウト: 白地の記録資料グリッド + 黒の映像面。グリーンは操作と強調だけに使う */
:root {
  --paper: #ECEDEF;
  --ink: #0D0D10;
  --light: #F4F5F7;
  --green: #19F06A;
  --grey: #4A4C55;
  --grey-on-dark: #A7AAB3;
  --rec: #FF3B4E;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: max(16px, 3vw);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { background: var(--green); color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.mono { font-family: var(--mono); letter-spacing: .06em; }
.green { color: var(--green); }
.label { font-size: 11px; letter-spacing: .08em; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack--lg { gap: 40px; }

.h2 { margin: 0; font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: clamp(48px, 6vw, 72px); line-height: .9; letter-spacing: -.02em; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--light); }
.btn--line { border-color: var(--light); color: var(--light); background: transparent; }
.btn--line:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn--outline { border-color: var(--ink); background: transparent; font-size: 12px; font-weight: 500; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.iconbtn { min-width: 44px; min-height: 44px; background: transparent; color: var(--light); border: 1px solid rgba(244,245,247,.45); font-family: var(--mono); font-size: 18px; cursor: pointer; }
.iconbtn:hover { background: var(--green); color: var(--ink); border-color: var(--green); }
.tag { display: inline-block; padding: 5px 9px; font-size: 11px; letter-spacing: .1em; }
.tag--green { background: var(--green); color: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); color: var(--light); overflow: hidden; isolation: isolate; }
.hero a:not(.btn) { color: var(--light); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__yt { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.18); pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.hero__yt iframe { width: 100%; height: 100%; border: 0; }
.hero.is-playing .hero__yt { opacity: 1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,16,.6) 0%, rgba(13,13,16,0) 26%, rgba(13,13,16,0) 45%, rgba(13,13,16,.92) 100%), linear-gradient(90deg, rgba(13,13,16,.55) 0%, rgba(13,13,16,0) 60%); }

.nav { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px var(--gutter); padding-top: max(22px, env(safe-area-inset-top)); }
.nav__logo img { height: 58px; width: auto; }
.nav__logo:hover { background: none; }
.nav__menu { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.nav__menu a { text-decoration: none; padding: 8px 10px; }
.nav__menu a:hover { background: var(--green); color: var(--ink); }
.nav__yt { color: var(--green) !important; }
/* PC: ナビの文字の上端をロゴの上端にそろえる(ロゴが縦に大きいので中央揃えだとナビが下がって見える) */
@media (min-width: 861px) {
  .nav { align-items: flex-start; padding-top: 36px; }
  .nav__logo img { height: 72px; }
  .nav__menu { margin-top: -6px; }
}
.nav__toggle { display: none; width: 48px; height: 48px; padding: 0; background: transparent; border: 0; cursor: pointer; position: relative; z-index: 60; }
.nav__no, .nav__ig { display: none; }
.nav__sub { display: contents; }
/* ハンバーガー: 3本線 → ✕ */
.burger { position: relative; display: block; width: 28px; height: 18px; margin: auto; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--light); border-radius: 2px; transition: transform .45s cubic-bezier(.7,0,.2,1), opacity .2s, width .35s, top .45s cubic-bezier(.7,0,.2,1), background .3s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 8px; width: 70%; left: auto; right: 0; }
.burger i:nth-child(3) { top: 16px; }
.menu-open .burger i:nth-child(1) { top: 8px; transform: rotate(45deg); background: var(--green); }
.menu-open .burger i:nth-child(2) { opacity: 0; width: 0; }
.menu-open .burger i:nth-child(3) { top: 8px; transform: rotate(-45deg); background: var(--green); }

.hero__rec { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 4px var(--gutter); font-size: 13px; font-variant-numeric: tabular-nums; }
.rec-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
.hero__tc { color: var(--green); }
.hero__spec { opacity: .7; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }

/* チャプター形式のトップ */
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(150px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 980px; }
.hero__tag { margin: 0; font-size: 13px; letter-spacing: .1em; }
.hero__tagbox { display: inline-block; background: var(--green); color: var(--ink); padding: 6px 10px; }
.hero__title { margin: 0; font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: clamp(52px, 8.4vw, 132px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero__place { margin: 0; font-size: 17px; font-weight: 500; min-height: 1.7em; }
.hero__btns { margin-top: 6px; }

.chapters { position: absolute; left: var(--gutter); right: var(--gutter); bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 12px; }
.chap { width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 8px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; color: var(--light); transition: background .25s; }
.chap:hover { background: rgba(244,245,247,.08); }
.chap__bar { position: relative; display: block; height: 3px; background: rgba(244,245,247,.25); overflow: hidden; }
.chap__fill { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.chap[data-state="done"] .chap__fill { transform: scaleX(1); background: rgba(244,245,247,.7); }
.chap[aria-current="true"] .chap__fill { transform: scaleX(var(--p, 0)); }
.chap__meta { font-size: 11px; color: var(--grey-on-dark); }
.chap__dj { font-size: 14px; font-weight: 700; line-height: 1.4; opacity: .65; transition: opacity .3s; }
.chap[aria-current="true"] .chap__dj, .chap:hover .chap__dj { opacity: 1; }

/* 文字アニメーション(1文字ずつ下から差し替わる + スクランブル) */
.split .w { display: inline-block; overflow: hidden; padding: .08em 0; margin: -.08em 0; vertical-align: top; }
.split .c { display: inline-block; white-space: pre; }
.split.is-in .c { animation: charIn .95s cubic-bezier(.16,.84,.24,1) both; animation-delay: calc(var(--i) * 26ms); }
.split.is-out .c { animation: charOut .38s cubic-bezier(.7,0,.84,0) both; animation-delay: calc(var(--i) * 10ms); }
.hero__title.is-in .c.is-hot { color: var(--green); }
.hero__tagbox.split .w { padding: 0; margin: 0; }
.hero__tagbox.is-in { animation: boxIn .5s cubic-bezier(.7,0,.2,1) both; }
.hero__place.is-in .c { animation-name: fadeUp; animation-duration: .7s; animation-delay: calc(240ms + var(--i) * 8ms); }
@keyframes charIn { from { transform: translateY(110%) skewY(10deg); opacity: 0 } 60% { opacity: 1 } to { transform: none; opacity: 1 } }
@keyframes charOut { to { transform: translateY(-110%) skewY(-6deg); opacity: 0 } }
@keyframes fadeUp { from { transform: translateY(60%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes boxIn { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }

/* ---------- stats(トップ直下の記録データ) ---------- */
.stats { background: var(--ink); color: var(--light); border-top: 1px solid rgba(244,245,247,.14); padding: 0 var(--gutter); }
.stats__grid { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr); }
.stats__item { padding: 26px 24px 30px; border-left: 1px solid rgba(244,245,247,.14); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__item dt { font-size: 11px; letter-spacing: .1em; color: var(--grey-on-dark); display: flex; align-items: center; gap: 8px; }
.stats__item dd { margin: 0; }
.stats__num { font-family: var(--display); font-variation-settings: 'wdth' 110; font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats__latest a { color: var(--light); text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.5; display: inline; background-image: linear-gradient(var(--green), var(--green)); background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s; }
.stats__latest a:hover { background-color: transparent; color: var(--light); background-size: 100% 2px; }
.stats__latest small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--grey-on-dark); margin-top: 4px; letter-spacing: .06em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25,240,106,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,240,106,.55) } 70% { box-shadow: 0 0 0 9px rgba(25,240,106,0) } 100% { box-shadow: 0 0 0 0 rgba(25,240,106,0) } }

/* ---------- sections ---------- */
.sec { padding: 96px var(--gutter) 48px; display: flex; flex-direction: column; gap: 32px; }
.sec--rule { border-top: 1px solid var(--ink); }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.sec__lead { max-width: 640px; gap: 14px; }
.sec__lead p { margin: 0; font-size: 14px; line-height: 1.9; }
.sec__lead .sec__note { font-size: 12px; color: var(--grey); }
.sec__foot { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { margin: 0; font-size: 12px; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.series-chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: var(--green); font-size: 12px; cursor: pointer; }
.series-chip:hover { background: var(--ink); color: var(--green); }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.seg button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; font-family: var(--mono); font-size: 12px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--green); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; cursor: pointer; }
.pills button[aria-pressed="true"] { background: var(--green); }
.seg button:hover:not([aria-pressed="true"]), .pills button:hover { background: rgba(25,240,106,.35); }

/* ---------- video grid ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.vcard { display: flex; flex-direction: column; background: var(--paper); text-align: left; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 14px 6px; cursor: pointer; min-width: 0; transition: background .3s; }
.vcard:hover { background: #E2E4E7; }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); border-radius: 14px; isolation: isolate; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s, transform .7s cubic-bezier(.2,.7,.2,1); }
/* 白黒サムネ(config.js の videos.mono: true のときだけ) */
.vmono .vcard__thumb img { filter: grayscale(1) contrast(1.1); }
.vcard:hover .vcard__thumb img, .vcard:focus-visible .vcard__thumb img { filter: none; transform: scale(1.04); }
.vcard__len { position: absolute; right: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; background: rgba(13,13,16,.85); color: var(--light); padding: 4px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s; }
.vcard:hover .vcard__play { opacity: 1; transform: none; }
.vcard__body { padding: 16px 4px 12px; display: flex; flex-direction: column; gap: 6px; }
.vcard__kind { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.vcard__kind b { background: var(--green); padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.vcard__dj { font-family: var(--display); font-variation-settings: 'wdth' 110; font-weight: 800; font-size: 21px; line-height: 1.15; }
.vcard__place { font-size: 13px; line-height: 1.5; }
.vcard__stat { font-family: var(--mono); font-size: 11px; color: var(--grey); }

/* ---------- photos ---------- */
.masonry { columns: 4 260px; column-gap: 12px; }
.ph { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: #D7D9DD; cursor: zoom-in; break-inside: avoid; border-radius: 6px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.ph img { width: 100%; height: auto; opacity: 0; transition: opacity .6s; }
.ph img.is-loaded { opacity: 1; }
.ph:hover { transform: translateY(-4px); }
.ph__tag { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; background: var(--paper); padding: 4px 6px; }
.ph:hover .ph__tag { background: var(--green); }
.empty { padding: 40px 0; font-size: 14px; }
.ph__no { display: none; }
.photo-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pill-btn { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; font-size: 12px; letter-spacing: .06em; cursor: pointer; }
.pill-btn[aria-pressed="true"] { background: var(--green); }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; max-width: min(78vw, 360px); padding: 0 40px 0 14px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; cursor: pointer; text-overflow: ellipsis; }
.select select.is-set { background: var(--green); }
.select select:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.select svg { position: absolute; right: 14px; pointer-events: none; }

/* 見せ方 2: コンタクトシート(フィルムのベタ焼き) */
.sheet { background: #111114; padding: 30px 24px 34px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 30px 14px; border-radius: 4px; }
.sheet .ph { margin: 0; background: transparent; padding: 14px 0 0; border-radius: 6px; transition: box-shadow .25s; }
.sheet .ph::before, .sheet .ph::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(236,237,239,.22) 7px 15px); }
.sheet .ph::before { top: 0; }
.sheet .ph::after { bottom: 22px; }
.sheet .ph img { border: 2px solid #000; filter: grayscale(.15) contrast(1.05); }
.sheet .ph:hover { transform: none; box-shadow: 0 0 0 3px var(--green); }
.sheet .ph__tag { display: none; }
.sheet .ph__no { display: flex; justify-content: space-between; gap: 8px; padding: 12px 2px 0; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: #E8A33D; }
.sheet .ph__no b { font-weight: 500; color: var(--green); }

/* 見せ方 3: リール(横に流して大きく見る) */
.reel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding-bottom: 14px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: thin; }
.reel .ph { flex: 0 0 auto; width: auto; height: clamp(300px, 64vh, 660px); margin: 0; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: #D7D9DD; }
.reel .ph img { height: 100%; width: auto; max-width: none; }
.reel .ph:hover { transform: none; }
.reel .ph__tag { left: 12px; bottom: 12px; border-radius: 999px; padding: 5px 10px; }
.reel-nav { display: flex; align-items: center; gap: 14px; font-size: 12px; font-variant-numeric: tabular-nums; }
.iconbtn--ink { color: var(--ink); border-color: var(--ink); }

/* トップ: ロゴを動画の中央に出すバージョン */
.hero__logo { display: none; }
.hero--logo .hero__logo { display: block; position: absolute; left: 50%; top: 44%; width: clamp(84px, 8.5vw, 140px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 8px 40px rgba(0,0,0,.55)); animation: logoIn 1.8s cubic-bezier(.2,.8,.2,1) both, logoFloat 8s ease-in-out 1.8s infinite; pointer-events: none; }
.hero--logo .nav__logo { visibility: hidden; }
.hero--logo .hero__copy { gap: 14px; }
.hero--logo .hero__title { font-size: clamp(34px, 4.6vw, 72px); }
.hero--logo .hero__shade { background: radial-gradient(ellipse at 50% 44%, rgba(13,13,16,.15) 0%, rgba(13,13,16,.55) 70%), linear-gradient(180deg, rgba(13,13,16,.5) 0%, rgba(13,13,16,0) 26%, rgba(13,13,16,0) 50%, rgba(13,13,16,.9) 100%); }
@keyframes logoIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.92); filter: blur(12px) drop-shadow(0 8px 40px rgba(0,0,0,.55)); } to { opacity: 1; transform: translate(-50%, -50%); filter: blur(0) drop-shadow(0 8px 40px rgba(0,0,0,.55)); } }
@keyframes logoFloat { 0%, 100% { transform: translate(-50%, -50%) } 50% { transform: translate(-50%, -53%) } }

/* ---------- events ---------- */
.etable { border-top: 2px solid var(--ink); }
.erow { position: relative; display: grid; grid-template-columns: 70px 150px minmax(0, 2fr) minmax(0, 1.4fr) 190px 40px; gap: 8px 16px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--ink); text-decoration: none; color: inherit; }
.erow--head { padding: 12px 8px; font-size: 11px; }
a.erow { transition: background .25s; }
a.erow:hover { background: var(--green); }
.erow__no, .erow__date, .erow__count { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.erow__title { font-family: var(--display); font-variation-settings: 'wdth' 115; font-weight: 800; font-size: 26px; line-height: 1.1; }
.erow__arrow { font-family: var(--mono); font-size: 18px; justify-self: end; }
.erow__peek { position: absolute; right: 100px; top: 50%; width: 220px; height: 146px; object-fit: cover; pointer-events: none; box-shadow: 0 20px 50px rgba(13,13,16,.35); opacity: 0; transform: translateY(-50%) rotate(-3deg) scale(.9); transition: opacity .3s, transform .4s cubic-bezier(.2,.7,.2,1); z-index: 2; }
a.erow:hover .erow__peek { opacity: 1; transform: translateY(-50%) rotate(2deg) scale(1); }

/* ---------- about ---------- */
.about { background: var(--ink); color: var(--light); padding: 120px var(--gutter); }
.about__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: end; }
.about__lead { margin: 0; font-family: var(--display); font-variation-settings: 'wdth' 115; font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.about__lead mark { background: linear-gradient(var(--green), var(--green)) no-repeat 0 100% / 100% 100%; color: var(--ink); padding: 0 .1em; transition: background-size .8s cubic-bezier(.7,0,.2,1), color .3s .2s; }
/* ABOUTの文字アニメーション(スクロールで見えたら再生) */
.about__lead.js-anim mark { background-size: 0% 100%; color: inherit; }
.about__lead.js-anim.is-lit mark { background-size: 100% 100%; color: var(--ink); }
.about__lead .c.is-hot { color: var(--green); }
.about__lead.js-anim .c { opacity: 0; }
.about__lead.js-anim.is-in .c { opacity: 1; }
.about__body.js-anim .c { display: inline-block; opacity: 0; white-space: pre; }
.about__body.js-anim.is-in .c { animation: fadeUp .7s cubic-bezier(.16,.84,.24,1) both; animation-delay: calc(700ms + var(--i) * 9ms); }
.about .h2.js-anim { clip-path: inset(0 100% 0 0); }
.about .h2.js-anim.is-in { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.about__body { margin: 0; max-width: 32em; font-size: 17px; line-height: 2; font-weight: 500; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; padding-bottom: 96px; }
.crew__item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 4px solid var(--green); padding-top: 16px; }
.crew__name { font-family: var(--display); font-weight: 800; font-size: 24px; }
.crew__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 6px 0 10px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); transition: box-shadow .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.crew__item:hover .crew__avatar { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--green); transform: rotate(-6deg); }
.crew__avatar--mono { display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--green); font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: 30px; }
.crew__item a { font-size: 13px; }
.ig-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 4px 6px 4px 0; }
.ig-link .ig { flex: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 64px; align-items: start; padding-bottom: 120px; }
.contact__intro { display: flex; flex-direction: column; gap: 20px; max-width: 34em; }
.contact__intro p { margin: 0; font-size: 15px; line-height: 1.9; }
.contact__alt { font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.form { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); padding: 10px 0; border-radius: 0; }
.field textarea { border: 2px solid var(--ink); padding: 12px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 2px 0 0 var(--green); }
.field textarea:focus { box-shadow: 0 0 0 2px var(--green); }
.field [aria-invalid="true"] { border-color: var(--rec); }
.field legend { margin-bottom: 8px; padding: 0; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); font-size: 13px; font-weight: 500; }
.pill input:checked + span { background: var(--green); }
.pill input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn--dark { background: var(--ink); color: var(--green); min-width: 180px; }
.btn--dark:hover { background: var(--green); color: var(--ink); }
.btn--dark[disabled] { opacity: .5; cursor: wait; transform: none; }
.form__status { margin: 0; font-size: 12px; }
.form__status.is-ok { background: var(--green); padding: 8px 12px; }
.form__status.is-err { color: #C21F33; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--light); padding: 32px var(--gutter) max(32px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; }
.foot__logo { width: 96px; height: auto; }

/* ---------- modals ---------- */
.modal { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 20px var(--gutter); border: 0; background: rgba(13,13,16,.95); color: var(--light); flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.modal[open] { display: flex; animation: fade .25s both; }
.modal::backdrop { background: rgba(13,13,16,.6); }
.modal__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.modal__video { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.ratio { width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.ratio iframe { width: 100%; height: 100%; border: 0; }
.lb__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; touch-action: none; }
html.is-locked, html.is-locked body { overflow: hidden; }
.lb__stage img { max-width: calc(100% - 140px); max-height: 100%; object-fit: contain; animation: pop .3s both; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--green); color: var(--ink); padding: 12px 18px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 100; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
dialog .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); white-space: nowrap; }

/* ---------- motion ---------- */
/* 一覧のふわっと表示(translate を使うのでホバー時の transform とぶつからない) */
.rv { opacity: 0; translate: 0 28px; transition: opacity .7s ease var(--d, 0s), translate .9s cubic-bezier(.16,.84,.24,1) var(--d, 0s), transform .4s cubic-bezier(.2,.7,.2,1), background .3s; }
.rv.is-in { opacity: 1; translate: 0 0; }
/* 動画カードは罫線を動かさず、中身(サムネと文字)だけをふわっと出す */
.vcard.rv { opacity: 1; translate: none; }
.vcard.rv > * { opacity: 0; translate: 0 24px; transition: opacity .7s ease var(--d, 0s), translate .9s cubic-bezier(.16,.84,.24,1) var(--d, 0s); }
.vcard.rv > .vcard__body { transition-delay: calc(var(--d, 0s) + 90ms); }
.vcard.rv.is-in > * { opacity: 1; translate: 0 0; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .15 } }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: scale(.96) } to { opacity: 1; transform: none } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__logo img { height: 48px; }
  .foot { flex-direction: column; justify-content: center; text-align: center; gap: 18px; padding-top: 44px; padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); }
  .foot__logo { width: 76px; }
  .about { padding-top: 80px; padding-bottom: 88px; }
  .about__inner { gap: 28px; }
  .hero--logo .hero__logo { top: 36%; width: 24vw; }
  .photo-tools { justify-content: flex-start; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 20px 0 22px 16px; border-top: 1px solid rgba(244,245,247,.14); }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__item:nth-child(-n+2) { border-top: 0; }
  .stats__latest { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__logo { position: relative; z-index: 60; }
  /* 全画面メニュー: 上から幕が下りて、項目が1つずつせり上がる */
  .nav__menu { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 96px max(24px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); background: var(--ink); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s .6s; }
  .nav__menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s; }
  .nav__menu > a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-family: var(--display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: clamp(40px, 12vw, 64px); line-height: 1.02; letter-spacing: -.02em; color: var(--light); opacity: 0; transform: translateY(60%); transition: opacity .3s, transform .3s; }
  .nav__menu.is-open > a, .nav__menu.is-open .nav__sub { opacity: 1; transform: none; transition: opacity .6s calc(260ms + var(--i) * 60ms), transform .8s cubic-bezier(.16,.84,.24,1) calc(260ms + var(--i) * 60ms); }
  .nav__menu > a:hover, .nav__menu > a:active { background: none; color: var(--green); }
  .nav__no { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; color: var(--green); transform: translateY(-1.6em); }
  .nav__sub { display: flex; gap: 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(244,245,247,.18); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; }
  .nav__sub a { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; padding: 6px 0; }
  .nav__ig { display: inline; color: var(--light); }
  .foot__lucky { display: none; }
  .erow { grid-template-columns: minmax(0, 1fr) auto; }
  .erow--head, .erow__no, .erow__peek { display: none; }
  .erow__title { grid-column: 1 / -1; order: -1; font-size: 22px; }
  .erow__venue { grid-column: 1 / -1; }
  .hero__copy { bottom: calc(64px + env(safe-area-inset-bottom)); gap: 16px; }
  .hero__place { font-size: 14px; }
  .chapters { gap: 6px; }
  .chap { padding: 10px 0; }
  .chap__meta, .chap__dj { display: none; }
  #lightbox { padding: 12px 0 0; gap: 10px; background: var(--ink); }
  #lightbox .modal__bar { padding: 0 16px; }
  .lb__stage { gap: 0; }
  #lbPrev, #lbNext { display: none; }
  .lb__stage img { max-width: 100%; max-height: 100%; }
  /* 保存ボタンは親指の届く画面下に大きく(✕の左隣) */
  #lbSave { position: fixed; left: max(16px, env(safe-area-inset-left)); right: calc(max(16px, env(safe-area-inset-right)) + 68px); bottom: max(20px, env(safe-area-inset-bottom)); min-height: 56px; border-radius: 999px; font-size: 16px; z-index: 3; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
  #lbSave:disabled { opacity: .7; }
  #lightbox .lb__stage { padding-bottom: 88px; }
  #lightbox [data-close] { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: rgba(13,13,16,.75); border-color: rgba(244,245,247,.5); z-index: 3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
/* ホバーできない端末: スクロールで中央に来たカードをカラーに */
@media (hover: none) {
  .vcard__thumb img { transition: filter .8s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
  .vcard.is-active .vcard__thumb img { filter: none; transform: scale(1.05); }
  .vcard.is-active .vcard__play { opacity: 1; transform: none; }
  .vcard.is-active .vcard__kind b { background: var(--green); box-shadow: 0 0 0 3px rgba(25,240,106,.3); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
