@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg-main: radial-gradient(circle at top left, #171c29 0, #050608 55%, #000 100%);
  --card-bg: rgba(12, 14, 22, 0.9);
  --accent: #7cf4e8;
  --accent-soft: rgba(124, 244, 232, 0.16);
  --text-main: #f9fafb;
  --text-muted: #a1a1aa;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  padding-top: 90px;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Space Grotesk', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ヘッダー */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.7), transparent);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  z-index: 20;
}

header h1 {
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0;
}

/* PCナビ */

.gnav .menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gnav .menu a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 4px;
}

.gnav .menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  transition: width 0.18s ease;
}

.gnav .menu a:hover {
  color: var(--text-main);
}

.gnav .menu a:hover::after {
  width: 100%;
}

/* スマホナビ（元の構造を活かしてスタイルだけ今風に） */

.hnav {
  display: none;
}

#hamburger {
  display: none;
}

@media screen and (max-width: 750px) {
  .gnav {
    display: none;
  }

  #hamburger {
    position: relative;
    display: block;
    width: 28px;
    height: 22px;
    margin-left: auto;
  }

  #hamburger span,
  #hamburger::before,
  #hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  #hamburger span {
    top: 50%;
    transform: translateY(-50%);
  }

  #hamburger::before {
    top: 0;
  }

  #hamburger::after {
    bottom: 0;
    width: 70%;
  }

  .hnav {
    z-index: 30;
    position: fixed;
    inset: 0;
    display: block;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .hnav.toggle {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .hnav li a,
  .hnav li span {
    display: block;
    padding: 14px 0;
    color: var(--text-main);
    font-family: 'Space Grotesk', 'Noto Sans JP', system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .hnav .close {
    position: relative;
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .hnav .close::before,
  .hnav .close::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 2px;
    background: #e5e7eb;
  }

  .hnav .close::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .hnav .close::after {
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* メンバー一覧（元の .gallarylist をカード化） */

.gallarylist {
  max-width: 960px;
  margin: 32px auto 80px;
  padding: 0 20px;
  list-style: none;
}

.gallarylist li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(30, 64, 175, 0.6);
  box-shadow: var(--shadow-soft);
}

.gallarylist li:last-child {
  margin-bottom: 0;
}

.gallarylist img {
  width: 220px;
  max-width: 40%;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* テキスト */

.about {
  flex: 1;
  padding: 6px 0;
  text-align: left;
}

.title1 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.title2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}

.body1 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.body2 {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.about a {
  display: inline-block;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.7);
  text-underline-offset: 0.4em;
}

/* レスポンシブ */

@media (max-width: 900px) {
  .gallarylist li {
    padding: 16px 14px;
    gap: 20px;
  }

  .gallarylist img {
    width: 180px;
  }
}

@media (max-width: 640px) {
  header {
    padding-inline: 18px;
  }

  .gallarylist li {
    flex-direction: row;
    align-items: flex-start;
  }

  .gallarylist img {
    width: 120px;
  }

  .title2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .gallarylist li {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallarylist img {
    width: 100%;
    max-width: 260px;
  }
}

/* フッター */

footer {
  width: 100%;
  text-align: center;
  padding: 16px 0 22px;
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

footer .h1 {
  margin: 0;
  color: var(--text-main);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.totter {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.8rem;
}