

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9fafb;
}

/* ヘッダー */
header {
    background: white;
    color: #667eea;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    color: #667eea;
}

.lang-switch {
    background: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    transition: background 0.3s;
}

.lang-switch:hover {
    background: #5568d3;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
     color: white;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: none;
    padding-bottom: 0;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.app-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge {
    display: inline-block;
    background: black;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
}

.badge:hover {
    transform: translateY(-2px);
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 機能セクション */
.features {
    background: white;
    padding: 60px 20px;
}

.features h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #667eea;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Aboutセクション */
.about {
    background: #f9fafb;
    padding: 60px 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.about p {
    margin-bottom: 20px;
    color: #555;
}

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.disclaimer h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.disclaimer p {
    color: #856404;
    font-size: 0.95em;
    line-height: 1.6;
}

/* 利用規約・プライバシーポリシーページ用 */
.content {
    padding: 40px;
}

h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #1a1a1a;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.last-updated {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 30px;
}

.toc {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.toc h2 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #667eea;
}

.toc ol {
    margin-left: 20px;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: #667eea;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #667eea;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

h3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #555;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

ol, ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.highlight-box {
    background: #e8f4fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-box h3 {
    color: #1976D2;
    margin-top: 0;
}

/* フッター */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

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

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.copyright {
    color: #999;
    font-size: 0.9em;
    margin-top: 20px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .content {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}