/* ========================================
   グローバルスタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #c0c0c0;
    --text-color: #333333;
    --bg-color: #ffffff;
    --section-bg-dark: #000000;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   ナビゲーション
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

#navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

.logo-svg {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--section-bg-dark);
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--secondary-color);
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-svg {
    width: 300px;
    height: 200px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 3px;
    color: var(--secondary-color);
}

.tagline {
    font-size: 20px;
    font-weight: 300;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 60px;
}

.desktop-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.desktop {
    width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

#worldMap {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

/* ========================================
   セクション共通スタイル
   ======================================== */
.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
}

/* ========================================
   Company Profileセクション
   ======================================== */
.company-profile {
    background-color: var(--section-bg-dark);
    color: var(--secondary-color);
}

.company-profile .section-title {
    color: var(--secondary-color);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-container {
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.text-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 30px;
}

.text-container p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Our Servicesセクション
   ======================================== */
.services {
    background-color: var(--bg-color);
}

.intro-image {
    margin-bottom: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

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

.service-card {
    background-color: #f8f8f8;
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* ========================================
   Our Client Rosterセクション
   ======================================== */
.clients {
    background-color: var(--bg-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.client-card {
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-10px);
}

.client-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-image img {
    transform: scale(1.1);
}

.client-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ========================================
   Mission Statementセクション
   ======================================== */
.mission {
    background-color: var(--section-bg-dark);
    color: var(--secondary-color);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mission h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.mission p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.ceo-signature {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-top: 50px;
    letter-spacing: 2px;
    color: var(--accent-color);
}

/* ========================================
   Contact Usセクション
   ======================================== */
.contact {
    background-color: var(--section-bg-dark);
    color: var(--secondary-color);
}

.contact .section-title {
    color: var(--secondary-color);
}

.contact-tagline {
    text-align: center;
    font-size: 32px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 60px;
    color: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-image {
    border-radius: 10px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.contact-item p {
    font-size: 18px;
}

.contact-item a {
    color: var(--secondary-color);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.contact-item a:hover {
    border-bottom-color: var(--accent-color);
}

/* ========================================
   About Usセクション
   ======================================== */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 40px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-label {
    font-weight: 600;
    min-width: 120px;
    color: var(--primary-color);
}

.detail-value {
    flex: 1;
    color: #555;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--section-bg-dark);
    color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: var(--transition);
    }

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

    .hamburger {
        display: flex;
    }

    .section-content,
    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 16px;
    }

    .desktop {
        width: 100%;
        max-width: 500px;
        height: 300px;
    }

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

    .text-container h2,
    .about-info h2 {
        font-size: 32px;
    }
}

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

    .hero-logo-svg {
        width: 200px;
        height: 140px;
    }

    .tagline {
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

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

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

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

    .desktop {
        height: 250px;
    }

    .contact-tagline {
        font-size: 24px;
    }
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}