/* ダッシュボード専用CSS - 新デザイン */
.dashboard-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dashboard-page {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

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

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #3085A5 0%, #2a7590 100%);
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(48, 133, 165, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E68A1D, #3085A5);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.complete-guide-btn {
    display: inline-block;
    background: linear-gradient(135deg, #E68A1D 0%, #d67a0d 100%);
    color: #ffffff !important;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(230, 138, 29, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.complete-guide-btn::before {
    content: '📚';
    margin-right: 8px;
    font-size: 1.2rem;
}

.complete-guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 138, 29, 0.4);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2);
}

/* グリッドレイアウト */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: #3085A5;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8f9fa;
}

.card-icon {
    font-size: 2rem;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* ロードマップスタイル */
.roadmap-container {
    position: relative;
}

.roadmap-path {
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, #3085A5, #B6B5B5);
    border-radius: 1px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    transform: translateX(8px);
}

.roadmap-step {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.roadmap-step.completed {
    background: linear-gradient(135deg, #3085A5, #2a7590);
}

.roadmap-step.current {
    background: linear-gradient(135deg, #E68A1D, #d67a0d);
    animation: pulse 2s infinite;
}

.roadmap-step.locked {
    background: #B6B5B5;
    color: #ffffff;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 4px 12px rgba(230, 138, 29, 0.4); }
    100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
}

.roadmap-content {
    flex: 1;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3085A5;
    transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-content {
    background: #e3f2fd;
    border-left-color: #E68A1D;
}

.roadmap-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.roadmap-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

/* FAQ スタイル */
.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.faq-question:hover {
    background: #e3f2fd;
    border-color: #3085A5;
}

.faq-question.active {
    background: #3085A5;
    color: white;
    border-color: #3085A5;
}

.faq-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #3085A5;
    transition: all 0.3s ease;
}

.faq-question.active .faq-toggle {
    color: white;
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    border-radius: 0 0 12px 12px;
    margin-top: -12px;
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
    border: 2px solid #3085A5;
    border-top: none;
}

/* タイムライン スタイル */
.timeline-container {
    position: relative;
}

.timeline-item {
    margin-bottom: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #3085A5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-item:hover {
    background: #e3f2fd;
    border-left-color: #E68A1D;
    transform: translateX(4px);
}

.timeline-item.active {
    background: white;
    border: 2px solid #3085A5;
    border-left: 4px solid #E68A1D;
}

.timeline-content {
    display: flex;
    align-items: flex-start;
}

.timeline-emoji {
    font-size: 2.5rem;
    margin-right: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.timeline-content > div {
    flex: 1;
}

.timeline-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-toggle {
    font-size: 1.2rem;
    color: #3085A5;
    font-weight: bold;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-toggle {
    transform: rotate(45deg);
    color: #E68A1D;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.timeline-articles {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.timeline-articles.active {
    max-height: 300px;
}

.article-link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #3085A5;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.article-link:hover {
    background: #3085A5;
    color: white;
    text-decoration: none;
    transform: translateX(4px);
}

/* サービスグリッド */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.service-item {
    text-align: center;
    padding: 24px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3085A5 0%, #2a7590 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

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

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

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(48, 133, 165, 0.3);
    color: white;
    text-decoration: none;
    border-color: #E68A1D;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ボタンスタイル */
.more-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #E68A1D, #d67a0d);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(230, 138, 29, 0.3);
    color: white;
    text-decoration: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 40px 24px;
    }
    
    .dashboard-card {
        padding: 24px;
    }
    
    .complete-guide-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-emoji {
        font-size: 2rem;
        margin-right: 16px;
    }
    
    .faq-question,
    .faq-answer.active {
        padding: 16px;
    }
}