/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

/* ヘッダー */
header {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

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

.header-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    transform: perspective(500px) rotateX(15deg);
}

/* 吹き出し */
.speech-bubble {
    background: white;
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid #333;
    font-weight: bold;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-top-color: #333;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 33px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-top-color: white;
}

.speech-bubble.large {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
}

/* セクション共通 */
section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
}

.hero-character {
    flex: 0 0 auto;
}

.character-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: bounce 2s ease-in-out infinite;
}

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

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* マンガエフェクト */
.manga-effect {
    position: relative;
    margin: 2rem 0;
}

.effect-text {
    display: inline-block;
    background: #ffeb3b;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 3px solid #333;
    font-weight: bold;
    margin: 0.5rem;
    transform: rotate(-5deg);
    box-shadow: 3px 3px 0 #333;
    animation: wiggle 1s ease-in-out infinite;
}

.effect-text:nth-child(even) {
    transform: rotate(5deg);
    background: #ff9800;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.manga-effect.small .effect-text {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}

.manga-effect.large .effect-text {
    font-size: 1.5rem;
    padding: 1rem 2rem;
}

/* About セクション */
.about-section {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
}

.large-text {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.feature-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 3px solid #e9ecef;
    transition: transform 0.3s ease;
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.point-number {
    background: #ff6b6b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 機能紹介セクション */
.features-section {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #e9ecef;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: #ff6b6b;
}

.feature-card.special {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff 0%, #ffe6e6 100%);
}

.special-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(15deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ddd;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
}

/* 使用例セクション */
.use-cases-section {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
}

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

.use-case-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid #4ecdc4;
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.comic-panel {
    width: 100%;
    height: 200px;
    border: 3px solid #333;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.comic-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.use-case-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* 始め方ガイドセクション */
.get-started-section {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
}

.tutorial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.tutorial-image img {
    width: 100%;
    border-radius: 15px;
    border: 3px solid #333;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #4ecdc4;
    position: relative;
}

.step-number {
    background: #4ecdc4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    position: absolute;
    top: -10px;
    left: 1rem;
}

.step h4 {
    color: #2c3e50;
    margin: 1rem 0 0.5rem 0;
    font-weight: bold;
}

/* FAQ セクション */
.faq-section {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 15px;
    border: 3px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #f39c12;
    transform: translateY(-2px);
}

.question {
    background: #f39c12;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: bold;
}

.answer {
    padding: 1.5rem;
    background: white;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    border-radius: 30px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.primary {
    background: #ff6b6b;
    color: white;
}

.cta-button.secondary {
    background: white;
    color: #333;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-share {
    margin: 2rem 0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.line {
    background: #00c300;
    color: white;
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* フッター */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-character {
    margin-top: 1rem;
    font-style: italic;
    color: #ecf0f1;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .character-img {
        width: 200px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* アニメーション用クラス */
.animate {
    animation: slideInUp 0.6s ease-out;
}

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

