@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.sidebar .widget_popular_entries,
.sidebar .widget_tag_cloud,
.sidebar .widget_categories{
  background: #eff8ff;
  padding: 0 20px;
  margin-bottom: 50px;
}
.sidebar .widget_tag_cloud,
.sidebar .widget_categories{
  padding-bottom: 20px;
}
.sidebar h3 {
  text-align: center;
  background-color: inherit;
}
.sidebar .widget_popular_entries h3,
.sidebar .widget_tag_cloud h3,
.sidebar .widget_categories h3{
  position: relative;
  color: #6c6c6c;
  font-size: 14px;
  margin: 0;
  padding-bottom: 10px;
}
.sidebar .widget_popular_entries h3:before {
  position: absolute;
  content: 'POPULAR';
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: #0000cd;
  font-size: 40px;
  display: block;
}
.sidebar .widget_tag_cloud h3:before {
  position: absolute;
  content: 'TAGS';
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: #0000cd;
  font-size: 40px;
  display: block;
}
.sidebar .widget_categories h3:before {
  position: absolute;
  content: 'CATEGORY';
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: #0000cd;
  font-size: 40px;
  display: block;
}
.border-partition .a-wrap:first-of-type {
  border-top: none;
}
.border-partition .a-wrap:last-child {
  border-bottom: none;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px 5px 0 0;
}
.ect-vertical-card .entry-card-wrap {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.24);
  border-radius: 5px;
  padding: 0;
  width: 48%;
  margin-bottom: 30px;
}

@media screen and (max-width: 480px){
.ect-vertical-card .entry-card-wrap {
  width: 100%;
  margin-bottom: 30px;
}

}

.ect-vertical-card .entry-card-wrap .entry-card-content {
  padding: 3%;
}

.tag-link {
  border: none;
  color: #0000cd;
  position: relative;
}
.tag-link:before {
  content: '#';
}
.tag-link .fa {
  display: none;
}

/*****トップページバナー *****/
.ect-2-columns .widget_text{
  width: 100%!important;
  margin-bottom: 30px;
}
.ect-2-columns .widget_text .sp {
  display: none;
}
.ect-2-columns .widget_text .pc {
  display: block;
}
@media screen and (max-width: 480px){
.ect-2-columns .widget_text .sp {
  display: block;
}
.ect-2-columns .widget_text .pc {
  display: none;
}
}
.cat-label {
  border: none;
  top: 1em;
  left: -0.5em;
  font-size: 14px;
  padding: 2px 10px;
}

.search-box {
  margin: 1em 0 4em;
}



/****header ****/
.logo-menu-button img {
  margin: 5px auto 0;
}
.header-container-in.hlt-top-menu {
  padding: 15px;
}
#menu-item-36461 a,
#menu-item-36607 a{
  border-radius: 3px;
  background-color: rgb(0, 0, 205);
  box-shadow: 0px 5px 20px 0px rgba(8, 53, 108, 0.35);
/*  width: 223px;*/
  height: 46px;
  color: #fff!important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu-item-36461 a:hover,
#menu-item-36607 a:hover{
  background-color: #fff;
  box-shadow: 0px 5px 20px 0px rgba(8, 53, 108, 0.8);
/*  width: 223px;*/
  height: 46px;
  color: #0000cd!important;
  display: flex;
  justify-content: center;
  align-items: center;
}
#menu-item-36496,
#menu-item-36610{
  width: 80px;
}
#menu-item-36496 a .caption-wrap .item-label,
#menu-item-36610 a .caption-wrap .item-label{
  font-size: 10px;
  position: relative;
  height: 52px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  padding-top: 10px;
  
}
#menu-item-36496 a .caption-wrap .item-label:before,
#menu-item-36610 a .caption-wrap .item-label:before{
  font-family: 'FontAwesome';
  font-weight: 900;
  content: '\f005';
  position: absolute;
  font-size: 30px;
  top: -13px;
}
.navi-in > ul {
  justify-content: flex-end;
}
.navi-in > ul li {
  height: auto;
}

.menu-close-button {
  text-align: right;
  margin-right: 10px;
}

ul.slick__main {
  padding-left: 0;
}
ul.slick__main li.slick-slide {
  margin: 0 10px;
  position: relative;
}
ul.slick__main li.slick-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height:20%;
  background-color: rgba(255,255,255,.8);
  padding: 2% 10%;
}
@media screen and (max-width: 600px){
ul.slick__main li.slick-slide .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height:35%;
  background-color: rgba(255,255,255,.8);
  padding: 2% 10%;
}
}
ul.slick__main li.slick-slide a {
  color: #333;
}
ul.slick__main li.slick-slide a:hover {
  color: #0000cd;
}
ul.slick__main img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
ul.slick__main ul {
  padding-left: 0;
}
/*****記事ページ *****/
.article .toc {
  width: 100%;
  border-top: 8px solid #0000cd;
  border-color: rgba(0,0,205,1);

}
.toc-title {
  text-align: left;
  padding: 2px 16px 2px 0;
}

.article h2 {
  border-bottom: solid 2px #d1d1d1;
  position: relative;
  background-color: inherit;
  color: #000;
  padding: 15px 0;
}

.article h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #0000cd;
  bottom: -2px;
  width: 20%;
}
.related-entry-main-heading {
  color: #0000cd;
  display: block;
  font-size: 40px;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1;
}
.related-entry-sub-heading {
  color: #d1d1d1;
  text-align: center;
  display: block;
  font-size: 14px;
}

.sns-share-buttons {
  justify-content: flex-end;
}

.sns-share.ss-col-6 a {
  width: 50px;
  margin-left: 8px;
}
.sns-share.ss-high-and-low-lc a .button-caption.button-caption {
  display: none;
}
.sns-share.ss-high-and-low-lc a .social-icon {
  font-size: 27px;
}


.navi-entry-cards img {
  width: 100%;
}

#carousel {
  display: none;
}

/***** footer *****/
#footer {
  padding: 0;
}
.footer-bottom {
   display: flex;
   justify-content: center;
   flex-direction: column;
   padding-top: 30px;
   padding-left: 0;
   padding-right: 0;
   padding-bottom: 0;
}
.footer-bottom-logo {
  float: none;
  position: static;
  padding-bottom: 20px;
}
.footer-bottom-content {
  background: #041b39;

}
#footer-in.wrap {
  width: 100%!important;
}
.navi-footer-in > .menu-footer {
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo-image span {
  width: 90%;
}
.logo-image span img {
  width: 100%;
}

@media screen and (max-width: 834px){
.navi-footer-in > .menu-footer {
  flex-direction: column;
  }
}
.navi-footer-in > .menu-footer li {
  border-left: none;
}
@media screen and (max-width: 834px){
.navi-footer-in > .menu-footer li.menu-item {
  width: 100%;
  margin-bottom: 10px;
  }
}
@media screen and (max-width: 480px){
.navi-footer-in > .menu-footer li.menu-item {
  width: 100%;
  }
}
.navi-footer-in > .menu-footer li:last-child {
  border-right: none;
}

.copyright {
   background: #fff;
   color: #000;
   text-align: center;
   padding-top: 10px;
   padding-bottom: 10px;
   margin-top: 0;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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