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

:root {
    /* カラーパレット */
    --primary-color: #FF9800;
    --secondary-color: #6B46C1;
    --accent-color: #5B21B6;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --gradient-purple: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #3B82F6 100%);
    --border-color: #E5E7EB;
    
    /* タイポグラフィ */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    
    /* スペーシング */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ==========================================
   ヘッダー
   ========================================== */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    transition: var(--transition);
}

.logo a:hover {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px;


    /* 背景画像の設定 */
	/* 黒の半透明レイヤー(0.5 = 50%)を画像の上に重ねています */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/bigdata_consortium/images/bg_cons.jpeg');
    /* background-image: url('/bigdata_consortium/images/bg_cons.jpeg'); */  /* ?? 画像ファイル名に合わせて変更 */
    background-size: cover; /* ?? セクション全体を覆うように拡大・縮小 */
    background-position: center; /* ?? 画像を中央に配置 */
    background-repeat: no-repeat; /* ?? 画像の繰り返しを防止 */

}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-purple);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 50px, rgba(255, 255, 255, 0.03) 51px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 50px, rgba(255, 255, 255, 0.03) 51px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   ボタンスタイル
   ========================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================
   セクション共通スタイル
   ========================================== */
.section {
    padding: var(--section-padding);
}

.section-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-purple);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* ==========================================
   サービスグリッド
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* ==========================================
   ミッションセクション
   ========================================== */
.mission-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
}

.mission-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.mission-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.mission-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.mission-headline {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.mission-content {
    color: var(--text-light);
    font-size: 16px;
}

.mission-content p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.mission-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 30px 0 20px;
}

.mission-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.mission-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

.mission-closing {
    font-weight: 600;
    color: var(--text-color);
    font-size: 18px;
    margin-top: 30px;
}

/* ==========================================
   Webメディア＆ラボセクション
   ========================================== */
.lab-content {
    max-width: 900px;
    margin: 0 auto;
}

.lab-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.lab-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ==========================================
   記事リスト
   ========================================== */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    align-items: center;
}

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

.article-date {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
}

.article-link {
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

.article-link:hover {
    color: var(--primary-color);
}

/* ==========================================
   お問い合わせセクション
   ========================================== */
.section-contact {
    background: var(--gradient-purple);
    color: var(--text-white);
}

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

.section-contact .section-divider {
    background-color: var(--text-white);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ==========================================
   フッター
   ========================================== */
/* ==========================================
.footer {
    background-color: #1F2937;
    color: var(--text-white);
    padding: 50px 20px 30px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 14px;
}

.footer-links a {
    color: #9CA3AF;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: #4B5563;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
}

.copyright {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #9CA3AF;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}
   ========================================== */

/* ===================================
   お問い合わせ(Claude)
   =================================== */
.cta-button {
    display: inline-block;
    background: white;
    color: #1e3c72;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}



/* ===================================
   フッター(Claude)
   =================================== */
        footer {
            background: #1a1a2e;
            color: white;
            padding: 3rem 0 1.5rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h4 {
            margin-bottom: 1rem;
            color: #4facfe;
        }

        .footer-section a {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin: 0.5rem 0;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #333;
            color: #999;
        }


/* ==========================================
   企業情報ページの調整
   ========================================== */

/* テーブルの基本スタイル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.company-table th, 
.company-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 25%;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    font-weight: 700;
}

/* 役員情報の内側テーブル */
.inner-officer-table td {
    padding: 5px 10px 5px 0;
    border: none;
}

/* 地図のレスポンシブ対応 */
.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 の比率 */
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 10px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* スマホ用の設定（768px以下） */
@media (max-width: 768px) {
    .company-table th, 
    .company-table td {
        display: block; /* 縦並びにする */
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: transparent; /* 背景を消して見出しらしく */
        font-size: 14px;
    }

    .company-table td {
        padding-top: 0;
        margin-bottom: 10px;
    }
    
    .mission-card {
        padding: 30px 15px; /* カードの余白を狭く */
    }
}


/* ==========================================
   サイドバー領域の余白調整
   ========================================== */
.sidebar-card {
    padding-top: 20px !important;    /* 上の余白を60pxから20pxに短縮 */
    padding-bottom: 20px !important; /* 下の余白を60pxから20pxに短縮 */
    margin-top: 0 !important;        /* 上の外側余白を削除 */
}

#sidebar .section {
    padding-top: 10px !important;    /* サイドバー内の各セクションの隙間を詰める */
    padding-bottom: 10px !important;
}

#sidebar h2 {
    margin-top: 0;                   /* 見出しの上の余白を削除 */
}



/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 500px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    .nav-list a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card {
        padding: 40px 30px;
    }
    
    .mission-title {
        font-size: 24px;
    }
    
    .mission-headline {
        font-size: 18px;
    }
    
    .article-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-date {
        min-width: auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
}