/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: #ffd700;
    background-color: rgba(255,255,255,0.1);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 市場概況セクション */
.market-summary {
    padding: 60px 0;
    background: white;
}

.market-summary h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.market-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.market-card h3 {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.market-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.market-card .change {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.change.positive {
    background-color: #d4edda;
    color: #155724;
}

.change.negative {
    background-color: #f8d7da;
    color: #721c24;
}

/* 注目コンテンツセクション */
.featured-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.featured-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-3px);
}

.content-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.content-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* 投資教育セクション */
.investment-education {
    padding: 60px 0;
    background: white;
}

.investment-education h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.education-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #007bff;
}

.education-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.education-item ul {
    list-style: none;
    padding-left: 0;
}

.education-item li {
    padding: 8px 0;
    color: #6c757d;
    position: relative;
    padding-left: 25px;
}

.education-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* フッター */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .market-cards {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .education-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 市場概況ページ */
.indices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.index-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
}

.index-card h3 {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.trading-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.sector-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.sector-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #f8f9fa;
    padding: 20px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
}

.sector-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.sector-row:hover {
    background-color: #f8f9fa;
}

.sector-row.positive span:nth-child(2) {
    color: #28a745;
    font-weight: 600;
}

.sector-row.negative span:nth-child(2) {
    color: #dc3545;
    font-weight: 600;
}

/* 投資戦略ページ */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.strategy-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #007bff;
}

.strategy-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.strategy-features h4, .strategy-example h4 {
    color: #495057;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
}

.strategy-features ul, .strategy-example ul {
    list-style: none;
    padding-left: 0;
}

.strategy-features li, .strategy-example li {
    padding: 8px 0;
    color: #6c757d;
    position: relative;
    padding-left: 25px;
}

.strategy-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.principle-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.principle-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.implementation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-number {
    background: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* 企業分析ページ */
.financial-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.metric-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 20px 0 15px 0;
}

.metric-formula, .metric-benchmark {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.aspects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.aspect-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

/* 市場ニュースページ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card.featured {
    border: 2px solid #007bff;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.updates-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.update-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.update-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.announcement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.financial-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.highlight-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.highlight-item .label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.highlight-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #28a745;
}

.development-status {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.status, .target {
    background: #e9ecef;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

.indicators-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.indicator-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.indicator-data {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.policy-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

/* 免責事項・プライバシーポリシー・利用規約ページ */
.disclaimer-content, .privacy-content, .terms-content {
    padding: 60px 0;
}

.disclaimer-section, .privacy-section, .terms-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.disclaimer-section h2, .privacy-section h2, .terms-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
}

.disclaimer-section h3, .privacy-section h3, .terms-section h3 {
    color: #495057;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
}

.disclaimer-section h4, .privacy-section h4, .terms-section h4 {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
}

.disclaimer-section ul, .privacy-section ul, .terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.disclaimer-section li, .privacy-section li, .terms-section li {
    margin-bottom: 8px;
    color: #6c757d;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
}

.legal-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.important-notice {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #721c24;
}

.protection-policy ul {
    margin: 15px 0;
    padding-left: 20px;
}

.protection-policy li {
    margin-bottom: 8px;
    color: #6c757d;
}

.update-history {
    margin-top: 30px;
}

.history-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.history-item .date {
    font-weight: 600;
    color: #495057;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.market-card, .content-card, .education-item, .strategy-card, .metric-card, .news-card, .update-item, .announcement-card, .indicator-item, .disclaimer-section, .privacy-section, .terms-section {
    animation: fadeInUp 0.6s ease-out;
}
