@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){
  /*必要ならばここにコードを書く*/
}



/************************************/
/*以下、自分で追加したもの*/

/*アイキャッチ画像からカテゴリーラベルを削除*/
.cat-label {
display: none;
}

/*スマホでのテーブルのフォントサイズ変更*/
@media screen and (max-width: 768px){
table th, table td {
    font-size: 16px;
}
}

/*ブログカードのタブの位置を上げる*/
.blogcard-wrap {
    margin: 30px auto;
}
.blogcard-type .blogcard::before {
    top: -1.7em;
}

/*ブログカードのドメイン名と日付非表示化*/
.internal-blogcard-footer{
	display: none;
}

/* 目次に戻るリンク */
/* functions.phpも関係している */
.toc-checkbox {
    height: 0;
    overflow: hidden;
    display: block;
    visibility: hidden;
}
/* リンクを右寄せ */
.back-toc {
    text-align: right;
}
/* 目次に戻るの太文字化と下線消す */
.back-toc a{
	font-weight: bold;
	text-decoration: none;
}
/* ホームに戻る */
.go-to-home{
	margin-top: -48px;
}
/* ホームに戻るの太文字化と下線消す */
.go-to-home a{
	font-weight: bold;
	text-decoration: none;
}

/* サイドのカテゴリーの間隔調整 */
/* プラグインCollapsing category listへの対応 */
.cat-item img {
    display: none;
}

/* テーブルの背景色を白で統一 */
table td {
background: #fff;
}

/* モバイルも2カラム化 */ 
.ect-vertical-card .entry-card-wrap {
	width: 49%;
}

/* ブログカード2カラム化 */ 
/* ブログカード2カラム化 */ 
.page .tab-cont .list{
	display: flex;
	flex-wrap: wrap;
}
.page  .tab-cont .list a{
	width: 49%;
	}
/* カード内のレイアウト変更 */ 
.page .entry-card-thumb {
	width: 100%;
}
.page .entry-card-content {
	margin: 0;
}
@media screen and (max-width: 480px){
	.page .card-thumb img {
		margin-bottom: 5px;
	}
}
/* カードへのaタグ設置 */ 
.page .card-wrap1 {
}
.page .card-wrap1 ul {
	display: block;
	margin: 0 1% 5% 0;
	padding: 1.5%;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.08);
    border-radius: 4px;
    transition-duration: .3s;
}
.page .card-wrap1 li {
	list-style: none;
}
.page .card-wrap1 a {
	display: block;
	text-decoration: none; 
}
.page .card-wrap1 h2{
	margin: 0;
	text-decoration: none; 
	font-weight: bold;
	font-size: 18px;
	color: #333;
	line-height: 1.1;
}
/* カードの2列化 */ 
.page .card-wrap1 {
	display: flex;
	flex-wrap: wrap;
}
.page .card-wrap1 ul {
	width: 49%;
	}
/* フォントサイズ調整 */ 
@media screen and (max-width: 480px){
	.page .card-wrap1 h2{
		font-size: 16px;
}
}
/* カード間の左右間隔開け */ 
.page .a-wrap {
	margin-right: 1%;
}
/* タブの文字を太字化 */ 
.page .top-cate-btn label {
	font-weight: bold;
}

/* 参考のバッジを大きくする */ 
.badge {
	font-size: 16px;
}

/* 青枠内のリストの下の余白を小さくする */ 
.blank-box ul {
	margin-bottom: 0px;
}
.blank-box ol {
	margin-bottom: 0px;
}

/* ボタンリンクのFontSizeを18px、SMP16pxに変更 */ 
.btn-wrap .btn-wrap-l {
	font-size: 18px;
}
@media screen and (max-width: 834px) {
.btn-wrap.btn-wrap-l>a {
	font-size: 16px;
}
}

/* ★トップをサイト型にする設定★ */
/* カテゴリー別記事選択をウィンドウ化 */
.top-cat-window{
	width: 100%;
	margin: auto;
	padding: 0;
	border: 1px solid #0095d9;
	height: 630px;
	overflow: auto;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
@media screen and (max-width: 480px) {
.top-cat-window{
	height: 360px;
}
}

/* 新着を横2列にする */
.page .new-entry-cards {
	display: flex;
	flex-wrap: wrap;
}
.page .new-entry-card-link {
	width: 50%;
}
.page .new-entry-card-link {
    margin-right: 0;
    padding: 2%;
}
/*H1を非表示*/
#post-927 .entry-title {
  display: none;
}
/*H1の下の日付を非表示*/
#post-927 .date-tags {
  display: none;
}
/*目次を非表示*/
#post-927 #toc {
  display: none;
}
/*目次に戻るを非表示*/
#post-927 .back-toc {
  display: none;
}
/*新着H2上の余白を削除*/
#post-927 .entry-content {
	margin-top: 0 !important;
}
#post-927 .entry-content h2{
	margin-top: 0 !important;
}
/*各記事の囲い枠削除*/
.a-wrap {
	box-shadow: none;
}
/*新着記事に投稿日を表示*/
.new-entry-card-date {
  display: block;
}
.new-entry-card-post-date {
	display: block !important;
	margin-right: 0 !important;
	padding-top: 0.2em;
	text-align: right;
}
/*新着記事の更新日を非表示*/
.new-entry-card-update-date {
  display: none;
}
/*新着以外の看板の大型化*/
.img160 figure {
    width: 160px;
}
.img160 .widget-entry-card-content {
    margin-left: 166px;
}
/*おすすめ記事の看板の位置調整*/
.widget-entry-card-thumb {
	margin-top: 1.2px;
}/*スマホ記事タイトルのフォントサイズ変更*/
@media screen and (max-width: 480px) {
.new-entry-card-title {
	font-size: 16px;
}
.widget-entry-card-title {
	font-size: 16px;
}
}
/*新着記事以外の2列化*/
#main .navi-entry-cards.large-thumb {
    display: flex;
    flex-wrap: wrap;
}
#main .navi-entry-cards.large-thumb a {
    width: 50%;
}
#main .page .a-wrap {
    margin-right: 0;
}
#main .widget-entry-cards .a-wrap {
    margin-bottom: 0;
}
#main .widget-entry-cards .a-wrap {
    padding: 2%;
}

/* サイドバーの目次 */
/* 微調整 */
#sidebar-scroll {
	padding-top: 40px;
}
.toc-widget-box .toc-center{
	margin: 0 0 0 1em;
}
.toc-widget-box .toc{
	font-size: 18px;
}
#sidebar-scroll li{
	margin: 0 0 10px 0;
	line-height: 1.4;
}
/* サイドバーに表示する目次が長い場合にスクロール可能にする */
#sidebar-scroll nav {
  border: 2px red;
  overflow-y: scroll; /* 縦スクロールを可能に */
  max-height: 500px; /* 目次の高さ上限 */
}
.sidebar .toc-content::-webkit-scrollbar {
  -webkit-appearance: none; /* スタイルの初期化を禁止 */
  width: 8px; /* スクロールバーの横幅 */
}
.sidebar .toc-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .4); /* ツマミの色 */
}

/* スマホの画面右下の目次ボタン */
#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: 60px;
  right: 10px;
  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: #0096f9; /* ボタン色 */
  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;
  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; 
  color: #0096f9; /* 目次名の色 */
  font-size: 1.1em;
  letter-spacing:2px;
  font-weight:600;
}
#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: 20px;
  margin-bottom: 5px;
  padding-bottom: 0px;
  font-size: 1.1em;
  line-height: 1.8;
}
#mobile-toc-widget-wrap .toc a {
  font-size: 0.8em;
  font-weight:600;
}
#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: #0096f9; /* 数字の色 */
}
#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;
}
#mobile-toc-widget-wrap .toc-list > li ol li a:before {
  position: absolute;
  content: "・";
  font-size: 1.4em;
  left: -20px;
  top: -10px;
  color: #0096f9; /* 点の色 */
}

/* ● 目次の調整（Easy Table of Contents） */
/* ◆ 目次枠と内部 */
/* 横幅の最小値設定 */
@media screen and (max-width: 480px){
#ez-toc-container {
  min-width: 100%;
}
}
@media screen and (min-width: 481px){
#ez-toc-container {
  min-width: 400px;
}
}
/* センタリング */
#ez-toc-container {
  margin-left: auto;
  margin-right: auto;
}
#ez-toc-container li {
  text-align: left;
}
    /* 上下間隔の調整 */
#ez-toc-container li {
  margin-top: 5px !important;
}
    /* 枠内の隙間拡大 */
#ez-toc-container {
  padding: 15px !important;
}
  /* ◆ サイドバー */
    /* リンク色変更 下線消去 */
.ez-toc-list a {
  color: #1A0DAB !important;
}
.ez-toc-widget-container a{
  text-decoration-line: none;
}
    /* 間隔調整 */
.ez-toc-widget-container h3{
  padding: .4em .4em 0 .4em;
  margin: .3em 0 0 0;
}
    /* 下線消去 */
.ez-toc-list li {
  margin: 5px 0 0 0 !important;
}
    /* 間隔調整 */
.ez-toc-list ul {
  padding-left: 0 !important;
}

/* 横に長い表で左1列目を固定 */
.sticky-table {
  position: -webkit-sticky;
  position: sticky;
  display: block;
  left: 0;
}

/* コメント欄の「メアド入力欄」と「アドレスが公開されることは～」を非表示化 */
.comment-form-email, .comment-notes {
  display: none;
}

/* レンディング記事の利率シュミレーターの文字調整 */
.cp_cff_13 #fbuilder .fform {
  margin-bottom: 6px !important;
}
#field h2{
  margin: 0 0 0.8em 0 !important;
  font-size: 20px !important;
  background: none;
  border: 0;  
}
#field span{
  line-height: 1.6;
}

/* 青枠に囲まれていない2段階リストの上下間隔の調整 */
/* 2段目の<ul>にclass="double-list-margin-bottom"を入れる */
.double-list-margin-bottom {
  margin-bottom: 0 !important;
}
