/* リセット & ベース */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7CB342;
    --primary-dark: #558B2F;
    --secondary: #9CCC65;
    --accent: #C5E1A5;
    --dark: #1B2A1B;
    --dark-light: #2E3D2E;
    --gray: #5D6D5D;
    --gray-light: #C8D8C8;
    --bg: #F5F9F0;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #7CB342 0%, #9CCC65 60%, #C5E1A5 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ヘッダー */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    z-index: 100;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.logo span {
    font-family: 'Comfortaa', cursive;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

.nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* ボタン */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 179, 66, 0.4);
}

.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ヒーロー */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* モックアップ */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    padding: 20px;
    overflow: hidden;
}

.demo-card {
    background: linear-gradient(135deg, #F1F8E9 0%, #F5F9F0 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--gray-light);
}

.demo-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
}

.demo-title {
    font-weight: 600;
    font-size: 14px;
}

.demo-time {
    font-size: 12px;
    color: var(--gray);
}

.demo-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.demo-splits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.split-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--white);
    border-radius: 8px;
    font-size: 14px;
}

.demo-status {
    text-align: center;
    color: #10B981;
    font-weight: 600;
    font-size: 14px;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
}

/* 問題提起 */
.problem {
    background: var(--bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--gray-light);
}

.problem-icon {
    display: flex;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ソリューション */
.solution {
    background: var(--gradient);
    color: var(--white);
}

.solution .section-title,
.solution .section-subtitle {
    color: var(--white);
}

.solution .gradient-text {
    -webkit-text-fill-color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(197, 225, 165, 0.7);
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

/* 特徴 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--bg);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* チーム運営 */
.team-features {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.team-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(124, 179, 66, 0.15);
}

.team-card-icon {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.15);
}

.team-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.team-card>p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.team-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--dark);
}

.team-feature-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

/* 使い方 */
.how-it-works {
    background: var(--bg);
}

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

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray);
    font-size: 16px;
}

/* 資金の流れ */
.flow-diagram {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 24px;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.flow-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.flow-icon svg {
    width: 80px;
    height: 80px;
}

.flow-label {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.flow-desc {
    font-size: 14px;
    color: var(--gray);
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
}

/* ユースケース */
.use-cases {
    background: var(--bg);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.use-case-emoji {
    font-size: 56px;
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.use-case-card p {
    color: var(--gray);
    line-height: 1.6;
}

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

.faq-item {
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* CTA */
.cta {
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    color: var(--gray-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--dark);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.store-button--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.store-button--disabled:hover {
    transform: none;
    box-shadow: none;
}

.store-coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9CCC65, #7CB342);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.45);
}

.cta-coming-soon-note {
    margin-top: 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
}

.store-text {
    font-size: 12px;
    color: var(--gray);
}

.store-name {
    font-size: 18px;
    font-weight: 700;
}

/* フッター */
.footer {
    background: var(--dark-light);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray-light);
}

.footer-bottom-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.footer-bottom-nav a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-bottom-nav a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 13px;
    color: var(--gray-light);
    margin: 0;
}

.feature-icon {
    margin-bottom: 16px;
    display: flex;
}

/* レスポンシブ */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        margin-top: 40px;
    }

    .problem-grid,
    .features-grid,
    .team-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 60px;
    }
}