@charset "UTF-8";
/*--------------------------
Cover
---------------------------*/
section.cover {
  background-image: url("/wp-content/themes/mitsuibf-theme/images/news_forest/cover.jpg");
  background-size: cover;
  background-position: center;
}

/*--------------------------
news_forest
---------------------------*/
body.news_forest {
  background-image: url("/wp-content/themes/mitsuibf-theme/images/common/bg-green-dot2.png");
  background-repeat: repeat;
}
body.news_forest .wrap {
  width: 1100px;
  margin: 0 auto;
  padding: 70px 0 80px;
}
@media only screen and (max-width: 768px) {
  body.news_forest .wrap {
    width: 100%;
    padding: 30px 5% 80px;
  }
}

.category_links {
  margin-bottom: 70px;
  display: flex;
  gap: 15px;
}
.category_links li {
  width: 100%;
  text-align: center;
}
.category_links li a {
  padding: 17px 10px;
  display: block;
  font-size: 1.8rem;
  color: #101010;
  background: #ffffff;
  border: solid 1px #00954D;
  -webkit-transition-duration: 0.3s;
       -o-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.category_links li a.current {
  color: #ffffff;
  background: #00954D;
}
@media only screen and (min-width: 769px) {
  .category_links li a:hover {
    color: #ffffff;
    background-color: #00954D;
  }
}
@media only screen and (max-width: 768px) {
  .category_links {
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .category_links li {
    width: calc((100% - 20px) / 3);
  }
  .category_links li a {
    font-size: 3.6vw;
  }
}

body.news_forest section.main .news_posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
body.news_forest section.main .news_posts li {
  width: calc(50% - 20px);
  padding: 20px 20px 40px;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}
body.news_forest section.main .news_posts picture {
  height: 276px;
  margin-bottom: 20px;
  display: block;
}
body.news_forest section.main .news_posts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.news_forest section.main .contents h1 {
  text-align: center;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
    -apple-system, BlinkMacSystemFont, Meiryo, Arial, sans-serif;
  font-weight: bold;
  color: #00954d;
  font-size: 1.8rem;
  line-height: 1.8em;
  padding: 0;
  margin-bottom: 16px;
}
body.news_forest section.main .contents p {
  display: flex;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
    -apple-system, BlinkMacSystemFont, Meiryo, Arial, sans-serif;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 1.6em;
  color: #101010;
  margin-top: 8px;
  padding: 0;
}
body.news_forest section.main .contents p span {
  flex-shrink: 0;
}
@media only screen and (max-width: 768px) {
  body.news_forest section.main .contents {
    width: 100%;
  }
  body.news_forest section.main .news_posts picture {
    height: 44.8vw;
  }
  body.news_forest section.main .contents h1 {
    font-size: 4.2vw;
    line-height: 1.4em;
  }
  body.news_forest section.main .contents p {
    font-size: 3.6vw;
  }
  body.news_forest section.main .news_posts {
    gap: 30px;
  }
  body.news_forest section.main .news_posts li {
    width: 100%;
  }
}
body.news_forest section.archive {
  width: 260px;
}
body.news_forest section.archive .arcwrap {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}
body.news_forest section.archive h2 {
  font-family: Roboto, sans-serif;
  font-size: 1.6rem;
  line-height: 1em;
  padding: 10px 10px 10px 18px;
  border-bottom: 1px solid #cccccc;
  position: relative;
}
body.news_forest section.archive h2::before {
  content: "";
  display: block;
  width: 5px;
  height: 16px;
  background-color: #00954d;
  position: absolute;
  left: 5px;
}
body.news_forest section.archive dl dt {
  position: relative;
  padding-left: 40px;
  color: #00954d;
}
body.news_forest section.archive dl dt::before,
body.news_forest section.archive dl dt::after {
  content: "";
  position: absolute;
  top: 50%;
  background: url(../images/common/icon_line.svg) center center/contain
    no-repeat;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  left: 10px;
}
body.news_forest section.archive dl dt::after {
  transform: translate3d(0px, 0px, 0px) rotate(90deg) scale(1);
  transition: transform 0.4s ease;
}
body.news_forest section.archive dl.__open dt::after {
  transform: translate3d(0px, 0px, 0px) rotate(180deg) scale(1);
}
body.news_forest section.archive dl dt {
  font-size: 1.3rem;
  line-height: 1em;
  padding: 10px 10px 10px 30px;
  border-bottom: 1px solid #cccccc;
}
body.news_forest section.archive dl dd {
  display: none;
  transition: all 0.8s ease-in-out;
}
body.news_forest section.archive dl.__open dd {
  display: block;
}
body.news_forest section.archive ul li {
  font-size: 1.3rem;
  line-height: 1em;
  border-bottom: 1px solid #cccccc;
}
body.news_forest section.archive ul li a {
  display: block;
  width: 100%;
  padding: 10px;
  color: #00954d;
}
body.news_forest section.archive ul li a.active {
  font-weight: bold;
}
@media only screen and (max-width: 768px) {
  body.news_forest section.archive {
    width: 100%;
    margin-top: 40px;
  }
  body.news_forest section.archive .arcwrap {
    position: relative;
    top: 0;
  }
  body.news_forest section.archive h2 {
    font-size: 4.8vw;
  }
  body.news_forest section.archive dl dt {
    font-size: 3.6vw;
    padding: 15px 10px 15px 6.2vw;
  }
  body.news_forest section.archive dl dt::before,
  body.news_forest section.archive dl dt::after {
    width: 3.2vw;
    height: 3.2vw;
    margin-top: -1.6vw;
    left: 10px;
  }
  body.news_forest section.archive ul li {
    font-size: 3.6vw;
  }
  body.news_forest section.archive ul li a {
    padding: 15px 10px;
  }
}