/* ===========================
   基本設定
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #F8F9FA;
}

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

/* ===========================
   ヘッダー
   =========================== */
header {
    background-color: #2C3E50;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #D4AF37;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #D4AF37;
    margin: 4px 0;
    transition: 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #D4AF37;
}

.cta-button {
    background-color: #D4AF37;
    color: #2C3E50;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #C19B2E;
    transform: translateY(-2px);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #D4AF37;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button-large {
    display: inline-block;
    background-color: #D4AF37;
    color: #2C3E50;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button-large:hover {
    background-color: #C19B2E;
    transform: translateY(-2px);
}

/* ===========================
   イントロダクション
   =========================== */
.intro {
    background-color: #fff;
    padding: 60px 20px;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2C3E50;
    text-align: center;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* ===========================
   カテゴリーセクション
   =========================== */
.category {
    padding: 60px 20px;
    background-color: #F8F9FA;
}

.category:nth-child(even) {
    background-color: #fff;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2C3E50;
    border-left: 5px solid #D4AF37;
    padding-left: 15px;
}

.category-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

/* ===========================
   記事グリッド
   =========================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
}

.article-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.article-card.pillar {
    border: 2px solid #D4AF37;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.pillar-badge {
    background-color: #D4AF37;
    color: #2C3E50;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-card h3 a {
    color: #2C3E50;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h3 a:hover {
    color: #D4AF37;
}

.article-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.supervised {
    display: block;
    font-size: 0.9rem;
    color: #D4AF37;
    font-weight: bold;
    margin-top: 10px;
}

/* ===========================
   CTAセクション
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #D4AF37;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===========================
   フッター
   =========================== */
footer {
    background-color: #2C3E50;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===========================
   記事ページ用スタイル
   =========================== */
.article-header {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #D4AF37;
    line-height: 1.4;
}

.article-meta {
    font-size: 1rem;
    color: #ddd;
}

.article-content {
    background-color: #fff;
    padding: 60px 20px;
}

.article-content .container {
    max-width: 900px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2C3E50;
    border-left: 5px solid #D4AF37;
    padding-left: 15px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2C3E50;
}

.article-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
}

.article-content th {
    background-color: #2C3E50;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.article-content td {
    border: 1px solid #ddd;
    padding: 12px;
}

.article-content tr:nth-child(even) {
    background-color: #F8F9FA;
}

.highlight-box {
    background-color: #FFF9E6;
    border-left: 5px solid #D4AF37;
    padding: 20px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: #2C3E50;
    margin-top: 0;
}

.cta-box {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: #D4AF37;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
}

/* ===========================
   レスポンシブ対応
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2C3E50;
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }
}
