@charset "UTF-8";

/* =========================================
   Variables & Reset
 ========================================= */
:root {
  --color-bg: #FAF9F6;
  --color-text: #2C1E14;
  --color-accent: #8B4513;
  --color-wash: #EDEBE8;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --font-serif-en: 'Cormorant Garamond', serif;
  --font-serif-jp: 'Noto Serif JP', serif;
  --font-sans: 'Outfit', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: var(--font-serif-jp);
  line-height: 2.0;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}

.section {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.bg-wash {
  background-color: var(--color-wash);
}

.center {
  text-align: center;
}

/* =========================================
   Typography
 ========================================= */
.section-title {
  font-family: var(--font-serif-jp);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--color-text);
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid var(--color-text);
  font-size: 0.85rem;
  margin-top: 20px;
}

.btn:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* =========================================
   Animations
 ========================================= */
.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.js-fadein.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.3s; }

/* =========================================
   Header
 ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 0;
  color: var(--color-white);
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(250, 249, 246, 0.95);
  padding: 15px 0;
  color: var(--color-text);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
}

.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.nav ul {
  display: flex;
  gap: 15px;
}

.nav li a {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.header.scrolled .nav li a {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-white);
}

/* =========================================
   Hero
 ========================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #000;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: filter 1.5s ease;
}

.hero-bg.is-colored {
  filter: grayscale(0%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--color-white);
  padding: 40px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 8px;
}

.hero-content h2 {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.5;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0 auto;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-content h2 i {
  font-style: normal;
  display: block;
  margin-top: 2rem;
}

.hero-content p {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-top: 3rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* =========================================
   Vertical Text Section (Philosophy)
 ========================================= */
.vertical-text-area {
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 100px 0;
}

.vertical-title {
  writing-mode: vertical-rl;
  font-size: 2.5rem;
  letter-spacing: 0.5em;
  font-weight: 300;
}

.vertical-content {
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

.vertical-content p {
  margin-left: 2rem;
}

/* =========================================
   Product Gallery
 ========================================= */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15rem;
  padding: 100px 0;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 10%;
}

.product-item:nth-child(even) {
  flex-direction: row-reverse;
}

.product-img-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-text {
  width: 40%;
}

.product-text h4 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.product-text p {
  font-size: 0.95rem;
  color: #555;
}

.scroll-horizontal-text {
  font-family: var(--font-serif-en);
  font-size: 6rem;
  opacity: 0.03;
  white-space: nowrap;
  letter-spacing: 0.5em;
  position: absolute;
  right: 0;
  bottom: 0px;
  pointer-events: none;
  max-width: 100%;
  overflow: hidden;
}

/* =========================================
   Access
 ========================================= */
.access-flex {
  display: flex;
  align-items: center;
  gap: 10%;
}

.access-info {
  width: 40%;
}

.access-info p {
  margin-bottom: 1rem;
}

.access-map {
  width: 50%;
}

.map-circle {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  border: 1px solid #ddd;
}

/* =========================================
   Footer
 ========================================= */
.footer {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-logo {
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
}

.copyright {
  font-size: 0.75rem;
  color: #999;
}

/* =========================================
   Responsive
 ========================================= */
@media screen and (max-width: 899px) {
  .vertical-text-area, .product-item, .product-item:nth-child(even), .access-flex {
    flex-direction: column;
    writing-mode: horizontal-tb;
    gap: 50px;
  }
  .vertical-title, .vertical-content, .hero-content h2 {
    writing-mode: horizontal-tb;
  }
  .product-img-circle, .map-circle {
    width: 300px;
    height: 300px;
  }
}
