:root {
  --bg: #000;
  --fg: #fff;
  --sub: #aaa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
  letter-spacing: 0.08em;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}

.header-inner {
  font-family: "Micro 5";
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner a {
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
}

#menu a {
  margin-left: 24px;
}

.header-inner a:hover {
  opacity: 0.6;
}

.logo {
  font-size: 18px;
  letter-spacing: 0.2em;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/unsnuff.webp");
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-family: "Micro 5", sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.3em;
}

.hero p {
  margin-top: 12px;
  color: var(--sub);
}

.social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.social a {
  color: var(--sub);
  text-decoration: none;
  font-size: 14px;
}

.social a:hover {
  color: var(--fg);
}

.social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

.social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.social img:hover {
  opacity: 1;
}

/* Section */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px;
}

.section h2 {
  font-family: "Micro 5";
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.section p {
  color: var(--sub);
  line-height: 1.8;
}

.alt {
  background: #111;
}

/* Music Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.card {
  padding: 40px;
  border: 1px solid #222;
  text-align: center;
}

/* Featured Release */

.featured-release {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

.featured-jacket {
  aspect-ratio: 1 / 1;
  background: #222;
}

.featured-info h3 {
  font-size: 24px;
  margin: 12px 0 24px;
}

.featured-jacket {
  background-image: url("./images/uns002.jpg");
  background-size: cover;
  background-position: center;
}

/* Older Releases */

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.release-card {
  border: 1px solid #222;
  padding: 20px;
}

.release-jacket {
  aspect-ratio: 1 / 1;
  background: #222;
  background-size: cover;
  margin-bottom: 16px;
}

.release-meta {
  margin-bottom: 16px;
}

.release-title {
  margin-bottom: 4px;
}

.release-year {
  color: #777;
  font-size: 14px;
}

/* Buttons */

.release-buttons {
  display: flex;
  gap: 12px;
}

.release-buttons a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}

.release-buttons a:hover {
  background: #fff;
  color: #000;
}

/* Video */
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.more-button {
  text-align: center;
  margin-top: 24px;
}

.more-button a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.more-button a:hover {
  background: #fff;
  color: #000;
}

/* Live */
.live-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.live-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.flyer {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #222;
}

.flyer.empty {
  background: transparent;
  border: 1px solid #333;
}

.live-info {
  border: 1px solid #333;
  padding: 20px;
}

.live-info .date {
  font-size: 18px;
  margin-bottom: 8px;
}

.live-info .place {
  color: #aaa;
  margin-bottom: 8px;
}

.live-info .detail {
  font-size: 14px;
  color: #777;
}

/* List */
.list li {
  margin-bottom: 12px;
  color: var(--sub);
}

/* Button */
.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
}

.button:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 12px;
  color: var(--sub);
}

/* Mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 3000;
}

/* Smartphone */

@media (max-width: 768px) {

  .header-inner {
    width: 100%;
    max-width: none;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;
    position: relative;
  }

  #menu a {
    margin-left: 0;
    font-size: 20px;
  }

  .hamburger {
    display: block;
    position: absolute; /* 絶対配置にする */
    right: 24px;        /* 右端からの余白（ヘッダーのpaddingと合わせる） */
    top: 50%;           /* 上下中央へ */
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 28px;    /* 少し大きくするとタップしやすいです */
    cursor: pointer;
    z-index: 3000;      /* メニューより手前に出す */
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;

    width: 70%;
    height: 100vh;

    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 32px;

    transition: right 0.3s ease;

    z-index: 2500;

    overflow: hidden;
  }

  nav.active {
    right: 0;
  }

  .hero h1 {
    font-size: 28px;      /* PCの36pxから少し小さくしてバランスを取る */
    letter-spacing: 0.2em; /* ドット絵フォントがはみ出さないよう字間を微調整 */
  }

  .hero p {
    font-size: 11px;      /* 文字サイズを小さくして1行に収める（お好みで12pxでもOK） */
    letter-spacing: 0.05em;/* 字間を少し詰めて横幅を節約 */
    padding: 0 16px;      /* 画面の左右ギリギリに文字がくっつかないように余白を持たせる */
  }

  .social {
    flex-wrap: wrap; /* 画面幅が足りないときは安全に折り返す */
    gap: 16px;       /* スマホ用にアイコン同士の隙間を少しだけ狭くする（PCは20px） */
    padding: 0 16px; /* 折り返したときに画面端にピタッとくっつかないための余白 */
  }

  .release-grid {
    grid-template-columns: 1fr; /* 横2列から、縦1列（100%幅）に変更 */
    gap: 24px;                  /* スマホ用に少し隙間を狭くする */
  }

  .featured-release {
    grid-template-columns: 1fr; /* 横2列から、縦1列（100%幅）に変更 */
    gap: 20px;                  /* 画像と文字の間の隙間を少し狭くする */
    margin-bottom: 50px;        /* 過去作との間の余白をスマホ用に調整 */
  }

}