@charset "UTF-8";




  /* 研究室メンバー紹介の見出し */
.introduce{
  padding-top: 50px;
  text-align: center;
  
}

.introduce h1{
  font-size: 2rem;
  padding: 1%;
  border-bottom:2px solid #9b9b9b;
  display: inline-block;
}

.int_main{
  padding: 1%;
}

.main{
  min-width: 100vh;
}

/* メンバー紹介デザイン */
/* 背景 */
.main_background {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background-color: #f5f5f5;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 3%;
  }
.back_profile {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  .profile {
    width: 250px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
  
  .profile img {
    width: 80px; 
    height: 80px;
    object-fit: cover; 
    border-radius: 50%;
    margin-bottom: 0.5rem;
  }
  
  .profile-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  
  .profile__name {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
  }
  

.profile__desc {
  font-size: 0.9rem;
  color: #070707;
  padding: 0 1rem;
  transition: color 0.3s;
  cursor: pointer;
  text-decoration: none; /* aタグにも効かせたい場合に */
}

.profile__desc:hover {
  color: blue;
  text-decoration: underline; /* 任意：リンク感を出す */
}


  
  



  /* カテゴリ見出し */
  .group_section h2{
    display: inline-block;
  }
  .group_title {
    width: 100%;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
    display: inline-block;
  }
  
  .group_section {
    margin-bottom: 3rem;
    padding-right: 3%;
    padding-left: 3%;
  }
  
  /* 卒業生欄の名前 */

  .obog_name{
    font-size: 13px;
  }

  .year{
    font-size: 16px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }