
:root {
    --brand-color: #00693F;
    --accent-color: #f39c12; /* Orange for LP */
    --text-color: #333;
    --background-color: #fff;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --dark-bg: #121212;
    --dark-text: #e0e0e0;
    --dark-card-bg: #1e1e1e;
    --font-family: 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-top: 3px solid var(--brand-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

header .logo {
    display: block;
    height: 40px; /* Adjust logo height here */
}

header .logo img {
    height: 100%;
    width: auto;
    display: block;
}

header nav a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 700;
    margin-left: 25px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #004d2e;
}

/* Main Content */
main {
    padding-top: 83px; /* Offset for fixed header + border */
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 105, 63, 0.6), rgba(0, 105, 63, 0.6)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.cta-button:hover {
    background-color: #004d2e;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
    text-align: center;
}

/* Automatic alternating background colors */
main > .content-section:nth-of-type(even) {
    background-color: var(--light-gray);
}

/* Override for single-section pages that should be gray */
#contact, #confirm-page, #thanks-page {
    background-color: var(--light-gray);
}


.content-section h2 {
    font-size: 2.5rem;
    color: var(--brand-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--brand-color);
    bottom: -10px;
    left: 20%;
}

/* Card base styles with hover effect */
.why-us-card, .testimonial-card, .philosophy-card, .service-feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-us-card:hover, .testimonial-card:hover, .philosophy-card:hover, .service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.why-us-icon {
    margin-bottom: 15px;
}
.why-us-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--brand-color);
}
.why-us-card h3 {
    color: var(--brand-color);
    margin-top: 0;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}
.testimonial-card {
    padding: 25px;
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.testimonial-author {
    font-weight: 700;
    color: var(--text-color);
}
.testimonial-quote {
    font-style: italic;
    color: #555;
    margin: 0;
}


/* News Section */
.news-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.news-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.news-item:first-child {
    padding-top: 0;
}
.news-date {
    margin-right: 20px;
    font-weight: 700;
    color: var(--brand-color);
    width: 120px;
    flex-shrink: 0;
}
.news-title {
    flex-grow: 1;
}

/* CTA Section (Homepage & Service) */
.cta-section {
    background-color: var(--brand-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}
.cta-section h2 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    color: var(--white); /* Explicitly set color */
}
.cta-section h2::after {
    content: none; /* Remove underline */
}
.cta-section p {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
}
.cta-section .cta-button {
    background-color: var(--white);
    color: var(--brand-color);
}
.cta-section .cta-button:hover {
    background-color: #eee;
}


/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}
.philosophy-card h3 {
    display: flex;
    align-items: center;
    color: var(--brand-color);
    margin-top: 0;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--brand-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.philosophy-icon {
    margin-right: 12px;
}
.philosophy-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--brand-color);
}
.philosophy-card p {
    margin-bottom: 15px;
}
.philosophy-card p > strong {
    color: var(--text-color);
}
.philosophy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.philosophy-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.7;
}
.philosophy-card ul li::before {
    content: '✓';
    color: var(--brand-color);
    position: absolute;
    left: 0;
    top: 1px;
}
.value-card ul li {
    padding-left: 0;
    margin-bottom: 20px;
}
.value-card ul li:last-child {
    margin-bottom: 0;
}
.value-card ul li::before {
    content: none;
}
.value-card ul li strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* Message Section */
.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
    background: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    border-left: 5px solid var(--brand-color);
}

/* About Section */
.profile-table {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    background-color: var(--white);
}
.profile-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.profile-row:last-child {
    border-bottom: none;
}
.profile-header {
    background-color: #f2f2f2;
    font-weight: 700;
    padding: 15px;
    width: 180px;
    flex-shrink: 0;
}
.profile-data {
    padding: 15px;
    flex-grow: 1;
}

/* Future Section */
#future p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form-container {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-family);
    box-sizing: border-box; /* Important */
}

.form-group textarea {
    resize: vertical;
}

form .cta-button {
    width: 100%;
    font-size: 1.1rem;
}

/* Confirmation & Thanks Page */
.confirmation-container {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
}
.confirm-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.confirm-label {
    font-weight: 700;
    width: 150px;
    flex-shrink: 0;
    color: var(--text-color);
}
.confirm-data {
    flex-grow: 1;
    white-space: pre-wrap; /* Respect newlines in textarea */
}
.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.button-group .cta-button {
    flex: 1;
}
.cta-button.secondary {
    background-color: #6c757d;
}
.cta-button.secondary:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.thanks-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}


/* Footer */
footer {
    background-color: var(--brand-color);
    color: var(--white);
    padding: 30px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-content .logo {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.footer-content .logo:hover {
    opacity: 1;
}
.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}
.footer-nav a:hover {
    opacity: 1;
}
.copyright {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* ============================ */
/* == SERVICES PAGE STYLES   == */
/* ============================ */

.service-subtitle {
    max-width: 800px;
    margin: -20px auto 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.service-feature-card {
    border: 1px solid #eee;
}
.service-feature-icon {
    margin-bottom: 15px;
}
.service-feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--brand-color);
}
.service-feature-card h3 {
    color: var(--brand-color);
    font-size: 1.5rem;
    margin-top: 0;
}

.category-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}
.category-tag {
    background-color: #e6f0eb;
    color: var(--brand-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    header nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav a {
        margin: 5px 10px;
    }

    main {
        padding-top: 143px; /* Adjust for taller header */
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .content-section { padding: 60px 20px; }
    .content-section h2 { font-size: 2rem; }

    .profile-row { flex-direction: column; }
    .profile-header {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #ddd;
    }
    
    .news-item { flex-direction: column; align-items: flex-start; }
    .news-date { margin-bottom: 5px; }

    .footer-content {
        flex-direction: column;
    }
    .footer-content .logo {
        margin-bottom: 15px;
    }
    .footer-nav a {
        margin: 0 10px;
    }
}
