/*
Theme Name: mada-topics
Theme URI: 
Description: 
Version: 
Author: 
Author URI: 
*/

/*--------------------------------------
  動画レスポンシブ化
---------------------------------------*/
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	margin: 0 auto 24px 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*--------------------------------------
  コンテンツエリア
--------------------------------------*/
#news {
	padding: 0 5px;
	margin-bottom: 20px;
}
#news a:hover img {
	opacity: .7;
	-webkit-opacity: .7;
	-moz-opacity: .7;
	filter: alpha(opacity=70);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
}
#news a img {
	-webkit-transition: opacity .2s ease-out;
	-moz-transition: opacity .2s ease-out;
	-ms-transition: opacity .2s ease-out;
	transition: opacity .2s ease-out;
}
/*--------------------------------------
  記事内指定
--------------------------------------*/
#entry_body {
	padding: 0 40px 16px;
	margin-bottom: 30px;
}
#entry_body ul {
	list-style: none;
	margin-bottom: 16px;
}
#entry_body a:link {
	font-weight: bold;
}
.meta_box {
	margin-bottom: 30px;
}
.data_box {
	vertical-align: middle;
}
.data {
	display: inline-block;
	color: #dd4f01;
	font-weight: bold;
}
.sns_box {
	text-align:right;
	float: right;
}
iframe.twitter-share-button {
    width: 75px!important;
}
.con_bg {
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=16, Direction=0, Color=#cdcac3)";/*IE 8*/
    -moz-box-shadow: 0 0 16px rgba(205,202,195,0.5) inset;/*FF 3.5+*/
    -webkit-box-shadow: 0 0 16px rgba(205,202,195,0.5) inset;/*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
    box-shadow: 0 0 16px rgba(205,202,195,0.5) inset;/* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=16, Direction=135, Color=#cdcac3); /*IE 5.5-7*/
    border: 1px solid #e5e1d8;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px
}

.con_bg a{
	display: block;
    width: 100%;
    height: 100%;
}
/*--------------------------------------
  記事見出し
--------------------------------------*/
#entry_body h2, #entry_body h3{
	font-weight: bold;
}
#entry_body h2{
	margin-bottom: 8px;
	font-size:140%;
}
#entry_body h3 {
	margin: 20px 0 8px;
	font-size:135%;
}
.entry_box h3 {
	font-size:135%;
}
#entry_body .single {
	margin-top: 32px;
	border-bottom: 1px solid #ee5c1b;
	border-left: 8px solid #ee5c1b;
	padding: 5px 8px;
}
#entry_body .page {
	margin-bottom: 30px;
}
#entry_body .rel {
    position: relative;
    padding: 10px 0 8px 1.5em;
	background-color: #ded2cd;
    border-radius: 8px;
}
#entry_body .rel:before{
    content: "";
    position: absolute;
    background: #FF7F0F;
    top: 50%;
    left: 0.5em;
    margin-top :-10px;
    height: 20px;
    width: 6px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}
/*--------------------------------------
  カテゴリー
--------------------------------------*/
#cat {
	font-size: 11px;
	border: 1px solid #CFCAC2;
	border-radius: 5px;
	background-color: #f1ebe3;
	margin-left: 8px;
	padding: 0 4px;
	display: inline-block;
}
#cat a:hover {
	color: #febc2d;
	text-decoration: none;
}

/*カテゴリ別*/
.news, .news a {
	color: #09733E;
}
.news:before {
	font-family: mada-web-ico;
	content: "n";
	font-size:13px;
}
.game, .game a {
	color: #E83539;
}
.game:before {
	font-family: mada-web-ico;
	content: "g";
	font-size:13px;
}
.book, .book a {
	color: #1C4DB3;
}
.book:before {
	font-family: mada-web-ico;
	content: "b";
	font-size:13px;
}
.event, .event a {
	color: #9F6000;
}
.event:before {
	font-family: mada-web-ico;
	content: "e";
	font-size:13px;
}
.music, .music a {
	color: #872DBD;
}
.music:before {
	font-family: mada-web-ico;
	content: "u";
	font-size:13px;
}
.goods, .goods a {
	color: #FF17A3;
}
.goods:before {
	font-family: mada-web-ico;
	content: "o";
	font-size:13px;
}
.other, .other a {
	color: #776253;
}
.other:before {
	font-family: mada-web-ico;
	content: "s";
	font-size:13px;
}
/*--------------------------------------
  カテゴリー一覧
--------------------------------------*/
.category-list li {
	margin-bottom: 1em;
}
.category-list {
	border-bottom: 1px solid #ffca9c;
}
/*--------------------------------------
  関連記事
--------------------------------------*/
#relations {
	margin-top: 60px;
	margin-bottom: 60px;
}
#relations ul {
	list-style: none;
}
#relations li:before {
    font-family: mada-web-ico;
	content: "s";
	color:#ff7f0f;
	margin-left: 1em;
}
/*--------------------------------
  次ページ・前ページ
---------------------------------*/
#prev_next{
    width:100%;
    margin: 36px 0 24px;
    padding:0;
    display: table;
}
#prev_next  #prev, #prev_next  #next{
    width: 50%;
    padding:30px 10px 10px;
    border-top:1px solid #ffca9c;
    border-bottom:1px solid #ffca9c;
    display: table-cell;
    position:relative;
	text-decoration:none;
}
#prev_next #prev p, #prev_next #next p{
	font-size:90%;
	line-height:1.5em;
}
#prev_next #prev:hover, #prev_next #next:hover{
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
	-webkit-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	-moz-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
}
#prev_next #prev{
	border-left:1px solid #ffca9c;
}
#prev_next #prev_title, #prev_next #next_title{
	font-size:90%;
    top:-1.4em;
    position:absolute; 
	padding: 5px;
	width: auto;
    color:#666;
	text-align: center;
    background:#fff; 
	border: 2px solid #ee5c1b;
	z-index: 0;
}
#prev_next #next_title {
	left: 10px;
}
#prev_next #next_title:before{
	left:10px;
	content: "";
	position: absolute;
    border-style: solid;
    border-width: 4px 14px 4px 0;
	border-color: transparent #FFFFFF;
	display: block;
	width: 0;
	z-index: 1;
	margin-top: -4px;
	left: -13px;
	top: 50%;
}
#prev_next #next_title:after {
	content: "";
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 15px 5px 0;
	border-color: transparent #ee5c1b;
	display: block;
	width: 0;
	z-index: 0;
	margin-top: -5px;
	left: -17px;
	top: 50%;
}
#prev_next #prev img, #prev_next #next img{
    margin:0 auto;
}
#prev_next #prev_no, #prev_next #next_no{
	width: 50%;
    padding:0 10px;
    display: table-cell;
}
#next_no #prev_next{
	border-left:1px solid #ffca9c;
}
#prev_no {
	border-left:1px solid #ffca9c;
}
#prev_next_home{
    margin:0 auto;
    background-color: #f48881;
    border: solid 9px #fff;
    width: 100px;
    height:100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
    box-shadow: 0 0 0 3px #f48881;
    -webkit-box-shadow: 0 0 0 3px #f48881;
    -moz-box-shadow: 0 0 0 3px #f48881;
	text-align:center;	
}
#prev_next_home:hover{
	background-color: rgba(244,136,129,0.7);
}
#prev_next_home i{
	color:#FFF;
	margin:10px auto ;
	font-size:60px;
}
#prev_next #prev, #prev_next #prev::before, #prev_next #prev::after,
#prev_next #next, #prev_next #next::before, #prev_next #next::after {	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
#prev_next #prev_title, #prev_next #next_title{
    padding:3px 10px;
}
#prev_next #prev_title {
	right: 10px;
}
#prev_next #prev_title:before {
	content: "";
	position: absolute;
	border-style: solid;
	border-width: 4px 0 4px 14px;
	border-color: transparent #FFFFFF;
	display: block;
	width: 0;
	z-index: 1;
	margin-top: -4px;
	right: -13px;
	top: 50%;
}
#prev_next #prev_title:after {
	content: "";
	position: absolute;
	border-style: solid;
	border-width: 5px 0 5px 15px;
	border-color: transparent #ee5c1b;
	display: block;
	width: 0;
	z-index: 0;
	margin-top: -5px;
	right: -17px;
	top: 50%;
}
#prev_next #prev img{
    float:right;
    margin-left: 10px;
	border: 2px solid #ffca9c;
}
#prev_next #next img{
    float:left;
    margin-right:10px;
	border: 2px solid #ffca9c;
}
/*--------------------------------------
  ページャー
--------------------------------------*/
.pager {
	text-align: center;
	font-size: 15px;
}
a.page-numbers,
.pager .current{
	border: 1px solid #c9c2b3;
	border-radius: 6px;
	padding: 8px 14px;
	margin: 0 2px;
	color: #272524;
}
.pager .current{
	background: #54504d;
	color: #fff;
}
.pager a:hover{
	background-color: #fff;
	text-decoration: none;
}
/*--------------------------------------
  サイド
--------------------------------------*/
#newtopics {
	font-size: 9pt;
}
#newtopics ul {
	margin: 0px;
	padding: 0px;
}
#newtopics ul li {
	list-style-type: none;
}
#newtopics ul li a {
	display: block; 
	text-decoration: none;
	border-bottom: 1px solid #ffca9c;
	padding: 10px;
	min-height: 92px;
	transition: all .2s ease;
	-webkit-transition: all .2s ease;
}
#newtopics ul li a:hover {
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
	-webkit-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	-moz-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
}
#newtopics ul li a img {
	border: 2px solid #ffca9c;
	margin: -2px;
	float: left; 
	margin-right: 5px;
}
#newtopics ul li a .new_data {
	display: block; 
	color: #ee5c1b;
	text-decoration: none;
	margin-top: -5px;
}
#newtopics ul li a .new_ttl {
	display: block;
	color: #272524;
	text-decoration: none;
	font-weight: bold;
	line-height: 1.4em;
	padding-left: 80px;
}

/*--------------------------------------
  アーカイブ
--------------------------------------*/
#archive_box {
	min-width: 500px;
	min-height: 174px;
	overflow: hidden;
	position: relative;
	margin: 10px auto;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background-color: #fff;
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,.4);
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.4);
	box-shadow: 1px 1px 5px rgba(0,0,0,.4);
}
#archive_box img a {
	position: absolute;
	width:100%;
    height:100%;
	transition: all .2s ease;
	-webkit-transition: all .2s ease;
}
#archive_box img a:hover {
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
	-webkit-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	-moz-box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	box-shadow: inset 0px 0px 16px 0px rgba(254,188,45,0.7);
	text-decoration: none;
}
#archive_box .thumbnail_box {
	float: left;
	width: 154px;
	height: 154px;
	margin: 10px;
	position: relative;
	border: 2px solid #ffca9c;
	background: #eee;
}
#archive_box .thumbnail_box img{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#archive_box .thumbnail_box a{
	display: block;
    width: 100%;
    height: 100%;
}
	
#archive_box .data_box{
	height: auto;
	position: relative;
	margin-left: 164px;
	margin-top: 10px;
	margin-right: 10px;
	overflow: auto;	/* for modern browser */
	zoom: 1;	/* for ie6 */
	line-height: 1.5;
}
#archive_box .data_box a:link{
	font-weight: bold;
}
#archive_box .data_box a:hover {
	text-decoration: none;
}
#archive_box .new_data{
	display: block; 
	color: #dd4f01;
}
#archive_box .new_ttl {
	display: block;
	color: #272524;
	font-weight: bold;
	line-height: 140%;
	margin: 10px 0;
}
#archive_box .new_ttl a {
	color: #272524;
}
#archive_box .new_ttl a:hover, #archive_box .new_ttl a:active {
	color: #dc9700;
}
/*--------------------------------------
  ■付きリスト
--------------------------------------*/
.square-list li:before {
	font-family: mada-web-ico;
    content: "s";
    color: #ff7f0f;
    margin-left: 1em;
}