.date {
  margin-bottom: 30px;
}

.news-wrap {
  background-color: #F8F8F3;
  border-radius: 16px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 30px 40px;
  overflow-wrap: break-word;
}

.news-wrap h1 {
  font-size: 32px;
  line-height: 1.33;

  &::first-letter {
    color: #FF6A30;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 48px;
  }
}

.news-wrap #pageTitle {
  margin-bottom: 50px;
}

.news-wrap h2 {
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 46px;
}

.news-wrap h3 {
  background: #FFE44F;
  font-size: 18px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.news-wrap p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.news-wrap a {
  color: #FF6A30;
  transition: .4s;
  &:hover {
    opacity: .6;
  }
}

/* .news-wrap p + ul {
  margin-top: -20px;
} */

.news-wrap ul {
  padding-left: 1.5em;
}

.news-wrap ul.mappdf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin-bottom: 40px;
  & li {
      list-style: none;
      margin-bottom: 0;
      padding-right: 2em;
      width: calc(100%/4);
  }
}

.trainingbanner_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  & li {
    list-style-type: none !important;
    & a {
      display: block;
    }
  }
  @media screen and (max-width: 768px) {
    align-items: center;
    flex-direction: column;
  }
}

.training-video_block {
  display: flex;
  justify-content: center;
  gap: 50px;
  & .training-video_box {
    max-width: 400px;
    text-align: center;
    & img {
      width: 120px !important;
    }
  }
  & .training-video_btn {
    & a {
      background: #000;
      border-radius: 50px;
      color: #FFE44F;
      display: block;
      padding: 12px 20px;
      position: relative;
      text-align: center;
      transition: .4s;
      max-width: 320px;
      margin-inline: auto;
      &:hover {
        background-color: #FFE44F;
        color: #000;
        opacity: 1;
        text-decoration: none;
      }
    }
    & span {
      font-size: 14px;
      display: block;
    }
  }
  @media screen and (max-width: 768px) {
    align-items: center;
    flex-direction: column;
  }
}

.link_table {
  width: 100%;
  & td {
    border: 1px solid;
    padding: 5px 10px;
    & p {
      margin-bottom: 5px;
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.news-wrap li {
  list-style-type: disc;
  margin-bottom: 5px;

  &:last-child {
    margin-bottom: 0;
  }
}

.news-wrap p img {
  display: block;
  margin-inline: auto;
  max-width: 600px;
  width: 100% !important;
  height: auto !important;
}

.news-wrap p.adb-img {
  margin: -20px 0 0;
}

.news-wrap p.adb-img img {
  display: inline-block;
  max-width: 158px;
}

.news-wrap .docs ul {
  margin-bottom: 0;

  & li {
    margin-bottom: 22px;
    border-bottom: 1px dotted #aeaeae;
    padding: 0 5px 6px;
  }
  & li:last-child {
    margin-bottom: 0;
  }
  & li a {
    color: #000000;
    transition: .4s;
  }
  & li a:hover {
    color: #005bac;
    text-decoration: none;
  }
  & li .title_link {
    margin-right: 10px;
  }
  & li .group {
    display: none;
  }
}

.refmaterials {
  background-color: #fff;
  border: 1px solid #BEBEBE;
  padding: 28px;
  & h2 {
    margin-top: 0;
  }
  & .refmaterials-title {
    background-color: #FFE44F;
    font-size: 20px;
    padding: 2px 10px;
    margin-bottom: 16px;
  }
  & .refmaterials-list-block {
    margin-bottom: 0;
    padding-left: 2em;
  }
  & .refmaterials-list {
    /* list-style-type: disc; */
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
  }
  & .refmaterials-list::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -1.5em;
    width: 7px;
    height: 7px;
    background-color: #000;
    border-radius: 50%;
  }
  & .refmaterials-list:last-child {
    margin-bottom: 0;
  }
  & .refmaterials-list a {
    color: #000;
    display: inline-block;
    padding-right: 2em;
    position: relative;
    transition: .4s;
  }
  & .refmaterials-list a::after {
    content: "";
    background-image: url(/image/icon_pdf.png);
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
  }
  & .refmaterials-list a:hover {
    color: #005bac;
    text-decoration: none;
  }
}

.contentSiteSearch {
  & .docs {
    padding-left: 0;
  }
  & .docs li {
    background-color: #fff;
    border: 1px solid #BEBEBE;
    padding: 20px;
    margin-bottom: 22px;
    list-style-type: none;
  }
  & .docs li a {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    background: #000;
    color: #FFE44F;
    padding: 6px 16px;
    transition: .4s;
  }
  & .docs li a:hover {
    background-color: #FFE44F;
    color: #000;
    text-decoration: none;
  }
  & .docs li .category {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  & .docs li .hit {
    background: #ffec61;
    font-weight: bold;
  }
  & .summary {
    margin-bottom: 16px;
  }
  & .searchInfo {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
  }
  & .docs li h2 {
    margin-top: 0;
    margin-bottom: 4px;
  }
  & .docs li .more-btn {
    margin: 20px auto 0;
  }


}



/* 新着情報一覧 */
.contentSiteSearch {
  
  & .all-articles-titles ul {
    margin-bottom: 30px;
  }

  & .all-articles-titles li {
    align-items: center;
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #C4D2D5;
    position: relative;
  }

  & .all-articles-titles li:last-child {
    margin-bottom: 0;
  }

  & .all-articles-titles a {
    color: #000000;
    padding-left: 180px;
    transition: .4s;
  }

  & .all-articles-titles a:hover {
    color: #FF6A30;
    text-decoration: none;
  }

  & .tab-cont-txt {
    margin-bottom: 0;
  }

  & .tab-cont-date {
    color: #617074;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 0;
  }
  
  & .tab-cat {
    color: #4C91EB;
    border: 1px solid #C4D2D5;
    width: 160px;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    padding: 3px;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-break: strict;
  }
}


.pagination {
  color: #000;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  margin-top: 60px;

  & a,
    span {
      border: 1px solid;
      color: #000;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: .4s;
  }

  & a:hover {
    background-color: #FFE44F;
    text-decoration: none;
  }

  & span {
    background-color: #999;
  }
}


.kyoten-about {
  background: #fbefaa;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 40px;
  & h3 {
    background: initial !important;
    font-size: 17px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
  }
  & ol {
    margin: 10px 0 0;
    & li {
      position: relative;
      padding-left: 1em;
      list-style-type: none;
      margin-bottom: 6px !important;
      &:last-child {
        margin-bottom: 0 !important;
      }
      &::before {
        position: absolute;
        top: 0;
        left: 0;
      }
      &:first-child::before {
        content: "①";
      }
      &:nth-child(2):before {
        content: "②";
      }
    }
  }
}




/* 404 */
.notfound-cont {
  text-align: center;

  & .more-btn.notfound-btn {
    margin: 0 auto 30px;
  }
}




@media screen and (max-width: 800px) {
  .news-wrap ul.mappdf-list {
    & li {
      width: calc(100% / 2);
    }
  }
}


@media screen and (max-width: 600px) {
  .contentSiteSearch {
    & .all-articles-titles a {
      padding-left: 0;
    }
    & .tab-cont-txt {
      margin-bottom: 10px;
    }
    & .tab-cat {
      position: initial;
      border: none;
      border-bottom: 1px solid;
      border-radius: 0;
      color: #617074;
      font-size: 12px;
      padding: 0;
      width: fit-content;
    }
    & .cat-date-block {
      display: flex;
      gap: 16px;
    }
    & .docs li h2 {
      font-size: 22px;
      line-height: 1.4;
      margin-bottom: 6px;
    }
    & .docs li .category {
      font-size: 13px;
    }
  }
  .news-wrap {
    padding: 30px 5%;
  }
  .refmaterials {
    & .refmaterials-list a {
      padding-right: 0;
    }
    & .refmaterials-list a::after {
      content: none;
    }
    & .refmaterials-list::marker {
      display: none;
    }
  }
}


@media screen and (max-width: 500px) {
  .top-news-wrap {
    & .top-news-tab li:not(:first-child) {
      display: none;
    }
  }
}