

/* ---------- ---------- ヘッダー ---------- ---------- */ 

header {
  display: flex;
  width: 100%;
  top: 0;
  height: 80px;
  background-color: #cccccc;
  align-items: center;
  position: fixed;

}

 
.title {
  margin-left: auto;
  margin-right: auto;
}

.title h1 {
  margin: 0;
}

.title p {
  margin: 0;
}


.nav{
  margin-left: auto;
  margin-right: auto;
}


.menu-item {
  list-style: none;
  display: inline-block;
  padding: 10px;
}



/* ---------- ---------- メイン ---------- ---------- */ 


main {
  background-color: #ffffff;
  padding-top: 80px;
  width: 100%;
  height: auto;
}


/* ----- 研究テーマ ----- */ 

.research {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.research h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* 各研究テーマ */
.theme {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

/* 左側：文章 */
.theme-text {
  flex: 1;
}

.theme-text h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.theme-text p {
  line-height: 1.7;
  margin: 0 0 0.4em;   /* ← 段落間を小さく */
}

/* 右側：図 */
.theme-figure {
  flex: 1;
  text-align: center;
}

.theme-figure img {
  max-width: 100%;
  height: auto;
}





/* ---------- ---------- フッター ---------- ---------- */ 


footer {
  display: flex;             /* 横並び */
  justify-content: space-between; /* 左右に広げる */
  align-items: center;       /* 縦中央揃え */
  padding: 16px 20px;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-left,
.footer-right {
  /* それぞれ特別な指定は不要 */
  margin-left: auto;
  margin-right: auto;
}








