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

:root {
    --primary-color: #2d7a3e;
    --secondary-color: #4a9d5f;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
}

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

.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.site-title {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

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

.primary-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

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

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.primary-nav a:hover::after,
.primary-nav a.nav-active::after {
    width: 100%;
}

.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 122, 62, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.hero-heading {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtext {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.features-area,
.recent-posts-section,
.testimonials-section,
.faq-section,
.business-info-section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

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

.post-preview-card,
.blog-post-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.post-preview-img,
.blog-post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-preview-content,
.post-content-wrapper {
    padding: 25px;
}

.post-preview-content h3,
.post-title {
    margin-bottom: 10px;
}

.post-preview-content h3 a,
.post-title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
}

.post-preview-content h3 a:hover,
.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt,
.post-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more-link,
.post-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.read-more-link:hover,
.post-read-more:hover {
    color: var(--secondary-color);
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    text-align: right;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
}

.business-details-grid,
.company-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.business-info-card,
.company-info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.business-info-card h3,
.company-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

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

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

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    color: var(--white);
    padding: 30px;
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

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

.cookie-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

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

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

.customize-btn {
    background: #666;
    color: var(--white);
}

.customize-btn:hover {
    background: #777;
}

.decline-btn {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.decline-btn:hover {
    background: rgba(255,255,255,0.1);
}

.page-header-section {
    text-align: center;
    padding: 60px 0;
    background: var(--light-bg);
}

.page-main-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-subtitle,
.contact-intro-text,
.about-intro-text {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-intro-section,
.contact-intro-section {
    padding: 60px 0;
}

.mission-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.mission-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-member-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-member-card h3 {
    margin: 20px 0 10px;
    color: var(--primary-color);
    font-size: 22px;
}

.member-position {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.member-bio {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

.company-info-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-form-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-section {
    flex: 0 0 400px;
    min-width: 300px;
}

.contact-content-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.required {
    color: #d32f2f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-detail h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-detail p {
    color: #666;
    line-height: 1.6;
}

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

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

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.modal-close-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

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

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

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-main-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-metadata {
    color: #999;
    font-size: 14px;
}

.post-metadata span {
    margin: 0 15px;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

.post-body-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

.post-body-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 32px;
}

.post-body-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.post-body-content ul {
    margin: 20px 0 20px 40px;
}

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

.post-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.back-to-blog {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.back-to-blog:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .main-header .container-fluid {
        flex-direction: column;
        gap: 20px;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-heading {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 18px;
    }

    .section-heading,
    .page-main-title {
        font-size: 28px;
    }

    .post-main-title {
        font-size: 28px;
    }

    .contact-content-wrapper {
        flex-direction: column;
    }

    .contact-info-section {
        flex: 1;
    }
}

@media print {
    .welcome-banner,
    .main-header,
    .cookie-consent,
    .site-footer {
        display: none;
    }
}