@charset "UTF-8";
#content-w{
    padding-bottom: 30px;
}
.case_tile::after {
	content: "";
	    width: 100%;
	height: 5px;
	background-image: linear-gradient(90deg, #43b962 10%, #019a98 60%);
	position: absolute;
	bottom: 0;
	/*margin: 0 calc(50% - 50vw);*/
}
span.sub {display:none;}
span+br{display:none;}
.sptext{text-align:left!important;}

.image-flex-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.image-box {
  flex: 0 1 45%;
  max-width: 45%;
  text-align: center;
}

.image-box img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 横4:縦3の比率で統一 */
  object-fit: contain; /* トリミングせず、全部表示 */
  border-radius: 8px;
  display: block;
  background-color: #f8f8f8; /* 背景をつけて余白対策 */
}

@media screen and (max-width: 768px) {
  .image-box {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .image-box img {
    aspect-ratio: auto;
    height: auto;
  }
}
@media screen and (max-width: 782px) {
  .wp-block-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .wp-block-buttons .wp-block-button {
    width: 100% !important;
  }
}

	.cs-wrap h2.cs-h2{
  font-size:20px !important;
  font-weight:700 !important;
  color:#222 !important;
  border-left:4px solid #33A7B5 !important;
  border-bottom:none !important;
  border-top:none !important;
  border-right:none !important;
  padding:3px 0 3px 12px !important;
  margin:0 0 14px !important;
  border-radius:0 !important;
  background:none !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}

.cs-wrap h3.cs-h3{
  font-size:16px !important;
  font-weight:700 !important;
  color:#222 !important;
  border-bottom:1px solid #dcdcdc !important;
  border-top:none !important;
  border-left:none !important;
  border-right:none !important;
  padding:0 0 6px 0 !important;
  margin:0 0 10px !important;
  background:none !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
	/* ヒーローバナーテキスト */
.cs-hero .cs-hero-catch {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-style: normal !important;
}

/* 強調テキスト（緑） */
.cs-wrap .cs-hl,
.cs-intro .cs-hl,
p .cs-hl,
span.cs-hl {
  font-size: inherit !important;
  font-weight: 700 !important;
  color: #1d8c99 !important;
  display: inline !important;
  font-style: normal !important;
}

/* 導入効果リスト 太字 */
.cs-wrap .cs-points li,
.cs-facility-section .cs-points li {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #333 !important;
  font-style: normal !important;
}

/* スタッフの声テキスト */
.cs-wrap .cs-voice-text,
.cs-voice-box .cs-voice-text,
.cs-voice-box p {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #333 !important;
  font-style: normal !important;
  line-height: 1.9 !important;
}
	/* ① ヒーローバナー テキスト */
.cs-hero p,
.cs-hero .cs-hero-catch,
.cs-hero p.cs-hero-catch {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.6 !important;
}

/* ② プロフィールラベル（所在地・業種・公式サイト）を青みどりに */
.cs-profile-row-label,
div.cs-profile-row-label {
  color: #33A7B5 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* ③ 施設名を太字に（エリア表記はそのまま） */
.cs-profile-title,
p.cs-profile-title {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #222 !important;
}
.cs-facility-name,
p.cs-facility-name {
  font-weight: 700 !important;
  font-size: 20px !important;
  color: #222 !important;
}
.cs-facility-name span {
  font-weight: 400 !important;
  font-size: 13px !important;
  color: #888 !important;
}

/* ④ 導入効果リスト テキストサイズを本文に統一 */
.cs-points li span,
.cs-wrap .cs-points li span {
  font-size: 16px !important;
  font-weight: 700 !important;
  font-style: normal !important;
}
/* 記事内の写真に角丸を適用（導入事例ページのみ） */
.post-template-casestudies article img {
  border-radius: 8px !important;
}


.case_acctive{    background-color: #118f6a!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: #00863C;
}

.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;
    line-height: 22px;
}

.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 { 
    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: #00863C;
    color: #ffffff;
}

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

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

/* 業種カテゴリーナビゲーション用のスタイル */
.business_category_nav {
    margin: 20px auto;
    width: 100%;
    max-width: 960px;
}

.business_category_nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    gap: 10px;
    justify-content: center;
}

.business_category_nav ul li a {
    display: block;
    padding: 7px 15px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.business_category_nav ul li a:hover {
    background-color: #e0e0e0;
}

.business_category_active {
    background-color: #0d76c1 !important;
    color: #fff !important;
    border-color: #0d76c1 !important;}

@media screen and (max-width: 767px) {
.case_box {
    gap: 0px 30px;
}
    .news_nav ul, .business_category_nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .business_category_nav ul li {
        margin-bottom: 10px;
    }
    .post-item {
        width: 100%;
    }
}



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

/*投稿タグ*/
.tagst {
	color: #666;
}

.st-main img{
    border-radius: 8px !important;
}

.st-main #st-page img{
    border-radius: 0 !important;
}