@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*
  Skin Name: チェコポータル
  Description: チェコポータル専用スキン
  Skin URI: https://cz-portal.com
  Author: ヒサノアスカ
  Author URI: https://a-h.work
  Screenshot URI: N/A
  Version: 1.0.0
  Priority: 10010
*/
/*以下にスタイルシートを記入してください*/

/* ----------基本設定---------- */

/*フォーム装飾*/
.search-edit,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="submit"],
textarea,
select,
button[type="submit"],
button[type="reset"] {
  padding: .5rem;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}
textarea {
  font-family: "Meiryo",  "Hiragino Kaku Gothic Pro", "游ゴシック体", "Yu Gothic",sans-serif;
}
input[type="submit"] {
  font-weight: 600;
}

/*ホームページから色々削除*/
.home.page .entry-title,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .date-tags,
.home.page .author-info,
.pagination-next {
  display: none;
}

/*固定ページからSNSシェアを削除*/
.page .sns-follow,
.page .sns-share {
	display: none;
}

/*ページネーション対応*/
.pagination-next {
	display: none;
}
/*AdSenseのラベル*/
.ad-label {
  font-size: .8rem;
  font-weight: bold;
}

/*SNSシェアのラベル*/
.sns-share-message,
.sns-share-message::before,
.sns-share-message::after {
  color: #999;
  font-weight: bold;
}

/* 関連記事のカテゴリーラベル削除 */
.related-list .cat-label {
  display: none;
}

/*リンクのホバー背景色を統一*/
.navi-in a:hover,
.navi-footer-in a:hover,
.a-wrap:hover,
.tag-link:hover,
.comment-reply-link:hover,
.tagcloud a: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,
.recent-comments .a-wrap:hover .recent-comment-content,
.pagination a:hover,
.pagination-next-link:hover,
.comment-btn:hover,
.pager-links a:hover span,
.mobile-menu-buttons .menu-button:hover,
.menu-drawer a:hover,
.bp-login-widget-register-link a:hover {
  background-color: #ccc;
  transition: all 0.5s ease;
}


/* -----ヘッダーの設定----- */
/* ヘッダー範囲の設定 */
#header-in.wrap {
  width: 100%;
  line-height: 1;
}
.header {
  background-size: 100% 100%;
}
/* h1の設定*/
.logo-text {
  padding: 15px;
}
/* タイトル文字の設定*/
.site-name-text {
    font-weight: 600;
    font-size: 40px;
    padding-top: 100px;
}
/* サイト情報文字列の設定 */
.tagline {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
}

@media screen and (max-width: 1030px) {
  .logo-text {
    padding: 0;
    line-height: 1.5;
  }
  .tagline {
    font-size: .8rem;
  }
}
@media screen and (max-width: 480px){
  #header .site-name-text {
    font-size: 30px;
  }
  .tagline {
    display: none;
  }
}

/* -----グローバルナビの設定----- */

#navi li {
	border-left: solid 1px #ccc;
}
#navi li:last-child {
	border-right: solid 1px #ccc;
}
#navi {
	border-bottom: solid 1px #ccc;
}
/*エントリーカード設定*/
.entry-card-wrap,
.entry-card-wrap.a-wrap,
.widget-entry-card-wrap {
  padding: 0;
}

a.entry-card-wrap figure.entry-card-thumb{
  overflow: hidden;
  line-height: 0;
}
.entry-card .cat-label {
  display: none;
}
.entry-card-title {
  padding: 10px 5px 5px 10px;
}
.entry-card-content, .related-entry-card-content {
	padding-bottom: 0;
}

a.entry-card-wrap:hover img.entry-card-thumb-image{
  filter: blur(2px) brightness(60%);
  transform: scale(1.03);
  opacity: 1;
  transition: 0.5s;
}
a.entry-card-wrap figure.entry-card-thumb::before{
  z-index: 1;
  font-family: sans-serif;
  font-weight: bold;
  content: "記事を読む";
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  font-size: 100%;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0;
  left: 0;
  opacity: 0;
  transition: .25s ease;
}

a.entry-card-wrap:hover figure.entry-card-thumb::before{
  opacity: 0.9;
  font-size: 150%;
}

/* ブログカード関連 */
.internal-blogcard-snippet,
.internal-blogcard-site {
  display: none;
}

.blogcard {
	border: solid 2px #114571;
}
.blogcard-label {
	background-color: #114571;
}

/* -----サイドバーの設定----- */
/*サイドバーの文字サイズ*/
.sidebar {
  font-size: .8rem;
}

/*サイドバーの見出しh3装飾*/
.sidebar h3 {
  line-height: 0;
  padding: 0 0 1.2rem .5rem;
  border-bottom: double #114571 5px;
  background-color: #fff;
  font-size: 1.2rem;
}

.sidebar h3::first-letter {
  color: #d71419;
  font-size: 2rem;
}

/*サイドバーの記事タイトル*/
.sidebar .new-entry-card-title,
.sidebar .popular-entry-card-title {
  font-size: .9rem;
}

/*検索ボックス設定*/
.sidebar .search-box,
.search-menu-content .search-box {
  width: 100%;
  margin: .5rem 0 2.5rem;
  position: relative;
  display: flex;
  border-radius: 10px; /*全体を囲むボックスの角丸*/
}
.search-menu-content .search-box {
  box-shadow:0px 4px 6px 0px #333; /*スライドイン表示でのシャドウ*/
}
.sidebar .search-edit,
.search-menu-content .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: #fff; /*入力部分の背景色*/
  padding: 0 10px;
  border: solid #ccc 1px;
  border-radius: 10px 0 0 10px; /*左上、左下のみ角丸*/
  font-size: 16px;
}
button[type="submit"].search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: #114571; /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 40px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 10px 10px 0; /*右上、右下のみ角丸*/
  padding: 0;
}
.search-box input::placeholder {
  color: #666; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}

/** サイドカテゴリ開始 **/
.widget_categories ul li a,
.widget_archive ul li a {
    display: block;
    font-size: 85%;
    margin: 0;
    position: relative;
    border-bottom: dotted 1px #CCC;
}
.widget_categories ul li ul li a::before{
  content: "≫ ";
  padding-right: 6px;
}

.ad-sidebar-bottom {
	margin-top: 2rem;
}
/** サイドカテゴリ終了 **/

/* -----記事の設定----- */
/*見出し設定*/
.article h2,
.article h3 {
  background-color: #fff;
  border: none;
}

/*ここから装飾*/
.article h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
  line-height: 2;
  border: #114571 solid;
  border-width: 5px 0 2px;
}

.article h3 {
  padding-bottom: 5px;
  border-bottom: 2px dashed #ccc;
}

/*本文内表示設定*/
.article h2, .article h3, .article h4, .article h5, .article h6 {
	margin-top: 1.5rem;
}

.entry-content p,
.entry-content .block-box,
.entry-content ol,
.entry-content>u,
.main .theContentWrap-ccc>figure,
.entry-content .ad-wrap {
  width: 95%;
  margin: 1rem auto;
}

.main figure iframe {
	margin: 2rem auto 1rem;
}
/*TOCの設定*/
.toc {
  width: 80%;
  border: double 5px #114571;
}

.toc-title {
  font-size: 1.2rem;
  display: block;
  padding: 2px 16px;
  border-bottom: solid #d71419 2px;
  font-weight: bold;
}

.toc ul,
.toc li ul {
  margin: 0;
  padding: 0;
  border: none;
}

.toc li a {
  font-weight: bold;
  padding: 0 .5em;
  border-bottom: solid #ccc 1px;
}
.toc li li {
  padding: 0;
}
.toc li li a {
  padding-left: 1em;
  font-weight: normal;
  border-bottom: none;
}
.toc li li a::before {
  content:"・";
}

.toc li a,
.toc li li a {
  display: block;
  width: 100%;
  height: 200%;
  text-decoration: none;
  line-height: 1.5rem;
}

.toc li a:hover,
.toc li li a:hover {
  background-color: #afcbff;
  transition: all 0.5s ease;
  text-decoration: none;
}
@media screen and (max-width: 480px) {
  .toc {
    width: 100%;
  }
  .toc li {
    padding: 0;
  }
  .toc li li {
    padding-left: .5em;
  }
}

/*ボックス系のデフォルト色*/
.blank-box {
  border-color: #114571;
}

/*アイコンリストのデフォルト色*/
.iconlist-box li::before {
  color: #d71419;
}

.entry-content figure.wp-block-embed-facebook  > p{
	margin-top: 2rem;
}
.entry-content figure .wp-block-embed-facebook iframe {
	margin-top: 1rem;
}

/* テーブル関連 */

figure.wp-block-table table {
	margin-bottom: 0;
	width: 100%;
}
.wp-block-table thead th {
 background-color: #114571;
 color: #fff;
 border-color: #114571;
 font-weight: 600;
 text-align: center;
}

.wp-block-table tbody th {
 background-color: #B8D8F4;
 color: #114571;
 font-weight: 600;
 text-align: center;
}
.wp-block-table tbody th,
.wp-block-table tbody tr td:first-child {
 width: 20%;
}

/* ニュースコーナー装飾 */
.news-top .widget-entry-card-content,
.list .widget-entry-card-content{
margin-left: 0;
}

.news-top .new-entry-card-thumb,
.news-top .new-entry-card-date .post-update,
.list .new-entry-card-thumb,
.list .new-entry-card-date .post-date,
.list .new-entry-card-date .post-update {
display: none;
}

.news-top .new-entry-card-content {
display: flex;
flex-direction: row-reverse;
}

.news-top .new-entry-card-date,
.news-top .new-entry-card-title {
display:block;
}

.news-top .new-entry-card-title {
flex: auto;
}

.list .new-entry-card-title:before {
	content: "・";
}

@media screen and (max-width: 480px) {
	.news-top .new-entry-card-content {
		flex-direction: column-reverse;
	}
}
