@charset "utf-8";

/*
  style.css
  色・余白・見た目を管理するファイル。
  まず色を変えるなら :root を編集。
*/

:root{
  --bg:#030914;
  --panel:#06111e;
  --line:rgba(138,210,255,.24);
  --line-soft:rgba(255,255,255,.10);
  --text:#f7fbff;
  --muted:#a3b7ca;
  --cyan:#87dcff;
  --blue:#76aaff;
  --pink:#ff7fc1;
  --shadow:0 28px 80px rgba(0,0,0,.42);
  --serif:"Times New Roman","Yu Mincho","Hiragino Mincho ProN",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:var(--sans);
  background:
    radial-gradient(circle at 18% 8%, rgba(255,127,193,.12), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(118,170,255,.14), transparent 26%),
    linear-gradient(180deg, #020812 0%, #04101b 60%, #020913 100%);
}
.site-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size:56px 56px;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button{font:inherit}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:86px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:12px clamp(20px,4vw,50px);
  background:rgba(2,8,18,.78);
  border-bottom:1px solid var(--line-soft);
  backdrop-filter:blur(18px);
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:max-content;
}
.brand img{width:58px}
.brand strong{
  display:block;
  font-family:var(--serif);
  font-size:clamp(30px,3.2vw,44px);
  line-height:.9;
}
.brand small{
  color:#b7c8d8;
  font-size:12px;
}
.global-nav{
  justify-self:center;
  display:flex;
  gap:clamp(18px,2vw,30px);
  color:#dce8f5;
  font-family:var(--serif);
}
.global-nav a{padding:8px 0}
.listen-button,
.download-button,
.chip{
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  padding:12px 18px;
  background:rgba(255,255,255,.04);
}
.listen-button{
  background:linear-gradient(135deg, rgba(255,127,193,.15), rgba(135,220,255,.10));
}
.nav-toggle{
  display:none;
  background:transparent;
  color:#fff;
  border:1px solid var(--line-soft);
  border-radius:12px;
  padding:8px 12px;
  font-size:22px;
}

main{
  width:min(1200px, calc(100% - 36px));
  margin:22px auto 48px;
}
.panel,
.music-panel,
.news-card,
.member-card,
.wall-card,
.live-card,
.wallpage-hero{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(8,17,30,.88), rgba(5,11,20,.92));
  box-shadow:var(--shadow);
}
.hero{
  border-radius:30px;
  overflow:hidden;
}
.hero-image{
  min-height:560px;
  background-image:linear-gradient(90deg, rgba(2,8,18,.12), rgba(2,8,18,.02)), url("./assets/hero.jpg");
  background-size:cover;
  background-position:center;
}
.content-section{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid var(--line-soft);
}
.section-title{
  border-right:1px solid var(--line-soft);
  padding:12px 8px 0 4px;
}
.section-title h2{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(34px, 4vw, 54px);
}
.section-title p{
  color:var(--muted);
  font-size:12px;
}

.news-grid,
.member-grid,
.wallpaper-preview-grid,
.live-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.news-card,
.member-card,
.wall-card,
.live-card{
  border-radius:24px;
  overflow:hidden;
}
.news-card img,
.member-card img,
.wall-card img{
  width:100%;
  height:230px;
  object-fit:cover;
}
.news-body,
.member-body,
.wall-card div{
  padding:14px 16px 16px;
}
.news-body span{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  margin-bottom:8px;
  font-size:11px;
  color:#05131d;
  background:#dff5ff;
}
.news-body h3,
.live-card h3{margin:0 0 8px}
.news-body time,
.member-jp,
.live-card p,
.wall-card span{color:var(--muted)}
.member-body h3{
  margin:0;
  font-family:var(--serif);
  font-size:32px;
}

.music-panel{
  border-radius:26px;
  padding:20px;
  display:grid;
  grid-template-columns:300px 1fr;
  gap:24px;
}
.album-art{
  min-height:280px;
  display:grid;
  place-items:center;
  border:1px solid var(--line-soft);
  border-radius:22px;
  background:radial-gradient(circle, rgba(255,127,193,.16), transparent 30%), rgba(5,12,22,.85);
}
.album-art img{
  width:min(220px,80%);
  max-height:220px;
  object-fit:contain;
}
.eyebrow{
  color:#b4c7d8;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
}
.player-panel h2{
  margin:6px 0 14px;
  font-family:var(--serif);
  font-size:clamp(38px, 5vw, 60px);
}
.player-panel h2 span{
  font-size:.68em;
  color:#d8e7f7;
}
.track-list{
  list-style:none;
  padding:0;
  margin:0;
  border:1px solid var(--line-soft);
}
.track-list li{
  display:flex;
  justify-content:space-between;
  padding:10px 14px;
  border-bottom:1px solid var(--line-soft);
  color:#cfe0ee;
  cursor:pointer;
}
.track-list li.active{
  background:linear-gradient(90deg, rgba(135,220,255,.18), transparent);
}
.player-controls{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:16px;
}
.player-controls button{
  background:transparent;
  color:#fff;
  border:0;
  font-size:24px;
  cursor:pointer;
}
.play-button{
  width:36px;
  height:36px;
  border:1px solid rgba(255,255,255,.45)!important;
  border-radius:999px;
  font-size:16px!important;
}
.seek-range{
  flex:1;
  height:4px;
}
.player-note{
  color:#b9ccdc;
  font-size:13px;
}
.live-card{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:16px;
  padding:18px;
}
.date-box{
  border-right:1px solid var(--line-soft);
  text-align:center;
}
.date-box strong{
  display:block;
  font-family:var(--serif);
  font-size:32px;
}
.wallpage-hero{
  border-radius:28px;
  padding:34px 36px;
  margin-bottom:22px;
}
.wallpage-hero h1{
  font-family:var(--serif);
  font-size:clamp(52px,6vw,86px);
  margin:0;
}
.filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}
.chip{cursor:pointer}
.chip.active{
  background:linear-gradient(135deg, rgba(135,220,255,.24), rgba(255,127,193,.15));
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:16px;
}
.gallery-item img{
  width:100%;
  height:260px;
  object-fit:cover;
}
.download-button{
  display:inline-flex;
  margin:0 16px 16px;
}
.hidden-item{display:none!important}
.site-footer{
  width:min(1200px, calc(100% - 36px));
  margin:0 auto 26px;
  border:1px solid var(--line-soft);
  border-radius:24px;
  padding:22px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:rgba(4,10,18,.82);
}

@media (max-width:1100px){
  .hero-image{min-height:460px}
  .news-grid,.member-grid,.wallpaper-preview-grid,.live-grid,.gallery-grid{grid-template-columns:1fr 1fr}
  .music-panel{grid-template-columns:1fr}
}
@media (max-width:860px){
  .site-header{grid-template-columns:auto auto}
  .nav-toggle{display:block}
  .global-nav,.listen-button{display:none}
  .global-nav.open{grid-column:1/-1;display:grid;gap:12px}
  .listen-button.open{grid-column:1/-1;display:flex}
  .content-section{grid-template-columns:1fr}
  .section-title{border-right:0;border-bottom:1px solid var(--line-soft)}
}
@media (max-width:640px){
  main,.site-footer{width:min(100% - 18px,100%)}
  .hero-image{min-height:320px}
  .news-grid,.member-grid,.wallpaper-preview-grid,.live-grid,.gallery-grid{grid-template-columns:1fr}
  .brand img{width:48px}
}


/* =========================================================
   Player Plus
   - 左のジャケット領域
   - 6曲表示 + スクロール
   - 音量 / リピート / シャッフル
   ========================================================= */

.album-art{
  position:relative;
  overflow:hidden;
}

.album-art img{
  border-radius:18px;
  filter:drop-shadow(0 0 22px rgba(135,220,255,.10));
}

.album-meta{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(3,9,18,.72);
  backdrop-filter:blur(12px);
}

.album-meta strong{
  display:block;
  font-family:var(--serif);
  font-size:18px;
}

.album-meta span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
}

/* 6曲分だけ見せて、以降は縦スクロール */
.track-list{
  max-height:258px;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(135,220,255,.55) rgba(255,255,255,.06);
}

.track-list::-webkit-scrollbar{
  width:8px;
}

.track-list::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
}

.track-list::-webkit-scrollbar-thumb{
  background:rgba(135,220,255,.42);
  border-radius:999px;
}

.track-list li{
  min-height:43px;
}

.player-controls{
  flex-wrap:wrap;
}

.volume-range{
  -webkit-appearance:none;
  appearance:none;
  width:96px;
  height:4px;
  background:rgba(255,255,255,.18);
  border-radius:999px;
  outline:none;
}

.volume-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(255,127,193,.45);
  box-shadow:0 0 12px rgba(255,127,193,.35);
  cursor:pointer;
}

.volume-range::-moz-range-thumb{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(255,127,193,.45);
  box-shadow:0 0 12px rgba(255,127,193,.35);
  cursor:pointer;
}

.mode-button{
  min-width:38px;
  height:34px;
  padding:0 8px;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:999px;
  font-size:13px!important;
  line-height:1;
  background:rgba(255,255,255,.04)!important;
}

.mode-button.active{
  border-color:rgba(135,220,255,.55)!important;
  background:linear-gradient(135deg, rgba(135,220,255,.22), rgba(255,127,193,.10))!important;
  box-shadow:0 0 14px rgba(135,220,255,.16);
}

@media (max-width:640px){
  .volume-range{
    width:100%;
  }
}
