/* --- 全体のスタイル --- */
:root {
    --primary-color: #007aff; /* メインカラー (Appleの青に近い色) */
    --background-color: #f9f9f9;
    --text-color: #333;
    --card-background: #ffffff;
    --footer-background: #e9e9e9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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



img {
    max-width: 100%;
    height: auto;
}

/* --- ヘッダー --- */
.header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #ddd;
}

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

.header p {
    font-size: 1.2rem;
    color: #666;
}

/* --- アプリ一覧 (トップページ) --- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.app-card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.app-card-content {
    padding: 20px;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.app-card-title {
    margin: 0;
    font-size: 1.4rem;
}

.app-card-description {
    margin-top: 15px;
    color: #555;
}

/* --- アプリ詳細ページ --- */
.app-detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.app-detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-detail-title h2 {
    margin: 0;
    font-size: 2.2rem;
}

.app-detail-title p {
    margin: 5px 0 0;
    font-size: 1.2rem;
    color: #666;
}

.download-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.store-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.2s;
}

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

.section-title {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.screenshot-gallery img {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* --- フッター --- */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: var(--footer-background);
    color: #666;
}

/* --- レスポンシブ対応 (スマートフォン向け) --- */
@media (max-width: 600px) {
    .app-detail-header {
        flex-direction: column;
        text-align: center;
    }
}

a, a:visited {
    color: #808080; /* ここをお好みのグレーに変更 */
    text-decoration: none;
}

.footer-links {
  font-size: 0.8rem; /* または 12px など好みのサイズに */
}

