/* Switching blocks between PC and mobile */
@media screen and (max-width: 600px) {
  /* SP */
  section.topics {
    width: 350px;
  }
}

section.topics {
  width: 100%;
}

.entries {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.entry-item {
  display: flex;
  gap: 28px;
}

.entry-date {
  width: 92px;
  color: var(--graycaption);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  flex: 0 0 auto;
}

.entry-category {
  white-space: nowrap;
  width: 100px;
  height: fit-content;
  padding: 6px 8px;
  border-radius: 60px;
  border: 1px solid var(--vivid-orange);
  display: flex;
  justify-content: center;
  color: var(--vivid-orange);
  font-size: 12px;
  font-weight: 700;
  line-height: 115%;
  flex: 0 0 auto;
}

.topic-wrapper {
  display: flex;
  gap: 60px;
  margin: 0 5%;
  padding: 48px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

section.topics h1 {
  color: var(--blackheading);
  font-family: Inter, Helvetica, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  letter-spacing: 1.12px;
}

.icon-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 0px;
}

.topic-description-wrapper {
  flex: 1 1 auto;
}

.topic-description {
  color: var(--blackheading);
  font-family: Noto Sans JP, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  flex: 1 0 auto;
  font-feature-settings: "palt" 1;
}

.topic-description:hover {
  color: var(--vivid-orange);
  cursor: pointer;
}

@media screen and (max-width:1024px) {
  .topic-wrapper{
    flex-direction: column;
    gap:40px;
  }
}

@media screen and (max-width: 768px) {
  .topic-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .entry-item {
    gap: 8px 12px;
    flex-flow: wrap;
    align-items: center;
  }

  .topic-description-wrapper {
    order: 3;
    flex: auto;
    width: 100%;
  }

  .icon-link {
    flex: 1 0 auto;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 600px) {
  section.topics {
    top: 425px;
    flex-direction: column;
    gap: 28px;
    padding: 0 20px;
  }

  section.topics h1 {
    font-size: 26px;
    letter-spacing: 1.04px;
  }

  .entries {
    gap: 24px;
  }

  .entry-item {
    gap: 8px 12px;
    flex-flow: wrap;
    align-items: center;
  }

  .icon-link {
    flex: 1 0 auto;
    justify-content: flex-end;
  }

  .topic-description-wrapper {
    order: 3;
    flex: auto;
  }

  .topic-wrapper {
    flex-direction: column;
    margin: 0;
    padding: 28px;
    gap: 28px;
  }
}
