/* =========================================================
   ZEP Static Site (Offline)
   - ファイル: /assets/css/style.css
   - 役割: レイアウト/タイポグラフィ/ヘッダー/セクション
   - 外部CDNなしで動くように、必要最低限のCSSを同梱しています
   ========================================================= */

/* ---------- Base ---------- */
:root{
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: rgba(0,0,0,0.60);
  --border: rgba(0,0,0,0.06);
  --border-invert: rgba(255,255,255,0.10);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* Links */
a{ color: inherit; text-decoration: none; }
a:hover{ opacity: 0.7; }

/* Images */
img{ max-width: 100%; height: auto; display: block; }

/* ---------- Layout helpers ---------- */
/* ここでは「幅を揃える箱（.container）」「セクション共通余白（.section）」などを定義します */

.container{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section{
  padding: 60px 0;
}

.section-dark{
  background: #000000;
  color: #ffffff;
}

.kicker{
  margin: 0 0 10px 0;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.8;
}

.section-title{
  margin: 0 0 24px 0;
  font-size: 48px;
  letter-spacing: -1.6px;
  line-height: 1.2;
  font-weight: 900;
}

.section-title-light{
  color: #ffffff;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.site-title{
  margin: 0;
  font-size: 13px;
  letter-spacing: -0.45px;
  font-weight: 400;
  white-space: nowrap;
}

.site-nav{
  display: none;
  gap: 48px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Header: full width */
.site-header .container{
  max-width: none;
}

.hamburger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.hamburger:active{ background: rgba(0,0,0,0.10); }

.hamburger-lines{
  position: relative;
  width: 22px;
  height: 16px;
  display: block;
}

.hamburger .line{
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.hamburger .line-1{ top: 0; }
.hamburger .line-2{ top: 7px; }
.hamburger .line-3{ top: 14px; }

/* Open state: transform to X */
.hamburger.is-open .line-1{ top: 7px; transform: rotate(45deg); }
.hamburger.is-open .line-2{ opacity: 0; }
.hamburger.is-open .line-3{ top: 7px; transform: rotate(-45deg); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hamburger .line{ transition: none; }
  html{ scroll-behavior: auto; }
}

/* Mobile menu */
.mobile-menu{
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.mobile-nav{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 20px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;

  /* Requested: right aligned */
  align-items: flex-end;
  text-align: right;
}

/* Desktop breakpoint */
@media (min-width: 768px){
  .header-inner{ padding: 28px 60px; }
  .site-title{ font-size: 18px; letter-spacing: -0.6px; }
  .site-nav{ display: flex; }
  .hamburger{ display: none; }
  .mobile-menu{ display: none; }
}

/* ---------- Hero ---------- */
/* Hero は PC では 2カラム（文字＋画像）、スマホでは縦並びになります */

/* ---------- Hero media (fixed like original design) ---------- */
.hero-media{
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 724 / 1086; /* PCデザインの比率 */
}

.hero-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero{ padding: 80px 0 80px; }
.hero-inner{
  display: grid;
  grid-template-columns: 1fr; /* mobile: 縦 */
  gap: 40px;
  align-items: center;
}

.hero-title{
  margin: 0 0 16px 0;
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: -2.4px;
  font-weight: 900;
}

.hero-text{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Hero image: frame + cover (match design) */
.hero-media{
  width: 100%;
  max-width: 520px;     /* 右カラムの上限と合わせる */
  position: relative;
  overflow: hidden;
  aspect-ratio: 490 / 735; /* 画像枠の縦横比（必要なら後で調整） */
  justify-self: end;        /* PCで右寄せ */
}

.hero-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px){
  .hero-inner{
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 520px);
    gap: clamp(40px, 6vw, 140px);
  }
  .hero-title{ font-size: 96px; }
  .hero-text{ font-size: 18px; line-height: 1.8; }
  .hero-copy{ max-width: 520px;}
}

/* Hero: mobile ratio */
.hero-media{
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 360 / 540.692; /* ←モバイルで縦長に見せる */
}

@media (min-width: 768px){
  .hero-media{
    aspect-ratio: 724 / 1086;  /* ←PC用（縦長） */
    max-width: 520px;
    justify-self: end;
  }
}

.hero-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Events ---------- */
/* Events は PC では 2カラム（画像＋イベント一覧）、スマホでは縦並びになります */

/* Events: mobile order = text -> image */
.events-inner{
  display: flex;
  flex-direction: column-reverse; /* ←ここがポイント */
  gap: 40px;
  align-items: flex-start;
}

/* Events image: frame + cover */
.events-media{
  width: 100%;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  aspect-ratio: 568 / 740; /* デザイン比率（必要なら後で調整） */
}

.events-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px){
  .events-inner{
    flex-direction: row; /* PCは元通り：画像→テキスト */
    gap: 104px;
    align-items: flex-start;
  }
}

/* Events right column layout */
.events-copy{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event{
  border-top: 1px solid var(--border-invert);
  padding-top: 16px;
}

.event-date{
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.85;
}

.event-name{
  margin: 10px 0 0 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.event-place,
.event-time{
  margin: 6px 0 0 0;
  font-size: 13px;
  opacity: 0.75;
}



/* ---------- Mixtapes ---------- */
/* Mixtapes は SoundCloud の iframe をグリッドで並べています */

.mixtape-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.mixtape-item iframe{
  width: 100%;
  border: none;
}

/* Requested: Mobile iframe spacing 24px between iframes */
@media (max-width: 767px){
  .mixtape iframe{
    margin-bottom: 24px;
  }
  .mixtape iframe:last-child{
    margin-bottom: 0;
  }
}

@media (min-width: 768px){
  .section{ padding: 100px 0; }
  .section-title{ font-size: 64px; }
  .mixtape-grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ---------- Contact ---------- */
/* Contact は 連絡先とSNSリンク */

.contact-inner{
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.contact-link{
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.45px;
}

.contact-spacer{ height: 24px; }

@media (min-width: 768px){
  .contact-inner{
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }
  .contact-block{ flex: 1; }
}

/* Instagram link with icon */
.contact-link-instagram{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* アイコンサイズ調整 */
.contact-link-instagram i{
  font-size: 18px;
}

/* ---------- Footer ---------- */
.site-footer{
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner{
  padding: 24px 0;
}

.footer-text{
  margin: 0;
  font-size: 12px;
  color: rgba(0,0,0,0.55);

}

.site-footer{
  text-align: center;
}


/* =========================
   Scroll fade-up animation
   ========================= */
.fade-up{
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.fade-up.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* MIXTAPE: spacing between title and first iframe (PC only) */
@media (min-width: 768px){
  #mixtapes .mixtape-grid{
    margin-top: 80px;
  }
}

