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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* トップページ　記事一覧レイアウト調整 */
@media screen and (max-width: 600px) {
.widget-entry-cards.card-large-image .a-wrap {
width:49%;
display: inline-flex;
}
}
@media screen and (max-width: 480px) {
.widget-entry-cards.card-large-image .a-wrap {
width:auto;
display: inline-flex;
}
}
@media screen and (min-width: 600px) and (max-width: 781px){
.article .wp-block-columns :nth-child(odd):nth-last-child(2) {
    margin-bottom: 18px;
}
}
.widget-entry-cards.card-large-image .a-wrap {
font-size: 95%;
text-align: left;
padding:.5em;
} 

/* もっと見るボタン */
.more-button {
    max-width: 300px;
    margin: 0 auto;
}
.more-button a {
    display: block;
    margin:25px 0;
    padding: 0.8em 1em;
    border-radius: 2em;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: #1967d2;
    box-shadow: 0 5px 20px rgba(235, 160, 47, .5);
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity:1;
}
.more-button a:hover{
    box-shadow:none;
    transform: translateY(3px);
    opacity:1;
}
/*フロント固定ページのタイトルを非表示　*/
.home .article h1{display:none;}
/*フロント固定ページのの投稿日を非表示　*/
.home .post-date{display:none;}
/*フロント固定ページの更新日を非表示*/
.home .post-update{display: none;}
/*フロント固定ページのシェアボタンを非表示*/
.home.page .sns-share{display: none;}
/*フロント固定ページのフォローボタンを非表示*/
.home.page .sns-follow{display: none;}
/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{display: none;}

/* エントリーカード横に並べる*/
.widget-entry-cards.card-large-image .a-wrap {
width:49%;
height:auto;
display: inline-flex;
}


    .ifrm-container {
      width:95%;
      height:550px;
      overflow:auto;
      -webkit-overflow-scrolling:touch;
      display: inline-block;
      margin: 10px;
    }


    .ifrm-container-2 {
      width:95%;
      height:250px;
      overflow:auto;
      -webkit-overflow-scrolling:touch;
      display: inline-block;
      margin: 10px;
    }

    .ifrm {
      width:95%;
      height:100%;
      display:block;
    }


.clearText {
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}


.table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article .h2-title {
  margin: 0.5em;
  padding: 0;
  line-height: 1.4;
  font-size: large;
  color: rgb(204, 0, 0);
  font-weight: bold;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  border-bottom: 0px;

}
.article .oomidashi {
  margin: 2em auto 1em;
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #ccc;
}
.article .oomidashi::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #3498db;
}
.article .komidashi {
  margin: 2em auto 1em;
  position: relative;
  padding: .25em 0 .5em .75em;
  border-left: 6px solid #ccc;
  border-right: 0;
  border-top: 0;
}
.article .komidashi::before {
  position: absolute;
  left: -6px;
  bottom: 0;
  content: '';
  width: 6px;
  height: 50%;
  background-color: #3498db;
}
.article .komidashi::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 100%;
  height: 0;
  border-bottom: 1px solid #ccc;
}

.article p.picture {
  margin-bottom: 1.5em;
  margin-top: 2.5em;
}

.article p.nomargin {
  margin-bottom: 0.7em;
}

.article p {
  margin-bottom: 1.5em;
}

/* ブログカード 2020/1/21追記 */
/* カード全体像 */
.blogcard {
  max-width: 100%;
  margin-bottom: 30px;
  padding: 10px;
  border-radius: 2px;
  border: 1px solid rgb(211,211,211);
  box-shadow: 0 10px 6px -6px rgba(0,0,0,.1);
  background: white;
  color: rgb(51,51,51);
}

/* float親要素 */
.blogcard-content {
  margin-bottom: 5px;
  overflow: hidden;
}

/* 画像 */
.blogcard-image {
  display: inline-block;
  float: left; /* 画像を左に配置したい場合は left に変更 1/2 */
  width: 100px; /* 画像の表示サイズ変更は数値をpxで変更 1/6 */
  height: 100px; /* 画像の表示サイズ変更は数値をpxで変更 2/6 */
  margin: 0 10px 5px 0; /* 画像を左に配置したい場合は 0 10px 5px 0 に変更 2/2 */
}

.blogcard-image-wrapper {
  display: inline-block;
  width: 100px; /* 画像の表示サイズ変更は数値をpxで変更 3/6 */
  height: 100px; /* 画像の表示サイズ変更は数値をpxで変更 4/6 */
}

.blogcard-image-wrapper img {
  width: 100px; /* 画像の表示サイズ変更は数値をpxで変更 5/6 */
  height: 100px; /* 画像の表示サイズ変更は数値をpxで変更 6/6 */
  object-fit: cover;
  object-position: center center;
}

/* タイトル */
.blogcard-title {
  margin: 0 !important;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.4;
}

.blogcard-title a {
  color: rgb(61,63,68) !important;
  word-break: break-all;
}

.blogcard-title a:hover {
  text-decoration: underline;
}

/* 引用 */
.blogcard blockquote {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent; /* ブログテンプレートに背景に関する強制力の強い指定がある場合には transparent の直後に !important を付けてください */
}

.blogcard blockquote::before,
.blogcard blockquote::after {
  content: none;
}

/* 記事概要 */
.blogcard-description {
  margin: 1em 0 !important;
  font-size: 13px;
  line-height: 1.5 !important;
}

/* フッター(元記事サイト名とリンク) */
.blogcard-footer {
  font-size: 12px;
}

.blogcard-footer a {
  color: rgb(154,165,171);
  text-decoration: underline;
}

.blogcard-footer a img {
  margin-right: 5px;
}

figure.blogcard {
  transition: .2s ease-in-out;
}

.blogcard > a {
  color: rgb(51,51,51) !important;
}

.blogcard-footer img {
  margin-right: 5px;
  vertical-align: middle;
}

/* カードマウスホバー */
figure.blogcard:hover {
  box-shadow: 0 10px 10px 2px rgba(0,0,0,.1);
}

figure.blogcard:hover > a {
  color: rgb(51,51,51);
  text-decoration: none !important;
}


/* 全体リンク化を利用している方のみ必要 */
figure.blogcard .blogcard-footer {
  height: auto;
}

figure.blogcard .blogcard-description {
  margin: 1em 0 !important;
}


/* AA表示 */
@font-face {
  font-family: "aahub_light";
  src: url("https://dilemma-nichijyo.com/wp-content/uploads/Fonts/aahub_light.woff2") format("woff2"),
    url("https://dilemma-nichijyo.com/wp-content/uploads/Fonts/aahub_light.woff") format("woff");
  font-display: swap;
}

div.aa {
  font-family: "aahub_light";
  white-space: pre;
  font-size: 16px;
line-height: 1.1;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  margin-bottom: 1em;
}

@media screen and (max-width: 1023px) {
  div.aa {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  div.aa {
    font-size: 12px;
  }
}

@media screen and (max-width: 414px) {
  div.aa {
    font-size: 9px;
  }
}

span.aa{
font-family:"ＭＳ Ｐゴシック","MS PGothic","Mona","Textar","mona-gothic-jisx0208.1990-0",sans-serif;
font-size:16px;
display:block;
}

/* 目次toc 四角吹き出し */
#toc {
  position: relative;
  width: 100%;
  margin: 30px auto;/* 30pxは先行要素と後続要素との距離 */
  padding: 1em 1em 0;
  border: 1px solid rgb(200,200,200);/* ボーダー指定 */
  line-height: 1.5;/* 行間設定(注意 単位なしで記載) */
}

#toc ol {
  list-style: none;
  counter-reset: li;
  margin-left: 2.7em;
  padding: 0;
}

#toc a {
  display: block;
  position: relative;
  width: 100%;
  padding: 5px 0;
  color: rgb(51,51,51);
  word-break: break-all;
  text-decoration: none;
}

#toc a::before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: -2.7em;
  top: 50%;
  margin-top: -1em;
  height: 2em;
  width: 2em;
  background: rgb(52, 152, 219);/* 最上級見出しの背景色 */
  color: white;
  font-weight: bold;
  line-height: 2em;
  text-align: center;
}

#toc ol ol a::before {
  background: rgb(86, 166, 219);/* 二位見出しの背景色 */
}

#toc ol ol ol a::before {
  background: rgb(196,163,191);/* 三位見出しの背景色 */
}

#toc a::after {
  content: "";
  position: absolute;
  left: -.7em;
  top: 50%;
  border: .3em solid transparent;
  border-left-color: rgb(52, 152, 219);/* 最上級見出し吹き出し角背景色 */
  margin-top: -.3em;
}

#toc ol ol a::after {
  border-left-color: rgb(86, 166, 219);/* 二位見出し吹き出し角背景色 */
}

#toc ol ol ol a::after {
  border-left-color: rgb(196,163,191);/* 三位見出し吹き出し角背景色 */
}

/* 戻るリンクの指定 */
.back-toc {
  margin: 1em 0;
}

/***==========================================
      blockquote
==========================================***/

blockquote {
color:#333; /* 文字色 */
background-color:#f5f5f5; /* 背景色 */
border:1px dotted #999; /* ラインで囲んでいます */
margin:5px 10px;
padding:5px 10px;
}

q:before {
  content: '“'; /* qの前を「に */
}
q:after {
  content: '”'; /* qの後を」に */
}

#kakko {
color:#333; /* 文字色 */
background-color:#f5f5f5; /* 背景色 */
border:1px dotted #999; /* ラインで囲んでいます */
margin:5px 10px;
padding:5px 10px;
}

.kakko {
color:#333; /* 文字色 */
background-color:#f5f5f5; /* 背景色 */
border:1px dotted #999; /* ラインで囲んでいます */
margin:5px 10px;
padding:5px 10px;
}
.kakkoNew {
color:#333; /* 文字色 */
background-color:#f5f5f5; /* 背景色 */
border:1px dotted #999; /* ラインで囲んでいます */
margin:5px 10px 4em;
padding:5px 10px;
}

.hanashi {
color:#333; /* 文字色 */
background-color:#F6F5EA; /* 背景色 */
border:2px dotted #A1A087; /* ラインで囲んでいます */
margin:25px 10px 15px 10px;
padding:5px 10px;
}
