/* 基本スタイル */
* {
    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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

/* メインコンテンツ */
main {
    min-height: calc(100vh - 200px);
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* 市場概況 */
.market-overview {
    padding: 4rem 0;
    background: white;
}

.market-overview h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.market-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
}

.market-card h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.change {
    font-weight: bold;
    font-size: 1.1rem;
}

.change.positive {
    color: #28a745;
}

.change.negative {
    color: #dc3545;
}

/* 注目コンテンツ */
.featured-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.featured-content h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.content-card h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.read-more {
    display: inline-block;
    background: #1e3c72;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #2a5298;
}

/* 免責事項通知 */
.disclaimer-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-notice p {
    margin: 0;
    color: #856404;
}

.disclaimer-notice a {
    color: #1e3c72;
    text-decoration: underline;
}

/* 分析記事 */
.analysis-article, .guide-article, .company-article {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.analysis-article h3, .guide-article h3, .company-article h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.date, .category {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.analysis-article h4, .guide-article h4, .company-article h4 {
    color: #2a5298;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.analysis-article p, .guide-article p, .company-article p {
    margin-bottom: 1rem;
    color: #555;
}

.analysis-article ul, .guide-article ul, .company-article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.analysis-article li, .guide-article li, .company-article li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* 影響グリッド */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.impact-item {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.impact-item.positive {
    background: #d4edda;
    border-color: #c3e6cb;
}

.impact-item.negative {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.impact-item h5 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.impact-item.positive h5 {
    color: #155724;
}

.impact-item.negative h5 {
    color: #721c24;
}

/* 免責事項コンテンツ */
.disclaimer-content {
    padding: 2rem 0;
}

.disclaimer-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.disclaimer-section h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.disclaimer-section h4 {
    color: #2a5298;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
}

.disclaimer-section p {
    margin-bottom: 1rem;
    color: #555;
}

.disclaimer-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.disclaimer-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* お問い合わせ */
.contact-content {
    padding: 2rem 0;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-method h4 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-method ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.contact-method li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* お問い合わせフォーム */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.contact-form h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 2px rgba(30, 60, 114, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: #1e3c72;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #2a5298;
}

/* FAQ */
.faq-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.faq-section h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    color: #2a5298;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #555;
    margin: 0;
}

/* フッター */
footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b8c6db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a5298;
    color: #b8c6db;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .market-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .market-card,
    .content-card,
    .analysis-article,
    .guide-article,
    .company-article,
    .disclaimer-section,
    .contact-info,
    .contact-form,
    .faq-section {
        padding: 1.5rem;
    }
}
