@charset "UTF-8";
.sc_tlt h3 {
    border-bottom: 3px solid #196ac0;
}
    .post h3::before {
          background-color: #0a92bc;
     }
.case_tile::after {
    background-image: linear-gradient(90deg, #5172e9 10%, #5ac9c7 60%);
}
.case_acctive{    background-color: #196ac0!important;}
.case_tile h1 {
    display: grid
;
}

.case_tile h1 span {
    font-size: 30px;
    margin-bottom: 15px;
}

.post-list {
    display: flex;
    flex-wrap: wrap;
}

.post-item {
    position: relative;
    width: calc(33% - 20px);
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
  height: 200px;
    object-fit: cover; 
    margin: 0 0 10px;
}

.post-title {
    font-size: 1.2em;
    margin: 15px;
    font-weight: bold;
    text-align: left;
}

.post .case_box h4 {
    padding: 0 10px;
    margin: 5px 0 5px;
    color: #003786;
}

.post-item p {
    padding: 0 15px;
    font-size: 1.3rem;
    margin-bottom: 0px;
}

.post-meta {
    margin: 0 15px 15px;
    font-size: 0.9em;
    color: #999;
}

.category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8em;
}

.tags-content {
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 15px 25px 15px;
    pointer-events: none;
}

.tags-list {
    font-size: 0.9em;
    color: #666;
    text-align: right;
    margin: 0;
    z-index: 3; /* タグのリンクが効くようにする */
    position: relative;
}

.tags-list span {
    margin-right: 5px;
}

.tags-list span { 
    color: #939393;
    text-decoration: none;
    border: 1px solid #939393;
    font-size: 1.1rem;
    padding: 1px 4px;
    border-radius: 3px;
}

.tags-list a:hover {
    color: #149616;
    text-decoration: none;
    border: 1px solid #149616;
    opacity: .8;
}

.post-link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* post-linkのz-indexを0にする */
}

.post-link:hover {
    text-decoration: none;
}

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

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
}

.pagination a:hover {
    background: #ddd;
}

.products-categories {
    display: flex;
    justify-content: flex-end;
    margin: 0px 0px 12px;
    z-index: 2;
    text-align: right;
    position: relative;
}

.products-category-button {
     font-weight: 600;
    display: inline-block;
    padding: 7px 10px 7px 10px;
    margin: 0px 5px 0px 0;
    font-size: 0.83em;
    text-decoration: none;
    border-radius: 3px;
}

.products-category-button:hover {
    opacity: .6;
    color: #fff;
}

.products-category-0 {
    background-color: #0a3a85;
    color: #ffffff;
}

.products-category-1 {
    background-color: #0A5F75;
    color: #ffffff;
}

.products-category-2 {
    background-color:#0a5275;
    color: #ffffff;
}

.products-category-3 {
    background-color: #037d68;
    color: #ffffff;
}

.news_nav ul li a {
    background-color: #6b6b6b;}

@media screen and (max-width: 767px) {
.case_box {
    gap: 0px 30px;
}
    .news_nav ul {
        flex-direction: row;
	}
}

span+br {
    display: none;
}



/* ハッシュ切り替えで対象外の記事を非表示にする */
.case_box .post-item[hidden] {
    display: none !important;
}

.case_box .post-item[hidden],
.pagination[hidden] {
  display: none !important;
}

/*投稿タグ*/
.tagst {
	font-size: 13px;
	color: #666;
	padding: 10px 0 0
}
.tagst a{
	color: #027eaf!important;
}

.kanren dl,
.kanren dl:last-child{
    border-left: 3px solid #005999;
}
