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

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

/* header */
.logo-header {
	text-align: left;
}
.post-date {
	display: none;
}
@media screen and (min-width: 1270px) {
	.wrap {
		width: 1000px;
	}
	.main {
	  width: 700px
	}
	.no-scrollable-sidebar .sidebar {
		width: 285px;
	}
}

@media screen and (min-width: 1024px) {
  #navi {
    display: none;
  }
}
@media screen and (max-width: 1023px) {
  body {
    margin-top: 60px !important;
  }
	.header {
		display: none;
	}
  .mobile-menu-buttons {
    border-top: solid 4px #ea0429;
    border-bottom: solid 1px lightgrey;
    box-shadow: none;
  }
  .mobile-menu-buttons > li {
    padding-top: 0;
  }
  .mobile-header-menu-buttons.mobile-menu-buttons.has-logo-button {
    display: flex;
    height: 60px;
  }
  .mobile-header-menu-buttons.mobile-menu-buttons.has-logo-button .menu-button:nth-child(2) {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .mobile-header-menu-buttons.mobile-menu-buttons.has-logo-button .menu-button .navi-menu-caption {
    color: #666;
  }
  .logo-menu-button img.site-logo-image {
    margin: 5px auto 0;
	}
}

#header-container {
	height: 70px;
}
@media screen and (max-width: 1023px) {
	#header-container {
		display: none;
	}
}

/* ハンバーガーメニュー */
@media screen and (max-width: 1023px) {
	.menu-close-button {
		text-align: right;
		padding-right: 1rem
	}
	.ranking5-block {
    width: 86%;
    margin: auto;
    margin-bottom: 2rem;
		border-top: solid 1px #888;
		padding-top: 1.5rem
  }

	.ranking5-block p.rank_head {
		font-size: 1.2rem;
		margin-bottom: 1rem;
		font-weight: 700;
	}
	.ranking5-block__content {
		display: flex;
		margin-bottom: 1rem;
	}
	.ranking5-block__content .thumb-area {
		width: 200px;
		margin-right: 1rem;
	}
	.ranking5-block__head {
	font-size: 0.85rem;	
	}
}

.tagline,
.date-tags,
.cat-label,
.article .eye-catch-wrap {
	display: none;
}

#header-container .header .header-in {
	min-height: auto;
	height: 70px;
}
/* TOP slider */
.metaslider .flex-viewport {
    overflow: visible !important;
}

@media screen and (max-width: 1023px){
	#metaslider-id-12 {
		width: 100%;
		overflow: hidden;
	}
}

/* 画像に余白をつけたい場合 */
.flexslider .slides img {
    padding: 0 2px !important;
}

/* ページのトップへ戻るボタン */
.go-to-top .go-to-top-button {
  background-color: rgb(244 166 190 / 75%) !important;
}

html {
	overflow-x: hidden;
}

/* コンテンツ */
.content {
  margin-top: 60px;
}
.content-in {
  justify-content: center;
}
.sidebar {
  width: 376px;
}

/* サイドバー */
.category-block-list {
	list-style: none;
	padding-left: 0;
}
.category-block-list li {
	display: flex;
	margin-bottom: 0.3rem;
}
.category-block-list li img {
	width: 20%;
	object-fit: contain;
	margin-right: 0.5rem;
}
.category-block-list a {
	text-decoration: none;
	color: #444;
}
.category-block-list a:hover {
	opacity: 0.7;
	color: #33a;
}
.category-block-list li .cat-description {
	font-size: 12px;
	color: #888;
}

.widget-sidebar ul {
	padding-left: 0;
}
.widget-sidebar ul li {
	display: flex;
}
.widget-sidebar ul li .wpp-post-title {
	font-size: 14px;
	line-height: 1.4;
	width: 74%;
}

/* フッター */
.footer{
	background:#90e2f3;
}
@media screen and (max-width: 1023px) {
.navi-footer-in > .menu-footer li.menu-item {
	width: 100%;
}
}

/*shige追記*/
/*ヘッダー*/
.header {
	display: none;
}
.header-container {
	display: none;
}
.header_logo {
  display: block;
  width: 100%;
  height: 60px;
  text-align: center;
  border-top: solid 4px #ea0429;
  border-bottom: solid 1px lightgrey;
  background-color: #fff;
}
@media screen and (max-width: 1023px) {
  .header_logo {
    display: none;
  }
}

.header_logo img {
  width: auto;
  height: 50px;
  margin: 5px auto 0;
}

.header_pr {
  display: inline-block;
  height: 20px;
  position: absolute;
  top: 33px;
  right: 10px;
  color: #666;
  font-size: 14px;
}
@media screen and (max-width: 1023px) {
  .header_pr {
    display: none;
  }
}

main.main {
  max-width: 600px;
}
@media screen and (max-width: 1023px) {
  main.main {
    margin: 10px auto;
  }
}

.entry-card {
  text-decoration: none;
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 2px;
}
.widget-sidebar-title {
	text-decoration: none;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  padding-bottom: 2px;
}
.main figure.wp-block-table {
	display: initial;
}

.site-logo-image {
	margin: 0 auto;
	text-align: center;
}

.header-site-logo-image {
  margin:0 auto;
  text-align: center;
}

/*投稿ページ*/
.single .header_img {
  display: none;
} 
.single .header_img {
  height: 0px;/*好みの高さ*/
	display: none;
}  


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

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
  .header_logo_title p {
    color: #666;
    font-size: 10px;
    font-family: serif;
    padding-bottom: -3px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
	.header_logo_flex {
    width: 70%;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    display: none;
  }
	.header_logo_blank {
	display: none;
  }
  .header_logo_main {
    margin: 0 auto;
    text-align: center;
  }
	.header_logo_title {
    width: 100%;
    color: #333;
    padding-top: 0px;
		vertical-align: middle;
  }
	.header_logo_title p {
    color: #666;
    font-size: 7px;
    font-family: serif;
    padding-bottom: -3px;
  }
}
.td .storong{
  overflow-wrap: break-word !important;
}

.has-text-align-center td{
	width: 100px !important;
}
@media screen and (max-width: 834px) {
  table th, table td {
    padding: 3px;
    font-size: 0.8em !important;
  }
}

.scrollable-table th, .scrollable-table td {
  padding: 3px 5px;
  white-space: normal !important; 
}

