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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 40px;
    object-fit: contain;
}

.logo-text h1 {
    color: #1898a8;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-text span {
    color: #666;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1898a8;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #1898a8;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('./hero-background.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #1898a8;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #2c2c2c;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid #2c2c2c;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1898a8;
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: white;
    border-color: #1898a8;
}

.cta-button:hover::before {
    left: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1rem;
    color: #1898a8;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.about-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.concept-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 3rem;
    font-weight: 100;
    color: #1898a8;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: white;
    background-image: url('./vision-pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background-color: white;
    padding: 3rem 2rem;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(24, 152, 168, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-image: url('./service-icons.png');
    background-size: 160px 160px;
    background-repeat: no-repeat;
}

.icon-ai {
    background-position: 0 0; /* 左上：AI脳（回路パターン） */
}

.icon-workflow {
    background-position: 0 -80px; /* 左下：成長チャート */
}

.icon-strategy {
    background-position: -80px 0; /* 右上：人間の脳（思考） */
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Concept Section */
.concept-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

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

.concept-item {
    background-color: white;
    padding: 3rem 2rem;
    border: 1px solid #e0e0e0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.concept-number {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 60px;
    height: 60px;
    background-color: #1898a8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
}

.concept-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 2rem 0 1.5rem;
}

.concept-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1898a8;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(24, 152, 168, 0.1);
}

.contact-form button {
    padding: 1rem 2rem;
    background-color: #2c2c2c;
    color: white;
    border: 2px solid #2c2c2c;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1898a8;
    transition: left 0.3s ease;
    z-index: -1;
}

.contact-form button:hover {
    border-color: #1898a8;
}

.contact-form button:hover::before {
    left: 0;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 160px 0 40px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .hero .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .concept-item,
    .feature-item {
        padding: 2rem 1.5rem;
    }
}