@font-face {
  font-family: "Shippori Gothic B2";
  src: url("../dist/fonts/ShipporiGothicB2-OTF-Bold-full-v2.woff2") format("woff2"),
       url("../dist/fonts/ShipporiGothicB2-OTF-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Shippori Gothic B2", "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
}

body,
body * {
  font-family: "Shippori Gothic B2", "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif !important;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: #fff;
  color: #171410;
}

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

.eyebrow {
  margin: 0 0 1rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-family: "Raleway", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 5.4vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.slider {
  position: relative;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-slide {
  min-width: 100%;
  scroll-snap-align: start;
}

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

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.slider-button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  min-width: 3.2rem;
  min-height: 2.6rem;
  padding: 0.6rem 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  background: currentColor;
}

.slider-button:hover span,
.slider-button:focus-visible span {
  filter: invert(1);
}

.slider-status {
  min-width: 4rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
}

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

.event-card h3 {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
}

.event-date {
  font-family: "Raleway", sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.event-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.event-card address {
  font-style: normal;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  opacity: 0.6;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.download-link:hover,
.download-link:focus-visible {
  background: currentColor;
}

.download-link:hover span,
.download-link:focus-visible span {
  filter: invert(1);
}

.concept-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  transform: none;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
}

.concept-slider-track {
  display: flex;
  gap: 10px;
  animation: concept-marquee 18.6667s linear infinite;
}

.concept-slide {
  flex: 0 0 auto;
  width: clamp(286px, 31.2vw, 416px);
}

.concept-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.concept-slide-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.concept-slide-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}

.modal[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-content {
  position: relative;
  width: min(1200px, 92vw);
  height: min(80vh, 900px);
  margin: 0 auto;
  z-index: 1;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.is-modal-open {
  overflow: hidden;
}

@keyframes concept-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.site-footer a:focus-visible,
.site-header a:focus-visible,
.slider-button:focus-visible,
.text-link:focus-visible,
.download-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slider-track {
    scroll-behavior: auto;
  }
}
