/* 基本設定 */
* {
    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: #f5f5f5;
}

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

/* ヘッダー */
.header {
    background-color: #1a3a5c;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav a:hover {
    color: #ff6b35;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 課題セクション */
.problems {
    padding: 80px 20px;
    background-color: white;
}

.problems h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a3a5c;
}

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

.problem-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.problem-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a3a5c;
}

/* ソリューションセクション */
.solution {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.solution h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a3a5c;
    line-height: 1.5;
}

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

.solution-item {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.cta-center {
    text-align: center;
}

/* ピラー記事セクション */
.pillar-article {
    padding: 80px 20px;
    background-color: white;
}

.pillar-article h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a3a5c;
}

.article-card-large {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.article-card-large h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.article-card-large p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.read-more {
    display: inline-block;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: translateX(5px);
}

/* 人気記事セクション */
.popular-articles {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.popular-articles h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #1a3a5c;
}

.category-title {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #1a3a5c;
    border-left: 5px solid #ff6b35;
    padding-left: 15px;
}

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

.article-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a3a5c;
}

.article-card p {
    color: #666;
    margin-bottom: 20px;
}

.article-card a {
    display: inline-block;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.article-card a:hover {
    transform: translateX(5px);
}

/* 最終CTAセクション */
.final-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button-large {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 20px 60px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button-large:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* フッター */
.footer {
    background-color: #1a3a5c;
    color: white;
    padding: 60px 20px 20px;
}

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

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: #ff6b35;
    text-decoration: none;
}

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1a3a5c;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .problems h2,
    .solution h2,
    .pillar-article h2,
    .popular-articles h2 {
        font-size: 1.5rem;
    }

    .final-cta h2 {
        font-size: 1.8rem;
    }

    .article-card-large {
        padding: 30px;
    }

    .article-card-large h3 {
        font-size: 1.3rem;
    }
}
