@charset "UTF-8";

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

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

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

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
      .wp-block-image img {
      max-width:    80%;
      margin:   0 40px;
      }
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
    .wp-block-image img {
      max-width:    80%;
      margin:   0 40px;
      }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .wp-block-image img {
      max-width:    80%;
      margin:   0 40px;
    }
}

.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;
}

.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;
}

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

#navi .navi-in > ul > li:last-child{
  border-right-width: 0;
}

#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;
} 
.eye-catch img {
	width:50%;
    /* border-radius: 22.5%; アイキャッチの角丸をなくす@2023.03.07 */
    /* border-top-left-radius: 22.5%; */
    /* border-top-right-radius: 22.5%; */
    /* border-bottom-right-radius: 22.5%; */
    /* border-bottom-left-radius: 22.5%; */
}

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

/* 目次カスタマイズ 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;
}

/* -----------------------------------------
 目次上に読んでる項目をマーク https://info-biz.club/wordpress/cocoon/fllowing-index.html
------------------------------------------*/
#toc-2{
  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_old {
display: inline-block;
box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
}
/* 画像の枠なし */
.noframe  img {
border: none !important;
}
/*youtubeのサイズ変更*/
.video60 .video {
max-width: 60% !important;
margin-left:auto; margin-right:auto;
}

/* 2022.12.26追加 cssは、classで指定する */
/* .blogcard-thumbnail img { */
/*     max-width: 128px; */
/*     height: auto; */
/* } */
/* .related-entry-card-thumb img { */
/*     max-width: 128px; */
/*     height: auto; */
/* } */
/* カテゴリーラベル非表示 */
.entry-card .cat-label{
display: none;
}
.related-entry-card .cat-label{
display: none;
}

/************************************
** スマホ追尾目次 2024.3.17に非表示に変更
************************************/
#mobile-toc-widget-wrap {
    display: none;
}

#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: 110px;
  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; /* 点の色 */
}

/****************
タブ見出しボックス 2023.03.16追加
****************/
.tab-caption-box-label{ 
	padding: 6px 16px; /*タブ内側余白*/
	font-size: 16px; /*タイトル文字の大きさ*/
	font-weight: bold; /*タイトル文字の太さ*/
	border-radius: 4px 4px 0px 0px;  /*タブ角丸*/
}

.tab-caption-box-content {
	position: relative;  /*配置に関するもの（ここを基準に）*/
	top: 1px; /*上から(1px）移動*/
	border: 2px solid; /*ボックス線*/
	padding: 24px 24px; /*ボックス内側余白*/
	border-radius: 4px; /*ボックス角丸*/
	border-top-left-radius: 0px; /*ボックス左上角丸*/
}

/****************
画像最大サイズ自動調整https://s41t0h.jp/article-image-auto-resize/  2023.03.31追加 2024.3.5変更（40vh->70vh）
****************/
main img{
    max-height: 70vh;
    width: auto;
}

/****************
投稿日・更新日のアイコンを漢字表示に変更
https://picscels.site/wordpress-cocoon-post-date-update-icon/
****************/
/* 投稿日アイコン（トップ）の変更 */
.fa-clock-o:before {
content: "投稿日：";
}
/* 更新日アイコン（トップ）の変更 */
.fa-history:before {
content: "更新日：";
}

.pochipp-box__review img {
    display:none;
}

.post-date {
    font-size:0.8em;
}

.post-update {
    font-size:0.8em;
}

/* ポチップ画像の枠を非表示 */
.pochipp-box__image img{
    border: none !important;
}

/* モバイル時のヘッダー画像を非表示 */
/* ヘッダーロゴを非表示 */
@media screen and (max-width: 1023px) {
.logo-header {
display: none;
}
}

/* タイトル上の余白を調整 */
main.main, div.sidebar {
    padding-top: 6px;
}