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

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

/****************************
 ヘッダーに検索ボックスを設置
*****************************/
#search-menu-close-pc{
  display: none;
  /*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;
  /*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  transition: .3s ease-in-out;
}
#search-menu-input-pc:checked~#search-menu-close-pc{
  display: block;
  /*カバーを表示*/
  opacity: .5;
}
#search-menu-input-pc:checked~#search-menu-content-pc{
  transition: .3s ease-in-out;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  opacity: 1;
  //box-shadow: 6px 0 25px rgba(0,0,0,.15);
  width: 60%;
  left: 20%;
  right: 20%;

}

.menu-button-pc {
  color: #FFFFFF;
  margin: 0 10px;
  padding: 0 20px;
}

.search-menu-content {
  color: #333333;
}

/*1023px以下*/
@media screen and (max-width: 1023px){
/* キーワード集 */
.menu-button-pc,.menu-button-pc:hover {
  display: none;
}
}

/****************************
 バナーエリア
****************************/
.attention {
  font-size: 1.1em;
  font-weight: bold;
  color: #0000FF;
  margin: 0 0 0 5%;
}

.attention-2 {
  font-size: 1.1em;
  font-weight: bold;
  color: #8A2BE2;
  margin: 0;
  text-align: center;
}

/****************************
 購入ボタン 
*****************************/
.purchase-button {
  display: inline-block;
  padding: 0.5em 2em;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: bold;
  background-color: #EA1F47;
/*  border: 3px double #FFFFFF;*/
  border-radius: 5px;
  margin: 1em 0 2em;
  font-size: 1.25em;
}

.purchase-button:hover {
  color: #FFFFFF!important;
  background-color: #EA1F47;
  opacity: 0.7;
}

/****************************
 アーカイブのアイコンを消す
*****************************/
.archive-title :before {
display: none;
}
/****************************
 Linked Color 
****************************/
/*
.a-wrap:hover {
  background-color: #f5f8fa;
  transition: all 0.3s ease-in-out;
  color: #00bbff;
}

a {
   text-decoration: none;
}

a:hover,
.ect-entry-card a:hover,
.A-blogcard-wrap:hover,
.related-list a:hover,
.tag-link:hover,
#sidebar a:hover,
#footer a:hover {
  color: #00bbff;
}
*/

a img:hover {
   border: 0;
   opacity: 0.7;
}

#footer .author-name a {
  color: #0000cc;
}

#footer .author-name a:hover {
  color: #00bbff;
}

/****************************
 Font Size 
****************************/
.entry-card-snippet,
.related-entry-card-snippet {
    font-size: 16px;
  line-height: 150%;
  }

.tagline {
  text-align: center;
  font-size: 16px;
  margin: .6em 1em;
}

.breadcrumb {
  margin: 1em .4em;
  color: #555;
  font-size: 0.9em;
}

.entry-category, .post-date,
.post-update,
.post-author,
.amp-back {
  padding: 2px;
  display: inline;
  color: #555;
  font-size: 0.9em;
}

.cat-link ,
.tag-link {
  font-size: 0.9em;
  margin: 0.2em;
}

#sidebar .card-title {
  font-size: 0.95em;
}

.toc {
  border: 1px solid #ccc;
  font-size: 1em;
  padding: 1em 1.6em;
  display:  table;
}

#sidebar .toc {
  font-size: 0.9em;
  line-height: 150%;
}

#sidebar ol li {
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 24px;
  padding: 8px;
  position: relative;
  font-size: 16px;
}

/****************************
 Layout Base 
****************************/
.content-top {
  margin: 1em 0 0;
}

.main {
  padding-top: 0;
}

.sidebar {
  padding-top: 0;
}

p {
  margin: 0 10px;
}

ul,ol {
  margin: 10px;
}

table th,
table td {
  border: none;
  font-size: 1em;
  line-height: 150%;
}

.td-1 {
  white-space: nowrap;
}

.td-2 {
  white-space: normal;
}

.list-column {
  padding-bottom: 20px;
}

.hori-ul {
 display: flex;
}
.hori-li {
  list-style: none;
  padding-right: 10px;
  text-decoration: none;
}

/****************************
 エントリーカードラベル非表示 
****************************/
.entry-card .cat-label,
.cat-label {
  display: none;
}
/****************************
 固定ページ日付非表示 
****************************/
.page .date-tags {
  display: none;
}

/****************************
 カテゴリー、タグ一覧ページ
****************************/
.eye-catch img {
  vertical-align: bottom;
}

/****************************
 テーブルの境界線を消す
****************************/
.no-border {
  border: none;
  background-color: #FFFFFF;
}

/************************************
 トップへ戻るボタン
************************************/
/*.go-to-top {
  bottom: 80px;
}
*/
.go-to-top-button:hover {
  opacity: 0.7;
}

/************************************
 固定ページリスト
************************************/
.list-page-column {
  vertical-align: top;
  margin: 10px 0;
  padding: 10px;
}

.list-page-column a {
  color: inherit;
  text-decoration: none;
}

.list-page-column a:hover {
  color: #e53900;
  text-decoration: none;
}
/************************************
 フッターメニュー
************************************/
.footer-bottom,
.navi-footer-in a {
  font-size: 16px;
}

/**************************
 ページネーション
**************************/
.pagination {
  margin: 24px 0;
  clear: both;
  text-align: center;
  display: inline-flex;
  flex-wrap:wrap;
  justify-content: center;
  width: 100%;
}
.pagination .current {
  background-color: #eee;
}
.pagination a:hover {
  background-color: #f5f8fa;
  transition: all 0.3s ease-in-out;
  color: #333;
}

.page-numbers {
  color: #333;
  text-decoration: none;
  display: inline-block;
  height: 46px;
  width: auto;
  min-width: 46px;
  border: 1px solid #ddd;
  margin: 4px;
  line-height: 46px;
  text-align: center;
  border-radius: 4px;
}
.page-numbers span {
  line-height: inherit;
}

.page-numbers.dots {
  opacity: 0.6;
  background-color: #f5f6f7;
}

/****************************
 カテゴリーリスト表示 
****************************/
.A-cate-1 a .fa-tag:before {
    display: none;
}

.A-cate-1 a {
   vertical-align: top;
    width: 96%;
}

.A-cate-2 a .fa-tag:before {
    display: none;
}

.A-cate-2 a {
   vertical-align: top;
    width: 48%;
}

/****************************
 タグ表示 
****************************/
.A-tags-1 a .fa-tag:before {
    display: none;
}

.A-tags-1 a {
   vertical-align: top;
    width: 48%;
}

.A-tags-2 a .fa-tag:before {
    display: none;
}

.A-tags-2 a {
   vertical-align: top;
    width: 24%;
}

/************************************
 インデックスリストのタイトル付け
************************************/
.list.ect-vertical-card-2.ect-vertical-card.ect-2-columns.front-page-type-index {
  margin-top: 10px!important; /*上マージン調整*/
}
.archive .widget-index-top-title.main-widget-label { /*アーカイブインデックス*/
  display: none; /*非表示*/
}

/****************************
 レスポンシブデザイン用のメディアクエリ 
****************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
.A-cate-2 a {
  width: 23.5%;
}

.A-tags-2 a {
  width: 24%;
}

.A-banner {
  transform: scale(1.0);
  transform-origin: top left;
}

.A-card-thumb {
  width: 30%;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
.A-cate-2 a {
  width: 31%;
}

.A-tags-2 a {
  width: 32%;
}

.A-banner {
  transform: scale(1.0);
  transform-origin: top left;
}

.A-card-thumb {
  width: 35%;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
.A-cate-2 a {
  width: 47%;
}

.A-tags-2 a {
  width: 48%;
}

.A-banner {
  transform: scale(1.0);
  transform-origin: top left;
}

.A-card-thumb {
  width: 40%;
}
}
