/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  line-height: 1.5;
  color: #3a2f2b;
  background-color: #fffbf7;
  overflow-x: hidden;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

ul {
  list-style: none;
}

/* Container and Layout */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* Header */
.header {
  background-color: #fffbf7;
  padding: 40px 0 80px 0;
  position: static;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 0;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}

.logo h1 {
  font-family: "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #3a2f2b;
}

.navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-list a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #3a2f2b;
  padding: 8px;
  transition: opacity 0.3s ease;
}

.nav-list a:hover {
  opacity: 0.7;
}

.cta-button {
  background-color: #3a2f2b;
  color: #ffffff;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.92px;
  text-transform: capitalize;
  padding: 0 20px;
  height: 40px;
  min-width: 120px;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.3s ease;
}

.hamburger-menu img {
  width: 20px;
  height: 15px;
}

.hamburger-menu:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero-section {
  margin-bottom: 128px;
}

.hero-video {
  margin-bottom: 28px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 3700/2081;
  object-fit: cover;
}

.hero-video-element {
  width: 100%;
  aspect-ratio: 3700/2081;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 59px;
  justify-content: space-between;
}

.hero-subtitle {
  font-family: "Times New Roman", serif;
  font-size: 10.1px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a2f2b;
  line-height: 14.66px;
}

.hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.48px;
  color: #3a2f2b;
  line-height: 1.5;
}

/* Features Section */
.features-section {
  margin-bottom: 128px;
}

.features-container {
  display: grid;
  grid-template-columns: 64fr 27fr;
  gap: 40px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-card:first-child .feature-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.feature-card:last-child .feature-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-label {
  font-family: "Times New Roman", serif;
  font-size: 10.1px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a2f2b;
  line-height: 14.66px;
  height: 14.66px;
}

.feature-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  color: #3a2f2b;
  line-height: 1.5;
  margin-bottom: 8px;
}

.feature-description {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #3a2f2b;
  line-height: 1.5;
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 128px;
}

.gallery-main-image {
  margin-bottom: 40px;
}

.gallery-main-image img {
  width: 100%;
  aspect-ratio: 1440/810;
  object-fit: cover;
}

.gallery-carousel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.carousel-slides {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.carousel-slide {
  flex: 1;
  min-width: 0;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 400/500;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.gallery-navigation {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-btn {
  width: 44px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-btn:hover {
  opacity: 0.7;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  transform: scaleY(-1);
}

.view-gallery-btn {
  background: none;
  border: none;
  color: #3a2f2b;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.92px;
  padding: 0 24px 0 0;
  height: 40px;
  min-width: 120px;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-left: auto;
}

.view-gallery-btn:hover {
  opacity: 0.7;
}

.view-gallery-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #3a2f2b;
}

/* Experiences Section */
.experiences-section {
  margin-bottom: 128px;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-title h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.48px;
  color: #3a2f2b;
  line-height: 1.5;
}

.experiences-container {
  display: flex;
  gap: 40px;
}

.experience-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.experience-image img {
  width: 100%;
  aspect-ratio: 400/500;
  object-fit: cover;
}

.experience-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience-label {
  font-family: "Times New Roman", serif;
  font-size: 10.1px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a2f2b;
  line-height: 14.66px;
  height: 14.66px;
}

.experience-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  color: #3a2f2b;
  line-height: 1.5;
  margin-bottom: 8px;
}

.experience-description {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #3a2f2b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.experience-btn {
  background: none;
  border: none;
  color: #3a2f2b;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.92px;
  padding: 0 24px 0 0;
  height: 40px;
  min-width: 120px;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-align: left;
}

.experience-btn:hover {
  opacity: 0.7;
}

.experience-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #3a2f2b;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 0 40px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid #e6e6e6;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-title {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.48px;
  color: #3a2f2b;
  line-height: 1.5;
}

.cta-description {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #3a2f2b;
  line-height: 1.5;
}

.cta-button-large {
  background-color: #3a2f2b;
  color: #ffffff;
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.92px;
  text-transform: capitalize;
  padding: 0 20px;
  height: 40px;
  width: 234px;
  transition: opacity 0.3s ease;
}

.cta-button-large:hover {
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 16px 0;
}

.privacy-policy {
  font-family: "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: #3a2f2b;
  line-height: 1.5;
}

.copyright {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #3a2f2b;
  line-height: 1.5;
}

/* Mobile Fixed CTA Button */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fffbf7;
  padding: 12px 16px 16px 16px;
}

.mobile-cta-button {
  width: 100%;
  padding: 16px 24px;
  background-color: #2c2c2c;
  color: #ffffff;
  border: none;
  border-radius: 0;
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-cta-button:hover {
  background-color: #1a1a1a;
}

.mobile-cta-button:active {
  transform: translateY(1px);
}

/* Responsive Design */
@media (max-width: 900px) {
  .main {
    padding: 0 24px;
    gap: 64px;
  }

  .header-container {
    padding: 0 24px;
  }

  .footer {
    padding: 0 24px;
  }

  .hero-title {
    font-size: 20px;
    letter-spacing: 0.4px;
  }

  .features-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
  }

  .feature-card:first-child .feature-image img {
    aspect-ratio: 16/9;
  }

  .feature-card:last-child .feature-image img {
    aspect-ratio: 1/1;
  }

  .experiences-container {
    flex-direction: column;
    gap: 40px;
  }

  .experience-image img {
    aspect-ratio: 1/1;
  }

  .gallery-main-image {
    margin-bottom: 24px;
  }

  .carousel-slide:nth-child(n + 3) {
    display: none;
  }

  .navigation {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .cta-button {
    display: none;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-button-large {
    width: 234px;
  }

  .carousel-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 400px) {
  .main {
    padding: 0 16px;
    gap: 48px;
  }

  .header {
    padding: 16px 0 32px 0;
  }

  .header.scrolled {
    padding: 8px 0;
  }

  .header-container {
    padding: 0 16px;
  }

  .footer {
    padding: 0 16px;
    padding-bottom: 80px;
  }

  .navigation {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .cta-button {
    display: none;
  }

  .features-container {
    gap: 40px;
  }

  .experiences-container {
    gap: 40px;
  }

  .gallery-main-image {
    margin-bottom: 16px;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-title {
    font-size: 20px;
    letter-spacing: 0.4px;
  }

  .cta-button-large {
    width: 100%;
  }

  .carousel-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .mobile-fixed-cta {
    display: block;
  }
}

/* Carousel Animation */
.carousel-slides {
  transition: transform 0.3s ease;
}

.carousel-slide {
  flex: 1;
  min-width: 0;
  transition: opacity 0.3s ease;
}
