/* === Variables & Base === */
:root { --primary-color: #2c3e50; --accent-color: #27ae60; --bg-color: #f9f9f9; --text-color: #333; }
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; line-height: 1.7; color: var(--text-color); background-color: var(--bg-color); margin: 0; }

/* === Header & Nav === */
header { background: white; border-bottom: 1px solid #eee; padding: 0.75rem 2rem; position: sticky; top: 0; z-index: 100; }
nav { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 80px !important; width: auto !important; max-width: none !important; display: inline-block !important; vertical-align: middle; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: #666; font-size: 0.85rem; text-align: center; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-color); }
.nav-links a span { display: block; font-size: 0.65rem; color: #999; margin-top: -2px; }

/* === Hero (index) === */
.hero { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); color: white; padding: 5rem 2rem; text-align: center; }

/* === Layout === */
.container { max-width: 850px; margin: 3rem auto; padding: 0 2rem; }

/* === Typography === */
h2 { border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 0.5rem; margin-bottom: 2rem; }
h3 { color: var(--primary-color); margin-top: 3rem; border-left: 4px solid var(--primary-color); padding-left: 1rem; font-size: 1.1rem; }
.section-title-en { display: block; font-size: 0.8rem; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; }

/* === Footer === */
footer { text-align: center; padding: 3rem; font-size: 0.8rem; color: #999; border-top: 1px solid #eee; margin-top: 5rem; }

/* === Activity: News items === */
.news-item { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 2rem; display: flex; gap: 2rem; align-items: flex-start; }
.news-date { font-size: 0.85rem; color: #999; margin-bottom: 0.5rem; display: block; }
.news-content { flex: 1; }
.news-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 0.5rem; color: var(--primary-color); line-height: 1.4; }
.news-tag { display: inline-block; background-color: var(--accent-color); color: white; padding: 0.2rem 0.8rem; border-radius: 4px; font-size: 0.7rem; margin-bottom: 0.5rem; margin-right: 0.5rem; }
.news-location { font-size: 0.85rem; color: #666; margin-bottom: 1rem; display: block; }
.news-image { width: 180px; height: 180px; object-fit: cover; border-radius: 8px; background-color: #eee; flex-shrink: 0; }
.btn-container { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1rem; }
.btn-link { display: inline-block; padding: 0.5rem 1rem; background: white; border: 1px solid var(--accent-color); color: var(--accent-color); text-decoration: none; border-radius: 4px; font-size: 0.8rem; transition: all 0.3s; }
.btn-link:hover { background: var(--accent-color); color: white; }

/* === Members === */
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.member-card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: transform 0.2s; }
.member-card:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.member-name { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.2rem; }
.member-kana { font-size: 0.7rem; color: #999; margin-bottom: 0.8rem; }
.member-info { font-size: 0.85rem; color: #555; line-height: 1.5; }
.lab-name { font-size: 0.8rem; color: var(--accent-color); margin-top: 0.5rem; font-weight: bold; }

/* === Representative === */
.profile-card { background: white; padding: 3rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
.profile-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 1.5rem; }

/* === Contact === */
.contact-card { background: white; padding: 3rem 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; margin-top: 2rem; }
.email-section { margin: 2rem 0 3.5rem; }
.email-box { display: inline-block; background: #f0f4f8; padding: 1.5rem 2.5rem; border-radius: 8px; border: 2px dashed var(--accent-color); }
.email-address { display: block; font-size: 1.4rem; font-weight: bold; color: var(--primary-color); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.3s; word-break: break-all; }
.email-address:hover { color: var(--accent-color); }
.email-label { font-size: 0.8rem; color: #666; }
.sns-section { border-top: 1px solid #eee; margin-top: 2rem; padding-top: 2rem; }
.sns-container { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sns-button { display: flex; align-items: center; gap: 10px; padding: 0.8rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; font-weight: bold; transition: transform 0.2s, opacity 0.3s; color: white; min-width: 180px; justify-content: center; }
.sns-button:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-x { background-color: #000; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* === Responsive === */
@media (max-width: 768px) {
    header { padding: 0.75rem 1rem; }
    nav { flex-direction: column; gap: 0.75rem; align-items: center; }
    .logo img { height: 60px !important; }
    .nav-links { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: 0.75rem; }
    .hero h1 { font-size: 1.8rem; }
    .container { padding: 0 1.5rem; margin: 2rem auto; }
    h2 { font-size: 1.4rem; }
    .member-grid { grid-template-columns: 1fr !important; }
    .profile-card { padding: 2rem 1rem; }
    .news-item { flex-direction: column; }
    .news-image { width: 100%; height: 200px; margin-bottom: 1rem; }
    .email-address { font-size: 1.1rem; }
    .email-box { padding: 1.2rem; }
}
