:root {
    --color-bg: #0d0d0d;
    --color-text: #f0f0f0;
    --color-text-sub: #a0a0a0;
    --color-accent: #c6a87c;
    /* Sand Gold */
    --color-border: #333333;
    --font-jp-serif: "Noto Serif JP", serif;
    --font-jp-sans: "Noto Sans JP", sans-serif;
    --spacing-container: 20px;
    --width-container: 1000px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-jp-sans);
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-jp-serif);
    font-weight: 400;
}

.text-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.text-highlight {
    display: inline-block;
    font-family: var(--font-jp-serif);
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 10px 0;
    letter-spacing: 0.1em;
}

/* Layout Utilities */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.section {
    padding: 80px 0;
    scroll-margin-top: 70px;
    /* Fix for sticky header overlap */
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__en {
    display: block;
    font-size: 0.9rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section__jp {
    font-size: 1.8rem;
    font-weight: 500;
}

.sp-br {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid currentColor;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-jp-sans);
    font-size: 0.95rem;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
}

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

.btn--outline {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

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

.btn--secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

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

.btn--large {
    min-width: 240px;
    padding: 16px 40px;
}

.btn--small {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--width-container);
    margin: 0 auto;
}

.header__logo {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.header__nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header__nav a:not(.btn) {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    transition: color 0.3s;
}

.header__nav a:not(.btn):hover {
    color: var(--color-text);
}

/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Mobile Menu Open State */
.header.nav-open .mobile-menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header.nav-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

.header.nav-open .mobile-menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header.nav-open .header__nav {
    transform: translateX(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    /* dynamic viewport: avoids mobile address-bar clipping */
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a url("../assets/images/hero.jpg") center center / cover no-repeat;
    z-index: -1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Left-heavy scrim: darkens the text side, keeps the product (right) visible */
    background: linear-gradient(100deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.45) 40%,
            rgba(0, 0, 0, 0.05) 72%);
}

.hero__content {
    width: min(100%, var(--width-container));
    margin: 0 auto;
    padding: 0 var(--spacing-container);
    text-align: left;
    z-index: 1;
}

.hero__sub {
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero__title {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Concept Section */
.concept__body {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    line-height: 2.2;
}

.text {
    color: var(--color-text-sub);
}

/* USP Section */
.usp__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.usp__item {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 4px;
    /* Slight rounding but keeping it mostly sharp */
    border: 1px solid #222;
    transition: transform 0.3s;
}

.usp__item:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.usp__num {
    font-family: var(--font-jp-serif);
    font-size: 2.5rem;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.usp__title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

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

/* Movie Section */
.movie {
    padding-bottom: 70px;
}

.movie__frame {
    width: 100%;
    margin: 0 auto;
    background: #050505;
    border: 1px solid #222;
}

.movie__video {
    width: 100%;
    height: auto;
    display: block;
}

/* Placeholders for images */
.placeholder-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 1px dashed #444;
}

/* Product Section */
.product__list {
    display: grid;
    gap: 40px;
}

.product__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: #111;
    border: 1px solid #222;
}

.product__card:nth-child(even) {
    direction: rtl;
    /* Switch image/text order */
}

.product__card:nth-child(even) .product__info {
    direction: ltr;
    /* Reset text direction */
}

.product__info {
    padding: 20px;
}

.product__name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.product__dim {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    font-weight: 300;
}

.product__price {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.tax {
    font-size: 0.8rem;
    color: #666;
}

.product__desc {
    color: var(--color-text-sub);
    margin-bottom: 30px;
    line-height: 1.6;
}

.product__note {
    text-align: center;
    margin-top: 40px;
    color: var(--color-text-sub);
}

/* Q&A Section */
.qa__list {
    max-width: 800px;
    margin: 0 auto;
}

.qa__item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.qa__q {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    /* Hide default triangle */
    position: relative;
    padding-right: 30px;
}

.qa__q::-webkit-details-marker {
    display: none;
}

.qa__q::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
}

details[open] .qa__q::after {
    content: "-";
}

.qa__a {
    padding-bottom: 20px;
    color: var(--color-text-sub);
    line-height: 1.8;
}


/* Footer/CTA Section */
.footer {
    background: #151515;
    padding: 100px 0 40px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer__text {
    margin-bottom: 40px;
    color: var(--color-text-sub);
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.footer__company {
    max-width: 680px;
    margin: 0 auto 70px;
    color: #7f7f7f;
    font-size: 0.9rem;
    line-height: 1.9;
    letter-spacing: 0.03em;
}

.footer__company a {
    color: var(--color-text-sub);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer__address {
    white-space: nowrap;
}

.footer__copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --width-container: 100%;
        --spacing-container: 20px;
        /* Increased padding */
    }

    .header__inner {
        padding: 15px 20px;
    }

    .sp-br {
        display: block;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .header__nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        padding-top: 80px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        gap: 30px;
        font-size: 1.2rem;
    }

    /* Mobile hero: image fills top, text sits in a darkened bottom band */
    .hero {
        align-items: flex-end;
    }

    .hero__bg {
        background-position: 58% center;
    }

    .hero__overlay {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.82) 0%,
                rgba(0, 0, 0, 0.5) 32%,
                rgba(0, 0, 0, 0.12) 60%,
                rgba(0, 0, 0, 0.25) 100%);
    }

    .hero__content {
        padding-bottom: 64px;
    }

    .hero__sub {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero__title {
        font-size: clamp(1.9rem, 8.4vw, 2.4rem);
        line-height: 1.5;
        letter-spacing: 0.04em;
        margin-bottom: 0;
    }

    .section__jp {
        font-size: 1.5rem;
    }

    .movie {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .movie .section__header {
        margin-bottom: 36px;
    }

    .product__card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .product__card:nth-child(even) {
        direction: ltr;
        /* Reset direction on mobile */
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn--large {
        width: 100%;
        max-width: 300px;
    }

    .footer__company {
        margin-bottom: 56px;
        font-size: 0.78rem;
        line-height: 1.8;
        letter-spacing: 0.01em;
    }

    .footer__address {
        font-size: clamp(0.66rem, 3.1vw, 0.78rem);
    }
}
