@charset "UTF-8";
#container .pagenation_f li span, #container .pagenation_f li .active {
  background-color: #F39800;
}

#container .pagenation_f li a:not(.arrow):hover {
  background-color: #fff;
}

#container #contents .topics {
  background: #d4ebd4;
  padding: 2rem 0;
}

#container #contents .topics_list {
  margin-bottom: calc(clamp(2rem, 0.061rem + 8.25vw, 6.25rem) / 2);
}

#container #contents .topics_list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  grid-gap: 0.5rem 1rem;
  position: relative;
  z-index: 1;
  transition: background-color 0.5s;
}

#container #contents .topics_list a::before, #container #contents .topics_list a::after {
  content: "";
  display: inline-block;
  width: 0%;
  height: 0%;
  position: absolute;
  z-index: -1;
  transition: all 0.5s;
}

#container #contents .topics_list a::before {
  top: 0;
  left: 0;
  border-left: 0px solid #3E3A39;
  border-top: 0px solid #3E3A39;
}

#container #contents .topics_list a::after {
  bottom: 0;
  right: 0;
  border-right: 0px solid #3E3A39;
  border-bottom: 0px solid #3E3A39;
}

#container #contents .topics_list a:not(:last-of-type) {
  margin-bottom: 1rem;
}

#container #contents .topics_list a .time {
  padding: 0.2rem 1rem;
  font-size: clamp(1rem, 0.926rem + 0.23vw, 1.125rem); /*16~18px(520~1400px)*/
  color: #fff;
  background-color: #3E3A39;
  font-weight: normal;
  width: 7rem;
  text-align: center;
}

#container #contents .topics_list a .txt {
  font-size: clamp(0.875rem, 0.801rem + 0.23vw, 1rem);
  width: calc(100% - 8rem);
}

#container #contents .topics_list a:hover {
  background-color: #fff;
}

#container #contents .topics_list a:hover::before, #container #contents .topics_list a:hover::after {
  width: 100%;
  height: 100%;
  border-width: 1px;
}

#container #contents .topics_list a:hover a * {
  color: #3E3A39 !important;
  border-color: #3E3A39 !important;
}

#container #contents .topics_list a:hover a .image_area .img_bg {
  background-color: #fff;
}

#container #contents.topics_detail .topics {
  background-color: #fff;
}

#container #contents.topics_detail .topics .wrapper {
  background-color: #d4ebd4;
  padding: max(2vw, 1rem);
}

#container #contents.topics_detail .topics .wrapper .img_area {
  margin: 0 auto;
  margin-bottom: calc(clamp(2rem, 0.061rem + 8.25vw, 6.25rem) / 2);
  display: flex;
  flex-wrap: wrap;
  grid-gap: 1rem;
}

#container #contents.topics_detail .topics .wrapper figure {
  width: calc(50% - 0.5rem);
  aspect-ratio: 3/2;
  overflow: hidden;
  background-color: #fff;
}

#container #contents.topics_detail .topics .wrapper figure img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

#container #contents.topics_detail .topics .wrapper .text_area {
  padding: 1rem;
  background-color: #fff;
  margin-bottom: calc(clamp(2rem, 0.061rem + 8.25vw, 6.25rem) / 2);
}

#container #contents.topics_detail .topics .wrapper .text_area p {
  font-size: clamp(0.875rem, 0.801rem + 0.23vw, 1rem);
}

#container #contents.topics_detail .topics .wrapper .text_area p {
  font-size: clamp(0.875rem, 0.801rem + 0.23vw, 1rem);
}

#container #contents.topics_detail .topics .wrapper .pdf_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  grid-gap: 0.5rem 1rem;
  margin-bottom: calc(clamp(2rem, 0.061rem + 8.25vw, 6.25rem) / 2);
}

#container #contents.topics_detail .topics .wrapper .pdf_list li {
  width: calc(50% - 0.5rem);
  max-width: 400px;
}
#container #contents.topics_detail .topics .wrapper .pdf_list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #93D04D;
  transition: background-color 0.5s;
  border-radius: 5px;
}
#container #contents.topics_detail .topics .wrapper .pdf_list li a::before {
  content: url(/images/icon_pdf.svg);
  width: 1.25rem;
  height: 1.5rem;
}
#container #contents.topics_detail .topics .wrapper .pdf_list li a:hover {
  background-color: #F39800;
}

/* ----------------------------------------------
  SP設定
  ------------------------------------------------*/
@media all and (max-width: 520px) {
  #container #contents .topics_list a .time {
    padding: 0 0.5rem;
    width: auto;
  }
  #container #contents .topics_list a .txt {
    width: 100%;
  }
  #container #contents.topics_detail .topics .wrapper .pdf_list li {
    width: 100%;
  }
  #container #contents.topics_detail .topics .wrapper figure {
    width: 100%;
  }
}