/* Hatebu Counter サポートページスタイル */

/* 基本設定 */
:root {
    --primary-color: #00a4de; /* はてなブックマークの青色 */
    --secondary-color: #2f3e56;
    --accent-color: #ff4e00;
    --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);
}

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

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: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.screenshot {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
}

/* ボタン */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

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

.button.primary:hover {
    background-color: #0086b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 164, 222, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* 機能セクション */
.features {
    background-color: var(--white);
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

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

.feature-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 80px;
    height: 80px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* 使い方セクション */
.how-to-use {
    background-color: var(--light-gray);
}

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

.steps {
    counter-reset: step-counter;
    list-style-type: none;
    padding: 0;
}

.steps li {
    position: relative;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    counter-increment: step-counter;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.steps h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* FAQ セクション */
.faq {
    background-color: var(--white);
}

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

.faq-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* お問い合わせセクション */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

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

.contact p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-methods {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-methods a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.contact-methods a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* フッター */
footer {
    background-color: var(--secondary-color);
    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: 900px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-methods a {
        width: 100%;
    }
}