/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 1rem 0;
}

.header01 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header01-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
}

.header01-logo-sp {
    display: none;
}

.header01-logo-sp img {
    height: 31px;
    width: auto;
    max-width: 140px;
}

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

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

.header01-item a:hover {
    color: #007bff;
}

/* Hero section */
.kv {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video {
    position: relative;
    overflow: hidden;
}

/* Ensure the animation is visible */
.video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/logo.svg') no-repeat center center;
    background-size: 200px;
    opacity: 0.8; /* Increased opacity for better visibility */
    z-index: 10; /* Ensure it is above the video */
    animation: pulse 2s infinite;
}

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

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content sections */
.contentsarea {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.works-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

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

.md-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.works_catch {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    max-width: 500px;
    text-align: left;
}

.works_text {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 500px;
    text-align: left;
}

.works_text br {
    margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
    .md-flex {
        flex-direction: column;
        gap: 30px;
    }
    
    .works_catch {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .works_text {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* Services section */
.service-section {
    background-color: #1a237e; /* Premium blue shade */
    color: white; /* Ensure text is readable on the new background */
    padding: 2rem 0; /* Add some padding for better spacing */
    width: 100vw; /* Ensure the section takes full viewport width */
    margin: 0; /* Remove any default margins */
    position: relative; /* Ensure positioning context */
    left: 50%; /* Center the section */
    right: 50%; /* Center the section */
    margin-left: -50vw; /* Offset to the left */
    margin-right: -50vw; /* Offset to the right */
}

.service-title {
    text-align: center;
    margin-bottom: 3rem;
}

.service-heading {
    font-size: 2.5rem;
    font-weight: bold;
}

.service-info {
    max-width: 1200px; /* Set a max-width for the service cards */
    margin: 0 auto 2rem; /* Center the cards and add bottom margin */
    padding: 0 2rem; /* Add some padding for spacing */
}

.card-text {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flex {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.image img {
    width: 200px;
    height: auto;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* New styles for service blocks with colored gradients */
.service-info:nth-child(1) .card-text {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

.service-info:nth-child(2) .card-text {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: white;
}

.service-info:nth-child(3) .card-text {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    color: white;
}

/* Harmonize DSP SaaS Service card background with other cards */
.service-info--saas .card-text {
    background: linear-gradient(135deg, #2193b0, #6dd5ed) !important;
}

/* Company section */
.company-section {
    background-color: #f0f0f0; /* Gray background */
    padding: 2rem 0; /* Add some padding for better spacing */
    width: 100vw; /* Ensure the section takes full viewport width */
    margin: 0; /* Remove any default margins */
    position: relative; /* Ensure positioning context */
    left: 50%; /* Center the section */
    right: 50%; /* Center the section */
    margin-left: -50vw; /* Offset to the left */
    margin-right: -50vw; /* Offset to the right */
}

.company-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: bold;
}

.company-info dl {
    max-width: 800px;
    margin: 0 auto;
}

.info-row {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-row dt {
    width: 200px;
    font-weight: bold;
}

/* Footer */
.footer02 {
    background: #f8f9fa;
    padding: 3rem 0;
}

.inner-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo img {
    height: 31px;
    width: auto;
    max-width: 140px;
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-nav li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav li a:hover {
    color: #007bff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header01-logo {
        display: none;
    }
    
    .header01-logo-sp {
        display: block;
    }
    
    .header01-logo-sp img {
        height: 31px;
        width: auto;
        max-width: 140px;
    }
    
    .flex {
        flex-direction: column;
        text-align: center;
    }
    
    .image img {
        width: 150px;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-row dt {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .wrap {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
} 