* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
}

header {
    background: #3d5a6c;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    transition: background 0.3s;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
}

.download-link {
    background: #d9534f;
    margin-left: 1rem;
}

.download-link:hover {
    background: #c9302c;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-left: 5px solid #3d5a6c;
}

.hero h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* 2カラムセクション */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.content-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.section-block {
    background: white;
    padding: 2rem;
    border-left: 5px solid #3d5a6c;
}

.section-block h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-block p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #5a9fd4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.btn:hover {
    background: #4a8fc4;
}

.btn-app {
    background: #5a9fd4;
}

.btn-app:hover {
    background: #4a8fc4;
}

footer {
    background: #3d5a6c;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    font-size: 0.9rem;
}

/* コンテンツページ用 */
.content-page {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #3d5a6c;
}

.content-page h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-page > p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Bailout用 - 初動対応（第一行） */
.bailout-first-response {
    margin-top: 2rem;
}

.bailout-first-response section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid #d9534f;
}

.bailout-first-response h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Bailout用グリッド */
.bailout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bailout-grid section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid #5a9fd4;
}

.bailout-grid h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

/* 団体についてセクション */
.about-section {
    background: white;
    padding: 2.5rem 2rem;
    margin: 0;
    border-left: 5px solid #5a9fd4;
}

.about-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content > div {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.about-content h3 {
    font-size: 1.3rem;
    color: #3d5a6c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content p {
    color: #555;
    line-height: 1.8;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5a9fd4;
    font-weight: bold;
}

/* ブログセクション */
.blog-section {
    background: white;
    padding: 2.5rem 2rem;
    margin: 0;
    border-left: 5px solid #d9534f;
}

.blog-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.blog-post {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-post:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-post h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-post p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more {
    color: #5a9fd4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #4a8fc4;
}

/* タブレット以下 */
@media (max-width: 1024px) {
    nav {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .two-column-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* タブレット縦・スマホ横 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .logo {
        font-size: 1.3rem;
        text-align: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-menu li {
        flex: 1 1 auto;
        min-width: 120px;
        text-align: center;
    }

    .download-link {
        margin-left: 0;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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

    main {
        padding: 0 1rem;
    }

    .section-block {
        padding: 1.5rem;
    }

    .section-block h2 {
        font-size: 1.3rem;
    }

    .content-page {
        padding: 1.5rem;
    }

    .content-page h1 {
        font-size: 1.5rem;
    }

    .bailout-first-response section {
        padding: 1.2rem;
    }

    .bailout-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .bailout-grid section {
        padding: 1.2rem;
    }

    .about-section {
        padding: 2rem 1.5rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-content h3 {
        font-size: 1.2rem;
    }

    .blog-section {
        padding: 2rem 1.5rem;
    }

    .blog-section h2 {
        font-size: 1.5rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .blog-post h3 {
        font-size: 1.2rem;
    }
}

/* スマホ縦 */
@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .nav-menu a {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .nav-menu li {
        min-width: 100px;
    }

    .hero {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

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

    .section-block {
        padding: 1rem;
    }

    .section-block h2 {
        font-size: 1.2rem;
    }

    .section-block p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .content-page {
        padding: 1rem;
    }

    .content-page h1 {
        font-size: 1.2rem;
    }

    .bailout-first-response section {
        padding: 1rem;
    }

    .bailout-first-response h2 {
        font-size: 1.1rem;
    }

    .bailout-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .bailout-grid section {
        padding: 1rem;
    }

    .bailout-grid h2 {
        font-size: 1.1rem;
    }

    .about-section {
        padding: 1.5rem 1rem;
    }

    .about-section h2 {
        font-size: 1.2rem;
    }

    .about-content > div {
        padding: 1rem;
    }

    .about-content h3 {
        font-size: 1.1rem;
    }

    .about-content p,
    .about-content li {
        font-size: 0.9rem;
    }

    .blog-section {
        padding: 1.5rem 1rem;
    }

    .blog-section h2 {
        font-size: 1.2rem;
    }

    .blog-posts {
        gap: 1.5rem;
    }

    .blog-post {
        padding: 1.2rem;
    }

    .blog-post h3 {
        font-size: 1.1rem;
    }

    .blog-post p {
        font-size: 0.9rem;
    }

    .post-date {
        font-size: 0.8rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
    }
}