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

/************************************
** 子テーマ用のスタイルを書く
************************************/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&family=Noto+Serif+JP:wght@700&display=swap');

:root {
  --font-serif: 'Noto Serif JP', serif;
}

body {
font-family: "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  position: relative;
}

.article h2:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: .375rem;
    background-color: #b5cec0;
    /* border-radius: 99rem; */
}

.article h3 {
  border-left: 3px solid #b5cec0;
border-right: none;
  border-top: none;
  border-bottom: none;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
}

.entry-card-title, .related-entry-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.entry-card-snippet, .related-entry-card-snippet {
  font-size: .9rem;
  line-height: 1.5;
}

.post-date,
.post-update,
.post-author,
.amp-back {
	font-family: var(--font-serif);
	letter-spacing: .02rem;
}

.sidebar h3 {
	font-size: 1.2rem;
  font-family: var(--font-serif);
  background-color: #FFF;
  border-bottom: solid 1px #e2dede;
}

/*アイキャッチ画像サイズ*/
.eye-catch {
  width: 100%;
  height:0;
  padding-bottom: 62%;
  overflow:hidden;
}

.eye-catch img {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}

.entry-card-thumb {
  width: 100%;
  height:0;
  padding-bottom: 62%;
  overflow:hidden;
  margin-bottom: .7rem;
}

.entry-card-thumb img {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}

.entry-title,
.archive-title {
  font-family: var(--font-serif);
}

.article h1 {
 	font-size: 1.7rem;
 	padding: 0 0 .5rem 0;
}

.article h2 {
  font-size: 1.6rem;
	background: none;
}

.related-entry-heading,
.comment-title {
   font-family: var(--font-serif);
   border-bottom: solid 1px #e2dede;
}

#main .button-caption {
	display: none; /*キャプション非表示*/
}

.article ul,
.article ol {
  padding: 1rem 2rem;
  background-color: #f5f6f7;
}

.article ul li,
.article ol li {
  font-weight: 600;
  padding: .2rem 0;
}


/*SNSシェアボタン*/
.sns-share-message{
	font-weight: bold; /*太字*/
	font-family: var(--font-serif);
}

.sns-share-buttons {
	flex-wrap: nowrap; /*折り返さない*/
	justify-content: center; /*中央寄せ*/
}

.sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	font-size: 20px; /*アイコンのサイズ*/
	margin: 0 10px; /*ボタン同士の間隔*/
}

#main .sns-share a {
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}

/*カテゴリーラベル*/
.ctdt-one-row>div {
    display: block;
}

.cat-label {
	top: auto;
	bottom: 0.3em;
  border: none;
  color: #ffffffeb;
}


/*目次*/
.toc {
  border: none;
  background-color: #eaebef;
  padding-bottom: 2.2rem;
}

.toc-title {
    font-family: var(--font-serif);
    font-weight: 600;
}

.toc-checkbox:checked+.toc-title::after,
.toc-title::after {
    font-weight: 400;
}

/*囲み*/
.blank-box {
    border: 1px solid #cacaca;
    border-radius: 0;
    padding: 2rem 1.4rem 3rem;
    margin: 0 1%;
}

/*区切り線*/
.wp-block-separator {
	display: block;
	width: 80%;
	height: 1px;
	background-color: #cacaca;
	border: 0; 
	margin: 0 auto;
}


.main figure.wp-block-table table {
  width: 60%;
}

.main figure.wp-block-table table td {
  padding: 11px 6px;
  font-size: 90%;
}

.main figure.wp-block-table table tr:first-child {
  font-weight: 600;
	background-color: #d4dfea;
}

.main figure.wp-block-table table td:first-child {
}



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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
		.main figure.wp-block-table table {
		width: 100%;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	#header .site-name-text {
    font-size: 22px;
  }
	
	.ect-entry-card .card-thumb,
	.rect-entry-card .card-thumb,
	.ect-big-card-first .card-thumb {
		width: 100%;
  }
}
