/* =========================================================
   Member single page UI (single-member)
   File: assets/css/30-pages/member-single.css
   Scope: body.single-member
========================================================= */

/* =========================================================
   Hero (見出し＋パンくず)
   ※ここは今の福祉大の表示のまま使う前提
========================================================= */

.nfu-memberSingleHero {
  background: #06102a;
  margin-top: var(--wp--preset--spacing--60);
  padding-right: var(--wp--style--root--padding-right);
  padding-left: var(--wp--style--root--padding-left);
}

.nfu-memberSingleHero__inner {
  max-width: 1280px;
  margin: 0 auto;
  /* チーム紹介っぽい光 */
  background: radial-gradient(
    ellipse at 0% 40%,
    rgb(0 194 255 / 22%),
    rgba(6, 16, 42, 0) 40%
  );
}

.nfu-memberSingleHero__kicker {
  margin: 0 0 8px;
  color: rgba(244, 246, 255, 0.72);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.nfu-memberSingleHero__title {
  margin: 0;
  color: rgba(244, 246, 255, 0.98);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.nfu-memberSingleHero__crumbs {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(244, 246, 255, 0.65);
}

.nfu-memberSingleHero__crumbs a {
  color: rgba(244, 246, 255, 0.72);
  text-decoration: none;
}

.nfu-memberSingleHero__crumbs a:hover {
  color: rgba(244, 246, 255, 0.92);
  text-decoration: underline;
}

/* =========================================================
   Profile (画像＋情報) 中部大寄せ
========================================================= */

.nfu-memberSingle {
  background: #06102a;
}

.nfu-memberSingle__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--wp--style--root--padding-left);
  padding-right: var(--wp--style--root--padding-right);
  padding-bottom: 60px;
}

.nfu-memberSingle__top {
  display: grid;
  gap: 60px;
  align-items: start;
  padding-top: 20px;
}

@media (min-width: 900px) {
  .nfu-memberSingle__top {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  }
}

/* Photo */
.nfu-memberSingle__photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 246, 255, 0.08);
  box-shadow: var(--nfu-shadow-md);
}

.nfu-memberSingle__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nfu-memberSingle__noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(244, 246, 255, 0.4);
  background: rgba(244, 246, 255, 0.06);
}

/* Panel */
.nfu-memberSingle__panel {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.nfu-memberSingle__panelInner {
  position: relative;
  z-index: 1;
}

.nfu-memberSingle__romajiBg {
  position: absolute;
  margin-top: 25px;
  margin-left: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 50px;
  line-height: 0.92;
  color: rgb(0 194 255 / 22%);
  text-transform: none;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.nfu-memberSingle__name {
  margin: 0;
  font-weight: 900;
  color: rgba(244, 246, 255, 0.98);
  font-size: 32px;
  line-height: 1.15;
}

.nfu-memberSingle__romaji {
  margin: 6px 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 246, 255, 0.62);
}

/* DL */
.nfu-memberSingle__dl {
  margin: 50px 0 0;
  padding: 0;
}

.nfu-memberSingle__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(244, 246, 255, 80%);
}

.nfu-memberSingle__row dt {
  margin: 0;
  font-weight: 900;
  color: rgba(244, 246, 255, 0.72);
  letter-spacing: 0.02em;
}

.nfu-memberSingle__row dd {
  margin: 0;
  font-weight: 900;
  color: rgba(244, 246, 255, 0.95);
}

/* Comment */
.nfu-memberSingle__comment {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(244, 246, 255, 0.16);
  font-weight: 900;
  line-height: 1.7;
}

@media (max-width: 899px) {
  .nfu-memberSingle__photo {
    max-width: 520px;
  }

  .nfu-memberSingle__romajiBg {
    font-size: 36px;
  }

  .nfu-memberSingle__dl {
    margin: 40px 0 0;
    font-size: 16px;
  }

  .nfu-memberSingle__row {
    gap: 30px;
    padding: 15px 0;
  }
}

@media (max-width: 600px) {
  .nfu-memberSingle__top {
    gap: 10px;
  }

  .nfu-memberSingle__panel {
    margin-top: 20px;
  }

  .nfu-memberSingle__name {
    font-size: 24px;
  }

  .nfu-memberSingle__romajiBg {
    font-size: 32px;
  }

  .nfu-memberSingle__row {
    grid-template-columns: 86px 1fr;
  }
}

/* Back button */
.nfu-memberSingle__back {
  margin-top: 30px;
  text-align: end;
}

.nfu-memberSingle__backBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 100px;
  background: rgba(244, 246, 255, 0.08);
  border: 1px solid rgba(244, 246, 255, 0.14);
  color: rgba(244, 246, 255, 0.92);
  text-decoration: none;
  font-weight: 900;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.nfu-memberSingle__backBtn:hover {
  background: rgba(244, 246, 255, 0.12);
  border-color: rgba(244, 246, 255, 0.18);
  transform: translateY(-1px);
}

/* =========================================================
   Body
========================================================= */

.nfu-memberSingleBody {
  background: #06102a;
  padding: 0 0 34px;
}

.nfu-memberSingleBody__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--wp--style--root--padding-left);
  padding-right: var(--wp--style--root--padding-right);
  color: rgba(244, 246, 255, 0.92);
}

.nfu-memberSingleBody__inner a {
  color: rgba(242, 183, 5, 0.95);
}

/* =========================================================
   768px: 横並び維持（比率調整だけ）
========================================================= */
@media (min-width: 768px) and (max-width: 899px) {
  .nfu-memberSingle__top {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 36px;
  }

  /* タブレット帯はちょい横長にして縦長感を軽減 */
  .nfu-memberSingle__photo {
    aspect-ratio: 4 / 5;
  }

  /* いま max-width:520px が効いて写真だけデカくなりがちなので抑える */
  .nfu-memberSingle__photo {
    max-width: none;
  }

  /* パネルの上の謎の余白が強いので軽くする（横並び前提） */
  .nfu-memberSingle__panel {
    margin-top: 10px;
  }
}
