/* common.css */

    body {
      margin: 0;
      /*font-family: "Helvetica Neue", Arial, sans-serif; */
      line-height: 1.7;
      color: #222;
      background-color: #fafafa;
	  
	  /* Universal Design Fonts */
	  font-family:
        "BIZ UDPGothic",
        "BIZ UDGothic",
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    }
	p {
		letter-spacing: 0.05em;
	}

    /* =========================
       タイトル (固定エリア）
       ========================= */
    .top-header {
      position: fixed;
      top: 0;
      width: 100%;
      background: #1f2a44; /* 画像を表示すると見えなくなる */
       color: #ffffff;
	  /* color: #000000; */
      padding: 1.6rem 1.5rem;
      text-align: left;
      z-index: 1000;
	  
      background-image: url(hero.jpg);
      background-size: cover;      /* はみ出た部分は切り取られる */
      background-position: top; /* 切り出す中心位置 */
    }
	
	/* 背景画像を薄くするレイヤー */
	.top-header::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(255, 255, 255, 0.1); /* 白で薄く */
	}

    .top-header .large {
      font-size: 2rem;
	  text-shadow: 2px 2px 4px gray;
	  font-weight: bold;
	  position: relative; /* レイヤーより前面に */
	  white-space: nowrap; /* 改行禁止 */
	}

    .top-header .small {
      font-size: 1rem;
	  text-shadow: 2px 2px 4px gray;
          opacity: 0.9;
          font-weight: bold;
	  position: relative; /* レイヤーより前面に */
	  white-space: nowrap; /* 改行禁止 */
    }
	
	.top-header .spacer {
      height: 0.7rem;
    }

    /* =========================
       メニュー　(固定エリア)
       ========================= */
    .menu-bar {
      position: fixed;
      top: 14rem;
	  padding: 1rem 1rem 0.5rem 1rem;
      width: 100%;
      /* background: #ffffff; */
      background: #1f2a44;
      border-bottom: 1px solid #ddd;
      z-index: 999;
    }

    .menu-bar ul {
      list-style: none;
      margin: 0;
      padding: 0.5rem 1.5rem;
      display: flex;
      justify-content: center;
      gap: 2rem;
    }

    .menu-bar a {
      text-decoration: none;
      /*color: #1f2a44;*/
	  color: #ffffff;
	  text-shadow: 2px 2px 4px gray;
      font-weight: 500;
    }

    .menu-bar a:hover {
      text-decoration: underline;
    }

    /* =========================
       メニューの均等配置
       ========================= */	
	.inner {
		width: 80%; /* 全体の 80% */
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(5, 1fr); /* 5項目を均等配置 */
		text-align: center;
	}
<!--
    /* =========================
       研究室メンバー
       ========================= */
    .member-bar {
      position: fixed;
      top: 150px;
      width: 100%;
      background: #f2f4f8; /* 少し薄い背景色 */
      border-bottom: 1px solid #ddd;
      z-index: 998;
    }

    .member-bar .inner {
      max-width: 900px;
      margin: 0 auto;
      padding: 0.6rem 1.5rem;
      font-size: 0.9rem;
      color: #333;
    }
-->
    /* =========================
       スクロール部分
       ========================= */
    main.content {
      max-width: 900px;
      margin: 0 auto;
      /* padding: 240px 1.5rem 3rem; /* 固定3段分の余白 */
      padding: 18rem 1.5rem 3rem; /* 固定3段分の余白 */
    }

    section {
      margin-bottom: 3rem;
    }

    h2 {
      border-bottom: 2px solid #ddd;
      padding-bottom: 0.3rem;
      margin-bottom: 1.5rem;
      color: #1f2a44;
    }

    ul {
      padding-left: 1.2rem;
    }

    .keywords span {
      display: inline-block;
      background: #e6e8ef;
      padding: 0.3rem 0.6rem;
      margin: 0.3rem;
      border-radius: 4px;
      font-size: 0.9rem;
    }

    footer {
      background: #eee;
      text-align: center;
      padding: 1.5rem;
      font-size: 0.9rem;
      color: #555;
    }	

    /* =========================
       レスポンシブ対応
       ========================= */
    @media screen and (max-width: 768px) {
<--
      .top-header {
        padding: 1rem; /* nav を入れる場合に必要 */
      }
-->
      .large {
        font-size: 1.4rem;
	  white-space: nowrap; /* 改行禁止 */
      }
	  .small {
		font-size: 0.8rem;
	  white-space: nowrap; /* 改行禁止 */
	}

      .top-header p {
        font-size: 0.9rem;
      }
	  .menu-bar {
	      top: 13.2rem;
	      padding: 0.5rem 0.8rem;
	  }

      .menu-bar ul {
        gap: 1rem;
        font-size: 0.9rem;
      }

      .menu-bar .inner {
        font-size: 0.85rem;
	padding: 0.5rem 0rem 0rem;
	white-space: nowrap;
      }

      main.content {
	   padding-top: 16em;
      }
	  
	  .inner {
		width: 100%;
		flex-direction: column;
	  }
	  

    }

/* End of file */
   
  
