/* Bio-Tech Teal Palette: 
   Primary: #003566 (Deep Ocean)
   Accent:  #4CC9F0 (Sky Cyan)
   Text:    #2B2D42 (Dark Charcoal)
*/

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  /* 両脇の色：深みのあるオーシャンブルー */
  background-color: #003566; 
  color: #2B2D42;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 50px;
  background-color: #ffffff;
  /* 境界を少しソフトにし、高級感を出します */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-height: 100vh;
}

header {
  margin-bottom: 1rem;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 1rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #003566;
  font-weight: 600;
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

nav a:hover {
  color: #4CC9F0;
  text-decoration: none;
}

/* 研究室名や見出しに知的なティールカラーを適用 */
h1, h2, h3 {
  color: #003566;
  font-weight: 700;
}

h2 {
  border-left: 5px solid #4CC9F0;
  padding-left: 15px;
  margin-top: 4rem;
}

section {
  margin-bottom: 4rem;
}

p {
  line-height: 1.8;
  color: #333;
}

ul {
  padding-left: 1.2rem;
}

img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subtitle {
  margin-top: -15px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
}

/* 論文リスト：著者名を強調しやすく */
.publication-list {
  line-height: 1.7;
  padding-left: 1.2rem;
}

.publication-list li {
  margin-bottom: 1.2rem;
  list-style-type: none;
  position: relative;
}

.publication-list li::before {
  content: "•";
  color: #4CC9F0;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

strong {
  font-weight: 600;
  color: #003566; /* 自分の名前などを目立たせる */
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: #003566;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

/* モバイル対応の調整 */
@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  
  nav { gap: 0.8rem; }
}

.publication-list li strong {
  color: #003566; /* 著者名を少し濃いネイビーに */
  border-bottom: 1px solid #4CC9F0; /* 下に細い水色の線を入れるとおしゃれ */
}

.research-pillars {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}
.pillar {
  flex: 1;
  padding: 15px;
  background: #f8fbfe; /* ごく薄い水色 */
  border-top: 4px solid #4CC9F0;
  border-radius: 4px;
}
/* 研究の2本柱をカード形式にする設定 */
.research-pillars {
  display: flex;
  gap: 30px;
  margin-top: 2rem;
}

.pillar {
  flex: 1;
  background-color: #f8fbfe; /* 清潔感のある極薄い水色 */
  padding: 25px;
  border-radius: 8px;
  border-top: 5px solid #4CC9F0; /* アクセントのシアン */
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.pillar:hover {
  transform: translateY(-5px); /* マウスを置くと少し浮く演出 */
}

.pillar h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

/* スマホで見るときは縦に並べる */
@media (max-width: 768px) {
  .research-pillars {
    flex-direction: column;
  }
}

/* メンバー全員に共通するシンプルなカード形式 */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.member-card {
  background: transparent; /* 背景色をなくして控えめに */
  border-top: 2px solid #e9ecef; /* 上部に細い線を入れるだけ */
  padding: 20px 0;
  transition: border-color 0.3s ease;
}

.member-card:hover {
  border-top-color: #4CC9F0; /* ホバー時に少し色づく程度 */
}

.member-card h3 {
  font-size: 1.2rem; /* 名前を小さく */
  margin: 0 0 5px 0;
  color: #003566;
}

.member-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4CC9F0;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.member-edu {
  font-size: 0.85rem;
  color: #777;
  margin-top: 10px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

/* Alumniはさらにシンプルに */
.alumni-table td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

/* 写真を横に並べるための設定 */
.photo-row {
  display: flex;
  gap: 20px; /* 写真の間の隙間 */
  margin: 20px 0;
  flex-wrap: wrap; /* 画面が狭い時に折り返す */
}

.photo-item {
  flex: 1; /* 2枚を均等な幅にする */
  min-width: 300px; /* 300pxより狭くなったら縦に並べる */
}

.friendly-photo {
  width: 100%;
  height: 250px; /* 高さを揃えると綺麗に見えます */
  object-fit: cover; /* 画像の比率を保ったまま枠に収める */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: block;
}




h1 {
  margin-top: 0; /* ページ最上部からの距離をゼロに */
  margin-bottom: 0.2rem; /* タイトルのすぐ下の余白を最小限に */
  color: #003566;
}

.subtitle {
  margin-top: 0;
  margin-bottom: 0.5rem; /* サブタイトルの下の余白を縮小 */
  color: #666;
}

.title-container {
  flex: 1; /* タイトル側を優先的に広げる */
}
/* タイトルとロゴを横に並べるためのコンテナ */
.header-top {
  display: flex;
  justify-content: space-between; /* 両端に寄せる */
  align-items: center; /* 垂直方向の中央揃え */
  gap: 20px;
  width: 100%;
}

.header-logo {
  height: 180px; /* ロゴの大きさ（適宜調整してください） */
  width: auto;
  border-radius: 4px;
  
  /* ここを追加：数字を大きくするほどロゴが下に下がります */
  margin-top: 100px; 
  
  /* もしタイトルと完全に中央で揃えたい場合はこちら */
  /* align-self: center; */ 
}


/* ナビゲーションを次の行の左側から開始 */
.main-nav {
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  gap: 0.5rem;
  margin-top: 0rem;
  width: 100%;
}

/* スマホなど画面が狭い時の対応 */
@media (max-width: 768px) {
  .header-top {
display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: -0.5rem; /* ネガティブマージンでNaviを上に引き寄せます */

/*    flex-direction: column; /* 狭い時はロゴをタイトルの下へ */
/*    align-items: flex-start;
  }
  
  .header-logo {
    height: 60px;
    margin-top: 10px;
  }
}

/* ロゴにマウスを乗せた時に少し光る演出（任意） */
header img:hover {
  opacity: 0.8;
  transition: 0.3s;
}