:root {
    --bg-void: #1A1A1A;
    --bg-darker: #111111;
    --bg-lighter: #252525;
    --text-hagane: #E0E0E0;
    --text-muted: #A0A0A0;
    --accent-moss: #5F7D4D;
    --accent-moss-light: #7A9960;
    --accent-brass: #C5B358;
    
    --font-jp: "Noto Serif JP", serif;
    --font-en: "Noto Serif JP", serif;
    --font-ui: "Noto Serif JP", serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-void);
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body {
    background-color: var(--bg-void);
    color: var(--text-hagane);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Helpers */
.en {
    font-family: var(--font-en);
}
.jp {
    font-family: var(--font-jp);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-pad {
    padding: 8rem 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    z-index: 100;
    mix-blend-mode: difference; /* Ensure visibility over light/dark areas */
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    align-items: center;
    margin-left: 2rem;
    margin-right: 0;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

.language-switcher button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
    font-size: 0.85rem;
    font-family: var(--font-ui);
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.language-switcher button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.language-switcher button.active {
    color: rgba(255, 255, 255, 1);
}

.language-switcher button:first-child::after {
    content: ' / ';
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.1rem;
    pointer-events: none;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    margin-left: auto;
    margin-right: 2rem;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link .jp {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-family: var(--font-jp);
    margin-bottom: 0.2rem;
}

.nav-link .en-sub {
    font-size: 0.6rem;
    font-family: var(--font-ui);
    letter-spacing: 0.1em;
    opacity: 0.6;
    text-transform: uppercase;
}

/* Hide Japanese text in English pages */
html[lang="en"] .nav-link .jp {
    display: none;
}

html[lang="en"] .nav-link .en-sub {
    font-size: 0.85rem;
    opacity: 1;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: block;
    overflow: hidden;
    background-color: var(--bg-darker);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style paint;
    -webkit-overflow-scrolling: touch;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s infinite alternate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    contain: layout style paint;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 薄い背景を削除 */
}

/* Mobile: Add subtle gradient overlay on left side for text readability */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to right, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(0, 0, 0, 0.2) 30%, 
            transparent 50%);
    }

    /* English version: darker overlay on left side for text readability */
    html[lang="en"] .hero-overlay {
        background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.1) 60%,
            transparent 80%);
    }
}

.hero-content {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 8%; /* Right aligned with margin */
    left: auto; /* Remove left positioning */
    transform: translateY(-50%); /* Only Y center */
    z-index: 10;
    text-align: right; /* Default align */
    width: auto;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align items to the right */
    gap: 3rem;
}

.hero-text-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    flex-direction: column; /* Becomes row-like in vertical mode */
    gap: 2rem;
    align-items: flex-start; /* Top align in vertical mode */
}

/* Horizontal text for English pages */
.hero-text-horizontal {
    writing-mode: horizontal-tb;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    padding-right: 2rem;
}

html[lang="en"] .hero-content {
    left: 10%;
    right: auto;
    align-items: flex-start;
    text-align: left;
    max-width: 50%;
}

html[lang="en"] .hero-text-horizontal .hero-sub {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-brass);
    opacity: 0.95;
    margin-bottom: 1rem;
    font-weight: 400;
}

html[lang="en"] .hero-text-horizontal .hero-main {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #EEE6D1, #B8AA82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #DBCFA6; /* 非対応ブラウザ用の予備色 */
    margin: 0;
}

/* PC版とスマホ版のブロック分離 */
.hero-text-desktop {
    display: flex;
}

.hero-text-mobile {
    display: none;
}

.copy-vertical {
    font-family: "Noto Serif JP", serif;
    color: #fff;
    white-space: nowrap;
}

.hero-main {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    line-height: 2;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
    background: linear-gradient(to bottom, #EEE6D1, #B8AA82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #DBCFA6; /* 非対応ブラウザ用の予備色 */
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    opacity: 0.9;
    margin-top: 1rem; /* Adjust visual balance */
    background: linear-gradient(to bottom, #EEE6D1, #B8AA82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #DBCFA6; /* 非対応ブラウザ用の予備色 */
}

/* Buttons */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: rgba(95, 125, 77, 0.2); /* Moss tint */
    border-color: var(--accent-moss);
}

.btn-text {
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.btn-sub {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.3rem;
    opacity: 0.7;
}

.btn-hero {
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.8);
    background: transparent;
    color: #fff;
    transition: all 0.4s ease;
    border-radius: 0; /* Minimal */
    writing-mode: horizontal-tb; /* Reset writing mode */
}

.btn-hero:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-hero .btn-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-family: var(--font-ui);
}

    .btn-secondary {
        border: 1px solid var(--text-muted);
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
    }

    /* Mobile: Lighter border for secondary button */
    @media (max-width: 768px) {
        .btn-secondary {
            border-color: rgba(255, 255, 255, 0.15);
        }
    }

/* Narrative Section */
.narrative {
    background-color: var(--bg-darker);
    position: relative;
}

.narrative-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
    gap: 2rem;
}

/* English version: horizontal text with logo below */
html[lang="en"] .narrative-grid {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.narrative-text-horizontal {
    writing-mode: horizontal-tb;
    font-family: var(--font-en);
    font-size: 1.6rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    text-align: center;
    width: 100%;
    color: var(--text-hagane);
}

.narrative-text-horizontal p {
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

html[lang="en"] .narrative-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

html[lang="en"] .narrative-logo-horizontal {
    display: block !important;
    height: 80px;
    width: auto;
    opacity: 0.9;
}

html[lang="en"] .narrative-logo-vertical {
    display: none;
}

.vertical-text {
    writing-mode: vertical-rl;
    font-family: var(--font-jp);
    font-size: 1.4rem; /* Slightly larger for impact */
    line-height: 2.8;
    letter-spacing: 0.2em;
    height: 650px; 
    margin: 0;
}

.narrative-logo img {
    height: 270px;
    width: auto;
    opacity: 0.8;
}

.narrative-logo-horizontal {
    display: none;
}

.narrative-link-container {
    writing-mode: horizontal-tb;
    margin-top: 3rem;
    text-align: center;
    width: 100%;
}


.narrative-text-jp {
    /* Center the vertical text block */
    display: flex;
    justify-content: center;
}

.narrative-text-en {
    padding-left: 4rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.narrative-text-en h3 {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-brass);
    margin-bottom: 2rem;
}

.narrative-text-en p {
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.text-link {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--accent-moss);
    padding-bottom: 0.2rem;
}

.text-link:hover {
    color: var(--accent-moss-light);
}

/* Collection Section */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-brass);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-card {
    group: product;
    cursor: pointer;
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--bg-lighter);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s ease;
}

.product-card:hover .product-img-wrapper {
    border-color: var(--accent-brass);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #252525 25%, #2a2a2a 25%, #2a2a2a 50%, #252525 50%, #252525 75%, #2a2a2a 75%, #2a2a2a 100%);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* For demo purposes, we might reuse hero image or just leave placeholder */

.product-info {
    text-align: center;
}

.product-name {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: var(--accent-brass);
}

.product-desc {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.product-price {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--accent-moss-light);
}

.product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading,
.no-products,
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

.error-message p {
    margin-bottom: 0.5rem;
}

.center-btn {
    text-align: center;
}

/* Journal Section */
.journal-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.journal-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.journal-link {
    display: flex;
    align-items: baseline;
    padding: 2rem 0;
    transition: background 0.3s ease;
}

.journal-link:hover {
    padding-left: 1rem; /* Slight shift */
}

.journal-date {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 120px;
    flex-shrink: 0;
}

.journal-title {
    font-size: 1.1rem;
    font-weight: 400;
    flex-grow: 1;
    padding-right: 2rem;
}

.arrow {
    opacity: 0;
    color: var(--accent-brass);
    transition: opacity 0.3s ease;
}

.journal-link:hover .arrow {
    opacity: 1;
}

/* Journal Cards (note記事用) */
.journal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journal-card {
    background-color: var(--bg-lighter);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.journal-card:hover {
    border-color: var(--accent-brass);
    transform: translateY(-5px);
}

.journal-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.journal-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.journal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.journal-card-image.image-error,
.journal-card-image.image-error img {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-lighter) 100%);
}

.journal-card:hover .journal-card-image img {
    transform: scale(1.05);
}

.journal-card-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-lighter) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-card-content {
    padding: 1.5rem;
}

.journal-card-date {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.journal-card-title {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--text-hagane);
    transition: color 0.3s ease;
}

.journal-card:hover .journal-card-title {
    color: var(--accent-brass);
}

.journal-card-description {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.journal-card-readmore {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--accent-brass);
    display: inline-block;
    margin-top: 0.5rem;
}

.journal-loading,
.journal-no-articles,
.journal-error {
    grid-column: 1 / -1;
}

.journal-loading .loading,
.journal-no-articles .no-articles {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

.journal .center-btn {
    margin-top: 4rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-brand a {
    display: inline-block;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.footer-brand a:hover {
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-social a {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: right;
}

.copyright {
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.legal-info {
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-muted);
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 1.6;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Image - Desktop/Mobile Switch */
.hero-img-mobile {
    display: none;
}

.hero-img-desktop {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1.5rem;
    }

    .section-pad {
        padding: 4rem 0;
    }

    /* Header */
    .site-header {
        padding: 1rem 1.5rem;
        mix-blend-mode: normal;
        background-color: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(10px);
        position: relative;
        justify-content: space-between;
    }

    .language-switcher {
        margin-left: 1rem;
        margin-right: 0;
        font-size: 0.8rem;
    }

    .language-switcher button {
        font-size: 0.8rem;
    }

    .logo {
        position: static;
        transform: none;
        width: auto;
    }

    .logo-img {
        height: 50px;
    }

    .logo a {
        width: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-darker);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .nav-link {
        width: 100%;
        align-items: flex-start;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link .jp {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .nav-link .en-sub {
        font-size: 0.7rem;
    }

    /* Hide Japanese text in English pages (mobile) */
    html[lang="en"] .nav-link .jp {
        display: none;
    }

    html[lang="en"] .nav-link .en-sub {
        font-size: 1rem;
        opacity: 1;
        margin-bottom: 0;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        min-height: 600px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        contain: layout style paint;
        position: relative;
        overflow: hidden;
    }

    .hero-img {
        animation: none !important;
        transform: translateZ(0) scale(1) !important;
        -webkit-transform: translateZ(0) scale(1) !important;
        will-change: auto !important;
        -webkit-perspective: 1000;
        perspective: 1000;
        contain: strict;
    }

    .hero-img-desktop {
        display: none;
    }

    .hero-img-mobile {
        display: block;
        object-position: center right;
        animation: none !important;
        transform: translateZ(0) scale(1) !important;
        -webkit-transform: translateZ(0) scale(1) !important;
        will-change: auto !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        contain: strict;
        position: relative;
    }

    /* English version: adjust image position to leave space on left */
    html[lang="en"] .hero-img-mobile {
        object-position: 70% center;
    }

    .hero-content {
        left: 5%;
        right: auto;
        top: 52%;
        transform: translateY(-50%);
        align-items: flex-start;
        width: auto;
        max-width: 45%;
        padding: 0;
        z-index: 15;
    }

    .hero-text-vertical {
        writing-mode: vertical-rl;
        text-orientation: upright;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 2.5rem;
        padding-left: 0.5rem;
    }

    /* Horizontal text for English pages (mobile) - top left positioning */
    html[lang="en"] .hero-content {
        left: 5%;
        right: auto;
        top: 25%;
        bottom: auto;
        max-width: 60%;
        width: auto;
        transform: none;
        align-items: flex-start;
        text-align: left;
    }

    html[lang="en"] .hero-text-horizontal {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        gap: 0.6rem;
        max-width: 100%;
        padding-right: 0;
    }

    html[lang="en"] .hero-text-horizontal .hero-sub {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-bottom: 0.4rem;
    }

    html[lang="en"] .hero-text-horizontal .hero-main {
        font-size: 1.6rem;
        line-height: 1.4;
        letter-spacing: 0.02em;
        background: linear-gradient(to bottom, #EEE6D1, #B8AA82);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #DBCFA6; /* 非対応ブラウザ用の予備色 */
        text-shadow: 0 2px 20px rgba(0,0,0,0.9);
    }

    /* スマホ版とPC版のブロック分離 */
    .hero-text-desktop {
        display: none;
    }

    .hero-text-mobile {
        display: flex;
    }

    .hero-main {
        font-size: 1.6rem;
        line-height: 2.2;
        letter-spacing: 0.2em;
        text-shadow: 
            0 0 20px rgba(0,0,0,1),
            0 2px 30px rgba(0,0,0,0.9),
            0 4px 40px rgba(0,0,0,0.8),
            2px 2px 4px rgba(0,0,0,0.9);
        font-weight: 500;
        color: #fff;
    }

    .hero-sub {
        font-size: 0.95rem;
        letter-spacing: 0.25em;
        margin-top: 0;
        margin-bottom: 0;
        text-shadow: 
            0 0 15px rgba(0,0,0,1),
            0 2px 25px rgba(0,0,0,0.9),
            0 3px 35px rgba(0,0,0,0.8),
            1px 1px 3px rgba(0,0,0,0.9);
        opacity: 0.98;
        font-weight: 300;
        color: #fff;
    }

    .copy-vertical {
        white-space: nowrap;
    }

    /* Narrative Section */
    .narrative-grid {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        height: auto;
        font-size: 1rem;
        line-height: 2;
        text-align: center;
    }

    /* English version: horizontal text with logo below (mobile) */
    html[lang="en"] .narrative-grid {
        gap: 2rem;
        padding: 2rem 0;
    }

    html[lang="en"] .narrative-text-horizontal {
        font-size: 1.2rem;
        line-height: 2;
        letter-spacing: 0.03em;
    }

    html[lang="en"] .narrative-logo-horizontal {
        height: 60px !important;
    }

    .narrative-text-jp {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .narrative-text-jp p {
        text-align: center;
        margin: 0 auto;
    }

    .narrative-logo-vertical {
        display: none;
    }

    .narrative-logo img {
        height: auto !important;
        width: auto !important;
        opacity: 0.8;
    }

    .narrative-logo-horizontal {
        display: block !important;
        height: 50px !important;
        width: auto !important;
        max-width: 150px !important;
        object-fit: contain !important;
        margin: 0 auto;
    }

    .narrative-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .narrative-text-en {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .narrative-text-en h3 {
        font-size: 1.8rem;
    }

    .narrative-text-en p {
        font-size: 0.9rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 3rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .product-img-wrapper {
        aspect-ratio: 1/1;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-desc {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .btn-sub {
        font-size: 0.6rem;
    }

    /* Journal Cards */
    .journal-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .journal-card-content {
        padding: 1.25rem;
    }

    .journal-card-title {
        font-size: 1rem;
    }

    .journal-card-description {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-social-icons {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .footer-logo {
        height: 50px;
        margin: 0 auto;
    }

    .footer-links ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 2rem;
        align-items: start;
        justify-items: center;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .copyright {
        font-size: 0.65rem;
        padding-top: 1.5rem;
    }

    .legal-info {
        font-size: 0.6rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section-pad {
        padding: 3rem 0;
    }

    .site-header {
        padding: 0.8rem 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        left: 4%;
        max-width: 50%;
        top: 52%;
    }

    html[lang="en"] .hero-content {
        left: 4%;
        right: auto;
        top: 20%;
        bottom: auto;
        max-width: 55%;
        width: auto;
        transform: none;
    }

    .hero-text-vertical {
        gap: 2rem;
        padding-left: 0.3rem;
    }

    html[lang="en"] .hero-text-horizontal {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        gap: 0.5rem;
        padding-right: 0;
    }

    html[lang="en"] .hero-text-horizontal .hero-main {
        font-size: 1.4rem;
        line-height: 1.4;
        letter-spacing: 0.02em;
        background: linear-gradient(to bottom, #EEE6D1, #B8AA82);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #DBCFA6; /* 非対応ブラウザ用の予備色 */
        text-shadow: 0 2px 18px rgba(0,0,0,0.9);
    }

    html[lang="en"] .hero-text-horizontal .hero-sub {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        margin-bottom: 0.3rem;
    }

    .hero-main {
        font-size: 1.4rem;
        line-height: 2;
        letter-spacing: 0.15em;
        text-shadow: 
            0 0 18px rgba(0,0,0,1),
            0 2px 28px rgba(0,0,0,0.9),
            0 3px 38px rgba(0,0,0,0.8),
            2px 2px 4px rgba(0,0,0,0.9);
    }

    .hero-sub {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
        text-shadow: 
            0 0 14px rgba(0,0,0,1),
            0 2px 24px rgba(0,0,0,0.9),
            0 3px 34px rgba(0,0,0,0.8),
            1px 1px 3px rgba(0,0,0,0.9);
    }

    .section-title {
        font-size: 1.3rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .journal-cards {
        gap: 1.25rem;
    }

    .narrative-logo img {
        height: 120px;
    }

    /* English version: horizontal text with logo below (480px) */
    html[lang="en"] .narrative-text-horizontal {
        font-size: 1.1rem;
        line-height: 1.9;
        letter-spacing: 0.02em;
    }

    html[lang="en"] .narrative-logo-horizontal {
        height: 50px !important;
    }
}
