:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111216;
  --panel-strong: #181a20;
  --line: #2b2f39;
  --text: #ffffff;
  --muted: #b7bfcc;
  --orange: #ff6a00;
  --red: #e12424;
  --blue: #17a8e8;
  --blue-dark: #0a4f78;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 106, 0, 0.22), transparent 28rem),
    radial-gradient(circle at 100% 12%, rgba(23, 168, 232, 0.18), transparent 24rem),
    linear-gradient(180deg, #080808 0%, var(--bg) 48%, #090a0c 100%);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

.site-hero {
  padding: 34px 18px 28px;
  border-bottom: 4px solid var(--orange);
  background: linear-gradient(145deg, rgba(255, 106, 0, 0.12), rgba(23, 168, 232, 0.08) 48%, rgba(0, 0, 0, 0.6));
}

.hero-inner,
main,
footer {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.kicker,
.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.band-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 18px;
  transform: skew(-3deg);
}

.logo-top,
.logo-bottom {
  display: block;
  color: #000;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.logo-top {
  padding: 8px 10px 6px;
  background: var(--orange);
  font-size: clamp(2.1rem, 15vw, 5.6rem);
}

.logo-bottom {
  color: var(--orange);
  font-size: clamp(4.4rem, 27vw, 10.8rem);
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 9vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
}

main {
  padding: 32px 18px 48px;
}

.section-block,
.reservation-panel {
  margin-bottom: 34px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 7vw, 2.5rem);
  line-height: 1.1;
}

.notice {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  background: rgba(17, 18, 22, 0.88);
  color: var(--muted);
}

.notice.is-hidden {
  display: none;
}

.event-grid {
  display: flex;
  gap: 16px;
  margin-right: -18px;
  padding: 2px 18px 14px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.event-grid::-webkit-scrollbar {
  height: 8px;
}

.event-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.event-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.event-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 88vw;
  max-width: 420px;
  min-height: 650px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(24, 26, 32, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.event-media {
  position: relative;
  flex: 0 0 auto;
  height: 200px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(23, 168, 232, 0.1)),
    #050505;
}

.flyer-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--text);
  cursor: zoom-in;
  overflow: hidden;
}

.flyer-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.flyer-button::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  content: "⌕ クリックで拡大";
  padding: 6px 9px;
  border: 1px solid rgba(255, 106, 0, 0.75);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.flyer-button:hover img {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.flyer-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.flyer-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 106, 0, 0.18), rgba(23, 168, 232, 0.12) 58%, rgba(0, 0, 0, 0.3));
  background-size: 22px 22px, 22px 22px, auto;
  color: var(--text);
  text-align: center;
}

.flyer-placeholder span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flyer-placeholder strong {
  color: var(--orange);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.flyer-placeholder-button {
  cursor: zoom-in;
}

.flyer-placeholder-button strong {
  padding: 8px 12px;
  border: 1px solid rgba(255, 106, 0, 0.7);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.98rem;
}

.flyer-placeholder-button:hover strong {
  background: var(--orange);
  color: #000;
}

.flyer-placeholder-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.image-count-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(23, 168, 232, 0.72);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.event-date {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  background: var(--blue-dark);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.event-title {
  display: -webkit-box;
  min-height: 3.1rem;
  margin-bottom: 10px;
  overflow: hidden;
  font-size: 1.35rem;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-subtitle {
  display: -webkit-box;
  max-height: 5.9rem;
  margin: 0 0 14px;
  overflow: hidden;
  color: #d8dde6;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.event-presenter {
  display: -webkit-box;
  min-height: 2.2rem;
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-presenter.is-empty {
  visibility: hidden;
}

.event-meta {
  display: grid;
  gap: 8px;
  min-height: 138px;
  margin: 0 0 14px;
  color: var(--muted);
  align-content: start;
}

.event-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.event-meta dt {
  color: var(--orange);
  font-weight: 800;
}

.event-meta dd {
  margin: 0;
  text-align: right;
}

.public-note {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 106, 0, 0.5);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.14), rgba(23, 168, 232, 0.08));
}

.public-note-label {
  width: fit-content;
  padding: 2px 7px;
  background: var(--orange);
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.public-note-text {
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
}

.event-note-slot {
  min-height: 92px;
}

.event-lineup { margin: 0 0 16px; min-width: 0; }
.event-lineup summary {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--text);
  background: rgba(255, 106, 0, 0.08);
  font-weight: 800;
  cursor: pointer;
}
.event-lineup summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.event-lineup ul { margin: 12px 0 0; padding: 0; list-style: none; }
.event-lineup li { padding: 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }

.event-actions {
  padding: 14px 18px 0;
}

.reserve-button,
.submit-button,
.related-image-button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(225, 36, 36, 0.28);
}

.reserve-button:hover,
.submit-button:hover,
.related-image-button:hover {
  filter: brightness(1.08);
}

.reserve-button:focus-visible,
.submit-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.reservation-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 8px;
  background: rgba(17, 18, 22, 0.94);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 11px;
}

label {
  color: var(--text);
  font-weight: 800;
}

.required {
  display: inline-block;
  margin-left: 4px;
  color: var(--orange);
  font-size: 0.75rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #3a3f4c;
  border-radius: 4px;
  background: #08090b;
  color: var(--text);
  font: inherit;
}

input,
select {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input::placeholder,
textarea::placeholder {
  color: #737b89;
}

.submit-button {
  margin-top: 8px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 0;
  margin: 8px 0 0;
  font-weight: 800;
}

.form-message.success {
  padding: 14px;
  border: 1px solid rgba(255, 106, 0, 0.65);
  border-left: 5px solid var(--orange);
  background: rgba(255, 106, 0, 0.16);
  color: #fff;
}

.form-message.error {
  padding: 14px;
  border: 1px solid rgba(225, 36, 36, 0.7);
  border-left: 5px solid var(--red);
  background: rgba(225, 36, 36, 0.14);
  color: #fff;
}

.flyer-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 54px 10px 24px;
  background: rgba(0, 0, 0, 0.94);
}

.flyer-modal.is-open {
  display: flex;
}

.flyer-modal-image {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  border: 2px solid rgba(255, 106, 0, 0.72);
  border-radius: 6px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 70px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.flyer-modal-close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1001;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 106, 0, 0.82);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(225, 36, 36, 0.28);
}

.flyer-modal-close:hover {
  background: var(--orange);
  color: #000;
}

.flyer-modal-close:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.flyer-modal-nav {
  position: fixed;
  top: 50%;
  z-index: 1001;
  width: 48px;
  height: 58px;
  border: 1px solid rgba(255, 106, 0, 0.82);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.82);
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.flyer-modal-prev {
  left: 10px;
}

.flyer-modal-next {
  right: 10px;
}

.flyer-modal-counter {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 1001;
  transform: translateX(-50%);
  padding: 6px 12px;
  border: 1px solid rgba(255, 106, 0, 0.72);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-weight: 900;
}

.is-hidden {
  display: none !important;
}

footer {
  padding: 0 18px 28px;
  color: var(--muted);
}

@media (min-width: 720px) {
  .site-hero {
    padding: 56px 28px 42px;
  }

  main {
    padding: 48px 28px 64px;
  }

  .event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .event-card {
    max-width: none;
    min-height: 720px;
    scroll-snap-align: none;
  }

  .event-media {
    height: 220px;
  }

  .reservation-panel {
    padding: 28px;
  }

  form {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  label,
  select,
  input,
  textarea,
  .submit-button,
  .form-message {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
