/******************************************
                sub-visual
******************************************/
@media screen and (min-width: 800px) {
  .sub-visual {
    width: 100%;
    height: 30vw !important;
    /* background-color: #888; */
    margin: 0 0 200px 0;
    background-image: url(../img/sub-visual/sub-visual3.jpg) !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
  }

  .sub-visual h1 {
    margin: 0 0 0 7.5%;
    width: 42.5%;
    height: 120px;
    /* border-bottom: solid 2px #FFA200; */
    border-left: solid 2px #ffa200;
    font-size: 20px;
    position: absolute;
    /* top: 200px !important; */
    bottom: -60px;
  }
  .sub-visual h1 span {
    position: absolute;
    bottom: 10px;
    left: 50px;
  }
  .sub-visual h1 span:nth-child(1) {
    position: absolute;
    top: 23px;
    left: 50px;
    color: #fff;
    font-size: 45px;
    text-transform: uppercase;
    font-family: yu-mincho-36p-kana, sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}

@media screen and (max-width: 799px) {
  .sub-visual {
    width: 100%;
    height: 250px;
    /* background-color: #888; */
    margin: 0 0 150px 0;
    background-image: url(../img/sub-visual/sub-visual3.jpg) !important;
    background-size: auto 270px;
    background-repeat: no-repeat;
    background-position: top;
  }

  .sub-visual h1 {
    margin: 0 0 0 7vw;
    width: 80vw;
    height: 80px;
    border-left: solid 2px #ffa200;
    font-size: 18px;
    position: absolute;
    bottom: -40px;
  }
  .sub-visual h1 span {
    position: absolute;
    bottom: 10px;
    left: 15px;
  }
  .sub-visual h1 span:nth-child(1) {
    position: absolute;
    top: 20px;
    left: 15px;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-family: yu-mincho-36p-kana, sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}

/******************************************************************
                                blog
******************************************************************/
.sub-title-bar {
  background-color: #888;
  background-color: rgb(162, 197, 162);
  width: 100%;
  height: 2px;
  position: static;
  border-radius: 1px;
}

.blog-under-box .img-box::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 66.6666%;
}
.blog-under-box .img-box img {
  width: 100%;
  height: 100%;
  transition: ease-out 0.3s;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  font-family: "object-fit: cover;";
  margin: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.blog-under-box .img-box {
  position: relative;
  height: fit-content;
}
.blog-under-box .img-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: ease-in-out 0.5s;
}
.blog-under-box:hover .img-box::after {
  opacity: 0.3;
}
.blog-none-text {
  margin: 0 auto 100px;
}
@media screen and (min-width: 1800px) {
  .blog-under-box {
    display: block;
    width: 20%;
    height: fit-content;
    margin: 0 0 30px 0;
  }
}
@media screen and (max-width: 1799px) and (min-width: 1300px) {
  .blog-under-box {
    display: block;
    width: 25%;
    height: fit-content;
    margin: 0 0 30px 0;
  }
}
@media screen and (max-width: 1299px) and (min-width: 1024px) {
  .blog-under-box {
    display: block;
    width: 33.33%;
    height: fit-content;
    margin: 0 0 30px 0;
  }
}
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .blog-under-box {
    display: block;
    width: 50%;
    height: fit-content;
    margin: 0 0 30px 0;
  }
}
@media screen and (min-width: 768px) {
  .blog-under-container {
    width: 85%;
    margin: 0 auto 70px;
  }
  .blog-under-wrapper {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  .blog-under-box .img-box {
    width: 90%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }
  .blog-under-date-box {
    /* width: 90%; */
    margin: 0 auto;
    padding: 15px 0;
    /* background-color: #ccc; */
    border-radius: 0 0 1px 1px;
  }
  .blog-under-date-container {
    display: flex;
    justify-content: start;
    padding: 0px 0 15px;
    width: 90%;
    margin: 0 auto;
  }
  .blog-under-date {
    font-size: 14px;
    display: inline-block;
    border-right: solid 1px #bbb;
    padding: 0 10px 0 0;
    line-height: 1;
    letter-spacing: 0.1rem;
    color: #242424;
  }
  .blog-under-category {
    font-size: 14px;
    margin: 0 0 0 12px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.1rem;
    color: #242424;
  }
  .blog-under-title {
    width: 90%;
    margin: 0 auto;
    color: #242424;
    font-size: 16px;
  }
  .blog-under-text {
    width: 90%;
    margin: 15px auto 0;
    color: #aaa;
    line-height: 1.4;
  }
}
@media screen and (max-width: 767px) {
  .blog-under-container {
    width: 90%;
    margin: 0 auto 70px;
  }
  .blog-under-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  .blog-under-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: fit-content;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
    border-bottom: solid 1px #bbb;
  }
  .blog-under-box .img-box {
    width: 30%;
    overflow: hidden;
    position: relative;
    margin: 0;
  }
  .blog-under-date-box {
    width: 67%;
    margin: 0 0 0 3%;
  }
  .blog-under-date-container {
    display: flex;
    justify-content: start;
    margin: 3px 0 0 0;
  }
  .blog-under-date {
    font-size: 12px;
    display: inline-block;
    border-right: solid 1px #bbb;
    padding: 0 8px 0 0;
    line-height: 1;
    letter-spacing: 0.1rem;
    color: #242424;
  }
  .blog-under-category {
    font-size: 12px;
    margin: 0 0 0 10px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.1rem;
    color: #242424;
  }
  .blog-under-title {
    font-size: 16px;
    margin: 10px 0;
    color: #242424;
  }
  .blog-under-text {
    color: #aaa;
    line-height: 1.4;
  }
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
　　　　　ニュース&イベント 詳細ページ (single.php)
＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.blog-button {
  margin: 50px auto 0;
}
.blog-derivation-title {
  font-size: 30px;
}
.blog-derivation-date-box {
  margin: 6px 0 30px 0;
}
.blog-derivation-date {
  font-size: 14px;
  display: inline-block;
  border-right: solid 1px #bbb;
  padding: 0 15px 0 0;
}
.blog-derivation-category {
  font-size: 14px;
  margin: 0 0 0 15px;
  text-transform: uppercase;
}
.blog-derivation-img-box {
  width: 100%;
  max-width: 1000px;
  position: relative;
  margin: 0 auto 40px auto;
}
.blog-derivation-img-box::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 66.6666%;
}
.blog-derivation-img-box img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  object-fit: cover;
  font-family: "object-fit: cover;";
}
.blog-derivation-text p {
  margin: 0 0 30px 0;
}
@media screen and (min-width: 768px) {
  .blog-derivation-container {
    width: 90%;
    max-width: 750px;
    margin: 0 auto 100px;
  }
  .blog-derivation-title {
    font-size: 30px;
    padding: 0 0 6px 0;
  }
  .blog-derivation-text {
    font-size: 16px;
    line-height: 1.6;
  }
  .blog-derivation-title-box {
    margin: 100px 0 5px;
  }
  .blog-derivation-big-button {
    margin: 70px auto 0;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .blog-derivation-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 70px;
  }
  .blog-derivation-title {
    font-size: 18px;
    margin: 0 0 6px 0;
  }
  .blog-derivation-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .blog-derivation-title-box {
    margin: 100px 0 5px;
  }
  .blog-derivation-big-button {
    margin: 40px auto 0;
    width: 100%;
  }
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
              ブログ表示
 ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
@media screen and (min-width: 768px) {
  .blog-derivation-text *:nth-child(1) {
    margin-top: 0;
  }
  /* .blog-derivation-text *:nth-last-child(1) {
    margin-bottom: 0;
  } */

  .blog-derivation-text p {
    margin: 0 0 1.5em 0;
    line-height: 1.8;
  }

  .blog-derivation-text img {
  }
  .blog-derivation-text .wp-block-embed-youtube {
    width: 100%;
    position: relative;
    margin-bottom: 1.5em;
  }
  wp-block-embed-youtube::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
  }

  wp-block-embed-youtube > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
  }

  .blog-derivation-text h2 {
    margin: 1.6em 0 0.8em;
    font-size: 1.7em;
    line-height: 1.4;
    /* background-color: #bfbfbf; */
    border-top: solid 2px #245b3d;
    border-bottom: solid 2px #245b3d;
    padding: 0.3em 0.5em;
    border-radius: 2px;
    font-weight: 800;

    /* @include mq(sp) {
      font-size: 1.6em;
    } */
  }
  .blog-derivation-text h3 {
    margin: 1.6em 0 0.8em;
    line-height: 1.4;
    font-size: 1.45em;

    /* @include mq(sp) {
      font-size: 1.2em;
    } */
  }

  .blog-derivation-text h1,
  .blog-derivation-text h4,
  .blog-derivation-text h5,
  .blog-derivation-text h6 {
    margin: 2em 0 1em;
    line-height: 1.4;
  }
}
@media screen and (max-width: 767px) {
  .blog-derivation-text *:nth-child(1) {
    margin-top: 0;
  }
  /* .blog-derivation-text *:nth-last-child(1) {
    margin-bottom: 0;
  } */

  .blog-derivation-text p {
    margin: 0 0 1.5em 0;
    line-height: 1.8;
  }

  .blog-derivation-text img {
  }
  .blog-derivation-text .wp-block-embed-youtube {
    width: 100%;
    position: relative;
    margin-bottom: 1.5em;
  }
  wp-block-embed-youtube::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
  }

  wp-block-embed-youtube > div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
  }

  .blog-derivation-text h2 {
    margin: 1.6em 0 0.8em;
    font-size: 1.6em;
    line-height: 1.4;
    /* background-color: #bfbfbf; */
    border-top: solid 2px #245b3d;
    border-bottom: solid 2px #245b3d;
    padding: 0.3em 0.5em;
    border-radius: 2px;
    font-weight: 800;
  }
  .blog-derivation-text h3 {
    margin: 1.6em 0 0.8em;
    line-height: 1.4;
    font-size: 1.2em;
  }

  .blog-derivation-text h1,
  .blog-derivation-text h4,
  .blog-derivation-text h5,
  .blog-derivation-text h6 {
    margin: 2em 0 1em;
    line-height: 1.4;
  }
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
　　　　　ニュース&イベント ページャー
＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.pagination {
  width: 100%;
  margin: 10px auto 0;
  text-align: center;
}
.pagination a {
}
.pagination a i {
}
.current {
  text-decoration: underline;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-numbers {
  padding: 10px;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
　　　　　トップページ用
＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.sub-blog-title {
  position: relative;
  width: 100%;
}
.sub-title-bar.swiper-pagination.swiper-pagination-progressbar {
  margin: 0px 0 50px;
}
.sub-title-bar.swiper-pagination.swiper-pagination-progressbar span {
  background-color: rgb(125, 170, 125);
}
.swiper-wrapper .swiper-slide:nth-last-child(1) {
  margin: 0;
}
.blog-box .img-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  transition: ease-in-out 0.5s;
}
.blog-box:hover {
  transform: translate(10px, 0);
}

.blog-box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
  transition: ease-out 0.3s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.blog-date-box {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px 20px 20px 20px;
  /* background-color: #fff; */
}
.blog-date-container {
  display: flex;
  justify-content: start;
  padding: 0px 0 15px;
  /* width: 90%; */
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
}
.blog-date {
  font-size: 14px;
  display: inline-block;
  border-right: solid 1px #bbb;
  padding: 0 10px 0 0;
  line-height: 1;
  letter-spacing: 0.1rem;
  /* color: #242424; */
  color: #fff;
}
.blog-category {
  font-size: 14px;
  margin: 0 0 0 12px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.1rem;
  /* color: #242424; */
  color: #fff;
}
.blog-title {
  /* width: 90%; */
  width: 100%;
  margin: 0 auto;
  padding: 0 0 15px;
  font-size: 21px;
  /* color: #242424; */
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.blog-text {
  width: 100%;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  /* display: none; */
}
.swiper-button-box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 100px;
  height: 100%;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 25px;
  color: rgb(125, 170, 125);
}
.blog-button {
  margin: 0 auto;
  margin-top: 2.5em;
}

@media screen and (min-width: 800px) {
  .blog {
    margin: 250px 0 0 0;
    overflow: hidden;
    width: 100%;
  }
  .blog-container {
    width: 85%;
    margin: 0 auto 0px;
    overflow: visible;
  }
  .blog .sub-title-box {
    width: 30%;
  }
  .blog-flex-box {
    display: flex;
    justify-content: center;
  }
  .blog-wrapper {
    position: relative;
    margin: 0 auto;
    width: 60%;
    border-top: solid 1px rgb(125, 170, 125);
    padding: 0 0 0 0;
  }
  .blog-box {
    display: block;
    width: 100%;
    height: fit-content;
    margin: 0 0px 0 0;
    border-radius: 2px;
    overflow: hidden;
    border-bottom: solid 1px rgb(125, 170, 125);
    transition: all 0.3s ease-in-out;
    background-color: rgb(162, 197, 162);
  }
  .blog-box .img-box {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  .blog .more-button {
    display: block;
    width: 250px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    margin: 50px auto 70px auto;
    border: solid 1px #040;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #010;
    background-color: rgb(255, 255, 255, 0.3);
  }
}

@media screen and (max-width: 799px) {
  .blog {
    margin: 150px 0 0 0;
    overflow: hidden;
    width: 100%;
  }
  .blog-container {
    width: 90%;
    margin: 0 auto 40px;
    overflow: visible;
  }
  .blog .sub-title-box {
    width: 100%;
  }
  .blog-flex-box {
  }
  .blog-wrapper {
    position: relative;
    margin: 30px auto 10px;
    width: 100%;
    border-top: solid 1px rgb(125, 170, 125);
    padding: 0px 0 0 0;
  }
  .blog-box {
    display: block;
    width: 100%;
    height: fit-content;
    margin: 0 0px 0 0;
    border-radius: 2px;
    overflow: hidden;
    border-bottom: solid 1px rgb(125, 170, 125);
    transition: all 0.3s ease-in-out;
    background-color: rgb(162, 197, 162);
  }
  .blog-title {
    font-size: 18px;
  }
  .blog-box .img-box {
    width: 240px;
    height: 160px;
    overflow: hidden;
    position: relative;
  }
  .blog .more-button {
    display: block;
    width: 250px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    margin: 30px auto 0px auto;
    border: solid 1px #040;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #010;
    background-color: rgb(255, 255, 255, 0.3);
  }
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
　　　　　footer-sns-container
＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.sb_instagram_header.sbi_no_avatar {
  display: none;
}
@media screen and (min-width: 800px) {
  .sns-view-container {
    margin: 0 auto 50px;
    width: 85%;
    display: flex;
    justify-content: space-around;
  }
  .sns-title {
    text-align: center;
    font-family: roboto, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 40px;
    margin: 0 auto 20px;
    color: #fff;
  }
  .sns-box {
    width: 50%;
  }
  .fb-page {
    display: block;
    margin: 0 auto;
  }
  .fb {
    margin: 0 auto;
    padding: 10px 0 0 0;
    width: 80%;
    max-width: 500px;
  }
  #sb_instagram {
    max-width: 620px;
  }
}
@media screen and (max-width: 799px) {
  .sns-view-container {
    margin: 0 auto 20px;
    width: 90%;
  }
  .sns-title {
    text-align: center;
    font-family: roboto, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 30px;
    margin: 0 auto 20px;
    color: #fff;
  }
  .sns-box {
    width: 100%;
  }
  .fb {
    margin: 0 auto;
    padding: 10px 0 0 0;
    width: 100%;
    max-width: 500px;
  }
  .fb-page {
    display: block;
    margin: 0 auto;
  }
  #sb_instagram {
    max-width: 500px;
  }
  .insta-box {
    margin-top: 50px;
  }
}
