/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px 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;
    height: 70px;
}

.nav-logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

/* ヒーローセクション */
.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: bold;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 特徴セクション */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 市場概況 */
.market-overview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.market-overview h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.market-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.market-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.market-item .label {
    display: block;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.market-item .value {
    display: block;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ニュースセクション */
.news {
    padding: 80px 0;
    background-color: white;
}

.news h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.news-list {
    display: grid;
    gap: 30px;
}

.news-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.news-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-item .date {
    color: #999;
    font-size: 0.9rem;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #3498db;
}

.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: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .market-data {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* アクセシビリティの向上 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* フォーカス表示の改善 */
a:focus,
button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* 重要なお知らせ */
.important-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px 0;
    margin-bottom: 0;
}

.notice-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.notice-content h3 {
    color: #856404;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.notice-content p {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1rem;
}

.notice-link {
    display: inline-block;
    background-color: #856404;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.notice-link:hover {
    background-color: #6c5ce7;
}

/* ページヘッダー */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 市場情報ページ */
.indices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.index-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.index-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 15px 0;
}

.index-change.positive {
    color: #27ae60;
    font-weight: bold;
}

.index-change.negative {
    color: #e74c3c;
    font-weight: bold;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sector-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sector-item.positive {
    border-left: 4px solid #27ae60;
}

.sector-item.negative {
    border-left: 4px solid #e74c3c;
}

.sector-change {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.sector-item.positive .sector-change {
    color: #27ae60;
}

.sector-item.negative .sector-change {
    color: #e74c3c;
}

.volume-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.volume-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 投資分析ページ */
.analysis-content {
    max-width: 800px;
    margin: 0 auto;
}

.analysis-item {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.analysis-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

.key-points {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.key-points h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.key-points ul {
    list-style: none;
    padding-left: 0;
}

.key-points li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.key-points li:last-child {
    border-bottom: none;
}

.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.stock-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.sector {
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.trend.positive {
    color: #27ae60;
    font-weight: bold;
}

.analysis-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.analysis-details h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.analysis-details ul {
    list-style: none;
    padding-left: 0;
}

.analysis-details li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.analysis-details li:last-child {
    border-bottom: none;
}

.strategy-content {
    display: grid;
    gap: 30px;
}

.strategy-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.risk-content {
    display: grid;
    gap: 30px;
}

.risk-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 投資教育ページ */
.basics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.basics-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.learning-points {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.learning-points h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.learning-points ul {
    list-style: none;
    padding-left: 0;
}

.learning-points li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.learning-points li:last-child {
    border-bottom: none;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.method-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.method-features {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.method-features h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.method-features ul {
    list-style: none;
    padding-left: 0;
}

.method-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.method-features li:last-child {
    border-bottom: none;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-link {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.resource-link:hover {
    background-color: #2980b9;
}

.education-disclaimer {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.disclaimer-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.disclaimer-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 免責事項ページ */
.disclaimer-main {
    padding: 60px 0;
    background-color: white;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.disclaimer-content h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.disclaimer-content h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid #3498db;
}

.disclaimer-content p {
    margin-bottom: 20px;
    color: #333;
}

.disclaimer-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.disclaimer-content li {
    margin-bottom: 10px;
    color: #333;
}

.disclaimer-notice {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.disclaimer-notice h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    border-left: none;
    padding-left: 0;
}

.legal-links {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.legal-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.legal-link {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.legal-link:hover {
    background-color: #2980b9;
}

/* 印刷用スタイル */
@media print {
    .navbar,
    .hero,
    .page-header,
    footer {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
}
