/* ブログblog
----------------------------------------------------------------------------------------------- */


.btnarea {
  margin: 50px 0;
}

.btnarea .btn {
  margin: 0 auto;
  position: relative;
  display: table;
  min-width: 245px;
  min-height: 50px;
  line-height: 1;
  padding: 15px 90px 15px 20px;
  border-radius: 50rem;
  background-color: #EEE;
  font-size: 1.6rem;
  white-space: nowrap;
  text-align: center;
  transition: all 0.4s ease-in-out;
  color: #111;
}

.btnarea .btn::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-image: url(../images/icon_arrow_black.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  border-radius: 50%;
  transition: all 0.4s ease-in-out;
}

/*main-article*/
#news-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#news-content main {
  width: 68%;
}

#news-content .column-list {
  border-bottom: 1px solid #bec7d7;
}

#news-content .column-box {
  width: 100%;
  margin: 0;
}

#news-content .column-box a {
  display: block;
  padding: 30px 20px;
  border-top: 1px solid #bec7d7;
}

#news-content .column-box a:hover {
  background-color: #fafafa;
  color: #333;
}

#news-content .column-box .column-box-title {
  margin-bottom: 10px;
  line-height: 1.3;
  font-size: 2.2rem;
  font-weight: normal;
}

#news-content .column-box .news-box-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 0 10px;
  gap: 10px;
}

#news-content .column-box .news-box-bottom .day {
  margin-right: 15px;
}

#news-content .column-box .news-box-bottom .category {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: #e8f5ff;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-main);
}

#news-content .column-box .news-box-detail {
  color: #666;
  font-size: 1.6rem;
}



/*detail*/

.news_detail {
  margin-bottom: 80px;
}

.news_detail .inner a {
  color: #337ab7;
  text-decoration: underline;
  word-wrap: break-word;
}

.news_detail .inner strong {
  padding: 0 3px;
  background-color: #ffe6c8;
  font-weight: 600;
}

.news_detail .inner img {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: inherit;
}

.news_detail .inner blockquote {
  border-left: 3px solid #ccc;
  margin-left: 0;
  padding-left: 15px;
}

.news_detail .inner p {
  margin: 0 0 10px;
  word-break: break-all;
  line-height: 2;
}

.news_detail .inner h1,
.news_detail .inner h2,
.news_detail .inner h3 {
  padding-bottom: 15px;
  font-size: 22px;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-main);
  margin: 30px 0 20px;
}

.news_detail .inner h5,
.news_detail .inner h6 {
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ccc;
  font-size: initial;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}

.news_detail .inner strong {
  background: #FFF79A;
}

.news_detail .inner ul,
.news_detail .inner ol {
  margin: 15px 0;
  padding-left: 0.5rem;
}

.news_detail .inner ul li {
  margin-left: 15px;
  list-style: disc;
}

.news_detail .inner ol li {
  margin-left: 15px;
  list-style: decimal;
}

.news_detail .inner ol li span {
  color: #111;
  font-weight: normal;
}

.news_detail .inner ul li::marker,
.news_detail .inner ol li::marker {
  color: #0b316d;
}

.news_detail .inner table {
  margin: 15px 0;
}

.news_detail .inner table th,
.news_detail .inner table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.news_detail .inner table th {
  background-color: #f1f1f1;
  font-weight: 400;
}

/*タイトル等*/
.news-info {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px dotted var(--color-main);
}

.news-info-bottom {
  display: flex;
  align-items: center;
  gap: 5px 15px;
}

.news-info-bottom .post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-info-bottom .post-categories a {
  display: flex;
  justify-content: center;
  min-width: 140px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: #e8f5ff;
  line-height: 1;
  font-size: 1.4rem;
  color: var(--color-main);
}

.news_catch {
  margin: 40px auto;
  text-align: center;
}

.news_detail_tags {
  margin-top: 80px;
  padding: 25px;
  background-color: #f5f5f5;
}

.news_detail_tags a {
  display: inline-block;
  padding: 5px 8px;
  margin: 5px;
  background-color: #fff;
  border: 1px solid #666;
  border-radius: 5px;
  line-height: 1;
  font-size: 1.6rem;
}

.news_detail_tags a:hover {
  background-color: #ccc;
  color: #111;
}

.news-title {
  position: relative;
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: 3rem;
  letter-spacing: 0.1em;
}



.news-btnarea {
  display: flex;
  justify-content: center;
  padding-top: 50px;
  margin: 100px auto 0;
  border-top: 1px solid #ccc;
}

.news-btnarea .c-btn {
  min-width: 190px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 1.6rem;
}



/*p-nav*/
#news-content .p-navi {
  padding: 20px 0 0;
  margin: 80px 0 0;
  border-top: 1px solid #111;
}

#news-content .p-navi ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#news-content .p-navi ul li {
  max-width: 50%;
}

#news-content .p-navi ul li a {
  position: relative;
  display: block;
  line-height: 1;
  padding: 5px;
  color: #111;
  font-size: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}





/*sideber*/

#sidebar {
  position: relative;
  width: 24%;
}

#sidebar h3 {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-color: #fff;
  padding-right: 10px;
  margin-bottom: 20px;
  color: var(--color-main);
  font-weight: 700;
  font-size: 1.4rem;
}

.sidebar-title {
  margin-bottom: 0;
}

.sidebar-box {
  margin-bottom: 50px;
}


.sidebar-box li {
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #CCC;
}

.sidebar-box li:first-child {
  margin-top: -20px;
}

.sidebar-box li a {
  position: relative;
  display: block;
  padding: 20px 0;
  overflow: hidden;
  line-height: 1.3;
  text-overflow: ellipsis;
  font-size: 1.8rem;
}

.sidebar-box li a::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  translate: 0 -50%;
  width: 7px;
  height: 15px;
  background: url(../images/icon_arrow_gy.png) no-repeat center / contain;
  transition: all 0.2s ease-in-out;
}

.sidebar-box select {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 2px solid #cccccc;
  background: #fff;
  appearance: auto;
  font-size: 16px;
  padding: 8px 5px;
}



.wp-block-archives-dropdown label {
  display: none !important;
}

.calendar_wrap caption {
  margin-top: -40px;
  color: #111;
  font-size: 1.8rem;
  text-align: center;
}

.calendar_wrap table {
  width: 100%;
  font-size: 1.4rem;
}

.calendar_wrap table th {
  border: 1px solid #ccc;
  text-align: center;
}

.calendar_wrap table td {
  border: 1px solid #ccc;
  text-align: center;
}

.calendar_wrap table td a {
  color: #eb6a2c;
  font-weight: 700;
}

.calendar_wrap table thead {
  background-color: #eee;
}

.calendar_wrap .wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
}


.tagcloud a {
  display: inline-block;
  padding: 5px 8px;
  background-color: #f5f5f5;
  border: 1px solid #666;
  border-radius: 5px;
  line-height: 1;
  font-size: 1.6rem !important;
}

.tagcloud a:hover {
  background-color: #ccc;
  color: #111;
}


.screen-reader-text {
  display: none;
}


/*pager*/
.pagenation {
  margin: 50px auto 0;
}

.pagenation ul {
  display: flex;
  align-items: center;
  justify-content: center !important;
}

.pagenation ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 1px;
  line-height: 1;
}

.pagenation ul li.prev,
.pagenation ul li.next {
  background-color: #e8f5ff;
  border-radius: 50%;
}

.pagenation ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  color: #111111;
  font-size: 2rem;
}

.pagenation ul li.active {
  background-color: #fff;
  color: #cccccc;
  font-size: 2rem;
}


.pagenation ul li.prev a {
  position: relative;
  padding-top: 100%;
}

.pagenation ul li.prev a::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  scale: -1 1;
  display: block;
  background: url(../images/icon_arrow_bl.png) no-repeat center / contain;
  width: 8px;
  height: 16px;
}



.pagenation ul li.next a {
  position: relative;
  padding-top: 100%;
}

.pagenation ul li.next a::after {
  content: "";
  position: absolute;
  top: 45%;
  transform: translateY(-45%);
  display: block;
  background: url(../images/icon_arrow_bl.png) no-repeat center / contain;
  width: 8px;
  height: 16px;
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 1199px


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media (max-width: 1199px) {

  #news-content main {
    width: 70%;
  }
}







/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 991px


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 991px) {

  /* blog
-------------------------------------------------------------------------------- */
  #news-content {
    flex-direction: column;
  }

  #news-content main {
    width: 100%;
  }


  .news-title {
    font-size: 2.4rem;
  }



  /*sidebar*/
  #sidebar {
    width: 100%;
    margin-top: 50px;
  }

  .sidebar-box select {
    min-height: 45px;
  }


}

/* end */












/* /////////////////////////////////////////////////////////////////////////////////////////////////////////


--- 767px(スマホ、iPad縦以下)


///////////////////////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (max-width: 767px) {

  /* blog
-------------------------------------------------------------------------------- */

  #news-content {
    flex-wrap: wrap;
  }

  #news-content main {
    width: 100%;
  }


  #news-content .column-list::after {
    display: none;
  }

  #news-content .column-box {
    width: auto;
  }

  #news-content .column-box a {
    padding: 30px 0;
  }

  #news-content .column-box a:hover {
    background-color: #fff;
  }

  #news-content .column-box .column-box-title {
    font-size: 1.8rem;
  }

  #news-content .column-box .news-box-bottom .category {
    font-size: 1.2rem;
  }

  #news-content .column-box .news-box-detail {
    max-height: 45px;
    overflow: hidden;
  }

  #news-content .column-box .news-box-detail .comment {
    line-height: 1.5;
  }




  /*single*/
  .news_detail .inner h1 {
    font-size: 1.8rem;
  }

  .news_detail .inner h2 {
    font-size: 1.8rem;
  }

  .news_detail .inner h3 {
    font-size: 1.8rem;
    margin: 25px 0 15px;
  }

  .news_detail .inner h5,
  .news_detail .inner h6 {
    margin: 25px 0 15px;
    padding-bottom: 8px;
    font-size: 1.6rem;
  }

  .news_detail .inner ul,
  .news_detail .inner ol {
    padding: 0 5px 0;
  }


  .news-title {
    font-size: 2.2rem !important;
  }

  .news-info {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .news-info-bottom {
    flex-wrap: wrap;
  }

  .news-btnarea {
    margin: 50px auto;
  }

  .news-btnarea .c-btn {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.4rem;
  }



  /*sidebar*/
  .sidebar-box li a {
    font-size: 1.4rem;
  }


  /*p-navi*/
  #news-content .p-navi {
    margin: 30px 0;
  }

  #news-content .p-navi ul {
    justify-content: space-around;
  }

  .pagenation {
    margin: 30px auto;
  }

  .pagenation ul li {
    width: 30px;
    height: 30px;
  }

  .pagenation ul li.active,
  .pagenation ul li a {
    font-size: 1.6rem;
  }

  .pagenation ul li.prev a::after,
  .pagenation ul li.next a::after {
    width: 5px;
  }


}

/* end */