/*
if (function_exists('w3_instance')) {
  function is_mobile()    {
    $cache = w3_instance('W3_PgCache');
    $group = $cache->_get_mobile_group();
    return "high" === $group || "low" === $group;
  }
}
*/

 

/* ショートコードで記事を取得 */

.related_article33{
margin:1.0em 0.3em;
text-align: left;
}
.related_article33 .inbox{
padding-left:43%;
}
.related_article33 p.ttl{
margin: 0 0 0.1em;
font-size:1em;
font-weight: bold;
}
.related_article33 .ttl:before{
content:'関連記事';
font-size:.7em;
font-weight:bold;
color:#fff;
background:#111;
width:5em;
display:inline-block;
padding:0.2em;
position:relative;
top:-2px;
text-align:center;
margin-right:0.5em;
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
}
.related_article33.labelnone .ttl:before{
content:none;
}
.related_article33 .date{
font-size:0.8em;
}
.related_article33 .thum{
width:40%;
float:left;
}
.related_article33 .thum img{
width:100%;
margin-bottom: 0px;
}
.related_article33 a{
color:#333;
background: #FFF;
border-bottom: 1px dashed #ddd;
text-decoration:none;
display:block;
padding:0.7em 0.3em 0.5em;
margin-bottom:-0.9em;
}
.related_article33 a:hover{
color:#666;
background:lightyellow;
}




.related_article4{
margin: 1.0em 0 0.5em;
text-align: left;
}
.related_article4 .inbox{
padding-left:38%;
}
.related_article4 p.ttl{
margin: 0 0 0.1em;
font-size:1em;
font-weight: bold;
}
.related_article4 .ttl:before{
content:'関連記事';
font-size:.7em;
font-weight:bold;
color:#fff;
background:#111;
width:5em;
display:inline-block;
padding:0.2em;
position:relative;
top:-2px;
text-align:center;
margin-right:0.5em;
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:5px;
}
.related_article4.labelnone .ttl:before{
content:none;
}
.related_article4 .date{
font-size:0.8em;
}
.related_article4 .thum{
width: 35%;
float:left;
}
.related_article4 .thum img{
margin-bottom: 0;
}
.related_article4 a{
color:#333;
background: #FFF;
border-bottom:1px dashed #ddd;
border-radius:5px;
text-decoration:none;
display:block;
padding:0.9em;
}
.related_article4 a:hover{
color:#666;
background:lightyellow;
}



