@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

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

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

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

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

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

}
.article h1 {
border-bottom: 3px solid #222222;/* 線の太さ 線の種類 線の色 */
color: #222222;/*文字色*/
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}

.article h2 {
color: #ffffff;/*文字色*/
background: #F7786B; /*背景色*/
padding: 0.5em 0.75em;/*文字周りの余白*/
border-radius: 0.3em;/*角の丸み*/
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}
.article h2:before {margin-left: 0.5em;}

.article h3 {
border-left: none; /* 左線不要 */
border-right: none; /* 右線不要 */
border-top: 3px solid #77ccbb; /* 線の太さ 線の種類 線の色 */
border-bottom: 3px solid #77ccbb; /* 線の太さ 線の種類 線の色 */
color: #222222; /* 文字の色 */
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}

.article h4 {
color: #222222; /*文字の色*/
border-top: none; /* 上線不要 */
border-bottom: 2px dashed #77ccbb; /* 線の太さ 線の種類 線の色 */
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}

.article h5 {
color: #222222;/*文字の色*/
border-bottom: 1px dashed #545454;/* 線の太さ 線の種類 線の色 */
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}

.article h6 {
color: #222222;
border-bottom: none;
line-height: 1.4;/*行間*/
letter-spacing: 0.2em;/*文字間*/
}

.entry-card-thumb {
    width: 120px;
	height: 130px;
}


.entry-card-content {
    margin-left: 150px;
}

/* 黄色の下線マーカー */
.marker-under-yellow {
    background: linear-gradient(transparent 60%,#ff6 60%);
	font-weight:bold; 
}

/* 赤色の下線マーカー */
.marker-under-red {
 	background:linear-gradient(transparent 75%, #ff9393 75%);
	font-weight:bold; 
}

/* 青色の下線マーカー */
.marker-under-blue {
 	background:linear-gradient(transparent 75%, lightskyblue 75%);
	font-weight:bold; 
}


.cat-label {
	white-space: normal;
}

.eye-catch img {
    height: 128px;
	width:128px;
}

.logo-header .site-name::after {
	content: '\AMacのアンチョコ';
	font-size: 24px;
	margin-bottom: 10px;
	color: #EE6666;
	white-space: pre;
} 

#navi .navi-in > ul > li{
  border-left: 1px solid #eee;
}

#navi .navi-in > ul > li:last-child{
  border-right: 1px solid #eee;
}

.navi-in > ul > .menu-item-has-children > a::after{
  right: 10px;
}

/* 目次カスタマイズ https://kiokunonuma.com/cocoon-sango-list/ */
.toc{
	background:#F9F9F9;
	border:none;
	display: block;
	border-top:5px solid;
	border-top-color:#4b7447;
	margin:0 25px 0 25px;
	padding:0 0 20px 0;
	box-shadow: 0 2px 2px rgba(0,0,0,0.2);
}

.toc a{
	text-decoration:none;
}

.toc ul a{
	color:#555555;
	font-size: 16px;
	margin-right:20px;
}

.toc ul a:before{
	content: '';
	width: 5px;
	height: 5px;
	display: inline-block;
	border-radius: 100%;
	background: #555555;
	position: relative;
	left: -8px;
	top: -3px;
	
}

.article .toc ul{
	 list-style: none;
	   margin-bottom: 0;
	   padding-left: 20px;
}

.toc-title{
 text-align:left;
 margin-top:30px;
 padding-left: 20px;
 margin-bottom:30px;
 margin-right:20px;
}

.toc-title:before{
	font-family: FontAwesome;
	content : "\f0ca";
	font-size:18px;
	margin-right:5px;
	color:#FFF;
	background-color:#4b7447;
	 border-radius: 50%;
 -webkit-border-radius: 50%;
 -moz-border-radius: 50%;
	padding:14px;
}

pre {
	white-space: pre-wrap ;
}

img.nostyle {
    border: none;
}

/* -----------------------------------------
 目次上に読んでる項目をマーク https://info-biz.club/wordpress/cocoon/fllowing-index.html
正常に動作しない場合、サイドバーの目次のIDが「toc-2」でない可能性があります。
違う場合は、javascript, CSS内の「#toc-2」を変更してください。
------------------------------------------*/
#toc-3{
  width:95%;
}
/* 読んでる項目を明示 */
li.current {
  background-color: #C0C0C0 !important;
}
/* 読んでる親項目を明示 */
a.current {
    background-color: #C0C0C0 !important;
}
/* 目次処理ここまで */

/* 文字を枠で囲む */
.square-letter {
	border: 4px solid #add8e6;
	padding: 3px; 
	border-radius: 5px; 
	background: ##ffffff;
}
/* 画像の枠 */
.frame {
display: inline-block;
box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
margin: 20px;
}

.margin-left50 {
display:inline-block;
margin-left:50px;
width:95%;
}

/* draw,ioの境界線を非表示*/
.iwe-border img, .iwe-border amp-img {
    border: none !important;
}

/* ブログカードのサムネイル画像 2020.8.29 */
.blogcard-thumbnail img {
    width: 50% !important;
}

/* カテゴリとリンクの行頭文字を追加 */

/* タイムラインの幅設定 */
 .timeline-item-label {
    width: 30px !important;
} 
/* .timeline-item:before {
    left: 25px !important;
} */
.timeline-item-content {
    width: calc(100% - 30px) !important;
}

.timeline-item:before {
     background: none !important;
} 

/* ボックスタブ追加 */
.bb-next .bb-label::after{
  content: "Go to Next 次へ進む";
}

/* 投稿下の「年末年始はおうちでKindle...」のアイコンの境界を消す */
.speech-icon img, .speech-icon amp-img {
    border-radius: 50%;
    border: none !important;
    width: 100%;
}

.my_double_rectangle_wrapper{
  width: 100%;
  text-align: center;
}

.my_double_rectangle_wrapper > div{
  display: inline-block;
  margin: 5px;
}

.center_iframe{
  display: block;
  margin: auto;
}

.box5-blue {
	position: relative;	/* 配置に関するもの(ここを基準に) */
	max-width:600px; /* ボックスの横幅 */
	margin: 2em auto;	/* ボックスの外側余白(上下:2em　左右:auto) */
	padding: 2em 2em 1.7em;	/* ボックスの内側余白(上:2em　左右:2em 下：1.7em) */
	border: 1px solid #0e7ac4;	/* ボックスの線 (太さ　線の種類　線の色)*/
	border-radius: 4px;	/* ボックスの角丸 */
	background: #e6f1f9; /* ボックス背景色 */
}
.box5-blue .box-title {
	position: absolute; /* 配置に関するもの(ここを動かす) */
	top: -18px; /* 上から（-18px）移動*/
	left: 27px; /* 左から(27px)移動 */
	background: #0e7ac4; /* タイトル背景色 */
	color: #fff; /* タイトル文字色 */
	padding: 0.6em 1em;/* タイトルの内側余白 */
	line-height: 1;/* タイトルの行の高さ */
	font-size: 17px;/* タイトル文字の大きさ */
	font-weight: bold;/* タイトル文字の太さ */
	border-radius:4px;/* タイトルの角丸 */
}
.box5-blue p {
	margin: 0; /* 文字の外側余白リセット*/
	padding: 0; /* 文字の内側余白リセット*/
}

/* Cocoonで目次を印刷させる方法 */
/* https://saekosensei.com/cocoon%E3%82%92%E5%8D%B0%E5%88%B7%E3%81%AB%E3%81%8B%E3%81%91%E3%81%9F%E3%81%A8%E3%81%8D%E3%80%81%E7%9B%AE%E6%AC%A1%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E8%A7%A3%E6%B1%BA/ */

@media print{
	#container .toc {
		display:block!important;
	}
}

@media print{
	#container .under-entry-content {
		display:block!important;
	}
}

.ad-center{
text-align:center;
}

.go-to-top {
	right: 25px;
	bottom: 50px;
}

/************************************
** スマホ追尾目次
************************************/
#mobile-toc-widget-wrap .menu-trigger,
#mobile-toc-widget-wrap .menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
#mobile-toc-widget-wrap .menu-trigger {
  position: relative;
  width: 25px;
  height: 35px;
}
#mobile-toc-widget-wrap .menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff; /* 三本線色 */
  border-radius: 4px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(1) {
  top: 13px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(2) {
  top: 20px;
}
#mobile-toc-widget-wrap .menu-trigger span:nth-of-type(3) {
  top: 27px;
}
#mobile-toc-widget-wrap .menu-trigger.active {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
  top:0;
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(2) {
  -webkit-transform: translateY(0) rotate(45deg);
  transform: translateY(0) rotate(45deg);
}
#mobile-toc-widget-wrap .menu-trigger.active span:nth-of-type(3) {
  opacity: 0;
}
#mobile-toc-widget-wrap{
  position: fixed;
  bottom: 150px;
  right: 20px;
  margin: 0;
  padding: 0;
  z-index:5;
  counter-reset: mobile-toc;
}
#mobile-toc-widget-wrap label .mobile-toc-button {
  width: 58px;
  height: 58px;
  border-radius:50%;
  background: #f6a068; /* ボタン色 */
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16);
  transition: ease-out 0.3s;
  text-align:center;
  position:relative;
  z-index: 3;
}
#mobile-toc-widget-wrap label .mobile-toc-button .mobile-toc-button-title {
  color: #fff; /* ボタン文字色 */
  font-size: 0.65em;
  letter-spacing: 0;
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  margin: auto;
}
#mobile-toc-widget-wrap label:hover {
  background: #efefef;
}
#mobile-toc-widget-wrap input {
  display: none;
}
#mobile-toc-widget-wrap .mobile-toc-show {
  display:none;
}
#mobile-toc-widget-wrap input:checked ~ .mobile-toc-show {
  background:#fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2.5em 1em;
  opacity:0.97; /* 20190924数値変更 */
  position:fixed;
  width:100%;
  height:100%;
  display:block;
  animation: 0.5s fade-in;
  -webkit-animation: 0.5s fade-in;
  overflow-y:scroll;
}
@-webkit-keyframes fadeIn { 
  0% {display: none;opacity: 0;}
  1% {display: block;opacity: 0;}
  100% {display: block;opacity: 0.93;}
}
@keyframes fade-in {
  0% {display: none;opacity: 0;}
  1% {display: block;opacity: 0;}
  100% {display: block;opacity: 0.93;}
}
#mobile-toc-widget-wrap .widgettitle{
  text-align: center;
  margin: 0 0 1em; /* 20190924数値変更 */
  color: #f6a068; /* 目次名の色 */
  font-size: 1.1em;
  letter-spacing:2px;
  font-weight:600; /* 20190924追記 */
}
#mobile-toc-widget-wrap .mobile-toc-show .toc{
  border:none;
  margin: 0 !important;
  padding: 0 !important;
}
#mobile-toc-widget-wrap .toc .toc-list > li {
  list-style-type: none !important;
  position: relative;
  margin-left: 13px;
  margin-right: 25px;
  padding-left: 32px;
  margin-bottom: 15px;
  padding-bottom: 0px;
  font-size: 1.1em;
  line-height: 1.8;
}
#mobile-toc-widget-wrap .toc a {
  font-size: 0.8em;
  font-weight:600;/* 20190924追記 */
}
#mobile-toc-widget-wrap .toc-list{
  padding:0 !important;
}
#mobile-toc-widget-wrap .toc-list > li:before{
  counter-increment: mobile-toc;
  content: counter(mobile-toc);
  position: absolute;
  left: 5px;
  top: 5px;
  background: none;
  font-size: 0.8em;
  color: #f6a068; /* 数字の色 */
}
#mobile-toc-widget-wrap .toc_widget_list > li ol {
  margin-top: 5px;
  padding-left: 20px;
}
#mobile-toc-widget-wrap .toc-list ol{
  list-style:none;
}
#mobile-toc-widget-wrap .toc-list > li > ol > li a {
  position: relative;
  text-decoration: none !important;
  font-weight:500;/* 20190924追記 */
}
#mobile-toc-widget-wrap .toc-list > li ol li a:before {
  position: absolute;
  content: "・";
  font-size: 1.4em;
  left: -20px;
  top: -10px;
  color: #f6a068; /* 点の色 */
}

csv-loaded-table {
    width: 100%;
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-all;
}

.internal-blogcard-snippet{
/*    display: none;*/
}

/* 「ホーム」を消す */
#breadcrumb.breadcrumb .breadcrumb-home a span{
	font-size: 0px;
}
/* 「HOME」を挿入 */
#breadcrumb.breadcrumb .breadcrumb-home a span::before{
	font-size: 13px;
	content: "HOME";
}

/*内部ブログカードのデザイン（ここから）*/
/* 参考記事 https://blog.anchoco.me/cocoon-blogcard-customize/ */
.internal-blogcard-wrap {
	/* margin-left: 50px;  モバイルで右が見切れていたので、コメントアウト @2023.04.25 */
	padding: unset;
	/*max-width: 440px;*/
}
.internal-blogcard {
	border: unset;
	border-radius: 4px;
	box-shadow: 1px 1px 4px rgba(0,0,0,0.2);
	margin: 0 8px;
	padding: 0.5rem;
	word-wrap: break-word;
	position: relative; /*「続きを読む」表示用*/
}
.internal-blogcard-content::after {
	content: '続きを読む';
	background-color: #ea6666;
	border-radius: 1em;
	color: #ffffff;
	font-size: 0.8em;
	padding: 0.2em 1.5em;
	position: absolute;
		right: 0.5rem;
		bottom: 0.5rem;
}

.internal-blogcard-thumbnail {
	margin: 0 0.5rem 0 0;
	width: 100px !important;
	height: 100px !important;
}
.internal-blogcard-content {
	margin: 0;
	padding: 0;
}
.internal-blogcard-title {
	color: initial; /*文字色を青に*/
	font-size: initial;
	line-height: 1.5;
	margin: 0;
}
.internal-blogcard-snippet { 
/*	display: none;*/ /*抜粋を非表示*/
}
@media screen and (max-width: 560px){
	.internal-blogcard-title {
		font-size: 0.95rem; 
	}
}
/*内部ブログカードのデザイン（ここまで）*/

.bct-official-en .blogcard-label::after {
	content: "Official Site";
	color: #00FF00;
}

.bct-official-en .blogcard-label{
	background-color: brown;
}

.wakusen {display: inline-block; border: solid 1px #c3c3c3;}

.widget-center {
 padding : 10px ;
 text-align: center;
}

/*Amazonを先頭にする*/
.pochipp-box__btnwrap.-amazon{
    order: -2;
}

.keisen {border:1px solid #333;}

/* テーブルに枠線表示 */
table{
  border: 1px solid #000000 !important;  /* テーブル外枠の指定　!important必須 */
  border-collapse: collapse;  /* 接触するボーダーはひとまとめにする*/
}
 table th{
  border: 1px solid black !important;  /* 見出しの枠線指定 */
}
table td{
  border: 0.7px solid black !important;  /* セルの枠線指定 */
}

/* カテゴリーラベル非表示 */
.entry-card .cat-label,
.related-entry-card .cat-label{
display: none;
}

/* ボックス内にラベル */
.box_inner_label {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #FFC107;
}
.box_inner_label .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    /* background: #FFC107; */
    background: orange;
    color: #ffffff;
    font-weight: bold;
}
.box_inner_label p {
    margin: 0; 
    padding: 0;
}