@charset "UTF-8";




/* ---------------------------------- お知らせナビ ---------------------------------- */


.news-flex {
  display: flex;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

#news-nav {
  position: relative;
  width: 23%;
  max-width: 15em;
  height: 100vh;
  min-height: 50vw;
  padding-top: 6em;
  font-size: min(1.82vw , 18px);
}
#news-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  min-height: 100vw;
  background-color: rgba(255, 255, 255, 0.5);

}


#news-inner.is-fixed {
  position: fixed;
  top: 70px;       
  z-index: 90;  
  width: 20%;
  padding-top: 0;
  max-width: 15em; 

  overflow-y: auto;
  scrollbar-width: thin;
}
#news-inner.is-fixed::-webkit-scrollbar {
  width: 5px;
}
#news-inner.is-fixed::-webkit-scrollbar-thumb {
  background: #b9b9b9;
  border-radius: 10px;
}


.nav-block {
  margin-bottom: 3em;
}


#news-nav h3 {
  text-align: center;
  font-size: 1em;
  padding: .5em 0;
  background: linear-gradient(
    to right, 
    #1F5483 0%, 
    #ffffff 100%
  );
}


#news-nav ul {
  position: relative;
  margin-top: 1em;
}

#news-nav ul li {
  position: relative;
  width: 90%;
  padding: .5em 0;
  margin: 0 auto;
}
#news-nav ul li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #B9B9B9;
}


#news-nav ul li a {
  display: block;
  width: 100%;
  /* max-width: 9em; */
  margin-left: auto;
  padding-right: 1em;
  padding-left: 2em;
}

#news.sec  {
  width: 77%;
  padding: 0;
}






/* ---------------------------------- 投稿一覧 ---------------------------------- */


#news .sec-in {
  padding-top: 6em;
}

#news ul {
  position: relative;
  margin-bottom: 1em;
}

#news .blur.blur_4 {
  top: 0;
  right: 0;
  transform: translate(45% , -55%);
}

#news ul .news-1 {
  display: flex;
  gap: 1em;
}

#news ul .date {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #B9B9B9;
}

#news ul .category span {
  border: 1px solid #34771E;
  background-color: #fff;
  color: #34771E;
  line-height: 1;
  padding: .25em .5em;
  font-size: min(1.56vw , 14px);
}

#news ul li {
  position: relative;
  padding-bottom: 1em;
  padding-top: 1em;
  padding-right: 3em;
  border-bottom: 1px solid #E0D7C1;
  transition: .2s ease all;
  background: #F6F2EC url(../images/arrow_3.webp) no-repeat 95% / .5em;
  text-align: left;

  opacity: 0;
  transform: translateY(1em);
  transition: .5s ease all;
}
#news ul li.active {
  opacity: 1;
  transform: translateY(0);
}

#news ul li:hover {
  background-color: #E9E6D4;
}

#news ul li.title-only {
  background: #F6F2EC;
}


#news ul li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* ---------------------------------- 投稿内容 ---------------------------------- */



.type-post {
  width: 77%;
  padding-top: 6em;
  font-size: min(1.82vw, 18px);
  text-align: center;
}

.article-in {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

}

.type-post .date-tags {
  text-align: left;
}


.type-post h1 {
  padding-bottom: 1em;
  text-align: left;
  font-size: 1.3em;
  font-family: "Zen Old Mincho", serif;
  border-bottom: 1px #D9D9D9 solid;
}

 .news-1 {
  display: flex;
  gap: 1em;
}

 .news-1 p.date {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #B9B9B9;
  margin-bottom: 0 !important;
}

.news-1 .category span {
  border: 1px solid #34771E;
  background-color: #fff;
  color: #34771E;
  line-height: 1;
  padding: .25em .5em;
  font-size: min(1.56vw , 14px);
}
 .news-1 p.category {
  margin-bottom: 0 !important;
}

.wp-block-image {
  width: 90%;
  height: auto;
  max-width: 600px;
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  background-color: #eee;
}

.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.entry-content {
  max-width: 700px;
  margin: 0 auto;
}


.article-footer {
  display: none;
}





/* パンくずリスト */
#content .fa-home:before {
  display: none;
}

#content .fa-fw {
  display: none;
}

#content .breadcrumb .sp {
  display: inline-block;
}

#content .breadcrumb {
  text-align: left;
  margin: 1em auto;
  font-size: min(1.82vw , 14px);
}

#content .breadcrumb a {
  font-size: 1em;
}

#content .breadcrumb-caption {
  margin: 0;
}




/* 一覧ボタン */
.news-btn {
  position: relative;
  display: inline-block;
  padding: .8em 3.5em .8em 3em;
  background-color: #224969;
  background: #224969 url(../images/arrow_2.webp) no-repeat 90% 60% / 2em;
  text-align: center;
  transition: .2s ease all;
  border: 1px solid #224969;
}
.news-btn a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.news-btn:hover {
  background: #fff url(../images/arrow_2-b.webp) no-repeat 95% 60% / 2em;
}

.news-btn p {
  color: #fff;
  line-height: 1;
  margin-bottom: 0 !important;
}
.news-btn:hover p {
  color: #224969;
}

.c_none {
  margin-bottom: 2em;
}

#news .sec-in {
  text-align: center;
}







#news-nav ul li.is-active-nav,
#news-nav ul li.current-cat {
  background-color: #224969;
  transition: all 0.2s ease;
}

#news-nav ul li.is-active-nav a,
#news-nav ul li.current-cat a {
  color: #fff !important; 
  font-weight: bold;
}

#news-nav ul li.is-active-nav::after,
#news-nav ul li.current-cat::after {
  background-color: transparent;
}




.archive-more-btn-wrap {
  text-align: center;
  margin-top: 1em;
}

#archive-more-btn {
  display: inline-block;
  padding: .2em 1.5em;
  font-size: 0.85em;
  font-family: "Montserrat", sans-serif;
  color: #1F5483;
  background-color: #fff;
  border: 1px solid #1F5483;
  border-radius: 50vw;
  cursor: pointer;
  transition: all .2s ease;
}

#archive-more-btn:hover {
  background-color: #1F5483;
  color: #fff;
}

/* ボタンが開いた（アクティブ）状態の時の文字切り替え用 */
#archive-more-btn.is-open {
  background-color: #eee;
  border-color: #b9b9b9;
  color: #666;
}

#archive-list li.hide-archive {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none; 
  transition: all 0.3s ease-out;
}

#archive-list li.hide-archive.is-show {
  display: block;
  max-height: 4em;
  opacity: 1;
  padding-top: .5em;
  padding-bottom: .5em;
}

#news.sec .entry-title,
#news.sec .archive-title {
  font-size: 1.3em;
}



/* ---------------------------------- ページネーション ---------------------------------- */


.pagination {
  font-size: min(1.82vw , 18px);
  gap: .5em;
}

.pagination a,
.pagination span {
  font-size: 1em;
  font-family: "Zen Old Mincho", serif;
}

#news .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 3em;
  aspect-ratio: 1 / 1;
  margin: 0;
}


#news .nav-links {
  display: flex;
  gap: .5em;
}















@media screen and (max-width: 768px){


  .news-flex {
    display: block;
  }

  #news-nav {
    width: 90%;
    max-width: 600px;
    height: auto;
    min-height: initial;
    margin: 0 auto;
    font-size: min(3.75vw , 16px);
  }

  #news-nav::after {
    display: none;
  }

  #news-nav h3 {
    position: relative;
  }
  #news-nav h3::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    width: 1em;
    height: 1px;
    background-color: #333;
  }
  #news-nav h3::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translate(-.5em , -50%) rotate(0);
    width: 1px;
    height: 1em;
    background-color: #333;
    transition: .2s ease all;
  }
  #news-nav h3.is-active::after {
    transform: translate(-.5em , -50%) rotate(90deg);
  }

  #news-nav ul li {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    transition: all 0.3s ease-out;
  }

  #news-nav ul li.is-show {
    display: block;
    max-height: 4em;
    opacity: 1;
    padding-top: .5em;
    padding-bottom: .5em;
  }

  .archive-more-btn-wrap {
    display: none;
  }

  .nav-block {
    margin-bottom: 1em;
  }

  #news.sec {
    width: 100%;
  }

  #news .sec-in {
    padding: 3em 0 6em 0;
  }


  /* 投稿内容 */

  .type-post {
    width: 100%;
    font-size: min(3.75vw , 16px);
    margin-bottom: 0 !important;
    padding: 3em 0 6em 0;

  }
  
  #content .breadcrumb {
    font-size: .8em;
  }


  /* ページネーション */
  .pagination {
    font-size: min(3.75vw , 16px);
  }

}

