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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
html {
  scroll-behavior: smooth;
}

h2:not(.entry-card-title) {
	  padding: 1em;
	  color: #eeeeee !important;/*文字色*/
	  background: #00519a;/*背景色*/
}

h2.widget-title {
	background: #f4f7ff;
	color: #000000;
}

h3 {
	padding: 0.8em !important;
	margin-top: 1.62em !important;
	border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    background: #f4f7ff;
}

.new-entry-cards figure {
	width: 180px;
}

.eye-catch-wrap {
  justify-content: center;
}

.auther-content {
	padding: none;
	.author-description {
	    font-size: 80%;
	}
}

.ad-label {
	font-size: 14px;
}

/* toc */
.toc {
  --accent-color: #00053a;
  border: 1px solid var(--accent-color) !important;
  
  .toc-title {
  color: var(--accent-color);
	font-weight: bold;
	&::before {
      font-family: FontAwesome;
      content : "\f0ca";
      font-size: 1.2em;
      border-radius: 50%;
      padding: 0.5em;
      margin-right: 0.5em;
    }
  }
  .toc-content {
	color: var(--accent-color);
	a {
	  color: var(--accent-color);
    }
	.toc-list {
	  li {
		a {
		  font-weight: bold;	
		}
		li {
		  a {
			font-weight: normal;
		  }
		  list-style: inside;
		}
      }
	}
  }
}

/* blank box */
.caption-box {
  --box-color: #1e50a2;
  --box-bg-color: #fafcff;
  --radius: 10px;
  --border-width: 1px;
  border: solid var(--border-width) var(--box-color) !important;
  border-radius: var(--radius) !important;
  .caption-box-label {
	color: white;
	background-color: var(--box-color) !important;
	border-radius: calc(var(--radius) - var(--border-width)) calc(var(--radius) - var(--border-width)) 0 0 !important;
  }
  .caption-box-content {
	background-color: var(--box-bg-color) !important;
	border-radius: 0 0 calc(var(--radius) - var(--border-width)) calc(var(--radius) - var(--border-width)) !important;
  }
}

/* timeline */
.timeline {
	--accent-color: #00053a;
	.timeline-item:before {
		background: var(--accent-color);
	}
	.timeline-item-title {
		color: var(--accent-color);
	}
	.timeline-item-label {
		font-weight: bold;
	}
}
	
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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