@charset "UTF-8";
/* 研究のページ（案A：トップページと同じ星空の系統）  2026-11-27
   共通の部分（メニュー・見出しの写真・フッターなど）は top.css を使う。 */
@import url("../top/top.css?v=20261127");

.hero.research {
  min-height: 380px;
  background-image: url(img/hero_NGC253.jpg);
  background-position: center 50%;
}
.hero.research::before {
  background: linear-gradient(180deg, rgba(7,9,15,.5) 0%, rgba(7,9,15,.1) 30%,
                              rgba(7,9,15,.4) 70%, #07090f 100%);
}
.hero.research .hero-text { padding-bottom: 36px; }
.hero .label { margin: 0; font-size: 13px; letter-spacing: .3em; color: #c9d3e6; }
.hero.research h1 { font-size: 48px; }
.topnav ul a[aria-current="page"] { color: #fff; border-bottom: 2px solid #9cc7ff; }

main.research { max-width: 1080px; }

.research section + section { margin-top: 56px; }
.research h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #fff;
  border-bottom: 1px solid #222c40;
  padding-bottom: 8px;
}
.research .lead { margin: -4px 0 18px; font-size: 15px; color: #b9c3d6; }
.research .note { margin: 16px 0 0; font-size: 14px; color: #b9c3d6; }

/* 箱を並べる（研究分野は2列、リンクのカードは幅に応じて） */
.boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.boxes.small { grid-template-columns: repeat(3, 1fr); gap: 16px; }

.box {
  display: block;
  background: #111725;
  border: 1px solid #222c40;
  border-radius: 10px;
  padding: 20px 24px;
  color: #e6e9f0;
}
.box h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.box p  { margin: 0; font-size: 15px; color: #b9c3d6; }

a.box { transition: border-color .2s, transform .2s; }
a.box:hover { border-color: #4b6496; transform: translateY(-2px); color: #e6e9f0; }
a.box h3 { color: #9cc7ff; }
a.box p  { font-size: 14px; }
.boxes.small a.box { padding: 16px 20px; font-size: 15px; line-height: 1.6; }

.research .back { margin: 56px 0 0; font-size: 14px; }

@media (max-width: 900px) {
  .boxes.small { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero.research { min-height: 300px; }
  .hero.research h1 { font-size: 36px; }
  .boxes, .boxes.small { grid-template-columns: 1fr; }
}
