/* ホウカンAIオペ コミュニティ
 * Template: page-community.php
 * Last updated: 2026-05-27
 */

.community-body {
  --green-950: #083c31;
  --green-850: #115844;
  --green-700: #18815f;
  --green-500: #25a878;
  --mint: #eaf7ef;
  --mint-2: #f4fbf7;
  --teal: #5ab4b0;
  --coral: #ef8b72;
  --coral-soft: #fff0eb;
  --yellow: #f2cf74;
  --yellow-soft: #fff8df;
  --blue-soft: #edf6fb;
  --ink: #173c35;
  --muted: #5f786f;
  --line: #dcebe4;
  --paper: #ffffff;
  --shadow: 0 22px 62px rgba(17, 88, 68, .13);
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
}

.community-body * { box-sizing: border-box; }
.community-body a { color: inherit; text-decoration: none; }
.community-body img { display: block; max-width: 100%; }
.community-body svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.community-container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.community-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 235, 228, .58);
  backdrop-filter: blur(16px);
}

.community-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.community-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-body img.community-logo__img {
  height: 54px;
  width: auto;
}

.community-logo__mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.community-logo__mark::before,
.community-logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 7px solid var(--green-700);
  border-radius: 12px;
  transform: rotate(45deg);
}

.community-logo__mark::after {
  inset: 7px;
  border-width: 4px;
  border-color: #6dc69b;
  background: #fff;
}

.community-logo__text {
  display: grid;
  color: #162822;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.community-logo__text small {
  margin-top: 4px;
  color: #5d776f;
  font-size: 11px;
  font-weight: 800;
}

.community-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #21483f;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.community-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.community-btn--large {
  min-height: 66px;
  padding: 0 38px;
  font-size: 16.5px;
}

.community-body svg.community-btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.community-btn--primary {
  color: #fff;
  background: var(--green-850);
  box-shadow: 0 16px 34px rgba(17, 88, 68, .22);
}

.community-body .community-btn--primary,
.community-body .community-btn--primary:hover,
.community-body .community-btn--primary:visited,
.community-body .community-btn--coral,
.community-body .community-btn--coral:hover { color: #fff; }

/* 大きいPrimaryボタンに → アイコン */
.community-btn--primary.community-btn--large::after {
  content: "→";
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
}

.community-btn--ghost {
  color: var(--green-850);
  background: #fff;
  border-color: #bed7ca;
}

.community-btn--soft {
  color: var(--green-850);
  background: #fff;
  border-color: #cde6d8;
}

.community-btn--coral {
  color: #fff;
  background: linear-gradient(135deg, #f0725b, #ef9a76);
  box-shadow: 0 16px 34px rgba(239, 139, 114, .26);
}

.community-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .95) 47%, rgba(255, 255, 255, .68) 61%, rgba(255, 255, 255, 0) 77%),
    linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.community-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 9% 83%, rgba(239, 139, 114, .10), transparent 18%),
    linear-gradient(to bottom, transparent 35px, rgba(17, 88, 68, .035) 36px);
  background-size: auto, 100% 36px;
  pointer-events: none;
}

.community-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -92px;
  height: 150px;
  background: rgba(234, 247, 239, .82);
  border-radius: 50% 50% 0 0;
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.community-hero__grid {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: 36px;
  padding: 64px 0 84px;
}

.community-eyebrow,
.community-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--green-850);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
}

.community-eyebrow {
  display: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  letter-spacing: 0;
}

.community-hero h1 {
  margin: 0;
  color: #202a27;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: 0;
}

.community-hero h1 span {
  color: var(--green-700);
}

.community-hero h1 {
  text-wrap: balance;
}

.community-hero__lead {
  width: min(100%, 660px);
  margin: 24px 0 0;
  color: #263c36;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.85;
  font-weight: 500;
}

.community-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.community-hero__subnote {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.community-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.community-hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 26px;
  color: var(--green-850);
  background: rgba(245, 251, 247, .88);
  border: 1px solid rgba(205, 229, 216, .66);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(17, 88, 68, .08);
}

.community-body svg.community-chip__icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--green-700);
}

.community-hero__visual {
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc((1180px - 100vw) / 2);
  right: calc((1180px - 100vw) / 2);
  bottom: 0;
  min-height: 100%;
  overflow: hidden;
}

.community-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.55) 56%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 84%);
  pointer-events: none;
}

.community-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 100% 45%;
  transform: scale(1.24);
  transform-origin: 74% 50%;
}

.community-section {
  padding: 96px 0;
  background: #fff;
}

.community-section--intro {
  padding-top: 112px;
}

.community-section--pale {
  background: linear-gradient(180deg, var(--mint-2) 0%, #fff 100%);
}

.community-section-head {
  width: min(100%, 760px);
}

.community-section-head--center {
  margin: 0 auto 42px;
  text-align: center;
}

.community-section-head h2,
.community-referral h2,
.community-join h2 {
  margin: 12px 0 0;
  color: var(--green-950);
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: 0;
}

.community-section-head p,
.community-referral p,
.community-join p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 800;
}

.community-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.2fr);
  gap: 44px;
  align-items: center;
}

.community-intro .community-section-head h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}

.community-intro .community-section-head {
  grid-column: 1;
  grid-row: 1;
}

.community-intro__text {
  grid-column: 1;
  grid-row: 2;
  max-width: 640px;
  margin: 28px 0 0;
  color: #34564d;
  font-size: 19px;
  line-height: 2;
  font-weight: 500;
}

.community-value-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.community-value-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-value-grid article,
.community-card,
.community-content-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 88, 68, .08);
}

.community-value-grid article {
  min-height: 258px;
  padding: 34px 26px;
  text-align: center;
}

.community-value-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--mint);
  border-radius: 50%;
  padding: 21px;
}

.community-value-icon--teal {
  color: #258d8a;
  background: #e7f5f3;
}

.community-value-icon--coral {
  color: #e77864;
  background: #fff0eb;
}

.community-value-grid h3,
.community-card h3,
.community-content-grid h3 {
  margin: 14px 0 0;
  color: var(--green-950);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 950;
}

.community-value-grid p,
.community-card p,
.community-content-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}

.community-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.community-card {
  min-height: 418px;
  padding: 0 0 24px;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.community-card__photo {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  background: var(--mint);
}

.community-card__photo img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.community-card__photo img { object-position: center 30%; }

.community-card__photo--movie,
.community-card__photo--gift {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.92) 0 34px, transparent 35px),
    linear-gradient(135deg, #dff3ef, #f8fcfa);
}

.community-card__photo--movie span {
  width: 86px;
  height: 122px;
  border-radius: 22px;
  background: #293f46;
  box-shadow: inset 0 0 0 8px #51646b, 0 18px 36px rgba(20, 54, 46, .16);
  position: relative;
}

.community-card__photo--movie span::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 44px;
  border-left: 28px solid #ef8b72;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.community-card__photo--gift {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.9) 0 48px, transparent 49px),
    linear-gradient(135deg, #fff4ee, #fffdf9);
}

.community-card__photo--gift span {
  width: 92px;
  height: 76px;
  border-radius: 0 0 42px 42px;
  background: #f27a64;
  transform: rotate(-45deg);
  position: relative;
}

.community-card__photo--gift span::before,
.community-card__photo--gift span::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 76px;
  border-radius: 42px 42px 0 0;
  background: #f27a64;
}

.community-card__photo--gift span::before {
  left: 0;
  top: -46px;
}

.community-card__photo--gift span::after {
  left: 46px;
  top: 0;
  transform: rotate(90deg);
}

.community-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  color: var(--green-850);
  background: var(--mint);
  border-radius: 50%;
  margin: -30px auto 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 28px rgba(17, 88, 68, .12);
}

.community-card > .community-icon {
  position: absolute;
  top: 149px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.community-card h3 {
  margin-top: 72px;
  padding: 0 20px;
}

.community-card p {
  padding: 0 20px;
}

.community-icon--coral { color: #b95742; background: var(--coral-soft); }
.community-icon--yellow { color: #85600f; background: var(--yellow-soft); }
.community-icon--blue { color: #27607c; background: var(--blue-soft); }
.community-icon--green { color: var(--green-850); background: #e2f4ed; }

.community-icon--img { padding: 0; overflow: hidden; background: #eef8f2; }
.community-body .community-icon--img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.community-initiative__body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
  margin-top: 42px;
}

.community-initiative__statement {
  position: sticky;
  top: 106px;
  padding: 34px;
  background: var(--green-850);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.community-initiative__statement p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  font-weight: 850;
}

.community-initiative-list {
  display: grid;
  gap: 14px;
}

.community-initiative-list article {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 88, 68, .07);
}

.community-initiative-list span {
  display: inline-flex;
  justify-content: center;
  padding: 8px 10px;
  color: var(--green-850);
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.community-initiative-list strong {
  color: var(--green-950);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 950;
}

.community-initiative-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.community-initiative-grid article {
  padding: 28px 18px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 88, 68, .08);
}

.community-body img.community-initiative-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: var(--mint);
  object-fit: cover;
  object-position: center 32%;
}

.community-initiative-grid h3 {
  margin: 6px 0 0;
  color: var(--green-950);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 950;
}

.community-initiative-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 500;
}

@media (max-width: 980px) {
  .community-initiative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.community-referral {
  width: min(100% - 80px, 1280px);
  margin: 0 auto 44px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 238, .98) 0%, rgba(255, 249, 238, .94) 47%, rgba(255, 249, 238, .10) 70%, rgba(255, 249, 238, 0) 100%);
  color: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(17, 88, 68, .10);
}

.community-referral__inner {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 280px;
  padding: 42px 0 42px 54px;
  position: relative;
}

.community-referral .community-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  letter-spacing: 0;
}

.community-referral p {
  width: min(100%, 760px);
  color: #465f56;
  opacity: 1;
  font-weight: 500;
}

.community-referral h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.community-referral .community-btn {
  margin-top: 30px;
}

.community-referral__photo {
  align-self: stretch;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.community-referral__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.35);
  transform-origin: 72% center;
}

.community-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-content-grid article {
  overflow: hidden;
}

.community-content-grid h3,
.community-content-grid p {
  padding: 0 24px;
}

.community-content-grid p {
  padding-bottom: 26px;
}

/* グリッド列数バリアント（原稿リニューアル用） */
.community-card-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.community-initiative-grid--4col,
.community-initiative-grid--3col {
  margin-left: auto;
  margin-right: auto;
}

.community-initiative-grid--4col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1080px;
}

.community-initiative-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
}

/* ⑤ メンバーの声：引用ブロック */
.community-voices__quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 40px auto 0;
}

.community-voices__quotes blockquote {
  margin: 0;
  padding: 26px 30px;
  background: var(--mint);
  border-radius: 12px;
  border-left: 4px solid var(--green-700);
  color: var(--green-950);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}

.community-voices__quotes cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
}

/* ⑦ 主宰者紹介：代表プロフィール行 */
.community-organizer__person {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 88, 68, .14);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.community-content-thumb {
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: .08em;
  background: linear-gradient(135deg, var(--green-850), var(--teal));
}

.community-content-thumb--case {
  background: linear-gradient(135deg, #a76552, var(--coral));
}

.community-content-thumb--tool {
  color: var(--green-950);
  background: linear-gradient(135deg, var(--yellow), #fff4ba);
}

.community-content-thumb { overflow: hidden; padding: 0; }
.community-body .community-content-thumb img { width: 100%; height: 178px; object-fit: cover; }

.community-join {
  padding: 78px 0 0;
  background: #fff;
}

@media (max-width: 980px) {
  .community-pc-br { display: none; }
}

.community-join__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(340px, .72fr);
  gap: 34px;
  align-items: center;
  padding: 44px 170px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.community-join__card > div:not(.community-join__illust) {
  grid-column: 1 / -1;
}

.community-join__card h2,
.community-join__card p {
  text-align: center;
}

.community-join__illust {
  position: absolute;
  bottom: 0;
  width: 168px;
  height: 130px;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  opacity: .92;
}

.community-join__illust--left {
  left: 22px;
  background-image: url(../img/community-generated/footer-illustration-left-laptop-team.png);
}

.community-join__illust--right {
  right: 22px;
  background-image: url(../img/community-generated/footer-illustration-right-wheelchair-care.png);
}

.community-form {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.community-form label {
  display: none;
}

.community-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #f8fcfa;
  border: 1px solid #cfe2d8;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.community-form button {
  width: auto;
  margin-top: 6px;
}

.community-form p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 800;
}

.community-footer {
  color: #d7e8df;
  background: var(--green-950);
}

.community-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  padding: 44px 0;
}

.community-footer__logo img {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}

.community-footer__brand p {
  margin: 18px 0 10px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
}

.community-footer__brand span {
  color: rgba(215, 232, 223, .72);
  font-size: 12px;
  font-weight: 800;
}

.community-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px 24px;
  align-content: start;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.community-pagetop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-850);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.community-pagetop::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: translate(-50%, -35%) rotate(45deg);
}

@media (max-width: 1100px) {
  .community-nav { display: none; }
  .community-hero__grid,
  .community-intro,
  .community-initiative__body,
  .community-join__card {
    grid-template-columns: 1fr;
  }
  .community-value-grid {
    grid-column: auto;
    grid-row: auto;
  }
  .community-initiative__statement {
    position: static;
  }
  .community-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-referral {
    width: min(100% - 48px, 1180px);
  }
  .community-referral__inner {
    grid-template-columns: 1fr;
    padding: 38px;
  }
}

@media (max-width: 760px) {
  .community-container {
    width: min(100% - 32px, 1180px);
  }
  .community-header__inner {
    min-height: 68px;
  }
  .community-logo,
  .community-logo img {
    min-width: 0;
    width: 176px;
  }
  .community-body img.community-logo__img {
    height: auto;
  }
  .community-logo__text {
    font-size: 18px;
  }
  .community-logo__text small {
    font-size: 10px;
  }
  .community-logo__mark {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .community-header__actions .community-btn--ghost {
    display: none;
  }
  .community-header__actions .community-btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }
  .community-hero__grid {
    min-height: auto;
    padding: 54px 0 64px;
    gap: 42px;
  }
  .community-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 48%, rgba(255,255,255,.68) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .community-hero__visual {
    display: none;
  }
  .community-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .community-hero__lead br {
    display: none;
  }
  .community-hero__chips span {
    min-height: 50px;
    padding: 0 16px;
    font-size: 13px;
    gap: 8px;
  }
  .community-body svg.community-chip__icon {
    width: 22px;
    height: 22px;
  }
  .community-section {
    padding: 72px 0;
  }
  .community-intro .community-section-head,
  .community-intro__text,
  .community-value-grid {
    grid-column: auto;
    grid-row: auto;
  }
  .community-value-grid,
  .community-card-grid,
  .community-content-grid {
    grid-template-columns: 1fr;
  }
  .community-card--wide {
    grid-column: auto;
    display: block;
  }
  .community-card--wide h3,
  .community-card--wide p {
    grid-column: auto;
  }
  .community-initiative-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .community-referral__inner,
  .community-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .community-referral {
    width: min(100% - 32px, 1180px);
  }
  .community-referral__inner {
    padding: 28px 22px 0;
    gap: 22px;
  }
  .community-referral__photo,
  .community-referral__photo img {
    min-height: 220px;
  }
  .community-join__card {
    padding: 38px 20px 32px;
  }
  .community-join__illust {
    display: none;
  }
  .community-footer__nav {
    grid-template-columns: 1fr;
  }
}
