/* =========================================
   プロフェッショナルキャラバン隊 - ベーススタイル
   Theme: Navy Blue & Modern
   ========================================= */

:root {
    /* カラーパレット */
    --c-navy-900: #3B5985;
    /* メイン背景など */
    --c-navy-800: #3B5985;
    /* カード背景など */
    --c-navy-700: #3B5985;
    --c-blue-primary: #0077E6;
    --c-blue-light: #E6F1FF;
    --c-accent: #00D4FF;
    /* ハイライト・アクセント */

    --c-text-main: #333333;
    --c-text-light: #666666;
    --c-text-white: #F8F9FA;
    --c-white: #FFFFFF;
    --c-gray-100: #F8F9FA;
    --c-gray-200: #E9ECEF;
    --c-gray-300: #DEE2E6;

    /* タイポグラフィ */
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;

    /* 余白・サイズ */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* アニメーション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* シャドウ */
    --shadow-sm: 0 2px 4px rgba(10, 25, 47, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(10, 25, 47, 0.15);
    --shadow-lg: 0 20px 40px -15px rgba(10, 25, 47, 0.25);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* =========================================
   リセット & ベース
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* rem 指定のタイポ全体を約10%拡大（ブラウザ既定のルートサイズに対する110%） */
    font-size: 110%;
}

body {
    font-family: var(--font-sans);
    color: var(--c-text-main);
    line-height: 1.6;
    background-color: var(--c-white);
    overflow-x: hidden;
}

a {
    color: var(--c-blue-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--c-navy-800);
}

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

ul {
    list-style: none;
}

/* =========================================
   ユーティリティクラス
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--space-xl) 0;
}

.bg-navy {
    background-color: var(--c-navy-900);
}

.bg-light {
    background-color: var(--c-gray-100);
}

.bg-gradient-navy {
    background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
}

.text-white {
    color: var(--c-text-white);
}

.text-light {
    color: rgba(255, 255, 255, 0.7);
}

/* 事例紹介(#case)のサブタイトルを見やすく */
#case .case-subtitle-emphasis {
    font-size: 1.25rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.04em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    #case .case-subtitle-emphasis {
        font-size: 1.35rem;
    }
}

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

.text-highlight {
    color: var(--c-accent);
    font-weight: 900;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .align-center {
        align-items: center;
    }
}

/* ボタン */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--c-blue-primary);
    color: var(--c-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #0056b3;
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 50px;
}

.btn-nav {
    background-color: transparent;
    border: 1px solid var(--c-blue-primary);
    color: var(--c-blue-primary);
    padding: 8px 16px;
}

.btn-nav:hover {
    background-color: var(--c-blue-primary);
    color: var(--c-white);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-glow:hover::after {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 1;
    }

    100% {
        left: 150%;
        opacity: 0;
    }
}

/* =========================================
   ヘッダー
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--c-gray-200);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition-normal);
}

.header.scrolled .header-container {
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    max-height: 80px;
    /* ロゴの画像の高さに合わせて調整 */
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header.scrolled .logo-image {
    max-height: 60px;
    /* スクロール時は少し小さく */
}

.nav {
    display: none;
}

@media (min-width: 992px) {
    .nav {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }

    .nav-list {
        display: flex;
        gap: var(--space-md);
    }

    .nav-list a {
        color: var(--c-text-main);
        font-weight: 500;
        font-size: 0.9rem;
        position: relative;
    }

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

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

/* モバイルメニューボタン */
.menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--c-navy-900);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* メニュー開閉時 */
.menu-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* =========================================
   ヒーローセクション
   ========================================= */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    color: var(--c-white);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 119, 230, 0.3) 0%, rgba(10, 25, 47, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-accent);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* キャッチコピーと「参加無料」を一塊に（本文の末尾付近にバッジを寄せる） */
.hero-subtitle--with-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-start;
    gap: 0.4rem 0.55rem;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.hero-subtitle--with-badge .hero-subtitle-text {
    display: inline-block;
    text-align: left;
}

.hero-badge--free {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45em 1em;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--c-navy-900);
    background: linear-gradient(135deg, var(--c-accent) 0%, #5ecfff 100%);
    border-radius: 999px;
    box-shadow: 0 2px 14px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-badge--free {
        font-size: 0.8rem;
        padding: 0.5em 1.1em;
    }
}

.hero-title {
    font-size: 2.1rem;
    /* 2.2remから微減 */
    line-height: 1.3;
    margin-bottom: var(--space-md);
    font-weight: 900;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.9rem;
        /* 3remから微減 */
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--c-gray-300);
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--c-gray-300);
    opacity: 0.8;
}

/* グラスモーフィズムカード */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
}

.mockup-card {
    border-radius: 12px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red {
    background-color: #ff5f56;
}

.mockup-dot.yellow {
    background-color: #ffbd2e;
}

.mockup-dot.green {
    background-color: #27c93f;
}

.mockup-body {
    padding: 30px;
}

.mockup-body h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--c-white);
    border-bottom: 2px solid var(--c-blue-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.mockup-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--c-gray-100);
    font-size: 0.95rem;
}

.mockup-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(0, 119, 230, 0.2);
    color: var(--c-accent);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* =========================================
   共通セクションパーツ
   ========================================= */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-navy-900);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--c-blue-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--c-text-light);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1.5rem;
}

.section-subtitle .duration-badge {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 119, 230, 0.08);
    border: 1px solid rgba(0, 119, 230, 0.22);
    color: var(--c-navy-900);
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
    line-height: 1.5;
}

/* 実施の流れ：所要時間バッジは折り返し可（狭い幅での横はみ出し防止） */
.section-subtitle--flow-duration {
    font-size: 0.95em;
    max-width: min(600px, 100%);
    padding: 0 4px;
    box-sizing: border-box;
}

.section-subtitle--flow-duration .duration-badge--wrap {
    font-size: 0.8em;
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-align: center;
    vertical-align: top;
}

.section-subtitle .duration-badge .duration-detail {
    display: block;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 119, 230, 0.15);
    color: var(--c-navy-800);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 480px) {
    .section-subtitle .duration-badge {
        border-radius: 16px;
        padding: 10px 12px;
    }

    .section-subtitle .duration-badge .duration-detail {
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 0.95rem;
    }
}

/* =========================================
   カード要素
   ========================================= */
.card {
    background: var(--c-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--c-gray-200);
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bg-light-blue {
    background-color: var(--c-blue-light);
    color: var(--c-blue-primary);
}

.bg-light-green {
    background-color: #E6F8F0;
    color: #10B981;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-blue-primary);
    font-weight: bold;
}

/* =========================================
   プログラム概要
   ========================================= */
.text-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-navy-900);
}

.info-box {
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    background-color: var(--c-white);
    border-left: 4px solid var(--c-navy-900);
    box-shadow: var(--shadow-sm);
}

.info-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--c-navy-900);
}

.bullet-list li {
    margin-bottom: 1rem;
}

.bullet-list small {
    display: block;
    color: var(--c-text-light);
    margin-top: 0.25rem;
}

.image-wrapper {
    position: relative;
    padding: 2rem;
}

.stat-circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--c-blue-primary), #00A3FF);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    box-shadow: var(--shadow-md);
    z-index: 2;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-text {
    font-size: 0.75rem;
    margin-top: 5px;
}

.feature-card {
    background: var(--c-navy-800);
    color: var(--c-white);
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    border: none;
}

.user-chip {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    margin: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   参加のメリット・声
   ========================================= */
.voice-card {
    position: relative;
    padding-top: 3rem;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--c-blue-light);
    font-family: serif;
    font-weight: bold;
    z-index: 0;
}

.voice-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-weight: 500;
}

/* =========================================
   事例紹介 (Cosmo)
   ========================================= */
.case-study-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .case-body.grid-2 {
        gap: 0;
    }
}

.case-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--c-blue-primary);
    color: var(--c-white);
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.case-company {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.case-meta {
    color: var(--c-gray-300);
    font-size: 0.9rem;
}

/* コスモ事例とは別カードで参加企業一覧を表示 */
.case-participants-table-card {
    margin-top: var(--space-md);
}

.case-participants-table-card .case-company-list-wrap {
    padding: 2rem;
}

.case-participants-pr {
    margin-bottom: 1.5rem;
}

.case-participants-pr-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-md);
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.08) 0%,
        rgba(0, 119, 230, 0.12) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.case-participants-pr-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--c-accent) 0%, var(--c-blue-primary) 100%);
}

.case-participants-pr-kicker {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--c-navy-900);
    background: linear-gradient(135deg, var(--c-accent) 0%, #5ecfff 100%);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(0, 212, 255, 0.35);
}

.case-participants-pr-copy {
    flex: 1;
    min-width: min(100%, 16rem);
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.94);
}

.case-participants-pr-highlight {
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--c-accent) 45%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not (background-clip: text) {
    .case-participants-pr-highlight {
        color: var(--c-accent);
    }
}

.case-participants-table-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 1rem;
}

.case-company-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.case-company-list th,
.case-company-list td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 0.7rem;
    text-align: left;
}

.case-company-list th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.case-column {
    padding: 2rem;
}

.case-column:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.case-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--c-accent);
}

.text-sm {
    font-size: 0.9rem;
    color: var(--c-gray-200);
}

.theme-list {
    counter-reset: custom-counter;
    list-style: none;
    padding: 0;
}

.theme-list li {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.theme-list li::before {
    counter-increment: custom-counter;
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--c-accent);
    color: var(--c-navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* =========================================
   タイムライン
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--c-blue-light);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 40px;
        padding-right: 0;
    }
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--c-white);
    border: 3px solid var(--c-blue-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--c-blue-primary);
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-item .timeline-marker {
        left: auto;
        right: -20px;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        left: -20px;
        right: auto;
    }
}

.timeline-content {
    background: var(--c-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--c-navy-900);
}

/* =========================================
   CTAとフッター
   ========================================= */
.cta-section {
    padding: var(--space-xl) 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--c-gray-200);
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        gap: 3rem;
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.email-contact .contact-value {
    font-size: 2rem;
    /* メールアドレスを大きく強調 */
    word-break: break-all;
}

.contact-label {
    font-size: 0.95rem;
    /* ラベルも少し大きく */
    color: var(--c-accent);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.5rem;
    font-weight: bold;
}


/* =========================================
   運営会社 (#company)
   ========================================= */
#company.section {
    background-color: var(--c-gray-100);
    padding: var(--space-xl) 0;
}

.company-info-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--c-white);
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-gray-200);
}

.company-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-navy-900);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--c-blue-primary);
    display: inline-block;
}

.company-text {
    font-size: 0.91rem; /* 実数で約16px（ベース110%設定時） */
    color: var(--c-text-main);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.company-text:last-of-type {
    margin-bottom: 0;
}

.company-link-wrap {
    margin-top: 2rem;
}

.company-link {
    font-weight: 700;
    color: var(--c-blue-primary);
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.company-link:hover {
    color: var(--c-navy-800);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .company-info-wrapper {
        padding: var(--space-md) var(--space-sm);
    }
    
    .company-title {
        font-size: 1.25rem;
    }
}

/* =========================================
   フッター
   ========================================= */
.footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #050d1a;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--c-gray-300);
}

/* =========================================
   アニメーションクラス (JSで制御)
   ========================================= */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.left {
    transform: translateX(-30px);
}

.reveal.right {
    transform: translateX(30px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}
.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}