@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){
  /*必要ならばここにコードを書く*/
}
/* 全体 */
body {
}
.main {
	width: 1000px;
}
.body .article {
	margin-bottom: 0;
}
.clear {
	clear: both;
	line-height: 0;
	margin: 0;
}
a.button {
	display: inline-block;
    color: #ffffff;
    font-weight: bold;
    padding: 4px 16px;
    line-height: normal;
    text-decoration: none;
    border-radius: 5px;
    border: solid 1px #444444;
    background-image: linear-gradient(to bottom, #666666 0%, #222222 100%);
    font-size: 0.8rem;
}

/* ヘッダー */
.header-container {
	background-color: rgba(255,255,255,0.5);
}
#header-container .navi {
	background-color: rgba(0, 0, 0, 0.6);
}
.header-in {
	display: block;
	flex-direction: unset;
	justify-content: left;
}
.logo {
	display: inline-block;
}
.logo-image {
	padding: 0;
}
.site-name-text-link {
	padding: 0;
}
.logo-header img {
/* 	margin-top: 12px; */
	vertical-align: sub;
	width:206px;
	height:34px;
}
#navi a {
	color: #ffffff;
}
.navi-in > ul .sub-menu{
    background-color: #222222;
}
/* サイドバー */
.sidebar {
	width: 248px;
}
.sidebar h3 {
	color: #e6e6e6;
	background-color: #666666;
	border-radius: 4px;
	padding: 6px 8px;
}
@media (max-width: 1280px){
	.main {
		width: calc(100% - 274px);
	}
}
.main, .sidebar {
	background-color: rgba(255,255,255,0.75);
}
#navi .navi-in a:hover {
	background-color: rgba(0, 0, 0, 0.9);
}
.tagline {
	font-size: 14px;
	color: #888888;
	font-weight: bold;
	display: inline-block;
	margin: 0;
}
.entry-content {
	/*本文下の空白を削除*/
	padding-bottom: 2px;
	margin-bottom: 24px;
	border-bottom: solid 2px rgba(0, 0, 0, 0.75);
}
.entry-content:after {
	margin-bottom: 1px;
	border-bottom: solid 4px rgba(0, 0, 0, 0.75);
}
.archive-title {
	color: #ee8844;
}
@media (max-width: 1023px){
	article > .entry-content, aritcle > footer.article-footer {
		/*本文左右の空白*/
		padding: 0;
	}
}
@media screen and (max-width: 880px){
	.page-body {
		font-size: 16px;
	}
}
@media screen and (max-width: 480px){
	.page-body {
		font-size: 15px;
	}
}
/* メインコンテンツ */
a {
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
main a {
	transition: .2s;
}
main a:hover {
	opacity: 0.66;
}
main .entry-card-wrap article figure {
	overflow: hidden;
    height: 175px;
    position: relative;
}
main .entry-card-wrap article figure img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
@media screen and (max-width: 640px){
	.wp-block-image .alignleft {
		float: unset;
		margin: 0.5em 1em 0.5em 0;
		width:100%;
	}
	.wp-block-image .alignleft img {
		width:100%;
	}
}
.widget_block ul li a {
	padding: 0;
}
.ect-3-columns {
	justify-content: unset;
}
.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, .widget_block ul li a:hover, .widget_author_ranking_widget ul li a:hover {
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.7);
	transition: all 0.2s ease-in-out;
}
.widget-sidebar ul li a {
    padding: 4px 8px 2px 8px;
	border-radius: 4px;
}
main figure.wp-block-table table {
	width:100%;
}
.bold-blue, .blue {
    color: var(--cocoon-deep-orange-color);
}
.bold-green, .green {
    color: var(--cocoon-deep-blue-color);
}
/* サイドメニュー */
.sidebar .tagcloud a {
    border: 1px solid #bbb;
    border-radius: 4px;
    flex:none;
    display: inline-block;
    justify-content: normal;
    font-size:10.5px;
}
.sidebar .tagcloud a:hover {
    background-color: #cccccc;
    color: #ffffff;
    transition: all 0.15s ease-in-out;
}
.sidebar .tagcloud a .tag-caption {
    font-weight: bold;
}
.sidebar .tagcloud a .tag-caption .tax-icon {
    margin-right: 0.2em;
}
.sidebar .tagcloud a .tag-link-count {
    margin-left: 4px;
    color: #6699cc;
}
/* ページャー */
.pager-post-navi.post-navi-square {
    background-color: #c9c9c9;
    margin-right: -30px;
    margin-left: -30px;
    padding: 20px 30px;
    border: 1px solid #bbb;
    border-radius: 4px;
    margin: 2px;
    padding: 2px 5px;
}
.pager-post-navi a + a {
	margin-top: 0;
}
.pager-post-navi a {
	background-color: #ffffff;
	line-height: 0;
	padding-top: 0;
	padding-bottom: 0;
}
.pager-post-navi a:first-child {
	margin-right: 4px;
	border-radius: 8px 0 0 8px;
}
.pager-post-navi a:last-child {
	margin-left: 4px;
	border-radius: 0 8px 8px 0;
}
.pager-post-navi a div {
	line-height: 1.3;
}
.pager-post-navi a figure {
	margin: 0;
}

/*834px以下*/
@media screen and (max-width: 834px){
	.pager-post-navi.post-navi-square {
		margin-right: -16px;
		margin-left: -16px;
	}
}
/* レイアウト */
.article h2, .article h3, .article h4, .article h5, .article h6 {
	margin-top: 2em;
	margin-bottom: 1em;
}
.article h2 {
    background-color: rgba(0,0,0,0.7);
	color: #ffffff;
	padding: 16px;
	border-radius: 4px;
}
.article h3 {
    border: none;
    background-color: rgba(0,0,0,0.2);
	padding: 16px;
	border-radius: 4px;
	font-size: 18px;
}

.avatar.photo.avatar-55 {
    width: 40px;
    border-radius: 4px;
    display: inline-block;
    float: inherit;
}
/* 投稿者一覧 */
.sidebar-author-list {
    overflow: hidden;
	padding: 0;
}
.sidebar-author-list li {
    display: inline-block;
    width: 33%;
    padding: 8px 0;
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
}
.sidebar-author-list li a {
	display: block;
	text-decoration: none;
	color: #333333;
}
.sidebar-author-list li .avatar {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    display: inline-block;
}
.sidebar-author-list li a:hover .avatar {
    opacity: 0.7;
}
.sidebar-author-list li .name {
    display: block;
    text-align: center;
}
.wp-block-latest-posts__featured-image a {
	height: 128px;
	width:100%;
	overflow: hidden;
	position: relative;
}
.wp-block-latest-posts__featured-image a img {
	width:100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.wp-block-latest-posts__post-excerpt {
	height:64px;
	overflow:hidden;
	font-size: 14px;
}
a.wp-block-latest-posts__post-title {
	text-decoration: none;
	color:#333333;
	font-weight: bold;
	line-height:1;
}
/* フッター */
.footer {
	background-color: #333333;
	color: #fff;
}
.footer-bottom-logo img {
    height: 50px;
    width: 303px;
}
/* ページ別カスタマイズ */
#post-2 .date-tags, #post-119 .date-tags, #post-130 .date-tags {
	display: none;
}
.auth1 {
    background-image: url(/wp-content/uploads/2022/12/topback.png);
	background-attachment: fixed;
}
.auth2 {
    background-image: url(/wp-content/uploads/2023/04/topback2.png);
	background-attachment: fixed;
}
.auth2 #header-container .navi {
    background-color: rgba(0, 64, 255, 0.6);
}
.auth2 .article h2 {
    background-color: rgba(0,64,255,0.7);
}
.auth2 .entry-content {
    border-bottom: solid 2px rgba(0, 64, 255, 0.75);
}
.auth2 .entry-content:after {
    border-bottom: solid 4px rgba(0, 64, 255, 0.75);
}
.auth3 #header-container .navi {
    background-color: rgba(160, 80, 0, 0.6);
}
.auth3 .article h2 {
    background-color: rgba(160,80,0,0.7);
}
.auth3 .entry-content {
    border-bottom: solid 2px rgba(160, 80, 0, 0.75);
}
.auth3 .entry-content:after {
    border-bottom: solid 4px rgba(160, 80, 0, 0.75);
}
.auth3 {
    background-image: url(/wp-content/uploads/2022/12/topback3.png);
	background-attachment: fixed;
}
.artifacts table td:nth-child(1) {
	width:64px;
}
.skills table td:nth-child(1) {
	width:72px;
}

.postid-1795 table td:nth-child(1),
.postid-1409 table td:nth-child(1),
.postid-1358 table td:nth-child(1),
.postid-722 table td:nth-child(1) {
	white-space: nowrap;
}
.postid-2043 table td:nth-child(2) {
	width:272px;
}
.postid-2043 table td:nth-child(4) {
	white-space: nowrap;
}
table tr:first-child td {
	font-weight:bold;
	background-color:#666666;
	color:#ffffff;
	border:solid 1px #000000;
	white-space: nowrap;
}
.none-style table{
	border:none;
	padding:0;
	margin:0;
}
.none-style table tr td, .none-style table tr:nth-of-type(2n+1) {
	border:none;
	background-color:transparent;
	font-weight:normal;
	color:black;
}
.postid-1795 table tr:not(:first-child) td:nth-child(2),
.postid-1528 table tr:not(:first-child) td:nth-child(2),
.postid-1358 table tr:not(:first-child) td:nth-child(2),
.postid-722 table tr:not(:first-child) td:nth-child(2),
.postid-806 table tr:not(:first-child) td:nth-child(2),
.postid-1008 table tr:not(:first-child) td:nth-child(2),
.postid-1242 table tr:not(:first-child) td:nth-child(2) {
	width:240px;
	font-size:0.7rem;
}
.croparia-table table tr:not(:first-child) td:nth-child(3),
.croparia-table table tr:not(:first-child) td:nth-child(4) {
	white-space: nowrap;
}
.inPageMove {
	font-weight:bold;
	cursor:pointer;
	color:#0066ee;
	transition: all 200ms;
}
.inPageMove:hover {
	color:#99ccff;
}
form.search-box input {
	font-size: 0.8rem;
}

#custom_html-3 {
	text-align: center;
    position: fixed;
    z-index: 1;
	top:0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1256px;
    background-color: rgba(0, 0, 0, .5);
	transition: 400ms 240ms;
	transform: translateY(-97px);
}
#custom_html-3 h2 {
	display:none;
}
#custom_html-3 div {
	text-align:center;
}
@media screen and (max-width:1085px) {
	#custom_html-3 {
		display:none;
	}
}