/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

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

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #3498db;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-description {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* セクション共通スタイル */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* 企業理念セクション */
.about {
    background-color: #f8f9fa;
}

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

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 35px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-card:hover {
    border-left-color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 強みセクション */
.strengths {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.strengths .section-title {
    color: white;
}

.strengths .section-title::after {
    background: white;
}

.strengths-list {
    max-width: 900px;
    margin: 0 auto;
}

.strength-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.strength-item:last-child {
    margin-bottom: 0;
}

.strength-number {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    min-width: 80px;
}

.strength-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.strength-content p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

/* 会社情報セクション */
.company-info {
    background-color: #f8f9fa;
}

.company-details {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-detail-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}

.company-detail-item:last-child {
    border-bottom: none;
}

.company-detail-item dt {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.company-detail-item dd {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* フッター */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .strength-item {
        flex-direction: column;
        gap: 15px;
    }

    .strength-number {
        font-size: 36px;
    }

    .company-details {
        padding: 30px 20px;
    }

    .company-detail-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-logo img {
        height: 35px;
        margin: 0 auto;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }
}
