:root {
  --bg: #1e1e22;
  --text: #f0f0f2;
  --sub: #b0b0b6;
  --accent: #c8c4bc;
  --border: #2e2e34;
  --font-serif: "Cormorant Garamond", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.cursor.hover {
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 124, 0.12);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 1000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  z-index: 100;
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.nav a:hover { opacity: 0.6; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, #25252a 0%, #1a1a1e 70%);
  animation: bgShift 20s ease-in-out infinite alternate;
}

/* Experimental mesh gradient layer */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(201, 168, 124, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 168, 124, 0.04) 0%, transparent 40%);
  animation: meshMove 25s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 10px) scale(1.05); }
}

@keyframes bgShift {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
}

.hero-sub {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.hero-en {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  margin-top: 16px;
  color: var(--sub);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--sub);
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: var(--sub);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

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

section {
  padding: 120px 0;
  min-height: 60vh;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

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

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 480px;
}

.about-info dl {
  display: grid;
  gap: 16px;
}

.about-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--sub);
  text-transform: uppercase;
}

.about-info dd {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s ease, opacity 0.6s ease;
  opacity: 0.7;
}

.service-item:hover {
  padding-left: 16px;
  opacity: 1;
}

/* Modern scroll-driven style (progressive enhancement) */
@supports (animation-timeline: scroll()) {
  .service-item {
    animation: fadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  @keyframes fadeUp {
    from { opacity: 0.3; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.service-item .num {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent);
  min-width: 40px;
}

.service-item h3 {
  font-size: 1.4rem;
  font-weight: 400;
  font-family: var(--font-serif);
}

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

.contact-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 24px;
}

.contact-note {
  margin-top: 32px;
  color: var(--sub);
  font-size: 0.9rem;
}

footer {
  padding: 40px;
  text-align: center;
  color: var(--sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .header { padding: 20px 24px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.95);
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.5rem;
  }
  .menu-btn { display: flex; z-index: 101; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .service-item { gap: 20px; }
  .service-item h3 { font-size: 1.2rem; }
}
