* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a35 50%, #2a1a55 100%);
    background-attachment: fixed;
    font-weight: 400;
}

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

header {
    background: rgba(10, 10, 25, 0.85);
    color: white;
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
    background: 
        /* 天の川のランドスケープ背景 */
        url('images/milky_way_landscape.jpg') center/cover,
        /* フォールバック用のグラデーション */
        linear-gradient(to bottom, 
            #0a0a1a 0%,
            #0f0f2a 15%,
            #141428 30%,
            #19192d 45%,
            #1e1e32 60%,
            #232338 75%,
            #1a1a2a 90%,
            #0f0f1f 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

/* 画像が読み込まれない場合のフォールバック星空 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* 簡易的な星空パターン */
        radial-gradient(1px 1px at 20% 20%, white, transparent),
        radial-gradient(1px 1px at 40% 30%, white, transparent),
        radial-gradient(1px 1px at 60% 40%, white, transparent),
        radial-gradient(1px 1px at 80% 50%, white, transparent),
        radial-gradient(2px 2px at 30% 60%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 70% 70%, white, transparent),
        radial-gradient(1px 1px at 10% 80%, white, transparent),
        radial-gradient(2px 2px at 90% 10%, rgba(255, 255, 255, 0.9), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

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

h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.since {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
}

.mission {
    background: rgba(255, 255, 255, 0.97);
    padding: 5rem 0;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mission h2 {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mission-content {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.starnet-meaning {
    background: rgba(45, 27, 105, 0.1);
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
}

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

.starnet-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-left: 4px solid #c49b61;
    transition: all 0.3s ease;
}

.starnet-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.starnet-item h3 {
    color: #2d1b69;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.starnet-item .letter {
    font-weight: 600;
    color: #c49b61;
    font-size: 1.1em;
}

.services {
    background: 
        url('images/milky_way01.jpg') center/cover,
        rgba(20, 20, 40, 0.4);
    background-blend-mode: multiply;
    color: white;
    padding: 5rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

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

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.service-item h3 {
    color: #e6c79a;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.achievements {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 0;
}

.achievements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d1b69;
}

.achievements-list {
    max-width: 800px;
    margin: 0 auto;
}

.achievements-list ul {
    list-style: none;
}

.achievements-list li {
    background: rgba(45, 27, 105, 0.06);
    margin: 1.2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 3px solid #c49b61;
    transition: all 0.2s ease;
}

.achievements-list li:hover {
    background: rgba(45, 27, 105, 0.1);
    transform: translateX(5px);
}

footer {
    background: rgba(15, 15, 35, 0.95);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.company-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    margin-bottom: 2rem;
}

.company-info h3 {
    color: #e6c79a;
    margin-bottom: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.company-info a {
    color: #e6c79a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: #f4d7ab;
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .starnet-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}