/* 支援プロジェクトCSS */
.project__head {
  border-top: 2px solid #2a3844;
  border-bottom: 2px solid #2a3844;
  padding-block: 8px;
  position: relative;
  @media screen and (min-width: 768px) {
    margin-top: 64px;
  }
}
/* タイトル */
.project__head::before {
  content: "プロジェクト名";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  height: 36px;
  padding: 0 16px;
  position: absolute;
  top: -36px;
  left: 0;
}
.project__head::after {
  content: "";
  display: block;
  width: 9px;
  height: 18px;
  border-bottom: 18px solid #000;
  border-left: 9px solid #000;
  border-top: 18px solid transparent;
  border-right: 9px solid transparent;
  position: absolute;
  top: -36px;
  left: 135px;
}
.project__heading {
  font-size: 24px;
  font-weight: bold;
}
/* 支援内容概略 */
.project__info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-block: 16px;
}
.project__dl {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  dt {
    white-space: nowrap;
    &::after {
      content: "/";
    }
  }
}
/* イメージ画像 */
.project__img-wrapper {
  display: grid;
  margin-bottom: 24px;
  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
  }
  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
  }
}
.project__img {
  aspect-ratio: 3 / 2;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* セクション */
.project__section {
  &:not(:last-of-type) {
    margin-bottom: 48px;
  }
}
.project__section-title {
  border-left: #4fb7e2 5px solid;
  border-bottom: #4fb7e2 2px solid;
  padding-left: 8px;
  padding-bottom: 4px;
  font-size: 20px !important;
}
/* 解決案 */
.project__solution {
  background-color: #4fb7e2;
  padding: 16px 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1em;
  .-heading {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: #fff100 3px solid;
    border-radius: 50%;
    display: grid;
    place-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff100;
    margin-bottom: 0;
  }
  .-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
  }
}
/* セクション内テキストエリア */
.project__contents {
  strong {
    font-weight: bold;
  }
  h4 {
    font-size: 18px;
    font-weight: bold;
    &::before {
      content: "◎";
    }
  }
  ul {
    margin-bottom: 1em;
    li {
      padding-left: 16px;
      position: relative;
      &::before {
        content: "・";
        position: absolute;
        top: 0;
        left: 0;
      }
    }
  }
}
/* 番号付きリスト */
.project__number-list {
  counter-reset: number;
  li {
    position: relative;
    font-weight: bold;
    padding-left: 40px;
    &::before {
      content: "（" counter(number) "）";
      counter-increment: number;
      position: absolute;
      top: 0;
      left: 0;
    }
  }
}
/* 支援バナーエリア */
.project__donation-wrapper {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.project__donation {
  width: minmax(300px, 100%);
}
/* 支援に関する情報 */
.project__subsection-title {
  background-color: #4fb7e2;
  color: #fff;
  font-size: 18px;
  padding: 4px 8px;
  margin-bottom: 8px;
}
.project__block {
  &:not(:last-of-type) {
    margin-bottom: 24px;
  }
}
.project__bg {
  background-color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
}
/* 振込についてボタン */
.project__btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1em;
}
.project__btn {
  display: inline-block;
  background-color: #4fb7e2;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 9999px;
  text-align: center;
  strong {
    color: #fff100;
  }
  &:hover {
    color: #fff;
    opacity: 0.8;
  }
}

/* アーカイブページ用 */
