/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f7;
}

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

/* ヘッダー */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tagline {
    font-size: 20px;
    opacity: 0.95;
}

/* メインコンテンツ */
main {
    padding: 60px 20px;
}

section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
}

/* イントロセクション */
.intro .lead {
    font-size: 24px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 20px;
    line-height: 1.4;
}

.intro p {
    font-size: 18px;
    color: #6e6e73;
    line-height: 1.6;
}

/* 機能グリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    padding: 24px;
    background: #f5f5f7;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.feature-card p {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.5;
}

/* スクリーンショット */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
    justify-items: center;
}

.screenshot-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ダウンロードセクション */
.download {
    text-align: center;
}

.app-store-button {
    display: inline-block;
    background: #000;
    color: white;
    padding: 16px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0;
    transition: background 0.2s ease;
    cursor: pointer;
}

.app-store-button:hover {
    background: #333;
}

.app-store-button.disabled {
    background: #86868b;
    cursor: not-allowed;
    opacity: 0.6;
}

.app-store-button.disabled:hover {
    background: #86868b;
}

.download-note {
    color: #86868b;
    font-size: 14px;
    margin-top: 8px;
}

/* サポートリンク */
.support-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.support-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f5f5f7;
    border-radius: 12px;
    text-decoration: none;
    color: #1d1d1f;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.link-icon {
    font-size: 32px;
    margin-right: 16px;
}

.link-text {
    font-size: 18px;
    font-weight: 600;
}

/* FAQ */
.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.faq-item p {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.6;
}

/* フッター */
footer {
    background: #1d1d1f;
    color: #f5f5f7;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 16px;
    font-size: 14px;
    color: #a1a1a6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #667eea;
}

/* レスポンシブ */
@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    section {
        padding: 24px;
    }

    section h2 {
        font-size: 24px;
    }

    .intro .lead {
        font-size: 20px;
    }

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

    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 28px;
    }

    main {
        padding: 30px 20px;
    }

    section {
        padding: 20px;
    }

    .app-store-button {
        padding: 14px 32px;
        font-size: 16px;
    }
}
