@charset "UTF-8";

/* ==================================================
   現在のページをナビゲーションで表示
   ================================================== */
/* ==================================================
   ページタイトル
   ================================================== */
.members-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid #e9ece1;
}

.members-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: auto;
  padding: 66px 40px 62px;
}

.members-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--forest);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: calc(clamp(27px, 3.5vw, 40px) * var(--text-scale, 1));
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .075em;
}

.members-hero-inner::before,
.members-hero-inner::after {
  content: "";
  position: absolute;
  right: 75px;
  top: -75px;
  width: 310px;
  height: 310px;
  border: 1px solid #d7dfcd;
  border-radius: 50%;
}

.members-hero-inner::after {
  right: 8px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-color: #e1e6d7;
}

/* ==================================================
   設立説明
   ================================================== */
.members-main {
  max-width: 1120px;
  margin: auto;
  padding: 48px 40px 65px;
}

.members-intro h2 {
  margin: 0 0 22px;
  color: var(--forest);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: calc(25px * var(--text-scale, 1));
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .035em;
}

.members-intro p {
  margin: 0;
  color: #4b5d4c;
  font-size: calc(15px * var(--text-scale, 1));
  line-height: 2.25;
  letter-spacing: .035em;
  overflow-wrap: anywhere;
}

/* ==================================================
   リーフレットへのリンク
   ================================================== */
.members-leaflet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 32px 0 43px;
  padding: 23px 26px;
  border: 1px solid #e0e6d6;
  border-radius: 5px;
  background: #f5f7ef;
}

.members-leaflet p {
  margin: 0;
  color: #67765f;
  font-size: calc(12px * var(--text-scale, 1));
  line-height: 1.9;
}

.leaflet-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 30px;
  min-width: 235px;
  padding: 15px 23px;
  border-radius: 4px;
  background: var(--forest);
  color: #fff;
  font-size: calc(15px * var(--text-scale, 1));
  letter-spacing: .07em;
}

.leaflet-link:hover {
  background: var(--deep);
}

.leaflet-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================================================
   会員のロゴ一覧
   画像は切り抜かず、縦横比を維持
   ================================================== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 122px;
  padding: 23px;
  border: 1px solid #e1e7d9;
  border-radius: 5px;
  background: #fff;
}

.member-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
}

.member-item:has(a):hover {
  border-color: #9db495;
  background: #fafbf7;
}

.member-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

/* 個人の一覧と匿名支援へのお礼 */
.individual-members {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.individual-members h2 {
  margin: 0 0 21px;
  color: var(--forest);
  font-size: calc(16px * var(--text-scale, 1));
  font-weight: 500;
  letter-spacing: .07em;
}

.member-individuals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.member-individuals .member-item {
  min-height: 95px;
  padding: 19px;
}

/* 元画像の明朝体・約20pxの文字に合わせる */
.member-person {
  color: #000;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: calc(20px * var(--text-scale, 1));
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.members-thanks {
  margin: 31px 0 0;
  padding: 19px 23px;
  border-radius: 4px;
  background: #f4f6ee;
  color: #62725b;
  font-size: calc(13px * var(--text-scale, 1));
  line-height: 2;
}

/* ==================================================
   スマートフォン向け調整
   ================================================== */
@media (max-width: 760px) {
  .members-hero-inner {
    padding: 38px 24px;
  }

  .members-hero h1 {
    font-size: calc(clamp(24px, 6.3vw, 31px) * var(--text-scale, 1));
    letter-spacing: .025em;
  }

  .members-hero-inner::before {
    right: -100px;
    top: -90px;
    width: 240px;
    height: 240px;
  }

  .members-hero-inner::after {
    right: -150px;
    top: -125px;
    width: 250px;
    height: 250px;
  }

  .members-main {
    padding: 32px 24px 42px;
  }

  .members-intro h2 {
    margin-bottom: 18px;
    font-size: calc(21px * var(--text-scale, 1));
    letter-spacing: .015em;
  }

  .members-intro p {
    font-size: calc(14px * var(--text-scale, 1));
    line-height: 2.15;
    letter-spacing: .025em;
  }

  .members-leaflet {
    display: block;
    margin: 26px 0 31px;
    padding: 21px 18px;
  }

  .members-leaflet p {
    font-size: calc(11px * var(--text-scale, 1));
    margin-bottom: 17px;
  }

  .leaflet-link {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
  }

  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .member-item {
    min-height: 101px;
    padding: 16px;
  }

  .member-item img {
    max-height: 68px;
  }

  .individual-members {
    margin-top: 27px;
    padding-top: 25px;
  }

  .member-individuals .member-item {
    min-height: 86px;
    padding: 16px;
  }

  /* 2列のカード内に氏名が収まる範囲で20pxを維持する */
  .member-person {
    font-size: calc(clamp(16px, (100vw - 127px) / 12, 20px) * var(--text-scale, 1));
  }

  .member-person--short {
    font-size: calc(clamp(16px, (100vw - 127px) / 10, 20px) * var(--text-scale, 1));
  }

  .members-thanks {
    margin-top: 25px;
    padding: 17px;
    font-size: calc(12px * var(--text-scale, 1));
  }
}

/* 印刷時は各会員の画像を途中で分割しない */
@media print {
  .member-item {
    break-inside: avoid;
  }

  .members-hero-inner {
    padding: 25px 40px;
  }
}


/* スマホの本文・補足説明は16px以上で表示 */
@media screen and (max-width: 760px) {
  .members-intro p,
  .members-leaflet p,
  .leaflet-link,
  .members-thanks {
    font-size: calc(16px * var(--text-scale, 1));
  }
}
