@charset "UTF-8";

/* =========================================
   Base Styles & Variables
   ========================================= */
:root {
    --primary-green: #4abd5d; 
    --primary-dark: #3a9c4a;
    --accent-green: #eaf8ec;
    --secondary-orange: #ff9f43; 
    --secondary-orange-dark: #ee8e35;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --font-base: 'Noto Sans JP', sans-serif;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-base);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utility */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.mt-50 { margin-top: 50px; }
.white { color: var(--white) !important; border-color: var(--white) !important; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 189, 93, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn-secondary:hover {
    background-color: var(--accent-green);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--white);
}
.btn-white:hover {
    background-color: #f8f8f8;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-orange {
    background-color: var(--secondary-orange);
    color: var(--white);
    border: 2px solid var(--secondary-orange);
}
.btn-orange:hover {
    background-color: var(--secondary-orange-dark);
    border-color: var(--secondary-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 159, 67, 0.4);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.br-sp {
    display: none;
}

.br-pc {
    display: block;
}

@media (max-width: 768px) {
    .btn-sm {
        padding: 3% 15px;
        font-size: 4vw;
    }

    .br-sp {
        display: block;
    }

    .br-pc {
        display: none;
    }
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.2rem;
    min-width: 250px;
}

/* =========================================
   Header
   ========================================= */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i { color: var(--primary-green); }

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: 0.3s;
}
.nav-link:hover { color: var(--primary-green); }
.nav-link:hover::after { width: 100%; }

@media (max-width: 768px) {
    .nav-link { display: none; }
    .header-inner { padding: 15px 20px; }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(120deg, #f5fcf6 0%, #eaf8ec 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-tagline {
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    background: rgba(74, 189, 93, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-title .small {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-left: 10px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 600px;
}
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(74, 189, 93, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: 0.5s;
}
.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
}

@media (max-width: 900px) {
    .hero { padding-top: 120px; padding-bottom: 80px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 5%; max-width: 100%; }
    .hero-title { font-size: 2.8rem; margin-bottom: 6%;}
    .hero-btns { justify-content: center; flex-direction: column;}
    .hero-image img { transform: none; }
    .hero-image:hover img { transform: none; }
    .hero-tagline { line-height: 1.5; padding: 3% 5%; margin-bottom: 7%;}
}

/* =========================================
   Section Common
   ========================================= */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}
.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-green);
}
.section-label.white::after { background: var(--white); }

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .section { padding: 13% 0; }
    .section-title { font-size: 1.8rem; }
    .section-header {
        margin-bottom: 12%;
    }
}

/* =========================================
   Section 1: Problems
   ========================================= */
.section-problems {
    background-color: var(--white);
}

.problems-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.problem-item {
    width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.02);
}

.problem-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
    background-color: #fdfdfd;
}
.problem-item:hover .icon-box {
    background-color: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    color: var(--text-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.problem-item p {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.problems-solution {
    display: flex;
    justify-content: center;
}
.solution-box {
    background: linear-gradient(to right, #eaf8ec, #f5fcf6);
    padding: 30px 60px;
    border-radius: 10px;
    border: 2px solid var(--accent-green);
}
.solution-text {
    font-size: 1.6rem;
    font-weight: 900;
}
.solution-text .highlight {
    color: var(--primary-green);
    background: linear-gradient(transparent 70%, #afffd8 70%);
}

/* スマホ時：Problem横長・縦積み */
@media (max-width: 768px) {
    .section-problems {
        padding-top: 8%;
    }

    .problems-grid {
        flex-direction: column;
    }
    .problem-item {
        width: 100%; /* 横幅いっぱい */
        display: flex; /* 横並びレイアウト */
        align-items: center;
        text-align: left;
        padding: 20px;
        gap: 20px;
    }
    .problem-item .icon-box {
        margin: 0; /* 下マージン削除 */
        flex-shrink: 0; /* アイコンが縮まないように */
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .problem-item p {
        font-size: 1rem;
        margin: 0;
    }
    .problem-item br {
        display: none; /* 改行を削除して1行〜2行で綺麗に見せる */
    }
    
    .solution-text { font-size: 1.2rem; }
    .solution-box { padding: 20px 30px; border-radius: 20px; }
}

/* =========================================
   Section 2: About
   ========================================= */
.section-about {
    background-color: #fafafa;
}

.about-card {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: 60px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-lead {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
}
.green-text { color: var(--primary-green); }

.about-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.about-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.about-features-list li {
    background: var(--accent-green);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-features-list li span {
    background: var(--white);
    color: var(--primary-green);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.about-image {
    flex: 1;
}
.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .about-card { padding: 30px; border-radius: 15px;}
    .about-content { flex-direction: column-reverse; gap: 30px; }
    .about-lead { font-size: 1.4rem; }
    .about-image img {
        border-radius: 15px;
    }
}

/* スマホ時：2個ずつ2段（Gridレイアウト） */
@media (max-width: 768px) {
    .about-features-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2列 */
        gap: 10px;
    }
    .about-features-list li {
        width: 100%;
        justify-content: center; /* 中央寄せ */
        line-height: 1.4;
    }
}

/* =========================================
   Section 3: Features
   ========================================= */
.section-features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-green);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.feature-body h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* スマホ時：縦積み・中央揃え */
@media (max-width: 768px) {
    .features-grid { 
        grid-template-columns: 1fr; 
    }
    .feature-card { 
        flex-direction: column; /* 縦並び */
        text-align: center; 
        align-items: center; /* アイコン中央 */
        padding: 30px 20px; 
    }
    .feature-icon-circle {
        margin-bottom: 15px; /* アイコン下の余白 */
    }
}

/* =========================================
   Section 4: Effects
   ========================================= */
.section-effects {
    background: var(--primary-green);
    color: var(--white);
    padding-bottom: 120px;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.effect-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
}
.effect-card:hover {
    background: var(--white);
    transform: scale(1.05);
}
.effect-card:hover .effect-name,
.effect-card:hover .effect-stat,
.effect-card:hover .effect-icon i {
    color: var(--primary-green);
}
.effect-card:hover .effect-bar {
    background: #eee;
}
.effect-card:hover .bar-fill {
    background: var(--primary-green);
}

.effect-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}
.effect-name {
    font-weight: 700;
    margin-bottom: 10px;
}
.effect-stat {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
}
.effect-stat .unit {
    font-size: 1.2rem;
}
.effect-stat .unit-text {
    font-size: 2rem;
}

.effect-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: var(--white);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .effects-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 30px; }
    .effect-bar { height: 4px;}
    .section-effects { padding-bottom: 15%;}
}

/* =========================================
   Section 5: Reasons
   ========================================= */
.section-reasons {
    margin-top: 0; 
    padding-top: 100px; 
    padding-bottom: 100px;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reason-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
    text-align: center;
    transition: 0.3s;
}
.reason-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.check-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: var(--primary-green);
    font-size: 1.8rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}
.reason-card:hover .check-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(360deg);
}

.reason-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.reason-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .reasons-grid { grid-template-columns: repeat(2, 1fr); }
    .section-reasons {
        padding: 13% 0;
    }
}
@media (max-width: 600px) {
    .reasons-grid { grid-template-columns: 1fr; }
}

/* =========================================
   Section 6: Flow
   ========================================= */
.section-flow {
    background-color: #fafafa;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px; 
}

.flow-step {
    flex: 1;
    background: var(--white);
    border-radius: 15px;
    /* 元に戻す: absolute配置用にパディングを調整 */
    padding: 30px 15px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative; /* absolute配置の基準 */
    transition: 0.3s;
    border: 2px solid transparent;
    overflow: visible; /* バッジをはみ出させるためvisibleに */
    margin-top: 15px; /* 上にはみ出たバッジ分の余白確保 */
}

.flow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-green);
    z-index: 2;
}

/* 元に戻す: STEPバッジをカード上部にabsolute配置 */
.step-badge {
    position: absolute;
    top: -15px; /* カードの上にはみ出させる */
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 0;
}
.flow-step:hover .step-badge {
    background: var(--secondary-orange);
    top: -20px; /* ホバー時に少し浮き上がる演出 */
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.flow-step:hover .step-icon {
    transform: scale(1.2);
    color: var(--primary-dark);
}

.flow-step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.flow-step p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.flow-arrow {
    color: #ddd;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 15px; /* カードのマージンに合わせて位置調整 */
}

@media (max-width: 900px) {
    .flow-container { flex-direction: column; gap: 10px; }
    .flow-arrow { transform: rotate(90deg); margin-top: 0; }
    .flow-step { width: 100%; max-width: 400px; padding: 40px 30px 30px; }
}

/* =========================================
   Section 7: FAQ
   ========================================= */
.section-faq {
    background-color: var(--white);
}

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

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--white);
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    transition: 0.3s;
}
.faq-question:hover {
    background-color: #fdfdfd;
}

.q-mark {
    color: var(--primary-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.q-text {
    flex: 1;
    font-size: 1.05rem;
}
.toggle-icon {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out; 
    background-color: #fafafa;
}

.faq-answer-inner {
    padding: 25px;
    display: flex;
    gap: 20px;
    border-top: 1px solid #eee;
}

.a-mark {
    color: var(--secondary-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}
.faq-item.active .faq-question {
    background-color: var(--accent-green);
}

@media (max-width: 768px) {
    .faq-question {
        line-height: 1.7;
    }
}

/* =========================================
   Section 8: CTA
   ========================================= */
.section-cta {
    background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    position: relative;
    padding: 120px 0;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 140, 60, 0.9);
    z-index: 1;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

.cta-btns-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.cta-action p {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-title { font-size: 6.5vw; line-height: 1.5; font-feature-settings: "palt"; letter-spacing: 0.08em;}
    .cta-btns-wrapper { flex-direction: column; gap: 30px; }
    .btn-lg { width: 100%; }
    .section-cta {
        padding: 14% 0;
    }
    .cta-desc {
        font-size: 4vw;
        line-height: 1.5;
        margin-bottom: 9%;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #222;
    color: #888;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}
.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-links a:hover { color: var(--white); }
.copyright {
    opacity: 0.6;
}

/* =========================================
   Animations
   ========================================= */
.fade-in, .fade-in-up, .fade-in-right {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in { transform: translateY(0); }
.fade-in-up { transform: translateY(30px); }
.fade-in-right { transform: translateX(30px); }

.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay { transition-delay: 0.2s; }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }


/* =========================================
   Fix: Prevent Horizontal Scroll on Mobile
   ========================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
}