@charset "utf-8";

/* ------------------------------
    お知らせ
------------------------------ */


/* pagettl
------------------------------ */
#pagettl {
  padding: 84px 0 20px;
  background: url(../img/news/news_pagettl_bg_pc.png) no-repeat center top 30px;
}

#pagettl img {
  width: 357px;
}

@media screen and (max-width: 768px) {
  #pagettl {
    width: 100%;
    background: url(../img/news/news_pagettl_bg_sp.png) no-repeat center top 6px / 352px auto;
    padding: 40px 0 20px;
    background: none;
  }

  #pagettl::before {
    content: "";
    width: 100%;
    max-width: 368px;
    height: 0;
    padding-top: 32%;
    background: url(../img/contact/contact_pagettl_bg_sp.png) no-repeat center top/ 100% auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
  }

  #pagettl img {
    width: 240px;
  }
}


/* 一覧
------------------------------ */
.contents {
  display: flex;
  justify-content: space-between;
  padding: 66px 0 0;
}

.contents .main {
  width: 792px;
}

.contents .sidemenu {
  width: 263px;
  position: relative;
}

/*list*/
.newslist {
  display: flex;
  flex-wrap: wrap;
}

.newslist .row {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 35px;
}

.newslist .item {
  position: relative;
  width: 47.5%;
}

.newslist .row::before {
  content: "";
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: skew(-23deg);
  background-image: linear-gradient(to right, #009944, #009944 8px, transparent 8px, transparent 16px);
  background-size: 16px 3px;
  background-position: left bottom;
  background-repeat: repeat-x;
}

.newslist .item:first-child::after {
  bottom: auto;
  top: 0;
}

.newslist .item .img img {
  border-radius: 12px;
  object-fit: contain;
  width: 376px;
  height: 250px;
}

.newslist .item .img {
  margin-bottom: 20px;
}

.newslist .item a {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}

.newslist .item p {
  transition: .3s ease;
}

.newslist .item .date {
  width: 120px;
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 0.1em;
}

.newslist .item .cate {
  /* width: 110px; */
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: bold;
  text-align: center;
  background: #009944;
  border-radius: 14px;
  margin-right: 7px;
  margin: 0 4px 3px 0;
  padding-left: 1em;
  padding-right: 1em;
  display: inline-block;
}

.newslist .item .ttl {
  line-height: 1.8;
  display: block;
  width: 100%;
  margin-top: 0.3em;
  font-size: 1.8rem;
}

@media screen and (max-width:768px) {
  .newslist .row {
    flex-direction: column;
  }

  .newslist .item {
    width: 100%;
  }

  .newslist .item .img {
    margin: 0;
  }

  .newslist .item .img img {
    width: 27vw;
    height: 18vw;
    border-radius: 2vw;
  }

  .newslist .item .textwrap {
    width: calc(100% - 31vw);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .newslist .item a {
    padding: 15px 0;
    justify-content: space-between;
  }
  
  .newslist .row::before {
      display: none;
  }

  .newslist .item::before {
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: skew(-23deg);
    background-image: linear-gradient(to right, #009944, #009944 8px, transparent 8px, transparent 16px);
    background-size: 16px 3px;
    background-position: left bottom;
    background-repeat: repeat-x;
  }

  .newslist .row {
    margin-bottom: 0;
    padding-bottom: 0;
    width: 100%;
  }
}

/*pager*/
.pager {
  margin: 50px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pager li {
  font-size: 2.4rem;
  line-height: 1;
}

.pager a,
.pager span {
  font-family: 'Balsamiq Sans', cursive;
  font-size: 2.4rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009944;
  transition: .3s ease;
  border-radius: 50%;
  padding-top: .2em;
  margin: 0 .55em;
}

.pager span {
  background: #FFFF00;
}

.pager .prev a {
  margin-left: 0;
}

.pager .next a {
  margin-right: 0;
}

.pager .prev a,
.pager .next a {
  width: 30px;
  height: 30px;
  display: block;
  text-indent: -1000px;
  overflow: hidden;
  position: relative;
  background: #009944;
  padding: 0;
  margin-bottom: 2px;
  font-size: 2.6rem;
}

.pager .prev a::before,
.pager .next a::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 12px;
}

.pager .prev a::before {
  background: url(../img/common/arw_pager_prev.png) no-repeat;
  margin-left: -5px;
}

.pager .next a::before {
  background: url(../img/common/arw_pager_next.png) no-repeat;
  margin-left: -3px;
}

.gc-pager .wp-pagenavi {
  margin: 10px 0 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
}

.gc-pager .wp-pagenavi a,
.gc-pager .wp-pagenavi span {
  font-family: 'Balsamiq Sans', cursive;
  font-size: 2.4rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009944;
  transition: .3s ease;
  border-radius: 50%;
  padding-top: .2em;
  margin: 0 .55em;
  border: none;
}

.gc-pager .wp-pagenavi a:hover,
.gc-pager .wp-pagenavi span.current {
  background: #FFFF00;
}

.gc-pager .wp-pagenavi span.current {
}

.gc-pager .wp-pagenavi .nextpostslink,
.gc-pager .wp-pagenavi .previouspostslink {
  width: 30px;
  height: 30px;
  display: block;
  text-indent: -1000px;
  overflow: hidden;
  position: relative;
  background: #009944;
  padding: 0;
  margin-bottom: 2px;
  font-size: 2.6rem;
}

.gc-pager .wp-pagenavi .nextpostslink::before {
  background: url(../img/common/arw_pager_next.png) no-repeat;
  margin-left: -3px;
}
.gc-pager .wp-pagenavi .previouspostslink::before {
  background: url(../img/common/arw_pager_prev.png) no-repeat;
  margin-left: -5px;
}

.gc-pager .wp-pagenavi .nextpostslink::before,
.gc-pager .wp-pagenavi .previouspostslink::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 12px;
}

/*sidemenu*/
.contents .sidemenu .mascot {
  position: absolute;
  right: 0px;
  top: -67px;
}

.contents .sidemenu .box {
  margin-bottom: 40px;
}

.contents .sidemenu .box .ttl {
  font-weight: 500;
  font-size: 2rem;
  color: #fff;
  padding: .5em 1em;
  background: #ceac6c;
  border-radius: 10px 10px 0 0;
  color: #52140e;
}

.contents .sidemenu .box .menu {
  background: url(../img/common/bg_yellow.png);
  padding: 0
}

.contents .sidemenu .box .menu li {
  margin: 0 12px;
  border-bottom: 4px dotted #D2BF94;
}

.contents .sidemenu .box .menu li:last-child {
  border-bottom: none;
}

.contents .sidemenu .box .menu li a {
  display: block;
  font-size: 1.8rem;
  color: #000;
  padding: .5em .5em;
}


@media screen and (min-width: 769px) {

  .newslist .item a:hover .date,
  .newslist .item a:hover .ttl {
    color: #ff7800;
  }

  .newslist .item a:hover .cate {
    background: #ff7800;
  }

  .pager li:not(.prev):not(.next) a:hover {
    background: #FFFF00;
  }
}

@media screen and (max-width: 768px) {
  .contents {
    display: block;
    padding: 30px 0 0;
  }

  .contents .main {
    width: 100%;
  }

  .contents .sidemenu {
    width: 100%;
    margin-top: 100px;
  }

  /*list*/

  .newslist .item:first-child::after,
  .newslist .item::before {
    height: 3px;
    background-image: linear-gradient(to right, #009944, #009944 4px, transparent 4px, transparent 8px);
    background-size: 8px 3px;
  }

  .newslist .item a {
    flex-wrap: wrap;
    padding: 15px 10px 15px 0;
  }

  .newslist .item .date {
    width: 5.5em;
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .newslist .item .cate {
    font-size: 1.2rem;
    /* width: 6.6em; */
    border-radius: 10px;
    margin-right: 10px;
  }

  .newslist .item .ttl {
    width: 100%;
    flex: auto;
    font-size: 1.3rem;
    margin-top: .5em;
  }

  .newslist .item .date {
    width: 5.5em;
    font-size: 3vw;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .newslist .item .cate {
    font-size: 2vw;
    /* width: 6.6em; */
    border-radius: 10px;
    margin-right: 1vw;
    margin-bottom: 1vw;
  }

  .newslist .item .ttl {
    width: 100%;
    flex: auto;
    font-size: 1.3rem;
    margin-top: 0;
  }

  /*pager*/
  .pager {
    margin: 30px 0;
    flex-wrap: wrap;
  }

  .pager li {
    font-size: 1.2rem;
  }

  .pager a,
  .pager span {
    font-size: 1.6rem;
    width: 24px;
    height: 24px;
    margin: 0 .2em;
  }

  .pager .prev a,
  .pager .next a {
    width: 20px;
    height: 20px;
    margin-bottom: 1px;
    font-size: 1.4rem;
  }

  .pager .prev a::before,
  .pager .next a::before {
    width: 6px;
    height: 8px;
  }

  .pager .prev a::before {
    background: url(../img/common/arw_pager_prev.png) no-repeat center / contain;
    margin-left: -4px;
  }

  .pager .next a::before {
    background: url(../img/common/arw_pager_next.png) no-repeat center / contain;
    margin-left: -2px;
  }

  .gc-pager {
    margin-top: 10vw;
  }

  .gc-pager .wp-pagenavi a,
  .gc-pager .wp-pagenavi span {
    margin: 0 0.1em;
  }

  /*sidemenu*/
  .contents .sidemenu .mascot {
    width: 100px;
    right: 0;
    top: -54px;
  }

  .contents .sidemenu .box {
    margin-bottom: 20px;
  }

  .contents .sidemenu .box .ttl {
    font-size: 1.4rem;
  }

  .contents .sidemenu .box .menu li {
    margin: 0 6px;
    border-bottom: 2px dotted #D2BF94;
  }

  .contents .sidemenu .box .menu li a {
    font-size: 1.4rem;
  }
}


/* 詳細 article
------------------------------ */
.article {
  width: 792px;
  padding: 66px 0 56px;
}

/*article_header*/
.article .article_header {
  margin-bottom: 60px;
}

.article .article_header .date {
  display: inline-block;
  width: 120px;
  font-size: 2rem;
  line-height: 1.4;
}

.article .article_header .date_wrap {
  display: flex;
  align-items: center;
}

.article .article_header .cate {
  display: inline-block;
  /* width: 110px; */
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: bold;
  text-align: center;
  background: #009944;
  border-radius: 14px;
  margin-right: 4px;
  padding-left: 1em;
  padding-right: 1em;
}

.article .article_header .ttl {
  background: url(../img/common/bg_yellow.png);
  line-height: 1.7;
  font-weight: bold;
  display: block;
  width: 100%;
  margin-top: 1em;
  padding: 1em 2em 1em 1em;
  border-radius: 10px;
  font-size: 2.8rem;
  position: relative;
}

.article .article_header .ttl::before {
  content: "";
  width: 127px;
  height: 74px;
  background: url(../img/news/news_mascot.png) no-repeat center /100% auto;
  position: absolute;
  right: 0px;
  top: -67px;
}

/*article_body*/
.article .article_body h2 {
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.5;
  padding: .7em 1.5em;
  border-radius: 10px;
  background: #009944;
  color: #fff;
  margin: 2.5em 0 2em;
}

.article .article_body h3 {
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.5;
  padding: .8em .6em;
  margin: 2em 0 1.8em;
  border-top: 2px solid #009944;
  border-bottom: 2px solid #009944;
}

.article .article_body p {
  font-size: 1.7rem;
  line-height: 2.58;
  margin-bottom: 50px;
}

.article .article_body p,
.article .article_body li,
.article .article_body figcaption {
  color: #000;
}

.article .article_body hr {
  display: block;
  width: 100%;
  border: 0;
  width: 100%;
  height: 3px;
  transform: skew(-23deg);
  background-image: linear-gradient(to right, #009944, #009944 8px, transparent 8px, transparent 16px);
  background-size: 16px 3px;
  background-position: left bottom;
  background-repeat: repeat-x;
  margin: 60px 0 90px;
}


.article .article_body .midashi {
  font-weight: 500;
  font-size: 2.2rem;
  margin: 1em 0 .5em;
}

.article .article_body figcaption {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: .8em 0;
}

.article .article_body .col2 {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.article .article_body .col2 figure {
  display: block;
  width: 384px;
}

.article .article_body .list {
  padding: 34px 40px;
  margin-bottom: 50px;
  background: url(../img/common/bg_yellow.png);
  border-radius: 10px;
}

.article .article_body .list li {
  font-size: 1.8rem;
  position: relative;
  letter-spacing: -0.05em;
}

.article .article_body .list li + li {
  margin-top: .8em;
}

.article .article_body .list li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #FF7800;
  border-radius: 50%;
  margin-right: .4em;
  position: relative;
  top: 0;
  display: inline-block;
}

.article .article_body p.txt_pdf {
  text-align: center;
  color: #FF7800;
  line-height: 1.6;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 1em;
}

.article .article_body .pdfbtn a {
  display: block;
  width: 320px;
  height: 65px;
  border-radius: 10px;
  box-shadow: 0 4px #d46c00;
  position: relative;
  margin: 0 auto;
}

.article .article_body .pdfbtn a span {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: #ff7800;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.22;
  border-radius: 10px;
  transition: all .3s ease;
}

.article .article_body .link_blank {
  margin: 100px 0;
}

.article .article_body .link_blank a {
  font-size: 2.2rem;
  display: block;
  padding: 1em 1em 1em 140px;
  border: 5px solid #FF7800;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
}

.article .article_body .link_blank a::before {
  content: "";
  width: 140px;
  height: 100%;
  display: block;
  background: url(../img/common/ico_blank.png) no-repeat left 40px center;
  position: absolute;
  left: 0;
  top: 0;
  transition: background .3s ease;
}

.article .article_body .link_blank a p {
  font-size: 2.2rem;
  line-height: 2;
  color: #FF7800;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  margin: 0;
}

.article .article_body .video_wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  margin-bottom: 100px;
}

.article .article_body .video_wrap iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.article .article_body .gmap {
  width: 100%;
  height: 519px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.article .article_body .gmap iframe {
  width: 100%;
  height: 100%;
}

.article .article_body .gmap .mapbtn {
  display: inline-block;
  background: #FF7800;
  height: 38px;
  padding: 0 1.2em;
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  line-height: 38px;
  font-size: 1.8rem;
}

.article .article_body .backbtn a,
.backbtn--tax a {
  padding-right: 0;
  padding-left: 12px;
  background: url(../img/news/backbtn.png) no-repeat;
  margin-top: 70px;
}

/*最新のブログ記事*/
.newslistwrap {
  margin-top: 110px;
}

.newslistwrap h2 {
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1.5;
  padding: .7em 1.5em;
  border-radius: 10px;
  background: #009944;
  color: #fff;
  margin-bottom: 40px;
}

.newslistwrap .newslist .item:first-child::after {
  content: none;
}

/* 作者カード */
.profile-box {
  border: 5px solid #009944;
  border-radius: 10px;
  position: relative;
  padding: 22px 30px 32px 38px;
  margin-top: 90px;
}

.profile-box::before {
  content: '';
  width: 97px;
  height: 66px;
  display: block;
  position: absolute;
  right: 10px;
  top: -65px;
  background: url(../img/news/pf_squirrel.png) no-repeat 0 0;
}

.profile-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-box__body {
  display: flex;
  justify-content: space-between;
}

.profile-box__body .icon img{
  border-radius: 50%;
  border: 1px solid #999999;
  width: 180px;
}

.profile-box__body .txt {
  width: 510px;
}

.profile-box__body .txt h3 {
  font-size: 3.2rem;
  padding: 0;
  margin: 0 0 10px;;
  font-weight: bold;
  border: none;
  letter-spacing: .065em;
  line-height: 1.4em;
}

.profile-box__body .txt p {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .profile-box {
    padding: 20px 10px;
  }
  .profile-box__body {
    flex-direction: column;
  }
  .profile-box__body .icon {
    text-align: center;
    margin-bottom: 10px;
  }
  .profile-box__body .icon img {
    max-width: 180px;
  }
  .profile-box__body .txt {
    width: 100%;
  }
  .profile-box__body .txt h3 {
    text-align: center;
    font-size: 2.2rem !important;
  }
  .follow-me.sp {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 187px;
  }
}

@media screen and (min-width: 769px) {
  .article .article_body .pdfbtn a:hover span {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }

  .article .article_body .backbtn a:hover,
  .backbtn--tax a:hover {
    background: url(../img/news/backbtn_hover.png) no-repeat;
  }
}

@media screen and (max-width: 768px) {
  .article {
    width: 94%;
    padding: 30px 0;
  }

  /*article_header*/
  .article .article_header {
    margin-bottom: 30px;
  }

  .article .article_header .date {
    width: 6em;
    font-size: 1.6rem;
  }

  .article .article_header .cate {
    /* width: 80px; */
    border-radius: 12px;
    margin-right: 1vw;
    margin-bottom: 1vw;
    font-size: 2vw;
  }

  .article .article_header .ttl {
    border-radius: 5px;
    font-size: 1.8rem;
  }

  .article .article_header .ttl::before {
    width: 63px;
    height: 37px;
    top: -34px;
  }

  /*article_body*/
  .article .article_body h2 {
    font-size: 1.8rem;
    padding: .7em 1em;
    border-radius: 5px;
  }

  .article .article_body h3 {
    font-size: 1.6rem;
  }

  .article .article_body p {
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 25px;
  }

  .article .article_body hr {
    height: 3px;
    background-image: linear-gradient(to right, #009944, #009944 4px, transparent 4px, transparent 8px);
    background-size: 8px 3px;
    margin: 30px 0 50px;
  }


  .article .article_body .midashi {
    font-size: 1.8rem;
  }

  .article .article_body figcaption {
    font-size: 1.2rem;
  }

  .article .article_body .col2 {
    margin-top: 30px;
    display: block;
  }

  .article .article_body .col2 figure {
    width: 100%;
  }

  .article .article_body .col2 figure + figure {
    margin-top: 30px;
  }

  .article .article_body .list {
    padding: 20px 5%;
    margin-bottom: 25px;
    border-radius: 5x;
  }

  .article .article_body .list li {
    font-size: 1.4rem;
  }

  .article .article_body .list li::before {
    width: 10px;
    height: 10px;
  }

  .article .article_body p.txt_pdf {
    font-size: 1.4rem;
  }

  .article .article_body .pdfbtn a {
    width: 260px;
    height: 45px;
    border-radius: 5px;
    box-shadow: 0 3px #d46c00;
  }

  .article .article_body .pdfbtn a span {
    font-size: 1.8rem;
    border-radius: 5px;
  }

  .article .article_body .link_blank {
    margin: 50px 0;
  }

  .article .article_body .link_blank a {
    font-size: 1.6rem;
    display: block;
    padding: 1em 1em 1em 50px;
    border: 3px solid #FF7800;
    border-radius: 5px;
  }

  .article .article_body .link_blank a::before {
    width: 50px;
    background: url(../img/common/ico_blank.png) no-repeat center / 30px auto;
  }

  .article .article_body .link_blank a p {
    font-size: 1.6rem;
  }

  .article .article_body .video_wrap {
    margin-bottom: 50px;
  }

  .article .article_body .gmap {
    height: 250px;
    margin-bottom: 25px;
  }

  .article .article_body .gmap .mapbtn {
    height: 30px;
    padding: 0 1em;
    line-height: 30px;
    font-size: 1.4rem;
  }

  .article .article_body .backbtn a,
  .backbtn--tax a {
    padding-right: 0;
    padding-left: 12px;
    background: url(../img/news/backbtn.png) no-repeat center / 100% auto;
    margin-top: 40px;
  }

  /*最新のブログ記事*/
  .newslistwrap {
    margin-top: 50px;
  }

  .newslistwrap h2 {
    font-size: 1.8rem;
    padding: .7em 1em;
    border-radius: 5px;
    margin-bottom: 0;
  }
}
