﻿@charset "UTF-8";

/*****
 * top.css
 *
 *
 *
*****/
#top:after {
	content: "";
	display: block;
	clear: both;
}


/*****
 * top img.
*****/
#top div.top_img{
	width: 100%;
	height: auto;
	marign: 0px;
	padding: 0px;
	display: block;
	float: left;
	position: relative;
	transition: all 500ms;
	z-index: 500;
}

#top div.top_img.mini {
	width: 50%;
	transition: all 500ms;
}

#top div.top_img img {
	width: 100%;
	height: auto;
	display: block;
}

#top div.top_img div.img_command {
	width: 50px;
	height: 50px;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 2px;
	transition: all 500ms;
	opacity: 0;
	margin: 0px;
	padding: 0px;
	background-size: 40px 40px;
	background-position: 5px 5px;
	background-repeat: no-repeat;
	border-radius: 5px 5px;
}

#top div.top_img:hover div.img_command {
	opacity: 1;
	transition: all 500ms;
}

#top div.top_img:hover div.img_command:hover {
	background-color: rgba(0, 0, 0, 0.8);
	transition: all 500ms;
}

#top div.top_img:hover div.img_command {
	opacity: 1;
	transition: all 500ms;
}

#top div.top_img div.img_command a {
	display: block;
	width: 100%;
	height: 100%;
}

#top div.top_img div.img_scale {
	background-image: url("../../img/portal/misc/icon_scale.svgz");
	right: 104px;
}

#top div.top_img div.img_list {
	background-image: url("../../img/portal/misc/icon_illust.svgz");
	right: 52px;
}

#top div.top_img div.img_link {
	background-image: url("../../img/portal/misc/icon_link.svgz");
	right: 0px;
}



/*****
 * section.
*****/
#top section {
	position: relative;
	width: 50%;
	float: left;
}

#top section:before {
	content: "";
	display: block;
/*	padding-top: 43.75%;
	padding-top: 21.875%;*/
	padding-top: 56.25%;
}

#top section div.inner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#top section.red {
	background-color: #C9171E;
	color: #FFFFFF;
}

#top section.white {
	background-color: #FFFFFF;
	color: #C9171E;
}

#top section div.inner div.column_left {
	margin: 0px;
	padding: 0px;
	width: 45%;
	height: 100%;
	float: left;
	position: relative;
}

#top section div.inner div.column_right {
	margin: 0px;
	padding: 0px;
	width: 55%;
	display: table;
	float: left;
	height: 100%;
	position: relative;
}

#top section div.inner div.column_right div.column_right_info {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	padding: 5px;
}

#top section div.inner:after {
	content: "";
	display: block;
	clear: both;
}

#top section div.inner div.column_left img {
	width: 80%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#top section div.inner div.column_residue {
	width: 100%;
}

#top section div.inner div.column_residue img {
	height: 70%;
	width: auto;
}

#top section a {
	text-decoration: none;
}

#top section.red a {
	color: #FFFFFF;
	border-bottom: #FFFFFF 1px solid;
	transition: all 200ms;
}

#top section.red a:hover {
	border-bottom: transparent 1px solid;
	transition: all 200ms;
}

#top section.white a {
	color: #C9171E;
	border-bottom: #C9171E 1px solid;
	transition: all 200ms;
}

#top section.white a:hover {
	border-bottom: transparent 1px solid;
	transition: all 200ms;
}

#top section div.inner div.link_box a {
	display: block;
	margin: 2px;
	padding: 0px;
	border: none;
	float: left;
	width: calc(50% - 4px);
}

#top section div.inner div.link_box a:hover {
	border: none;
}

#top section div.inner div.link_box a img {
	display: block;
	width: 100%;
	height: auto;
}

#top section div.link_box:after {
	content: "";
	display: block;
	clear: both;
}

#top section div.link_box {
	width: 65%;
	max-width: 408px;
	margin: 0px auto;
}

#top section div.inner.twitter_wrapper {
	overflow: hidden;
}

#twitter {
	width: 100%;
	height: 100%;
}

#twitter-widget-0 {
	width: 600px !important;
	height: 100% !important;
	max-height: 100%;
}

.two_line_limited_block {
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
	word-break: break-all;
}

.two_line_limited_block a {
	line-height: 1.7;
}

#recent_live_info > tbody > tr > th {
	padding-right: 1em;
}

@media all and (max-width: 1050px) {
	#top section div.inner div.column_right div.column_right_info {
		font-size: 12px;
	}
	
/*	#top section div.link_box {
		width: 308px;
	}	
	
	#top div.link_box img {
		width: 150px;
		height: auto;
	}*/
}

	
@media all and (max-width: 900px) {
	#top section {
		position: relative;
		width: 100%;
		height: 200px;
		float: none;
		display: table;
		text-align: center;
	}

	#top section:before {
		content: none;
	}

	#top section div.inner {
		width: 100%;
		height: 100%;
    	position: relative;
    	display: table-cell;
    	vertical-align: middle;
	}
	
	#top section div.inner div.column_right div.column_right_info {
		margin: 0px auto;
		width: auto;
		display: inline-block;
		font-size: 14px;
	}
	
	#top div.news p {
		text-align: left;
	}
	
	#top section:nth-child(even) {
		background-color: #C9171E;
		color: #FFFFFF;
	}

	#top section:nth-child(odd) {
		background-color: #FFFFFF;
		color: #C9171E;
	}
	
	#top section:nth-child(even) a {
		color: #FFFFFF;
		border-bottom: #FFFFFF 1px solid;
		transition: all 200ms;
	}

	#top section:nth-child(even) a:hover {
		border-bottom: transparent 1px solid;
		transition: all 200ms;
	}

	#top section:nth-child(odd) a {
		color: #C9171E;
		border-bottom: #C9171E 1px solid;
		transition: all 200ms;
	}
	
	#top section:nth-child(odd) a:hover {
		border-bottom: transparent 1px solid;
		transition: all 200ms;
	}
	
	#top section div.inner div.column_left {
		display: none;
		margin: 0px;
		padding: 0px;
		width: 100%;
		height: auto;
		float: none;
		position: relative;
	}

	#top section div.inner div.column_right {
		margin: 0px;
		padding: 0px;
		width: 100%;
		display: block;
		float: none;
		height: auto;
		position: relative;
	}
	
	#top div.top_img.mini {
		width: 100%;
	}
	
	#twitter-widget-0 {
		height: 400px !important;
	}
	
	#top section.twitter {
		height: 400px;
	}
	
/*	#top section div.link_box {
		width: 408px;
		margin-bottom: 10px;
	}
	
	#top div.link_box img {
		width: 200px;
		height: auto;
	}*/
	
}

@media all and (max-width: 500px) {
	#top section div.link_box {
		width: 204px;
	}

	#top section div.inner div.link_box a {
		width: 100%;
	}
}
