/* assets/css/style.css の中身 */

:root {
    --accent-color: #007AFF;
    --success-color: #28a745;
    --bg-color: #f8f9fa;
    --support-color: #FF5F5F;
}
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    line-height: 1.6; color: #333; max-width: 900px; margin: 0 auto; padding: 0; 
    background-color: var(--bg-color); 
}
.hero { text-align: center; padding: 60px 20px; background: white; margin-bottom: 20px; }
.header-logo { width: 100px; height: auto; border-radius: 20px; margin-bottom: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
h1 { color: var(--accent-color); font-size: 2.2rem; margin-bottom: 10px; border-bottom: none; }

.kids-link-box { margin: 10px 0 20px; }
.kids-btn {
    display: inline-block; background: #FF9500; color: white; text-decoration: none;
    padding: 10px 25px; border-radius: 50px; font-weight: bold; font-size: 1.1rem;
    animation: blink 1.5s infinite; box-shadow: 0 4px 15px rgba(255,149,0,0.3);
}
@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.trust-badges { display: flex; justify-content: center; gap: 10px; margin: 15px 0; }
.badge { background: var(--success-color); color: white; padding: 5px 12px; border-radius: 15px; font-weight: bold; font-size: 0.8rem; }

.security-note { 
    background: #e9f7ef; border: 1px dashed var(--success-color); color: #155724; 
    padding: 20px; border-radius: 12px; font-size: 0.85rem; margin: 25px auto; 
    text-align: left; max-width: 700px;
}

.support-box { margin: 20px 0; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.support-link {
    display: flex; align-items: center; gap: 8px; text-decoration: none;
    padding: 10px 18px; border-radius: 10px; font-weight: bold; font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.support-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.bmc-btn { background: #FFDD00; color: #000000; }
.ofuse-btn { background: #1f2c33; color: #ffffff; }

.video-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 30px 0; }
.video-container { position: relative; width: 100%; max-width: 220px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.section-padding { padding: 0 20px; }
.card { background: white; border-radius: 16px; padding: 30px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); text-align: center; }

.app-logo { width: 140px; height: auto; display: block; margin: 0 auto 15px; border-radius: 8px; }
@media (min-width: 600px) { .app-logo { width: 600px; } }

.card h2 { color: var(--accent-color); font-size: 1.5rem; margin-top: 10px; }
.btn { 
    display: inline-block; background: var(--accent-color); color: white; text-decoration: none; 
    padding: 12px 30px; border-radius: 8px; font-weight: bold; margin-top: 15px;
    transition: background 0.2s;
}
.btn:hover { background: #0056b3; }

.qr-card { 
    background: linear-gradient(135deg, #007AFF, #00C6FF); color: white; 
    border-radius: 16px; padding: 30px; margin-bottom: 25px;
    display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap;
}
.qr-img { width: 150px; height: 150px; border-radius: 12px; border: 4px solid white; background: white; }

.wiki-section { background: white; border-radius: 16px; padding: 30px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.wiki-section h2 { color: var(--accent-color); border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 1.4rem; }
.wiki-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-top: 20px; text-align: left; }
.wiki-category h3 { font-size: 1.05rem; color: #444; margin-bottom: 12px; border-left: 4px solid var(--accent-color); padding-left: 10px; }
.wiki-list { list-style: none; padding: 0; }
.wiki-list li { margin-bottom: 10px; font-size: 0.95rem; }
.wiki-list a { color: var(--accent-color); text-decoration: none; }
.wiki-list a:hover { text-decoration: underline; }

.faq-highlight { 
    grid-column: 1 / -1; background: #fff9e6; padding: 15px; border-radius: 10px; 
    border: 1px dashed #ff9500; margin-bottom: 10px;
}

.info-section { padding: 20px; margin-top: 20px; }
.info-section h2 { font-size: 1.1rem; border-left: 4px solid var(--accent-color); padding-left: 10px; margin-top: 35px; color: #333; }
.info-section p { font-size: 0.9rem; color: #555; margin-bottom: 15px; }

.sns-link { display: inline-block; margin: 10px 15px 10px 0; color: #1DA1F2; text-decoration: none; font-weight: bold; font-size: 0.95rem; }

footer { margin-top: 60px; padding: 40px 20px; font-size: 0.85rem; color: #888; text-align: center; border-top: 1px solid #eee; }
footer a { color: var(--accent-color); text-decoration: none; }

.lang-switch { text-align: right; font-size: 0.9rem; padding: 10px 20px 0; }
.lang-switch a { color: #555; text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; color: var(--accent-color); }

#news-list { font-size: 0.9rem; color: #555; max-height: 250px; overflow-y: auto; padding: 15px; background: #fdfdfd; border: 1px solid #eee; border-radius: 12px; }
.news-item { margin-bottom: 10px; border-bottom: 1px solid #f0f0f0; padding-bottom: 8px; line-height: 1.4; }
.news-date { font-weight: bold; color: var(--accent-color); margin-right: 10px; }
.repo-badge { font-size: 0.75rem; background: #eee; color: #666; padding: 2px 6px; border-radius: 4px; margin-right: 8px; font-weight: bold; }
