body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #007bff;
    color: white;
    padding: 2rem;
}

.header-content {
    display: flex;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    gap: 1.5rem;
}

.header-text {
    text-align: left;
    flex: 1;
}

.header-text h1 {
    margin: 0;
    font-size: 2.5rem;
}

.header-text p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.header-text .download-button {
    display: inline-block;
    background-color: #ffffff;
    color: #007bff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.header-text .download-button:hover {
    background-color: #e0e0e0;
}

img.icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.features {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.features h2 {
    color: #007bff;
    margin-bottom: 1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
}

.feature-item h3 {
    margin: 0 0 0.5rem;
    color: #333;
}

.feature-item p {
    margin: 0.25rem 0;
    font-size: 1.1rem;
}

.screenshots {
    margin: 2rem 0;
    text-align: center;
}

.screenshots h2 {
    color: #007bff;
    margin-bottom: 1rem;
}

.screenshots img {
    max-width: 300px;
    height: auto;
    margin: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.download {
    text-align: center;
    margin-top: 2rem;
}

.download .download-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.download .download-button:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
    width: 100%;
}

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

.footer-content .download-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.footer-content .download-button:hover {
    background-color: #0056b3;
}

.footer-content p {
    margin: 0;
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        align-items: center;
    }
    .header-text {
        text-align: center;
    }
    .header-text h1 {
        font-size: 1.8rem;
    }
    .header-text p {
        font-size: 1rem;
    }
    .header-text .download-button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    img.icon {
        width: 80px;
        height: 80px;
    }
    .container {
        margin: 1rem;
    }
    .screenshots img {
        max-width: 100%;
    }
    .footer-content .download-button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}
.upcoming .section-label {
    color: #333;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.upcoming .badge {
    display: inline-block;
    background-color: #fff3cd;
    color: #7a5b00;
    border: 1px solid #e0c35a;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.upcoming .note {
    font-size: 0.9rem;
    color: #555;
}

/* 言語の切り替え(i18n/build.py が各ページに入れる) */
.lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.lang-switch a:hover {
    text-decoration: underline;
}

.lang-switch a[aria-current="page"] {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* 各言語のページ: アプリ本体のその言語への対応は次のアップデートで公開予定 */
.lang-notice {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 4px solid #f5a623;
    background: #fff7e6;
    color: #5a4300;
    border-radius: 4px;
    font-size: 0.95em;
}
