/* 宇宙開発業界サイト CSS - 独自デザイン */

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

:root {
    /* カラーパレット - 宇宙テーマ */
    --primary-dark: #1a237e;     /* 濃紺 */
    --primary-purple: #4527a0;    /* 紫 */
    --accent-silver: #90a4ae;     /* 銀色 */
    --accent-light: #e8eaf6;     /* 薄紫 */
    --text-white: #ffffff;
    --text-gray: #666666;
    --text-dark: #212121;
    --gradient-space: linear-gradient(135deg, #1a237e 0%, #4527a0 50%, #283593 100%);
    --gradient-stellar: linear-gradient(45deg, #1a237e 0%, #3f51b5 30%, #673ab7 70%, #9c27b0 100%);
    --shadow-cosmic: 0 4px 20px rgba(26, 35, 126, 0.3);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--gradient-space);
    min-height: 100vh;
}

/* ヘッダー */
header {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-silver);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-cosmic);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "🚀";
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--accent-silver);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ヒーローセクション */
.hero {
    background: var(--gradient-stellar);
    color: var(--text-white);
    padding: 80px 40px;
    border-radius: 20px;
    margin: 30px 0 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-cosmic);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="150" r="2" fill="white" opacity="0.8"/><circle cx="800" cy="200" r="1.5" fill="white" opacity="0.6"/><circle cx="400" cy="300" r="1" fill="white" opacity="0.7"/><circle cx="700" cy="400" r="2" fill="white" opacity="0.5"/><circle cx="300" cy="600" r="1.5" fill="white" opacity="0.8"/><circle cx="900" cy="700" r="1" fill="white" opacity="0.6"/><circle cx="100" cy="800" r="2" fill="white" opacity="0.7"/><circle cx="600" cy="900" r="1.5" fill="white" opacity="0.5"/></svg>') repeat;
    opacity: 0.3;
    animation: stars 20s linear infinite;
}

@keyframes stars {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: var(--accent-silver);
    color: var(--primary-dark);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* セクションスタイル */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-cosmic);
}

.content-section h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.content-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: var(--gradient-stellar);
    border-radius: 3px;
}

.content-section h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.content-section p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1rem;
}

/* リンクスタイル */
a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* リスト */
ul, ol {
    margin: 20px 0;
    padding-left: 25px;
}

li {
    margin: 8px 0;
    color: var(--text-dark);
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--accent-light);
}

th {
    background: var(--primary-dark);
    color: var(--text-white);
    font-weight: 600;
}

/* フッター */
footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--accent-silver);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section a {
    color: var(--text-white);
    display: block;
    margin: 8px 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-silver);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-silver);
    opacity: 0.7;
}

/* 特殊効果 */
.highlight-box {
    background: var(--gradient-stellar);
    color: var(--text-white);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="30" r="0.5" fill="white" opacity="0.4"/><circle cx="40" cy="60" r="0.8" fill="white" opacity="0.2"/><circle cx="70" cy="80" r="1.2" fill="white" opacity="0.3"/></svg>') repeat;
    opacity: 0.1;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--text-white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-cosmic);
    border-color: var(--accent-silver);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 20px;
        box-shadow: var(--shadow-cosmic);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid var(--accent-silver);
    }
    
    .hero {
        padding: 60px 20px;
        margin: 20px 0 30px 0;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 25px;
        margin: 20px 0;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 20px;
    }
}