.nofoodloss-trivia2 {
  --red: #ff4c4c;
  --blue: #0069cc;
}
.nofoodloss-trivia2, .nofoodloss-trivia2::after,
.nofoodloss-trivia2 *,
.nofoodloss-trivia2 *::after {
  all: unset;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 {
    font-size: 5.1282051282vw;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 {
    font-size: 2vw;
  }
}
@media (min-width: 1001px) {
  .nofoodloss-trivia2 {
    font-size: 20px;
  }
}
.nofoodloss-trivia2 {
  display: grid;
  grid-row-gap: 2em;
  justify-items: center;
  padding-top: 3.7em;
  background: url(../images/head_bg.jpg) no-repeat center top;
  color: black;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 {
    background-size: 120% 11.6em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 {
    background-size: 100% 11.6em;
  }
}
.nofoodloss-trivia2 img {
  max-width: 100%;
  vertical-align: bottom;
  overflow: clip;
}
.nofoodloss-trivia2 a {
  cursor: pointer;
}
.nofoodloss-trivia2 .title {
  display: grid;
  justify-content: center;
}
.nofoodloss-trivia2 .title h1 {
  display: grid;
  grid-row-gap: 0.5em;
  justify-items: center;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .title h1 {
    width: 15em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .title h1 {
    width: 18.7em;
  }
}
.nofoodloss-trivia2 .title h1 a {
  width: 85%;
}
.nofoodloss-trivia2 .title h1 > img {
  width: 100%;
}
.nofoodloss-trivia2 .categories {
  display: grid;
  grid-row-gap: 1.5em;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .categories {
    padding: 0 1em;
  }
}
.nofoodloss-trivia2 .category {
  display: grid;
  grid-row-gap: 1em;
  position: relative;
  box-sizing: border-box;
  margin-inline: auto;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category {
    padding: 0 1em 1em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category {
    width: 47.5em;
    padding: 0 1.5em 1.5em;
  }
}
.nofoodloss-trivia2 .category::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.nofoodloss-trivia2 .category[data-category="1"]::before {
  background-color: #c4e6ff;
}

.nofoodloss-trivia2 .category[data-category="2"]::before {
  background-color: #c7f285;
}

.nofoodloss-trivia2 .category[data-category="3"]::before {
  background-color: #ffcccc;
}

@media (max-width: 640px) {
  .nofoodloss-trivia2 .category::before {
    height: calc(100% - 1.2em);
    border-radius: 1em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category::before {
    height: calc(100% - 1.5em);
    border-radius: 1.5em;
  }
}
.nofoodloss-trivia2 .category > * {
  position: relative;
}
.nofoodloss-trivia2 .category h2 {
  display: flex;
  justify-content: center;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category h2 img {
    height: 2.4em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category h2 img {
    height: 3em;
  }
}
.nofoodloss-trivia2 .category h3 {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}
.nofoodloss-trivia2 .category h3 img {
  height: 2.3em;
}
.nofoodloss-trivia2 .category > p {
  margin-inline: auto;
  color: #0d750b;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category > p {
    font-size: 0.7em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category > p {
    font-size: 0.8em;
    text-align: center;
  }
}
.nofoodloss-trivia2 .category > p br {
  display: none;
}
.nofoodloss-trivia2 .category .contents {
  display: grid;
  grid-gap: 1em;
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents {
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    justify-items: center;
  }
}
.nofoodloss-trivia2 .category .contents .content {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.6em;
  border-radius: 0.2em;
  background: white;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents .content {
    padding: 0.8em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents .content {
    padding: 1em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category[data-category="1"] .contents .content:nth-child(3) {
    grid-column: 2/4;
  }
}
.nofoodloss-trivia2 .category .contents .content h4 {
  color: var(--red);
  font-weight: bold;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents .content h4 {
    font-size: 0.8em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents .content h4 {
    font-size: 0.9em;
  }
}
.nofoodloss-trivia2 .category .contents .content figure {
  display: flex;
  justify-content: center;
}
.nofoodloss-trivia2 .category .contents .content figure img {
  border-radius: 1px;
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents .content figure img {
    width: 15em;
  }
}
.nofoodloss-trivia2 .category .contents .content p {
  font-size: 0.7em;
}
.nofoodloss-trivia2 .category .contents .content .link {
  display: grid;
  padding-top: 0.5em;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents .content .link {
    justify-items: center;
    grid-row-gap: 0.3em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents .content .link {
    align-items: center;
    grid-auto-flow: column;
    grid-column-gap: 0.5em;
    justify-content: center;
    margin-top: auto;
  }
}
.nofoodloss-trivia2 .category .contents .content .link h5 {
  color: var(--red);
  font-size: 0.6em;
}
.nofoodloss-trivia2 .category .contents .content .link a {
  display: flex;
  column-gap: 0.2em;
  align-items: center;
  color: var(--blue);
  font-weight: bold;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents .content .link a {
    font-size: 0.65em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents .content .link a {
    font-size: 0.7em;
  }
}
.nofoodloss-trivia2 .category .contents .content .link a::before {
  flex-shrink: 0;
  content: "";
  width: 1.2em;
  aspect-ratio: 1/1;
  background: url(../images/link_icon.svg) no-repeat center center/contain;
}
.nofoodloss-trivia2 .category .contents .content .link a:hover {
  text-decoration: underline;
}
.nofoodloss-trivia2 .category .contents2 {
  display: grid;
  grid-gap: 1em;
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents2 {
    grid-template-columns: repeat(6, 1fr);
  }
}
.nofoodloss-trivia2 .category .contents2 .content {
  display: grid;
  grid-row-gap: 0.4em;
  justify-items: center;
  align-content: start;
  border-radius: 0.2em;
  background: white;
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents2 .content {
    padding: 0.8em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents2 .content {
    padding: 1em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents2 .content {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .nofoodloss-trivia2 .category .contents2 .content figure img {
    height: 6.5em;
  }
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents2 .content figure img {
    height: 8em;
  }
}
.nofoodloss-trivia2 .category .contents2 .content h4 {
  color: var(--red);
  font-size: 0.8em;
  font-weight: bold;
}
.nofoodloss-trivia2 .category .contents2 .content p {
  font-size: 0.7em;
}
@media (min-width: 641px) {
  .nofoodloss-trivia2 .category .contents2::before {
    content: "";
    grid-column: 1;
    grid-row: 2;
  }
}
