:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #777777;
  --line: #111111;
  --accent: #888888;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.7;
}
a { color: inherit; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
}
.logo {
  font-family: "Archivo Black", sans-serif;
  font-size: 22px; letter-spacing: .02em; text-decoration: none;
}
nav a {
  margin-left: 20px; text-decoration: none;
  font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .08em;
}
nav a:hover { color: var(--accent); }

/* ---------- Hero: 左→右に流れる写真 ---------- */
.hero { overflow: hidden; border-bottom: 2px solid var(--line); }
.track {
  display: flex; width: max-content;
  animation: slide-right 40s linear infinite; /* 秒数を小さくすると速くなる */
}
.hero:hover .track { animation-play-state: paused; }
.track img {
  height: 60vh; min-height: 280px; max-height: 560px; width: auto;
  aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-right: 2px solid var(--line);
}
/* 写真を2セット並べ、-50%→0 へ動かすことで継ぎ目なく左から右へループする */
@keyframes slide-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
}

/* ---------- Sections ---------- */
main { max-width: 880px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-bottom: 2px solid var(--line); }
section:last-child { border-bottom: none; }
h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(36px, 8vw, 64px); line-height: 1; margin-bottom: 32px;
}

.live-list { list-style: none; }
.live-list li {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.live-list li:last-child { border-bottom: 1px solid var(--line); }
.live-date { font-weight: 600; }
.live-place small { display: block; color: var(--muted); font-size: 13px; }
.btn {
  display: inline-block; padding: 6px 16px; border: 2px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 13px; text-transform: uppercase;
}
.btn:hover { background: var(--fg); color: var(--bg); }

.profile p + p { margin-top: 16px; }
.members { margin-top: 24px; list-style: none; }
.members li { padding: 4px 0; }
.members span { color: var(--muted); margin-left: 8px; font-size: 14px; }

.contact a { font-size: 20px; font-weight: 600; word-break: break-all; }

/* ---------- SNS（Live の上） ---------- */
.sns {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  padding: 40px 0; border-bottom: 2px solid var(--line);
}
.sns-link {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border: 2px solid var(--line);
  transition: background .15s, color .15s;
}
.sns-link .icon { width: 28px; height: 28px; fill: currentColor; }
.sns-link:hover { background: var(--fg); color: var(--bg); } /* ホバーで白黒反転 */

/* ヘッダー固定でも見出しが隠れないように */
section { scroll-margin-top: 80px; }

/* ---------- Footer ---------- */
footer {
  border-top: 2px solid var(--line);
  padding: 32px 24px; text-align: center;
}
footer small { color: var(--muted); }

@media (max-width: 600px) {
  header { flex-direction: column; gap: 8px; }
  nav a { margin: 0 10px; }
  section { scroll-margin-top: 110px; }
  .sns { gap: 12px; padding: 28px 0; }
  .sns-link { width: 56px; height: 56px; }
  .sns-link .icon { width: 24px; height: 24px; }
  .live-list li { grid-template-columns: 1fr; gap: 4px; }
  .live-list .btn { justify-self: start; margin-top: 8px; }
}
