/* 基本設定とフォント */
:root {
    --bg-color: #121212;
    --primary-color: #1e1e1e;
    --secondary-color: #2d2d2d;
    --accent-color: #03dac6;
    --accent-hover-color: #01a99c;
    --text-color: #e0e0e0;
    --text-muted-color: #a0a0a0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* コンテナ */
.container {
    max-width: 600px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ヘッダー */
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.1);
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #ffffff;
}

.app-description {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    margin-top: 10px;
}

/* メインコンテンツ */
main {
    padding: 30px;
}

/* ダウンロードセクション */
.download-section {
    text-align: center;
    margin-bottom: 30px;
}

.download-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(3, 218, 198, 0.3);
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(3, 218, 198, 0.4);
}

.download-button .fa-download {
    margin-right: 10px;
}

/* 情報セクション */
.info-section {
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.info-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-bottom: 5px;
}

.info-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* QRコードセクション */
.qr-code-section {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
}

.qr-code-section h2 {
    margin-top: 0;
    font-size: 1.5rem;
}
.qr-code-section p {
    color: var(--text-muted-color);
    margin-top: 0;
}

.qr-code-image {
    max-width: 180px;
    width: 100%;
    border-radius: 8px;
    border: 4px solid #fff;
}

/* 注意事項セクション */
.notes-section {
    background-color: rgba(255, 185, 59, 0.1);
    border: 1px solid rgba(255, 185, 59, 0.5);
    color: #ffb93b;
    border-radius: 12px;
    padding: 20px;
    font-size: 0.9rem;
}

.notes-section h3 {
    margin-top: 0;
    color: #ffb93b;
}
.notes-section h3 .fa-exclamation-triangle {
    margin-right: 8px;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: var(--text-muted-color);
    background-color: #1a1a1a;
}

/* レスポンシブ対応 (スマホ用) */
@media (max-width: 480px) {
    .app-title {
        font-size: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}