:root {
    /* Brand Colors */
    --primary-color: #1a365d;    /* Deep Navy */
    --secondary-color: #d4af37;  /* Gold/Champagne */
    --accent-color: #f8f9fa;     /* Light Gray */
    --dark-color: #1f2937;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #6b7280;
    --white: #ffffff;
    
    /* Typography */
    --font-sans: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    --font-serif: Minion, serif;
    
    /* Spacing & Utilities */
    --transition: all 0.3s ease;
    --border-color: #eaeaea;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ==========================================================================
    Common Components (Mobile First)
    ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.font-serif { font-family: var(--font-serif); }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-secondary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background-color: var(--accent-color); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-subtitle {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 1.5rem;
}
.section-desc { color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* ==========================================================================
    Header & Navigation
    ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s;
}
.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Desktop Nav (Hidden on Mobile) */
.desktop-nav { display: none; }

/* Mobile Nav Toggle */
.mobile-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    padding: 0.5rem;
    cursor: pointer;
}
.mobile-toggle svg { width: 28px; height: 28px; }

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid var(--accent-color);
    color: var(--text-main);
}
.mobile-menu a:hover { color: var(--primary-color); background-color: var(--accent-color); }
.mobile-menu a.highlight { color: var(--primary-color); font-weight: bold; }

/* ==========================================================================
    Hero Section
    ========================================================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px;
    color: var(--white);
    text-align: center;
    overflow: hidden; 
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.8));
    z-index: -1;
}
.hero-title {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
    Features (About) Section
    ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.feature-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(26, 54, 93, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-desc { font-size: 0.875rem; color: var(--text-muted); }

/* ==========================================================================
    Products Section
    ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-img {
    width: 100%;
    height: 250px;
    background-color: var(--accent-color);
    position: relative;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 1;
}
.product-info { padding: 1.5rem; }
.product-title {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.product-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
    Services Section (Main Services)
    ========================================================================== */
.services-list {
    display: grid;
    gap: 2.5rem;
}
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.service-img {
    width: 100%;
    height: 250px;
    position: relative;
    background-color: var(--border-color);
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.service-content { padding: 2rem 1.5rem; }
.service-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.service-desc { color: var(--text-muted); margin-bottom: 1.5rem; }
.service-list-items li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.service-list-items svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* ==========================================================================
    Sub Services Section
    ========================================================================== */
.sub-services-wrapper {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px dashed var(--border-color);
}
.sub-services-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: bold;
}
.sub-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.sub-service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.sub-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.sub-service-title {
    font-size: 1.125rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.sub-service-icon {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 24px;
    height: 24px;
}
.sub-service-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
    Flow Section
    ========================================================================== */
.flow-wrapper { position: relative; }
.flow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.flow-step { text-align: center; }
.flow-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.flow-title { font-size: 1.125rem; font-weight: bold; margin-bottom: 0.5rem; }
.flow-desc { font-size: 0.875rem; color: var(--text-muted); padding: 0 1rem; }
.flow-line { display: none; } /* Hidden on mobile */

/* ==========================================================================
    Company Section
    ========================================================================== */
.company-table-wrapper {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}
.company-table { width: 100%; border-collapse: collapse; text-align: left; }
.company-table th, .company-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}
.company-table th { background-color: var(--accent-color); font-weight: 500; width: 30%; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.license-note {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

/* ==========================================================================
    Contact Section
    ========================================================================== */
.contact-section { background-color: var(--primary-color); color: var(--white); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-desc { color: rgba(255,255,255,0.8); }
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.form-label span { color: var(--secondary-color); }
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
}
.form-control:focus { outline: 2px solid var(--secondary-color); }
textarea.form-control { resize: vertical; min-height: 100px; }
.btn-submit { width: 100%; margin-top: 0.5rem; }

/* ==========================================================================
    Footer
    ========================================================================== */
.site-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo { color: var(--white); margin-bottom: 1rem; display: block; }
.footer-title { color: var(--white); font-weight: bold; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; font-size: 0.875rem; }
.footer-links a:hover { color: var(--white); }
.footer-info { font-size: 0.875rem; }
.footer-info li { margin-bottom: 0.5rem; }
.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* ==========================================================================
    Animations
    ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ==========================================================================
    MEDIA QUERIES (Tablet & Desktop)
    ========================================================================== */
@media (min-width: 768px) {
    /* General */
    .section { padding: 6rem 0; }
    .section-title { font-size: 2.25rem; }

    /* Header & Nav */
    .header-inner { height: 80px; }
    .mobile-toggle { display: none; }
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .desktop-nav a {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--text-muted);
    }
    .desktop-nav a:hover { color: var(--primary-color); }
    .desktop-nav a.btn { color: var(--white); padding: 0.5rem 1.25rem; }
    
    .lang-switch {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-left: 1px solid var(--border-color);
        padding-left: 1.5rem;
        margin-left: 0.5rem;
    }
    .lang-switch span.active { font-weight: bold; color: var(--primary-color); font-size: 0.875rem; }
    .lang-switch a { color: var(--border-color); font-size: 0.875rem; }

    /* Hero */
    .hero {
        text-align: left;
        padding: 160px 0 100px;
    }
    .hero-title { font-size: 3.5rem; }
    .hero-desc { font-size: 1.25rem; margin-left: 0; max-width: 600px; }
    .hero-actions { flex-direction: row; }

    /* Features */
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }

    /* Products */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .product-img { height: 300px; }

    /* Services */
    .service-card { flex-direction: row; }
    .service-card:nth-child(even) { flex-direction: row-reverse; }
    .service-img { width: 50%; height: auto; min-height: 350px; }
    .service-content { width: 50%; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }

    /* Sub Services */
    .sub-services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

    /* Flow */
    .flow-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .flow-line {
        display: block;
        position: absolute;
        top: 30px;
        left: 12.5%;
        width: 75%;
        height: 2px;
        background-color: var(--border-color);
        z-index: 1;
    }

    /* Company Table */
    .company-table th, .company-table td { padding: 1.5rem; font-size: 1rem; }

    /* Contact */
    .contact-form { padding: 2.5rem; }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; }
}

.page-header {
    background-color: var(--primary-color);
    padding: 140px 0 80px;
    text-align: center;
    color: var(--white);
    background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.95)), url('../images/background-image.webp');
    background-size: cover;
    background-position: center;
}
.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.page-desc {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Auction Features */
.auction-features {
    padding: 5rem 0;
    background-color: var(--white);
}
.auction-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--accent-color);
    transition: transform 0.3s;
}
.auction-feature-card:hover {
    transform: translateY(-5px);
}
.auction-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: var(--secondary-color);
}
.auction-icon-wrapper svg {
    width: 40px;
    height: 40px;
}
.auction-feature-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Product Gallery */
.auction-gallery {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}
.auction-gallery .section-title {
    color: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}
.gallery-title {
    font-weight: bold;
    font-size: 1.125rem;
}

/* Auction Flow */
.auction-flow {
    padding: 5rem 0;
    background-color: var(--white);
}
.auction-flow-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}
.auction-flow-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
}
.auction-flow-item {
    position: relative;
    padding-bottom: 3rem;
}
.auction-flow-item:last-child {
    padding-bottom: 0;
}
.auction-flow-number {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transform: translateX(-50%);
    border: 4px solid var(--white);
}
.auction-flow-content {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.auction-flow-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

@media (min-width: 768px) {
    .page-header { padding: 160px 0 100px; }
    .page-title { font-size: 3rem; }
    .auction-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .auction-flow-list { padding-left: 0; }
    .auction-flow-list::before { left: 50%; transform: translateX(-50%); }
    .auction-flow-item { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .auction-flow-item:nth-child(odd) { flex-direction: row-reverse; }
    .auction-flow-number { left: 50%; }
    .auction-flow-content { width: calc(50% - 3rem); }
}