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

:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --purple: #A8E6CF;
    --pink: #FFB6C1;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --bg-light: #FFF5F5;
    --white: #FFFFFF;
}

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

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sparkle {
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.nav {
    display: flex;
    gap: 2rem;
}

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

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

/* ヒーローセクション */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #feca57 75%, #ff6b6b 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(90deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* カレンダープレビュー */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.calendar-preview {
    position: relative;
}

.calendar-stack {
    display: flex;
    gap: -50px;
    transform: perspective(800px) rotateY(-20deg);
}

.calendar-card {
    width: 200px;
    height: 250px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.card-1 { z-index: 3; transform: rotate(-5deg); }
.card-2 { z-index: 2; margin-left: -50px; }
.card-3 { z-index: 1; transform: rotate(5deg); margin-left: -50px; }

.calendar-month {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    font-weight: 700;
    text-align: center;
}

.calendar-image {
    flex: 1;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

/* 特徴セクション */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.2);
    border-color: var(--primary);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* カテゴリーセクション */
.categories {
    padding: 5rem 0;
    background: var(--white);
}

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

.category-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f6f6f6, #ffffff);
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    transform: scale(1.05);
}

.category-item:hover h3,
.category-item:hover p {
    color: var(--white);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.category-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s;
}

/* 使い方セクション */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

/* B2B2Cセクション */
.b2b2c {
    padding: 5rem 0;
    background: var(--white);
}

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

.b2b2c-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
}

.b2b2c-item h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.b2b2c-item ul {
    list-style: none;
}

.b2b2c-item li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3rem 0;
    text-align: center;
    color: var(--white);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .nav {
        display: none;
    }
}