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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

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

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

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

.author-box {
border: 1px solid #3c3c3c;
border-radius: 0;
background: #fff;
}
.author-widget-name {
margin-bottom: 1.4%;
padding: 2px 0;
text-align: center;
background-color: #3c3c3c;
color: #fff;
}

.pagination-next-link {
background-color: #3c3c3c;
color: #fff;
border: none;
}

.pagination-next-link:hover {
background-color: #979797;
color: #fff;
}

.entry-content h2 {
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #3c3c3c;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
}

.entry-content h3 {
  position: relative;
  padding: 5px 5px 5px 42px;
  background: #3c3c3c;
  font-size: 20px;
  color: white;
  margin-left: -33px;
  line-height: 1.3;
  z-index:-1;
}

.entry-content h3:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2
}

.entry-content h4 {
  position: relative;
  padding: 0.6em;
  background: #ff9944;
}

.entry-content h4:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #ff9944;
  width: 0;
  height: 0;
}

h1.archive-title {
  position: relative;
  text-align: center;
  padding: 5px 5px 5px 42px;
  background: #3c3c3c;
  font-size: 20px;
  color: white;
  margin-left: -33px;
  line-height: 1.3;
  z-index:-1;
}

h1.archive-title:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2
}

/*---------------------------------
* 固定ページ記事タイトル非表示
--------------------------------*/
.type-page h1,
.type-page 
.post-meta{
  display:none;
}

/*---------------------------------
* 投稿ページ記事タイトル非表示
--------------------------------*/

.entry-title, .eye-catch {
display: none;
}

/*---------------------------------
* ボタンのスタイル
--------------------------------*/
.wp-block-button__link {
  display: inline-block;
  padding: .5em 2em;
  text-decoration: none !important;
  background: #fca451;
  color: #fff !important;
  font-weight: bold;
  border-bottom: solid 3px #af7238;
  border-radius: 10px;
  text-decoration: none;
  margin: 15px 0;
}
.wp-block-button__link:active {
  /*ボタンを押したときの動作*/
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  border-bottom: none;
}

/*---------------------------------
「次のページ」のカスタマイズ
--------------------------------*/
.pagination-next-link {
  background-color: #95CE4B; /* 背景色 */
  font-weight:bold;
  color: #ffffff; /* 文字の色 */
  border: 2px solid #95CE4B; /* 枠線の太さ、色 */
  border-radius: 30px;
}

.pagination-next-link:hover {
  background-color: #ffffff; /* ホバー時の背景色 */
  color: #95CE4B; /* ホバー時の文字の色 */
  border: 2px solid #95CE4B; /* ホバー時の枠線の太さ、色 */
}

/*---------------------------------
数字の部分のカスタマイズ
--------------------------------*/
.page-numbers {
  color: #95CE4B; /* 数字の色 */
  border: 1px solid #95CE4B; /* 枠線の太さ、色 */
}

.pagination .current {
  background-color: #95CE4B; /* 現在のページの背景色 */
  color: #ffffff; /* 現在のページの文字色 */
}

.page-numbers.dots {
  opacity: 1;
  background: none;
}
.pagination a:hover {
  background-color: #EAF5DB; /* ホバー時の背景色 */
  color: #95CE4B; /* ホバー時の文字の色 */
}

/*---------------------------------
カテゴリータグ部分のカスタマイズ
--------------------------------*/

.cat-label {
 background-color: #fca451;
 color: #fff;
}
.cat-label::before{
 display:none;
}

.cat-link {
 background-color: #fca451;
 color: #fff;
}

.cat-link::before{
 display:none;
}

/*---------------------------------
サイドバーメニューのカスタマイズ
--------------------------------*/

.sidebar h3 {
    background: none;
    padding: 0;
    font-size: 1.5rem;
    letter-spacing: 2px; 
}
.sidebar h3:first-letter {
    font-size: 1.5rem;
}
.sidebar h3:after {
    content:"";
    display:block;
    height:1px;
    width:100%;
    background: -webkit-linear-gradient(left, #40bfa0 0%,#fef785 82%,#f37b7b 100%);
    background: linear-gradient(to right, #40bfa0 0%,#fef785 82%,#f37b7b 100%);
}

/*---------------------------------
シェアボタンのカスタマイズ
--------------------------------*/

.sns-buttons a.share-button {
  background-color: #95CE4B; /* 背景色 */
  font-weight:bold;
  color: #ffffff; /* 文字の色 */
  border-radius: 30px;
  width: 180px;
}

.sns-buttons a.share-button:hover {
  background-color: #ffffff; /* ホバー時の背景色 */
  color: #95CE4B; /* ホバー時の文字の色 */
  border: 2px solid #95CE4B; /* ホバー時の枠線の太さ、色 */
}

/*---------------------------------
評価の星のカスタマイズ
--------------------------------*/

.rating-star .fa {
	font-size: 2.0em;
}

/*---------------------------------
フッター　vlink
--------------------------------*/
.footer-in a:hover {
background-color: rgba(255,255,255,0.5);
}

/*---------------------------------
スニペット　カスタマイズ
--------------------------------*/

.entry-card-snippet, .related-entry-card-snippet {
	font-size: 18px;
    font-weight: 600;
}

.widget-entry-card-snippet {
    margin-top: 6px;
    font-size: 28px;
    opacity: 1;
}

/*---------------------------------
投稿日　非表示
--------------------------------*/

.post-date, .post-update, .post-author, .amp-back {
    margin-right: 8px;
    display: none;
}

/*---------------------------------
header　画像　非表示
--------------------------------*/

.header .header-in {
display: none;
}

.page-id-11 .header .header-in {
	display: block;
}

/*---------------------------------
サムネイル　サイズの変更
--------------------------------*/

.entry-card-thumb {
    width: 150px;
}

/*---------------------------------
グローバルナビ のカスタマイズ
--------------------------------*/
.slicknav_menu {
	width: 100%;
	background-color: rgba(76,76,76,0.9);
	box-sizing: border-box; 
	position: fixed;
	top: 0;
    left: 0;
	z-index: 100;
}

/*---------------------------------
TOP 記事文字のカスタマイズ
--------------------------------*/

.new-entry-card-title, .widget-entry-card-title, .card-title {
    font-size: 28px;
    font-weight: 600;
}
	
.widget-entry-card-snippet {
    color: black;
    font-weight: 600;
}

/*---------------------------------
グローバルナビの領域確保
--------------------------------*/
@media screen and (max-width:767px) { 
	 .page-body {
		  padding: 50px 0 0 0;
	 }
/*--------TOP 記事文字のカスタマイズ----------*/
	.new-entry-card-title, .widget-entry-card-title, .card-title, .widget-entry-card-snippet {
		font-size: 20px;
		}
/*--------サムネイル　サイズの変更---------*/

	.entry-card-thumb {
		width: 100px;
	}	

}	


/*---------------------------------
記事一覧ページのカスタマイズ
--------------------------------*/

.a-wrap {

    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transition-duration: 0.3s;
}

.a-wrap:hover {
    background-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.24);
    transition-duration: 0.3s;
}
.a-wrap:hover {
    background-color: #f5f8fa;
    transition: all 0.3s ease-in-out;
    color: var(--cocoon-text-color);
}

.entry-card-content, .card-content, .e-card-content {
	margin-left: 20%;
}

.entry-content h3 {
    margin-left: -15px;
}

h1.archive-title {
    margin-left: -5px;
}


	



