/*
Theme Name: Dekiru Child (KPJ)
Author: Kawaguchi Printing Industry Co., Ltd.
Author URI: https://kpj.co.jp/
Version: 1.0
Template: dekiru
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@900&display=swap');

/* 2021/12 Media-Crew add ------------------------------------------------- */

/* common ---------------------------------- */
.container.content,
.container.content-sm {
	margin-top: 40px;
	margin-bottom: 40px;
}

.row.archive-content {
	margin: 0;
}

.blog-grid {
	margin-bottom: 2em;
}

.page-numbers {
	list-style-type: none;
}
.page-numbers li {
	display: inline-block;
}
.pagination li a {
	padding: 0.5em;
	margin: 0 0.5em 0.5em;
}
.pagination li .current {
	padding: 0.5em;
	color: #fff;
}
.pagination li a:hover {
	color: #fff;
}

.mc-side-menu {
	list-style-type: none;
	padding: 0;
}
.mc-side-menu li a {
	display: block;
	/*border: 2px solid #ccc;
	border-left: 5px solid #ccc;
	background: rgb(255,255,255);
	background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 85%, rgba(227,227,227,1) 100%);*/
	border: 2px solid #97aabd;
	border-left: 5px solid #97aabd;
	background: rgb(224 239 255);
	background: linear-gradient(135deg, rgb(224 239 255) 0%, rgb(224 239 255) 85%, rgb(170 191 215) 100%);
	padding: 10px;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	font-family: 'Zen Old Mincho', serif !important;
	font-weight: 900;
	font-size: 140%;
	color: #000;
	text-decoration: none;
}
.mc-side-menu li a:hover {
	opacity: 0.6;
}
.mc-side-menu li a .long-title {
	font-size: 85%;
}

/* front-page ---------------------------------- */
.home .blog-topbar .container {
	margin-top: 0;
}
.home h1 {
	text-align: center;
	margin: 30px auto;
}
.home h1 img {
	max-width: 200px;
}
body.home.header-fixed-space-v2 {
	padding-top: 0;
}

.home .dekiru-slider .slick-slide img {
	height: 300px;
}
.home .slick-prev {
  left: calc((100vw - 1200px) / 2);
}
.home .slick-next {
  right: calc((100vw - 1200px) / 2);
}
@media (max-width: 992px){
	.home .dekiru-slider .slick-slide img {
		height: 250px;
		object-fit: cover;
	}
	.home .slick-prev {
	  left: 10px;
	}
	.home .slick-next {
		right: 10px;
	}
}

.home .container {
	margin-top: 20px;
}

.home hr.wp-block-separator {
	margin-top: 40px;
}

.top-years-menu h2,
.top-pickup-menu h2 {
	margin: 30px auto;
}
.top-years-menu h2 + p {
	margin-bottom: 2em;
	text-align: center;
}
.top-years-menu .row,
.top-pickup-menu .row {
	margin: 10px 0 50px;
}
.top-years-menu ul,
.top-pickup-menu ul {
	list-style-type: none;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.top-years-menu li,
.top-pickup-menu li {
	width: 23%;
	margin: 0 1% 1em;
}
.top-years-menu li a,
.top-pickup-menu li a {
	display: block;
	padding: 1em 0.2em;
	font-size: 160%;
	font-weight: bold;
	color: #fff;
	text-align: center;
	border: 2px solid #008846;
	transition-duration: 0.5s;
	background-color: #008846;
	text-decoration: none;
}
.top-pickup-menu li a {
	padding: 0.5em 0.2em;
	font-size: 115%;
	font-weight: 500;
	border-color: #6692d4;
	background-color: #6692d4;
}
.top-years-menu li a:hover,
.top-pickup-menu li a:hover {
	background-color: #fff;
	color: #000;
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
}
@media (max-width: 992px){
	.top-years-menu ul,
	.top-pickup-menu ul {
		padding: 5px 0 15px;
	}
	.top-years-menu li,
	.top-pickup-menu li {
		width: 40%;
		margin: 0 2.5%;
	}
	.top-years-menu li a,
	.top-pickup-menu li a {
		display: block;
		padding: 1em;
		margin-bottom: 0.5em;
	}
}
@media (max-width: 600px) {
	.top-years-menu li,
	.top-pickup-menu li {
		width: 90%;
		margin: 0 5%;
	}
}


.row.top-main-content {
	display: flex;
	justify-content: space-between;
	margin: 0 auto 40px;
}
.top-main-content .col-md-3,
.top-main-content .col-md-6 {
	float: none;
}
.top-main-content .col-md-3.top-side-menu-left {
	order: 1;
	padding-right: 30px;
}
.top-main-content .col-md-6 {
	order: 2;
	margin-bottom: 50px;
}
.top-main-content .col-md-3.top-side-menu-right {
	order: 3;
	padding-left: 30px;
}
.top-main-content .wp-post-image {
	aspect-ratio: 1/1;
	object-fit: cover;
	margin-bottom: 0.5em;
}
@media (max-width: 992px){
	.row.top-main-content {
		flex-direction: column;
	}
	.top-main-content .col-md-6 {
		order: 1;
	}
	.top-main-content .col-md-3.top-side-menu-left {
		padding: 0;
		order: 2;
	}
	.top-main-content .col-md-3.top-side-menu-right {
		padding: 0;
	}
	.top-main-content .wp-post-image {
		aspect-ratio: 16/9;
	}
}

.top-side-menu li a {
	min-height: 100px;
}
@media (max-width: 992px){
	.top-side-menu li a {
		min-height: inherit;
	}
}

.top-shiryou-area {
	margin-top: 50px;
}
.top-shiryou-area p{
	margin-bottom: 1em;
}
.top-shiryou-area ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0;
}
.top-shiryou-area ul li{
	list-style-type: none;
	width: 48%;
	margin-bottom: 15px;
}
.top-shiryou-area ul li a {
	display: block;
	padding: 20px 0;
	border: 2px solid #467b88;
	border-top: 4px solid #467b88;	
	font-size: 18px;
	color: #467b88;
	font-weight: bold;
	text-decoration: none;
}
.top-shiryou-area a:hover {
	color: #467b88;
	background-color: #bcd9e0;
}

.home h2.title-v4 {
	border-bottom: 1px solid #ccc;
	margin-top: 1.5em;
	padding-bottom: 0.5em;
	margin-bottom: 15px;
}
.home h2.title-v4:first-of-type {
	margin-top: 0;
}
div.top-news-item:nth-of-type(n+6) {
	/* TOP新着情報表示数の指定 */
	height: 0;
	overflow: hidden;
}
.home .blog-grid {
	border-bottom: 1px dashed #ccc;
	margin-bottom: 15px;
}
a.to-news {
	display: inline-block;
	font-size: 115%;
	padding: 10px 25px;
	background-color: #1e73be;
	color: #fff;
}
a.to-news:hover {
	display: inline-block;
	color: #fff;
}
a.to-news:link,
a.to-news:visited {
	color: #fff;
}

/* years ---------------------------------- */
.archive .category-2009-2009
.archive .category-2010-2019,
.archive .category-2020-2029,
.archive .category-2030-2039 {
}
.col-sm-3.years-item {
	width: 50%;
	float: left;
}
@media (min-width: 768px) {
	.col-sm-3.years-item {
		width: 25%;
	}
}
.years-img-wrapper {
	width: 100%;
  padding-bottom: 142.25%;
  height: 0;
  position:relative;
	margin-bottom: 10px;
}
.years-item img {
	border: 1px solid #ccc;
	object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}
.years-item .blog-grid h3 {
	/*font-size: inherit;*/
	font-size: 13px;
	text-align: center;
}

.years-archive .magazine-page h2 {
	margin-bottom: 20px;
}

/* sidemenu ---------------------------------- */
.sidemenu-title {
	color: #1e73be;
}