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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90c8;
    --accent-color: #f8a31c;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

.main-navigation {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.typewriter-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header-alt {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.header-content-wrap h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header-content-wrap p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.primary-content {
    padding: 60px 0;
}

.intro-area,
.benefits-zone,
.poll-segment,
.latest-posts-area,
.cta-section {
    margin-bottom: 80px;
}

.intro-area h2,
.benefits-zone h2,
.poll-segment h2,
.latest-posts-area h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.icon-holder {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.survey-box {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.poll-question {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.poll-option:hover {
    background: #e8f4f8;
}

.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.poll-submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.poll-submit-btn:hover {
    background: var(--secondary-color);
}

.poll-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    font-weight: 600;
    color: var(--success-color);
    display: none;
}

.posts-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-preview-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.post-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-preview-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--primary-color);
}

.post-preview-card p {
    margin: 0 1.5rem 1rem;
    color: var(--text-light);
}

.read-more-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: var(--primary-color);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.blog-main-container {
    padding: 60px 0;
}

.blog-grid-layout {
    display: grid;
    gap: 3rem;
}

.blog-post-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-area {
    padding: 2rem 2rem 2rem 0;
}

.post-title-link a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

.post-title-link a:hover {
    color: var(--secondary-color);
}

.post-meta-info {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-excerpt {
    color: var(--text-light);
    margin: 1rem 0 1.5rem;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background: var(--secondary-color);
}

.about-content-wrapper {
    padding: 60px 0;
}

.mission-section,
.team-section,
.values-section {
    margin-bottom: 80px;
}

.mission-section h2,
.team-section h2,
.values-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.mission-content-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.rounded-image {
    border-radius: 12px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.team-photo {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.team-member-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.team-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-main-wrapper {
    padding: 60px 0;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-close-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: var(--secondary-color);
}

.post-article {
    background: var(--bg-white);
}

.post-header {
    background: var(--bg-light);
    padding: 3rem 0;
}

.post-meta-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.post-date {
    color: var(--text-light);
}

.post-category-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.post-featured-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.post-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 2;
}

.post-navigation {
    background: var(--bg-light);
    padding: 2rem 0;
    margin-top: 3rem;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-to-blog,
.prev-post,
.next-post {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-blog:hover,
.prev-post:hover,
.next-post:hover {
    color: var(--secondary-color);
}

.nav-label {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: white;
    transform: translateY(-4px);
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 2rem;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    z-index: 1500;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.cookie-btn.accept {
    background: var(--success-color);
    color: white;
}

.cookie-btn.decline {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .typewriter-heading {
        font-size: 2rem;
    }

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

    .benefit-grid,
    .posts-preview-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-card {
        grid-template-columns: 1fr;
    }

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

    .contact-layout-grid {
        grid-template-columns: 1fr;
    }

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

    .cookie-buttons {
        flex-direction: column;
    }

    .post-nav-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .typewriter-heading {
        font-size: 1.5rem;
    }

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

    .post-header h1 {
        font-size: 1.8rem;
    }

    .survey-box {
        padding: 1.5rem;
    }
}