.entry-card-group {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  justify-content: space-between;
}

.entry-card-group::after {
  content: '';
  min-width: 360px;
  max-width: 480px;
}

.entry-card {
  padding: 64px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_entry_bg_ph4.png) no-repeat center bottom/contain #f9f9f9;
  border: 1px solid #e7e7e7;
}

.entry-card.nominated {
  background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_nominated_bg.png) no-repeat center bottom/contain #777;
  color: #fff;
  border: 1px solid #777;
}

.entry-card.nominated .card-category,
.entry-card.nominated .municipality-names {
  color: #000;
  background: #ffffff;
}

.entry-card.nominated .detail-button {
  border-color: #ffffff;
}

.entry-card.nominated .detail-button:hover {
  border-color: #000;
}

.entry-card.nominated.gold {
  background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_gold_bg.png) no-repeat center bottom/contain #a27e39;
}

.entry-mv {
  position: relative;
}

.label {
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: bold;
  display: inline-block;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22323.112%22%20height%3D%22193.666%22%20viewBox%3D%220%200%20323.112%20193.666%22%3E%3Cpath%20d%3D%22m323.093%20193.665-161.537-25.473L.019%20193.665H0V.002h323.112v193.666h-.019Z%22%20fill%3D%22%23a68f49%22%2F%3E%3C%2Fsvg%3E") no-repeat center bottom/100% auto;
  min-width: 83px;
  padding: 0.65em 0.2em 0.85em;
  text-align: center;
  position: absolute;
  top: 0;
  right: 2.14067%;
}

.card-category {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  background: #000;
  padding: 12px 16px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.municipality-names {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  background: #000;
  padding: 12px 16px;
  margin-bottom: 32px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.entry-title {
  font-size: 16px;
  font-weight: bold;
  margin-top: 32px;
  line-height: 2;
}

.entry-info {
  margin: 32px 0;
}

.entry-name,
.entry-belongs {
  font-size: 14px;
  font-weight: bold;
  line-height: 2;
}

.detail-button {
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border: 2px solid #000000;
  border-radius: 22px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  transition: 0.3s;
}

.detail-button:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: #000000;
}

.page-title__wrapper {
  position: relative;
  margin: 32px auto 80px 64px;
}

.page-title {
  font-size: 32px;
}

.page-title__hero {
  position: absolute;
  right: 64px;
  bottom: -80px;
}

.entry-menu {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  padding: 16px 40px;
  border: 1px solid #e7e7e7;
  background: #ffffff;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  position: relative;
  z-index: 109;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 105;
}

.entry-menu__list {
  display: flex;
  align-items: center;
}

.entry-menu__list a {
  color: initial;
  padding: 24px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.entry-menu__list a.-area::before, .entry-menu__list a.-category::before {
  content: '';
  display: block;
  width: 84px;
  height: 4px;
  background: #000;
  position: absolute;
  bottom: 0px;
}

.entry-menu__area-items {
  display: flex;
  align-items: center;
}

.entry-menu__area-items li {
  background: #ffffff;
}

.entry-menu__area-items li a {
  color: initial;
  padding: 24px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.entry-menu__area-items li a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 10px;
  background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_entry_updown.png) no-repeat center/cover;
  margin-left: 16px;
}

.entry-menu__category-items {
  display: flex;
  align-items: center;
}

.entry-menu__category-items li {
  background: #ffffff;
}

.entry-menu__category-items li a {
  color: initial;
  padding: 24px;
  display: inline-block;
  position: relative;
  white-space: normal;
}

.entry-menu__category-items li a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 10px;
  background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_entry_updown.png) no-repeat center/cover;
  margin-left: 16px;
}

.entry-menu__to-category, .entry-menu__to-area {
  border-left: 1px solid #e7e7e7;
}

.entry-menu__to-category a, .entry-menu__to-area a {
  color: #777;
  padding: 24px;
  display: inline-block;
  white-space: nowrap;
}

.entry-menu__to-area {
  border-left: none;
  border-right: 1px solid #e7e7e7;
}

.content-organism {
  position: relative;
  padding-bottom: 128px;
}

.entries-section {
  margin: 0px;
  padding: 0px;
}

.section-header {
  padding: 64px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.section-title em {
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.section-title em span {
  font-size: 14px;
}

.section-title-description {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  max-width: 656px;
}

@media only screen and (max-width: 834px) {
  .entry-card-group {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .entry-card-group::after {
    width: calc(50% - 7px);
    max-width: 327px;
    min-width: 180px;
  }
  .entry-card {
    padding: 32px 16px;
  }
  .label {
    font-size: 8px;
    min-width: 44px;
    padding: 0.75em 0.2em 0.9em;
  }
  .card-category {
    margin-top: 10px;
  }
  .municipality-names {
    font-size: 12px;
  }
  .entry-title {
    font-size: 16px;
    margin-top: 8px;
  }
  .entry-info {
    margin: 8px 0 20px;
  }
  .entry-name,
  .entry-belongs {
    font-size: 12px;
  }
  .detail-button {
    font-size: 12px;
    height: 38px;
  }
  .page-title__wrapper {
    max-width: 85%;
    margin: 16px auto 48px;
  }
  .page-title {
    font-size: 24px;
  }
  .page-title__hero {
    display: none;
  }
  .entry-menu {
    padding: 14px 0;
  }
  .entry-menu__list {
    flex-grow: 1;
    position: relative;
  }
  .entry-menu__list a {
    padding: 14px 16px;
    width: 100%;
  }
  .entry-menu__list a.-area::before, .entry-menu__list a.-category::before {
    width: 13px;
    height: 8px;
    background: url(https://img.furusato-tax.jp/img/x/city/files/09367/award2023_entry_dropdown.png) no-repeat center/cover;
    right: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .entry-menu__area-items {
    position: absolute;
    top: 64px;
    left: -1px;
    width: 100vw;
    z-index: 1;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: opacity 0.5s, max-height 0.5s ease;
  }
  .entry-menu__area-items li {
    border: 1px solid #e7e7e7;
  }
  .entry-menu__area-items li a {
    padding: 20px 22px;
  }
  .entry-menu__area-items li a::after {
    position: absolute;
    right: 24px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .entry-menu__area-items.-open {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    max-height: -webkit-fit-content;
    max-height: -moz-fit-content;
    max-height: fit-content;
    opacity: 1;
    z-index: 108;
  }
  .entry-menu__category-items {
    position: absolute;
    top: 64px;
    right: -1px;
    width: 100vw;
    z-index: 1;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: opacity 0.5s, max-height 0.5s ease;
  }
  .entry-menu__category-items li {
    border: 1px solid #e7e7e7;
  }
  .entry-menu__category-items li a {
    padding: 20px 22px;
  }
  .entry-menu__category-items li a::after {
    position: absolute;
    right: 24px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .entry-menu__category-items.-open {
    display: block;
    max-height: -webkit-fit-content;
    max-height: -moz-fit-content;
    max-height: fit-content;
    opacity: 1;
    z-index: 108;
  }
  .entry-menu__to-category a, .entry-menu__to-area a {
    padding: 14px 16px;
  }
  .content-organism {
    padding-bottom: 64px;
  }
  .section-header {
    padding: 32px 16px;
  }
  .section-title {
    font-size: 24px;
  }
  .section-title-description {
    margin-top: 24px;
    font-size: 14px;
  }
}
