:root {
    --color-bg: #faf9f7;
    --color-bg-alt: #f2f0ec;
    --color-text: #1a1a1a;
    --color-text-muted: #555555;
    --color-accent: #c4a574;
    --color-accent-dark: #8b7355;
    --color-line: #e0ddd8;
    --font-en: 'Cormorant Garamond', serif;
    --font-jp: 'Noto Serif JP', serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 2;
    font-weight: 300;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

.en {
    font-family: var(--font-en);
    letter-spacing: 0.15em;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
}

nav.scrolled {
    padding: 1rem 4rem;
    background: rgba(0,0,0,0.98);
}

.logo {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.logo-enso {
    width: 35px;
    height: 35px;
    object-fit: contain;

}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.4s var(--ease-out);
}

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

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

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.menu-toggle span {
    width: 24px;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 2rem;
}

.hero-tagline-en {
    font-family: var(--font-en);
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    line-height: 1.1;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-tagline-jp {
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.scroll-indicator span {
    font-family: var(--font-en);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Sections */
section {
    padding: 10rem 4rem;
}

.section-label {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* Concept Section */
.concept {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 4rem;
    padding-right: 4rem;
}

.concept-lead {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 2.2;
    margin-bottom: 4rem;
}

.concept-body {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 2.4;
}

/* Philosophy Section */
.philosophy {
    background: var(--color-bg-alt);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-divider {
    background: var(--color-line);
}

.philosophy-item {
    padding: 2rem 0;
}

.philosophy-title {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.philosophy-title span {
    display: block;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-family: var(--font-jp);
}

.philosophy-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 2.4;
}

/* Product Section */
.product {
    background: linear-gradient(180deg, #f8f6f3 0%, #f2f0ec 100%);
    padding: 8rem 4rem;
}

.product-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.product-header .section-label {
    margin-bottom: 1.5rem;
}

.product-title {
    font-family: var(--font-en);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: 0.15em;
}

.product-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 2rem 0;
}

.product-catchphrase {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 2.4;
    margin-bottom: 3rem;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border: 1px solid var(--color-line);
}

.feature-number {
    font-family: var(--font-jp);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-accent-dark);
    line-height: 1.4;
}

.feature-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

.product-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-line);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-badge:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.product-badge svg {
    width: 16px;
    height: 16px;
}

/* Technology Section */
.technology {
    background: #fff;
    border-top: 1px solid var(--color-line);
    padding: 6rem 4rem;
}

.technology-content {
    max-width: 800px;
    margin: 0 auto;
}

.technology-title {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.technology-title span {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-family: var(--font-jp);
    letter-spacing: 0.1em;
}

.technology-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 2.2;
    margin-bottom: 1.5rem;
}

.technology-link {
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.technology-link:hover {
    opacity: 0.7;
}

.technology-link svg {
    width: 14px;
    height: 14px;
}

/* Company Section */
.company {
    background: var(--color-bg);
    border-top: 1px solid var(--color-line);
}

.company-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.company-info h2 {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.company-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 2;
}

.company-details {
    display: grid;
    gap: 1.5rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-line);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-family: var(--font-en);
}

.detail-value {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.8;
}

.detail-value a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.detail-value a:hover {
    opacity: 0.7;
}

/* Contact Section */
.contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 10rem 2rem;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.contact-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 2.2;
    margin-bottom: 3rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: all 0.4s var(--ease-out);
}

.contact-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.contact-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--ease-out);
}

.contact-button:hover svg {
    transform: translateX(4px);
}

/* Footer */
footer {
    padding: 4rem;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: #fff;
    margin-bottom: 2rem;
}

.footer-enso {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-text);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* SP用改行 */
.br-sp {
    display: none;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Hero animation */
.hero-content {
    animation: heroFadeIn 1.2s var(--ease-out) 0.3s both;
}

.scroll-indicator {
    animation: heroFadeIn 1.2s var(--ease-out) 0.8s both;
}

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

/* Responsive - Tablet */
@media (max-width: 1024px) {
    nav {
    padding: 1.25rem 2rem;
    }

    nav.scrolled {
    padding: 1rem 2rem;
    }

    .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    }

    .nav-links.active {
    opacity: 1;
    visibility: visible;
    }

    .nav-links a {
    font-size: 1rem;
    }

    .menu-toggle {
    display: flex;
    }

    section {
    padding: 6rem 2rem;
    }

    .concept {
    padding-left: 2rem;
    padding-right: 2rem;
    }

    .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    }

    .philosophy-divider {
    display: none;
    }

    .product {
    padding: 6rem 2rem;
    }

    .product-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    }

    .technology {
    padding: 4rem 2rem;
    }

    .company-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    }

    .detail-row {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    }

    footer {
    padding: 3rem 2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .hero-tagline-en {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    letter-spacing: 0.1em;
    }

    .hero-tagline-jp {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    line-height: 1.8;
    }

    .hero-content {
    padding: 0 1.5rem;
    }

    .br-sp {
    display: inline;
    }

    .concept-lead {
    font-size: 1.1rem;
    line-height: 2;
    }

    .philosophy-title {
    font-size: 2rem;
    }

    .product-features {
    gap: 0.75rem;
    }

    .feature-item {
    padding: 1rem 0.5rem;
    }

    .feature-number {
    font-size: 1rem;
    }

    .feature-label {
    font-size: 0.65rem;
    }

    .product-badge {
    padding: 0.875rem 1.5rem;
    font-size: 0.75rem;
    }

    .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
    }

    .contact {
    padding: 6rem 1.5rem;
    }

    .contact-button {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    }
}