/* ==========================================================================
    教育委員会（/committee）
    テーマ共通の common.css / page.css を前提に、このページだけの装飾を追加
============================================================================= */
.committee * {
  box-sizing: border-box;
}

.committee .page-details section+section {
  padding-top: 100px;
}

.committee .page-title__img img {
  display: block;
  width: 100%;
  height: auto;
}

.committee-wide {
  max-width: 1000px;
  margin-inline: auto;
}

.committee .hdg-2 {
  margin-bottom: 30px;
}

.committee-lead {
  color: #25435a;
  font-size: 30px;
  line-height: 1.45;
  margin-bottom: 20px;
}

.committee .txt+.txt {
  margin-top: 1em;
}

/* --- 5つの領域 --- */
.committee-role {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.committee-role__item {
  flex-basis: calc((100% - 56px) / 5);
}

.committee-role__item {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 24px 10px 20px;
  text-align: center;
}

.committee-role__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  color: #4d9ede;
  display: flex;
  align-items: center;
  justify-content: center;
}

.committee-role__item:nth-child(even) .committee-role__icon,
.committee-role__item:nth-child(even) .committee-role__num {
  color: #e0808a;
}

.committee-role__icon svg {
  width: 42px;
  height: 42px;
}

.committee-role__num {
  display: block;
  font: 500 13px "Kiwi Maru", serif;
  letter-spacing: .1em;
  color: #4d9ede;
}

.committee-role__name {
  color: #25435a;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 2px;
}

.committee-role__desc {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}

/* --- 特徴（数字） --- */
.committee-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.committee-stats__item {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 22px 8px;
  text-align: center;
}

.committee-stats__ttl {
  color: #4d9ede;
}

.committee-stats__num {
  font: 600 40px "Kiwi Maru", serif;
  color: #4d9ede;
  letter-spacing: 2px;
  line-height: 1.3;
}

.committee-stats__num span {
  font-size: 16px;
  letter-spacing: 2px;
  color: #666;
}

.committee-stats__desc {
  font-size: 13px;
}

/* --- 委員一覧 --- */
.committee-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.committee-members__box {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 26px 28px;
}

.committee-members__ttl {
  color: #25435a;
  font-size: 18px;
  margin-bottom: 8px;
}

.committee-members__ttl span {
  display: inline-block;
  font-size: 12px;
  line-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
  background: #e3f0fa;
  color: #4d9ede;
}

.committee-members__box--inner .committee-members__ttl span {
  background: #fdecee;
  color: #d9707b;
}

.committee-members__table {
  width: 100%;
  border-collapse: collapse;
}

.committee-members__table th,
.committee-members__table td {
  border-bottom: 2px solid #fff;
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}

.committee-members__table th {
  color: #25435a;
  width: 8.5em;
  white-space: nowrap;
}

.committee-members__table td {
  color: #777;
  font-size: 14px;
}

.committee-members__term {
  color: #888;
  font-size: 13px;
  margin-top: 14px;
}

/* --- 議事録：検索 --- */
.committee-search {
  background: #25435a;
  border-radius: 10px;
  padding: 22px 26px;
}

.committee-search__row {
  display: flex;
  gap: 10px;
}

.committee-search__kw {
  flex: 1;
  position: relative;
}

.committee-search input,
.committee-search select {
  font: inherit;
  font-size: 15px;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #444;
  padding: 11px 20px;
}

.committee-search input {
  padding-right: 44px;
}

.committee-search__kw svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #999;
  pointer-events: none;
}

.committee-search select {
  width: 180px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 18px center;
}

.committee-search button {
  font: inherit;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  background: #4d9ede;
  color: #fff;
  padding: 11px 34px;
  cursor: pointer;
  white-space: nowrap;
}

.committee-search button:hover {
  opacity: .85;
}

.committee-search__result {
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
}

.committee-search__result[hidden] {
  display: none;
}

.committee-search__result a {
  color: #9fd0f5;
  text-decoration: underline;
  margin-left: 10px;
}

/* --- 議事録：最新3件 --- */
.committee-year {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid #25435a;
  padding-bottom: 8px;
  margin: 44px 0 20px;
}

.committee-year__ttl {
  color: #25435a;
  font-size: 22px;
}

.committee-year__sub {
  color: #888;
  font-size: 13px;
}

.committee-latest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.committee-card {
  border: 1px solid #e4e8ec;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.committee-card__head {
  background: linear-gradient(135deg, #8ec5f0, #4d9ede);
  color: #fff;
  padding: 18px 22px;
}

.committee-card:nth-child(2) .committee-card__head {
  background: linear-gradient(135deg, #a9d3f3, #6aaee4);
}

.committee-card:nth-child(3) .committee-card__head {
  background: linear-gradient(135deg, #bfdcf3, #86bce8);
}

.committee-card__no {
  font: 500 13px "Kiwi Maru", serif;
  opacity: .9;
}

.committee-card__ttl {
  font-size: 20px;
  line-height: 1.5;
}

.committee-card__new {
  display: inline-block;
  background: #f4a6ae;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  border-radius: 999px;
  padding: 0 10px;
  margin-left: 6px;
  vertical-align: 3px;
}

/* --- ダミー表示（確認用：本番では削除） --- */
.committee-dummy {
  display: inline-block;
  background: #fff;
  color: #999;
  border: 1px dashed #aaa;
  font-size: 11px;
  line-height: 18px;
  border-radius: 3px;
  padding: 0 6px;
  margin-right: 8px;
  vertical-align: 1px;
  white-space: nowrap;
}

.committee-card__no .committee-dummy {
  margin: 0 0 0 8px;
}

.committee-card--dummy {
  border-style: dashed;
}

.committee-card--dummy .committee-card__head {
  background: #b9c2ca !important;
}

.committee-card--dummy .committee-card__body {
  color: #888;
}

.committee-card--dummy .committee-card__btn {
  background: #b9c2ca;
}

.committee-list li:has(.committee-dummy) .committee-list__ttl {
  color: #888;
}

.committee-dummy-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 14px;
}

.committee-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 22px;
}

.committee-card__date {
  color: #888;
  font-size: 13px;
}

.committee-card__agenda {
  list-style: disc;
  padding-left: 1.2em;
  margin: 8px 0 18px;
  font-size: 14px;
  line-height: 1.75;
}

.committee-pdf {
  display: inline-block;
  font: 700 10px sans-serif;
  color: #fff;
  background: #e0656f;
  border-radius: 3px;
  padding: 0 6px;
  line-height: 18px;
  letter-spacing: .05em;
}

.committee-card__btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #4d9ede;
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  transition: opacity .2s;
}

.committee-card__btn:hover {
  opacity: .8;
}

/* --- 議事録：バックナンバー --- */
.committee-back__ttl {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #25435a;
  font-size: 20px;
  margin: 60px 0 16px;
}

.committee-back__ttl .en {
  font: 500 14px "Nunito", sans-serif;
  color: #4d9ede;
}

.committee-acc {
  border: 1px solid #e4e8ec;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.committee-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
  color: #25435a;
  padding: 15px 22px;
  font-size: 16px;
}

.committee-acc summary::-webkit-details-marker {
  display: none;
}

.committee-acc summary small {
  color: #888;
  font-size: 13px;
  margin-left: 10px;
  margin-right: auto;
}

/* ＋／− アイコン：縦棒を回して−にする */
.committee-acc__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.committee-acc__icon::before,
.committee-acc__icon::after {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  height: 2px;
  background: #4d9ede;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.committee-acc__icon::after {
  transform: rotate(90deg);
}

.committee-acc[open]:not(.is-closing) .committee-acc__icon::after {
  transform: rotate(0);
}

.committee-acc__body {
  overflow: hidden;
}

.committee-list {
  list-style: none;
  margin: 0;
  padding: 4px 22px 8px;
}

.committee-list li {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e4e8ec;
  font-size: 14px;
}

.committee-list li:last-child {
  border-bottom: none;
}

.committee-list__date {
  color: #888;
  font-size: 13px;
  margin-right: 14px;
}

.committee-list__no {
  color: #25435a;
}

.committee-list a {
  white-space: nowrap;
  font-size: 13px;
  color: #4d9ede;
}

.committee-list li.is-over {
  display: none;
}

.committee-acc.is-expanded .committee-list li.is-over {
  display: grid;
}

.committee-more {
  text-align: center;
  padding: 2px 0 16px;
}

.committee-more button {
  font: inherit;
  font-size: 14px;
  color: #4d9ede;
  background: none;
  border: none;
  cursor: pointer;
}

.committee-note {
  color: #888;
  font-size: 13px;
  margin-top: 22px;
}

.committee-empty {
  text-align: center;
  color: #888;
  padding: 30px 0;
}

/* 検索中は「最新3件」「バックナンバー」の区別をやめて該当分だけ出す */
.committee-minutes.is-searching .committee-year,
.committee-minutes.is-searching .committee-more {
  display: none;
}

.committee-minutes.is-searching .committee-latest {
  margin-top: 24px;
}

.committee-minutes.is-searching .committee-list li.is-over {
  display: grid;
}

.committee-minutes [data-hit="0"] {
  display: none !important;
}

/* --- 関連ページ --- */
.committee-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.committee-links a {
  display: block;
  position: relative;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px 44px 20px 22px;
  color: #25435a;
  transition: opacity .2s;
}

.committee-links a:hover {
  opacity: .75;
}

.committee-links a::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #4d9ede;
  border-right: 2px solid #4d9ede;
  transform: translateY(-50%) rotate(45deg);
}

.committee-links small {
  display: block;
  color: #888;
  font-size: 12px;
}

/* ==========================================================================
    タブレット
============================================================================= */
@media screen and (max-width: 959px) {
  .committee-role__item {
    flex-basis: calc((100% - 28px) / 3);
  }

  .committee-latest {
    gap: 12px;
  }

  .committee-card__head,
  .committee-card__body {
    padding-inline: 16px;
  }

  .committee-card__ttl {
    font-size: 17px;
  }

  .committee-members {
    grid-template-columns: 1fr;
  }

  .committee-search__row {
    flex-wrap: wrap;
  }

  .committee-search__kw {
    flex-basis: 100%;
  }

  .committee-search select {
    flex: 1;
    width: auto;
  }
}

/* ==========================================================================
    スマホ
============================================================================= */
@media screen and (max-width: 767.98px) {
  .committee .page-title .ttl {
    font-size: 26px;
  }

  .committee .page-details section+section {
    padding-top: 60px;
  }

  .committee .hdg-2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .committee-lead {
    font-size: 22px;
  }

  .committee-role {
    gap: 10px;
  }

  .committee-role__item {
    flex-basis: calc(50% - 5px);
  }

  .committee-role__item:last-child {
    flex-basis: 100%;
  }

  .committee-role__icon {
    width: 68px;
    height: 68px;
  }

  .committee-role__icon svg {
    width: 34px;
    height: 34px;
  }

  .committee-role__name {
    font-size: 15px;
  }

  .committee-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .committee-stats__num {
    font-size: 34px;
  }

  .committee-members__box {
    padding: 20px 18px;
  }

  .committee-members__table th,
  .committee-members__table td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
  }

  .committee-members__table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 2px solid #fff;
  }

  .committee-search {
    padding: 18px 16px;
  }

  .committee-search button {
    flex-basis: 100%;
  }

  .committee-latest {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .committee-year {
    margin-top: 32px;
  }

  .committee-acc summary {
    padding: 13px 16px;
    font-size: 15px;
  }

  .committee-list {
    padding: 4px 16px 8px;
  }

  .committee-list li {
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
  }

  .committee-list__meta {
    grid-column: 1;
  }

  .committee-list__ttl {
    grid-column: 1;
    line-height: 1.6;
  }

  .committee-list a {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .committee-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* PC・タブレット：写真とページ内リンクの間を /facility と同じくらい空ける */
@media screen and (min-width: 768px) {
  .committee .page-details {
    padding-top: 115px;
  }
}
