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

:root {
    --primary-gold: #C4A962;
    --dark-text: #2C2C2C;
    --light-bg: #FDFBF7;
    --cream-bg: #F8F4EC;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Scroll Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   Header / Navigation (unchanged)
   ========================================= */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 1rem 0;
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: var(--cream-bg);
    color: var(--primary-gold);
}

.mobile-language-switch {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-top: 1px solid #f0f0f0;
}

.mobile-lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.mobile-lang-btn.active {
    background: var(--primary-gold);
    color: var(--white);
}

.mobile-lang-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.language-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-btn.active {
    background: var(--primary-gold);
    color: var(--white);
}

.lang-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

/* =========================================
   Hero Section (unchanged)
   ========================================= */
.hero {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -webkit-transform: translate(-50%, -50%);
    -webkit-transition: opacity 1s ease-in-out;
    pointer-events: auto;
    -webkit-media-controls: false;
}

.hero-video.active {
    opacity: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    pointer-events: none;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.6) 0%, rgba(196, 169, 98, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--white);
}

/* =========================================
   Section Common
   ========================================= */
.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    color: #555;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    font-size: 0.95rem;
    color: #888;
    letter-spacing: 0.1em;
}


/* =========================================
   Message / Greeting Section
   ========================================= */
.message-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.message-section .section-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.message-section .container {
    position: relative;
    z-index: 1;
}

.message-section .section-title {
    margin-bottom: 0;
}

.message-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.message-content {
    padding-top: 0.5rem;
}

.message-content .message-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #555;
    position: relative;
    padding-bottom: 1rem;
}

.message-content .message-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

.message-content .message-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--dark-text);
    text-align: left;
    margin-bottom: 1.5rem;
}

.message-image {
    margin-top: 0.5rem;
    overflow: hidden;
}

.message-image img {
    width: 100%;
    height: 380px;
    display: block;
    object-fit: cover;
    object-position: center top;
    margin-bottom: -4px;
}

.message-signature {
    text-align: right;
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--dark-text);
}

.message-signature .position {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.25rem;
}

/* =========================================
   Product Highlight Section
   ========================================= */
.products-highlight {
    padding: 6rem 0;
    background: var(--white);
}

.products-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.products-gallery-two {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
}

.product-card-single,
.product-card-lineup {
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    padding: 1rem;
}

.product-card-single img,
.product-card-lineup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.products-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #888;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B39855 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 1.1rem;
    color: var(--white) !important;
}

.contact-item strong {
    color: var(--white) !important;
}

.contact-item a,
.contact-item a:link,
.contact-item a:visited,
.contact-item a:hover,
.contact-item a:active {
    color: var(--white) !important;
    text-decoration: none !important;
}

/* =========================================
   Services Page
   ========================================= */
.company-info,
.services-content {
    padding: 6rem 0;
}

.service-grid {
    display: grid;
    gap: 0;
    margin-top: 3rem;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.service-block:nth-child(even) {
    direction: rtl;
}

.service-block:nth-child(even) > * {
    direction: ltr;
}

.service-block-image {
    overflow: hidden;
}

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

.service-block:hover .service-block-image img {
    transform: scale(1.05);
}

.service-block-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: var(--white);
}

.service-block-content h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-family: 'Noto Serif JP', serif;
}

.service-block-content p {
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-block-content h4 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Noto Serif JP', serif;
}

.service-block-content ul {
    list-style: none;
    margin-top: 0.5rem;
}

.service-block-content li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.service-block-content li i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* =========================================
   Company Info Grid
   ========================================= */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 3rem;
}

.info-label {
    font-weight: 600;
    color: var(--primary-gold);
}

.info-grid div:not(.info-label) {
    color: var(--dark-text) !important;
}

.info-grid div:not(.info-label) a {
    color: var(--dark-text) !important;
    text-decoration: none !important;
}

/* =========================================
   Philosophy Section
   ========================================= */
.philosophy-section {
    padding: 6rem 0;
    background: var(--cream-bg);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.philosophy-card {
    text-align: center;
    padding: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.philosophy-card-image {
    overflow: hidden;
    height: 180px;
}

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

.philosophy-card:hover .philosophy-card-image img {
    transform: scale(1.08);
}

.philosophy-card-body {
    padding: 2rem 1.5rem;
}

.philosophy-card .philosophy-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}

.philosophy-card h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    font-family: 'Noto Serif JP', serif;
}

.philosophy-card p {
    line-height: 1.8;
    color: var(--dark-text);
    font-size: 0.9rem;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* =========================================
   Responsive
   ========================================= */
@media screen and (max-width: 768px) {
    .hero-video {
        object-fit: cover;
        -webkit-object-fit: cover;
    }

    .hero-video-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-wrapper {
        flex-direction: row;
        gap: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .message-layout {
        grid-template-columns: 1fr;
    }

    .message-content .message-heading {
        font-size: 1.8rem;
    }

    .message-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .message-image img {
        height: 260px;
    }

    .message-section .section-bg {
        width: 100%;
        opacity: 0.15;
    }

    .products-gallery-two {
        grid-template-columns: 150px 1fr;
    }

    .service-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-block:nth-child(even) {
        direction: ltr;
    }

    .service-block-image {
        height: 220px;
    }

    .service-block-image img {
        height: 220px;
    }

    .service-block-content {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

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