/* style.css */
html { 
	font-size: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  margin: 0;
}

.page-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
  color: #0066b3;
	padding-top: 80px;
}

/* ===== 上段（1人） ===== */
.member-list.top {
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ===== 下段（2人横並び） ===== */
.member-list.bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 80px;
}

/* ===== 最終段（1人ずつ横並び） ===== */
.last-sec {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto 80px;
}
.member-list.odd {
  width: calc(50% - 12px);
}

/* ===== カード共通 ===== */
.member-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #E7F0F2; /* 淡いブルー背景 */
  position: relative;
  box-sizing: border-box;
  overflow: hidden;	
  line-height: 2;
}
.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 30px;
  background: #a7d3ec;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}
.member-card.wide::before {
  background: #6abcec;
  width: 150px;
  height: 30px;
}
.member-card.triangle::before {
  background: #6abcec;
}

.member-card.card-2 , .member-card.card-3 , .member-card.card-4 , .member-card.card-5 , .member-card.card-6 {
  background: #f4f4f4; 
}

.member-card.card-2::before {
  background: #C8E3D4;
}

.member-card.card-3::before {
  background: #E3D5CC;
}

.member-card.card-4::before {
  background: #D1D7E3; 
}

.member-card.card-5::before {
  background: #E3E3D1; 
}

.member-card.card-6::before {
  background: #E6D7D7; 
}

.member-card.wide {
  width: 100%;
  margin-bottom: 30px;	
}

.member-info {
  flex: 1;
  padding: 30px 0 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-role {
  color: #007ac5;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.wide .member-role {
  font-size: 1.3rem;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.wide .member-name {
  font-size: 1.5rem;
}

.member-furigana {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
	line-height: 1.5;
  padding-top: 2px;
}

.wide .member-furigana {
  font-size: 0.9rem;
}

.two-hats {
  font-size: 0.85rem;
  font-weight: bold;
	padding-bottom: 5px;
}

.member-bio {
  color: #005a9c;
  font-size: 0.95rem;
  font-weight: 500;	
  line-height: 1.5;
  margin-top: 8px;
}

.wide .member-bio {
  font-size: 1.05rem;
}

br.sp {
  display: none;
}

.green .member-role , .green .member-bio {
  color: #33946c;
}

.orange .member-role , .orange .member-bio {
  color: #bf8c69;
}

.purple .member-role , .purple .member-bio {
  color: #5a6c8f;
}

.yellow .member-role , .yellow .member-bio {
  color: #5a6c8f;
}

.card-5 .member-role , .card-5 .member-bio {
  color: #999949;
}

.card-6 .member-role , .card-6 .member-bio {
  color: #c98585;
}


/* ===== 画像部分 ===== */
.member-photo {
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wide .member-photo {
  width: 200px;
}

.member-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* ===== 委員会見出し ===== */
.group-title {
  color: #333;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 0;
  margin-bottom: 10px;
  text-align: center;	
  max-width: 800px;
  margin: 0 auto 30px;
}

.group-title.green {
  background: #C8E3D4;
}

.group-title.orange {
  background: #E3D5CC;
}

.group-title.purple {
  background: #D1D7E3;
}

.group-title.yellow {
  background: #E3E3D1;
}

.group-title.red {
  background: #E6D7D7;
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===== 2列のブレイクポイントに合わせて最終段1段に ===== */
@media (max-width: 823px) {
	.page-title {
	padding-top: 0;
}
  .last-sec {
  display: block;
  }

  .member-list.odd {
    width: 100%;
  }

  .member-list.odd:first-child {
    padding-bottom: 80px;
  }

  br.sptb {
    display: block;
   }
	.group-title {
		font-size: 1.4rem;
	}
}

/* ===== スマホ対応 ===== */
@media (max-width: 640px) {
  .member-card {
  width: 100%;
  margin: auto;
  }
  .member-card2 {
  width: 80%;
  margin: auto;
  }
  .member-info {
  padding-left: 20px;
  }
 .member-list.bottom {
  grid-template-columns: auto;
 }
	.member-name {
    font-size: 1.5rem;
	}
	.member-furigana{
	 font-size: 0.95rem;
		padding-top: 3px;
	}
	
  .wide .member-photo {
    width: 170px;
 }
	.member-role {
    font-size: 1.4rem;
	}
 .wide .member-role {
	 font-size: 1.4rem;
}
.wide .member-name {
  font-size: 1.6rem;
}
	.member-bio {
    font-size: 1.2rem;
	}
.wide .member-furigana {
  font-size: 1rem;
}
    .wide .member-bio {
        font-size: 1.2rem;
    }
  .member-photo {
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  }
  .member-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  }
	.two-hats {
    line-height: 1.4;
	}
 br.sp {
  display: block;
 }
 }
