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

:root {
  --color-bg: #fafaf8;
  --color-dark: #1a1a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-accent: #8b6914;
  --color-accent-light: #c4a44a;
  --color-line: #d4d0c8;
  --color-white: #ffffff;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif JP', Georgia, serif;
  --nav-height: 80px;
  --section-padding: 120px;
}

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

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  z-index: 1001;
}

.logo-kanji {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: color 0.4s ease;
}

.nav.scrolled .logo-kanji {
  color: var(--color-dark);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.4s ease;
}

.nav.scrolled .logo-sub {
  color: var(--color-text-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-light);
  transition: width 0.3s ease;
}

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

.nav.scrolled .nav-links a {
  color: var(--color-text);
}

.nav.scrolled .nav-links a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background-color: var(--color-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a2332 0%, #2d3748 40%, #1a2332 100%);
  background-size: cover;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139, 105, 20, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(100, 140, 180, 0.1) 0%, transparent 50%);
}

/* Mountain silhouette */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    linear-gradient(135deg, transparent 33.33%, rgba(255,255,255,0.02) 33.33%, rgba(255,255,255,0.02) 40%, transparent 40%),
    linear-gradient(225deg, transparent 28%, rgba(255,255,255,0.03) 28%, rgba(255,255,255,0.03) 38%, transparent 38%),
    linear-gradient(160deg, transparent 40%, rgba(255,255,255,0.015) 40%, rgba(255,255,255,0.015) 52%, transparent 52%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  z-index: 1;
}

.hero-sub {
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent-light);
  margin: 0 auto 32px;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent-light);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===== Hero Animations ===== */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.section-header--light .section-label {
  color: var(--color-accent-light);
}

.section-header--light .section-title {
  color: var(--color-white);
}

.section-line {
  width: 40px;
  height: 1px;
  background: var(--color-accent-light);
  margin: 0 auto;
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== About ===== */
.about {
  background-color: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 8px;
}

.stat-item {
  padding: 28px 32px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.stat-number small {
  font-size: 0.9rem;
  font-weight: 400;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
}

/* ===== Lodge ===== */
.lodge {
  position: relative;
  padding: var(--section-padding) 0;
  color: var(--color-white);
  overflow: hidden;
}

.lodge-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lodge-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a2332 0%, #2a3a4e 50%, #1a2332 100%);
}

.lodge-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(139, 105, 20, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(100, 140, 180, 0.06) 0%, transparent 50%);
}

.lodge .container {
  position: relative;
  z-index: 1;
}

.lodge-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.lodge-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.lodge-location {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.lodge-desc {
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.lodge-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--color-accent-light);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Trade ===== */
.trade {
  background: var(--color-white);
}

.trade-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.trade-intro p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text-light);
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trade-card {
  padding: 48px 36px;
  border: 1px solid var(--color-line);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.trade-card:hover {
  border-color: var(--color-accent-light);
  transform: translateY(-4px);
}

.trade-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 24px;
  color: var(--color-accent);
}

.trade-card-icon svg {
  width: 100%;
  height: 100%;
}

.trade-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.trade-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* ===== Company ===== */
.company {
  background: var(--color-bg);
}

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-line);
}

.company-table th,
.company-table td {
  padding: 24px 20px;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text);
  line-height: 1.9;
}

.company-table td a {
  color: var(--color-accent);
  transition: color 0.3s ease;
}

.company-table td a:hover {
  color: var(--color-accent-light);
}

/* ===== Contact ===== */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.contact-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 105, 20, 0.06) 0%, transparent 60%);
}

.contact .container {
  position: relative;
  z-index: 1;
}

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

.contact-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent-light);
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-accent-light);
}

/* ===== Footer ===== */
.footer {
  background: #111;
  padding: 50px 0;
}

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

.footer .logo-kanji {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.3rem;
}

.footer .logo-sub {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 90px;
  }

  .container {
    padding: 0 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .lodge-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .trade-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px;
    --nav-height: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background-color: #fff !important;
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #fff !important;
  }

  .hero-title {
    letter-spacing: 0.1em;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .lodge-features {
    grid-template-columns: 1fr;
  }

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

  .company-table th {
    width: 100px;
    font-size: 0.82rem;
  }

  .company-table td {
    font-size: 0.85rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero-sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
  }

  .hero-desc {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table tr {
    padding: 12px 0;
  }
}
