/* ========================================
   YoRuHub - LP専用スタイル（インラインベース完全版）
   プロフェッショナル&モーションリッチ
   ======================================== */

/* メインstyle.cssから必要な変数を再定義 */
:root {
    --color-primary: #7C9885;
    --color-primary-light: #A8C4B3;
    --color-primary-dark: #5A7A65;
    --color-secondary: #D4A574;
    --color-secondary-light: #E8C9A8;
    --color-accent: #E8B4A0;
    --color-accent-light: #F5D4C8;
    
    --color-neutral-50: #FDFCFB;
    --color-neutral-100: #F7F5F2;
    --color-neutral-200: #EBE8E3;
    --color-neutral-300: #D5D0C8;
    --color-neutral-400: #A8A39A;
    --color-neutral-500: #6B6861;
    --color-neutral-600: #4A4641;
    --color-neutral-700: #2D2B28;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-japanese: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--font-japanese);
    font-size: var(--font-size-base);
    color: var(--color-neutral-700);
    background-color: var(--color-neutral-50);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 252, 251, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-neutral-200);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

/* ========================================
   ヒーローセクション - プロフェッショナル版
   ======================================== */
.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-16)) 0 var(--spacing-24);
    background: linear-gradient(135deg, #FDFCFB 0%, #F7F5F2 50%, #EBE8E3 100%);
    overflow: hidden;
}

/* 背景の動的パターン */
.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 196, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(232, 180, 160, 0.06) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px);
    }
}

.lp-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* アプリアイコン - 3Dエフェクト付き */
.app-icon-large {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--spacing-10);
    position: relative;
    animation: iconFloat 6s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.app-icon-large::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    border-radius: var(--border-radius-2xl);
    filter: blur(30px);
    opacity: 0.4;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-2xl);
    box-shadow: 
        0 20px 60px -15px rgba(0, 0, 0, 0.3),
        0 10px 30px -10px rgba(124, 152, 133, 0.4);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.app-icon-large:hover img {
    transform: scale(1.05) rotateY(5deg);
}

/* タイポグラフィ - アニメーション付き */
.lp-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-6);
    background: linear-gradient(135deg, var(--color-neutral-700) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFadeIn 1s ease-out;
}

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

.lp-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-neutral-600);
    margin-bottom: var(--spacing-12);
    line-height: 1.8;
    animation: titleFadeIn 1s ease-out 0.2s both;
}

/* CTAボタン群 - プレミアム感 */
.lp-cta-group {
    display: flex;
    gap: var(--spacing-6);
    justify-content: center;
    flex-wrap: wrap;
    animation: titleFadeIn 1s ease-out 0.4s both;
}

.lp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: 1.25rem 2.5rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.lp-cta-button:hover::before {
    left: 100%;
}

.lp-cta-button:not(.secondary) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 
        0 10px 30px -10px rgba(124, 152, 133, 0.5),
        0 0 0 0 rgba(124, 152, 133, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px -10px rgba(124, 152, 133, 0.5),
            0 0 0 0 rgba(124, 152, 133, 0.4);
    }
    50% {
        box-shadow: 
            0 15px 40px -10px rgba(124, 152, 133, 0.6),
            0 0 0 8px rgba(124, 152, 133, 0);
    }
}

.lp-cta-button:not(.secondary):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 50px -10px rgba(124, 152, 133, 0.6),
        0 10px 30px -5px rgba(124, 152, 133, 0.4);
}

.lp-cta-button.secondary {
    background: white;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

.lp-cta-button.secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(124, 152, 133, 0.4);
}

.lp-cta-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.lp-cta-button:hover svg {
    transform: scale(1.1);
}

/* ========================================
   特徴セクション - カードのアニメーション強化
   ======================================== */
.features-section {
    padding: var(--spacing-24) 0;
    background: var(--color-neutral-50);
    position: relative;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-16);
    color: var(--color-neutral-700);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-8);
}

/* カード - グラスモーフィズム&ホバーエフェクト */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-10);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px -5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 152, 133, 0.1), transparent);
    transition: left 0.8s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px -15px rgba(124, 152, 133, 0.3),
        0 10px 30px -10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: var(--color-primary-light);
}

/* アイコンラッパー - 回転&グラデーション */
.feature-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-8);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(124, 152, 133, 0.5);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 15px 40px -10px rgba(124, 152, 133, 0.7);
}

.feature-icon-wrapper svg {
    width: 45px;
    height: 45px;
    color: white;
    transition: transform 0.4s;
}

.feature-card:hover .feature-icon-wrapper svg {
    transform: rotateY(180deg);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--color-neutral-700);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--color-neutral-600);
    line-height: 1.8;
}

/* ========================================
   使い方セクション
   ======================================== */
.how-to-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(180deg, var(--color-neutral-50) 0%, var(--color-neutral-100) 100%);
}

.steps-list {
    max-width: 900px;
    margin: var(--spacing-16) auto 0;
}

.step-item {
    display: flex;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-16);
    align-items: flex-start;
    opacity: 0;
    animation: stepFadeIn 0.8s ease-out forwards;
}

.step-item:nth-child(1) { animation-delay: 0.2s; }
.step-item:nth-child(2) { animation-delay: 0.4s; }
.step-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    box-shadow: 0 10px 30px -10px rgba(124, 152, 133, 0.5);
    transition: all 0.3s;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px -10px rgba(124, 152, 133, 0.7);
}

.step-content h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-4);
    color: var(--color-neutral-700);
}

.step-content p {
    font-size: var(--font-size-lg);
    color: var(--color-neutral-600);
    line-height: 1.8;
}

/* ========================================
   CTAセクション
   ======================================== */
.cta-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-section .section-title {
    color: white;
    font-size: var(--font-size-4xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.cta-section .lp-subtitle {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-size: var(--font-size-xl);
}

.cta-section .lp-cta-button {
    background: white;
    color: var(--color-primary-dark);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.cta-section .lp-cta-button:hover {
    background: var(--color-neutral-100);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.4);
}

/* フッター */
.footer {
    padding: var(--spacing-16) 0 var(--spacing-8);
    background: var(--color-neutral-700);
    color: var(--color-neutral-200);
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: var(--font-size-2xl);
    color: var(--color-neutral-100);
    margin-bottom: var(--spacing-6);
}

.footer-links {
    display: flex;
    gap: var(--spacing-6);
    justify-content: center;
    margin-bottom: var(--spacing-8);
}

.footer-link {
    color: var(--color-neutral-300);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding-top: var(--spacing-6);
    border-top: 1px solid var(--color-neutral-600);
}

.footer-bottom p {
    color: var(--color-neutral-400);
    font-size: var(--font-size-sm);
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 768px) {
    .lp-hero {
        padding: calc(80px + var(--spacing-12)) 0 var(--spacing-16);
        min-height: auto;
    }
    
    .app-icon-large {
        width: 140px;
        height: 140px;
    }
    
    .lp-title {
        font-size: var(--font-size-4xl);
    }
    
    .lp-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .lp-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto var(--spacing-6);
    }
}
