@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');



body,.main{
  background-color: #F4F5F7 !important;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

.header{
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo{
  text-align: left;
}

/* .header .logo-header img {
  width: 100px;
} */

.header p{
  font-size: 12px;
  line-height: 1.4;
}

.header .search-box {
  width: 280px;
  margin: 0;
  margin-left: auto;
  margin-right: 20px;
}

.header .search-box input{
  background: #000;
  color: #fff;
  height: 40px;
}
.sp_header_on_txt{
  display: none;
}
@media screen and (max-width: 834px) {
.header p{
display: none;
}
.sp_header_on_txt{
  display: block;
  background: #000;
  color: #fff;
  font-size: 10px;
  padding: 3px 16px 0;
}
.logo-image {
  padding: 5px 0 10px;
}

.header .search-box{
  max-width: 280px;
  width: 60%;
}

.header .search-box input {
  height: 30px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid;
  border-radius: 0;
}

}


/* 検索・タグBOX */
.top_search_box{
  border: 2px solid #000;
  padding:30px 60px ;
  margin-bottom: 50px;
  text-align: center;
  border-radius: 5px;
}

.top_search_box .search-box {
  margin: 0;
  position: relative;
  margin: 0 auto 30px;
}

.top_search_box__ttl{
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}
.top_search_box__tag_ttl{
  text-align: left;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 2px solid #707070;
}

.top_search_box form{
  border-radius: 50px;
  overflow: hidden;
  
}
.top_search_box input{
  border-radius: 50px;
  padding:10px 30px;
  border: none;
  width: 100%;
}
.top_search_box .search-submit {
  position: absolute;
  right: 3px;
  top: calc(50% - 12px);
  font-size: 20px;
  cursor: pointer;
  border: none;
  color: var(--cocoon-thin-color);
  padding: 0 8px;
  background-color: #000;
  color: #fff;
  height: 100%;
  top: 0;
  right: 0;
  width: 110px;
}

.top_search_box__tag{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 10px auto 0;
  padding: 0;
  gap: 10px;
}

.top_search_box__tag li{
}

.top_search_box__tag li a{ 
  padding: 5px 10px;
  background-color: #E2E2E2;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  border-radius: 15px;
}

.top_search_box--bottom{
  margin-top: 120px;
}
@media screen and (max-width: 834px) {
  .top_search_box--bottom{
    margin-top: 60px;
  }
  .top_search_box{
    padding: 30px;
  }
  .top_search_box__ttl,.top_search_box__tag_ttl{
    font-size: 20px;
  }
}

/* 最新記事 */
.home_top_post_wrap {
margin-bottom: 100px !important;
}

.home_top_post{
  position: relative;
   display: flex !important;
   color: #333;
   text-decoration: none;
   border-radius: 10px;
   overflow: hidden;
}

.home_top_post:hover{
  color: #333;

}

.home_top_post__img{
  width: 50%;
}
.home_top_post__img img{
  height: 100%;
  object-fit: cover;
}
.home_top_post__dsc{
  width: 50%;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
}

.home_top_post__dsc a{
  display: block;
  color: #333;
  text-decoration: none;
}

.home_top_post__ttl{
  font-size: 22px;
  line-height: 1.6;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 20px;
}

.home_top_post__date{
  text-align: right;
}

.home_top_post__tag{
  display: flex;
  list-style: none;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  flex-wrap: wrap;
}

.home_top_post__tag a{
  padding: 5px 10px;
    background-color: #E2E2E2;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    border-radius: 15px;
}
.slick-dots li{
  width: auto !important;
  height: auto !important;
}
.slick-dots li button{
   width: 45px !important;
   height: 8px !important;
   padding: 0 !important;
}

.slick-dots li button:before {
    width: 45px !important;
    background: #000;
    height: 8px !important;
    content: "" !important;
    border-radius: 8px;
}


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

.home_top_post_wrap {
margin-bottom: 50px !important;
}

  .home_top_post{
    display: block !important;
  }
  .home_top_post__img{
    width: 100%;
  }
  
  .home_top_post__dsc{
    width: 100%;

  }
  .home_top_post__ttl{
    margin-bottom: 20px;

  }
.slick-dots{
  display: block !important;
}
}





.pagination-next{
  display: none;
}

.page-numbers{
  border: none !important;
  color: #707070 !important;
}

.pagination .current{
  border-radius: 50% !important;
  background-color: #707070 !important;
  color: #fff !important;
}

.page-numbers.next,
.page-numbers.prev{
  border-radius: 50% !important;
  border: 1px solid !important;

}


.ect-3-columns{
  column-gap: 30px !important;
  row-gap: 30px !important;
}

.entry-card-wrap{
  background-color: #fff;
  padding: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  width: calc((100% - 60px) /3) !important;
}

.entry-card-wrap a{
  display: block;
  color: #333;
  text-decoration: none;
}

.entry-card-content{
  padding: 30px 24px !important;
}

.entry-card_imgWrap {
  width: 100%;
  aspect-ratio: auto 352 / 198;
}

.entry-card_imgWrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-card-content__tag{
  display: flex;
  list-style: none;
  gap: 5px;
  padding: 0;
  margin: 30px 0 0;
  flex-wrap: wrap;
}

.entry-card-content__tag li{
  margin: 0 !important;
}

.entry-card-content__tag a,
.entry-card-content__tag span{
  padding: 5px 10px;
  background-color: #E2E2E2;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  border-radius: 15px;
}

.a-wrap:hover {
  background-color: #fff !important;
}
.entry-card-thumb-image{
  width: 100%;
}
@media screen and (max-width: 834px) {
  .ect-vertical-card .entry-card-wrap {
      width: 49% !important;
  }
  .ect-3-columns {
    column-gap: 2% !important;
}
}

@media screen and (max-width: 520px) {
  .ect-vertical-card .entry-card-wrap {
    width: 100% !important;
}

.entry-card-content {
  padding: 10px !important;
}
}


/* 詳細 */

#breadcrumb{
  background-color: inherit;
}
.post-update{
  display: none;
}



.post_cat a{
  color: #333;
  text-decoration: none;
  border: 1px solid;
  /* padding: 0 10px; */
  padding: 2px 8px;
}

.article-header .cat-label{
  display: none;
}

.post_wrap{
  width: 90% !important; 
  margin: 0 auto !important;
  background-color: #fff !important;
  padding: 50px 10%;
  /* max-width: 900px; */
  max-width: calc(1256px - 29px - 29px) !important;
  border-radius: 10px;
}

.related-entries{
  width: 90% !important; 
  margin: 0 auto !important;
  padding: 30px 0;
  /* max-width: 900px; */
  max-width: calc(1256px - 29px - 29px) !important;
  border-radius: 5px;
}


.entry-card-thumb{
  margin: 0 !important;
} 

.related-entries .entry-card-content__tag{
  margin-top: 10px;
}
.related-entries .entry-card-content__tag li{
  line-height: 1.8;
}


.related-entry-card-wrap {
  background-color: #fff;
  border-radius: 10px;
  padding: 0 !important;
  width: calc((100% - 2%) / 3) !important;
  overflow: hidden;
}

.related-entry-card-content{
  padding: 20px !important;
}

.rect-vertical-card-3 .related-list {
  column-gap:1% !important;
}

.related-entry-card-thumb{
  margin: 0 !important;
}

@media screen and (max-width: 520px) {
  .post_wrap,
  .related-entries{
    width: 100% !important; 
    padding: 30px 5%;
  }

  .rect-vertical-card .related-entry-card-wrap {
      width: 100% !important;
  }

}