/* トップ「メンバー紹介」（PC・タブレット・スマホ共通）
   Figma 3X9egCOSTK9QJJDSB1cWvO node 4152-61734（2026-11-10）に合わせる
   白いカードはやめて「写真＋名前・役職＋紹介文」だけにする。帯の背景は白
   名前と役職は横並び・ローマ字は出さない・文章は左寄せ
   （経緯：4181-2942 → 4237-717 のカード版 → 2026-11-10 にカードなしへ。スマホも本人指示で同じ形） */

/* 帯の背景は白 */
#member.sd-251 { background: #fff !important; }

/* 2人のあいだ 60px（PC は横、タブレット・スマホは縦） */
.sd-258 { gap: 60px !important; }

/* 1人分のまとまり：カードの白・影・余白・角丸をなくす */
.sd-259, .sd-266 {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  gap: 12px !important; /* 名前の行と紹介文のあいだ */
  align-items: stretch !important;
  max-width: 484px !important; /* タブレット幅で広がりすぎないよう、元のカード幅を上限にする */
}

/* 写真＋名前＋役職のまとまり */
.sd-260, .sd-267 {
  width: 100% !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 28px 5px !important; /* 写真と名前のあいだ 28px・名前と役職のあいだ 5px */
}

/* 写真：列の幅いっぱい・縦横比 394:309・角丸 12px（Figma は高島さん 8/4px・和田さん 12px で違うため 12px にそろえた） */
.sd-261, .sd-268 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 394 / 309;
  border-radius: 12px !important;
  background-color: #ececee !important;
  overflow: hidden !important;
}
/* 人物の位置（Figma の値を割合にしたもの） */
.sd-261 > .image__bg-container {
  left: 14.02% !important;
  top: 10.68% !important;
  width: 73.08% !important;
  height: 93.50% !important;
  border-radius: 0 !important;
}
.sd-261 > .image__bg-container::before {
  background-size: cover !important;
  background-position: center top !important;
  border-radius: 0 !important;
}
/* 和田さんの写真：Figma node 4237-734 の切り抜き写真（/assets/member/wada.png）
   地の色 #f1f1ef・人物は下に付けて置く */
.sd-268 { background-color: #f1f1ef !important; }
.sd-268 > .image__bg-container {
  left: 14.50% !important;
  top: 12.71% !important;
  width: 68.56% !important;
  height: 87.35% !important;
  border-radius: 0 !important;
}
.sd-268 > .image__bg-container::before {
  background-image: url(/assets/member/wada.png) !important;
  background-size: contain !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  border-radius: 0 !important;
}

/* ローマ字の名前は出さない */
.sd-263, .sd-270 { display: none !important; }

/* 名前 */
.sd-262, .sd-269 {
  flex: none !important;
  width: auto !important;
  text-align: left !important;
  justify-content: flex-start !important;
  white-space: nowrap !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 19.5px !important;
  color: #1f1f1f !important;
}

/* 役職 */
.sd-264, .sd-271 {
  flex: none !important;
  width: auto !important;
  text-align: left !important;
  justify-content: flex-start !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 19.5px !important;
  color: #626262 !important;
}

/* 紹介文 */
.sd-265, .sd-272 {
  width: 100% !important;
  max-width: 100% !important;
  text-align: justify !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  letter-spacing: 0.12em !important;
  color: #1f1f1f !important; /* 本人指示で #5f6368 から変更 */
}

/* 名前と役職は下でそろえる（Figma：行の下端そろえ・役職の箱は高さ16px） */
.sd-262, .sd-269, .sd-264, .sd-271 { align-self: flex-end !important; }
.sd-264, .sd-271 { height: 16px !important; overflow: visible !important; }
/* 文字の下端を名前とそろえる：箱の下端そろえだと役職の字が約2.4px 上に浮くので、役職だけ下げる（行の高さは変えない） */
.sd-264, .sd-271 { position: relative !important; top: 2.5px !important; }
