@charset "utf-8";
/*
Theme Name: SUIT SELECT
Theme URI: http://suitselect.e-bird.net/th/
Author: e-bird
*/

img.centered, .aligncenter, div.aligncenter {
	display: block;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
	height: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 25px 25px;
	display: inline;
	height: auto;
}
img.alignleft {
	padding: 4px;
	margin: 0 25px 10px 0;
	display: inline;
	height: auto;
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}


.wp-pagenavi {
	display: flex;
	justify-content: center;
	align-items: center;
}
.wp-pagenavi a,
.wp-pagenavi span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
	height: 50px;
	color: #3a3a3c;
	margin: 0;
	background: #ffffff;
	border: 1px solid #000000;
	border-left: 0;
	line-height: 1;
}
.wp-pagenavi a:first-child {
	border-left: 1px solid #000000;
}
.wp-pagenavi a:hover {
	transition: all ease .5s;
	color: #ffffff;
    background: #000000;
}
.wp-pagenavi span.current {
	color: #ffffff;
    background: #000000;
	pointer-events: none;
	border-left: 0;
	border-right: 0;
}
.wp-pagenavi a.nextpostslink {
	width: 100px;
	background: url("/th/assets/images/commons/arrow-black.svg");
	background-repeat: no-repeat;
	background-position: right 1em top 50%;
	background-size: 5px auto;
	padding-left: 15px;
	justify-content: flex-start;
}
@media only screen and (max-width: 750px) {
	.wp-pagenavi a,
	.wp-pagenavi span {
		width: 45px;
		height: 45px;
	}
}

h2.text-header {
	font-weight: bold;
}

.numberSquare { padding-top: 2px; }
.bg-best01 { background-color: #bea870 !important; color: #ffffff !important; }
.bg-best02 { background-color: #a8a9a8 !important; color: #ffffff !important; }
.bg-best03 { background-color: #997a5c !important; color: #ffffff !important; }
.bg-best04 { background-color: #ffffff !important; color: #3a3a3c !important; }
.bg-best05 { background-color: #ffffff !important; color: #3a3a3c !important; }
.bg-best06 { background-color: #ffffff !important; color: #3a3a3c !important; }
.bg-best07 { background-color: #ffffff !important; color: #3a3a3c !important; }
.bg-best08 { background-color: #ffffff !important; color: #3a3a3c !important; }

.content-topics .layouttext strong,
.content-topics .layouttext b {
	font-weight: bold !important;
}
.content-topics .layouttext em,
.content-topics .layouttext i {
	font-style: italic !important;
}

.detail-list .video-list {
	width: 100%;
	max-width: 1120px;
	padding: 0;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}
.detail-list .video-list li {
	width: 32.33%;
	margin-top: 1.5%;
	margin-right: 1.5%;
}
.detail-list .video-list li:nth-child(3n) {
	margin-right: 0;
}
.detail-list .video-list .video {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}
.detail-list .video-list .video::after {
	padding-top: 56.25%;
	display: block;
	content: '';
}
.detail-list .video-list .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-width: 767px) {
	.detail-list .video-list li {
		height: 56.25vw;
		width: 100%;
		margin-top: 4%;
		margin-right: 0;
	}
	.detail-list .video-list li:nth-child(-n+3) {
		display: none;
	}
}

.detail-list .tiktok-list {
	width: 100%;
	max-width: 1120px;
	padding: 0;
	margin: 0 auto;
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.detail-list .tiktok-list .tiktok-wrap .tiktok-embed {
	margin: 0 !important;
	padding: 0 !important;
}
@media only screen and (max-width: 1079px) {
	.detail-list .tiktok-list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 719px) {
	.detail-list .tiktok-list {
		grid-template-columns: repeat(1, 1fr);
	}
	.detail-list .tiktok-list li:nth-child(n+4) {
		display: none;
	}
}

.youtube-box {
	width: 100%;
	max-width: 55%;
	margin: 100px auto 0;
}
.youtube-box .youtube-video {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}
.youtube-box .youtube-video::after {
	padding-top: 56.25%;
	display: block;
	content: '';
}
.youtube-box .youtube-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-width: 767px) {
	.youtube-box {
		height: 56.25vw;
		width: 100%;
		max-width: 100%;
		margin-top: 70px;
		padding: 0 4vw;
	}
}

.wp-topics .content-parent-detail h1 {
	font-size: 3.6rem;
	font-weight: bold;
}
@media only screen and (max-width: 767px) {
	.wp-topics .content-parent-detail h1 {
		font-size: 3.2rem;
	}
}