/* SNSシェアボタン　***********/
.heateor_sss_sharing_container {
display: flex;
justify-content: flex-end;
width: 100%;
margin: 10px 0;
}
.share-center {
display: flex;
justify-content: center;
margin: 50px auto 0 auto;
width: 100%;
}
.share-center .heateor_sss_sharing_container {
display: block;
text-align: center;
margin: 0px auto 0 auto;
}
div.heateor_sss_follow_ul a,
div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a {
float: none;
}
/* SNSシェアボタン　***********/

/* カテゴリボタン　***********/
ol.category_bt {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
margin: 20px 0 0 0;
}
ol.category_bt li {
display: grid;
place-content: center;
margin-right: 5px;
}
ol.category_bt li.current {
background-color: #d0121b;
border: 1px solid #d0121b;
color: #FFF;
padding: 1em;
box-sizing: border-box;
}
ol.category_bt li a {
display: block;
width: 100%;
border: 1px solid #d0121b;
padding: 1em;
box-sizing: border-box;
}
ol.category_bt li a:hover {
background-color: #d0121b;
color: #FFF;
}


@media screen and (min-width: 0px) and (max-width: 640px) {
ol.category_bt {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
margin: 20px 0 0 0;
}
ol.category_bt li {
display: grid;
place-content: center;
margin: 0 5px 5px 0;
}
ol.category_bt li.current {
background-color: #d0121b;
border: 1px solid #d0121b;
color: #FFF;
padding: 0.5em;
box-sizing: border-box;
}
ol.category_bt li a {
display: block;
width: 100%;
border: 1px solid #d0121b;
padding: 0.5em;
box-sizing: border-box;
}
ol.category_bt li a:hover {
background-color: #d0121b;
color: #FFF;
}
}
/******************************* 導入事例 */
.share {
position: relative;
z-index: 100;
}
ul.subcategory {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: -3em auto 0 auto;
position: relative;
}
ul.subcategory li {
margin: 0 1em 0 0;
}
ul.subcategory li a {
background-color: #F2F2F2;
padding: 0.2em 1em 0.3em 1em;
display: block;
color: #000;
}
ul.subcategory li a:hover {
color: #fff;
background-color: #d0121b;
}

ul.installed {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 1em auto 0 auto;
border: 1px solid #D7D7D7;
padding: 0.5em 1em 0.5em 1em;
margin-bottom: -0.5em;
}
ul.installed li {
margin: 0 0em 0 0;
}
ul.installed li:nth-child(1) {
margin: 0 0em 0 0;
}
ul.installed li a {
display: block;
padding: 0em 0.5em 0em 0.5em;
}
ul.installed li a:hover {
color: #fff;
background-color: #d0121b;
}

.NewsSingleItem__content {
padding: 40px 0 0 0;
}
h1.NewsSingleItem__ttl {
padding: 0.8em 0 0 0;
}

.wp-post .case_mainimage {
margin: 0px auto 40px auto;
}
.wp-post .overview_field {
margin: 0px auto 50px auto;
}
.wp-post .overview_field dl {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-top: 1px solid #D2D2D2; 
border-left: 1px solid #D2D2D2;
}
.wp-post .overview_field dt,
.wp-post .overview_field dd {
box-sizing: border-box;
font-size: 1.8rem;
line-height: 1.5em;
padding: 0.5em 1em;
border-right: 1px solid #D2D2D2;
border-bottom: 1px solid #D2D2D2;
margin: 0;
}
.wp-post .overview_field dt {
background-color: #EEEEEE;
width: 15%;
font-weight: 500;
}
.wp-post .overview_field dd {
width: 35%;
font-weight: 400;
}
.wp-post .overview_field dd:nth-of-type(5) {
width: 85%;
}

@media screen and (max-width: 768px) {
.NewsSingle {
padding: 1rem 0 0rem;
}
.NewsSingleItem__info--cat .cat {
margin-right: 0;
padding: 0 0 0 0;
min-width: auto;
height: auto;
font-size: 1.2rem;
}
ul.subcategory {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 1em auto 0 auto;
}
ul.subcategory li {
margin: 0 0.5em 0.5em 0;
}
ul.subcategory li a {
font-size: 1.3rem;
background-color: #F2F2F2;
padding: 0.1em 0.7em 0.15em 0.7em;
display: block;
color: #000;
}
ul.subcategory li a:hover {
color: #fff;
background-color: #d0121b;
}

ul.installed {
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 0.5em auto 0 auto;
border: 1px solid #D7D7D7;
padding: 0.2em 0.5em 0.3em 0.5em;
margin-bottom: -20px;
}
ul.installed li {
margin: 0 0em 0 0;
font-size: 1.3rem;
}
ul.installed li:nth-child(1) {
margin: 0 0em 0 0;
width: 100%;
padding: 0em 0.3em 0em 0.3em;
}
ul.installed li a {
display: block;
padding: 0em 0.3em 0em 0.3em;
}
ul.installed li a:hover {
color: #fff;
background-color: #d0121b;
}
.wp-post .overview_field {
margin: 0px auto 20px auto;
}
.wp-post .overview_field dl {
display: block;
border: 1px solid #D2D2D2;
}
.wp-post .overview_field dt,
.wp-post .overview_field dd {
width: 100%;
border: none;
border-top: 1px solid #D2D2D2;
font-size: 1.5rem;
line-height: 1.3em;
padding: 0.5em 1em 0.5em 0.7em;
}
.wp-post .overview_field dt:first-child {
border-top: none;
}
.wp-post .overview_field dt {
background-color: #f7f7f7;
}
.wp-post .overview_field dd:nth-of-type(5) {
width: 100%;
padding: 0.5em 0.5em 0.5em 0.7em;
}
}
/******************************* 導入事例 */

#related_posts ul {
--gap: 30px;
display: flex;
flex-wrap: wrap;
gap: var(--gap);             /* 要素間の隙間はgapで管理 */
justify-content: flex-start; /* 左詰めベース */
margin: 50px auto 0;
padding: 0;
list-style: none;
}
#related_posts ul li {
flex: 0 1 calc((100% - (var(--gap) * 2)) / 3);
margin: 0;/* 余白はgapで統一 */
display: flex;/* 中身の高さ揃え用なら残す */
}
#related_posts ul li a{
color: #000;
display: block;
box-shadow:0px 0px 3px 2px rgba( 0, 0, 0, 0.3);
flex: 1;
}
#related_posts ul li a:hover {
opacity: .70;
}
#related_posts ul li .image {
position: relative;
display: block;
line-height: 0;
max-height: 285px !important;
overflow: hidden;
margin-bottom: 0.5em;
}
#related_posts ul li .image img {
aspect-ratio: 4 / 3;
width: 100%;
object-fit: cover;
}
#related_posts ul li .image img {
}
#related_posts ul li h3 {
font-size: 20px;
line-height: 1.5em;
font-weight: 700;
margin: 0.3em 0.8em 0.5em 0.8em;
}
#related_posts ul li p.copy {
font-size: 16px;
line-height: 1.6em;
display: inline-block;
color: #737373;
padding: 0 1.2em 0 1em;
margin: 0px 0 0.5em 0em;
height: 3em;
overflow: hidden;
}
#related_posts ul li p.type {
font-size: 14px;
line-height: 1.2em;
display: inline-block;
color: #d0121b;
border: 1px solid #d0121b;
padding: 0.1em 0.5em 0.1em 0.5em;
margin: 0px 0 0.5em 1em;
height: auto;
}
#related_posts ul li p.subcategory {
margin: 0px 0em 0em 1em;
height: auto;
}
#related_posts ul li p.subcategory span {
font-size: 14px;
line-height: 1.2em;
display: inline-block;
color: #737373;
border: 1px solid #BCBCBC;
padding: 0.1em 0.5em 0.1em 0.5em;
margin: 0px 0.5em 0em 0em;
}
#related_posts ul li p.update {
text-align: right;
display: block;
margin: 0.7em 1em 0.5em auto;
height: auto;
}

#contact_area {
margin: 50px auto 0 auto;
text-align: center;
}
#related_posts h5 {
padding-bottom: 1.8rem;
border-bottom: 5px solid #d0121b;
font-size: 3rem;
font-weight: 700;
line-height: 1.5;
text-align: left;
}
#related_posts .more {
margin: 50px auto 0 auto;
text-align: center;
}

@media (max-width: 1024px) {
#column ul li,
#related_posts ul li{
    flex-basis: calc((100% - var(--gap)) / 2);
  }
}
@media (max-width: 640px) {

#related_posts ul li{
flex-basis: 100%;
}
#related_posts ul li h3 {
font-size: 16px;
line-height: 1.3em;
}
#related_posts ul li p.copy {
font-size: 13px;
line-height: 1.3em;
display: inline-block;
color: #737373;
padding: 0 1.2em 0 1em;
margin: 0px 0 0em 0em;
height: 2.5em;
overflow: hidden;
}
#related_posts ul li p.type {
font-size: 13px;
line-height: 1.2em;
margin: 0px 0 0.5em 1em;
height: auto;
}
#related_posts ul li p.subcategory {
margin: 0px 0.8em 0em 0.8em;
height: auto;
}
#related_posts ul li p.subcategory span {
font-size: 13px;
line-height: 1.2em;
display: inline-block;
color: #737373;
border: 1px solid #BCBCBC;
padding: 0.1em 0.5em 0.1em 0.5em;
margin: 0px 0.5em 0em 0em;
}
#related_posts ul li p.update {
font-size: 13px;
text-align: right;
display: block;
margin: 0.7em 1em 0.5em auto;
height: auto;
}
#related_posts ul {
margin: 20px auto 0 auto;
}
#related_posts {
width: 90%;
margin: 40px auto 0 auto;
}
#related_posts h5 {
padding-bottom: 1rem;
border-bottom: 2px solid #d0121b;
font-size: 1.8rem;
font-weight: 700;
line-height: 1.5;
text-align: center;
}
}






