@charset "UTF-8";
/* 自己紹介のページ（案A：サイトと同じ暗い系）  2026-11-27
   共通の部分（メニュー・見出しの写真など）は top.css を使う。 */
@import url("top.css?v=20261127");

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

main.profile { max-width: 1000px; }

.prof {
  margin: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  background: #111725;
  border: 1px solid #222c40;
  border-radius: 10px;
  padding: 8px 28px;
  font-size: 16px;
}
.prof dt, .prof dd { padding: 14px 0; border-bottom: 1px solid #222c40; }
.prof dt { color: #8fa0bf; }
.prof dd { margin: 0; }
.prof dt:last-of-type, .prof dd:last-of-type { border-bottom: none; }
.prof .name { color: #fff; font-size: 18px; }

.photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 10px; }
.photos figcaption { margin-top: 10px; font-size: 14px; color: #b9c3d6; }

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

@media (max-width: 640px) {
  .hero.profile { min-height: 300px; }
  .prof { grid-template-columns: 1fr; padding: 8px 20px; }
  .prof dt { padding-bottom: 0; border-bottom: none; font-size: 13px; }
  .prof dd { padding-top: 2px; }
  .photos img { height: 280px; }
}
