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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 全体 */
#navi-in {
  display: none;
}
/* 最後にこのcssが適用されることになる問題への対応 */
body{
  background-color: white;
}
.header-container-in{
  height: 50px;
}
.featured-article-in-appeal-area-custom-under-header-container a{
  color: white;
}
.popular-article-in-appeal-area-custom-under-header-container a{
  color: black;
}
.content{
  margin-top: 120px;
}
.content-in{
  background-color: white;
}
.pagination-next a{
  background-color: black;
  color: white;
  border: 1px solid black;
}
@media screen and (max-width: 480px){
  .header-in-nav-hamberger{
    top: 10px;
  }
  .header-in-title{
    padding-top: 0px;
  }
  .header-container .header-container-in .header-in-title a{
    transform: rotate(-5deg) translateY(-6px);
  }
  .appeal-area-custom-under-header-container{
    height: 130px;
  }
  .content{
    margin-top: 190px;
  }
}





/* シングルページ */
.single-post article .koukoku-rule{
  /* background-color: #f3f3f3; */
  /* background-color: rgba(224,240,255,.5); */
  /* color: rgba(0, 0, 0, 0.8); */
  border: .5px solid black;
  padding: 10px;
  line-height: 1;
}
.single-post article .koukoku-rule p{
  margin-bottom: 0px;
  font-size: .8rem;
}
.single-post article .koukoku-rule p a{
  text-decoration: none;
  border-bottom-width: 0px;
  color: rgba(0, 0, 0, 0.8);
}
.single-post article h2 {
  background-color: #f3f5fc;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 7rem;
  margin-bottom: 2rem;
  border-left: solid var(--magazine1) 15px;
}
.single-post article h3 {
  background-color: rgba(0, 0, 0, 0.05);
  /* color: white; */
  border-left: solid black 8px;
  border-top: none;
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 5rem;
}
.single-post article h3::before{
  content: "";
  margin-right: 5px;
}
.single-post article h4{
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}
.article .marker-under{
  background: linear-gradient(transparent 60%,#f7f700 60%)
}
.single-post article blockquote {
    position: relative;
/*     padding: 15px 10px 5px; */
    box-sizing: border-box;
    /* background: #f3f3f3; */
    background-color: rgba(240, 240, 240, .1);
    margin-bottom: 4rem;
}
.single-post article blockquote:before{
    display: inline-block;
    position: absolute;
    top: -8px;
    left: 9px;
    padding: 5px 10px;
    text-align: center;
    content: "QUOTE";
    color: white;
    font-family: sans-serif;
    font-size: 16px;
    background-color: black;
}
.single-post blockquote::after{
	content: "";
}

.single-post blockquote p {
    position: relative;
    padding: 0;
    margin: 10px 0;
    z-index: 3;
    line-height: 1.7;
}
.single-post blockquote cite {
    display: block;
    text-align: right;
    color: rgb(100, 100, 100);
    font-size: 0.9em;
    font-style: italic;
}
.single-post blockquote cite a{
  color: black;
}
.single-post article .speech-balloon blockquote{
  background-color: white;
  padding: 1px 5px 1px;
  border: none;
}
.single-post article .speech-balloon blockquote::before{
  content: "";
  background-color: transparent;
}
.single-post .internal-blogcard.cf:after{
  content: '続きを読む \00bb';
}

.single-post .author-name a{
  color: black;
}
.single-post #pager-post-navi a{
  border-top: none;
  border-bottom: none;
}
.single-post .wp-block-button{
  overflow: hidden;
}
.single-post .wp-block-button a{
  border-radius: 99px;
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  position: relative;
  transition: .2s;
}
.single-post .wp-block-button a:before{
  animation: shine 3s ease-in-out infinite;
  background-color: #fff;
  content: " ";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: -180px;
  transform: rotate(45deg);
  width: 30px;
}
.single-post .article ol:not(#toc *),
.single-post .article ul:not(#toc *){
	counter-reset: item;
    list-style-type: none;
    background-color: rgba(224,240,255,.5);
    padding: 1em;
}


.single-post .wp-block-button a:hover{
  color: white;
  opacity: .5;
}
.single-post .slider .kyujin_slide a.kyujin_card {
  color: black;
}
/* カテゴリーページ */
.category .entry-card-snippet{
  font-size: 1rem;
}

/* サイドバー */
.sidebar h3{
  background-color: white;
	margin-bottom:0;
}
.sidebar #categories-2 {
	margin-bottom:8px;
}

/* フロントページ */
.home .entry-card-snippet{
  /* font-size: 1rem; */
}
.home .ect-3-columns .entry-card-wrap:nth-of-type(1) .entry-card .entry-card-content{
	/* width: inherit; */
}
.home .ect-3-columns .entry-card-wrap:nth-of-type(1) .entry-card .entry-card-thumb{
	/* width: inherit; */
}

/* 広告掲載ポリシー */
.page-id-5357 main#main.main,
.page-id-5266 main#main.main{
  width: 80%;
  margin: 0 auto;
}
.page-id-5357 .content .wrap,
.page-id-5266 .content .wrap{
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}
.page-id-5357 .entry-content ul,
.page-id-5266 .entry-content ul{
  background-color: rgba(224,240,255,.5);
  padding-top: 10px;
  padding-bottom: 10px;
}
.page-id-5357 .entry-content ul li,
.page-id-5266 .entry-content ul li{
  list-style: disc;
}
@media screen and (max-width: 834px){
  .page-id-5357 main#main.main,
  .page-id-5266 main#main.main{
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }
}

/* 外部送信ポリシー */
.page-id-5242 main#main.main{
  width: 80%;
  margin: 0 auto;
}
.page-id-5242 .content .wrap{
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}
.page-id-5242 .wp-block-table table{
  width: 100%;
}
.page-id-5242 .wp-block-table table tr td:first-child{
  min-width: 90px;
}
@media screen and (max-width: 834px){
  .page-id-5242 main#main.main{
    width: 100%;
  }
}













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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.header-container-in.hlt-top-menu{
		flex-direction: row;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.header-in-title{
		padding-top: 20px;
	}
   .ect-vertical-card .entry-card-wrap .entry-card{
		flex-direction: row;
	}
	.ect-3-columns .entry-card-wrap{
		margin-bottom: 0px;
	}
}
