/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Navigation */
header {
  background: #2c3e50;
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-logo {
  height: 55px;
  vertical-align: middle;
  margin-right: 15px;
}

.hero-logo {
  height: 150px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #3498db;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero.banner-section {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 900px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  color: white;
}

/* News */
.news ul {
  list-style: none;
}

.news li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.news .date {
  color: #3498db;
  font-weight: bold;
  margin-right: 1rem;
}

/* Members Page */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.member-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
  margin-bottom: 1rem;
}

.member-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.member-card .name-group {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.member-card .name-ja,
.member-card .name-en {
  margin: 0;
}

.member-card .name-ja {
  font-size: 1.15rem;
  font-weight: 700;
}

.member-card .name-en {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  margin-top: 0.2rem;
}

.member-card .role {
  color: #3498db;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.member-card .email {
  color: #666;
  font-size: 0.9rem;
}

/* Publications Page */
.publication-list {
  list-style: none;
}

.publication-item {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.publication-item:last-child {
  border-bottom: none;
}

.publication-item h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.publication-item .authors {
  color: #666;
  margin-bottom: 0.25rem;
}

.publication-item .venue {
  color: #3498db;
  font-style: italic;
}

.publication-item .year {
  color: #888;
  font-size: 0.9rem;
}

.year-section h3 {
  color: #2c3e50;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}

/* Projects Page */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ddd;
}

.project-card .content {
  padding: 1.5rem;
}

.project-card h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #666;
  margin-bottom: 1rem;
}

.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-card .tag {
  background: #e8f4fc;
  color: #3498db;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Links */
.links-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.links-list li a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #3498db;
  color: white;
  border-radius: 4px;
  transition: background 0.3s;
}

.links-list li a:hover {
  background: #2c3e50;
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
}
