@charset "UTF-8";

/* ============================================================
   164 OFFICIAL WEB SITE — style.css
   色やサイズを変えたいときは、まず下の「変数」を書き換えてください。
   ============================================================ */

:root {
  /* --- 色 --- */
  --bg:        #0a0a0b;   /* 背景（ほぼ黒） */
  --bg-alt:    #101012;   /* 1段明るい背景（交互のセクション用） */
  --panel:     #16161a;   /* カードの背景 */
  --line:      #26262c;   /* 罫線 */
  --text:      #ececee;   /* 本文の文字 */
  --muted:     #8a8a93;   /* 補足の文字（日付など） */
  --accent:    #e8342c;   /* 差し色（赤） */
  --accent-dk: #b31f18;   /* 濃いめの赤 */
  --accent-rgb: 232, 52, 44;  /* 上の --accent と同じ色を「R, G, B」で書いたもの。
                                 半透明にするときに使うので、色を変えたらここも合わせる */

  /* トップ画面の背景にぼんやり広がる光の色（差し色とは別に指定できる） */
  --hero-glow-rgb: 44, 76, 158;   /* 紺色 */

  /* --- フォント --- */
  --font-display: "Anton", "Oswald", "Arial Narrow", sans-serif;  /* 大きい見出し用（ロゴに近い詰まり具合） */
  --font-en: "Oswald", "Arial Narrow", sans-serif;                /* メニューや日付など小さい英字用 */
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* --- レイアウト --- */
  --header-h: 64px;
  --maxw: 1080px;
}

/* ---------- 全体のリセット ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

/* 上部固定ヘッダーに隠れないように、リンク先の位置を下げる */
section[id] { scroll-margin-top: var(--header-h); }


/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10,10,11,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header__inner {
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ヘッダー左上のロゴ。
   トップのおおきな164ロゴが見えている間は隠し、
   スクロールしてロゴが画面から出たらフェードで現れる。
   （表示の切り替えは js/main.js が .is-brand-visible を付け外しして行う） */
.header__brand {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.header.is-brand-visible .header__brand {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ページ内では背景を透過させた logo-mark.png を使う
   （黒背景のままだと、サイトの背景との境目が四角く見えてしまうため） */
.logo-img { width: 38px; height: 38px; object-fit: contain; }
.logo-fallback {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

/* --- ナビゲーション --- */
.nav { display: flex; gap: 34px; }
.nav__link {
  position: relative;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
  padding: 6px 0;
  transition: color .25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav__link:hover,
.nav__link.is-current { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

/* --- ハンバーガーボタン（スマホ用） --- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 34px; height: 26px;
  border: 0; background: none; padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--text);
  transition: transform .3s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { top: 12px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* ============================================================
   ヒーロー（トップ画面）
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(var(--hero-glow-rgb),.16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 92px);
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 40%, transparent 100%);
}
.hero__inner {
  position: relative;
  text-align: center;
  padding: 0 22px;
  animation: fadeUp 1.1s cubic-bezier(.16,1,.3,1) both;
}
.hero__logo { width: min(340px, 62vw); margin-inline: auto; }
.hero__logo-fallback {
  font-family: var(--font-display);
  font-size: clamp(88px, 22vw, 190px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
/* --- トップのSNSアイコン --- */
.hero__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 46px;   /* 肩書きの行を無くしたぶん、ロゴとの間隔を広げてバランスを取る */
}
.hero__link {
  display: block;
  width: 30px;
  height: 30px;
  opacity: .62;
  transition: opacity .25s ease, transform .25s ease;
}
.hero__link:hover,
.hero__link:focus-visible {
  opacity: 1;
  transform: translateY(-4px);
}
.hero__link img { width: 100%; height: 100%; object-fit: contain; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1);  opacity: 1;  }
  50%     { transform: scaleY(.4); opacity: .4; }
}


/* ============================================================
   セクション共通
   ============================================================ */
.section {
  padding: 96px 0 104px;
  border-top: 1px solid var(--line);
}
.section--alt { background: var(--bg-alt); }

.section__title {
  position: relative;
  margin: 0 0 46px;
  padding-left: 62px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.5vw, 46px);
  font-weight: 400;    /* Antonは太さ400のみ。600等を指定すると偽ボールドになり字形が崩れる */
  line-height: 1.05;
  letter-spacing: 0;   /* Antonは字幅が狭く、詰めなくてもロゴに近い。
                          マイナスにすると「LINKS」のKとSが接触する */
}
.section__title::before {
  content: attr(data-num);
  position: absolute;
  left: 0; top: .18em;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -16px;
  width: 46px; height: 2px;
  background: var(--accent);
}
.section__title-ja {
  display: block;
  margin-top: 8px;
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--muted);
}

.loading { color: var(--muted); font-size: 13px; }

/* 読み込み失敗のお知らせ */
.data-error {
  border: 1px solid var(--accent-dk);
  background: rgba(var(--accent-rgb),.06);
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
}
.data-error code {
  background: #000;
  padding: 2px 7px;
  font-size: 12px;
  color: var(--accent);
}


/* ============================================================
   NEWS
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.filter {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  padding: 7px 16px;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.is-active {
  color: #fff;
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}

.news-list { border-top: 1px solid var(--line); }

.news-item { border-bottom: 1px solid var(--line); }
.news-item[hidden] { display: none; }

.news-item__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 34px 20px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  transition: color .22s ease;
}
.news-item__head::-webkit-details-marker { display: none; }
.news-item__head:hover { color: var(--accent); }

.news-item__date {
  flex: none;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--muted);
}
.news-item__cat {
  flex: none;
  width: 82px;
  text-align: center;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  padding: 3px 0;
  border: 1px solid var(--line);
  color: var(--muted);
}
/* カテゴリの色分け（赤 → 白 → グレー の順で目立つように） */
.news-item__cat[data-cat="LIVE"] {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb),.55);
  background: rgba(var(--accent-rgb),.08);
}
.news-item__cat[data-cat="RELEASE"] { color: #f0f0f2; border-color: #55555f; }
.news-item__cat[data-cat="INFO"]    { color: #9a9aa4; border-color: #3a3a42; }

.news-item__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

/* 開閉の「＋」マーク */
.news-item__head::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -5px;
  background:
    linear-gradient(var(--muted),var(--muted)) center/100% 1px no-repeat,
    linear-gradient(var(--muted),var(--muted)) center/1px 100% no-repeat;
  transition: transform .3s ease, background .3s ease;
}
.news-item[open] > .news-item__head::after { transform: rotate(135deg); }

.news-item__body {
  padding: 0 0 26px 0;
  color: #c3c3cb;
  font-size: 13.5px;
  line-height: 2;
  white-space: pre-line;   /* JSONの改行(\n)をそのまま活かす */
  animation: fadeUp .45s cubic-bezier(.16,1,.3,1) both;
}
.news-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.news-item__link {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),.35);
  padding: 6px 14px;
  transition: background .22s ease, color .22s ease;
}
.news-item__link:hover { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); }

.more-wrap { margin-top: 34px; text-align: center; }
.btn-more {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  padding: 15px 46px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.btn-more:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }


/* ============================================================
   VOCALOID SONGS
   ============================================================ */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px 22px;
}

.song-card { display: block; }
.song-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
/* --thumb-* は JavaScript が設定する「黒帯を消すための拡大・位置調整」。
   帯のないサムネイルは 1倍・ズレ0 のまま＝何も起きない。 */
.song-card__thumb img {
  --thumb-x: 0%;
  --thumb-y: 0%;
  --thumb-scale: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(var(--thumb-x), var(--thumb-y)) scale(var(--thumb-scale));
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}
/* ホバー時は「黒帯を消すための拡大」に 1.07倍を掛け合わせる */
.song-card:hover .song-card__thumb img {
  transform: translate(var(--thumb-x), var(--thumb-y)) scale(calc(var(--thumb-scale) * 1.07));
  opacity: .55;
}

/* 再生ボタン */
.song-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.song-card__play::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.song-card__play::after {
  content: "";
  position: absolute;
  width: 58px; height: 58px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.song-card:hover .song-card__play { opacity: 1; }

.song-card__title {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  transition: color .22s ease;
}
.song-card:hover .song-card__title { color: var(--accent); }
.song-card__year {
  margin: 4px 0 0;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}


/* ============================================================
   配信サービスへのリンク（VOCALOID Songs の末尾）
   ============================================================ */
.subs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.subs__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: .55;
  transition: opacity .25s ease, transform .25s ease;
}
.subs__link:hover,
.subs__link:focus-visible { opacity: 1; transform: translateY(-2px); }

.subs__link img { width: 19px; height: 19px; object-fit: contain; }
.subs__link span {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
}


/* ============================================================
   RESOURCES（開閉式のリスト）
   ============================================================ */
.acc-list { border-top: 1px solid var(--line); }

.acc { border-bottom: 1px solid var(--line); }

/* 見出し(Resources)より1文字分ぶん右にずらして、下の階層だと分かるようにする。
   空いた左側に開閉の三角を置く。 */
.acc__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 26px 20px 26px 28px;
  position: relative;
  cursor: pointer;
  list-style: none;
  transition: color .22s ease;
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head:hover { color: var(--accent); }

.acc__label {
  position: relative;
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .12em;
}
/* 開閉の三角。閉じている時は ▶、開くと90度回って ▼ になる */
.acc__label::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  width: 0; height: 0;
  border-style: solid;
  border-width: 4.5px 0 4.5px 7px;
  border-color: transparent transparent transparent var(--muted);
  transform: translateY(-50%);
  transition: transform .3s ease, border-color .22s ease;
}
.acc[open] .acc__label::before { transform: translateY(-50%) rotate(90deg); }
.acc__head:hover .acc__label::before { border-left-color: var(--accent); }
.acc__note {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* 中身も見出しに揃えて字下げする（階層をはっきりさせるため） */
.acc__body {
  padding: 0 0 34px 28px;
  max-width: 760px;
  animation: fadeUp .45s cubic-bezier(.16,1,.3,1) both;
}
.acc__subhead {
  margin: 26px 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
.acc__subhead:first-child { margin-top: 0; }

.acc__body p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 2.05;
  color: #c3c3cb;
}
.acc__body p:last-child { margin-bottom: 0; }

.acc__link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),.35);
  padding: 8px 16px;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.acc__link:hover { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); }

/* --- インスト音源の一覧 --- */
.inst-list { margin: 0; padding: 0; list-style: none; }
.inst-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.inst-item:first-child { border-top: 1px solid var(--line); }
.inst-item__title { font-size: 13.5px; flex: 1 1 auto; }
.inst-item__meta {
  flex: none;
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.inst-item__dl {
  flex: none;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb),.35);
  padding: 6px 14px;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.inst-item__dl:hover { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); }


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 54px;
  align-items: start;
}

/* アーティスト写真 */
.about__photo {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.about__photo img { width: 100%; height: auto; }

.about__role {
  margin: 0 0 24px;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
}
.about__data { margin: 0; border-top: 1px solid var(--line); }
.about__row {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.about__row dt {
  flex: none;
  width: 108px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--muted);
  padding-top: 3px;
}
.about__row dd { margin: 0; font-size: 14px; }

.about__text p { margin: 0 0 20px; font-size: 14px; line-height: 2.15; }
.about__text p:last-child { margin-bottom: 0; }
.about__text p:first-child {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-weight: 500;
}
.about__text strong { font-weight: 700; }


/* ============================================================
   CONTACT
   ============================================================ */
.contact__lead {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 2.05;
  color: #c3c3cb;
}
.contact__lead2 {
  margin: 0 0 34px;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--text);
}
.br-sp { display: none; }   /* スマホでだけ改行させるための保険 */

/* --- お問い合わせフォーム --- */
.cform { max-width: 620px; }

.cform__row { margin-bottom: 20px; }

.cform__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--muted);
}
.cform__req { color: var(--accent); }

.cform__input {
  width: 100%;
  padding: 13px 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.7;
  transition: border-color .22s ease, background .22s ease;
}
.cform__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #1b1b20;
}
.cform__input::placeholder { color: #5c5c66; }

.cform__textarea { resize: vertical; min-height: 140px; }

select.cform__input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  /* 右端の三角マーク */
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) center, calc(100% - 13px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
select.cform__input option { background: #16161a; color: var(--text); }

/* 自動投稿対策の隠しフィールド（画面には出さない） */
.cform__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.cform__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
}
.cform__submit {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  padding: 15px 52px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.cform__submit:hover:not(:disabled) {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: #fff;
}
.cform__submit:disabled { opacity: .4; cursor: not-allowed; }

.cform__status {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.cform__status.is-ok    { color: #7ad6a5; }
.cform__status.is-error { color: var(--accent); }


/* ============================================================
   フッター
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.footer__copy {
  margin: 0;
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--muted);
}


/* ============================================================
   スクロールしたら浮き上がる演出
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1);
}


/* ============================================================
   スマホ・タブレット対応
   ============================================================ */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  /* ★重要★ backdrop-filter を指定した要素は、その内側の position: fixed の
     「画面いっぱい」の基準を自分自身に変えてしまう（CSSの仕様）。
     そのためヘッダーにぼかしを掛けたままだと、中にある全画面メニューが
     ヘッダーの高さ(64px)に閉じ込められて表示が崩れる。
     スマホではぼかしを使わず、背景色だけで表現する。 */
  .header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10,10,11,.96);
  }

  /* メニューを全画面パネルに */
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    background: rgba(10,10,11,.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .32s ease, visibility .32s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 22px; letter-spacing: .2em; color: var(--text); }

  .section { padding: 68px 0 74px; }
  .section__title { margin-bottom: 40px; padding-left: 0; padding-top: 26px; }
  .section__title::before { top: 0; }

  /* NEWSの1件を縦積みにする */
  .news-item__head {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 18px 30px 18px 0;
  }
  .news-item__title { flex: 1 0 100%; font-size: 13.5px; }
  .news-item__date { font-size: 13px; }
  .news-item__cat { width: 74px; font-size: 9.5px; }

  .song-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 14px; }
  .song-card__title { font-size: 12.5px; }

  .subs { gap: 16px 26px; margin-top: 42px; padding-top: 28px; }
  .subs__link span { font-size: 11px; }

  /* Resources：見出しと補足を縦積みにする（字下げは残す） */
  .acc__head { flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 8px 22px 24px; }
  .acc__label { font-size: 17px; }
  .acc__label::before { left: -21px; }
  .acc__body { padding-left: 24px; }

  .inst-item { flex-direction: column; align-items: flex-start; gap: 10px; }

  .br-sp { display: inline; }
  .cform__submit { width: 100%; padding: 16px 0; }
  .cform__foot { gap: 12px; }


  .footer__inner { flex-direction: column; gap: 14px; }
}

/* 動きを減らす設定の人には演出を止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
