/* 全体のスタイル - 明るく可愛らしい青紫ベース */
:root {
    --primary-color: #6B73FF;
    --secondary-color: #9B59B6;
    --accent-color: #FFD93D;
    --success-color: #FF6B9D;
    --text-color: #2C3E50;
    --text-light: #5A6C7D;
    --background-color: #F8F9FF;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-cute: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --shadow-sm: 0 2px 10px rgba(102, 126, 234, 0.15);
    --shadow-md: 0 8px 25px rgba(102, 126, 234, 0.2);
    --shadow-lg: 0 15px 35px rgba(102, 126, 234, 0.25);
    --shadow-xl: 0 20px 40px rgba(102, 126, 234, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.3);
    --border-radius: 25px;
    --border-radius-lg: 35px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 可愛いスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-primary);
}

/* フローティング要素のアニメーション */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

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

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

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ヘッダー - グラスモーフィズム */
header {
    background: linear-gradient(90deg, #f8e1ff 0%, #a8edea 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: none;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.1rem;
    font-weight: 900;
    font-family: 'Nico Moji', 'Noto Sans JP', sans-serif;
    color: #ff6b9d !important;
    -webkit-text-fill-color: #ff6b9d !important;
    background: none !important;
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0 0.2em;
    border-radius: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25), 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 0 2px #fff;
    border: none;
    transition: none;
    position: relative;
}

.logo::after {
    content: '✨';
    position: absolute;
    right: -30px;
    top: -5px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

nav a:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* ヒーローセクション - 明るく美しいデザイン */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* 背景スマホ画像を右側に配置 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 217, 61, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 237, 234, 0.2) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
    opacity: 1;
}

/* ヒーローセクション黒オーバーレイ（PCのみ） */
@media (min-width: 901px) {
  .hero::after {
    background: linear-gradient(90deg, rgba(30,30,40,0.38) 0%, rgba(30,30,40,0.18) 60%, rgba(255,255,255,0.18) 100%), rgba(255,255,255,0.25);
  }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fffbe6 0%, #fff6e0 100%);
    color: #b48800;
    padding: 1.1rem 2.2rem;
    border-radius: 32px;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(180, 136, 0, 0.08), 0 1.5px 0 #fff;
    animation: slideInUp 0.8s ease-out;
    border: 4px double #e6c200;
    outline: 3px solid #fff8d6;
    outline-offset: -8px;
    text-shadow: 0 2px 8px rgba(255, 255, 200, 0.18), 1px 1px 0 #fff, -1px -1px 0 #fff;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD93D 50%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 500;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.hero-feature {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.cta-button {
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.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.6s;
}

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

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.cta-button.primary {
    background: var(--gradient-secondary);
    color: white;
}

.cta-button.secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    color: white;
}

/* セクション共通スタイル */
.section {
    padding: 120px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2.2rem;
    font-weight: 900;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 6px;
    background: var(--gradient-secondary);
    margin: 2rem auto 0;
    border-radius: 3px;
    box-shadow: var(--shadow-md);
}

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

/* 問題提起セクション - 明るい背景 */
.problem-solution {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(107, 115, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(155, 89, 182, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: #263238;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(107, 115, 255, 0.1), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(107, 115, 255, 0.3));
    position: relative;
    z-index: 1;
}

.problem-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.problem-card p {
    color: white;
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.solution-arrow {
    text-align: center;
    margin-top: 4rem;
}

.solution-arrow p {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.arrow {
    font-size: 3rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(107, 115, 255, 0.3));
}

/* 特徴セクション - 明るい背景 */
.features {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(107, 115, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(155, 89, 182, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    background: #263238;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cute);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(107, 115, 255, 0.3));
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.feature-question {
    font-style: italic;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: white;
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.feature-benefit {
    margin-top: 2rem;
    padding: 1.2rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-benefit:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* プランセクション - 明るい背景 */
.plans {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(107, 115, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(155, 89, 182, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.plans-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-weight: 600;
}

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

.plan-card {
    background: #263238;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cute);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover::before {
    opacity: 0.05;
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.plan-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.plan-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.plan-card .price {
    font-size: 3.2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 1.1rem;
    color: white;
    margin-top: 0.5rem;
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.plan-features li {
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    position: relative;
    font-weight: 600;
    color: white;
    line-height: 1.6;
}

.plan-features li::before {
    content: "✨";
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    animation: sparkle 2s ease-in-out infinite;
}

.plan-features li.empty-item {
    visibility: hidden;
    margin-bottom: 1.2rem;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.plan-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.6s;
}

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

.plan-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.plan-note {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-style: italic;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.plan-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}

/* 緊急性セクション - 明るい背景 */
.urgency {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    position: relative;
}

.urgency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(107, 115, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.urgency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.urgency-card {
    text-align: center;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    background: #263238;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.urgency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cute);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.urgency-card:hover::before {
    opacity: 0.1;
}

.urgency-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.urgency-icon {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(107, 115, 255, 0.3));
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.urgency-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.urgency-card p {
    color: white;
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ダウンロードセクション */
.download {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(255, 217, 61, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(255, 107, 157, 0.3) 0%, transparent 50%);
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
}

.download .section-title {
    color: #FFD93D;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 0 #fff;
    margin-bottom: 3rem;
}

.download-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.download-text {
    margin-bottom: 4rem;
}

.download-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 800;
}

.download-text p {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 500;
}

.download-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    animation: pulse 2s infinite;
}

.download-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.store-badge {
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

.store-badge[alt*="Google Play"] {
    height: 68px !important;
    width: auto !important;
}

.store-badge[alt*="App Store"] {
    height: 54px !important;
    width: auto !important;
}

.download-note {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 600;
}

/* フッター - シンプルで美しいデザイン */
footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 217, 61, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: float 15s ease-in-out infinite;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-content p {
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 500;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    opacity: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

/* レスポンシブデザイン - モバイルファースト */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .logo::after {
        right: -25px;
        font-size: 1rem;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 120px 20px 80px;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-feature {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .problem-card {
        padding: 2.5rem;
    }

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

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

    .feature-card {
        padding: 2.5rem;
    }

    .feature-icon {
        font-size: 3.5rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial {
        padding: 2.5rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plan-card {
        padding: 2.5rem;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-badge {
        top: -10px;
        right: 20px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .urgency-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .urgency-card {
        padding: 2.5rem;
    }

    .urgency-icon {
        font-size: 4rem;
    }

    .download-content {
        padding: 0 1rem;
    }

    .download-text h3 {
        font-size: 2rem;
    }

    .download-text p {
        font-size: 1.2rem;
    }

    .download-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .benefit-icon {
        font-size: 1.8rem;
    }

    .download-buttons {
        gap: 2rem;
    }

    .store-badge {
        height: 60px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo,
    .footer-links-column {
        padding: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.92rem;
        padding: 0.9rem 1.2rem;
    }

    .plans-swiper {
        display: block !important;
    }
    .plans-grid {
        display: none !important;
    }
    .plans-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
    .plans-swiper .plan-card {
        min-height: 720px;
        max-height: 720px;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
    }
}

/* モバイルメニューのスタイル */
.mobile-menu-button {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem 1rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .mobile-menu.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

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

    .mobile-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu a {
        display: block;
        padding: 1.2rem;
        background: var(--white);
        border-radius: var(--border-radius);
        border: 2px solid transparent;
        transition: all 0.3s ease;
        color: var(--text-color);
        font-weight: 600;
        text-align: center;
    }

    .mobile-menu a:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-color);
        background: var(--gradient-accent);
    }
}

/* スワイパーのスタイル */
.swiper {
    width: 100%;
    padding: 20px 0 80px;
}

.swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination {
    position: relative;
    margin-top: 40px;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: var(--shadow-md);
}

/* デスクトップ表示時のグリッドレイアウト */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }

    .desktop-nav {
        display: block;
    }

    .mobile-menu-button {
        display: none;
    }

    .features-swiper, .plans-swiper {
        display: none;
    }

    .features-grid, .plans-grid {
        display: grid;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu-button {
        display: block;
    }

    .features-grid, .plans-grid {
        display: none;
    }

    .features-swiper, .plans-swiper {
        display: block;
    }
}

/* 追加のアニメーション効果 */
.feature-card,
.problem-card,
.testimonial,
.plan-card,
.urgency-card {
    animation: slideInUp 0.6s ease-out;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }

.problem-card:nth-child(2) { animation-delay: 0.1s; }
.problem-card:nth-child(3) { animation-delay: 0.2s; }

.testimonial:nth-child(2) { animation-delay: 0.1s; }
.testimonial:nth-child(3) { animation-delay: 0.2s; }

.plan-card:nth-child(2) { animation-delay: 0.1s; }
.plan-card:nth-child(3) { animation-delay: 0.2s; }
.plan-card:nth-child(4) { animation-delay: 0.3s; }

.urgency-card:nth-child(2) { animation-delay: 0.1s; }
.urgency-card:nth-child(3) { animation-delay: 0.2s; }

/* パフォーマンス最適化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #F8F9FA;
        --text-light: #DEE2E6;
        --background-color: #1A1A2E;
        --white: #16213E;
        --glass-bg: rgba(0, 0, 0, 0.3);
        --glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* テスティモニアルの背景を明るく */
.social-proof {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(107, 115, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(155, 89, 182, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.testimonial {
    background: #263238;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cute);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial:hover::before {
    opacity: 0.05;
}

.testimonial:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.testimonial span {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

@import url('https://fonts.googleapis.com/css2?family=Nico+Moji&display=swap');

.problems-swiper { display: none; }
@media (min-width: 769px) {
  .problems-grid { display: none; }
  .problems-swiper { display: block; }
}
@media (max-width: 768px) {
  .problems-swiper { display: none; }
  .problems-grid { display: grid; }
}

.testimonials-swiper, .plans-swiper { display: none; }
@media (min-width: 769px) {
  .testimonials { display: none; }
  .testimonials-swiper { display: block; }
  .plans-grid { display: none; }
  .plans-swiper { display: block; }
  .plan-card { height: 100%; display: flex; flex-direction: column; }
  .swiper-slide { height: auto; }
  .plans-swiper .swiper-wrapper { align-items: stretch; }
  .plans-swiper .plan-card { height: 100%; display: flex; flex-direction: column; }
  /* 口コミカードの高さ揃え */
  .testimonials-swiper .swiper-wrapper { align-items: stretch; }
  .testimonials-swiper .testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .testimonials-swiper .swiper-slide { height: auto; }
}
@media (max-width: 768px) {
  .testimonials-swiper, .plans-swiper { display: none; }
  .testimonials, .plans-grid { display: grid; }
}

.features-swiper { display: block; }
.features-grid { display: none; }

@media (min-width: 769px) {
  /* .features-swiper { display: none; } 削除 */
  /* .features-grid { display: grid; } 削除 */
}
@media (max-width: 768px) {
  /* .features-swiper { display: block; } 削除 */
  /* .features-grid { display: none; } 削除 */
}

.features-swiper .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.features-swiper .feature-benefit {
  margin-top: auto;
}

@media (max-width: 900px) {
  .hero::before {
    background: 
      radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 217, 61, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(168, 237, 234, 0.2) 0%, transparent 50%);
  }
}

@media (max-width: 600px) {
  .hero::before {
    background: 
      radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 217, 61, 0.3) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(168, 237, 234, 0.2) 0%, transparent 50%);
  }
}

/* ヒーローセクションのスマホ画像アニメーション */
.hero-badge-animate {
  animation: heroFloat 3.5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  will-change: transform;
}
.hero-badge-animate:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 32px 0 rgba(80,80,120,0.18);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.03); }
}

/* 公式絵本 閲覧の画像アニメーション */
.feature-screenshot-animate {
  animation: featureFloat 3.2s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  will-change: transform;
}
.feature-screenshot-animate:hover {
  transform: scale(1.06) rotate(-1.5deg);
  box-shadow: 0 8px 32px 0 rgba(80,80,120,0.18);
}
@keyframes featureFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.025); }
}

/* 悩みカードのポップアップアニメーション */
.problem-popup-animate {
  opacity: 0;
  transform: scale(0.85) translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.problem-popup-animate.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}

/* 口コミカードのポップアップアニメーション */
.testimonial-popup-animate {
  opacity: 0;
  transform: scale(0.85) translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.testimonial-popup-animate.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}

/* ロゴ横アイコンのアニメーション */
.logo-appicon-animate {
  animation: logoFloat 3.2s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  will-change: transform;
}
.logo-appicon-animate:hover {
  transform: scale(1.13) rotate(-6deg);
  filter: drop-shadow(0 4px 16px rgba(80,80,120,0.18));
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.06); }
}

/* YouTube動画周辺の楽しいアニメーション */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-star,
.floating-heart,
.floating-sparkle,
.floating-star2,
.floating-heart2,
.floating-sparkle2 {
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.floating-star:hover,
.floating-heart:hover,
.floating-sparkle:hover,
.floating-star2:hover,
.floating-heart2:hover,
.floating-sparkle2:hover {
    opacity: 1;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* 新しいワクワクする背景アニメーション */
@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
        transform: translateY(90vh) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translateY(50vh) scale(1.2);
    }
    90% {
        opacity: 0.4;
        transform: translateY(10vh) scale(0.8);
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

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

.new-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble-1,
.bubble-2,
.bubble-3,
.bubble-4,
.bubble-5,
.bubble-6,
.bubble-7,
.bubble-8 {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: bubbleFloat 15s linear infinite, bubblePulse 3s ease-in-out infinite;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s, 3s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    left: 25%;
    animation-delay: 3s;
    animation-duration: 16s, 3.5s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    left: 40%;
    animation-delay: 6s;
    animation-duration: 20s, 2.8s;
}

.bubble-4 {
    width: 50px;
    height: 50px;
    left: 60%;
    animation-delay: 2s;
    animation-duration: 17s, 3.2s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    left: 80%;
    animation-delay: 8s;
    animation-duration: 19s, 3.7s;
}

.bubble-6 {
    width: 45px;
    height: 45px;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 16.5s, 3.3s;
}

.bubble-7 {
    width: 65px;
    height: 65px;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 18.5s, 2.9s;
}

.bubble-8 {
    width: 55px;
    height: 55px;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 17.5s, 3.4s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .floating-elements {
        /* モバイルでもアニメーションを表示 */
        display: block;
    }
    
    /* モバイル用のアニメーション要素サイズ調整 */
    .floating-star,
    .floating-heart,
    .floating-sparkle,
    .floating-star2,
    .floating-heart2,
    .floating-sparkle2 {
        font-size: 16px !important;
    }
    
    /* モバイル用の背景アニメーション調整 */
    .bubble-1,
    .bubble-2,
    .bubble-3,
    .bubble-4,
    .bubble-5,
    .bubble-6,
    .bubble-7,
    .bubble-8 {
        width: 30px;
        height: 30px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 70%, transparent 100%);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    }
}

/* PC用のYouTube動画サイズ調整 */
@media (min-width: 768px) {
    .youtube-container {
        max-width: 900px !important;
    }
}

@media (min-width: 1024px) {
    .youtube-container {
        max-width: 1100px !important;
    }
}

@media (min-width: 1200px) {
    .youtube-container {
        max-width: 1400px !important;
    }
} 