@charset "utf-8";
/*
Theme Name: Mirai Theme
Theme URl: https://www.tsujinaka-jp.com/
Author: CES
Author URI: https://www.c-e-s.co.jp/
Description: 税理士法人みらい専用 WordPressテーマ
tags: 税理士,会計
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


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

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


/*一覧ページ
-------------------------------------------------------------------------------*/
.list-col-wrap{
	text-align: left;
	margin: 0 0 0 -2%;
}
.list-col-wrap ul{
	width: 100%;
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	margin: 0;
}
.list-col-wrap li{
	width : 23%;/*30%*/
	margin: 0 0 7% 2%;
	line-height: 1.5;
}
.list-col-wrap li .img{
	margin: 0 0 10px 0;	
	width: 100%;
	overflow: hidden;
	border: 1px solid #CCCCCC;
}
.list-col-wrap li .img a{
	padding: 70% 0 0 0;
	display: block;
}
.list-col-wrap li .category-name{
	border-radius: 5px;
	color: #FFFFFF;
	background: #1a1a1a;
	font-size: 0.8em;
	text-align: center;
	padding: 2px 20px 2px 20px;
	margin: 0 0 10px 0;
}
.list-col-wrap li .date{
	margin: 0;
}
.list-col-wrap li .entry-title a{}
.list-col-wrap li a{ color: #333333; }

@media screen and (max-width: 900px) {
	.list-col-wrap ul{ margin: 0 0 0 0; }
	.list-col-wrap li{
		width : 48%;
		margin: 0 0 7% 2%;
	}	
	.list-col-wrap li .img{
		margin: 0 0 10px 0;
		width: 100%;
		/*height: 140px;*/
		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: 3px 0 3px 0;
		text-align: center;
		font-weight: bold;
	}
}


.entry{
	margin: 0 0 60px 0;
	padding: 0 0 40px 0;
	overflow: hidden;
	border-bottom: 1px dotted #CCCCCC;
}

.entry p{
	margin: 0 0 20px 0;
}

/*
詳細表示：index.php
---------------------------------------------------------------------------------*/
.blog-title-wrap{
	/*border-bottom: 5px solid #e60012;*/
	padding: 20px;
	margin: 0 0 50px 0;
	/*color: #FFFFFF;
	background: #262626;*/
	border-top: 2px solid #cccccc;
	border-bottom: 2px solid #cccccc;
}
.blog-date{}
.blog-cat-wrap{
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	margin: 0 0 10px 0;
}
.cat-name{
	border-radius: 5px;
	color: #FFFFFF;
	background: #1a1a1a;
	font-size: 0.8em;
	padding: 0 20px 0 20px;
	margin: 0 10px 0 0;
}
.blog-title{
	font-size: 2em;
}
@media screen and (max-width: 900px) {
	.blog-title{
		font-size: 1.2em;
	}
}

/*見出し*/
/*下層 見出し*/
.entry h1{
	font-size: 2.2em;
	font-weight: bold;
	margin: 0 0 60px 0;
	letter-spacing: 0.1em;
	position: relative;
}
.entry h1::after{
	content: "";
	display: block;
	width: 30px;
	height: 2px;
	background: #d4a725;
	margin: 0 0 0 0;
}
@media screen and (max-width: 900px) {
	.entry h1{
		font-size: 1.4em;
	}
}

.entry h2{
	font-size: 1.8em;
	font-weight: bold;
	border-bottom: solid 3px #eeeeee;
	margin: 0 0 40px 0;
	position: relative;
}

.entry h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #c99d13;
	bottom: -3px;
	width: 60px;
}


@media screen and (max-width: 900px) {
	.entry h2{
		font-size: 1.2em;
	}
}
.entry h3{
	font-size: 1.4em;
	line-height: 1.5;
	font-weight: bold;
	margin: 0 0 20px 0;
}

.kaitori-page p:not(:has(.parag)) {
	margin: 0 0 20px 0;
}


/*前・次の記事へ*/
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: 110px 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 :hover,
.page-navigation .button a:hover {
    /*color: #FFF;
    background-color: #333a87;*/
	opacity: 0.8;
}
.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;
    }
}


