
/*--people square grid--*/
.member {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.member:has(.member-info:only-child) {
  margin-bottom: 0.5rem;
}

.member-image img {   /* 写真（左列） */
  width: 160px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.member-info {   /* 説明（右列） */
  max-width: 800px;
}

.member-info h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.member-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

@media (max-width: 900px) {　　　/* レスポンシブ：モバイルでは縦並び */
  .member {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }
  .member-info {
    margin-top: 1rem;
  }
  .member-image img {
    width: 60%;
    max-width: 280px;
  }
}

/*--lab footer--*/
.lab-footer {
  padding: 2rem 1rem;
  background: #f5f7fa;         /* 薄めのグレー背景（任意） */
  text-align: center;          /* スマホ時の中央寄せ */
  margin-top: 3rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;     /* 中央揃え */
  gap: 1.5rem;                 /* ロゴ間の余白 */
}

.footer-logos img {
  height: 100px;                /* ロゴの高さを揃える */
  margin-bottom: 20px;
  width: auto;                 /* 比率は自動 */
  object-fit: contain;         /* 長方形ロゴも潰れない */
  /* opacity: 0.9;                 少し控えめに */
  transition: opacity 0.2s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.footer-logos img:hover {
  filter: none;
  opacity: 1;
}


/* ---------- Hero Home用設定---------- */

.home-page .intro-header.big-img {
    height:80vh;
    min-height:700px;
    display:flex;
    align-items:center;
    justify-content:center;

}

.scroll-down {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    opacity: 0.85;
    z-index: 10;
    animation: bounce 2.5s infinite;
}

.scroll-down:hover {
    color: white;
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(8px);
    }
    60% {
        transform: translateX(-50%) translateY(4px);
    }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
