@charset "utf-8";
/*
Theme Name: infoTheme URI: http://wordpress.org/
Description: info
Version: 1.0
Author: 
Tags: original
*/

@import url("wp-pagenavi.css");         

/*トップページ新着
-------------------------------------------------------------------------------*/
.index .date{
}
.index .entry-title a{
	text-decoration: none;
}
.index .entry-title a:hover{
	text-decoration: underline;
}


/*一覧ページ（F2-0-3 方針A: HTML 維持・CSS 調整）
-------------------------------------------------------------------------------*/
.list-col-wrap{
	text-align: left;
	margin: 0;
}
.heading--brackets + .list-col-wrap{
	margin-top: 0;
}
.list-col-wrap ul{
	width: 100%;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0;
	gap: 40px 3%;
}
.list-col-wrap li{
	width: calc((100% - 6%) / 3);
	margin: 0 0 24px 0;
	line-height: 1.6;
}
.list-col-wrap li .img{
	margin: 0 0 12px 0;
	width: 100%;
	overflow: hidden;
	border: 1px solid #CCCCCC;
}
.list-col-wrap li .img img{
	aspect-ratio: 56 / 37;
	object-fit: cover;
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.list-col-wrap li .img a{
	display: block;
}
.list-col-wrap li .category-name{
	color: #FFFFFF;
	background: #404040;
	font-size: 0.85em;
	text-align: center;
	padding: 4px 16px;
	margin: 0 0 10px 0;
	line-height: 1.4;
}
.list-col-wrap li .date{
	margin: 0 0 8px 0;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.9em;
	color: #404040;
}
.list-col-wrap li .entry-title{
	margin: 0;
	font-size: 1em;
	line-height: 1.6;
}
.list-col-wrap li .entry-title a{
	color: #404040;
	text-decoration: none;
}
.list-col-wrap li .entry-title a:hover{
	color: #047cb8;
	text-decoration: underline;
}
.list-col-wrap li .img a:hover img{
	opacity: 0.85;
}

.section .wp-pagenavi{
	margin: 24px auto 0;
	text-align: center;
}

@media screen and (max-width: 900px) {
	.list-col-wrap ul{
		gap: 32px 4%;
	}
	.list-col-wrap li{
		width: calc((100% - 4%) / 2);
		margin: 0 0 20px 0;
	}
	.list-col-wrap li .img{
		margin: 0 0 10px 0;
		overflow: hidden;
		border: 1px solid #CCCCCC;
	}
	.list-col-wrap li img{
		width: 100%;
		height: auto;
	}
	.list-col-wrap li .category-name{
		margin: 0 0 10px 0;
		padding: 4px 12px;
		text-align: center;
		font-weight: bold;
	}
}


/* 記事ページ（F2-0-4: style.css のみ・R-1 なし）
------------------------------------------------------------------------------- */
.heading--brackets + #contents-wrap{
	margin-top: 0;
}
#primary-contents .entry{
	margin: 0 0 40px 0;
	padding: 0 0 32px 0;
	overflow: hidden;
	border-bottom: 1px dotted #404040;
}
#primary-contents .entry p{
	margin-bottom: 20px;
	line-height: 1.8;
	color: #404040;
}
#primary-contents .entry a{
	color: #369bc8;
	text-decoration: none;
	transition: color 0.4s;
}
#primary-contents .entry a:hover,
#primary-contents .entry a:focus{
	color: #047cb8;
	text-decoration: underline;
}

/*
詳細表示：index.php
---------------------------------------------------------------------------------*/
.blog-title-wrap{
	padding: 16px 20px;
	margin: 0 0 32px 0;
	border-top: 2px solid #333333;
	border-bottom: 2px solid #333333;
}
.blog-date{
	display: block;
	margin: 0 0 10px 0;
	font-family: 'Roboto', sans-serif !important;
	font-size: 0.9em;
	color: #404040;
}
.blog-cat-wrap{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0 0 12px 0;
	padding: 0;
	list-style: none;
}
.blog-cat-wrap .cat-name{
	border-radius: 0;
	color: #FFFFFF;
	background: #404040;
	font-size: 0.85em;
	line-height: 1.4;
	padding: 4px 16px;
	margin: 0 10px 8px 0;
}
.blog-title{
	margin: 0;
	font-size: 1.25em;
	line-height: 1.6;
	color: #404040;
	font-weight: bold;
}
@media screen and (max-width: 900px) {
	.blog-title{
		font-size: 1.15em;
	}
	.blog-title-wrap{
		padding: 14px 16px;
		margin-bottom: 24px;
	}
}
/*前・次の記事へ*/
ul.page-nation{ clear: both; max-width: 690px; margin: 0 0 20px 0; overflow: hidden; }
ul.page-nation li{
	padding: 7px 20px 7px 20px;
	background: #eeeeee;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	display: inline;
}
ul.page-nation li a{ display: block; }
ul.page-nation li.prev{ float: left; }
ul.page-nation li.next{ float: right; }

.entry a img{ border: none !important; } 
.entry img {
	display: inline;
	margin: 0 5px 10px 0;
	}

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	display: inline;
	margin: 0 0 10px 10px;
	}

img.alignleft {
	display: inline;
	margin: 0 5px 10px 0;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}


.youtube-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube-wrap iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
/* ページ送り部分 */
.page-navigation {
    margin: 48px auto 0;
    max-width: 730px;
    width: 100%;
}
.page-navigation::after {
      clear: both;
    content: "";
    display: block;
    height: 0;
    width: 0;
}
.page-navigation .button {
    background: #333333;
    display: block;
    float: left;
    height: 50px;
    margin-right: 3.5%;
    max-width: 380px;
    width: 31%;
}
.page-navigation .button:nth-child(3n) {
    margin-right: 0;
}
.page-navigation .button a {
    color: #FFF;
    display: block;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s;
}
.page-navigation .button a:hover {
    color: #FFF;
    background-color: #4d4d4d;
}
.page-navigation .button.null {
    background: inherit;
}

@media screen and (max-width: 736px) {
    .page-navigation {
        margin: 45px auto;
        max-width: 700px;
    }
    .page-navigation .button {
        font-size: 0.85em;
        max-width: 217px;
    }
    .page-navigation .button.null {
        background: inherit;
    }
}


/* 記事ページ：2カラム + サイドメニュー（base.css より移植・F2-0-1）
---------------------------------------------------------------------------- */
#contents-wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin: 0 0 0 0;
}
#primary-contents{
	width: 70%;
	margin: 0 3% 80px 0;
}
@media screen and (max-width: 900px) {
	#primary-contents{
		width: 100%;
		margin: 0 0 40px 0;
	}
}
#secondary-contents{
	width: 27%;
}
@media screen and (max-width: 900px) {
	#secondary-contents{
		width: 100%;
		margin: 0 0 40px 0;
	}
}

/* サイドメニュー */
.side-menu-wrap{
	width: 100%;
	float: left;
	margin: 0 0 30px 0;
}
.side-menu-wrap h5{
	margin: 0;
	padding: 10px 0 10px 0;
	font-size: 1em;
	font-weight: bold;
	border-top: 2px solid #333333;
	border-bottom: 2px solid #333333;
	text-indent: 1em;
}
.side-menu-wrap ul{ margin: 0; padding: 0; }
.side-menu-wrap li{
	margin: 0;
	text-indent: 1em;
	transition: all 0.3s;
}
.side-menu-wrap li a:hover{
	background: #f5f5f6;
}
.side-menu-wrap li a{
	display: block;
	color: #1a1a1a;
	text-decoration: none;
	padding: 10px 0 10px 0;
	position: relative;
	transition: all 0.3s;
}
.side-menu-wrap ul li.cat-item{
	border-bottom: 1px solid #CCCCCC;
}
.side-menu-wrap ul.children > li{
	text-indent: 2em;
	border-top: 1px solid #CCCCCC;
}
.side-menu-wrap ul.children > li:last-child{
	border-bottom: 1px solid #CCCCCC;
}
.side-menu-wrap li a:after{
	content:"";
	display:block;
	width: 6px;
	height: 6px;
	border-top: #333333 2px solid;
	border-right: #333333 2px solid;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position:absolute;
	right: 15px;
	top: 0;
	bottom: 0;
	margin: auto;
	transition: all 0.3s;
}
.side-menu-wrap li a:hover:after{
	right: 12px;
}


/* タグクラウド */
.tag-cloud {
    margin: 25px 0;
}
a.tag-cloud-link {
    background: #EEE;
    border-radius: 5px;
    color: #333;
    display: inline-block;
    margin: 0px 5px 5px 0;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s;
}
a.tag-cloud-link:hover {
    background: #ffe9e9;
    /*color: #FFF;*/
}