/* Chrome拡張機能一覧ページのスタイル */

/* 基本設定 */
:root {
    --primary-color: #4285f4; /* Google Chromeのブルー */
    --secondary-color: #34a853; /* Google グリーン */
    --accent-color: #ea4335; /* Google レッド */
    --neutral-color: #fbbc05; /* Google イエロー */
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e1e5eb;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 60px 0;
}

/* ヘッダー */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

header .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ヒーローセクション */
.hero {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* 拡張機能一覧 */
.extensions {
    background-color: var(--white);
}

.extensions h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

.extension-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.extension-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.extension-icon {
    padding: 30px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: bold;
    font-size: 30px;
    position: relative;
}

.counter {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.extension-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.extension-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.extension-info p {
    margin-bottom: 20px;
    flex: 1;
}

.extension-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.coming-soon {
    opacity: 0.7;
}

.coming-soon .icon-placeholder {
    background-color: var(--dark-gray);
}

/* ボタン */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    background-color: var(--light-gray);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--medium-gray);
    color: var(--text-color);
}

.button.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.button.primary:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

/* About セクション */
.about {
    background-color: var(--light-gray);
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
}

.cta {
    margin-top: 30px;
}

/* フッター */
footer {
    background-color: #2d3748;
    color: var(--white);
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--white);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .extension-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .extension-links {
        flex-direction: column;
    }
    
    section {
        padding: 40px 0;
    }
}