/* ================================================
   Smart Kaidashi LP - Styles
   カラーパレット: エメラルドグリーン基調 + オレンジアクセント
   ================================================ */

:root {
    /* ライトモード カラーパレット */
    --color-bg: #F8F9FA;
    --color-card: #FFFFFF;
    --color-text: #11181C;
    --color-text-sub: #687076;
    --color-primary: #399661;
    --color-primary-light: #2ECC71;
    --color-accent: #E67E22;
    --color-border: #E1E4E8;
    --color-success: #399661;
    --color-warning: #F1C40F;
    --color-error: #E74C3C;

    /* スペーシング */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* フォント */
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ボーダー半径 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 500;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* ================================================
   ヒーローセクション
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #399661 0%, #2ECC71 50%, #27ae60 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-lg);
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-lg);
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-weight: 500;
}

.store-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.store-btn.light {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.store-btn.light:hover {
    background: var(--color-primary-light);
}

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

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

.store-label {
    font-weight: 700;
    font-size: 1rem;
}

.store-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 18px;
    }
}

/* ================================================
   機能紹介セクション
   ================================================ */
.features {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(57, 150, 97, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    line-height: 1.8;
}

/* ================================================
   テクノロジーセクション
   ================================================ */
.technology {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #EAF7EF 100%);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--color-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.tech-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
}

.tech-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.tech-content p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
}

/* ================================================
   CTAセクション
   ================================================ */
.cta {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #399661 0%, #2ECC71 100%);
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.cta p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

/* ================================================
   フッター
   ================================================ */
.footer {
    padding: var(--space-lg) 0;
    background: #1a1a1a;
    text-align: center;
}

.footer-brand {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: var(--space-xs);
    transition: opacity 0.3s ease;
}

.footer-brand:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 0.8rem;
    color: #888;
}

/* ================================================
   Brand Logo
   ================================================ */
.brand-logo-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 10000;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.brand-logo {
    width: 60px;
    height: auto;
    opacity: 0;
    animation: logoFadeIn 0.8s ease-out forwards;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.4));
    transition: all 0.3s ease;
}

.brand-logo-link:hover .brand-logo {
    filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.8));
    transform: scale(1.1);
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Logo */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: var(--space-lg);
    list-style: none;
    padding: 0;
}

.footer-link a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: var(--space-xs);
}

.footer-logo-small {
    width: 24px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.4));
}

/* ================================================
   レスポンシブ調整
   ================================================ */
@media (max-width: 768px) {
    .hero-logo {
        width: 100px;
        height: 100px;
    }

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

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .tech-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-card {
        padding: var(--space-md);
    }
}