/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo p {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav a:hover {
    color: #2563eb;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* 共通セクション */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 代表者挨拶 */
.greeting {
    padding: 80px 0;
    background-color: #fff;
}

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

.greeting-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #374151;
}

.greeting-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.greeting-signature p {
    font-size: 18px;
    color: #1e293b;
}

/* 会社概要 */
.overview {
    padding: 80px 0;
    background-color: #f8fafc;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.overview-table {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.table-row:last-child {
    border-bottom: none;
}

.table-label {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.table-value {
    color: #1e293b;
    font-size: 16px;
    line-height: 1.6;
}

.partners {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.partners h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.partners ul {
    list-style: none;
}

.partners li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.partners li:last-child {
    border-bottom: none;
}

/* 事業紹介 */
.business {
    padding: 80px 0;
    background-color: #fff;
}

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

.service-card {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

.achievements, .strengths {
    margin-top: 60px;
    padding: 40px;
    background-color: #f8fafc;
    border-radius: 12px;
}

.achievements h3, .strengths h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.achievement-list {
    display: grid;
    gap: 20px;
}

.achievement-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.achievement-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.strengths p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

/* ミッション */
.mission {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
}

.mission-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.mission-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #dbeafe;
}

.mission-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #dbeafe;
}

/* 沿革 */
.history {
    padding: 80px 0;
    background-color: #f8fafc;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2563eb;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    background-color: #fff;
    padding: 15px;
    border-radius: 50px;
    border: 3px solid #2563eb;
    position: relative;
    z-index: 10;
}

.timeline-content {
    flex: 1;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 20px;
}

.timeline-content p {
    margin-bottom: 8px;
    color: #374151;
    line-height: 1.6;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background-color: #1e293b;
    color: #fff;
}

.contact .section-header h2 {
    color: #fff;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.contact-details p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #cbd5e1;
    line-height: 1.6;
}

.contact-details strong {
    color: #fff;
}

/* フッター */
.footer {
    padding: 30px 0;
    background-color: #0f172a;
    color: #64748b;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        gap: 20px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }
    
    .timeline-year {
        width: 80px;
        font-size: 16px;
        padding: 10px;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .timeline-content {
        margin-left: 100px;
        margin-right: 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .greeting-text p {
        font-size: 16px;
    }
    
    .mission-content h2 {
        font-size: 24px;
    }
    
    .mission-content h3 {
        font-size: 22px;
    }
    
    .mission-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav a {
        font-size: 14px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .overview-table, .partners, .achievements, .strengths {
        padding: 25px;
    }
    
    .timeline-content {
        margin-left: 90px;
        padding: 15px 20px;
    }
    
    .timeline-year {
        width: 70px;
        font-size: 14px;
        padding: 8px;
    }
}