:root {
    --primary-color: #A63A3A; /* くすんだ赤 */
    --primary-hover: #8E3535;
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --text-muted: #666666;
    --light-gray: #F4F4F4;
    --border-color: #EEEEEE;
    --container-width: 1000px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

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

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    display: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero */
#hero {
    padding: 100px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Services */
#services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Company */
#company {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.company-table dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
}

.company-table dt {
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.company-table dd {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* Contact */
#contact {
    padding: 100px 0;
    text-align: center;
}

.contact-content p {
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        padding-top: 100px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 20px 0;
        margin-left: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .ceo-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .ceo-image {
        flex: 0 0 auto;
        width: 200px;
    }

    .ceo-achievements ul {
        text-align: left;
    }

    .ceo-links {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .company-table dl {
        grid-template-columns: 1fr;
    }
    
    .company-table dt {
        border-bottom: none;
        padding-bottom: 0;
    }
}}

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        padding-top: 100px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 20px 0;
        margin-left: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .company-table dl {
        grid-template-columns: 1fr;
    }
    
    .company-table dt {
        border-bottom: none;
        padding-bottom: 0;
    }
}