@charset "UTF-8";

/* news&blog */
#news #news-list {
  margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
  #news #news-list {
    margin-bottom: 50px;
  }
}

#news #news-list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  #news #news-list ul {
    gap: 20px;
  }
}

#news #news-list ul li {
  width: calc((100% - 90px) / 4);
  position: relative;
}

@media screen and (max-width: 768px) {
  #news #news-list ul li {
    width: calc((100% - 20px) / 2);
  }
}


#news #news-list ul li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#news #news-list ul li a:hover~figure img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#news #news-list ul li a:hover~article {
  opacity: 0.7;
}

#news #news-list ul li figure {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
}

#news #news-list ul li figure img {
  width: 100%;
  -webkit-transition: 1s all ease-out;
  transition: 1s all ease-out;
}

#news #news-list ul li article h3 {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  #news #news-list ul li article h3 {
    font-size: 14px;
  }
}

#news #news-list ul li article p {
  margin-bottom: 10px;
}

#news #news-list ul li article .date {
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  #news #news-list ul li article .date {
    font-size: 12px;
  }
}

#news #pager {
  text-align: center;
}

#news #pager .pager-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  #news #pager .pager-inner {
    font-size: 14px;
  }
}

#news #pager .pager-inner span {
  margin: 40px 7px 0;
  line-height: 1;
  padding: 9px 12px 9px;
  background-color: #64B9BE;
  color: #fff;
}

@media screen and (max-width: 768px) {
  #news #pager .pager-inner span {
    margin: 30px 2px 0;
    padding: 9px;
  }
}

#news #pager .pager-inner a {
  margin: 40px 7px 0;
  display: inline-block;
  padding: 9px 12px 9px;
  background-color: #fff;
  color: #64B9BE;
  line-height: 1;
  border: 1px solid #64B9BE;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  #news #pager .pager-inner a {
    margin: 30px 2px 0;
    padding: 9px;
  }
}

#news #pager .pager-inner a:after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #64B9BE;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-transform: translateX(-101%);
  transform: translateX(-101%);
  -webkit-transition: 0.2s all ease-out;
  transition: 0.2s all ease-out;
}

#news #pager .pager-inner a:hover {
  color: #fff;
}

#news #pager .pager-inner a:hover:after {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

#news .btn-top {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  #news .btn-top {
    margin-top: 30px;
  }
}

#news #detail {
  margin-bottom: 80px;
  margin-top: -40px;
}

@media screen and (max-width: 768px) {
  #news #detail {
    margin-bottom: 40px;
    margin-top: -20px;
  }
}

#news #detail .wrapper-md {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

@media screen and (max-width: 768px) {
  #news #detail .wrapper-md {
    flex-direction: column;
  }
}

#news #detail #main {
  width: calc(100% - 270px);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-right: 60px;
}

@media screen and (max-width: 768px) {
  #news #detail #main {
    width: 100%;
    padding-right: 0;
  }
}

#news #detail #main a {
  text-decoration: underline;
  color: #64B9BE;
}

#news #detail #main a:hover {
  text-decoration: none;
}

#news #detail #main .ttl-area {
  padding-bottom: 20px;
  border-bottom: 6px solid #64B9BE;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  #news #detail #main .ttl-area {
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
}


#news #detail #main .ttl-area h3 {
  font-size: 26px;
  line-height: 1.6;
  color: #333;
}

@media screen and (max-width: 768px) {
  #news #detail #main .ttl-area h3 {
    font-size: 20px;
  }
}

#news #detail #main .ttl-area h3 span {
  display: block;
  margin-bottom: 5px;
}

#news #detail #main .ttl-area h3 span small {
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  color: #9F9F9F;
}

@media screen and (max-width: 768px) {
  #news #detail #main .ttl-area h3 span small {
    font-size: 12px;
  }
}

#news #detail #main .ttl-area+figure {
  margin-top: 0px;
}

#news #detail #main figure {
  margin-top: 20px;
  margin-bottom: 20px;
}

#news #detail #blog_sidemenu {
  width: 270px;
}

@media screen and (max-width: 768px) {
  #news #detail #blog_sidemenu {
    width: 100%;
  }
}

#news #detail #blog_sidemenu .wp-block-heading {
  background: #ededed;
  font-size: 22px;
  padding: 15px 15px;
  margin-bottom: 10px;
  line-height: 1;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  #news #detail #blog_sidemenu .wp-block-heading {
    font-size: 18px;
    padding: 10px 15px;
  }
}

#news #detail #blog_sidemenu .wp-block-latest-posts__list li {
  line-height: 1.8;
}

#news #detail #blog_sidemenu .wp-block-latest-posts__post-title {
  color: #64B9BE;
}

#news #detail #blog_sidemenu .cat-item a {
  color: #64B9BE;
}