/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-serif: 'Noto Serif JP', 'Cinzel', serif;
  --font-sans: 'Outfit', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-en: 'Cinzel', serif;
  
  --color-bg-dark: #0f1416;
  --color-bg-card: rgba(25, 33, 36, 0.7);
  --color-text-light: #f4f6f8;
  --color-text-muted: #a6b4be;
  --color-accent: #d4af37; /* Gold accent */
  --color-accent-hover: #f1cf68;
  --color-overlay: rgba(15, 20, 24, 0.45);
  
  --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-normal);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(15, 20, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  color: #fff;
  letter-spacing: 0.18em;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--color-accent);
  letter-spacing: 0.25em;
}

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

.nav-link {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-normal);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 8px 22px;
  border: 1px solid var(--color-accent);
  border-radius: 30px;
  color: var(--color-accent);
  transition: var(--transition-normal);
}

.nav-btn::after {
  display: none;
}

.nav-btn:hover {
  background: var(--color-accent);
  color: #0f1416;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: var(--transition-normal);
}

/* ==========================================================================
   Hero Section (Video Background)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 20, 24, 0.3) 0%, rgba(15, 20, 24, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  max-width: 900px;
  animation: fadeIn 1.2s ease-out forwards;
}

.hero-subtitle {
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  display: inline-block;
  margin: 0 8px;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* Video Controls */
.video-controls {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 4;
  display: flex;
  gap: 12px;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: scale(1.08);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: var(--transition-normal);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: #fff;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
}

.title-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: #12181b;
}

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

.about-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: #fff;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   Information Section
   ========================================================================== */
.info-section {
  background: #0f1416;
}

.info-box {
  background: linear-gradient(145deg, rgba(25, 33, 36, 0.8) 0%, rgba(18, 24, 27, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.info-lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 16px;
}

.info-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8972b 100%);
  color: #0f1416;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f1cf68 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090c0e;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(15, 20, 24, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

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

  .main-nav .nav-list {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .video-controls {
    bottom: 24px;
    right: 20px;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .info-box {
    padding: 40px 20px;
  }
}
