/*
Theme Name: meichan-daibouken
Author: minoru kubota
Version: 1
*/

/*
----------------------------------------
common
----------------------------------------
*/

body {
	font-feature-settings: 'palt';
	letter-spacing: 1px;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	transition: all .2s;
}

.sp {
	display: none;
}

.flex {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}

.ofi img {
	object-fit: cover;
	font-family: 'object-fit: cover;' /* ie */
}

.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.search-msg {
	font-size: 18px;
	line-height: 1.5;
	color: #22ac38;
	background: #fff;
	border: solid 2px #e5e5e5;
	padding: 9.5px 20px;
	margin: 8px 0 30px;
	border-radius: 8px;
}

.ul-list li {
	line-height: 1.8;
	padding-left: 14px;
	margin-bottom: 11px;
	position: relative;
}

.ul-list li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22ac38;
	position: absolute;
	top: 12px;
	left: 0;
}

/* heading */

.heading-01 {
	font-size: 36px;
	font-weight: bold;
	letter-spacing: 2px;
	text-align: center;
	color: #312a2a;
	background: url( ./images/page/line-bg.png ) center bottom / auto repeat-x;
	padding-bottom: 40px;
	margin: 80px 0 48px;
}

/* bnr */

.bnr-01 a {
	display: block;
	background: -webkit-gradient(linear, left top, right top, from(#e83828), color-stop(33.3%, #f18e1d), color-stop(66.6%, #22ac38), to(#299fdb));
	background: linear-gradient(90deg, #e83828 0%, #f18e1d 33.3%, #22ac38 66.6%, #299fdb 100%);
	border-radius: 10px;
	padding: 4px;
}

.bnr-01 a .bnr-wrap {
	background: #fff;
	border-radius: 7px;
	padding: 35px 40px;
}

.bnr-01 a .en {
	font-size: 18px;
	letter-spacing: 1.6px;
	color: #fa931e;
}

.bnr-01 a .ttl {
	font-size: 32px;
	line-height: 1.6;
	font-weight: bold;
}

.bnr-01 a .read {
	font-size: 16px;
	line-height: 2;
}

/* pagination */

.pagination {
	text-align: center;
	margin: 40px 0 0;
}

.pagination > div {
	display: inline-block;
}

.pagination ul {
	justify-content: center;
	position: relative;
	padding: 0 50px;
}

.pagination ul li {
	line-height: .5;
}

.pagination a,
.pagination span {
	display: inline-block;
	min-width: 40px;
	height: 40px;
	line-height: 38px;
	font-family: 'Alata', serif;
	font-size: 16px;
	text-align: center;
	margin: 0 6px;
	background: #fff;
	border-radius: 6px;
	position: relative;
	transition: all .4s;
}

.pagination span.current {
	color: #fff;
	background: #22ac38;
}

.pagination .prev,
.pagination .next {
	width: 40px;
	text-indent: -9999px;
	overflow: hidden;
	position: absolute;
	top: 0;
	transition: all 0s;
}

.pagination .prev {
	background: #fff url( ./images/information/2x/page-prev.png ) center center / 6px no-repeat;
	left: 0;
}

.pagination .next {
	background: #fff url( ./images/information/2x/page-next.png ) center center / 6px no-repeat;
	right: 0;
}

.pagination a::before,
.pagination .prev::before,
.pagination .next::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: solid 2px #e0e0e0;
	border-radius: 6px;
	transition: all .4s;
}

/* default-img */

.default-img {
	padding: 2px;
	border-radius: 10px;
	background: -webkit-gradient(linear, left top, right top, from(#e83828), color-stop(33.3%, #f18e1d), color-stop(66.6%, #22ac38), to(#299fdb));
	background: linear-gradient(90deg, #e83828 0%, #f18e1d 33.3%, #22ac38 66.6%, #299fdb 100%);
}

.default-img img {
	border-radius: 8px !important;
	opacity: 1 !important;
	transform: scale( 1 ) !important;
}

/* link-card */

#contents .linkcard {
	margin: 0 0 40px;
}

#contents .linkcard + br {
	display: none;
}

#contents .lkc-external-wrap,
#contents .lkc-internal-wrap,
#contents .lkc-this-wrap {
	max-width: 100%;
	background: transparent;
	border: none;
}

#contents .lkc-this-wrap a,
#contents .lkc-internal-wrap a,
#contents .lkc-external-wrap a {
	display: block;
	height: 160px;
	padding: 20px 90px 20px 220px;
	border: solid 1px #22ac38;
	overflow: hidden;
	position: relative;
	opacity: 1 !important;
}

#contents .lkc-internal-wrap a {
	background: #fff url( ./images/information/2x/icon-link.png ) right 28px center / 25px no-repeat;
}

#contents .lkc-external-wrap a {
	background: #fff url( ./images/information/2x/icon-ext-link.png ) right 28px center / 25px no-repeat;
}

#contents .lkc-thumbnail-img {
	transition: all .2s;
}

#contents .lkc-card {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	margin: 0;
}

#contents .lkc-info {
	display: none !important;
}

#contents .lkc-content {
	height: auto;
	margin: 0;
}

#contents .lkc-thumbnail {
	max-width: initial;
	max-height: initial;
	overflow: hidden;
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 20px;
	left: 20px;
	margin: 0;
}

#contents .lkc-thumbnail-img {
	width: 180px;
	height: 120px;
	max-width: initial;
	max-height: initial;
	object-fit: cover;
	font-family: 'object-fit: cover;' /* ie */
}

#contents .lkc-title-text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: .2px;
	text-decoration: none !important;
	border-left: solid 4px #22ac38;
	padding: 3px 0 3px 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#contents .lkc-url {
	display: block;
	font-family: 'Alata', 'Noto Sans JP', serif;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0;
	text-decoration: none;
	line-height: 1.5;
	color: #22ac38;
	margin: 15px 0 10px;
}

#contents .lkc-excerpt {
	display: block;
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.comment-block {
	display: -ms-flexbox;
	display: flex;
	align-items: flex-start;
}

.comment-block .icon {
	width: 100px;
}
.comment-block .txt {
	flex: 1;
	margin-left: 50px;
	background: #22ac38;
	border-radius: 20px;
	padding: 24px 35px;
	position: relative;
}

.comment-block .txt:before {
	content: "";
	background: url( images/memory/comment_arrow@2x.png ) no-repeat center center/cover;
	width: 39px;
	height: 24px;
	display: block;
	position: absolute;
	left: -39px;
	top: 48px;
}

.comment-block .txt p {
	color: #fff;
	line-height: 2;
}


/*
----------------------------------------
960
----------------------------------------
*/

@media screen and ( max-width: 960px ) {

	.heading-01 {
		font-size: 32px;
	}

}


/*
----------------------------------------
768
----------------------------------------
*/

@media screen and ( max-width: 768px ) {

	html[lang=ja] {
		margin-top: 0 !important;
	}

	html #wpadminbar {
		display: none;
	}

	.pc {
		display: none !important;
	}

	.sp {
		display: inline;
	}

	.bnr-01 a {
		padding: 2px;
	}

	.bnr-01 a .bnr-wrap {
		padding: 32px 20px 28px;
		text-align: center;
	}

	.bnr-01 a .en {
		font-size: 16px;
	}

	.bnr-01 a .ttl {
		font-size: 24px;
		margin: 6px 0 4px;
	}

	.bnr-01 a .read {
		font-size: 14px;
		line-height: 1.8;
	}

	.ul-list li {
		font-size: 14px;
		line-height: 2;
		margin-bottom: 17px;
	}

	.ul-list li::before {
		width: 7px;
		height: 7px;
		top: 11px;
	}

	.heading-01 {
		font-size: 24px;
		letter-spacing: 1.2px;
		margin: 40px 0 20px;
		padding-bottom: 26px;
		background: url( ./images/page/sp/line-bg-sp.png ) center bottom / 341px auto repeat-x;
	}

	/* pagination */

	.pagination {
		line-height: 1;
		margin: 40px 0 0;
	}

	.pagination ul {
		padding: 0;
	}

	.pagination a,
	.pagination span {
		min-width: 36px;
		height: 36px;
		line-height: 34px;
		margin: 0 3px;
		font-size: 18px;
	}

	.pagination .prev,
	.pagination .next {
		width: 36px;
		margin: 0;
	}

	.pagination .prev {
		left: -39px;
	}

	.pagination .next {
		right: -39px;
	}

	/* linkcard */

	#contents .linkcard {
		margin-bottom: 20px;
	}

	#contents .lkc-this-wrap a,
	#contents .lkc-internal-wrap a,
	#contents .lkc-external-wrap a {
		padding: 0 35px 0 100px;
		height: 80px;
	}

	#contents .lkc-internal-wrap a {
		background: #fff url( ./images/information/2x/icon-link.png ) right 10px center / 16px no-repeat;
	}

	#contents .lkc-external-wrap a {
		background: #fff url( ./images/information/2x/icon-ext-link.png ) right 10px center / 16px no-repeat;
	}

	#contents .lkc-thumbnail {
		width: 80px;
		top: 10px;
		left: 10px;
	}

	#contents .lkc-card {
		padding: 8px 0;
	}

	#contents .lkc-thumbnail-img {
		width: 80px;
		height: 60px;
	}

	#contents .lkc-title-text {
		font-size: 14px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		padding: 0 0 0 10px;
		margin: 3px 0;
	}

	#contents .lkc-url {
		font-size: 11px;
		margin: 0;
	}

	#contents .lkc-excerpt {
		font-size: 11px;
	}

	.comment-block {
		display: block;
	}

	.comment-block .icon {
		margin: 0 auto;
	}

	.comment-block .txt {
		margin-left: 0;
		margin-top: 24px;
		padding: 15px 25px;
		border-radius: 10px;
	}

	.comment-block .txt:before {
		background: url( images/memory/comment_arrow_sp.png ) no-repeat center center/cover;
		width: 32px;
		height: 41px;
		left: 22%;
		top: -40px;
	}

	.comment-block .txt p {
		font-size: 14px;
	}

}


/*
----------------------------------------
hover
----------------------------------------
*/

@media screen and ( min-width: 769px ) {

	.pagination a:hover {
		color: #fff;
		background: url( ./images/information/pagenav-bg.png ) center center / cover no-repeat;
	}

	.pagination a:hover::before {
		opacity: 0;
	}

	.pagination .prev:hover,
	.pagination .next:hover {
		background-size: 6px, cover;
		background-position: center center;
		background-repeat: no-repeat;
	}

	.pagination .prev:hover {
		background-image:
			url( ./images/information/2x/page-prev-wh.png ),
			url( ./images/information/pagenav-bg.png );
	}

	.pagination .next:hover {
		background-image:
			url( ./images/information/2x/page-next-wh.png ),
			url( ./images/information/pagenav-bg.png );
	}

	.post .lkc-this-wrap a:hover::after,
	.post .lkc-internal-wrap a:hover::after,
	.post .lkc-external-wrap a:hover::after {
		opacity: 1;
	}

	.post-contents a:hover {
		opacity: .75;
	}

	#contents  a:hover .lkc-thumbnail-img {
		background: #fff;
	}

	#contents .lkc-internal-wrap a:hover,
	#contents .lkc-external-wrap a:hover {
		box-shadow: 0 5px 10px rgba( 0, 0, 0, .2 );
	}

}
