/*
Theme Name:BusinessPress_child
Template:businesspress
Version:1.0.0
*/


.top-bar-content, .main-header-content, .featured-entry-content, .home-header-content, .jumbotron-content, .site-content, .container-content, .footer-widget-content, .site-bottom-content {
    max-width: 980px;
}

/*---記事一覧--------*/
.contents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contents-item {
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
    text-align: center;
}

.contents-item .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.contents-item .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
	margin-top: 10px;
}

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


/* サムネイルの比率を14:9に統一、切り抜き */
.contents-item .thumbnail {
    aspect-ratio: 14 / 9;
    overflow: hidden;
}


/* ページネーション */
.pagination {
    margin-top: 40px;
    text-align: center;
}

/* --- レスポンシブ対応 --- */

/* タブレット：2列 */
@media (max-width: 1024px) {
    .contents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* サムネイル画像内にカテゴリーを重ねる */
.thumbnail {
    position: relative;
}

.contents-item {
    position: relative; /* ラベルを絶対配置するために必要 */
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
    text-align: center;
    overflow: visible; /* ラベルを外に出せるように */
}

/* カテゴリーラベルを外に出す */
.cat-label {
    position: absolute;
    top: 5px;
    left: 0px;
    background: #d10000;
	color:#fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: bold;
	font-family: "Gill Sans", sans-serif;
    z-index: 10;
}

.cat-label a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.cat-label a:hover {
    text-decoration: underline;
}


/* タグのスタイル */
.tag-list {
    margin-top: 8px;
    font-size: 10pt;
    color: #666;
	font-family: "Gill Sans", sans-serif;
}

.tag-list a {
    color: #666;
    text-decoration: none;
}

.tag-list a:hover {
    text-decoration: underline;
}


/* スマホ：1列 */
@media (max-width: 600px) {
    .contents-grid {
        grid-template-columns: 1fr;
    }
}
.contents-item .title {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.contents-item .title::after {
    display: none !important;
}
h2.title, h2.title * {
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.contents_top_box {
    margin: 0 -200%;
    padding: 3rem 200%;
    /*background: #f1f1f1;*/
}
.contents_top_box div.listing-item a.title {
	font-size: 1.3rem;
	font-weight:bold;
    text-decoration: none;
    line-height: 1.8rem;
	text-align:center;
}

.zero-results {

	    grid-template-columns: repeat(4, 1fr);
    display: grid;
    grid-gap: 35px;
}

header.entry-header {
margin-bottom: 0 !important; 
}
.side_ban {
	padding: 2rem;
}
.side_ban img {
	width:100%;
}


.fluid-box{
margin-left: -500% !important;
  margin: 0 -500%; /* ネガティブマージンを追記 */
    padding: 0 500% !important;
	/*width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ddd;
	padding: 0 40px;*/
}
.fluid-box-inner{
	max-width:100%;
 margin: 0 auto;
 padding: 3rem 0;
}


/* ----------------Grid style---------------- */
.display-posts-listing.grid {
    display: grid;
    grid-gap: 16px;
}
 
.display-posts-listing.grid .title {
    display: block;
		margin-top :1rem;
}
 
.display-posts-listing.grid div.listing-item img {
	    aspect-ratio: 14 / 9;
    overflow: hidden;
}

.display-posts-listing.grid div.listing-item {
padding: 1rem 1rem 2rem;
}


.display-posts-listing.grid img { 
    display: block; 
    max-width: 100%; 
    height: auto; 
}
 
@media (min-width: 600px) {
    .display-posts-listing.grid {
        grid-template-columns: repeat( 2, 1fr );
    }
}
 
@media (min-width: 1024px) {
    .display-posts-listing.grid {
        grid-template-columns: repeat( 5, 1fr );
    }
}

.line-box{
	padding:2rem 2rem 2rem 4rem;
	border: 1px solid #009f41;
}

#toc_container {
	padding:1rem 3rem;
}
div.breadcrumbs {
	font-size:1rem;
}