@charset "UTF-8";
/* 議員個別ページ。pages.css の旧スタイルを .member-page 配下で上書きする */
/* コンパイル: npx sass --no-source-map --style=expanded assets/css/member.scss assets/css/member.css */
.container.member-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
@media (max-width: 680px) {
  .container.member-page {
    padding: 1rem 1rem 4rem;
  }
}

.member-page {
  /* ---------- レイアウト ---------- */
  /* ---------- プロフィールカード ---------- */
  /* ---------- SNS ---------- */
  /* ---------- セクション ---------- */
  /* ---------- メッセージ ---------- */
  /* ---------- お知らせ ---------- */
  /* ---------- note ---------- */
  /* ---------- プロフィール ---------- */
  /* ---------- 経歴 ---------- */
  /* ---------- ビジョン・実績（リッチエディタ） ---------- */
}
.member-page .layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .member-page .layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 680px) {
  .member-page .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}
.member-page .layout__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}
.member-page .profile-card {
  position: sticky;
  top: calc(56px + 1.25rem);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px rgba(17, 24, 39, 0.05);
}
@media (max-width: 680px) {
  .member-page .profile-card {
    position: static;
  }
}
.member-page .profile-card__visual {
  background: #f4f5f7;
}
.member-page .profile-card__img {
  display: block;
  width: 100%;
  height: auto;
}
.member-page .profile-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  font-size: 3rem;
  color: #c4c8cf;
}
.member-page .profile-card__info {
  padding: 1.25rem 1.25rem 1.375rem;
}
@media (max-width: 680px) {
  .member-page .profile-card__info {
    padding: 1.125rem 1.125rem 1.25rem;
  }
}
.member-page .profile-card__name {
  display: flex;
  flex-direction: column;
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
@media (max-width: 680px) {
  .member-page .profile-card__name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}
.member-page .profile-card__kana {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #6b7280;
}
.member-page .profile-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8125rem;
}
@media (max-width: 680px) {
  .member-page .profile-card__meta {
    padding-top: 0.75rem;
    font-size: 0.75rem;
  }
}
.member-page .profile-card__meta div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 0.5rem;
}
.member-page .profile-card__meta dt {
  font-weight: 700;
  color: #6b7280;
}
.member-page .profile-card__meta dd {
  margin: 0;
}
.member-page .sns-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.125rem 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}
@media (max-width: 680px) {
  .member-page .sns-bar {
    margin-top: 0.875rem;
    gap: 0.875rem;
  }
}
.member-page .sns-bar a {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  transition: opacity 0.15s;
}
.member-page .sns-bar a:hover {
  opacity: 0.6;
}
.member-page .sns-bar a:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 3px;
}
.member-page .sns-icon {
  display: block;
  width: 26px;
  height: 26px;
}
.member-page .section {
  scroll-margin-top: calc(56px + 1rem);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: visible;
}
.member-page .section__header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem 0;
}
@media (max-width: 680px) {
  .member-page .section__header {
    padding: 1.25rem 1.125rem 0;
  }
}
.member-page .section__title {
  margin: 0;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  background: none;
  border: 0;
}
.member-page .section__title--note {
  margin: -0.5rem 0 -0.75rem -0.625rem;
}
.member-page .section__title--note img {
  display: block;
  width: auto;
  height: 3rem;
}
.member-page .section__body {
  padding: 1.25rem 1.75rem 1.75rem;
}
@media (max-width: 680px) {
  .member-page .section__body {
    padding: 1rem 1.125rem 1.375rem;
  }
}
.member-page .section > .section__body + .section__body--profile {
  padding-top: 0;
}
.member-page .section > .section__body:first-child {
  padding-top: 1.75rem;
}
@media (max-width: 680px) {
  .member-page .section > .section__body:first-child {
    padding-top: 1.125rem;
  }
}
.member-page .section--preparing {
  background: transparent;
  border-style: dashed;
}
.member-page .preparing {
  margin: 0;
  padding: 0.75rem 0 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: left;
}
.member-page .slogan {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: none;
  border: 0;
}
@media (max-width: 680px) {
  .member-page .slogan {
    font-size: 1.0625rem;
  }
}
.member-page .slogan:last-child {
  margin-bottom: 0;
}
.member-page .message-body {
  font-size: 1rem;
  line-height: 2;
  white-space: pre-wrap;
}
@media (max-width: 680px) {
  .member-page .message-body {
    font-size: 0.9375rem;
    line-height: 1.9;
  }
}
.member-page .news-item {
  padding: 1rem 0;
}
.member-page .news-item:first-child {
  padding-top: 0;
}
.member-page .news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.member-page .news-item__thumb {
  flex-basis: 140px;
  width: 140px;
}
@media (max-width: 680px) {
  .member-page .news-item__thumb {
    flex-basis: 96px;
    width: 96px;
  }
}
.member-page .news-more {
  margin: 1.25rem 0 0;
  text-align: center;
}
.member-page .news-more__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.75em;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.member-page .news-more__button:hover {
  color: #fff;
  background: #1a1a1a;
}
.member-page .news-more__button i {
  font-size: 0.75em;
}
.member-page .member-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.member-page .member-activity-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
}
.member-page .member-activity-card:first-child {
  padding-top: 0;
}
.member-page .member-activity-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.member-page .member-activity-card:hover {
  border-color: #e5e7eb;
}
.member-page .member-activity-card:hover .member-activity-card__title {
  text-decoration: underline;
}
.member-page .member-activity-card__thumb {
  width: 140px;
  aspect-ratio: 16/9;
  border-radius: 8px;
}
@media (max-width: 680px) {
  .member-page .member-activity-card__thumb {
    width: 96px;
  }
}
.member-page .profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}
@media (max-width: 680px) {
  .member-page .profile-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}
.member-page .profile-list__item {
  padding: 0.875rem 1rem;
  background: #f4f5f7;
  border-radius: 10px;
}
.member-page .profile-list dt {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.member-page .profile-list dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.member-page .career-block + .career-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.member-page .career-block__heading {
  margin: 0 0 0.875rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
}
.member-page .history-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-page .history-list::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.3125rem;
  width: 2px;
  background: #e5e7eb;
}
.member-page .history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  border: 0;
}
@media (max-width: 680px) {
  .member-page .history-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-left: 1.5rem;
  }
}
.member-page .history-list li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  background: #fff;
}
.member-page .history-list li:last-child::before {
  background: #1a1a1a;
}
.member-page .history-date {
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .member-page .history-date {
    font-size: 0.8125rem;
    color: #6b7280;
  }
}
.member-page .position-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-page .position-list li {
  padding: 0.4em 0.9em;
  font-size: 0.875rem;
  line-height: 1.5;
  background: #f4f5f7;
  border-radius: 8px;
}
.member-page .position-list li::before {
  content: none;
}
.member-page .position-date {
  margin-right: 0.5em;
  font-size: 0.8125rem;
  color: #6b7280;
}
.member-page .career-note {
  margin: 0.875rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}
.member-page .section .richtext {
  font-size: 0.9375rem;
  line-height: 1.85;
}
.member-page .section .richtext > :first-child {
  margin-top: 0;
}
.member-page .section .richtext > :last-child {
  margin-bottom: 0;
}
.member-page .section .richtext h2 {
  margin: 2rem 0 1rem;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  color: #1a1a1a;
}
.member-page .section .richtext h3 {
  margin: 1.5rem 0 0.625rem;
  padding: 0 0 0.375rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  color: #1a1a1a;
  border-bottom: 1px solid #e5e7eb;
}
.member-page .section .richtext h2 + h3 {
  margin-top: 1rem;
}
.member-page .section .richtext p {
  margin: 0 0 1em;
}
.member-page .section .richtext h3 + p {
  color: #374151;
}
.member-page .section .richtext ul,
.member-page .section .richtext ol {
  margin: 0.5rem 0 1.25rem;
  padding: 0;
}
.member-page .section .richtext ul > li {
  position: relative;
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.375rem;
  list-style: none;
}
.member-page .section .richtext ul > li::before {
  content: "";
  position: absolute;
  top: calc(0.25rem + 0.68em);
  left: 0.25rem;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: #1a1a1a;
}
.member-page .section .richtext ol {
  counter-reset: rt-ol;
}
.member-page .section .richtext ol > li {
  position: relative;
  margin: 0;
  padding: 0.5rem 0 0.5rem 2.25rem;
  list-style: none;
  counter-increment: rt-ol;
  border-bottom: 1px dashed #e5e7eb;
}
.member-page .section .richtext ol > li:last-child {
  border-bottom: 0;
}
.member-page .section .richtext ol > li::before {
  content: counter(rt-ol);
  position: absolute;
  top: 0.6rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #1a1a1a;
  border-radius: 50%;
}
.member-page .section .richtext li > ul,
.member-page .section .richtext li > ol {
  margin: 0.375rem 0 0;
}
.member-page .section .richtext li > ul > li {
  padding: 0.2rem 0 0.2rem 1.125rem;
  font-size: 0.875rem;
  color: #374151;
  border-bottom: 0;
}
.member-page .section .richtext li > ul > li::before {
  top: calc(0.2rem + 0.72em);
  width: 0.375rem;
  height: 0.375rem;
  background: transparent;
  border: 1.5px solid #1a1a1a;
}
