/*
Theme Name: Twenty Twenty Bootstrap jQuery
Theme URI: https://kokodatte.com
Description: Twenty Twenty Bootstrap jQuery theme customized based on bst-master design for KOKODATTE.COM
Author: KOKODATTE
Author URI: https://kokodatte.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty
*/

/* =====================================================
   BST-MASTER から移行したスタイル
   ===================================================== */

/*
Max content widths
*/
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto
}

/*
Header logo
*/
.navbar-header .navbar-brand {
	width: 220px; 
}

.navbar #navbar {
	padding-top: 13px;
}

.navbar-toggle {
	margin-top: 20px;
}

.navbar.navbar-default,
.navbar.navbar-light {
	padding: 10px 0;
}

/*
Main content
*/
#content article {
	margin-bottom: 40px
}
#content header {
	margin: 20px 0
}
#content section {
	margin-bottom: 20px
}
#content footer {
	padding-bottom: 20px
}

/*
Slider
*/
.slide_box {
	margin-bottom: 30px;
}

/*
Movie Block
*/
.movie-block {
	margin-bottom: 30px;
}
.movie-block ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}
.movie-block li {
	width: 33.333%;
	padding: 10px;
}
@media (max-width: 767px) {
	.movie-block li {
		width: 50%;
	}
}

/*
Loop Box / Card Styles
*/
.loop_box {
	margin-bottom: 20px;
}
.loop_box .card {
	border-radius: 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.loop_box .card-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	padding: 12px 15px;
}
.loop_box .card-body {
	padding: 15px;
}
.loop_box header h1,
.loop_box header h2 {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
}
.loop_box header h1 a,
.loop_box header h2 a {
	color: #333;
	text-decoration: none;
}
.loop_box header h1 a:hover,
.loop_box header h2 a:hover {
	color: #007bff;
}
.loop_box img {
	width: 100%;
	height: auto;
}
.loop_box section {
	font-size: 0.9rem;
	color: #666;
	margin: 10px 0;
}

/*
Sidebar
*/
.sidebar {
	margin-top: 20px
}
.sidebar section {
	margin-bottom: 40px
}
.sidebar ul,
.sidebar ol {
	list-style-type: none;
	padding: 0
}
.sidebar li {
	margin: 10px 0
}

/*
Hide form placeholders on focus
*/
input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; }
input:focus::-moz-placeholder { color: transparent; }
textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus:-moz-placeholder { color: transparent; }
textarea:focus::-moz-placeholder { color: transparent; }

/*
Comments
*/
#respond {
	margin-top: 40px
}
ol.commentlist {
	counter-reset: li;
	padding: 0
}
ol.commentlist ul {
	padding: 0
}
ol.commentlist > li {
	position: relative;
	margin: 0 0 20px 0;
	list-style: none
}
ol.commentlist > li:before {
	content: "Thread " counter(li);
	counter-increment: li;
	position:absolute;  
	top: 0;
	right: 0;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom-left-radius: 4px;
	padding: 5px 20px 5px 10px;
	color: #999
}
ol.commentlist li ol,
ol.commentlist li ul {
	list-style-type: none;
	margin: 0
}
.commentlist li li {
	background: #f8f8f8;
}
.commentlist li li li {
	background: #fff
}
.commentlist li li li li {
	background: #f8f8f8
}
.commentlist li li li li li li {
	background: #fff
}
.commentlist li {
	padding: 20px
}
.commentlist ul li {
	margin-top: 20px;
	margin-bottom: 0
}
.reply p {
	margin: 0
}

/*
Site footer
*/
.site-footer {
	padding: 40px 0
}
.site-footer ul,
.site-footer ol {
	list-style-type: none;
	padding: 0
}
.site-footer li {
	margin: 10px 0
}
.site-sub-footer p {
	text-align: center
}
.site-footer p {
	text-align: center
}
.site-footer img {
	max-width: 100%;
	height: auto;
}

/*
Page Image
*/
.page_image {
	margin-bottom: 30px;
}
.page_image img {
	width: 100%;
	height: auto;
}



/*
heightLine compatibility
*/
.heightLine-group1,
.heightLine-group2 {
	/* heightLine.js が高さを揃える */
}

/*
Pagination
*/
.pagination {
	justify-content: center;
	margin: 30px 0;
}
.pagination .page-item.active .page-link {
	background-color: #007bff;
	border-color: #007bff;
}

/* =====================================================
   追加のBootstrap 4 カスタマイズ
   ===================================================== */

a {
	color: #007bff;
	text-decoration: none;
}
a:hover {
	color: #0056b3;
	text-decoration: none;
	opacity: 0.8;
}

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

.card {
	border-radius: 0;
}

.btn {
	border-radius: 0;
}

/* カテゴリリンクのスタイル */
.cat-links a,
.entry-categories a {
	display: inline-block;
	padding: 2px 8px;
	background: #f8f9fa;
	color: #333;
	font-size: 0.85rem;
	margin-right: 5px;
	margin-bottom: 5px;
}
.cat-links a:hover,
.entry-categories a:hover {
	background: #e9ecef;
}


/*
Category colors (bst-master style)
*/
.boxcat_1 .card-header { border-left: 4px solid #3498db; }
.boxcat_7 .card-header { border-left: 4px solid #e74c3c; }
.boxcat_8 .card-header { border-left: 4px solid #9b59b6; }
.boxcat_9 .card-header { border-left: 4px solid #f39c12; }
.boxcat_10 .card-header { border-left: 4px solid #1abc9c; }

.card-thumb {
  display: block;
  height: 180px; /* ← ここで統一 */
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← 神 */
}

.metaslider .flexslider {
	margin-bottom:0!important;	
}
.metaslider .flex-control-nav {
	    bottom: 20px!important;
}
}