:root {
    --primary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background: var(--accent-color);
}

.hero {
    text-align: center;
    padding: 8rem 5% 3rem 5%;
    background: linear-gradient(rgba(0,0,0,0.07), rgba(0,0,0,0.07));
    color: var(--text-dark);
}

.keyvisual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 1.5rem 0;
}

.keyvisual img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

.project-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.project-link:hover {
    opacity: 0.85;
}

.project-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.2rem;
    transition: box-shadow 0.2s;
}

.project-caption-area {
    text-align: center;
}

.project-caption {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    letter-spacing: 0.03em;
}

.project-subtext {
    font-size: 0.95rem;
    color: #666;
    opacity: 0.85;
}

/* X公式ボタンには追加装飾なし */

.main-footer {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 5% 2rem 5%;
    }

    .section {
        padding: 2rem 5%;
    }
    .project-image {
        max-width: 140px;
    }
    .project-caption {
        font-size: 1.05rem;
    }
    .project-subtext {
        font-size: 0.85rem;
    }
}
