@charset "UTF-8";

/*!
Theme Name: feld
Template:   cocoon
Version:    1.0.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* disable */
table tr:nth-of-type(2n+1) {
	background: none;
}

/* clear */
.clear:after {
	clear: both;
}

.clear:before,
.clear:after {
	display: block;
	content: "";
}

/* common */
.center {
	text-align: center;
}

/* icon font */
i.fa { margin-right: 0.3em; }

/* header */
.header {
	background: #333;
}

.navi {
	border: 1px solid #dcdcdc;
}

.logo,
.tagline {
	text-align: left;
}

.tagline {
	margin-bottom: -10px;
	padding-left: 20px;
	color: #fff;
}

.logo-text {
	padding: 0px 0px 10px 28px;
}

.header .site-name-text {
	font-size: 45px;
	font-weight: bold;
	color: #fff;
}

.footer-bottom-logo .site-name-text {
	font-size: 40px;
}

/* toc */
.toc {
	margin-bottom: 1em;
	padding: 0.5em 1.5em;
	font-size: 0.9em;
	line-height: 1.5;
	border: 1px solid #888;
	width: 80%;
}

.toc-title {
	font-weight: bold;
	font-size: 1.1em;
}

.toc-title::before {
	font-family: FontAwesome;
	content: '\f0f6';
	margin-right: 0.5em;
}

.toc-content ol {
	color: #000;
}

.toc-content .toc-list > li > a {
	display: inline-block;
	width: 100%;
	border-bottom: 1px dashed #dcdcdc;
}

.toc-content li ol li {
	list-style: none;
}

/* content */
.main {
	padding: 9px 29px;
}

.entry-content {
	margin-top: 0;
}

.ect-vertical-card.ect-tile-card .card-snippet {
	min-height: 90px;
}

.single-post .eye-catch {
	margin: 0 auto;
}

.article h2 {
	padding: 6px 20px;
	border: 1px solid #000;
	background: #fff;
}

.article h3 {
	padding: 6px 20px;
	border-color: #777;
}

h2.related-entry-heading,
.widget .widget-below-sns-buttons-title {
	padding: 6px 20px;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.25;
	border: 1px solid #000;
	border-left: 7px solid #888;
}

img:hover {
	opacity: 0.9;
	filter: alpha(opacity=90);
	-moz-opacity: 0.9;
	-ms-filter: "alpha(opacity=90)";
}

table th {
	background: #f5f5f5;
}

.source .badge {
	background: #999;
}

.source a {
	font-size: 12px;
	color: #999;
}

/* video */
.sample-video {
	width: 100%;
	padding-top: 8px;
	padding-bottom: 8px;
}

.entry-content > .sample-video {
	background: #000;
}

.sample-video iframe {
	display: block;
	margin: 0 auto;
}

.sample-video .delete {
	position: relative;
	min-height: 350px;
}

.sample-video .delete span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	color: #fff;
}

/* button */
.cbtn2 {
	display: inline-block;
	padding: 0.5em 1em;
	font-weight: bold;
	font-size: 18px;
	box-sizing: border-box;
	border-radius: 2px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	box-shadow: 0 -3px 0 rgba(0,0,0,0.3) inset;
}

.cbtn:hover,
.cbtn2:hover {
	opacity: 0.8;
	color: #fff;
}

.cbtn2-blue {
	background: #668ad8;
}

.cbtn2-green {
	background: #02bb80;
}

/* widget */
.new-entry-card-link .attachment-portrait_thumb_300 {
	height: 90px;
	object-fit: cover;
	object-position: 0 15%;
}

/* footer */
.footer {
	border-top: 1px solid #dcdcdc;
	background: #333;
}

.footer-bottom-logo .site-name-text {
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

.copyright,
.navi-footer-in a {
	color: #fff;
}

.mobile-footer-menu-buttons {
	background: #dcdcdc;
}

/************************************
** Margin
************************************/

.mt-1 { margin-top: 1em; }
.mr-1 { margin-right: 1em; }

.mt-2 { margin-top: 2px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }

.mb-2 { margin-bottom: 2px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/************************************
** Ad
************************************/

.ad-package img {
	width: 33%;
	width: calc(100% / 3 - 4px);
	float: left;
	margin-top: 16px;
	margin-right: 2px;
	border: 1px solid #dcdcdc;
}

/* product video */
.product-desc {
	padding: 8px;
	font-size: 16px;
}

.product-item {
	position: relative;
	margin-top: 16px;
}

.product-item p {
	margin: 0;
	padding: 0;
}

.product-item table th {
	font-weight: bold;
}

.product-item table th,
.product-item table td {
	text-align: center;
}

.product-item .product-item-right table th {
	width: 35%;
}

.product-item .product-no {
	position: absolute;
	width: 90px;
	height: 90px;
	line-height: 90px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background: #d3d3d3;
}

.product-item .product-gold {
	background: #d9b33f;
}

.product-item .product-silver {
	background: #6f7b82;
}

.product-item .product-bronze {
	background: #a05326;
}

.product-item .product-top {
	background: #87cefa;
}

.product-item .product-item-left {
	float: left;
	width: 55%;
}

.product-item .product-item-left img {
	border: 1px solid #f5f5f5;
}

.product-item .product-item-right {
	float: right;
	width: 43%;
}

.product-item .product-maker {
	margin: 0 0 0 100px;
	padding: 0;
	font-weight: bold;
}


.product-item .product-title {
	min-height: 55px;
	margin: 0 0 16px 100px;
	padding: 0;
	border: none;
}

.product-item ul {
	padding: 0;
}

.product-item li {
	list-style-type: none;
	margin-bottom: 8px;
}

.product-item li a {
	display: block;
	text-align: center;
}

.product-item .product-item-meta {
	clear: both;
}

.product-item .product-item-meta .sample-video {
	display: none;
	margin-bottom: 16px;
	text-align: center;
	background: #000;
}

.product-item .product-main .sample-video iframe {
	margin-top: 16px;
}

.product-image p,
.product-image-w p,
.product-image-h p {
	margin: 0;
	padding: 0;
}

.product-image-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.product-image-w img,
.product-image-h img,
.product-image-flex img {
	width: 49%;
	width: calc(100% / 2 - 4px);
}

.product-image-flex img {
	margin-bottom: 8px;
}

.product-image-w img,
.product-image-h img {
	float: left;
	margin: 0 4px 8px 0;
}

.product-image-w.fit img {
	object-fit: cover;
	height: 259px;
}

.product-image-h.fit img {
	object-fit: cover;
	height: 584px;
}

/* product info link */
.product-info {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	padding: 4px;
	box-sizing: border-box;
	border: 1px solid #d3d3d3;
	border-radius: 2px;
}

.product-info .product-info-left {
	float: left;
	margin-right: 16px;
}

.product-info .product-info-tag {
	padding: 2px 8px;
	font-weight: bold;
	border-radius: 2px;
	color: #fff;
	background: #dc143c;
}

.product-info .product-info-title {
	font-size: 16px;
}

.product-info .product-info-maker {
	font-size: 14px;
	font-weight: bold;
}

.product-info .product-info-favorite {
	margin-left: 16px;
}

.product-info .product-info-favorite:before {
	font-family: FontAwesome;
	content: "\f004";
	margin-right: 4px;
	color: #dc143c;
}

.product-info .product-sample-video {
	display: none;
}

.product-info .cbtn2 {
	width: 200px;
}

.product-info ul {
	margin: 0;
	padding: 0;
}

.product-info li {
	list-style-type: none;
	display: inline-block;
	margin-right: 8px;
}

/* similar video */
.similar-video {
	margin-top: 30px;
	padding-bottom: 10px;
}

.similar-video .similar-video-item {
	margin-top: 28px;
}

.similar-video img {
	width: 18.7%;
	width: calc(100% / 5 - 10px);
}

.box-balloon1 {
	position: relative;
	margin: 2em 0;
	padding: 0.6em;
	font-weight: bold;
	background: #dcdcdc;
}

.box-balloon1:after {
	position: absolute;
	content: '';
	top: 98%;
	left: 45px;
	border: 15px solid transparent;
	border-top: 15px solid #dcdcdc;
	width: 0;
	height: 0;
}

/* CSS animation */
.highlight-animation {
	box-sizing: border-box;
}

.highlight-animation img {
	animation-duration: 20s;
	animation-name: highlight;
	animation-iteration-count: infinite;
	border: 2px solid #f5f5f5;
}

.highlight-animation-sp .similar-video-item img  {
	width: calc(100% / 3 - 9px);
	animation-duration: 12s;
}

.highlight-animation .highlight-img-2 { animation-delay: 2s; }
.highlight-animation .highlight-img-3 { animation-delay: 4s; }
.highlight-animation .highlight-img-4 { animation-delay: 6s; }
.highlight-animation .highlight-img-5 { animation-delay: 8s; }
.highlight-animation .highlight-img-6 { animation-delay: 10s; }
.highlight-animation .highlight-img-7 { animation-delay: 12s; }
.highlight-animation .highlight-img-8 { animation-delay: 14s; }
.highlight-animation .highlight-img-9 { animation-delay: 16s; }
.highlight-animation .highlight-img-10 { animation-delay: 18s; }

@keyframes highlight {

	0% {
		border-color: #dc143c;
		opacity: 0.7;
	}

	30% { 
		border-color: #f5f5f5;
		opacity: 1;
	}

}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
}

/*1030px以下*/
@media screen and (max-width: 1030px){
}

/*768px以下*/
@media screen and (max-width: 768px){

	/* header */
	.logo,
	.tagline {
		text-align: center;
	}

	.logo-text,
	.tagline {
		padding-left: 0;
	}

	.header .logo-text:before {
		position: relative;
		top: 3px;
		font-size: 22px;
	}

	ol li {
		padding-left: 0;
	}

	ol.info-box {
		padding-left: 2.5em;
	}

	.responsive-table {
		border-collapse: separate;
		border-spacing: 0  20px;
	}

	.responsive-table thead {
		display: none;
	}

	.responsive-table tr {
		background: #f6f6f6;
	}

	.responsive-table td {
		border: none;
		display: block;
		width: 100%;
		box-sizing: border-box;
		border-bottom: 1px solid #dddddd;
	}

	.responsive-table td:nth-child(-n+2) {
		text-align: center;
	}

	.responsive-table td:nth-child(3) {
		padding: 8px;
	}

	.responsive-table td:before {
		content: attr(data-title) " ";
	}

	.responsive-table .clear {
		clear: both;
	}

	.rank-item .rank-item-meta .sample-video iframe {
		height: 310px;
	}

}

/*480px以下*/
@media screen and (max-width: 480px){

	#header .site-name-text {
		font-size: 30px;
	}

	.toc{
		width: 100%;
	}

	/* product video */
	.product-item .product-item-left,
	.product-item .product-item-right {
		width: 100%;
		clear: both;
	}

	.product-item .product-title {
		min-height: 90px;
		margin-bottom: 8px;
		font-size: 16px;
	}

	.product-item .product-maker {
		display: none;
	}

	.product-item .cbtn2-m {
		max-width: 100%;
	}

	.sample-video iframe {
		height: 210px;
	}

	.product-image-w img {
		width: 100%;
		height: auto;
		object-fit: fill;
		float: none;
	}

	.product-image-h img {
		width: 100%;
		height: auto;
	}

	.product-info {
		width: 100%;
	}

	.product-info .product-info-title {
		font-size: 14px;
	}

	.product-info .product-info-favorite {
		display: block;
		margin-left: 0;
	}

	.product-info .sample-video iframe {
		height: 210px;
		margin-top: 16px;
	}

	.product-info li {
		float: none;
		margin-right: 0;
		display: block;
	}

	.product-info .cbtn2 {
		width: 100%; 
		margin-top: 8px;
	}

	/* delete */
	.sample-video .delete {
		min-height: 210px;
	}

	.sample-video .delete span {
		font-size: 12px;
	}

}

