:root {
  color-scheme: dark;
  --bg: #120f12;
  --panel: rgba(255, 255, 255, 0.07);
  --text: #f4eee8;
  --muted: #c9bdb5;
  --accent: #d7a45a;
  --accent-strong: #f2c66d;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --width: min(1120px, calc(100% - 32px));
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(164, 45, 58, 0.28), transparent 34%),
    linear-gradient(145deg, #100d10 0%, #1b1519 44%, #0b0a0c 100%);
  font-size: 16px;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-strong);
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10;
  transform: translateY(-140%);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 88svh;
  padding-bottom: 56px;
}

.page-header {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 6, 8, 0.72), rgba(8, 6, 8, 0)),
    radial-gradient(circle at 86% 0%, rgba(215, 164, 90, 0.16), transparent 34%);
}

.site-nav {
  width: var(--width);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.brand__sub {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-list a {
  text-decoration: none;
}

.hero {
  width: var(--width);
  margin: 34px auto 0;
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080608;
  box-shadow: var(--shadow);
}

.page-title {
  width: var(--width);
  margin: 30px auto 0;
  padding: clamp(22px, 4vw, 42px) 0 8px;
}

.page-title h1 {
  max-width: 950px;
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.page-title p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 8, 0.9), rgba(8, 6, 8, 0.45) 52%, rgba(8, 6, 8, 0.1)),
    linear-gradient(0deg, rgba(8, 6, 8, 0.86), transparent 45%);
}

.hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 3px;
  opacity: 0.84;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: clamp(28px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.lead {
  max-width: 56ch;
  color: #f0e5dc;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
}

.button--primary {
  border-color: transparent;
  background: var(--accent);
  color: #17100a;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
}

main {
  width: var(--width);
  margin: 0 auto;
}

.page-main {
  padding: 46px 0 74px;
}

.archive-note {
  margin-bottom: 26px;
  border: 1px solid rgba(215, 164, 90, 0.36);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(215, 164, 90, 0.09);
  color: #ead8be;
}

.legacy-content {
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 38px);
  background: var(--panel);
}

.legacy-content > *:last-child {
  margin-bottom: 0;
}

.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  margin-top: 1.7em;
}

.legacy-content h2:first-child,
.legacy-content h3:first-child,
.legacy-content h4:first-child {
  margin-top: 0;
}

.legacy-content img {
  height: auto;
  border-radius: 8px;
}

.legacy-content .imagebox,
.legacy-content .box,
.legacy-content .textbox {
  margin: 18px 0;
}

.legacy-content .imagebox_right,
.legacy-content .imagebox_right2 {
  float: right;
  max-width: min(42%, 260px);
  margin: 0 0 18px 24px;
}

.legacy-content .imagebox_left,
.legacy-content .imagebox_left2 {
  float: left;
  max-width: min(42%, 260px);
  margin: 0 24px 18px 0;
}

.legacy-content::after {
  content: "";
  display: block;
  clear: both;
}

.legacy-content dl,
.legacy-content ul,
.legacy-content ol {
  padding-left: 0;
}

.legacy-content li {
  margin-bottom: 0.55em;
}

.legacy-content table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.legacy-content th,
.legacy-content td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
}

.legacy-content iframe,
.legacy-content video {
  max-width: 100%;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 16px;
  list-style: none;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section--intro {
  border-top: 0;
  padding-top: 18px;
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.card,
.pickup,
.archive-news {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card {
  padding: clamp(20px, 3vw, 30px);
}

.media-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}

.media-card__thumb {
  overflow: hidden;
  border-radius: 8px;
  background: #050405;
}

.event-list,
.news-list {
  margin: 0;
}

.event-list div,
.news-list div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.event-list div:first-child,
.news-list div:first-child {
  border-top: 0;
}

dt {
  color: var(--accent);
  font-weight: 700;
}

dd {
  margin: 0;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.pickup {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(20px, 4vw, 38px);
}

.pickup__image,
.gallery-strip__item {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

.pickup__image img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #090709;
}

.pickup__body {
  align-self: center;
}

.note,
.muted {
  color: var(--muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080608;
  color: var(--text);
  text-decoration: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: brightness(0.78);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-weight: 700;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.98);
}

.gallery-page {
  max-width: none;
}

.gallery-strip--full {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.gallery-strip__item {
  aspect-ratio: 4 / 5;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-strip__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.section__after {
  margin: 20px 0 0;
}

.archive-news {
  margin-top: 18px;
}

.archive-news summary {
  cursor: pointer;
  padding: 16px 20px;
  color: var(--accent-strong);
  font-weight: 700;
}

.news-list--compact {
  padding: 0 20px 20px;
}

.site-footer {
  width: var(--width);
  margin: 0 auto;
  padding: 42px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.footer-nav a,
.social-links a,
.back-to-top {
  color: var(--text);
  text-decoration: none;
}

.copyright {
  margin: 0 0 18px;
  font-size: 0.9rem;
}

.lightbox {
  width: min(94vw, 1100px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox__image {
  width: 100%;
  max-height: 88svh;
  object-fit: contain;
  border-radius: 8px;
  background: #070607;
}

.lightbox__close {
  position: fixed;
  right: 18px;
  top: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

@media (max-width: 860px) {
  .site-nav {
    align-items: start;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--panel);
    color: var(--text);
  }

  .nav-list {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    z-index: 5;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(18, 15, 18, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-list.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 560px;
    margin-top: 12px;
  }

  .hero__media {
    grid-template-columns: 1fr;
  }

  .hero__media img:nth-child(n+2) {
    display: none;
  }

  .info-grid,
  .pickup,
  .section__heading {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --width: min(100% - 24px, 1120px);
  }

  .site-header {
    min-height: auto;
  }

  .hero {
    min-height: 520px;
  }

  .hero__copy {
    padding: 24px;
  }

  .media-card,
  .event-list div,
  .news-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legacy-content .imagebox_right,
  .legacy-content .imagebox_right2,
  .legacy-content .imagebox_left,
  .legacy-content .imagebox_left2 {
    float: none;
    max-width: 100%;
    margin: 0 0 18px;
  }

  .gallery-strip {
    gap: 8px;
  }
}
