@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* Background pattern from Subtle Patterns */

/*必要ならばここにコードを書く*/

body {
  letter-spacing: 0.02rem;
}

/*デフォルトリンク色の変更*/
a {
  color: #3d60f5;
}
a:hover {
  color: #c03;
}

.fz-16px {/*本文の文字を少しだけ大きく*/
  font-size: 1.025rem;/*デフォルト16px*/
}

/*hover時のスタイルを変更*/
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover {
  color: #c03;
  background-color: #ecf7ff;
  transition: all 0s ease;
}

/************************************
** セレクトボックスのスタイル
************************************/

select {
  font-size: 16px;/*デフォルト18px*/
  color: #555;/*デフォルト#333*/
}

/************************************
** 本文のスタイル
************************************/

/*投稿日・更新日・投稿者の文字のサイズと色を変更(デフォルト0.7em・#333)*/
.article .post-date,
.article .post-update,
.article .post-author {
  font-size: 0.9rem;
}

/************************************
** ヘッダーのスタイル
************************************/

.logo-text {
  padding: 0;
}

.tagline {
  margin: 0;
  color: #5081F8;/*サブタイトルの色*/
}

#header-in {
  padding: 2.4rem 0 1.625rem;
}

.site-name.site-name-text-link {
  display: inline-block;
}

.header {
  background-repeat: repeat;
  background-size: auto;
}

/*グローバルメニューのスタイル*/
.navi-in a {
  height: 100%;
  color: #084aa4;
}

#navi .navi-in > ul > li {
  width: 160px;
}

#navi .navi-in > ul > li > a {
  padding: 0 .3em;
}

#navi .navi-in > ul > li > a .item-label {
  white-space: nowrap;
}

@media screen and (max-width:1023px) {

  #navi .navi-in > ul > li {
    width: auto;
  }

  #navi .navi-in > ul > li > a {
    padding: 0 1.8em;
  }

}

/*グローバルメニューhovre時とカレント時の効果*/
#navi .navi-in > ul > li > a::after {
  content: "";
  border-bottom: 2px solid firebrick;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  will-change: transition;
  transition: all 0.3s ease-out;
}

#navi .navi-in > ul > li > a:hover::after {
  width: 100%;
  will-change: transition;
  transition: all 0.3s ease-out;
}

#navi-in > ul > li.current-menu-item > a::after {
  width: 100%;
}
/*
.navi-in a:hover {
  color: #084aa4;
  background-color: #ecf7ff;
  transition: all 0s ease;
  border-bottom: 3px solid #ba3939;
}

#navi-in > ul > .current-menu-item > a {
  border-bottom: 3px solid #ba3939;
}
*/
/*これだとフッターナビにもカレント表示されてしまうのでボツ
.current-menu-item > a, .current_page_item > a {
    border-bottom: 3px solid #ba3939;
}
*/

/*グローバルメニュースクロール固定*/
#navi.m_fixed {/*jQueryで制御*/
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transform: translate3d(0,0,0);/*iOSでスクロールバウンドでメニューの文字が消えるのを防ぐ*/
  background-image: url(https://leafytree.info/wp-content/uploads/2019/12/cropped-favicon-32x32.png);
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: top 5px left 10px;
}

.navi-in .menu-pc {/*デフォルトでは1030px以下で非表示だが、834px以下に変更*/
  display: flex;
}

#navi {
  border-bottom: 2px solid #dfe3ff;
}

@media screen and (max-width: 834px) {
	
  .navi-in .menu-pc {/*デフォルトでは1030px以下で非表示だが、834px以下に変更*/
    display: none;
  }

  #navi{
    border: none;
  }

}

.sidebar-scroll {/*グローバルメメニュー上部固定のためサイドバースクロール追従の上にマージンを設定*/
  top: 50px;
}

/************************************
** 見出しのスタイル
************************************/

.entry-title, .archive-title {
  color: #555;
  font-size: 1.45rem;
  margin: 26px 0;
  line-height: 1.3;
}

.article h1 {
  line-height: 1.5;
}

.article h2 { /*吹き出しのようなデザインに変更*/
  position: relative;
  padding: .75rem .95rem;
  margin-left: -1rem;/*h2のみマイナスマージンを設定*/
  margin-right: -1rem;
  margin-bottom: 35px;
  color: #fff;
  background-color: #7ea820;
  border: 1px solid #7ea820;
  border-radius: 6px;
  font-size: 1.1875rem;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.4);
}

.article h2::before,
.article h2::after {
  position: absolute;
  top: 100%;
  left: 35px;
  content: '';
  height: 0;
  width: 0;
  border: 15px solid transparent;
}

.article h2::before {
  border-top: 20px solid #7ea820;
}

.article h2::after {
  margin-top: -2px;
  border-top: 15px solid #7ea820;
}/*吹き出しのようなデザインここまで*/

.article h3{/*文字の色とサイズを変更*/
  font-size: 18px;
  color: #555;
  border-left: 6px solid #679b30;
  border-bottom: 2px solid #add160;
  border-top: none;
  border-right: none;
  padding: 8px 0 8px 12px;
}

.article h4,
.article h5,
.article h6 {
  font-size: 20px;
  padding: 8px 0;
}

.article  h4 {/*◆型のマークのデザインに変更*/
  color: #555;
  position: relative;
  padding: 0 .5em .5em 1.7em;
  font-size: 17px;
  border: none;
}

.article  h4::after {
  position: absolute;
  top: .25em;
  left: .4em;
  z-index: 2;
  content: '';
  width: 14px;
  height: 14px;
  background-color: #679b30;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/************************************
** エントリ―カード
************************************/

.ecb-entry-border .entry-card-wrap,
.recb-entry-border .related-entry-card-wrap {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 4px dotted #c6c6c6;
}

.entry-card-wrap {
  padding: 3% 3% 6% 3%;
}

.related-entry-card-wrap {
  padding: 1% 1% 6% 1%;
}

.entry-card-thumb {/*エントリーカードのサムネイル画像のサイズを変更（変更前320px）*/
  width: 180px;
}

.related-entry-card-thumb {/*関連記事のサムネイル画像のサイズを変更（変更前160px）*/
  width: 120px;
}

.entry-card-content {
  margin-left: 31.662%;
}
.related-entry-card-content {/*カード内の文字の左側のマージンを画像のサイズに合わせて調整*/
  margin-left: 145px;
}

.entry-card-thumb,
.author-thumb,
.blogcard-thumbnail,
.related-entry-card-thumb,
.popular-entry-card-thumb,
.new-entry-card-thumb {/*右側のマージンを少し増やす(デフォルト1.6)*/
  margin-right: 3.5%;
}

/*カテゴリーラベル*/
.cat-label::before {/*アイコンを追加*/
  font-family: FontAwesome;
  content: "\f07b";
  padding-right: 3px;
}

.cat-label {/*位置とスタイルを変更*/
  position: static;
  border: none;
  font-size: 0.73rem;
  background-color: transparent;
  color: #777;
}

/*関連記事のカテゴリーラベル*/
.related-entry-card .cat-label {
  font-size: 0.73rem;
}

/* エントリ―カード内の文字を調整*/
.entry-card-wrap.a-wrap,
.related-entry-card-wrap.a-wrap {/*カードのデフォルトの色を変更*/
  color: #555;
}

.entry-card-title,
.related-entry-card-title {/*タイトルの表示の調整*/
  line-height: 1.4;
  margin-bottom: 8px;
}

.entry-card-title {
  font-size: 20px;
}

.entry-card-snippet,
.related-entry-card-snippet {/*スニペットの表示の調整*/
  color: #333;
  font-size: 0.92rem;
  max-height: 8em;
  line-height: 1.8;
  overflow: hidden;
  border-top: 2px solid #c9c2fc;/*画面幅480以下では無効に*/
  border-image: linear-gradient(to right, #c9a3ff 0%, #b3ffee 55%, #fff874 85%, #ffceb3 100%);
  border-image-width: 1 0 0 0;/*上辺だけに限定*/
  border-image-slice: 1;
  padding-top: 0.8rem;/*画面幅480以下では無効に*/
}

.entry-card-meta,
.related-entry-card-meta {/*投稿日・更新日・コメント数を外のパディング内に下げる*/
  bottom: -1rem;
}

.entry-card-info > *,
.related-entry-card-info > * {/*投稿日・更新日・コメント数*/
  font-size: 0.85em;
}

/*最新の記事だけ大きなカード*/
.front-top-page .ect-big-card-first .a-wrap:first-of-type .card-thumb {/*画像下のマージンが足りないので修正*/
  margin-bottom: 4%;
}

/************************************
** 目次のスタイル
************************************/

/*目次リンクのジャンプ位置を下げる*/
/*
span[id^="toc"] {
  padding-top: 65px;
  margin-top: -65px;
}
*/

:target {
  padding-top: 65px;
  margin-top: -65px;
}

/*目次を中央配置-保留
#toc_container {
  margin-left: auto;
  margin-right: auto;
}
*/

/*目次のデザイン*/
.toc {
  border-radius: 6px;
  border-color: #99c831;
  background-color: #ffffed;
}

.toc-title {
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #555;
}

.toc-title::after {
  font-size: inherit;
}

.toc-list > li::marker {
  color: #7ea820;
  font-weight: bold;
}

.toc-checkbox:checked + .toc-title::after {
  content:'\f0a9\00a0閉じる';
  font-family: fontawesome, Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serifo;
  color: #7ea820;
}

.toc-title::after {
  content:'\f0a9\00a0開く';
  font-family: fontawesome, Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serifo;
  color: #7ea820;
}

/************************************
** テーブルのデザイン
************************************/

table th,
table td {/*デフォルトの線が薄いので少し濃くする*/
  border-color: #ccc;
}

table:not(.has-border-color) :where(th, td) {
  border-color: #ccc;
}

/************************************
** ウィジェットエントリーカードのデザインを調整
************************************/

.widget-entry-cards .a-wrap {
  padding: 3%;
  line-height: 1.5;
  margin-bottom: 2px;
}

.widget-entry-cards figure {
  width: 80px;
}

.widget-entry-cards .widget-entry-card-content {
  margin-left: 85px;
}

.widget-entry-cards .widget-entry-card {
  font-size: 0.94rem;
}

/************************************
** サムネイル画像
************************************/

/*サムネイル上のマージンを消す(デフォルト3px)*/
.entry-card-thumb,
.widget-entry-card-thumb,
.related-entry-card-thumb,
.carousel-entry-card-thumb {
  margin-top: 0;
}

.card-thumb img {/*下の余分な隙間をなくす*/
  vertical-align: bottom;
  border-radius: 10px;
}

/************************************
** ブログカードのスタイル
************************************/

.blogcard {
  padding: 3%;
}

.blogcard-thumbnail {/*デフォルト160px*/
  width: 20%;
}

.blogcard-content {
  margin-left: 23.5%;
  max-height: 12em;
}

.blogcard-title {
  line-height: 1.4;
  margin-bottom: 1.3em;
  color: #3d60f5;
}

.blogcard-snipet {
  margin-top: 0.5rem;
  font-size: 0.91rem;
  line-height: 1.4;
}

.blogcard-favicon {
  margin-top: 0;
}

.blogcard-favicon img {
  vertical-align: middle;
}

/************************************
** 画像をマウスホバーで半調のクラスを設定
************************************/

.half-tone a:hover img{
  opacity: 0.6;
  filter: alpha(opacity=60);
  -moz-opacity:0.6;
}

.half-tone:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -moz-opacity:0.6;
}

/************************************
** 本文の画像にキャプションをつけたときのスタイルを変更
************************************/

.wp-caption {
  padding-bottom: 4px;/*デフォルト0*/
}

/************************************
** リンクカードのhover時の指定
************************************/

.a-wrap:hover {
  color:#c03;
  background-color: #fff;
  transition: all 0.1s ease;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
  /*text-decoration: underline;*/
}

/************************************
** サイドバーのスタイル
************************************/

.sidebar h3{
  font-size: 18px;
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0,0,0,0.5);
  background-color: rgba(126,168,32,0.85);
  border: 1px solid rgba(126,168,32,0.85);
  border-radius: 5px;
  padding: 7px 2px 7px 15px;
}

/*タグクラウドのスタイル*/
.tagcloud a {
  border-radius: 5px;
}

.tagcloud a:hover {
  background-color: #777;
  transition: all 0s ease;
  color: #fff;
}

/*カテゴリーにアイコンを追加*/
.widget-sidebar > ul > .cat-item a::before {
  font-family: FontAwesome;
  content: "\f07c";
  font-size: 1.4rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  color: #73a6ec;
  line-height: 1;
}

/*子カテゴリーのアイコン*/
.widget-sidebar > ul > .cat-item .children a::before {
  content: "\f0da";
}

/************************************
** リスト（List）
************************************/

.article ul li,
.article ol li {/*本文中のリストの行間の指定、リスト同士の間隔を広げる*/
  line-height: 1.7;
  margin-bottom: 0.5em;
}

.article dl {
  margin: 30px 0;
}

.article dt {/*緑の丸の付いたデザインに変更*/
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  padding-left: 1.6em;
}

.article dt::after {
  position: absolute;
  top: .3em;
  left: .4em;
  z-index: 2;
  content: '';
  width: 12px;
  height: 12px;
  background-color: #679b30;
  border-radius: 100%;
}

.article dd {
  margin-bottom: 30px;
}

/************************************
** ページポストナビにマイナスマージンを設定し、文字のサイズ、行間を調整
************************************/

.pager-post-navi a figure {
  min-width: auto;
  max-width: none;
  width: 100px;
  flex-shrink: 0;
}

.pager-post-navi {
  margin: 38px -49px;
}

.pager-post-navi a {
  line-height: 1.4;
  font-size: 0.95em;
}

/************************************
** メインカラムとサイドバーの上のpaddingを増やす
************************************/

#main.main,
div.sidebar {
  padding-top: 39px;
  margin-top: 0;
  margin-bottom: 0;
}

/************************************
** トップへ戻るボタンの位置と見た目を変更
************************************/

.go-to-top {
  right: 20px;
  bottom: 20px;
  z-index: 100001;
}

.go-to-top-button {
  background-color: #999;
  color: #fff;
  width: 62px;
  height: 65px;
  border: 2px solid #fff;
  font-size: 3rem;
  opacity: 0.6;
}

.go-to-top-button:hover {
  color: #fff;
  opacity: 1.0;
}

/************************************
** 次のページボタン、コメントフォーム表示ボタンの見た目変更
************************************/

.pagination-next {
  text-align: center;
}

.pagination .current,
.page-numbers.current {
  background-color: #888;
  color: #fff;
}

.pagination-next-link,
.comment-btn {
  display: inline-block;
  font-size: 1rem;
  text-align: center;
  padding: 8px 20px;
  border-radius: 5px;
  width: auto;
}

.pagination a:hover,
.pagination-next-link:hover,
.comment-btn:hover {
  text-decoration: underline;
  background-color: #f3f3f3;
  border: 1px solid #888;
  transition: all 0s ease;
}

input[type='submit'],
#bbp_reply_submit,
.bp-login-widget-register-link a {/*コメント送信ボタン*/
  width: auto;
}

/*ページ番号の枠を小さく(デフォルト50px)*/
.page-numbers {
  width: 43px;
  height: 43px;
  line-height: 43px;
}

/*記事分割時のページャー*/
.pager-prev-next a {
  width: 10rem;
}

a.post-page-numbers {/*chromeやsafaliで下線が付くのを防ぐ*/
  text-decoration: none;
}

.pager-links a:hover span {
  text-decoration: underline;
  background-color: #f3f3f3;
  border: 1px solid #888;
  transition: all 0s ease;
}

.pager-links.pager-prev-next a span {
  color: #3d60f5;
  font-weight:bold;
  background: #fff;
  border: 1px solid #3d60f5;
}

.pager-links.pager-prev-next a:hover span {
  color: #fff;
  background-color: #6681f5;
  border: 1px solid #6681f5;
  transition: all 0s ease;
  text-decoration: none;
}

/************************************
** コメントの文字を少し小さく
************************************/

.comment-content p {
    font-size: 0.93rem;
}

/************************************
** 動画の最大幅を指定（デフォルト640px）
************************************/

.video-container,
.instagram-container,
.facebook-container {
  max-width: 700px;
}

/************************************
** メッセージボックス系
************************************/

/*ブートストラップのインフォメーションライクな囲みが表示される*/
.is-style-primary-box,
.primary-box,
.sp-primary,
.primary {
  padding: 20px;
}

/*サクセスメッセージ*/
.is-style-success-box,
.success-box,
.sp-success,
.success {
  padding: 20px;
}

/*インフォメッセージ*/
.is-style-info-box,
.info-box,
.sp-info,
.info {
  padding: 20px;
}

/*注意メッセージ*/
.is-style-warning-box,
.warning-box,
.sp-warning,
.warning {
  padding: 20px;
}

/*警告メッセージ*/
.is-style-danger-box,
.danger-box,
.sp-danger,
.danger {
  padding: 20px;
}

/*セカンダリー*/
.is-style-secondary-box,
.secondary-box {
  padding: 20px;
}

/*ライト*/
.is-style-light-box,
.light-box {
  padding: 20px;
}

/*ダーク*/
.is-style-dark-box,
.dark-box {
  padding: 20px;
}

/************************************
** infobox
************************************/

.information-box,
.question-box,
.alert-box,
.information,
.question,
.alert,
.memo-box,
.comment-box,
.common-icon-box{
  padding: 20px 20px 20px 80px;/*左を少し広げる(デフォルト72)*/
}

.information-box::before,
.question-box::before,
.alert-box::before,
.information::before,
.question::before,
.alert::before,
.memo-box::before,
.comment-box::before,
.common-icon-box::before {
  font-family: "FontAwesome";
  font-size: 50px;
  border: none;
  position: absolute;
  top: 20px;
  left: 20px;
  line-height: 1em;
  padding: 0;/*以下初期化*/
  margin: 0;
  width: auto;
  text-align: start;
}

/*インフォメーションボックスの色をブルー系からオレンジ、黄色系に変更*/
.information-box,
.information {
  background: #ffffef;
  border: 1px solid #ffb5a1;
}

.information-box::before,
.information::before {
  color: #ffb5a1;
}

.info-box,
.sp-info,
.info {/*文字をグレーに、背景色薄いブルーborderもブルーに*/
  color: #333;
  background-color: #f2faff;
  border: 1px solid #8fc9fc;
}

/************************************
** タグクラウドのスタイル
************************************/

.tagcloud a {
  color: #1967d2;
  padding: 2px 8px;
  border: 2px solid #ddd;
  text-decoration: none;
  font-size: 14px;
}

.tagcloud a:hover {
  background-color: #4289ea;
  border-color: #4289ea;
  color: #fff;
}

/************************************
** ソースコード表示のフォントファミリーとフォントサイズを変更
************************************/

code,
pre {
    font-family: Menlo, Monaco, Consolas, Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, メイリオ, sans-serif;
    font-size: .98em;
}

/*preタグとその子孫のタグの改行を禁止する
.entry-content pre,
.entry-content pre * {
    word-wrap: normal;
}
*/

/************************************
** スライドインメニューの見た目の変更
************************************/

.menu-drawer li:first-child a {
  border-top: 2px dotted #90cbff;
}

.menu-drawer li a {
  padding: 12px 6px;
  border-bottom: 2px dotted #90cbff;
}

/************************************
** 独自のボタンを設定（お問い合わせボタンなど）
************************************/

.customize_button {
  font-size: 0.95rem;
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
}

.customize_link_button a {
  color: #3d60f5;
  border: 1px solid #3d60f5;
  font-size: 0.95rem;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
}

.customize_link_button a:hover {
  color: #c03;
  border-color: #c03;
  transition: all 0.1s ease;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
}

/************************************
** Table of Contents Plusプラグインのカスタマイズ
************************************/

#toc_container {
  border-radius: 5px;
}

#toc_container .toc_title {
  color: #555;
}

#toc_container .toc_title .toc_toggle {
  color: transparent;
}

#toc_container .toc_title .toc_toggle a {
  font-size: 16px;
  font-weight: bold;
  border: 2px solid;
  border-radius: 5px;
  padding: 3px 20px;
}

#toc_container .toc_title .toc_toggle a:hover {
  background-color: #3d60f5;
  color: #fff;
  text-decoration: none;
}

/************************************
** PS auto sitemap プラグインの「矢印」デザインのCSSを上書き
************************************/

#sitemap_list li li {/*デフォルトのsmalより大きくする*/
  font-size: 0.95rem !important;
}

#sitemap_list li li a {/*paddingと行間を調整*/
  padding: 15px 0px 15px 45px !important;
  line-height: 1.3rem !important;
}

/************************************
** フッター
************************************/

#footer a:hover {
  background-color: #fff;
  transition: all 0s ease;
  color: #5a8c2b;
}

/************************************
** SNSフォローボタン
************************************/

/*SNSフォローメッセージの文字サイズ変更*/
.sns-follow-message {
  font-size: 0.8em;
}

/************************************
** Googleカスタム検索結果のページネーション
************************************/

div.gsc-resultsbox-visible .gsc-results .gsc-cursor-box .gsc-cursor-current-page,
div.gsc-resultsbox-visible .gsc-results .gsc-cursor-box .gsc-cursor-page {
  font-size: 15px;
  border-width: 1px;
  border-style: solid;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: 8px;
}

div.gsc-resultsbox-visible .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  background-color: #1A73E8;
  color: #fff;
}

div.gsc-resultsbox-visible .gsc-results .gsc-cursor-box .gsc-cursor-page {
  border-color: #ccc;
}

div.gsc-orderby .gsc-option-menu-container.gsc-inline-block {
  width: 85px;
}

/************************************
** カエレバのスタイル変更
************************************/

.article .booklink-box,
.article .kaerebalink-box,
.article .tomarebalink-box,
.article .product-item-box {
  width: auto;
  margin: 2em auto;
  border: 4px double #dfdfdf;
  border-radius: 5px;
  padding: 35px 20px 20px;
}

/*リンクボタンの色をもしものかんたんリンクに合わせる*/
.shoplinkamazon a {
  background-color: #f79256;
}

.shoplinkrakuten a {
  background-color: #f76956;
}

.shoplinkyahoo a {
  background-color: #66a7ff;
}

.kaerebalink-link1 a:hover,
.booklink-link2 a:hover,
.tomarebalink-link1 a:hover,
.product-item-buttons a:hover {
  color: #fff;
  opacity: 1;
  transition: all 0.1s ease;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
}

.booklink-link2,
.kaerebalink-link1,
.tomarebalink-link1,
.product-item-buttons {
  margin-top: 20px;
}

.kaerebalink-link1 a,
.booklink-link2 a,
.tomarebalink-link1 a,
.product-item-buttons a {
  padding: 8px 8px;
  border-radius: 5px;
  font-size: .8em;
  margin-bottom: 15px;
}

.kaerebalink-link1 a:hover,
.booklink-link2 a:hover,
.tomarebalink-link1 a:hover,
.product-item-buttons a:hover {
  color: #fff;
  opacity: 1;
  transition: all 0.1s ease;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
}

/*本家カエレバ画像用*/
.kaerebalink-image img:first-child:hover,
.booklink-image img:first-child:hover {
  box-shadow:0 4px 8px 2px rgba(0,0,0,0.2);
  transition: all 0.1s;
}

@media screen and (min-width:481px) {

  .kaerebalink-link1 a,
  .booklink-link2 a,
  .tomarebalink-link1 a,
  .product-item-buttons a {
    width:130px;
  }

}

.shoplinkyahoo a {
  font-size: .6em;
}

.kaerebalink-link1 img,
.booklink-link2 img {/*「もしも」の１px画像の余分なマージンを消す*/	
  display: block;
}

/*Cocoonデフォルトの480px以下で中央寄せを解除*/
.booklink-info,
.kaerebalink-info,
.tomarebalink-info,
.product-item-content {
  text-align: left !important;
}

/*480px以下ではボタンを縦に並べる*/
@media screen and (max-width: 480px) {

  .booklink-link2,
  .kaerebalink-link1,
  .tomarebalink-link1,
  .product-item-buttons {
    flex-direction: column;
    align-items: center;
  }

  .booklink-link2 > *,
  .kaerebalink-link1 > *,
  .tomarebalink-link1 > *,
  .product-item-buttons > * {
    width: 130px;
  }

}

/************************************
** Cookie notice
************************************/

div#cookie-notice.cn-bottom.wp-default {/*バーの色を上書き*/
  background-color: rgba(113, 155, 19, 0.85) !important;
}

#cn-more-info,#cn-accept-cookie {
  color: #666;
  font-weight: normal;
}

#cn-more-info:hover,#cn-accept-cookie:hover {
  color: #222;
  font-weight: bold;
}

/************************************
** 画面幅が768px以下でコンテンツが少ないとき
フッターが下端から離れないようにする
************************************/

#container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

#content {
  flex-grow: 1;
}

/* IE11 のみ適用*/
_:-ms-lang(x)::-ms-backdrop, #container {
    display: block;
}

/************************************
** フッター内のboxにクリアフィックスがあるために
フッターの下に隙間ができてしまうのを防ぐ
************************************/

.footer-bottom.fdt-logo.fnm-text-width.cf::after {/*クリアフィックスの解除*/
  content: none;
}
.footer-bottom.fdt-logo.fnm-text-width.cf {/*解除したクリアフィックスの代替*/
  overflow: hidden;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1276px以下*/
@media screen and (max-width: 1276px){
  /*必要ならばここにコードを書く*/
  .entry-card-thumb {
    width: 27.358%;
  }

  .main {
    width: 66.85%;
  }

  .sidebar {
    padding: 19px 2.2%;
    width: 30.55%;
  }

}/*1276px以下ここまで*/

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

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	
/*メインカラムとサイドバーの最大幅を設定*/
  .main {
    max-width: 860px;
  }

  .sidebar {
    max-width: 860px;
  }

  main.main,
  div.sidebar {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding-left: 79px;
    padding-right: 79px;
  }

  #slide-in-sidebar {
    padding: 10px;
  }

  .cn-bottom {
    bottom: auto !important;
    top: 0;
  }

}/*1023px以下ここまで*/

/*850px以下*/
@media screen and (max-width: 850px){
  /*必要ならばここにコードを書く*/
  
  main.main,
  div.sidebar {
    margin-left: 0.7%;
    margin-right: 0.7%;
  }

}/*850px以下ここまで*/

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

  .pager-post-navi.post-navi-square {/*ポストナビを上下に配置*/
    flex-direction: column;
  }

  .pager-post-navi {/*左右のマイナスマージンを0に戻す*/
    margin: 38px 0px;
  }

  .pager-post-navi.post-navi-square a {
    width: 100%;
    padding: 7px;
  }

  .post-navi-square.post-navi-border a:last-child {
    border-left-width: 1px;
    border-top-width: 0;
  }

  .article h2 {
    margin-left: 0;
    margin-right: 0;
  }

  .header {
    background-size: cover;
  }

}/*768px以下ここまで*/

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

  main.main,
  div.sidebar {
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
  }

}/*700px以下ここまで*/

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
  .page-body {/*子テーマで少し大きくした本文のフォントを元に戻す*/
    font-size: 16px;
  }

  /*エントリ―カードのスタイル*/
  .entry-card-wrap,
  .related-entry-card-wrap {/*左右を狭く、下を広く*/
    padding: 3% 2% 8% 2%;
  }

  .entry-card-thumb,
  .related-entry-card-thumb {
    width: 30%;
  }

  .entry-card-title {
    font-size: 1.125rem;
  }
	
  /*たぶん不要
  .ect-entry-card .card-snippet,
  .rect-entry-card .card-snippet,
  .ect-big-card-first .card-snippet {
    font-size: 0.9rem;
  }
  */
	
  .entry-title,
  .archive-title {
    padding: 0;
    font-size: 1.2rem;
  }

  .entry-card-snippet,
  .related-entry-card-snippet {/*スニペットの表示の調整*/
    border-top: none;/*タイトルとスニペットの境界線を消す*/
    border-image: none;
    padding-top: 0;
    max-height: 7.2em;
  }
	
  .entry-card-info > *,
  .related-entry-card-info > * {/*投稿日・更新日・コメント数*/
    font-size: 0.75em;
  }
	
  /*カテゴリーラベル*/
  .cat-label {
    font-size: 0.65rem;
  }

  /*関連記事のカテゴリーラベル*/
  .related-entry-card .cat-label {
    font-size: 0.65rem;
  }

  /*ページポストナビ*/
  .pager-post-navi a figure {
    width: 26.886%;
  }
	
  /*ページボタン*/
  .page-numbers {
    width: 34px;
    height: 34px;
    line-height: 34px;
  }
	
  /*記事分割時の次のページへボタン*/
  .pager-prev-next a {/*記事分割時の次のページへボタン*/
    width: 45%;
  }
	
  .page-numbers.page-prev-next {
    height: 43px;
    line-height: 43px;
  }

  /*ブログカード*/
  .blogcard-thumbnail {
    width: 25%;
  }

  .blogcard-title {
    font-size: 0.86rem;
  }

  .blogcard-snipet {
    font-size: 0.82rem;
  }

  /*infobox*/
  .information-box::before,
  .question-box::before,
  .alert-box::before,
  .information::before,
  .question::before,
  .alert::before,
  .memo-box::before,
  .comment-box::before,
  .common-icon-box::before {
    top: 20px;
    left: 13px;
    font-size: 30px;
  }

  .information-box,
  .question-box,
  .alert-box,
  .information,
  .question,
  .alert,
  .memo-box,
  .comment-box,
  .common-icon-box {
    padding: 20px 6px 20px 50px;
  }

}/*480px以下ここまで*/

/************************************
** もしも かんたんリンク カスタマイズ
************************************/

div.easyLink-box {
  border: 4px double #dfdfdf !important;
  border-radius: 5px;
}

div.easyLink-box div.easyLink-info p.easyLink-info-name,
div.easyLink-box.easyLink-size-s div.easyLink-info p.easyLink-info-name {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

div.easyLink-box div.easyLink-info p.easyLink-info-name a {
  color: #3d60f5 !important;
}

div.easyLink-box div.easyLink-info p.easyLink-info-name a:hover {
  color: #c03 !important;
  text-decoration: underline;
}

div.easyLink-box div.easyLink-info p.easyLink-info-btn a {
  margin-bottom: 15px !important;
  transition: 0.1s ease-in-out !important;
}

div.easyLink-box div.easyLink-info p.easyLink-info-btn a:hover {
  opacity: 1 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
}

div.easyLink-box .easyLink-arrow-left,
div.easyLink-box .easyLink-arrow-right {
  height: 36px;
}

div.easyLink-box.easyLink-size-s .easyLink-arrow-left,
div.easyLink-box.easyLink-size-s .easyLink-arrow-right {
  height: 24px;
}

@media screen and (min-width:704px) {

  div.easyLink-box div.easyLink-info {
    overflow: hidden;
  }

  div.easyLink-box.easyLink-size-s div.easyLink-img p.easyLink-img-box {
    width: 220px !important;
    height: 220px !important;
  }

  div.easyLink-box div.easyLink-info p.easyLink-info-btn a,
  div.easyLink-box.easyLink-size-s div.easyLink-info p.easyLink-info-btn a {
    font-size: 12.5px !important;
  }

  div.easyLink-box div.easyLink-info p.easyLink-info-btn a:nth-child(2n) {
      margin-left: 0 !important;
  }

}

@media screen and (max-width:703px) {

div.easyLink-box div.easyLink-info {
    margin-left: 15px;
  }

}

@media screen and (max-width:480px) {

div.easyLink-box div.easyLink-info {
    margin-left: 0;
  }

}

/************************************
** Amazon 商品リンク
************************************/

@media screen and (max-width:480px) {/*iframe要素をスマホで中央寄せ*/

  .amazon-advertisement-mobile-center {
    text-align: center;
  }

}

/************************************
** アマゾンテキストリンクボックス(オリジナル)
************************************/

.amazontextlinkbox {
  border: 4px double #dfdfdf;
  border-radius: 6px;
  width: 85%;
  margin: 0 auto;
  padding: 20px 40px;
  position: relative;
}

.amazontextlinkbox::after {
  content: "\ea87";
  font-family: icomoon;
  position: absolute;
  bottom: 0;
  right: 6px;
  font-size: 24px;
  color: var(--cocoon-thin-color);
}

.amazontextlinknamebox {
  margin-bottom: 8px;
  font-weight: bold;
  line-height: 1.6;
}

.amazontextlinkdescription {
  font-size: .85em;
  padding: 0 1em;
  margin-bottom: 8px;
  line-height: 1.6;
}

.amazontextlinkbutton1 a {
  display: inline-block;
  padding: 6px 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  background-color: #feffd1;
  border: 1px solid;
  border-radius: 5px;
  font-size: .83em;
}

.amazontextlinkbutton1 a:hover {
  transition: all 0.1s ease;
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
}

@media screen and (max-width: 480px){
  .amazontextlinkbox {
    width: 100%;
    padding: 20px 20px;
  }
  .amazontextlinkbox::after {
    font-size: 19px;
  }
}

/************************************
** カエレバ・ヨメレバPC用
************************************/

/*
.cstmreba {
  margin-top: 50px;
  margin-bottom: 50px;
}

.kaerebalink-box,
.booklink-box {
  border: 4px double #ddd;
  padding: 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  line-height: 1.5rem;
  overflow: hidden;
}

.kaerebalink-image,
.booklink-image {
  float: left;
  margin-right: 15px;
  min-width: 160px;
  text-align: center;
}

.kaerebalink-image img: first-child:hover,
.booklink-image img: first-child:hover {
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
  transition: all 0.1s;
}

.kaerebalink-info,
.booklink-info {
  overflow: hidden;
}

.kaerebalink-name a,
.booklink-name a {
  text-decoration: none;
}

.kaerebalink-powered-date,
.booklink-powered-date {
  font-size: 0.6rem;
}

.kaerebalink-detail,
booklink-detail {
  font-size: 0.8rem;
  margin-bottom: 15px;
}

.kaerebalink-link1 img,
.booklink-link2 img {/*「もしも」の１px画像を消す
  display:none;
}

.kaerebalink-link1 > div,
.booklink-link2 > div {
  float: left;
  width: 28%;
  margin-right: 10px;
  margin-bottom: 15px;
}

.kaerebalink-link1 a,
.booklink-link2 a {
  display: inline-block;
  width: 100%;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 3px 3px;
}

.kaerebalink-link1 a:hover,
.booklink-link2 a:hover {
  box-shadow: 0 4px 8px 2px rgba(0,0,0,0.2);
  transition: all 0.1s;
}

.shoplinkyahoo a {
  font-size: 0.7rem;
}
*/
/************************************
** カエレバ・ヨメレバ・スマホ用のメディアクエリ
************************************/

/*
@media screen and (max-width: 680px) {

  .kaerebalink-box,
  .booklink-box {
    padding: 15px;
  }

  .kaerebalink-image,
  .booklink-image {
    float: none;
  }

  .kaerebalink-link1 > div,
  .booklink-link2 > div {
    width: 50%;
  }

}
*/

/************************************
** サイトタイトルのフォントをWebフォントに
************************************/

@font-face {
  font-family: "丸フォーク M";
  font-weight: 400;
  src:url("https://webfonts.xserver.jp/advance/mkfont/ja/107/ts?condition=e38123f77e9d6dc18df78efa3e2dfa1f&eid=K18MUcZzRRA%3D&location=https%3A%2F%2Fleafytree.info%2Fexcel-fill-blank-cells-with-same-value-as-above-cell%2F&bw[name]=Chrome&bw[ftf]=0&bw[os]=Macintosh&fonts[family]=%E4%B8%B8%E3%83%95%E3%82%A9%E3%83%BC%E3%82%AF%20M&fonts[str]=44Oq44OV44Kj44OI44O844Kk44Oz44KpMA%3D%3D") format("woff");
  font-display: swap;
}

/*サイトタイトルのフォントを指定*/
.header .site-name-text {/*モリサワWebフォント*/
  font-family: "丸フォーク M";
}

/************************************
** CLS対策
************************************/

/*ラージスカイスクレイパーの高さを事前に確保*/
.ad-sidebar-top.ad-vertical .ad-wrap {
  height: 600px;
}

/*Googleカスタム検索の高さを事前に確保*/
#custom_html-4 .textwidget.custom-html-widget {
  height: 51px;
}

.iPhone #footer {
    padding-bottom: 50px;
}

input[type="submit"] {
  -webkit-appearance: none;
	color: #333;
}

/************************************
** サイドバースクロール追従 カスタムhtmlウィジェット スマホQRコード表記
************************************/

#sidebar-scroll #custom_html-5 .widget-sidebar-scroll-title.widget-title::before {
  display: inline;
  font-family: FontAwesome;
  content: "\f10b";
  font-size: 1.8em;
  margin-right: 0.3em;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
}