/* Enter Your Custom CSS Here */
#wrapper {
}

#magazine .st-top-time {
	background: #70a6ff;
 	padding: 0 5px;
}

#magazine .st-top-time p {
  font-size: medium;
  color: #fff;
  margin-bottom: 0px !important;
  padding-top: 0px !important;
}

/* コメント数表示 */
.comments-count {
 	position: relative;
	display: inline-block;
	padding: 5px 10px;
  margin:10px 0;
 	vertical-align: middle;
 	text-align: center;
 	color: #FFF;
	font-size: medium;
 	font-weight: bold;
	background: #ff8e9d;
 	box-sizing: border-box;
}

.comments-count:before{
	content: "";
	position: absolute;
	top: -25px;
	left: 5%;
	border: 15px solid transparent;
	border-bottom: 15px solid #ff8e9d;
 	z-index: 0;
}

.comments-count a {
 	color: #FFF;
	font-size: medium;
 	font-weight: bold;
}

/* サイドバーグリッド表示、関連情報表示 */
.random_side > ul{
  padding:3px !important;
  display:inline-block;
  height:auto;
  margin-bottom : 5px !important;
}

.random_side li {
  float:left;
  position:relative;
  list-style:none;
  border:3px solid #f2cf01;
  display: inline-block;
  list-style-type: none;
  position: relative;
  text-align: left;
  vertical-align: top;
}

.random_side span {
  background:rgba(33,34,34,0.8);
  color:#fff;
  font-size:small;
  position:absolute;
  left:0;
  bottom:0;
  line-height:normal;
  width:94%;
  height:25%;
  word-wrap: break-word;
  overflow: hidden;
  padding:5px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
}

.random_side li img {
  width:170px;
  height: 130px;
  top: 0;
}

@media only screen and (max-width: 499px){  
  .random_side > ul{
    padding:3px !important;
    display:inline-block;
    height:auto;
    margin-bottom : 5px !important;
  }

  .random_side li {
    float:left;
    position:relative;
    list-style:none;
    border:3px solid #f2cf01;
    display: inline-block;
    list-style-type: none;
    position: relative;
    text-align: center;
    vertical-align: top;
  }  
  
  .random_side span {
    background:rgba(33,34,34,0.8);
    color:#fff;
    font-size:small;
    position:absolute;
    left:0;
    bottom:0;
    line-height:normal;
    width:97%;
    height:20%;
    word-wrap: break-word;
    overflow: hidden;
    padding:5px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
  }

  .random_side li img {
    width:100%;
    height: 200px;
    top: 0;
 }
}


.top-wbox-u {
    padding: 0 5px !important;
}

.kizi-under-box {
  margin-bottom: 10px !important;
}

#side aside {
	padding: 0 !important;
}

/* RSS */
div.rss-antenna .rss-item .title {
  font-weight: bold;
  font-size: small;
}

div.rss-antenna a {
  font-size: medium;
}

div.st-wp-views span.wpp-views {
  text-shadow: 3px 1px 10px #34495e !important;
}

.TweetAuthor-name {
  font-size: xx-small;
}

.TweetAuthor-screenName {
  font-size: xx-small !important;
}

.TweetAction-icon,
.TweetAction-stat {
  display: none;
}

#mybox {
  padding:0px !important;
}

.screen-reader-text {
  display:none;
}

/* サイドバー*/
#side .menu_underh2,
#side .st-widgets-title:not(.st-css-no) {
  background: -webkit-repeating-linear-gradient(45deg, #2980b9, #2980b9 5px, #2472a4 5px, #2472a4 10px);
  background: repeating-linear-gradient(45deg, #2980b9, #2980b9 5px, #2472a4 5px, #2472a4 10px);
  color: #ffffff !important;
  border: 1px solid #2c3e50;
  padding-left:10px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}

/* メニューバー*/
header .smanone ul.menu li a, 
header nav.st5 ul.menu  li a,
header #st-menuwide div.menu li a,
header #st-menuwide nav.menu li a {
  color: #ffffff;
  text-shadow: 3px 1px 10px #34495e !important;
}

header .descr {
  color: #FFF !important;
  font-weight: bold;
  text-shadow: 2px 1px 0px #388E3D !important;
  background: #99999977;
}


/*--------------------------------
各フォント設定
---------------------------------*/
/*基本のフォントサイズ*/
.entry-content p /* テキスト */ {
  /*font-size: small;*/
  /*line-height: 1.8;*/
}

p,
.post h5 {
  margin-bottom:20px;
}

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960x) {
  /*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px以上）
----------------------------------------------------*/
@media only screen and (min-width: 600px) {
  /*--------------------------------
  各フォント設定
  ---------------------------------*/
  /*基本のフォントサイズ*/
  .entry-content p /* テキスト */{
    /*font-size: medium !important;*/
    /*line-height: 2 !important;*/
  }
  
  p,
  .post h5 {
		margin-bottom: 20px;
  }
  /*-- ここまで --*/
}

/*media Queries PCサイズ（960px以上）
----------------------------------------------------*/
@media print, screen and (min-width: 960px) {
  /*--------------------------------
  各フォント設定
  ---------------------------------*/
  /*基本のフォントサイズ*/
  .entry-content p /* テキスト */ {
    /*font-size: medium !important;*/
    /*line-height: 2 !important;*/
  }
  
  p,
  .post h5 {
    margin-bottom: 20px;
	}
  /*-- ここまで --*/
}

.st-middle-menu .menu li:nth-child(2) a {
  color: #ff2020 !important;
  background: #90ff21 !important;
}


.race_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

.race_table_wrap td {
  white-space: nowrap;
}

.race_table_wrap td:nth-child(1) {
  color:#404040;
}

.race_table_wrap td:nth-child(4),
.race_table_wrap td:nth-child(9),
.race_table_wrap td:nth-child(10) {
  background-color: transparent;
}

.race_table_wrap::-webkit-scrollbar {
  height: 5px;
}
.race_table_wrap::-webkit-scrollbar-track {
  border-radius: 5px;
  background: #eee;
}
.race_table_wrap::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #666;
}


.p-navi dl dt {
  font-weight: bold;
  line-height: 24px;
  width:80px;
  float: left;
  color: #666;
}


ul.blogroll-list-wrap {
  padding-top: 5px !important;
  padding-left : 0px !important;
}

.blogroll_wrapper {
  margin-bottom: 10px !important;
  margin-top: -20px !important;
  overflow-y:scroll;
  padding:10px !important;
  border-left: 1px dotted #333 !important;
  border-right: 1px dotted #333 !important;  
  border-top: 1px dotted #333 !important;
  border-bottom: 1px dotted #333 !important;
}

.blogroll_innner {
  width: 50% !important;
  height: 350px !important;
  float: left;
}

/*全体の設定*/
.blogroll_innner:after {
  content:".";
  height:0;
  clear:both;
  display:block;
  visibility:hidden;
}

.blogroll_innner {
  zoom:100% !important;
  /*border:1px solid #b0b0b0;*/
  margin-bottom:10px !important;
  /*padding: 3px 0;*/
}

/*チャンネル単位の設定*/
.blogroll_innner .blogroll-channel{
  overflow: auto;
  float: left;
  font-size: x-small !important;
  margin-bottom:0 !important;/*追加*/
}

/*リストの設定*/
.blogroll_innner .blogroll-channel .blogroll-list {
  list-style-type: none;
  border-bottom: 1px dashed #c2c2c2;
  padding: 3px 0 !important;
  padding-top:0 !important;/*追加*/
}

/*テキスト部分の設定*/
.blogroll_innner .blogroll-channel .blogroll-list a{
  padding-left: 5px !important;
  text-decoration: none;
  line-height: 1.7 !important;
  font-size: small  !important;
}

.blogroll_innner .blogroll-channel .blogroll-list a:hover{
  text-decoration: underline;
}

/*NEWの文字の設定*/
.blogroll_innner .blogroll-new-entry{
  color: #ff0a00;
  font-size: x-small;
  font-weight: bold;
}


.st-post-tags a {
  background:#FFF9C4;
  padding:0 4px;
}


/* カテゴリ背景変更 */
.catname.st-catid21 {
  background:#ffab91; /*背景色*/
  color:#fff; /*文字色*/
}

.catname.st-catid25 {
  background:#81d4fa; /*背景色*/
  color:#fff; /*文字色*/
}

.catname.st-catid44 {
  background:#F48fb1; /*背景色*/
  color:#fff; /*文字色*/
}

/* タイトル (スレ一覧など)*/
.title-header {
  position:relative !important;
  width:auto ;
  height:auto !important;
  text-align:left !important;
}

.title-header#green {
  border-top: 3px dotted #4BB754 !important;
  border-left: 3px dotted #4BB754 !important;
  border-right: 3px dotted #4BB754 !important;
  border-bottom: 3px dotted #4BB754 !important;
  background-color: #4BB754 !important;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4BB754), to(#4BB754)) !important;
  background-image: -webkit-linear-gradient(top, #4BB754, #4BB754) !important;
  background-image: -moz-linear-gradient(top, #4BB754, #4BB754) !important;
  background-image: -ms-linear-gradient(top, #4BB754, #4BB754) !important;
  background-image: -o-linear-gradient(top, #4BB754, #4BB754) !important;
  background-image: linear-gradient(to bottom, #4BB754, #4BB754) !important;
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#56A764, endColorstr=#56A764) !important;
}

.title-header#red {
  border-top: 3px dotted #FF0007 !important;
  border-left: 3px dotted #FF0007 !important;
  border-right: 3px dotted #FF0007 !important;
  border-bottom: 3px dotted #FF0007 !important;
  background-color: #FF0007 !important;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FF0007), to(#FF0007)) !important;
  background-image: -webkit-linear-gradient(top, #FF0007, #FF0007) !important;
  background-image: -moz-linear-gradient(top, #FF0007, #FF0007) !important;
  background-image: -ms-linear-gradient(top, #FF0007, #FF0007) !important;
  background-image: -o-linear-gradient(top, #FF0007, #FF0007) !important;
  background-image: linear-gradient(to bottom, #FF0007, #FF0007) !important;
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FF0007, endColorstr=#FF0007) !important;
  margin-bottom:20px;
}

.title-header#blue {
  border-top: 3px dotted #333 !important;
  border-left: 3px dotted #333 !important;
  border-right: 3px dotted #333 !important;
  border-bottom: 3px dotted #333 !important;
  background-color: #333 !important;
  background-color: #0074BF !important;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#0074BF), to(#0074BF)) !important;
  background-image: -webkit-linear-gradient(top, #0074BF, #0074BF) !important;
  background-image: -moz-linear-gradient(top, #0074BF, #0074BF) !important;
  background-image: -ms-linear-gradient(top, #0074BF, #0074BF) !important;
  background-image: -o-linear-gradient(top, #0074BF, #0074BF) !important;
  background-image: linear-gradient(to bottom, #0074BF, #0074BF) !important;
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#0074BF, endColorstr=#0074BF) !important;  
  margin-bottom:20px;
}

.title-header h1,
.title-header h2,
.title-header h3,
.title-header h4,
.title-header h5,
.title-header h6 {
  border-bottom: 0 !important;
  margin:0px !important;
  padding: 4px 10px !important;
  background-color: transparent !important;
  font-family: Meiryo, Arial, Helvetica, Sans-serif !important;
  font-weight: bold !important;
  font-size: auto !important;
  color: #FFFFFF !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
  background: -webkit-repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.2) 5px, rgba(255, 255, 255, 0.2) 10px);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.2) 5px, rgba(255, 255, 255, 0.2) 10px);
}


.youtube-container {
  height: 0 !important;
  overflow: hidden !important;
  padding-bottom: 56.25% !important;
  padding-top: 30px !important;
  position: relative !important;
}

.recent-comment {
  font-size: small;
  padding: 2px 5px !important;
}

/* 人気記事ランキング */
.arpw-ul {
  counter-reset: ranking;
  list-style-type: none;
  padding : 2px 5px !important;
}

.arpw-ul li {
  clear: both;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px !important;
  font-weight: bold;
  font-size: small !important;
  line-height: 20px !important;
}
.arpw-title {
}
.arpw-time  {
  font-size: x-small !important;
}

.wpp-list {
  counter-reset: ranking;
  list-style-type: none;
  padding : 2px 5px !important;
}

.wpp-list li {
  clear: both;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px !important;
  font-weight: bold;
  font-size: small !important;
  line-height: 20px !important;
}

.wpp-post-title {
}

.wpp-list li::before {
  counter-increment: ranking;
  content: counter(ranking);
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.6);
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  color: #fff;
  line-height: 1.5em;
  font-size: 14px;
}

.wpp-thumbnail {
  display: inline;
  float: left;
  margin: 0 10px 0 0;
}

.wpp-list li:nth-child(1)::before {
  background-color: rgba(230,180,34,0.8);
}

.wpp-list li:nth-child(2)::before {
  background-color: rgba(192,192,192,0.8);
}

.wpp-list li:nth-child(3)::before {
  background-color: rgba(196,112,34,0.8);
}

.wpp-list li::before {
  border-radius: 0 0 5px 0;
  box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.3);
}
/* 人気記事ランキング ここまで */



.post ul {
  list-style-type: disc;
  /*margin-bottom: 20px;*/
  /*padding: 5px 10px 5px 15px;*/
}


/* 投稿記事 本文 */
div.entry-content div.t_b,
div.entry-content > div:not([class]) div[style*="color"],
div.entry-content > div:not([class]) div[style*="margin-top: 20px"] {
  font-size: large;
  line-height: 2;
  margin-right: 0px;
  margin-bottom: 60px;
  margin-left: 0px;
  font-weight: bolder;
  color: #333;
}

div.entry-content img {
  max-width: 100% !important;
}

/* 投稿記事 名前欄 */
div.entry-content div.t_h span,
div.entry-content div[style^="margin-bottom: 40px"],
div.entry-content div[style^="margin-bottom"] > strong:nth-of-type(2), p > b:nth-of-type(2),
div.entry-content div[style^="margin-bottom"] > div:not([class]) > strong:nth-of-type(2),
p > b:nth-of-type(2) ,
div.entry-content > div:not([class]) label:first-child,
div.entry-content > div:not([class]) > div:not([class]) label:first-child,
div.entry-content > div:not([class]) > p label:first-child,
div.entry-content > div:not([class]) > p > div:not([class]) label:first-child {
  margin-top: 50px;
  width:100%;
  font-size: small !important;
  color: #777;
}

@media only screen and (max-width:499px){
/* 投稿記事 名前欄 */
div.entry-content div.t_h span,
div.entry-content div[style^="margin-bottom: 40px"],
div.entry-content div[style^="margin-bottom"] > strong:nth-of-type(2), p > b:nth-of-type(2),
div.entry-content div[style^="margin-bottom"] > div:not([class]) > strong:nth-of-type(2),
p > b:nth-of-type(2) ,
div.entry-content > div:not([class]) label:first-child,
div.entry-content > div:not([class]) > div:not([class]) label:first-child,
div.entry-content > div:not([class]) > p label:first-child,
div.entry-content > div:not([class]) > p > div:not([class]) label:first-child {
  margin-top: 50px;
  width:100%;
  font-size: x-small !important;
  color: #777;
}
}
div.entry-content div[style^="margin-bottom: 40px"] strong,
div.entry-content div.t_h strong {
  font-size: medium;
  color: #56A764 !important;
}

div.entry-content div[style^="margin-bottom: 40px"] > strong:nth-child(2),
div.entry-content div[style^="margin-bottom: 40px"] > b:nth-child(2) {
  display:none;
}

div.entry-content div[style^="margin-bottom: 40px"] > strong:nth-child(2) > label,
div.entry-content div[style^="margin-bottom: 40px"] > b:nth-child(2) > label {
  display:none;
}

div.entry-content div[style^="margin-bottom: 40px"] > div[style^="margin-left: 10px"] > strong:nth-child(2) > label,
div.entry-content div[style^="margin-bottom: 40px"] > div[style^="margin-left: 10px"] > b:nth-child(2) > label {
  display:none;
}

/* 投稿記事 ID */
div.entry-content > div:not([class]) > label:nth-last-of-type(1),
div.entry-content > div:not([class]) > div:not([class]) > label:nth-last-of-type(1),
div.entry-content > div:not([class]) > p > label:nth-last-of-type(1),
div.entry-content > div:not([class]) > p > div:not([class]) > label:nth-last-of-type(1) {
  margin-left:5px;
  margin-right: 0px;
  background-color: #cfd8dc;
  color:#0d47a1;
}


/* Amazon Auto Links*/
.amazon-auto-links {
  border: 0px solid #fcb11b;
  padding: 10px;
  margin:0px;
}

.amazon-product-meta {
    font-size: x-small;
}

span.pricing-disclaimer {
    display: none;
}