/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0175C2;
    --secondary-color: #02569B;
    --accent-color: #5BBEF9;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F9FC;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #0175C2 0%, #02569B 100%);
}

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: var(--text-dark);
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

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

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 180px 0 120px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="300" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="150" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="300" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="250" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-flutter-icon {
    margin-top: 40px;
    animation: float 3s ease-in-out infinite;
}

/* Service Section */
.service {
    background: var(--white);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(1, 117, 194, 0.15);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Strengths Section */
.strengths {
    background: var(--bg-light);
}

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

.strength-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.strength-item:hover {
    transform: translateX(10px);
}

.strength-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    opacity: 0.3;
}

.strength-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.strength-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--white);
}

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

.about-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.about-table tr {
    border-bottom: 1px solid #e0e0e0;
}

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

.about-table th {
    background: var(--bg-light);
    padding: 25px 30px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    width: 30%;
}

.about-table td {
    padding: 25px 30px;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .service-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-table th,
    .about-table td {
        padding: 20px;
        display: block;
        width: 100%;
    }

    .about-table th {
        border-bottom: none;
        padding-bottom: 10px;
    }

    .about-table td {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
