:root {
    --color-main: #2C3D2B;
    --color-text: #2C3D2B;
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F9F6F0;
    --color-accent: #6DA054;
    --color-yellow: #D8C3A5;
    --font-sans: 'Zen Maru Gothic', sans-serif;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--color-text);
    background-color: var(--color-bg-white);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body { font-size: 16px; }
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-sans);
    color: var(--color-main);
    letter-spacing: 0.05em;
    font-weight: 700;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 1024px) {
    section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(249, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    
    transition: all 0.3s ease;
}

.nav-group {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-group li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 110px;
    height: 90px;
    text-decoration: none;
    transition: all .3s;
    color: var(--color-main);
    font-weight: 700;
}

.nav-group li a:hover {
    background: #fff;
    color: var(--color-accent);
    
    transform: scale(1.05);
}

.nav-ja { font-size: 11px; color: var(--color-main); }
.nav-en { font-size: 8px; letter-spacing: 0.1em; color: var(--color-accent); text-transform: uppercase; }

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    height: 90px;
    text-decoration: none;
    transition: transform 0.2s;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--color-accent);
}

.header-logo:hover { transform: scale(1.05); }

/* FV Stage Design */
.fv {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 550px;
    background: var(--color-bg-white);
    overflow: hidden;
}

@media (min-width: 768px) {
    .fv { height: 100vh; min-height: 700px; }
}

/* Floating Leaves */
.floating-leaf {
    position: absolute;
    color: var(--color-accent);
    opacity: 0.3;
    z-index: 15;
    pointer-events: none;
    animation: floatLeaf 8s ease-in-out infinite alternate;
}

.floating-leaf svg { width: 100%; height: 100%; }

.floating-leaf:nth-child(1) { width: 40px; height: 40px; }
.floating-leaf:nth-child(2) {
    animation-duration: 12s; animation-delay: -3s;
    color: var(--color-yellow); opacity: 0.4; width: 60px; height: 60px;
}
.floating-leaf:nth-child(3) {
    animation-duration: 10s; animation-delay: -5s; width: 50px; height: 50px;
}

@media (min-width: 768px) {
    .floating-leaf:nth-child(1) { width: 80px; height: 80px; }
    .floating-leaf:nth-child(2) { width: 120px; height: 120px; }
    .floating-leaf:nth-child(3) { width: 100px; height: 100px; }
}

@keyframes floatLeaf {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-30px) rotate(15deg) scale(1.1); }
    100% { transform: translateY(-60px) rotate(-15deg) scale(0.9); }
}

.fv-stage {
    position: absolute; left: 140px; right: 80px; top: 110px; bottom: 40px; z-index: 10;
}

.fv-stage-inner {
    position: relative; width: 100%; height: 100%; 
    border-radius: 40px; overflow: hidden;  
}

.fv-stage-inner::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none; z-index: 2;
}

.fv-swiper { width: 100%; height: 100%; z-index: 1;}
.fv-swiper img { width: 100%; height: 100%; object-fit: cover; }

.slide-counter-wrap {
    position: absolute; left: 60px; top: 50%; transform: translateY(-50%); width: 40px;
    display: flex; flex-direction: column; align-items: center; gap: 15px; z-index: 20;
}

.counter-current {
    font-weight: 900; font-size: 32px; color: var(--color-accent);
     padding-bottom: 5px;
}

.counter-total { font-size: 14px; color: var(--color-main); opacity: 0.5; }

.res-circle-btn {
    position: absolute; left: 70px; bottom: 20px; width: 130px; height: 130px;
    border-radius: 50%; background: var(--color-accent); color: #fff; display: flex;
    flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
    z-index: 100; 
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.res-circle-btn:hover {
    transform: scale(1.1) rotate(5deg); background: var(--color-yellow);
    color: var(--color-main); 
}
.res-circle-btn .btn-ja { font-size: 16px; font-weight: 900; margin-top: 3px; text-align: center; line-height: 1.2; }

.fv-copy {
    position: absolute; bottom: 30px; left: 0; right: 0; text-align: center;
    z-index: 50; color: #fff; pointer-events: none;
}

@media (min-width: 768px) { .fv-copy { bottom: 60px; } }

.copy-main { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }

.copy-main-badge {
    font-size: 14px; letter-spacing: 0.1em; font-weight: 900; color: var(--color-bg-light);
    background: var(--color-accent); padding: 6px 18px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 6px; 
    transform: rotate(-1.5deg);
}

.copy-main-text {
    font-weight: 900; font-size: 26px; color: #ffffff; letter-spacing: 0.08em; line-height: 1.4; margin-top: 10px;
    text-shadow: 0 4px 12px rgba(44, 61, 43, 0.9), 0 0 6px rgba(44, 61, 43, 0.6);
}

@media (min-width: 768px) {
    .copy-main-badge { font-size: 15px; padding: 8px 24px; }
    .copy-main-text { font-size: 40px; margin-top: 15px; }
}

/* Float Buttons */
.float-right {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 300;
    display: flex; flex-direction: column; gap: 10px;
}

.float-btn {
    width: 60px; padding: 12px 0; background: var(--color-accent); color: #fff;
    display: flex; flex-direction: column; align-items: center; text-decoration: none;
    border-radius: 20px; 
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.float-btn:hover {
    background: var(--color-yellow); color: var(--color-main);
    transform: translateY(-5px) scale(1.05); 
}

.float-btn-text { writing-mode: vertical-rl; font-size: 16px; margin-top: 5px; letter-spacing: 0.1em; font-weight: 700; }

@media (max-width: 1023px) {
    .site-header { justify-content: space-between; height: 75px; padding: 0 20px; }
    .nav-group { display: none; }
    .header-logo { padding: 0; height: 75px; }
    .fv-stage { left: 10px; right: 10px; top: 90px; bottom: 10px; }
    .slide-counter-wrap, .float-right { display: none; }
    .res-circle-btn { left: 15px; width: 95px; height: 95px; bottom: 15px; padding: 10px;  }
    .res-circle-btn .btn-ja { font-size: 11px; margin-top: 2px; }
    .copy-main-text { font-size: 1.5rem; }
}

/* Buttons & Images */
.nui-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 16px 25px;
    color: var(--color-main); background: #ffffff; border-radius: 999px; border: 2px solid var(--color-accent);
    font-size: 14px; letter-spacing: 0.1em; font-weight: 900; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none; gap: 8px; cursor: pointer;
}
@media (min-width: 768px) { .nui-btn { font-size: 16px; } }
.nui-btn:hover {
    background: var(--color-yellow); transform: translateY(4px); 
}

img {   }

/* Helpers & Animations */
.colmo-header { width: 100%; margin: 0 auto 60px; text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 768px) { .colmo-header { margin-bottom: 45px; } }

.asym-grid-40-60 { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
    .asym-grid-40-60 { grid-template-columns: 4.5fr 5.5fr; gap: 80px; }
    .asym-grid-60-40 { grid-template-columns: 5.5fr 4.5fr; gap: 80px; }
}

.service-card {
    position: relative; background: #ffffff; border-radius: 20px; padding: 20px;
    border: 4px solid var(--color-accent); box-shadow: 0 10px 20px rgba(109, 160, 84, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 30px rgba(109, 160, 84, 0.2); }

.reveal { opacity: 0; transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.1), opacity 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.1); will-change: transform, opacity; }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(40px); }
.reveal-right { transform: translateX(-40px); }
.reveal.active { opacity: 1; transform: translate(0, 0); }
.delay-100 { transition-delay: 100ms; } .delay-200 { transition-delay: 200ms; } .delay-300 { transition-delay: 300ms; }

#drawer { background: var(--color-bg-light); visibility: hidden; pointer-events: none; }
#drawer.active { transform: translateX(0); visibility: visible; pointer-events: auto; }
#drawer a { font-weight: 900; font-size: 1.5rem; letter-spacing: 0.05em; color: var(--color-main); display: flex; align-items: center; gap: 8px; }

#scrollTop { background: var(--color-accent);    z-index: 999; }

.bottom-cta { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1000;  }
.bottom-cta a { flex: 1; text-align: center; padding: 1.2rem 0; font-size: 14px; letter-spacing: 0.1em; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cta-tel { background-color: var(--color-main); }
.cta-web { background-color: var(--color-accent); }

/* Leaf Icon SVG Definition for headers */
.icon-leaf { width: 32px; height: 32px; fill: currentColor; }
@media (min-width: 768px) { .icon-leaf { width: 40px; height: 40px; } }

