body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-top: 20px;
}

header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 0.2em;
}

header .lang-switcher {
    margin-top: 10px;
}

header .lang-switcher a {
    text-decoration: none;
    margin: 0 10px;
    color: #007bff;
}

h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 {
    font-size: 1.4em;
    color: #333;
    margin-top: 30px;
}

.screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.screenshots img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.policy-section ol {
    padding-left: 20px;
}

.faq dt {
    font-weight: bold;
    margin-top: 15px;
}

.faq dd {
    margin-left: 0;
    margin-bottom: 15px;
}

.contact-form {
    text-align: center;
    margin-top: 30px;
}

.contact-form a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #f2f2f2;
    font-size: 0.9em;
    color: #555;
}

footer ul {
    list-style: none;
    padding: 0;
}

/* アプリ機能説明のスタイル */
.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.feature-item h4 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-size: 1.1em;
}

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

.cta-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.cta-section h3 {
    margin-top: 0;
    color: white;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.quotes-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.quote-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.quote-item h3 {
    margin: 0 0 15px 0;
    color: #007bff;
    font-size: 1.1em;
}

.german {
    font-style: italic;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.japanese {
    color: #666;
    margin-bottom: 5px;
}

.english {
    color: #888;
    font-size: 0.9em;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.author-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.author-item h3 {
    margin-top: 0;
    color: #007bff;
}

.author-item ul {
    margin: 10px 0;
    padding-left: 20px;
}

.author-item li {
    margin-bottom: 5px;
}

/* 関連ページリンクのスタイル */
.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.link-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.link-item h3 {
    margin: 0 0 10px 0;
}

.link-item h3 a {
    color: #007bff;
    text-decoration: none;
}

.link-item h3 a:hover {
    text-decoration: underline;
}

.link-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* カテゴリグリッドのスタイル */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.category-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    text-align: center;
}

.category-item h3 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-size: 1.2em;
}

.category-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}