* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ナビゲーションバー */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1a237e, #3f51b5);
    padding: 1.2rem 2rem;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff5722;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ヒーローセクション */
.hero {
    padding: 7rem 2rem 4rem;
    background: linear-gradient(180deg, #f5f5f5, #ffffff);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 2rem auto;
}

.gallery-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    image-rendering: optimizeQuality;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.caption {
    margin-top: 1rem;
}

.caption h2 {
    font-size: 1.6rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.caption p {
    font-size: 1rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #ff5722, #ff8a65);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* セクション */
.section {
    padding: 5rem 2rem;
    text-align: center;
    background: #fff;
}

.section h2 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2rem;
    color: #ff5722;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.service-card p {
    color: #555;
}

/* 会社概要 */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.company-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.company-card {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s;
}

.company-card:hover {
    transform: translateY(-5px);
}

.company-card i {
    font-size: 1.8rem;
    color: #ff5722;
    margin-bottom: 0.5rem;
}

.company-card h3 {
    font-size: 1.4rem;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.company-card p {
    font-size: 1rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    text-align: center;
}

/* 採用情報 */
.recruit-section {
    background: linear-gradient(180deg, #1a237e, #3f51b5);
    color: white;
}

.recruit-section h2 {
    color: white;
}

.recruit-content {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.recruit-content .cta-button {
    background: linear-gradient(90deg, #ff5722, #ff8a65);
    color: white;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
}

.contact-form button {
    padding: 1rem;
    background: linear-gradient(90deg, #ff5722, #ff8a65);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-form button:hover {
    transform: scale(1.05);
}

#form-message {
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
}

/* フッター */
footer {
    background: #1a237e;
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #1a237e, #3f51b5);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        max-width: 90%;
    }

    .gallery-item img {
        max-width: 250px;
    }

    .caption h2 {
        font-size: 1.3rem;
    }

    .caption p {
        font-size: 0.9rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .services-container,
    .company-cards {
        grid-template-columns: 1fr;
    }
}