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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1C96D5;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1C96D5;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* セクション共通スタイル */
.section {
    padding: 5rem 0;
    width: 100%;
}

.section h2,
.philosophy-content,
.product-grid,
.company-info,
.recruitment-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1C96D5;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1C96D5;
}

/* 企業理念セクション */
.philosophy {
    background: linear-gradient(135deg, rgba(28, 150, 213, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.philosophy-image {
    height: 400px;
    background: url('../images/philosophy-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 製品紹介セクション */
.products {
    background: #f8f9fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(28, 150, 213, 0.2);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.solar-panel {
    background-image: url('../images/solar-panels.jpg');
}

.battery-system {
    background-image: url('../images/battery-system.jpg');
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    color: #1C96D5;
    margin-bottom: 1rem;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
}

.features {
    list-style: none;
}

.features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.features li:before {
    content: '✓';
    color: #1C96D5;
    font-weight: bold;
    margin-right: 10px;
}

/* 会社概要セクション */
.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.company-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.company-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.company-card h3 {
    color: #1C96D5;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: left;
    font-weight: 600;
}

.company-card h4 {
    color: #555;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.company-details-grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1C96D5;
}

.detail-label {
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

.detail-value {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.business-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.business-list li {
    padding: 0.6rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.business-list li:before {
    content: '•';
    color: #1C96D5;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.achievements {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.achievement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.achievement-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.achievement-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #1C96D5;
}

.achievement-label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.certifications {
    margin-top: 1.5rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.cert-badge {
    background: #e8f4f8;
    color: #1C96D5;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #d1e7f0;
}

/* 採用セクション */
.recruitment {
    background: linear-gradient(135deg, #1C96D5, #0d7ec4);
    color: white;
    text-align: center;
}

.recruitment h2 {
    color: white;
}

.recruitment h2::after {
    background: white;
}

.recruitment-content {
    max-width: 600px;
    margin: 0 auto;
}

.recruitment-btn {
    display: inline-block;
    background: white;
    color: #1C96D5;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruitment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #1C96D5;
    margin-bottom: 1rem;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .philosophy-content,
    .company-info {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2,
    .philosophy-content,
    .product-grid,
    .company-info,
    .recruitment-content,
    .footer-content,
    .footer-bottom {
        padding: 0 1rem;
    }

    .header {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .company-card {
        padding: 1.5rem;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievement-item {
        padding: 1rem;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .cert-badges {
        justify-content: center;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* スクロールアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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