:root {
    --color-bg: #121212;
    --color-bg-secondary: #1A1A1A;
    --color-text: #F5F5F5;
    --color-text-muted: #A0A0A0;
    --color-accent: #D4AF37;
    /* Gold */
    --color-leather: #3E2723;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --font-jp: 'Shippori Mincho', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-jp), var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading), var(--font-jp);
    font-weight: 400;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo-container {
    width: 150px;
}

.logo-img {
    width: 80%;
    height: auto;
    /* Make logo gold if it's white/transparent */
    
    mix-blend-mode: screen;
}

/* Nav */
.nav a {
    margin-left: 30px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- 画像スライドショー修正箇所 START --- */
.hero-image {
    position: absolute; /* 画像を重ねるために必須 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* フェードアニメーション用 */
    opacity: 0;
    transition: opacity 3s ease-in-out;
    z-index: 0;

    /* ズームエフェクト */
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

.hero-image.active {
    opacity: 1;
    z-index: 1;
}
/* --- 画像スライドショー修正箇所 END --- */

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.0);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2; /* 画像より手前に表示 */
}

.hero-content {
    z-index: 3; /* オーバーレイより手前に表示 */
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.0rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Section Backgrounds */
.section {
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-bg), rgba(18, 18, 18, 0.8), var(--color-bg));
}

.relative {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}

.section-title.center {
    text-align: center;
}

/* Story Section */
.story-block {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.story-block.reverse {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 60px;
}

.story-text {
    font-size: 1.0rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.story-image-wrapper {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.story-content {
    flex: 1;
}

/* Features Section */
.features {
    background-color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.feature-icon {
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Lineup Section */
.lineup {
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image.blur img {
    filter: blur(10px) brightness(0.5);
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    width: 100%;
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
}

.status.available {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--color-bg);
}

.footer-logo-container {
    width: 120px;
    margin: 0 auto 20px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .story-block.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .nav {
        display: none;
        /* Simple mobile hide for now */
    }
}