/* ============================================
   Pattern 15: Nature Earth — terra.
   エコ・アウトドア / パララックス / 自然写真
   ============================================ */

/* ── Scroll Animation System ── */
.anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim.anim-up {
    transform: translateY(50px);
}

.anim.anim-left {
    transform: translateX(-60px);
}

.anim.anim-right {
    transform: translateX(60px);
}

.anim.anim-scale {
    transform: scale(0.9);
}

.anim.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.2s !important;
}

.anim-delay-2 {
    transition-delay: 0.4s !important;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --c-forest: #2D5016;
    --c-sage: #87A96B;
    --c-sand: #F5F0E6;
    --c-dark: #1A2E0A;
    --c-white: #fff;
    --c-muted: #7A8B6A;
    --f-display: "DM Sans", sans-serif;
    --f-body: "Noto Sans JP", "DM Sans", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: #3A3A3A;
    background: var(--c-sand);
    line-height: 2;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 230, 0.9);
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--c-forest);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--c-forest);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 46, 10, 0.4), rgba(26, 46, 10, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.hero-label {
    font-family: var(--f-display);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--c-sage);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.4;
    margin-bottom: 30px;
}

.btn-earth {
    display: inline-block;
    padding: 16px 40px;
    background: var(--c-forest);
    color: var(--c-white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-earth:hover {
    background: var(--c-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

/* ── Impact Bar ── */
.impact-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 20px;
    background: var(--c-forest);
}

.impact-item {
    text-align: center;
    color: var(--c-white);
}

.impact-num {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.impact-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ── Sections ── */
.section {
    padding: 90px 0;
}

.section--sand {
    background: var(--c-white);
}

.section--dark {
    background: var(--c-dark);
}

.section-title {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--c-forest);
}

.section-title--light {
    color: var(--c-white);
}

.title-en {
    display: block;
    font-size: 0.85rem;
    color: var(--c-sage);
    letter-spacing: 0.15em;
    font-family: var(--f-display);
    font-weight: 700;
    margin-top: 5px;
    opacity: 0.8;
}

/* ── About Split with Overlapping Images ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--c-muted);
    margin-bottom: 15px;
}

.values {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-icon {
    font-size: 1.5rem;
}

.value strong {
    font-size: 0.9rem;
    color: var(--c-forest);
}

.about-imgs {
    position: relative;
    height: 450px;
}

.about-img {
    position: absolute;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-img--1 {
    width: 320px;
    height: 380px;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-img--2 {
    width: 220px;
    height: 260px;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid var(--c-sand);
}

/* ── Parallax Band ── */
.parallax-band {
    height: 400px;
    position: relative;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1600') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 46, 10, 0.6);
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.parallax-text {
    font-size: 1.3rem;
    color: var(--c-white);
    line-height: 2;
    font-style: italic;
}

/* ── Service Cards with Photos ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--c-sand);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px;
}

.service-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--c-forest);
}

.service-body p {
    font-size: 0.85rem;
    color: var(--c-muted);
}

/* ── Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--c-dark);
}

.footer .logo {
    color: var(--c-sage);
}

.footer p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

/* ── FAQ ── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--c-white);
    border: 1px solid rgba(135, 169, 107, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.faq-q {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c-forest);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-q::before {
    content: 'Q';
    color: var(--c-sage);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--f-display);
}

.faq-a {
    color: var(--c-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-a::before {
    content: 'A';
    color: var(--c-forest);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--f-display);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .about-imgs {
        height: 300px;
    }

    .about-img--1 {
        width: 250px;
        height: 280px;
    }

    .about-img--2 {
        width: 160px;
        height: 180px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .impact-bar {
        flex-direction: column;
        gap: 20px;
    }

    .values {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        display: none;
    }
}