/* ホームの企画紹介と募集案内。共通ページのスタイルから独立させる。 */
.home-other-projects,
.home-recruitment {
  width: min(92%, 860px);
  margin: clamp(72px, 11vw, 112px) auto 0;
  box-sizing: border-box;
  color: #25444f;
}

.home-other-projects-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.home-other-projects h2,
.home-recruitment h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(36px, 5.8vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.home-other-projects h2 > span,
.home-recruitment h2 > span {
  display: block;
  margin-bottom: 4px;
  font-size: .62em;
  font-weight: 500;
}

.home-projects-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-projects-list > li {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid #b7c8cf;
}

.home-project-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: #5b737e;
  font-size: 11px;
  letter-spacing: .08em;
}

.home-project-label > span {
  color: #25444f;
  font-size: 12px;
  font-weight: 700;
}

.home-project-art {
  display: block;
  width: 100%;
  height: 160px;
  margin: 16px 0 22px;
  object-fit: contain;
  object-position: center;
}

.home-projects-list h3 {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 20px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.025em;
}

.home-other-projects-more {
  margin: 40px 0 0;
  color: #526b75;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* 募集の文字だけを三つ囲み、加入案内は枠の下に一つ置く。 */
.home-recruitment {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-recruitment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 募集広告のように、太めの枠と中央の大きな文字で見せる。 */
.home-recruitment-card {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 196px;
  padding: 24px 16px;
  box-sizing: border-box;
  background: transparent;
  border: 2px solid currentColor;
}

.home-recruitment-card h2 {
  width: 100%;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  text-align: center;
}

.home-recruitment-card h2 > span {
  margin-bottom: 10px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
}

.home-recruitment .recruitment-link {
  align-self: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 11px 18px;
  color: #3e563a;
  background: transparent;
  border: 1px solid #b2c299;
  border-radius: 3px;
  font-size: 14px;
  white-space: nowrap;
}

.home-recruitment .recruitment-link::after {
  content: "→";
  width: auto;
  height: auto;
  border: 0;
  font-size: 20px;
  line-height: 1;
  transform: none;
}

.home-recruitment .recruitment-link:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-recruitment .recruitment-link:focus-visible {
  outline: 2px solid #687d42;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .home-recruitment-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-recruitment-card { min-height: 0; }
  .home-recruitment .recruitment-link { width: 100%; }
}

@media (max-width: 600px) {
  .home-other-projects-heading { display: block; margin-bottom: 28px; }
  .home-projects-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-projects-list > li {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-areas: "label label" "art title" "art description" "art note";
    column-gap: 18px;
  }
  .home-project-label { grid-area: label; margin-bottom: 14px; }
  .home-project-art { grid-area: art; align-self: center; height: 110px; margin: 0; }
  .home-projects-list h3 { grid-area: title; align-self: end; font-size: 17px; }
  .home-other-projects-more { margin-top: 32px; font-size: 12px; }
}

@media (max-width: 360px) {
  .home-projects-list > li { grid-template-columns: 78px minmax(0, 1fr); column-gap: 12px; }
  .home-projects-list h3 { font-size: 15px; }
}
