:root {
    --primary: #006644;
    --accent: #D8452B;
    --light-primary: #80CDC7;
    --dark-primary: #004D40;
    --text-color: #333;
    --light-text: #fff;
    --bg-light: #f9f9f9;
    --border-radius: 12px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Header */
header {
    background-color: var(--primary);
    color: var(--light-text);
    padding: 0.7rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: auto;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background-color: var(--accent);
    color: var(--light-text);
}

.btn.primary:hover {
    background-color: #c03a24;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
}
.hero-center {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--light-primary) 100%);
    color: var(--light-text);
    padding: 10rem 0 6rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-center h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-center .subheading {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.buttons {
    margin-top: 2rem;
}

/* Two Column Section */
.two-column {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

.column h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.content h3 {
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content ul, .content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Services Section */
.icon-cards {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s;
}

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

.card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

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

/* Contact Form */
.contact-form {
    padding: 5rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

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

.contact-form p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Noto Sans JP', sans-serif;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.socials {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.socials svg, .socials i {
    width: 2em;
    height: 2em;
    margin: 0 0.5em;
    vertical-align: middle;
    fill: var(--primary);
    color: var(--primary);
    transition: fill 0.2s, color 0.2s;
    font-size: 2em;
}

.socials a:hover {
    color: var(--accent);
}

/* Activities Section */
.activities {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.activity-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.activity-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.activity-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    max-height: 300px;
}

.activity-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 2rem;
}

.activity-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.activity-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f5f5f5;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: #555;
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* Media queries for Activities section */
@media (min-width: 768px) {
    .activity-item {
        flex-direction: row;
        align-items: stretch;
    }
    
    .activity-image {
        width: 40%;
        max-height: 300px;
    }
    
    .activity-content {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .activity-image {
        max-height: 250px;
        padding: 0.5rem;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .column {
        margin-bottom: 2rem;
    }
    
    .hero-center h1 {
        font-size: 2rem;
    }
    
    .hero-center .subheading {
        font-size: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        max-width: 40%;
    }
    
    nav ul li {
        margin-left: 0.5rem;
    }
    
    .hero-center {
        padding: 11rem 0 3rem;
        min-height: 40vh;
    }
    
    .hero-center h1 {
        font-size: 1.8rem;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
}

/* Secondary Button Style */
.btn.secondary {
    background-color: #f0f0f0;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.secondary:hover {
    background-color: var(--primary);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* Contact Buttons Layout */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
        text-align: center;
    }
}
