:root {
  --primary: #1F2937;
  --accent: #D97706;
  --secondary: #374151;
  --text: #F9FAFB;
  --text-dark: #111827;
  --muted: #9CA3AF;
  --bg: #0b0f14;
  --bg-alt: #111827;
  --surface: #374151;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --container: 1040px;
  --space: 24px;
  --space-sm: 16px;
  --space-lg: 64px;
  --space-xl: 96px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #F59E0B;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid rgba(249, 250, 251, 0.1);
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  position: relative;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(217, 119, 6, 0.2);
  border-color: var(--accent);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: '';
}

.hamburger {
  top: 50%;
  transform: translate(-50%, -50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-list a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 8px;
  position: relative;
}

.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-list a:not(.btn):hover::after,
.nav-list a:not(.btn).active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #EA580C;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(249, 250, 251, 0.2);
}

.btn-secondary:hover {
  background: rgba(249, 250, 251, 0.05);
  border-color: rgba(249, 250, 251, 0.3);
}

.hero {
  padding: clamp(56px, 10vh, 120px) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(11, 15, 20, 0.85) 0%, rgba(31, 41, 55, 0.65) 100%),
    url('../assets/images/S__109592598_0.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  animation: fadeInUp 0.8s ease;
}

.catch {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(249, 250, 251, 0.9);
  margin-bottom: 32px;
  line-height: 1.75;
  word-break: keep-all;
  word-wrap: break-word;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  animation: fadeIn 1s ease 0.2s both;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(217, 119, 6, 0.2);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-media:hover .hero-slide.is-active {
  transform: scale(1.05);
}

.section {
  padding: clamp(48px, 8vh, 96px) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.concept-section {
  min-height: 500px;
}

.concept-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(15px, 2.5vw, 18px);
  padding: 40px;
  word-break: keep-all;
  word-wrap: break-word;
}

.concept-content p {
  margin-bottom: 20px;
  opacity: 1;
  color: var(--text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.75;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hours dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
}

.hours dt {
  font-weight: 600;
  color: var(--accent);
}

.hours dd {
  color: rgba(249, 250, 251, 0.9);
}

.location p {
  margin-bottom: 12px;
  color: rgba(249, 250, 251, 0.9);
}

.map {
  margin-top: 48px;
}

.map iframe {
  height: clamp(260px, 40vh, 400px);
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wayfinding {
  margin-top: 16px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.events-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.events-content p {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.message-section {
  min-height: 500px;
}

.message-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.message-content p {
  font-size: clamp(15px, 2.5vw, 18px);
  margin-bottom: 20px;
  line-height: 1.75;
  color: var(--text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  word-break: keep-all;
  word-wrap: break-word;
}

.site-footer {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(11, 15, 20, 0.9));
  border-top: 1px solid rgba(217, 119, 6, 0.2);
  padding: 48px 0 24px;
  margin-top: 0.3em;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-info h3 {
  color: var(--text);
  margin-bottom: 24px;
}

.meta {
  list-style: none;
  margin-bottom: 24px;
}

.meta li {
  margin-bottom: 8px;
  color: rgba(249, 250, 251, 0.8);
  font-size: 15px;
}

.social {
  display: flex;
  gap: 16px;
}

.social a {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
}

.social a:hover {
  background: var(--accent);
  color: white;
}

.legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 8px;
  margin-bottom: 16px;
}

.legal a {
  color: rgba(249, 250, 251, 0.7);
  font-size: 14px;
}

.age {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(249, 250, 251, 0.1);
  margin-top: 0.3em;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top));
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height) - env(safe-area-inset-top));
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.98) 0%, rgba(11, 15, 20, 0.98) 100%);
    flex-direction: column;
    padding: 32px 24px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    gap: 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(217, 119, 6, 0.2);
  }

  .nav-list li {
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.3s ease forwards;
  }

  .nav-list.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-list li:nth-child(1) { animation-delay: 0.1s; }
  .nav-list li:nth-child(2) { animation-delay: 0.15s; }
  .nav-list li:nth-child(3) { animation-delay: 0.2s; }
  .nav-list li:nth-child(4) { animation-delay: 0.25s; }
  .nav-list li:nth-child(5) { animation-delay: 0.3s; }
  .nav-list li:nth-child(6) { animation-delay: 0.35s; }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .nav-list a:not(.btn) {
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
  }

  .nav-list a:not(.btn):hover {
    background: rgba(217, 119, 6, 0.1);
    padding-left: 24px;
  }

  .nav-list.active {
    right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-media {
    display: none;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-info, .footer-legal {
    text-align: center;
  }

  .social {
    justify-content: center;
    margin-top: 24px;
  }

  .legal {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --space: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .hero {
    min-height: 65vh;
    padding: 32px 0;
    background:
      linear-gradient(135deg, rgba(11, 15, 20, 0.85) 0%, rgba(31, 41, 55, 0.65) 100%),
      url('../assets/images/S__109592598_0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .catch {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
  }

  .concept-content,
  .events-content,
  .message-content {
    padding: 24px 16px;
  }
  
  .concept-content p,
  .message-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .section-alt {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.03), transparent);
  }

  .site-header {
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-list {
    backdrop-filter: blur(12px);
  }

  .hours dt {
    font-size: 14px;
  }

  .hours dd {
    font-size: 15px;
  }

  .contact-card {
    padding: 24px;
  }

  .menu-category {
    padding: 20px;
    border-radius: var(--radius);
  }
  
  .access-grid dt,
  .hours dt {
    font-size: 13px;
  }
  
  .access-grid dd,
  .hours dd {
    font-size: 14px;
  }
  
  .location p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .wayfinding {
    font-size: 13px;
    padding: 12px;
  }
  
  .meta li {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Light mode disabled - always use dark theme */
/* @media (prefers-color-scheme: light) {
  Commented out to maintain consistent dark theme
} */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-bottom: 32px;
}

.menu-category h3 {
  color: var(--accent);
  margin-bottom: 24px;
  font-size: 20px;
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
}

.menu-list dt {
  font-weight: 500;
  color: var(--text);
  opacity: 0.95;
}

.menu-list dd {
  color: var(--accent);
  font-weight: 600;
  text-align: right;
}

.menu-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 18px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-tel {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-tel a {
  color: var(--accent);
  font-weight: 600;
}

.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(249, 250, 251, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(249, 250, 251, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select option {
  background: #1F2937;
  color: #F9FAFB;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 960px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Light mode styles disabled - always use dark theme
@media (prefers-color-scheme: light) {
  .menu-list dt {
    color: var(--text-dark);
  }
  
  .contact-form {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
  }
  
  .form-group input,
  .form-group textarea {
    background: white;
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--accent);
    background: white;
  }
}
*/
