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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Header & Navigation
======================================== */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.85) 50%, rgba(58, 107, 184, 0.85) 100%),
                url('../img/hero-background.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="//www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 20s linear infinite;
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s 0.4s both;
}

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

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

/* ========================================
   Section Styles
======================================== */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

/* ========================================
   About Section
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1e3c72;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 2;
}

.company-info-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table th,
.company-info-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.company-info-table th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    width: 30%;
    letter-spacing: 0.5px;
}

.company-info-table td {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
    border-bottom: none;
}

.company-info-table tr:hover {
    background: #f8f9fa;
}

/* ========================================
   Services Section
======================================== */
#services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #2a5298;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   Access Section
======================================== */
.access-info-simple {
    text-align: center;
    margin: 3rem auto 2rem;
    max-width: 800px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.access-info-simple h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
}

.access-info-simple .address {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.access-info-simple .email {
    font-size: 1rem;
    color: #2a5298;
    font-weight: 600;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* ========================================
   Footer
======================================== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 5% 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #2a5298;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-address {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: #1e3c72;
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        transition: right 0.3s;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info-table th,
    .company-info-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .company-info-table th {
        width: 35%;
    }

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

    .access-info-simple {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 3%;
    }

    section {
        padding: 60px 3%;
    }

    .hero {
        padding: 120px 3% 80px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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

    .service-card {
        padding: 2rem;
    }

    .company-info-table th,
    .company-info-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .access-info-simple {
        padding: 1.5rem;
    }

    .access-info-simple .address {
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 300px;
    }
}
