/* ヘッダー・ナビゲーション */
.app-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.breadcrumb a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

.separator {
    margin: 0 0.5rem;
    color: #999;
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', 'Noto Color Emoji', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow-x: hidden;
}

/* 絵文字専用フォント指定 */
.gacha-ball,
.sparkles,
.intro-item .icon,
.feature-icon,
.placeholder-icon,
.use-case-icon,
.safety-icon,
.download-icon,
.app-icon,
.app-icon-large {
    font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

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

/* 共通タイトル */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
    to { text-shadow: 0 0 60px rgba(255, 215, 0, 0.6); }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    font-weight: 500;
}

.hero-visual {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.gacha-animation {
    position: relative;
    display: inline-block;
}

.gacha-ball {
    font-size: 6rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.sparkles {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 2rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

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

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

.hero-cta {
    margin-top: 3rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.cta-note {
    margin-top: 1rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* アプリ紹介セクション */
.app-intro {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

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

.intro-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.intro-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

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

.intro-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffd700;
}

/* 機能紹介セクション */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #ff6b35, #ffd700, #f7931e);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, #ff6b35, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #e0e0e0;
}

.feature-card li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: #ffd700;
}

/* スクリーンショットセクション */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

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

.screenshot-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem 1.5rem;
    text-align: center;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screenshot-placeholder:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ユーザーの声セクション */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.testimonial-author {
    text-align: right;
    color: #ffd700;
    font-weight: 600;
}

.use-cases {
    margin-top: 4rem;
    text-align: center;
}

.use-cases h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffd700;
}

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

.use-case-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.use-case-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

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

/* 安心要素セクション */
.safety {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

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

.safety-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(34, 139, 34, 0.3);
    transition: all 0.3s ease;
}

.safety-item:hover {
    border-color: rgba(34, 139, 34, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(34, 139, 34, 0.1);
}

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

.safety-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #90ee90;
}

/* ダウンロードセクション */
.download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

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

.app-details {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.app-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-button {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.store-button img {
    height: 60px;
    width: auto;
}

/* Google Playバッジのサイズ調整 */
.store-button.google-play img {
    height: 80px; /* Google Playバッジは元々小さいので少し大きく */
}

/* App Storeバッジと高さを揃える */
.store-button {
    display: flex;
    align-items: center;
    height: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .store-button img {
        height: 50px;
    }
    
    .store-button.google-play img {
        height: 70px;
    }
}

.btn-download {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

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

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.download-icon {
    font-size: 1.6rem;
}

.download-note {
    margin-top: 1rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* フッター */
.footer {
    padding: 3rem 0;
    background: #0a0a0a;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

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

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b35, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .intro-grid,
    .features-grid,
    .screenshot-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .download-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .btn-primary,
    .btn-download {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gacha-ball {
        font-size: 4rem;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .intro-item {
        padding: 1.5rem;
    }
}