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

:root {
    --primary-color: #4A9FD4;
    --primary-dark: #3a7fa8;
    --secondary-color: #10b981;
    --accent-color: #4A9FD4;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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


/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #4A9FD4 0%, #3a7fa8 100%);
    color: white;
    padding-top: 80px;
    overflow: hidden;
    padding-bottom: 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    text-align: left;
}

.title-line {
    display: block;
}

.title-main {
    font-size: 3.75rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.title-sub {
    font-size: 1.375rem;
    font-weight: 500;
    opacity: 0.92;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-description strong {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0;
}

.hero-cta-container {
    margin-bottom: 2.5rem;
}

.hero-cta-text {
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #000000;
    border: none;
    border-radius: 0.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-store-button:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.hero-store-icon-apple {
    color: #ffffff;
}

.hero-store-icon-google {
    color: #ffffff;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 600px;
    animation: fadeIn 1s ease 0.3s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

.card-icon {
    font-size: 2.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.875rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    color: var(--bg-primary);
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 問題提起セクション */
.problem {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.problem-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

.problem-subtitle {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.problem-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-step {
    width: 280px;
    height: 320px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.problem-step.highlight-step {
    background: linear-gradient(135deg, #e6f2fa 0%, #cce5f5 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.problem-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* 気づきセクション */
.realization {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e6f2fa 0%, #cce5f5 100%);
}

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

.realization-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.realization-text strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* 解決策セクション */
.solution {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.solution-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-lead strong {
    color: var(--text-primary);
    font-weight: 600;
}

.solution-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.solution-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTAセクション */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ストアボタン */
.store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #000000;
    border: none;
    border-radius: 0.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.store-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.store-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.store-icon-apple {
    color: #ffffff;
}

.store-icon-google {
    color: #ffffff;
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-button-label {
    font-size: 0.625rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-button-name {
    font-size: 1.125rem;
    font-weight: 600;
}

/* 機能セクション */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.features-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image {
        order: 2;
        height: 300px;
        margin-top: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .card-1 {
        top: 0%;
        left: 5%;
    }

    .card-2 {
        top: 16%;
        right: 5%;
    }

    .card-3 {
        left: 40%;
    }

    .problem-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .problem-step {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 280px;
    }

    .problem-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .title-main {
        font-size: 1.5em;
    }

    .title-sub {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-image {
        height: 250px;
        margin-top: 1rem;
    }

    .floating-card {
        padding: 1rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .problem-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .problem-step {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
    }

    .problem-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .solution-main {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 2rem;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .title-main {
        font-size: 1.625rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .title-sub {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .hero-cta-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-store-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .hero-image {
        height: 280px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .hero-image {
        height: 200px;
    }

    .floating-card {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .problem-step {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 220px;
        padding: 1.5rem;
    }

    .problem-icon {
        font-size: 2.5rem;
    }

    .problem-title {
        font-size: 1.125rem;
    }

    .problem-description {
        font-size: 0.875rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.625rem 1.25rem;
    }

    .store-icon {
        width: 28px;
        height: 28px;
    }

    .store-button-label {
        font-size: 0.5625rem;
    }

    .store-button-name {
        font-size: 0.875rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

