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

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF6B6B;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #FFFFFF;
    --gray: #95A5A6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: var(--white);
}

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

/* ヘッダー */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo .accent {
    color: var(--primary-color);
}

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

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

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

.cta-button-small {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ヒーローセクション */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

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

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-main {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.secondary-button {
    background-color: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--white);
    transition: background-color 0.3s, transform 0.3s;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

/* スマホモックアップ */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-demo {
    font-size: 100px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

/* 問題提起セクション */
.problem {
    background-color: var(--light-color);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.problem-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* ソリューションセクション */
.solution {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

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

.solution .accent {
    text-decoration: underline;
    text-decoration-color: var(--white);
    text-decoration-thickness: 3px;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.solution-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background-color 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.solution-number {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.solution-card p {
    line-height: 1.8;
    opacity: 0.95;
}

/* 機能セクション */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* 使い方セクション */
.how-it-works {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.how-it-works .section-title {
    color: var(--white);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.step {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 10px;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.step-content p {
    line-height: 1.8;
    opacity: 0.95;
}

/* ターゲット層セクション */
.target {
    background-color: var(--light-color);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.target-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.target-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.target-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    color: var(--dark-color);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.download-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.download-icon {
    font-size: 40px;
}

.download-label {
    font-size: 12px;
    text-align: left;
}

.download-store {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.cta-note {
    font-size: 14px;
    opacity: 0.9;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-main {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

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