/* Reset & Base */
:root {
    --primary-color: #000000;
    --secondary-color: #D90429;
    /* Brand Red accent */
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F7FA;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.8;
}

/* Base Utility */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn-contact {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: #333;
    opacity: 0.9;
}

.btn-primary {
    padding: 14px 40px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(217, 4, 41, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    background: #b90322;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(217, 4, 41, 0.4);
}

.btn-outline {
    padding: 13px 39px;
    border: 1px solid #ccc;
    background: #fff;
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
}

.btn-outline:hover {
    background: #f0f0f0;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-clean {
    padding: 80px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-graphic {
    flex: 1;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Services Section */
.services-clean {
    padding: 100px 0;
    background: #fff;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-clean-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.service-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-image-wrap {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-clean-card:hover .card-image {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
    line-height: 1;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 3em;
}

.service-features li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Area */
.contact-area {
    background: var(--bg-gray);
    padding: 80px 0;
    text-align: center;
}

.contact-area h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-area p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background: #111;
    color: #999;
    padding: 50px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-links a {
    color: #999;
    margin-left: 20px;
    font-size: 0.9rem;
}

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

.copyright {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-graphic {
        margin-top: 40px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}
/* --- Mobile Header Fix (v4) --- */
@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 12px 0;
        gap: 10px;
    }

    .logo-img {
        max-height: 52px;
    }

    .nav {
        width: 100%;
    }

    .nav ul {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
        padding: 6px 0 2px;
    }

    .nav a {
        font-size: 0.9rem;
        line-height: 1.2;
        padding: 8px 10px;
        border-radius: 999px;
        white-space: nowrap;
    }

    .btn-contact {
        padding: 9px 14px;
        font-size: 0.88rem;
    }
}

@media (max-width: 380px) {
    .nav a {
        font-size: 0.85rem;
        padding: 7px 8px;
    }
}
/* --- /Mobile Header Fix (v4) --- */
