* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  line-height: 1.9;
  background: #fff;
}

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

img {
  max-width: 100%;
  vertical-align: bottom;
}

/* =====================================================
   Header
===================================================== */

.site-header {
  height: 90px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar{
    width:100%;
    max-width:none;
    height:90px;
    padding:0 40px;
    display:flex;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
}

.logo span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.logo img{
    height:60px;
    width:auto;
}

.nav-links{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:28px;
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
}

.nav-links a span {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  color: #777;
}

.nav-links a:hover {
  color: #16a05d;
}

/* =====================================================
   Hero
===================================================== */

.hero {
  height: 340px;
  background: #34495e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 26px;
}

.hero p {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 14px !important;
  font-weight: 500 !important;
  opacity: 0.9;
}

/* =====================================================
   Main
===================================================== */

main {
  background: #fff;
}

.content-section,
.container {
  max-width: 990px;
  margin: 0 auto;
  padding: 70px 30px;
}

.section-label,
.section-title-en {
  color: #16a05d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

h2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 55px;
  position: relative;
}

h2::after {
  content: "";
  width: 165px;
  height: 2px;
  background: #16a05d;
  position: absolute;
  left: 0;
  bottom: -18px;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* =====================================================
   News
===================================================== */

.news-list {
  list-style: none;
  border-top: 1px solid #eee;
}

.news-list li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.news-list .date {
  min-width: 110px;
  color: #777;
  font-weight: 600;
}

/* =====================================================
   Cards
===================================================== */

.card-list {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.card {
  flex: 1;
  padding: 26px;
  background: #f7f7f7;
  border-radius: 4px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #333;
}

.card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* =====================================================
   Links
===================================================== */

.more-link {
  margin-top: 28px;
}

.more-link a {
  color: #16a05d;
  font-weight: 700;
  border-bottom: 1px solid #16a05d;
}

/* =====================================================
   Footer
===================================================== */

.site-footer {
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
  text-align: center;
  padding: 55px 20px;
  color: #888;
  font-size: 13px;
}

.footer-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
}

.footer-inner p,
.footer-inner span {
  font-size: 13px;
  margin-bottom: 0;
}

/* =====================================================
   Responsive
===================================================== */

@media screen and (max-width: 760px) {
  .site-header {
    height: auto;
  }

  .navbar {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 22px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    height: 300px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .content-section,
  .container {
    padding: 55px 22px;
  }

  h2 {
    font-size: 24px;
  }

  .news-list li {
    flex-direction: column;
    gap: 2px;
  }

  .card-list {
    flex-direction: column;
  }

  .member-list {
    grid-template-columns: 1fr;
  }
  
  .member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .news-layout {
  grid-template-columns: 1fr;
  gap: 30px;
  }
  
  .news-sidebar {
    position: static;
  }
  
  .news-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .news-sidebar li {
    margin-bottom: 0;
  }

  .activities-layout {
  grid-template-columns: 1fr;
  gap: 30px;
  }
  
  .activities-sidebar {
    position: static;
  }
  
  .activities-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .activities-sidebar li {
    margin-bottom: 0;
  }
  
  .activity-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .activity-card img {
    width: 100%;
    height: auto;
  }

  .activity-photo-gallery {
  grid-template-columns: 1fr;
  }
  
  .activity-photo-gallery img {
    height: auto;
  }
}

/* =====================================================
   Contact
===================================================== */

.contact-box{
    margin-top:40px;
    padding:40px;
    border:1px solid #e5e5e5;
    border-radius:6px;
    background:#fafafa;
}

.contact-box h3{
    margin-bottom:20px;
    font-size:22px;
}

.mail-address{
    font-size:22px;
    font-weight:600;
}
.mail-address a{
    color:#16a05d;
    word-break:break-all;
}

.mail-address a:hover{
    text-decoration:underline;
}

/* =====================================================
   Activities
===================================================== */

.activity-card{
    display:flex;
    gap:35px;
    margin-bottom:60px;
    padding-bottom:50px;
    border-bottom:1px solid #e8e8e8;
}

.activity-card img{
    width:280px;
    height:180px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}

.activity-content{
    flex:1;
}

.activity-date{
    color:#888;
    font-size:14px;
    margin-bottom:10px;
}

.activity-content h3{
    font-size:28px;
    margin-bottom:18px;
    line-height:1.5;
}

.activity-content p{
    margin-bottom:22px;
}

.activity-link{
    color:#16a05d;
    font-weight:700;
}

.activity-link:hover{
    text-decoration:underline;
}

/* =====================================================
   Members
===================================================== */

.member-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.member-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}

.member-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.member-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.member-affiliation {
  font-size: 15px;
  margin-bottom: 10px;
  color: #555;
}

.member-role {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #16a05d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.member-fields {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.profile-link{
    display:inline-block;
    margin-top:18px;
    color:#16a05d;
    font-weight:700;
}

.profile-link:hover{
    text-decoration:underline;
}

/* =====================================================
   News archive layout
===================================================== */

.news-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 60px;
}

.news-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 24px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.news-sidebar h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.news-sidebar ul {
  list-style: none;
}

.news-sidebar li {
  margin-bottom: 10px;
}

.news-sidebar a {
  color: #555;
  font-weight: 700;
}

.news-sidebar a:hover {
  color: #16a05d;
}

.news-year-section {
  margin-bottom: 55px;
}

.news-year {
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #16a05d;
}

.news-year::after {
  display: none;
}

.news-title {
  display: block;
  font-weight: 600;
}

.news-detail {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 3px;
}

.news-link {
  display: block;
  color: #333;
}

.news-link:hover {
  color: #16a05d;
  text-decoration: underline;
}

/* =====================================================
   Events
===================================================== */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}

.event-date {
  font-weight: 700;
  color: #16a05d;
}

.event-content h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.event-detail {
  display: block;
  font-size: 15px;
  color: #666;
  margin-bottom: 4px;
}

.event-link {
  display: inline-block;
  margin-top: 18px;
  color: #16a05d;
  font-weight: 700;
}

.event-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 760px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =====================================================
   Activities archive layout
===================================================== */

.activities-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 60px;
}

.activities-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 24px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.activities-sidebar h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.activities-sidebar ul {
  list-style: none;
}

.activities-sidebar li {
  margin-bottom: 10px;
}

.activities-sidebar a {
  color: #555;
  font-weight: 700;
}

.activities-sidebar a:hover {
  color: #16a05d;
}

.activity-year-section {
  margin-bottom: 60px;
}

.activity-year {
  font-size: 28px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #16a05d;
}

.activity-year::after {
  display: none;
}

.activity-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding: 35px 0;
  border-bottom: 1px solid #e5e5e5;
}

.activity-card img {
  width: 300px;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
}

.activity-content {
  flex: 1;
}

.activity-date {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.activity-content h3 {
  font-size: 26px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.activity-content p {
  margin-bottom: 22px;
}

.activity-link {
  color: #16a05d;
  font-weight: 700;
}

.activity-link:hover {
  text-decoration: underline;
}

/* =====================================================
   Alumni
===================================================== */

.alumni-section {
  margin-top: 90px;
}

.alumni-list{
    display:flex;
    flex-wrap:wrap;
    gap:15px 25px;
    margin-top:30px;
    list-style:none;
}

.alumni-list li{
    padding:8px 18px;
    background:#f6f6f6;
    border-radius:20px;
    font-size:16px;
}

/* =====================================================
   Activity detail page
===================================================== */

.activity-detail-date {
  color: #888;
  font-weight: 700;
  margin-bottom: 30px;
}

.flyer-figure {
  max-width: 720px;
  margin: 50px auto;
  text-align: center;
}

.flyer-figure img {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.flyer-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.event-info {
  margin-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.event-info dt {
  font-weight: 700;
  color: #16a05d;
  padding-top: 22px;
}

.event-info dd {
  margin-left: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e5e5;
}

.event-info a {
  color: #16a05d;
  font-weight: 700;
}

.event-info a:hover {
  text-decoration: underline;
}

.activity-photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.activity-photo-gallery figure {
  margin: 0;
}

.activity-photo-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.activity-photo-gallery figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}
