/* 日本語フォント設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ナビゲーション */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

.nav-menu a:hover {
    color: #0066cc;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #0066cc;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #fff;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    background-color: transparent;
    color: #fff;
}

/* サービスセクション */
.services {
    padding: 100px 0;
    background-color: #f9fafb;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
    border-top: 3px solid #0066cc;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 1rem;
}

/* 会社概要セクション */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.about-content p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 2;
}

.company-info-table {
    width: 100%;
    margin-top: 3rem;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #0066cc;
}

.company-info-table th {
    background-color: #f3f4f6;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    width: 180px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

.company-info-table td {
    padding: 1.5rem;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
    line-height: 1.8;
}

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

/* 事業内容セクション */
.business {
    padding: 100px 0;
    background-color: #f9fafb;
}

.business h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.business-section {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
}

.business-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
    font-weight: 600;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 0.75rem;
}

.business-section ul {
    list-style: none;
    padding-left: 0;
}

.business-section ul li {
    padding: 0.75rem 0;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 1.75rem;
}

.business-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
    font-size: 1.1rem;
}

/* お問い合わせセクション */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

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

.contact-method {
    background: #f9fafb;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.email-link {
    display: inline-block;
    font-size: 1.3rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.email-link:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #fff;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #003d7a 0%, #002952 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

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

    .nav-menu a {
        font-size: 1.1rem;
    }

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

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

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

    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 2.5rem;
    }

    .services h2,
    .about h2,
    .business h2,
    .contact h2 {
        font-size: 2rem;
    }

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

    .company-info-table {
        font-size: 0.9rem;
    }

    .company-info-table th {
        width: 120px;
        padding: 1rem;
    }

    .company-info-table td {
        padding: 1rem;
    }

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

    .business-section {
        padding: 2rem;
    }

    .business-section h3 {
        font-size: 1.4rem;
    }

    .contact-method {
        padding: 2rem 1.5rem;
    }

    .email-link {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
    }
}
