/* Les Amis Proches 公式サイト ── 高級感（黒 × 金 × 象牙） */
:root {
  /* 明るく、シンプルに。アクセントはロゴの木目の色 */
  --black: #f6f3ee;      /* 背景（生成りの白） */
  --black-2: #eeeae3;    /* 背景（少し濃い） */
  --black-3: #e6e0d6;
  --ivory: #1f1c19;      /* 文字（墨） */
  --ivory-2: #5f574e;    /* 補足の文字 */
  --gold: #6e4f37;       /* アクセント（木目） */
  --gold-2: #4e3726;
  --gold-dim: #b8a690;
  --line: rgba(78, 55, 38, .18);
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--black); color: var(--ivory);
  font-family: var(--serif-ja); line-height: 2; letter-spacing: .06em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--ivory); }
::selection { background: var(--gold); color: #fff; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ヘッダー */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(246, 243, 238, .94); backdrop-filter: blur(8px); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif-en); font-size: 1.35rem; letter-spacing: .18em; color: var(--ivory); display: flex; align-items: center; gap: 12px; }
.brand .mono { width: 34px; height: 34px; border: 1px solid var(--gold); display: grid; place-items: center; font-size: .95rem; color: var(--gold); letter-spacing: 0; }
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--serif-en); font-size: .95rem; letter-spacing: .2em; color: var(--ivory-2); text-transform: uppercase; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--gold); transition: right .35s; }
.nav a:hover { color: var(--ivory); } .nav a:hover::after { right: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); font-family: var(--serif-en); letter-spacing: .2em; padding: 6px 14px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(246,243,238,.98); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ヒーロー */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #2a241d 0%, var(--black) 62%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(198,161,91,.18), transparent 55%); }
.keys { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(1400px, 140vw); height: 26vh; display: flex; opacity: .14; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent); }
.keys .w { flex: 1; border-right: 1px solid var(--gold-dim); position: relative; background: linear-gradient(to top, rgba(243,237,225,.25), transparent); animation: keyGlow 9s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
.keys .w.b::after { content: ""; position: absolute; top: 0; right: -32%; width: 64%; height: 60%; background: var(--black); border: 1px solid var(--gold-dim); border-top: none; z-index: 1; }
@keyframes keyGlow { 0%, 88%, 100% { background-color: transparent; } 92% { background-color: rgba(198,161,91,.35); } }
.hero-inner { position: relative; z-index: 2; padding: 0 20px; }
.hero .eyebrow { font-family: var(--serif-en); letter-spacing: .5em; font-size: .85rem; color: var(--gold); text-transform: uppercase; margin: 0 0 22px; opacity: 0; animation: fadeUp 1.4s .3s forwards; }
.hero h1 { font-family: var(--serif-en); font-weight: 300; font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1; letter-spacing: .06em; margin: 0; opacity: 0; animation: fadeUp 1.6s .6s forwards; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .kana { font-size: clamp(.9rem, 2vw, 1.05rem); letter-spacing: .6em; color: var(--ivory-2); margin: 22px 0 0; opacity: 0; animation: fadeUp 1.6s 1s forwards; }
.hero .line { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); margin: 38px auto 0; opacity: 0; animation: fadeUp 1.6s 1.4s forwards; }
.hero .scroll { font-family: var(--serif-en); letter-spacing: .4em; font-size: .72rem; color: var(--gold); margin-top: 10px; opacity: 0; animation: fadeUp 1.6s 1.6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* セクション共通 */
.section { padding: 130px 0; position: relative; }
.section.alt { background: var(--black-2); }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .en { font-family: var(--serif-en); font-weight: 300; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: .14em; margin: 0; line-height: 1.1; }
.sec-head .ja { font-size: .85rem; letter-spacing: .5em; color: var(--gold); margin: 12px 0 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 0; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: var(--gold-dim); }
.ornament span { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.lead { font-size: 1.02rem; text-align: center; color: var(--ivory-2); line-height: 2.4; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.2s ease, transform 1.2s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ABOUT */
.motto { font-family: var(--serif-en); font-style: italic; font-size: clamp(1.4rem, 3.6vw, 2.2rem); text-align: center; color: var(--gold-2); margin: 0 0 40px; letter-spacing: .08em; }
.about-text p { margin: 0 0 1.6em; text-align: justify; }
.about-note { font-size: .82rem; color: var(--ivory-2); border-top: 1px solid var(--line); padding-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 56px; }
.facts div { padding: 26px 16px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif-en); font-weight: 300; font-size: 2.6rem; color: var(--gold-2); line-height: 1.1; }
.facts span { font-size: .8rem; letter-spacing: .25em; color: var(--ivory-2); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts div + div { border-left: none; border-top: 1px solid var(--line); } }

/* MEMBERS */
.members { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 820px) { .members { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--line); padding: 0 0 34px; background: linear-gradient(180deg, var(--black-3), var(--black-2)); }
.member .portrait { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2c2620, var(--black)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.member .portrait .initial { font-family: var(--serif-en); font-weight: 300; font-size: 7rem; color: var(--gold); opacity: .55; letter-spacing: .05em; }
.member .portrait .tag { position: absolute; top: 18px; left: 18px; font-family: var(--serif-en); letter-spacing: .3em; font-size: .75rem; color: var(--gold); border: 1px solid var(--gold-dim); padding: 2px 10px; }
.member .portrait .ph { position: absolute; bottom: 14px; right: 16px; font-size: .7rem; color: var(--ivory-2); opacity: .6; letter-spacing: .1em; }
.member .body { padding: 28px 30px 0; }
.member .role { font-family: var(--serif-en); letter-spacing: .3em; color: var(--gold); font-size: .82rem; text-transform: uppercase; margin: 0; }
.member h3 { font-size: 1.7rem; font-weight: 500; margin: 4px 0 0; letter-spacing: .2em; }
.member .roman { font-family: var(--serif-en); letter-spacing: .25em; color: var(--ivory-2); font-size: .95rem; margin: 0 0 18px; }
.member .keyword { display: inline-block; font-size: .78rem; letter-spacing: .3em; border: 1px solid var(--gold-dim); color: var(--gold-2); padding: 2px 14px; margin-bottom: 18px; }
.member p { font-size: .92rem; color: var(--ivory-2); margin: 0 0 1.2em; text-align: justify; }
.member dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .86rem; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.member dt { color: var(--gold); letter-spacing: .15em; }
.member dd { margin: 0; color: var(--ivory); }

/* MUSIC */
.works { border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 20px 8px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.work:hover { background: rgba(198,161,91,.06); padding-left: 18px; }
.work .no { font-family: var(--serif-en); color: var(--gold-dim); font-size: 1.1rem; }
.work .title { font-family: var(--serif-en); font-size: 1.45rem; letter-spacing: .06em; }
.work .comp { font-size: .82rem; color: var(--ivory-2); letter-spacing: .15em; white-space: nowrap; }
.work .comp i { font-style: normal; color: var(--gold); font-family: var(--serif-en); letter-spacing: .2em; margin-right: 8px; }
.filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter button { background: none; border: 1px solid var(--line); color: var(--ivory-2); font-family: var(--serif-en); letter-spacing: .2em; padding: 6px 18px; cursor: pointer; transition: all .3s; }
.filter button[aria-pressed="true"], .filter button:hover { border-color: var(--gold); color: var(--black); background: var(--gold); }
.work.hide { display: none; }
@media (max-width: 560px) { .work { grid-template-columns: 40px 1fr; } .work .comp { grid-column: 2; } }

/* STYLE */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .styles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .styles { grid-template-columns: 1fr; } }
.style { background: var(--black); padding: 38px 26px; text-align: center; transition: background .4s; }
.style:hover { background: var(--black-3); }
.style svg { width: 54px; height: 54px; margin: 0 auto 16px; stroke: var(--gold); fill: none; stroke-width: 1.2; }
.style h3 { font-family: var(--serif-en); font-weight: 400; font-size: 1.4rem; letter-spacing: .12em; margin: 0; }
.style .ja { font-size: .8rem; color: var(--gold); letter-spacing: .3em; margin: 2px 0 14px; }
.style p { font-size: .85rem; color: var(--ivory-2); margin: 0; line-height: 1.9; text-align: left; }
.quatre { margin-top: 48px; text-align: center; font-size: .92rem; color: var(--ivory-2); }
.quatre b { color: var(--gold-2); font-weight: 500; }

/* HISTORY */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--gold-dim) 8%, var(--gold-dim) 92%, transparent); }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 18px 0; }
.timeline li::before { content: ""; position: absolute; left: 50%; top: 30px; width: 9px; height: 9px; border: 1px solid var(--gold); background: var(--black-2); transform: translateX(-50%) rotate(45deg); }
.timeline .date { text-align: right; font-family: var(--serif-en); color: var(--gold-2); font-size: 1.25rem; letter-spacing: .1em; }
.timeline .ev h4 { margin: 0; font-weight: 500; font-size: 1.05rem; letter-spacing: .12em; }
.timeline .ev p { margin: 4px 0 0; font-size: .85rem; color: var(--ivory-2); line-height: 1.9; }
.timeline li.major .ev h4 { color: var(--gold-2); }
.timeline li.major::before { background: var(--gold); }
@media (max-width: 680px) {
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 34px; }
  .timeline li::before { left: 8px; }
  .timeline .date { text-align: left; font-size: 1.05rem; }
}

/* LIVE */
.lives { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .lives { grid-template-columns: 1fr; } }
.live { border: 1px solid var(--line); padding: 34px 30px; position: relative; background: var(--black); }
.live::before, .live::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.live::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.live::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.live .num { font-family: var(--serif-en); font-style: italic; color: var(--gold); letter-spacing: .2em; margin: 0; }
.live h3 { font-family: var(--serif-en); font-weight: 400; font-size: 1.9rem; letter-spacing: .08em; margin: 2px 0 4px; line-height: 1.2; }
.live .theme { font-size: .95rem; color: var(--gold-2); margin: 0 0 16px; }
.live .meta { font-size: .85rem; color: var(--ivory-2); margin: 0 0 18px; line-height: 1.9; }
.live h4 { font-family: var(--serif-en); letter-spacing: .3em; font-size: .8rem; color: var(--gold); margin: 16px 0 6px; font-weight: 400; }
.live ol { margin: 0; padding-left: 1.4em; font-size: .88rem; line-height: 1.9; }
.live ol li::marker { color: var(--gold-dim); font-family: var(--serif-en); }
.past { margin-top: 44px; border-top: 1px solid var(--line); }
.past summary { cursor: pointer; padding: 18px 0; font-family: var(--serif-en); letter-spacing: .3em; color: var(--gold); list-style: none; text-align: center; }
.past summary::-webkit-details-marker { display: none; }
.past summary::after { content: " +"; } .past[open] summary::after { content: " −"; }
.past ul { list-style: none; margin: 0; padding: 0; }
.past li { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 16px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.past li .d { font-family: var(--serif-en); color: var(--gold-2); letter-spacing: .08em; }
.past li .p { color: var(--ivory-2); }
@media (max-width: 640px) { .past li { grid-template-columns: 1fr; gap: 0; } }

/* SCORE */
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .scores { grid-template-columns: 1fr; } }
.score { border: 1px solid var(--line); padding: 30px; background: var(--black-2); }
.score h3 { font-family: var(--serif-en); font-weight: 400; font-size: 1.9rem; margin: 0; letter-spacing: .06em; }
.score .stars { color: var(--gold); letter-spacing: .25em; font-size: .9rem; }
.score dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: .85rem; margin: 14px 0; }
.score dt { color: var(--gold); letter-spacing: .1em; }
.score dd { margin: 0; }
.score blockquote { margin: 16px 0 0; padding: 14px 18px; border-left: 1px solid var(--gold); font-size: .86rem; color: var(--ivory-2); background: rgba(198,161,91,.04); line-height: 2; }
.score .dl { display: inline-block; margin-top: 18px; border: 1px solid var(--gold); padding: 8px 22px; font-family: var(--serif-en); letter-spacing: .25em; font-size: .85rem; color: var(--gold-2); }
.score .dl.soon { opacity: .5; pointer-events: none; }
.score .dl { transition: all .3s; } .score .dl:hover { background: var(--gold); color: #fff; }
.terms { margin-top: 36px; font-size: .82rem; color: var(--ivory-2); border: 1px solid var(--line); padding: 20px 24px; line-height: 2; }
.terms b { color: var(--gold-2); font-weight: 500; }

/* LINKS / CONTACT */
.links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.links a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 12px 26px; font-family: var(--serif-en); letter-spacing: .25em; color: var(--ivory); transition: all .35s; }
.links a:hover { border-color: var(--gold); background: var(--gold); color: var(--black); }
.links svg { width: 18px; height: 18px; fill: currentColor; }
.contact { text-align: center; margin-top: 70px; }
.contact .mail { font-family: var(--serif-en); font-size: clamp(1.2rem, 3.4vw, 1.7rem); letter-spacing: .12em; border-bottom: 1px solid var(--gold-dim); padding-bottom: 4px; }

/* フッター */
.footer { border-top: 1px solid var(--line); padding: 50px 20px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 14px; }
.footer small { display: block; font-family: var(--serif-en); letter-spacing: .2em; color: var(--ivory-2); font-size: .78rem; }
.footer .sister { margin-top: 14px; font-size: .78rem; color: var(--ivory-2); }

/* 下書きの目印 */
.draft { position: fixed; left: 12px; bottom: 12px; z-index: 60; font-size: .72rem; letter-spacing: .1em; background: var(--gold); color: var(--black); padding: 3px 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } .hero * { opacity: 1 !important; } }

/* ===== 写真・ロゴを使った新しいデザイン ===== */
.brand .mark { width: 30px; height: auto; }
.header:not(.scrolled) .brand, .header:not(.scrolled) .nav a { color: #f3ede1; }
.header:not(.scrolled) .brand .mark { filter: brightness(0) invert(1); }
.header:not(.scrolled) .menu-btn { color: #f3ede1; border-color: rgba(243,237,225,.4); }
@media (max-width: 900px) { .header .nav a { color: var(--ivory) !important; } }

.hero { background: #111; min-height: min(100vh, 900px); }
.hero::before { content: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.55); transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.55)); }
.hero-inner { color: #f3ede1; }
.hero-mark { width: clamp(70px, 9vw, 110px); margin: 0 auto 26px; opacity: 0; animation: fadeUp 1.6s .3s forwards; }
.hero h1 { font-weight: 300; font-size: clamp(2.4rem, 7vw, 5.2rem); letter-spacing: .14em; color: #f3ede1; animation-delay: .7s; }
.hero .eyebrow { color: #d9cdb8; margin: 22px 0 0; letter-spacing: .45em; animation-delay: 1.1s; line-height: 1.8; }
.hero .scroll { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; z-index: 2; color: #d9cdb8; margin: 0; animation-delay: 1.6s; }
.hero .scroll::before { content: ""; display: block; width: 1px; height: 46px; background: linear-gradient(transparent, #d9cdb8); margin: 0 auto 10px; }

.motto { color: var(--gold); }
.member { background: #fff; }
.member .portrait { aspect-ratio: 7 / 5; background: #222; }
.member .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: opacity .8s ease, filter .8s ease; }
.member .portrait img.side { opacity: 0; }
.member:hover .portrait img { filter: grayscale(0); }
.member:hover .portrait img.side { opacity: 1; }
.member .keyword { color: var(--gold); }
.work:hover { background: rgba(110,79,55,.05); }
.filter button[aria-pressed="true"], .filter button:hover { color: #fff; }
.style { background: var(--black); }
.style:hover { background: #fff; }
.live { background: #fff; }
.live h3 { font-family: var(--serif-ja); font-size: 1.35rem; letter-spacing: .12em; margin: 6px 0 10px; }
.score { background: #fff; }
.links a:hover { color: #fff; }
.footer-logo { width: 120px; margin: 0 auto 18px; }
.draft { color: #fff; }
.interlude { position: relative; height: 54vh; min-height: 320px; overflow: hidden; }
.interlude img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); }
.interlude p { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center; color: #f3ede1; font-family: var(--serif-en); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3.6vw, 2.4rem); letter-spacing: .1em; padding: 0 20px; }
.interlude { height: clamp(300px, 46vw, 520px); min-height: 0; }
.interlude img { object-position: center 28%; filter: grayscale(1) brightness(.55) contrast(1.1); }

/* 試聴 */
.work .title { position: relative; }
.play { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s; padding: 0; }
.play span { width: 0; height: 0; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.play:hover { background: var(--gold); } .play:hover span { border-left-color: #fff; }
.work.playing .play { background: var(--gold); }
.work.playing .play span { width: 10px; height: 12px; border: none; border-left: 3px solid #fff; border-right: 3px solid #fff; margin: 0; }
.work .bar { display: none; position: relative; height: 3px; background: var(--line); margin-top: 8px; cursor: pointer; }
.work .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); transition: width .25s linear; }
.work.playing .bar, .work.paused .bar { display: block; }
.work .time { display: block; font-style: normal; font-family: var(--serif-en); letter-spacing: .1em; color: var(--gold); text-align: right; }
.work.playing .title, .work.paused .title { color: var(--gold-2); }

.work .comp { font-family: var(--serif-en); font-size: .95rem; letter-spacing: .1em; }
.work .comp i { font-style: italic; letter-spacing: .08em; color: var(--ivory-2); margin-right: 6px; }

/* ===== 曲一覧：コンパクトに（2列・1行ずつ） ===== */
.works { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: none; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }
.work { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); position: relative; }
.work:hover { padding-left: 6px; }
.work .no { font-size: .95rem; text-align: center; }
.work .title { font-size: 1.15rem; line-height: 1.4; }
.work .comp { font-size: .78rem; letter-spacing: .14em; color: var(--ivory-2); }
.play { width: 30px; height: 30px; }
.play span { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; margin-left: 2px; }
.work.playing .play span { width: 8px; height: 10px; }
/* 再生中のバーと時間は、行の下にうすく重ねる（高さを増やさない） */
.work .bar { position: absolute; left: 52px; right: 6px; bottom: -1px; height: 2px; margin: 0; display: block; background: transparent; }
.work.playing .bar, .work.paused .bar { background: var(--line); }
.work .time { position: absolute; right: 6px; bottom: 4px; font-size: .68rem; display: none; }
.work.playing .time, .work.paused .time { display: block; }
.work.playing .comp, .work.paused .comp { visibility: hidden; }
.works-note { text-align: center; font-family: var(--serif-en); font-size: .82rem; letter-spacing: .12em; color: var(--ivory-2); margin-top: 26px; }
.work .title { position: static; }
@media (max-width: 560px) {
  .work { grid-template-columns: 30px 1fr auto; }
  .work .comp { grid-column: auto; }
  .work .title { font-size: 1.05rem; }
}

/* =========================================
   動きと仕掛け（上品に、控えめに）
   ========================================= */
/* オープニング */
#intro { position: fixed; inset: 0; z-index: 200; background: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); }
#intro img { width: 84px; opacity: 0; animation: introMark 1.6s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
#intro span { font-family: var(--serif-en); letter-spacing: .5em; font-size: .9rem; color: var(--gold); opacity: 0; animation: fadeUp 1.2s .8s forwards; padding-left: .5em; }
#intro::after { content: ""; position: absolute; left: 50%; bottom: 38%; width: 0; height: 1px; background: var(--gold); translate: -50% 0; animation: introLine 1.4s .6s ease forwards; }
#intro.lift { transform: translateY(-100%); }
@keyframes introMark { from { opacity: 0; transform: scale(.85); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes introLine { to { width: 160px; } }
.intro-lock body { overflow: hidden; }
.intro-on .hero .ch { animation-delay: calc(2.6s + var(--k) * .06s); }
.intro-on .hero-mark { animation-delay: 2.3s; } .intro-on .hero .eyebrow { animation-delay: 3.1s; } .intro-on .hero .scroll { animation-delay: 3.5s; }

/* 文字が1文字ずつ浮かぶ */
.ch { display: inline-block; }
.hero h1 { opacity: 1 !important; animation: none !important; }
.hero h1 .ch { opacity: 0; filter: blur(8px); transform: translateY(.3em); animation: chIn 1.4s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.6s + var(--k) * .06s); }
@keyframes chIn { to { opacity: 1; filter: none; transform: none; } }
.js .sec-head .en .ch { opacity: 0; transform: translateY(.5em) rotate(4deg); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--k) * .045s); }
.js .sec-head.in .en .ch { opacity: 1; transform: none; }
.js .sec-head .ornament::before, .js .sec-head .ornament::after { width: 0; transition: width 1.2s .5s ease; }
.js .sec-head.in .ornament::before, .js .sec-head.in .ornament::after { width: 60px; }
.js .sec-head .ornament span { transform: rotate(45deg) scale(0); transition: transform .8s .9s cubic-bezier(.3, 1.6, .5, 1); }
.js .sec-head.in .ornament span { transform: rotate(45deg) scale(1); }

/* トップ写真：奥行き */
.hero-bg { translate: 0 0; transform: scale(1.12) translate(var(--mx, 0), var(--my, 0)); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); animation: heroZoom2 20s ease-out forwards; }
@keyframes heroZoom2 { from { scale: 1.08; } to { scale: 1; } }
.hero-mark { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.interlude img { height: 130%; margin-top: -15%; }

/* 読んだ位置の線 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; }

/* カーソル */
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor-ring, .has-cursor .cursor-dot { opacity: 1; }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--gold); transition: opacity .3s, width .35s, height .35s, margin .35s, background .35s; mix-blend-mode: multiply; }
.cursor-ring.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(110, 79, 55, .08); }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--gold); }

/* 吸い寄せられるボタン */
.links a, .score .dl, .filter button { transition: transform .4s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s, border-color .3s; }

/* メンバー写真の傾きと光 */
.member .portrait { transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.member .portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 240, 210, .22), transparent 55%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.member:hover .portrait::after { opacity: 1; }
.member { transition: box-shadow .6s, transform .6s; }
.member:hover { box-shadow: 0 30px 60px -30px rgba(40, 28, 18, .35); transform: translateY(-4px); }

/* 曲の行：線がすっと伸びる */
.work { overflow: hidden; }
.work::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.work:hover::after { width: 100%; }
.work .title { transition: letter-spacing .5s, color .3s; }
.work:hover .title { letter-spacing: .1em; }
.js .works.reveal .work { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
.js .works.reveal.in .work { opacity: 1; transform: none; }
.js .works.reveal.in .work:nth-child(n) { transition-delay: calc(var(--d, 0) * 1s); }
.work.playing .title::after { content: ""; display: inline-block; width: 14px; height: 12px; margin-left: 10px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 2px 40% no-repeat, linear-gradient(var(--gold), var(--gold)) 4px 100% / 2px 80% no-repeat, linear-gradient(var(--gold), var(--gold)) 8px 100% / 2px 60% no-repeat, linear-gradient(var(--gold), var(--gold)) 12px 100% / 2px 30% no-repeat; animation: eqMini .9s steps(3) infinite; }
@keyframes eqMini { 33% { background-size: 2px 80%, 2px 40%, 2px 100%, 2px 60%; } 66% { background-size: 2px 60%, 2px 100%, 2px 30%, 2px 90%; } }

/* 年表：線が伸びて、点が灯る */
.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 2.4s cubic-bezier(.2, .8, .2, 1); }
.js .timeline.in::before { transform: scaleY(1); }
.js .timeline li { opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s; }
.js .timeline.in li { opacity: 1; transform: none; }
.timeline li.major::before { box-shadow: 0 0 0 0 rgba(110, 79, 55, .4); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110, 79, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 79, 55, 0); } }

/* ライブのカード：角の線が伸びる */
.live::before, .live::after { transition: width .7s cubic-bezier(.2, .8, .2, 1), height .7s cubic-bezier(.2, .8, .2, 1); }
.live:hover::before, .live:hover::after { width: calc(100% + 1px); height: calc(100% + 1px); }

/* 鍵盤の区切り */
.keyboard-wrap { max-width: 920px; margin: 0 auto; padding: 70px 20px 10px; text-align: center; }
.keyboard { display: flex; height: 64px; border-top: 1px solid var(--gold-dim); position: relative; cursor: pointer; user-select: none; }
.key { flex: 1; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--gold-dim); background: linear-gradient(#fffdf9, #f2ede5); border-radius: 0 0 3px 3px; transition: transform .25s, background .25s; transform-origin: top; }
.key:first-child { border-left: 1px solid var(--line); }
.key.has-black::after { content: ""; position: absolute; top: 0; right: -30%; width: 60%; height: 58%; background: linear-gradient(#3a2e25, #1f1a16); border-radius: 0 0 2px 2px; z-index: 1; }
.key.down { animation: keyDown .6s ease; }
@keyframes keyDown { 0% { transform: scaleY(.96); background: linear-gradient(#efe4d2, #e2d2b9); } 100% { transform: none; } }
.kb-hint { font-family: var(--serif-en); font-style: italic; letter-spacing: .2em; font-size: .8rem; color: var(--ivory-2); margin: 12px 0 0; transition: opacity .4s; }
.keyboard.armed + .kb-hint { opacity: 0; }

/* 画面下の小さなプレーヤー */
#mini-player { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: rgba(31, 28, 25, .92); color: #f3ede1; backdrop-filter: blur(8px); border: 1px solid rgba(198, 161, 91, .4); transform: translateY(140%); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s; max-width: calc(100vw - 40px); }
#mini-player.show { transform: none; opacity: 1; }
.mp-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c6a15b; background: #c6a15b; display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.mp-btn span { width: 8px; height: 10px; border-left: 3px solid #1f1c19; border-right: 3px solid #1f1c19; }
#mini-player.paused .mp-btn span { width: 0; height: 0; border-right: none; border-left: 9px solid #1f1c19; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.mp-go { background: none; border: none; color: inherit; text-align: left; cursor: pointer; padding: 0; font-family: inherit; display: flex; flex-direction: column; min-width: 0; }
.mp-title { font-family: var(--serif-en); font-weight: 400; font-size: 1.05rem; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-comp { font-family: var(--serif-en); font-size: .72rem; letter-spacing: .2em; color: #c6a15b; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 2px; background: #c6a15b; height: 30%; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
#mini-player.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.draft { transition: opacity .3s; }
#mini-player.show ~ .draft, .draft:has(~ #mini-player.show) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .ch, .hero h1 .ch, .js .sec-head .en .ch { opacity: 1 !important; filter: none !important; transform: none !important; }
  .js .timeline li, .js .works.reveal .work { opacity: 1; transform: none; }
  .js .timeline::before { transform: none; }
}

/* 楽譜のボックス：2つの大きさをそろえる */
.scores { align-items: stretch; }
.score { display: flex; flex-direction: column; height: 100%; }
.score blockquote { flex: 1; font-size: .82rem; line-height: 1.95; letter-spacing: .04em; }
.score .dl { align-self: flex-start; }
.score dl { font-size: .82rem; }

/* 念のため：一定時間たったら、トップの文字は必ず見える状態にする */
.fx-done .hero h1 .ch, .fx-done .hero-mark, .fx-done .hero .eyebrow, .fx-done .hero .scroll { opacity: 1 !important; filter: none !important; transform: none; }

/* 歩み：全体を小さく */
#history .container { max-width: 680px; }
.timeline li { gap: 36px; padding: 8px 0; }
.timeline li::before { top: 17px; width: 7px; height: 7px; }
.timeline .date { font-size: .95rem; letter-spacing: .08em; }
.timeline .ev h4 { font-size: .9rem; letter-spacing: .08em; }
.timeline .ev p { font-size: .78rem; line-height: 1.7; margin-top: 0; }
@media (max-width: 680px) { .timeline li { padding-left: 28px; } .timeline .date { font-size: .85rem; } }
.live h3.num { font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: 1.9rem; letter-spacing: .1em; color: var(--gold-2); margin: 0 0 10px; }
.live h3.num { font-size: 1.6rem; line-height: 1.3; margin-bottom: 4px; }
.live .kind { font-size: .85rem; letter-spacing: .2em; color: var(--gold); margin: 0 0 14px; }

/* 歩み：2列にして、1項目を2行（日付・見出し／説明）に */
#history .container { max-width: 980px; }
.timeline { columns: 2; column-gap: 56px; }
.timeline::before, .js .timeline::before { display: none; }
.timeline li { break-inside: avoid; display: grid; grid-template-columns: 5.2em 1fr; gap: 0 14px; padding: 9px 0 9px 16px; border-left: 1px solid var(--line); margin: 0; }
.timeline li::before { left: -4px; top: 16px; transform: rotate(45deg); }
.timeline .date { text-align: left; font-size: .9rem; line-height: 1.6; }
.timeline .ev h4 { font-size: .88rem; line-height: 1.6; }
.timeline .ev p { font-size: .76rem; line-height: 1.6; color: var(--ivory-2); }
@media (max-width: 760px) { .timeline { columns: 1; } .timeline li { padding-left: 16px; } }

/* 文章の改行を整える（行末に1〜2文字だけ残らないように、言葉の切れ目で折り返す） */
p, dd, blockquote, li, .ev p { text-wrap: pretty; word-break: auto-phrase; line-break: strict; }
h1, h2, h3, h4, .lead, .motto, .live .meta { text-wrap: balance; word-break: auto-phrase; }
.about-text p, .member p { text-align: left; }
.terms { text-wrap: pretty; }
.ph { white-space: nowrap; }

/* About：指定の位置で改行（パソコン）。スマホでは自然に折り返す */
#about .container { max-width: 860px; }
.about-text p { text-wrap: wrap; }
@media (max-width: 760px) { br.pc { display: none; } }
.about-text p { text-align: center; }

/* メンバー紹介：言葉ごとの改行はせず、箱いっぱいに流し込む */
.member p { text-wrap: wrap; word-break: normal; line-break: strict; text-align: justify; }
.member p .ph { white-space: normal; }

/* ===== 追加の動き ===== */
/* ふわっと：はっきりめに（ぼかしから浮かぶ） */
.js .reveal { transform: translateY(46px); filter: blur(6px); transition: opacity 1.3s cubic-bezier(.2,.8,.2,1), transform 1.3s cubic-bezier(.2,.8,.2,1), filter 1.3s; }
.js .reveal.in { filter: none; }
.js .member.from-left { transform: translateX(-70px); } .js .member.from-right { transform: translateX(70px); }
.js .live.from-left { transform: translateX(-60px); } .js .live.from-right { transform: translateX(60px); }
.js .member.reveal.in, .js .live.reveal.in { transform: none; }
.js .score.reveal { transform: translateY(60px) rotateX(18deg); transform-origin: bottom; transition-delay: var(--l, 0s); }
.js .score.reveal.in { transform: none; }

/* About：1行ずつ */
.about-text .line { display: inline-block; }
.js .about-text.reveal { filter: none; transform: none; }
.js .about-text .line { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 1.1s, transform 1.1s cubic-bezier(.2,.8,.2,1), filter 1.1s; transition-delay: var(--l); }
.js .about-text.in .line { opacity: 1; transform: none; filter: none; }
@media (max-width: 760px) { .about-text .line { display: inline; } }

/* 年表：1つずつ */
.js .timeline li { transition-delay: var(--l, 0s); transform: translateX(-20px); }
.js .timeline.in li { transform: none; }

/* 曲の行：左から順に */
.js .works.reveal { filter: none; transform: none; }
.js .works.reveal .work { transform: translateX(-24px); }

/* 五線の線 */
.staff { width: 140px; height: 22px; margin: 0 auto 18px; display: flex; flex-direction: column; justify-content: space-between; }
.staff i { display: block; height: 1px; background: var(--gold-dim); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.staff i:nth-child(2) { transition-delay: .08s; } .staff i:nth-child(3) { transition-delay: .16s; } .staff i:nth-child(4) { transition-delay: .24s; } .staff i:nth-child(5) { transition-delay: .32s; }
.sec-head.in .staff i, html:not(.js) .staff i { transform: none; }

/* 間奏の一文 */
.interlude p .ich { display: inline-block; opacity: 0; transform: translateY(.6em); filter: blur(6px); transition: opacity .9s, transform .9s, filter .9s; transition-delay: calc(var(--k) * .05s + .2s); }
.interlude.in p .ich { opacity: 1; transform: none; filter: none; }

/* 音符がゆっくり舞う */
.notes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.notes span { position: absolute; bottom: -40px; left: var(--x); font-family: var(--serif-en); font-size: calc(22px * var(--s)); color: rgba(243, 237, 225, .35); animation: noteUp var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes noteUp { 0% { transform: translateY(0) rotate(-10deg); opacity: 0; } 15% { opacity: 1; } 50% { transform: translateY(-50vh) translateX(24px) rotate(10deg); } 90% { opacity: .8; } 100% { transform: translateY(-105vh) translateX(-10px) rotate(-6deg); opacity: 0; } }
.interlude .notes span { color: rgba(243, 237, 225, .28); }

/* メンバー写真：画面に入ると、白黒からゆっくり色づいて戻る */
.js .member.reveal.in .portrait img:not(.side) { animation: tint 2.6s .6s ease both; }
@keyframes tint { 0% { filter: grayscale(1); } 50% { filter: grayscale(0); } 100% { filter: grayscale(1) contrast(1.05); } }

/* ダウンロードのボタンに光が走る */
.score .dl { position: relative; overflow: hidden; }
.score .dl::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(198,161,91,.35), transparent); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* フッターのロゴ */
.footer-logo { opacity: 0; transform: translateY(20px) scale(.92); transition: opacity 1.4s, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.footer.in .footer-logo { opacity: 1; transform: none; }

/* 曲の行：再生ボタンが息づく */
.work.has-audio:not(.playing) .play { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(110,79,55,.25); } 50% { box-shadow: 0 0 0 6px rgba(110,79,55,0); } }

@media (prefers-reduced-motion: reduce) {
  .notes { display: none; }
  .js .about-text .line, .interlude p .ich, .footer-logo, .staff i { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===== 楽譜：試し読み・購入のお問い合わせ ===== */
.preview { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 16px; }
.pv { padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; position: relative; overflow: hidden; aspect-ratio: 989 / 1400; transition: transform .4s, box-shadow .4s; }
.pv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pv:hover { transform: translateY(-4px); box-shadow: 0 14px 24px -14px rgba(40,28,18,.4); }
.pv-more { font-family: var(--serif-en); font-size: .74rem; letter-spacing: .14em; color: var(--ivory-2); line-height: 1.6; padding-bottom: 6px; }
.score .buy { cursor: pointer; background: transparent; font: inherit; }
.score .dl.buy { font-family: var(--serif-ja); letter-spacing: .2em; }
.lb { border: none; padding: 0; background: transparent; max-width: min(760px, 94vw); max-height: 94dvh; overflow: visible; }
.lb::backdrop { background: rgba(20, 16, 12, .78); }
.lb img { max-height: 84dvh; width: auto; margin: 0 auto; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.lb > p { text-align: center; color: #f3ede1; font-family: var(--serif-en); letter-spacing: .2em; margin: 12px 0 0; font-size: .85rem; }
.lb-close { position: absolute; top: -16px; right: -16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); background: var(--black); color: var(--ivory); font-size: 1.2rem; cursor: pointer; }
.form-dlg { width: min(560px, 94vw); }
.buy-form { background: var(--black); border-top: 3px solid var(--gold); padding: 30px 30px 26px; max-height: 88dvh; overflow-y: auto; }
.buy-form h3 { font-weight: 500; letter-spacing: .14em; margin: 0 0 4px; font-size: 1.15rem; }
.buy-form .note { font-size: .82rem; color: var(--ivory-2); margin: 0 0 18px; }
.buy-form fieldset { border: 1px solid var(--line); padding: 10px 16px 6px; margin: 0 0 14px; }
.buy-form legend { font-size: .85rem; padding: 0 6px; }
.buy-form fieldset label { display: inline-flex; gap: 6px; align-items: center; margin-right: 18px; font-family: var(--serif-en); font-size: 1.05rem; }
.buy-form .f { display: block; font-size: .85rem; margin-bottom: 4px; }
.buy-form .f input, .buy-form .f select, .buy-form .f textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid var(--line); background: #fff; color: var(--ivory); }
.buy-form .f input:focus, .buy-form .f select:focus, .buy-form .f textarea:focus { outline: 1px solid var(--gold); }
.buy-form .req { font-size: .68rem; color: var(--gold); margin-left: 8px; letter-spacing: .1em; }
.buy-form .err { color: #a8412d; font-size: .78rem; margin: 0 0 8px; min-height: 0; }
.buy-form .send { margin-top: 12px; width: 100%; padding: 12px; border: 1px solid var(--gold); background: var(--gold); color: #fff; font-family: var(--serif-ja); letter-spacing: .3em; cursor: pointer; transition: background .3s, color .3s; }
.buy-form .send:hover { background: transparent; color: var(--gold); }
.buy-form .send:disabled { opacity: .5; }
.form-status { font-size: .85rem; margin: 12px 0 0; text-align: center; }
.form-status.done { color: var(--gold-2); } .form-status.ng { color: #a8412d; }
.hp { position: absolute; left: -9999px; }
/* ホール写真の一文：横一列に（1文字ずつの動きはそのまま） */
.interlude p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.buy-form input[type="checkbox"] { accent-color: var(--gold); }

/* ===== 画像を保存しにくく ===== */
img, .photo { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.portrait img, .hero-bg, .interlude img, .footer-logo, .brand .mark, .hero-mark { pointer-events: none; }

/* ===== ギャラリー：ページの飾りとして、小さな写真を細かく敷き詰める ===== */
#gallery { padding-top: 70px; padding-bottom: 70px; }
#gallery .sec-head { margin-bottom: 28px; }
.album { display: flex; flex-wrap: wrap; gap: 4px; max-width: 980px; margin: 0 auto; }
.print { margin: 0; height: 74px; flex: 1 1 calc(74px * var(--ar)); max-width: calc(var(--w) * 1.4); position: relative; overflow: hidden; }
.print::after { content: ""; position: absolute; inset: 0; } /* 写真の上に透明な板（保存しにくく） */
.print .photo { width: 100%; height: 100%; background-size: cover; background-position: center; filter: grayscale(.35) brightness(.78); transition: filter .5s; }
.print:hover .photo { filter: none; }
.js .album .print { opacity: 0; transition: opacity 1s; transition-delay: var(--d); }
.js .album.in .print { opacity: 1; }
@media (max-width: 600px) { .print { height: 52px; flex-basis: calc(52px * var(--ar)); } .album { gap: 3px; } }

/* ===== ライブ：ボックスを押すと詳細 ===== */
.live[data-live] { cursor: pointer; }
.live[data-live]:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.live-more { display: inline-flex; gap: .5em; align-items: center; font-family: var(--serif-en); font-size: .78rem; letter-spacing: .3em; color: var(--gold); border-bottom: 1px solid var(--gold-dim); padding-bottom: 2px; transition: gap .4s, color .4s; }
.live:hover .live-more { gap: 1em; color: var(--gold-2); }
.live-dlg { width: min(560px, 92vw); }
.live-dlg .ld-body { background: var(--black-2, #110f0e); border: 1px solid rgba(198, 161, 91, .4); padding: 40px 36px 34px; color: var(--ivory, #eee7d8); max-height: 86dvh; overflow-y: auto; }
.ld-num { font-family: var(--serif-en); font-style: italic; font-size: 1.6rem; letter-spacing: .08em; color: var(--gold-2); margin: 0; line-height: 1.3; }
.ld-kind { font-size: .8rem; letter-spacing: .2em; color: var(--gold); margin: 4px 0 18px; }
.ld-theme { font-family: var(--serif-ja); font-size: 1.05rem; letter-spacing: .12em; margin: 0 0 22px; padding-left: 14px; border-left: 1px solid var(--gold); }
.ld-info { display: grid; grid-template-columns: 4em 1fr; gap: 8px 12px; margin: 0 0 28px; font-size: .88rem; line-height: 1.7; }
.ld-info dt { color: var(--gold); letter-spacing: .2em; }
.ld-info dd { margin: 0; color: var(--ivory-2); }
.ld-sl-btn { width: 100%; display: flex; align-items: baseline; gap: 14px; background: none; border: none; border-top: 1px solid rgba(198, 161, 91, .3); border-bottom: 1px solid rgba(198, 161, 91, .3); padding: 14px 4px; color: var(--ivory); font-family: var(--serif-en); font-size: 1.05rem; letter-spacing: .25em; cursor: pointer; text-align: left; }
.ld-sl-btn span { font-family: var(--serif-ja); font-size: .75rem; letter-spacing: .15em; color: var(--ivory-2); }
.ld-sl-btn i { margin-left: auto; font-style: normal; color: var(--gold); transition: transform .4s; }
.ld-sl-btn[aria-expanded="true"] i { transform: rotate(45deg); }
.ld-sl-btn:hover { color: var(--gold-2); }
.ld-sl { padding: 6px 4px 0; animation: ldIn .5s ease; }
@keyframes ldIn { from { opacity: 0; transform: translateY(-6px); } }
.ld-sl h5 { font-family: var(--serif-ja); font-weight: 500; font-size: .8rem; letter-spacing: .3em; color: var(--gold); margin: 20px 0 6px; }
.ld-sl ol { margin: 0; padding-left: 1.8em; font-family: var(--serif-en); font-size: .98rem; line-height: 1.95; color: var(--ivory); }
.ld-sl ol li::marker { color: var(--gold-dim); font-size: .8em; }
@media (max-width: 600px) { .live-dlg .ld-body { padding: 32px 22px 26px; } }
@media (max-width: 600px) { .live-dlg .lb-close { right: 6px; top: 6px; width: 34px; height: 34px; } }
/* メドレーの中身（小さく、細い線でまとめる） */
.ld-sl .medley { list-style: none; margin: 4px 0 8px; padding: 2px 0 2px 14px; border-left: 1px solid var(--gold-dim); display: flex; flex-wrap: wrap; gap: 0 4px; font-size: .8rem; line-height: 1.8; color: var(--ivory-2); }
.ld-sl .medley li:not(:last-child)::after { content: " ／"; color: var(--gold-dim); }
/* 試し読み：4ページ */
.preview { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pv-more { grid-column: 1 / -1; text-align: right; padding: 2px 0 0; }

/* ===== トップの「Les Amis Proches」：レッドカーペット色の光が L → s へ流れる ===== */
.hero h1 { position: relative; }
.hero h1::after {
  content: attr(aria-label); position: absolute; inset: 0; pointer-events: none;
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, transparent 0 41%, #5e0611 43.5%, #9c0f1d 46%, #cf2236 48.5%, #ffe2cf 50%, #cf2236 51.5%, #9c0f1d 54%, #5e0611 56.5%, transparent 59% 100%);
  background-size: 320% 100%; background-position: 100% 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(190, 20, 40, .55)) drop-shadow(0 0 24px rgba(150, 10, 30, .35));
  opacity: 0;
}
.hero h1.shine::after { animation: carpetShine 2.6s cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes carpetShine {
  0% { background-position: 100% 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { background-position: 0% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero h1::after { display: none; } }

/* メンバー写真（正面）：ピアノのふちの高さを二人でそろえる
   安藤の写真はふちが少し下にあるので、鳥居の写真を上を基準に少しだけ大きくして合わせる */
.member .portrait img[src$="torii.jpg"] { transform: scale(1.1); transform-origin: 50% 0; }

/* ===== ギャラリー：3段の写真がゆっくり流れ続ける（上・下段は左へ、中段は右へ） ===== */
.album.marquee { display: block; max-width: 980px; margin: 0 auto; overflow: hidden; }
.g-row { overflow: hidden; margin-bottom: 4px; }
.g-row:last-child { margin-bottom: 0; }
.g-track, .g-dup { display: flex; gap: 4px; width: max-content; }
.g-track { animation: gLeft var(--t) linear infinite; }
.g-right .g-track { animation-name: gRight; }
.g-dup { padding-left: 4px; }
.marquee .print { flex: 0 0 auto; width: calc(74px * var(--ar)); max-width: none; height: 74px; }
@keyframes gLeft { from { transform: translateX(0); } to { transform: translateX(calc(-100% / 3)); } }
@keyframes gRight { from { transform: translateX(calc(-100% / 3)); } to { transform: translateX(0); } }
@media (max-width: 600px) { .marquee .print { width: calc(52px * var(--ar)); height: 52px; } }

/* 背景の音楽のボタン（左下） */
.bgm-btn { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(10, 9, 9, .7); border: 1px solid rgba(198, 161, 91, .35); color: var(--ivory-2, #b3aa9a); font-family: var(--serif-en); font-size: .68rem; letter-spacing: .25em; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s, color .3s; }
.bgm-btn:hover { border-color: var(--gold, #c6a15b); color: var(--gold-2, #e3c88e); }
.bgm-btn .bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.bgm-btn .bars i { width: 2px; height: 3px; background: var(--gold, #c6a15b); }
.bgm-btn.on .bars i { animation: bgmBar 1s ease-in-out infinite alternate; }
.bgm-btn.on .bars i:nth-child(2) { animation-delay: -.3s; } .bgm-btn.on .bars i:nth-child(3) { animation-delay: -.6s; } .bgm-btn.on .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bgmBar { from { height: 3px; } to { height: 12px; } }
@media (max-width: 600px) { .bgm-btn { left: 10px; bottom: 10px; padding: 6px 10px; } }

/* ===== お楽しみコーナー（トップページの一番下・おまけ） ===== */
#fun { padding-top: 70px; padding-bottom: 80px; }
#fun .sec-head { margin-bottom: 28px; }
.fun-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .fun-cards { grid-template-columns: 1fr; } }
.fun-card { position: relative; display: block; padding: 22px 22px 20px; border: 1px solid rgba(198, 161, 91, .28); background: var(--lacquer, #111); text-decoration: none; color: var(--ivory); transition: border-color .4s, transform .4s; }
.fun-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.fun-card b { display: block; font-weight: 500; font-size: 1.1rem; letter-spacing: .15em; }
.fun-card small { display: block; font-family: var(--serif-en); color: var(--gold); letter-spacing: .2em; font-size: .78rem; margin: 2px 0 10px; }
.fun-card span { display: block; font-size: .82rem; color: var(--ivory-2); line-height: 1.8; }
.fun-card::after { content: "›"; position: absolute; right: 18px; top: 18px; color: var(--gold); font-size: 1.3rem; transition: transform .4s; }
.fun-card:hover::after { transform: translateX(4px); }

/* 言語の切り替え（JP / EN） */
.lang-sw { display: inline-flex; align-items: center; gap: 0; margin-left: 8px; border: 1px solid rgba(198, 161, 91, .45); font-family: var(--serif-en); font-size: .72rem; letter-spacing: .15em; }
.lang-sw a, .lang-sw b { padding: 3px 9px; font-weight: 400; text-decoration: none; }
.lang-sw b { background: var(--gold, #c6a15b); color: #0a0909; }
.lang-sw a { color: var(--ivory, #eee7d8); }
.lang-sw a:hover { color: var(--gold-2, #e3c88e); }
@media (max-width: 900px) { .lang-sw { margin: 10px 0 0; } }
.brand { white-space: nowrap; }
/* ヘッダー：ロゴとメニューが重ならないように（どの画面の幅でも） */
.header .container { gap: 28px; }
.brand { flex-shrink: 0; }
@media (min-width: 901px) { .nav { gap: clamp(14px, 1.5vw, 24px) !important; flex-wrap: nowrap; } .nav a { letter-spacing: .14em !important; font-size: .74rem !important; white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 980px) { .brand { font-size: 0 !important; gap: 0 !important; } }
/* 曲の一覧：すべての曲に通し番号、試聴ボタンは右はし */
.work { grid-template-columns: 30px 1fr auto 34px !important; }
.work .play-none { width: 34px; }
@media (max-width: 560px) { .work .comp { grid-column: auto; } }
