/* CSS Document */
.ul-header.eiyou {
  background-image: url("../img/lower_header7.jpg"); }

/* nav-links */
.nav-links {
  height: 13rem; }
  @media screen and (max-width: 575px) {
    .nav-links {
      height: 10rem; } }
  .nav-links div {
    display: inline-block; }
    .nav-links div a {
      display: inline-block;
      font-size: 20px;
      font-size: 2rem;
      font-weight: bold;
      background-color: #508D4E;
      color: #fff;
      border-radius: 2.5rem;
      border: solid 1px #508D4E;
      line-height: 1;
      padding: 1.3rem 2rem;
      transition: 0.3s; }
      @media screen and (max-width: 767px) {
        .nav-links div a {
          font-size: 16px;
          font-size: 1.6rem;
          padding: 1rem 1.5rem; } }
      @media screen and (max-width: 575px) {
        .nav-links div a {
          font-size: 15px;
          font-size: 1.5rem; } }
      .nav-links div a:hover {
        background-color: #fff;
        color: #508D4E; }
  .nav-links .nav-previous {
    float: right; }
    .nav-links .nav-previous a::after {
      font-family: "Font Awesome 5 Free";
      content: "\f0da";
      -webkit-font-smoothing: antialiased;
      display: inline-block;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
      line-height: 1;
      padding-left: 1.5rem;
      font-weight: 900; }
  .nav-links .nav-next {
    float: left; }
    .nav-links .nav-next a::before {
      font-family: "Font Awesome 5 Free";
      content: "\f0d9";
      -webkit-font-smoothing: antialiased;
      display: inline-block;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
      line-height: 1;
      padding-right: 1.5rem;
      font-weight: 900; }
  .nav-links .screen-reader-text {
    display: none; }

#eiyou_hiroba, #news {
  padding: 5rem 0; }
  #eiyou_hiroba ul, #news ul {
    display: flex; }
    @media screen and (max-width: 767px) {
      #eiyou_hiroba ul, #news ul {
        flex-wrap: wrap; } }
    @media screen and (max-width: 575px) {
      #eiyou_hiroba ul, #news ul {
        justify-content: space-between; } }
    #eiyou_hiroba ul li, #news ul li {
      width: 32%; }
      @media screen and (max-width: 767px) {
        #eiyou_hiroba ul li, #news ul li {
          width: 49%;
          margin-bottom: 2rem; } }
      #eiyou_hiroba ul li a, #news ul li a {
        margin: 1rem 1rem 2.5rem 1rem;
        display: block;
        background: #fff;
        filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
        transition: 0.3s; }
        @media screen and (max-width: 767px) {
          #eiyou_hiroba ul li a, #news ul li a {
            margin: 1rem; } }
        @media screen and (max-width: 575px) {
          #eiyou_hiroba ul li a, #news ul li a {
            margin: 0; } }
        #eiyou_hiroba ul li a img, #news ul li a img {
          width: 100%; }
        #eiyou_hiroba ul li a h5, #news ul li a h5 {
          font-size: 18px;
          font-size: 1.8rem;
          font-weight: bold;
          font-family: "Noto Serif JP", serif;
          color: #3D3D33;
          line-height: 1.75;
          padding: 1.5rem;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap; }
          @media screen and (max-width: 991px) {
            #eiyou_hiroba ul li a h5, #news ul li a h5 {
              padding: 1.2rem; } }
          @media screen and (max-width: 575px) {
            #eiyou_hiroba ul li a h5, #news ul li a h5 {
              font-size: 16px;
              font-size: 1.6rem;
              padding: 0.8rem; } }
          #eiyou_hiroba ul li a h5 span, #news ul li a h5 span {
            font-size: 14px;
            font-size: 1.4rem;
            display: block; }
        #eiyou_hiroba ul li a:hover, #news ul li a:hover {
          background: #EBF5EC;
          filter: none; }

.blog-img {
  height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center; }
  @media screen and (max-width: 1199px) {
    .blog-img {
      height: 170px; } }
  @media screen and (max-width: 991px) {
    .blog-img {
      height: 150px; } }
  @media screen and (max-width: 575px) {
    .blog-img {
      height: 110px; } }
  .blog-img img {
    height: 100%;
    object-fit: cover;
    width: 100%; }

.news-show {
  padding: 5rem 0; }
  .news-show a.category-block {
    border-bottom: 1px solid #DADADA;
    padding: 2rem;
    display: block;
    color: #3D3D33; }
    .news-show a.category-block:hover {
      background-color: #EBF5EC;
      transition: 0.3s; }
    .news-show a.category-block h3 {
      color: #1A5319;
      font-size: 25px;
      font-size: 2.5rem;
      font-weight: bold;
      margin-bottom: 0.5rem; }
    .news-show a.category-block p {
      border-bottom: none; }
    .news-show a.category-block .blog-img {
      height: 150px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center; }
      @media screen and (max-width: 575px) {
        .news-show a.category-block .blog-img {
          height: 110px; } }
      .news-show a.category-block .blog-img img {
        height: 100%;
        object-fit: cover;
        width: 100%; }

#sidebar {
  padding: 1rem 1rem 1rem 3rem;
  font-size: 14px;
  font-size: 1.4rem; }
  #sidebar a {
    text-decoration: underline;
    color: #1A5319; }
  #sidebar p {
    border-bottom: 1px solid #000000; }
  #sidebar ul {
    list-style: none;
    padding-left: 0; }
  #sidebar h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    font-size: 1.7rem;
    color: #000; }
  #sidebar .wp-block-calendar #today {
    background-color: #508D4E;
    color: #FFFFFF; }
    #sidebar .wp-block-calendar #today a {
      color: #FFFFFF; }
  #sidebar .wp-block-latest-posts li a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    padding-right: 0.5rem;
    font-weight: 900; }
  #sidebar .wp-block-categories li a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    padding-right: 0.5rem;
    font-weight: 900; }
  #sidebar .wp-calendar-nav {
    margin-bottom: 0.5rem; }
