@charset "UTF-8";

/* ----------------------------------------------------
  お知らせ/採用情報（CGI部分） 基本幅
---------------------------------------------------- */
.pager {
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  height: 60px;
}

.pager li {
  margin: 0;
}

/* CGI関連で使用するボタン */
.btn02 a {
  position: relative;
  display: inline-block;
  border-radius: 3px;
  border: 1px solid #111111;
  font-size: 18px;
}

.btn02.back a,
.btn02.before a {
  padding: .8em 2em .8em 3em;
}

.btn02.next a,
.btn02.prev a {
  padding: .8em 3em .8em 2em;
}

.btn02.back a::before,
.btn02.before a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f053";
  position: absolute;
  display: inline-block;
  transition: all .3s;
  left: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
}

.btn02.next a::after,
.btn02.prev a::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f054";
  position: absolute;
  display: inline-block;
  transition: all .3s;
  right: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
}

.btn02 a:hover {
  text-decoration: none;
}

.btn02.next a:hover::after,
.btn02.prev a:hover::after {
  right: 1em;
}

.btn02.back a:hover::before,
.btn02.before a:hover::before {
  left: 1em;
}


.topics_wrap ol {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: top;
}

.topics_wrap ol:before {
  content: "";
  display: block;
  width: 23%;  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
  order: 1;  /* 疑似要素beforeの順番を必ず指定する*/
}

.topics_wrap ol:after {
  content: "";
  display: block;
  width: 23%;  /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
}

.topics_wrap ol li {
  /*margin-right: 1em;*/
  margin-bottom: 1em !important;
  flex-basis: 23%;
  list-style-type: none;
  border: 1px solid #E9EAEA;
  border-radius: 3px;
}

.topics_wrap ol li a {
  display: block;
}

.topicsImage span {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.topicsImage span::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  padding-bottom: 60%;
}

.topicsImage span img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.topicsDetail {
  background-color: #fff;
  text-align: left;
  padding: 1.5em 1.5em 2em;
}

.topicsDetail .topicsDate {
  border-bottom: 1px solid #E9EAEA;
  margin-bottom: 1em;
}

.topicsDetail .topicsTitle {
  min-height: 5em;
  font-size: 18px;
}

.topics .date {
  margin-bottom: 1em;
  text-align: left;
  margin-top: 1em;
}

.topics .msg {
  font-size: 18px;
}

.topics .img-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.topics .img-list li {
  flex-basis: 32%;
}

.topics .img-list li img {
  width: 100%;
}

.topics .pdf-list {
  margin-top: 1em;
  margin-bottom: 1em;
}

.topics .link,
.topics .pdf {
  text-align: right;
  text-decoration: underline;
}

.topics .pdf a {
  text-decoration: underline;
}

.topics .video-list {
  margin-top: 3em;
}

.topics .youtube {
  width: 90%;
  text-align: center;
  margin-bottom: 20px;
  display: block;
  text-align: center;
  /*width: 80%;*/
  margin: 0 auto;
  height: 0;
  overflow: hidden;
  /*padding-bottom: 45%;*/
  padding-bottom: 49%;
  position: relative;
}

.topics .youtube iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.cf:after {
  content: "";
  display: block;
  clear: both;
}

.topics .comment {
  margin: 0 auto;
}

.p-sub #bread {
  display: block;
}
.p-sub #bread li {
  display: inline-block;
}

/* ====================================================

  1279px以下

==================================================== */
@media screen and (max-width: 1279px) {

}

/* ←1279px以下終了 */
/* ====================================================

  1024px以下

==================================================== */
@media screen and (max-width: 1024px) {
  /* ----------------------------------------------------
  お知らせ　1024px幅以下
---------------------------------------------------- */
  .topics_wrap ol li {
    flex-basis: 30%;
  }
}
/* ====================================================

  896px以下

==================================================== */
@media screen and (max-width: 896px) {
  /* ----------------------------------------------------
  お知らせ　896px幅以下
---------------------------------------------------- */
  .topics_wrap ol li {
    flex-basis: 48%;
    margin-right: 1%;
  }
  .topics .img-list {
    display: block;
  }
  .pager {
    display: block;
    height: auto;
  }
  .pager li {
    margin-bottom: 1em;
    max-width: none;
  }
  .pager li a {
    display: block;
  }
  .img-list li {
    margin-bottom: 1rem;
  }
}
/* ←896px以下終了 */

/* ====================================================

  560px幅以下

==================================================== */
@media screen and (max-width: 560px) {
}

/* ←560px以下終了 */
/* ====================================================

  480px幅以下

==================================================== */
@media screen and (max-width: 480px) {
  /* ----------------------------------------------------
  お知らせ  480px幅以下
---------------------------------------------------- */
  .topics_wrap ol li {
    flex-basis: 100%;
    margin-right: 0;
  }
}
/* ←480px以下終了 */
/* ====================================================

  320px以下

==================================================== */
@media screen and (max-width: 320px) {
}
/* ←320px以下終了 */
