@charset "utf-8";

body {
  height: 100%;
  background-color: #f0f0f0;
}
.contents {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.product-title {
  display: block;
  margin: 0 auto 100px;
  padding-top: 100px;
  font-family: var(--sans-font);
  font-size: 50px;
  font-weight: 800;
  text-align: center;
}

#filter-list {
  display: flex;
  margin: 0 auto 40px;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#group-filter {
  width: 150px;
  height: 44px;
  padding: 0 12px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  background-color: black;
}

#tag-filter {
  width: 316px;
  height: 44px;
  padding: 0 12px;
  color: black;
  font-size: 18px;
  font-weight: 700;
  background-color: white;
  border: solid 2px black;
}
.content {
  width: 100%;
}

.section-title {
  width: 100%;
  font-family: var(--sans-font);
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  background-color: #01e369;
  margin-bottom: 40px;
  padding: 0 20px;
}

.content-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  column-gap: 23px;
}

.content-item {
  width: calc((100% - 46px) / 3);
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: var(--sans-font);
  margin-bottom: 40px;
}

@media screen and (max-width: 1023px) {
  .section-title {
    width: 90%;
    margin: 0 auto 40px;
  }
  .content-list {
    width: 90%;
    margin: 0 auto;
  }
  .content-item {
    width: calc((100% - 46px) / 2);
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .section-title {
    width: 90%;
    margin: 0 auto 40px;
  }
  #filter-list {
    width: 90%;
    margin: 0 auto 20px;
    gap: 10px;
  }
  .content-list {
    width: 90%;
    margin: 0 auto;
  }
  .content-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

.p-thumbnail {
  width: 100%;
}

.p-title {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans-font);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: pre-wrap;
  margin: 15px auto;
}
.border {
  width: 100%;
  border: solid 1px #01e369;
  margin: 0 auto 15px;
}

.start-date,
.provider,
.item-link {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--gothic-font);
  line-height: 1.4;
}

.item-link {
  color: #333;
}

.item-link::after {
  content: "open_in_new";
  font-family: "Material Icons";
  color: #01e369;
}

.tags {
  margin-top: 10px;
  margin-left: -5px;
  display: flex;
  flex-wrap: wrap;
}

.tags li {
  display: inline-block;
  color: white;
  background: black;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
  padding: 0 1em;
  font-size: 13px;
  font-family: var(--sans-font);
  font-weight: bold;
  margin: 10px 0 0 5px;
  width: calc((100% - 10px) / 2);
  text-align: center;
}

.tags li::before {
  content: "#";
}

#empty-message {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #666;
  flex-grow: 1;
}

#empty-message.active {
  display: flex;
  padding: 200px 0;
}
