@charset "UTF-8";
.p-sub-fv {
  background-image: url('../img/fv_items_bg.webp');
}

.p-item-box {
  padding: 80px;
  border-radius: 16px;
  background-color: #ffffff;
}

.p-item-box--pink {
  border: 2px solid #ff849c;
}

.p-item-box--gray {
  background-color: #707070;
  text-align: center;
}

.p-item-box__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
}

/* タグリスト（特に歓迎している寄付品） */
.p-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  list-style: none;
  margin: 20px 0;
}

.p-tag-list li {
  border: 1px solid #ff849c;
  color: #ff849c;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

/* その他寄付いただけるモノ リスト */
.p-item-list__row {
  background-color: #FFF2F3;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.p-item-list__icon {
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 10px;
}

.p-item-list__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p-ng-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.p-ng-tag-list li {
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  min-width: fit-content;
}

@media screen and (min-width: 767px) {
  .p-item-list__header {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .p-item-list__icon {
    width: 15%;
    aspect-ratio: 1 / 1; 
  }

  .p-item-list__info {
    width: 85%;
  }

  .p-item-list__info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  .p-item-list__row {
    padding: 20px;
  }
  .p-item-list__header {
    display: block;
    overflow: hidden;
  }
  .p-item-list__icon {
    width: 20%;
    float: left;
    margin-right: 12px;
    margin-bottom: 4px;
    padding: 5px;
  }
  .p-item-list__info h4 {
    font-size: 16px;
    font-weight: bold;
    min-height: 48px;
    display: flex;
    align-items: center; 
    margin-bottom: 8px;
  }
  .p-item-list__info p {
    clear: both;
    display: block;
    width: 100%;
    font-size: 13px;
    line-height: 1.6;
    margin: 20px auto 0;
  }
  .p-item-box__title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .p-ng-tag-list {
    gap: 8px;
  }
  .p-item-box {
    padding: 40px 20px;
  }
  .p-tag-list li {
    font-size: 14px;
    padding: 6px 10px;
  }
  .p-ng-tag-list li {
    font-size: 14px;
    padding: 8px 12px;
  }
}