*,::before,::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --black:#04040c;
  --white:#ede9f4;
  --muted:#5a5270;
  --faint:#0d0b18;
  --line:rgba(237,233,244,.07);
  --line2:rgba(237,233,244,.13);
  --c-unit:#884499;
  --c-k:#BB6688;
  --c-yuki:#8888CC;
  --c-ena:#CCAA88;
  --c-amia:#DDAACC;
  --f-display:'Shippori Mincho B1',serif;
  --f-en:'Cormorant Garamond',serif;
  --f-mono:'Space Mono',monospace;
  --f-body:'Noto Serif JP',serif;
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  background:var(--black);
  color:var(--white);
  font-family:var(--f-body);
  font-weight:300;
  overflow-x:hidden;
}
body::before{
  content:'';position:fixed;inset:0;z-index:9000;
  pointer-events:none;opacity:.35;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23f)' opacity='.04'/%3E%3C/svg%3E");
}

/* ── HERO ── */
#hero{
  min-height:100svh;
  display:flex;flex-direction:column;
  justify-content:space-between;
  position:relative;overflow:hidden;
}

/* glow bg */
.glow{
  position:absolute;border-radius:50%;
  filter:blur(100px);opacity:.055;pointer-events:none;
}

.h-nav{
  display:flex;justify-content:space-between;align-items:flex-start;
  padding:2.2rem 2.8rem;position:relative;z-index:2;
}
.h-wordmark{
  font-family:var(--f-mono);
  font-size:.58rem;color:var(--muted);letter-spacing:.22em;
}
.h-clock{
  font-family:var(--f-mono);
  font-size:.58rem;color:var(--muted);letter-spacing:.18em;
  text-align:right;
}

/* タイトル — 横組み・大きく2段 */
.h-title-wrap{
  padding:0 2.8rem;
  position:relative;z-index:2;
  flex:1;
  display:flex;flex-direction:column;justify-content:center;
}
.h-title{
  font-family:var(--f-display);
  font-weight:900;
  font-size:clamp(3.8rem,10.5vw,10rem);
  line-height:.92;
  letter-spacing:-.01em;
  color:var(--white);
  white-space:nowrap;
  display:block;
}
/* 2行目はアウトライン */
.h-title-line2{
  font-family:var(--f-display);
  font-weight:900;
  font-size:clamp(3.8rem,10.5vw,10rem);
  line-height:.92;
  letter-spacing:-.01em;
  color:transparent;
  -webkit-text-stroke:1.5px rgba(237,233,244,.22);
  white-space:nowrap;
  display:block;
  margin-top:.12em;
}

.h-sub-row{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:2rem;margin-top:2.5rem;
}
.h-caption{
  font-size:.82rem;
  color:rgba(237,233,244,.38);
  line-height:2.2;
  max-width:24rem;
  font-weight:300;
}
.h-caption em{font-style:normal;color:rgba(237,233,244,.75)}

.h-bottom-row{
  display:flex;justify-content:space-between;align-items:flex-end;
  padding:2.2rem 2.8rem;position:relative;z-index:2;
}
.h-scroll{
  font-family:var(--f-mono);font-size:.55rem;
  color:var(--muted);letter-spacing:.28em;
  display:flex;align-items:center;gap:.7rem;
}
.h-scroll::after{
  content:'';width:38px;height:1px;
  background:linear-gradient(to right,var(--muted),transparent);
}
.h-handles{
  display:flex;gap:1rem;align-items:center;
}
.h-handle{
  font-family:var(--f-mono);
  font-size:.6rem;color:var(--muted);letter-spacing:.1em;
  transition:color .3s;
}
.h-handle:hover{color:var(--white)}

/* ── STATEMENT ── */
#statement{
  padding:9rem 2.8rem;
  max-width:760px;margin:0 auto;text-align:center;
}
.st{
  font-family:var(--f-display);
  font-size:clamp(1rem,1.9vw,1.35rem);
  font-weight:400;line-height:2.7;
  color:rgba(237,233,244,.4);letter-spacing:.07em;
}
.st em{font-style:normal;color:#884499}

/* ── MEMBERS ── */
#members{border-top:1px solid var(--line)}

.m-row{
  display:grid;grid-template-columns:1fr 1fr;
  border-bottom:1px solid var(--line);
  min-height:48vh;position:relative;overflow:hidden;
  transition:background .5s;
}
.m-row:hover{background:var(--faint)}

/* 背景に大きなハンドルネーム */
.m-bg{
  position:absolute;
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(5rem,14vw,13rem);
  color:transparent;-webkit-text-stroke:1px;
  pointer-events:none;user-select:none;
  line-height:1;z-index:0;
  transition:opacity .6s;opacity:0;
  letter-spacing:-.03em;
}
.m-row:hover .m-bg{opacity:1}

/* 奇数行：左に番号・名前 / 右にテキスト */
.m-left{
  padding:3rem 2.8rem;
  display:flex;flex-direction:column;justify-content:flex-end;
  position:relative;z-index:1;
  border-right:1px solid var(--line);
}
.m-right{
  padding:3rem 2.8rem;
  display:flex;flex-direction:column;justify-content:flex-end;
  position:relative;z-index:1;
}
/* 偶数行は左右を入れ替え */
.m-row.flip .m-left{order:2;border-right:none;border-left:1px solid var(--line)}
.m-row.flip .m-right{order:1}

.m-idx{
  font-family:var(--f-mono);
  font-size:.58rem;color:var(--muted);letter-spacing:.22em;
  margin-bottom:auto;
}
.m-handle{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(2rem,4.5vw,3.6rem);
  color:var(--white);letter-spacing:.02em;
  line-height:1;
  margin-bottom:.5rem;
}
.m-role{
  font-family:var(--f-mono);font-size:.56rem;
  color:var(--muted);letter-spacing:.18em;text-transform:uppercase;
  margin-bottom:1rem;
}
.m-text{
  font-size:.83rem;color:rgba(237,233,244,.45);
  line-height:2.2;
}
.m-bar{width:20px;height:1px;margin-top:1.2rem}

/* ── WORKS ── */
#works,#othermusic{padding:8rem 0;border-top:1px solid var(--line)}
.w-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  padding:0 2.8rem;margin-bottom:4rem;
}
.w-eyebrow{
  font-family:var(--f-mono);font-size:.56rem;
  color:var(--white);letter-spacing:.28em;text-transform:uppercase;
  margin-bottom:.75rem;
}
.w-title-large{
  font-family:var(--f-en);
  font-size:clamp(2.5rem,6vw,5.5rem);
  font-weight:300;font-style:italic;
  color:var(--white);letter-spacing:.02em;line-height:1;
}
.w-count{
  font-family:var(--f-mono);
  font-size:.56rem;color:var(--muted);letter-spacing:.2em;
}

.track{
  display:grid;grid-template-columns:3.5rem 1fr;
  align-items:baseline;gap:.75rem;
  padding:1.35rem 2.8rem;
  border-top:1px solid var(--line);
  transition:background .2s,padding-left .3s;
}
.track:last-child{border-bottom:1px solid var(--line)}
.track--link{
  display:grid;
  text-decoration:none;
  color:inherit;
}
.track--link:hover{background:var(--faint);padding-left:3.8rem}
.track--link::after{
  content:'↗';
  font-family:var(--f-mono);
  font-size:.55rem;
  color:var(--muted);
  align-self:center;
  opacity:0;
  transition:opacity .2s;
}
.track--link:hover::after{opacity:1}

.track:hover{background:var(--faint);padding-left:3.8rem}
.t-n{
  font-family:var(--f-mono);font-size:.56rem;
  color:var(--muted);letter-spacing:.1em;
}
.t-title{
  font-family:var(--f-body);font-size:.98rem;
  font-weight:300;color:var(--white);letter-spacing:.03em;margin-bottom:.2rem;
}
.t-sub{
  font-family:var(--f-mono);font-size:.54rem;
  color:var(--muted);letter-spacing:.08em;
}

/* ── CONCEPT ── */
#concept{
  padding:10rem 2.8rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border-top:1px solid var(--line);
}
.cp-left{
  padding-right:5rem;
}
.cp-h{
  font-family:var(--f-display);font-weight:700;
  font-size:clamp(1.7rem,3.2vw,2.8rem);
  line-height:1.5;letter-spacing:.02em;color:var(--white);
  margin-bottom:2rem;
}
.cp-body{
  font-size:.83rem;color:rgba(237,233,244,.42);
  line-height:2.5;
}
/* 右：ハンドル4名カラーグリッド */
.cp-handles{
  border-left:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  align-self:stretch;
}
.cp-handle-cell{
  background:var(--black);
  padding:2.5rem 2rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:.4rem;
  position:relative;
  overflow:hidden;
  transition:background .4s;
  text-decoration:none;
  cursor:pointer;
}
.cp-handle-cell:hover{background:var(--faint)}
.cp-handle-cell:hover .cp-handle-name{color:var(--white)}
.cp-handle-cell::before{
  content:'';
  position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--cell-color);
  opacity:.65;
}
.cp-handle-name{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(1.5rem,3vw,2.6rem);
  line-height:1;
  color:var(--cell-color);
  letter-spacing:.02em;
}
.cp-handle-role{
  font-family:var(--f-mono);
  font-size:.5rem;
  color:var(--muted);letter-spacing:.14em;text-transform:uppercase;
}

/* ── FOOTER ── */
footer{
  border-top:1px solid var(--line);
  padding:5rem 2.8rem 4rem;
  text-align:center;
}
.ft-title{
  font-family:var(--f-display);font-weight:700;
  font-size:1.3rem;color:var(--white);
  margin-bottom:2.5rem;
}
/* SNSボタン */
.ft-sns{
  display:flex;justify-content:center;
  gap:.75rem;flex-wrap:wrap;
  margin-bottom:3rem;
}
.ft-sns-btn{
  font-family:var(--f-mono);
  font-size:.58rem;letter-spacing:.12em;
  text-decoration:none;text-transform:uppercase;
  color:var(--muted);
  border:1px solid var(--line2);
  padding:.65rem 1.3rem;
  transition:color .3s,border-color .3s;
  white-space:nowrap;
}
.ft-sns-btn:hover{color:var(--white);border-color:rgba(237,233,244,.3)}
.ft-attention{
  font-size:.7rem;
  color:rgba(237,233,244,.25);
  line-height:2.1;
  max-width:640px;
  margin:0 auto 0;
  text-align:center;
}
.ft-legal{
  margin-top:2.5rem;
  border-top:1px solid var(--line);
  padding-top:2rem;
  display:flex;flex-direction:column;gap:.9rem;
  align-items:center;
}
.ft-copyright{
  font-family:var(--f-mono);
  font-size:.52rem;color:rgba(237,233,244,.18);letter-spacing:.06em;
  display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;
  justify-content:center;
}
.ft-copyright img{height:.9em;opacity:.25;vertical-align:middle}
.ft-fanmade{
  font-family:var(--f-mono);
  font-size:.52rem;color:rgba(237,233,244,.12);letter-spacing:.06em;
}
.ft-fanmade a{
  color:rgba(237,233,244,.25);text-decoration:none;
  transition:color .3s;
}
.ft-fanmade a:hover{color:var(--white)}

/* ── FADE ── */

/* ── MOBILE ── */
/* ── 480px以下: フォールバック画面 ── */
/* ── フォールバック画面（319px以下でのみ表示） ── */
#fallback{display:none}
@media(max-width:319px){
  body > *:not(#fallback){display:none !important}
  #fallback{
    display:flex !important;
    position:fixed;inset:0;
    background:#04040c;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1.2rem;
    z-index:99999;
  }
  #fallback-time{
    font-family:'Space Mono',monospace;
    font-size:3rem;
    font-weight:400;
    color:#884499;
    letter-spacing:.06em;
    line-height:1;
  }
  #fallback-label{
    font-family:'Space Mono',monospace;
    font-size:.55rem;
    color:rgba(237,233,244,.18);
    letter-spacing:.28em;
    text-transform:uppercase;
  }
}

/* ── 480〜768px ── */
@media(min-width:480px) and (max-width:768px){
  .h-nav,.h-bottom-row{padding:1.2rem 1.5rem}
  .h-title-wrap{padding:0 1.5rem}
  .h-title,.h-title-line2{font-size:clamp(2.4rem,8vw,4rem);white-space:nowrap}
  .h-sub-row{flex-direction:column;gap:1rem;margin-top:1.2rem}
  .h-side{display:none}
  .h-caption{font-size:.72rem}
  .m-row,.m-row.flip{grid-template-columns:1fr;min-height:auto}
  .m-row.flip .m-left,.m-row.flip .m-right{order:unset}
  .m-left{border-right:none;border-bottom:1px solid var(--line);padding:1.8rem 1.5rem 1.2rem}
  .m-right{padding:1.2rem 1.5rem 2rem}
  .m-row.flip .m-left{border-left:none;border-bottom:1px solid var(--line)}
  .m-bg{display:none}
  .m-handle{font-size:clamp(1.8rem,7vw,2.8rem)}
  #statement{padding:4.5rem 1.5rem}
  #concept{grid-template-columns:1fr;padding:4.5rem 1.5rem}
  .cp-left{padding-right:0;padding-bottom:2.5rem}
  .cp-handles{border-left:none;border-top:1px solid var(--line);grid-template-columns:1fr 1fr}
  .cp-handle-cell{padding:1.5rem 1.2rem}
  .cp-handle-name{font-size:clamp(1.2rem,5vw,1.8rem)}
  #works,#othermusic{padding:5rem 0}
  .w-head{padding:0 1.5rem;margin-bottom:2.5rem;flex-direction:column;gap:.4rem;align-items:flex-start}
  .track{padding:1.1rem 1.5rem}
  footer{padding:3rem 1.5rem 2rem}
}

/* ── 320〜479px ── */
@media(min-width:320px) and (max-width:479px){
  html,body{min-width:320px;overflow-x:hidden}
  .h-nav,.h-bottom-row{padding:1rem 1.2rem}
  .h-title-wrap{padding:0 1.2rem}
  .h-title,.h-title-line2{font-size:clamp(1.8rem,10vw,3rem);white-space:nowrap}
  .h-title-line2{-webkit-text-stroke-width:1px}
  .h-sub-row{flex-direction:column;gap:.8rem;margin-top:1rem}
  .h-side{display:none}
  .h-caption{font-size:.68rem;line-height:1.9}
  .h-handles{gap:.6rem}
  .h-handle{font-size:.52rem}
  .m-row,.m-row.flip{grid-template-columns:1fr;min-height:auto}
  .m-row.flip .m-left,.m-row.flip .m-right{order:unset}
  .m-left{border-right:none;border-bottom:1px solid var(--line);padding:1.5rem 1.2rem 1rem}
  .m-right{padding:1rem 1.2rem 1.8rem}
  .m-row.flip .m-left{border-left:none;border-bottom:1px solid var(--line)}
  .m-bg{display:none}
  .m-handle{font-size:clamp(1.5rem,8vw,2.2rem)}
  .m-text{font-size:.78rem;line-height:2}
  #statement{padding:3.5rem 1.2rem}
  .st{font-size:clamp(.85rem,3.5vw,1rem);line-height:2.4}
  #concept{grid-template-columns:1fr;padding:3.5rem 1.2rem}
  .cp-left{padding-right:0;padding-bottom:2rem}
  .cp-h{font-size:clamp(1.3rem,6vw,1.8rem)}
  .cp-body{font-size:.78rem}
  .cp-handles{border-left:none;border-top:1px solid var(--line);grid-template-columns:1fr 1fr}
  .cp-handle-cell{padding:1.2rem .9rem}
  .cp-handle-name{font-size:clamp(1rem,5.5vw,1.5rem)}
  .cp-handle-role{font-size:.5rem}
  #works,#othermusic{padding:3.5rem 0}
  .w-head{padding:0 1.2rem;margin-bottom:2rem;flex-direction:column;gap:.3rem;align-items:flex-start}
  .w-title-large{font-size:clamp(1.8rem,9vw,3rem)}
  .track{padding:1rem 1.2rem;grid-template-columns:2.2rem 1fr;gap:.4rem}
  .t-title{font-size:.88rem}
  .t-sub{font-size:.48rem}
  footer{padding:2.5rem 1.2rem 2rem}
  .ft{flex-direction:column;gap:1.5rem}
  .ft-title{font-size:1rem}
  .ft-links{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:.5rem .8rem}
  .ft-link{font-size:.5rem}
  .ft-copy{margin-top:1.5rem;padding-top:1rem;font-size:.42rem}
}
/* ── PLAYLIST / STORY ── */
#playlist,#story{
  padding:8rem 0;
  border-top:1px solid var(--line);
}
.pl-list{
  border-top:1px solid var(--line);
}
.pl-item{
  display:grid;
  grid-template-columns:3rem 1fr 2rem;
  align-items:center;
  gap:1.5rem;
  padding:1.8rem 2.8rem;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  transition:background .2s;
}
.pl-item:hover{background:var(--faint)}
.pl-icon{
  font-size:1rem;
  color:var(--muted);
  text-align:center;
  transition:color .2s;
}
.pl-item:hover .pl-icon{color:var(--white)}
.pl-title{
  font-family:var(--f-body);
  font-size:1rem;
  font-weight:300;
  color:var(--white);
  margin-bottom:.3rem;
}
.pl-desc{
  font-size:.78rem;
  color:rgba(237,233,244,.35);
  line-height:1.8;
}
.pl-arrow{
  font-size:.8rem;
  color:var(--muted);
  text-align:right;
  transition:color .2s, transform .2s;
}
.pl-item:hover .pl-arrow{
  color:var(--white);
  transform:translate(2px,-2px);
}

@media(min-width:480px) and (max-width:768px){
  #playlist,#story{padding:5rem 0}
  .pl-item{padding:1.5rem 1.5rem;gap:1rem}
}
@media(min-width:320px) and (max-width:479px){
  #playlist,#story{padding:3.5rem 0}
  .pl-item{padding:1.2rem 1.2rem;gap:.75rem}
  .pl-title{font-size:.9rem}
  .pl-desc{font-size:.72rem}
}
