

#top.resizeimage {
   max-width: 400px; /* 最大幅 */
   min-width: 100px; /* 最小幅 */
}
#top.resizeimage img { width: 100%; }

#pre.resizeimage {
   max-width: 250px; /* 最大幅 */
   min-width: 100px; /* 最小幅 */
}
#pre.resizeimage img { width: 100%; }





/* Youtube
------------------------------- */
.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
#youtube p {
	margin-top: 10px;
}

.youtube-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.youtube-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

table{
width:100%;
table-layout: fixed;　　/*追加する*/
}



/*//////////////////////////////////////////////////////////////

  ナマイキVOICE
	
//////////////////////////////////////////////////////////////*/

.main-contents {
	padding:10px;
	box-sizing: border-box;
	background-attachment: fixed;
	background-position: center top;
	background-image: url(/tv/toukou/img/bg_contents.png);
}

.main-contents a {
	color: #3e8efb;
	text-decoration: underline;
}


/* ------------------------------------------
  左コンテンツ
------------------------------------------ */

/* 番組タイトル */
.box-mttl {
	position: relative;
}
.box-mttl dl {
	padding: 10px;
	line-height: 1.5;
	border-radius: 10px;
	border: 3px solid #FFF;
	background: rgba(255,153,204,0.6);
}
.box-mttl dt {
	font-weight: bold;
	color: #FE1B00;
	text-shadow: 1px 1px 1px #FFF;
}
.box-mttl dd {
	font-weight: bold;
	color: #612E0A;
	text-shadow: 1px 1px 1px #FFF;
}
.txt-twitter {
	padding: 5px 10px;
	display: inline-block;
	color: #6599FF;
	font-size: 16px;
	font-weight: bold;
	border-radius: 20px;
	background: #FFF;
}
.txt-twitter .icon:before {
	margin: -4px 3px 0 0;
	display: inline-block;
	font-size: 18px;
	font-weight: normal;
	vertical-align: middle;
}


/* 予告 */
.box-film-next {
	width: 570px;
	border: 3px solid #129b93;
	border-radius: 5px;
	margin: 0px 0px 20px 20px;
	padding: 10px 20px 20px 20px ;
}

.pht-next {
	margin-bottom: 10px;
}
.sttl-next {
	margin-bottom: 5px;
	color: #f546e7;
	font-weight: bold;
}
.caption {
	font-weight: bold;
	font-size: 15px;
}

.list-next dt {
	margin-top: 5px;
}
.list-next .head {
	color: #f546e7;
}
.list-next dd {
	margin-left: 1em;
}


/* プレゼント */
.box-present {
	width: 100%;
	text-align: center;
}
.btn-present a:hover img {
	opacity: 1 !important;
	background: none;
}


/* バナー */
.bnr-tv {
	margin-top: 20px;
}





/* カテゴリ・アーカイブBOX
------------------------------- */
.box-film-category {
	width: 570px;
	border: 3px solid #9c9c9c;
	border-radius: 5px;
	margin: 0px 0px 20px 20px;
	padding: 10px 20px 20px 20px ;
}

.box-right-category {
	width: 210px;
	border: 3px solid #9c9c9c;
	border-radius: 5px;
	margin: 0px 0px 20px 0px;
	padding: 10px 20px 20px 20px ;
}


.category {
}

.category ul {
	width: 100%;
}
.category li {
}
.category a {
	color: #000000;
	border-bottom: 1px solid #EEEEEE;
	text-decoration: none;
	padding: 5px 3px;
	display: block;
}
.category a:before {
	color: #FDB6FB !important;
	background: none !important;
}
.category a:hover {
	text-decoration: none !important;
	background: #DCDCDC;
}
.archive form {
	padding: 10px 20px;
	background: #FFF;
}



/* ブログ記事
------------------------------- */
.toukoublog {
	margin-bottom: 20px;
	padding-bottom: 5px;
	border-bottom: 5px dotted #9C9C9C;
}
.toukoublog h4 {
	margin: 10px 0;
	padding: 3px 10px;
	color:#FFF;
	font-size: 18px;
	font-weight: bold;
	/*border: 3px solid #FFF;
	border-radius: 5px;
	background: #FDB9F9;*/
	box-shadow: 0px 0px 3px #DDD;
	border-radius: 5px;
	border: 3px solid #FFF;
	background: rgba(18,155,147,0.5);
}

.toukoublog a {
	color:#FFF;
}

.toukoublog h5 {
	margin: 10px 0;
	font-size: 14px;
	font-weight: bold;
}
.toukoublog p {
	margin: 10px 0;

}
.toukoublog img {
	max-width: 100%;
	height: auto;
}
.toukoublog .data {
	margin: 10px 0;
	color: #666;
	text-align: right;
}

/* ページ送り */
.pagenation {
	margin: 5px 0 10px 0;
	font-size: 10px;
	text-align: center;
}
.pagenation ul {
	display: inline;
}
.pagenation li {
	display: inline;
}
.pagenation li+li:before {
	content: "|";
	color: #3e8efb;
	padding: 0 8px 0 5px;
}
.pagenation li a {
	color: #3e8efb;
}
.pagenation .icon:before {
	padding: 0 3px;
	font-size: 11px;
	color: #3e8efb;
}


/* ------------------------------------------
  右コンテンツ-
----------------------------------------- */

.box-film {
	width: 210px;
	border: 3px solid #9c9c9c;
	border-radius: 5px;
	margin: 0px 0px 20px 0px;
	padding: 20px 20px 20px 20px ;
}



.box-film-inner h3 {
	width: 100%;
	height: 40px;
	position: absolute;
	left: 0;
	top: -20px;
	z-index: 10;
}
.box-film-inner h3 img {
	margin: 30px 0 0 30px;
}
.box-film-inner h3 span {
	display: none;
}
.facebook h3 {
	background: url(/tv/namaiki/img/bg_seal02.png) center top no-repeat;
}
.information h3 {
	background: url(/tv/namaiki/img/bg_seal05.png) center top no-repeat;
}
.library h3 {
}
.form h3 {
}
.box-film-inner h4 {
	margin: 30px 0 10px 0;
	font-weight: bold;
	color: #f546e7;
}
.box-film-inner .box-photo {
	margin-bottom: 10px;
	display: inline-block;
	float: left;
}
.box-film-inner .box-photo img {
	width: 90px;
	margin-right: 10px;
}
.box-film-inner p {
	font-size: 11px;
}
.box-film-inner .list-library {
	margin-top: 30px;
	font-size: 12px;
}

.btn-link {
	margin-top: 5px;
	text-align: center;
}
.btn-link a {
	display: inline-block;
	padding: 0 15px;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
	border-radius: 15px;
	background: #3e8efb;
}

/* ------------------------------------------
  メーカ一覧
------------------------------------------ */
.list-maker {
	margin: 0px 0px 10px 20px;

}
.list-maker li {
	float: left;
	margin: 10px 0px 0px 10px;
	padding: 5px;
	box-sizing: border-box;
	box-shadow: 0px 0px 3px #ccc;
	border: 2px solid #129b93;
	border-radius: 5px;
}

.index .s-index,
.pet .s-pet,
.egao .s-egao,
.sora .s-sora {
	border: 2px solid #129b93;
}









/********************************************************************************************* 

 スマホレイアウト 

*********************************************************************************************/ 
@media only screen and (max-width: 640px) {

.main-contents {
	background-size: contain;
}

.box-film-next {
	width: 85% ;
	border: 2px solid #129b93;
	border-radius: 5px;
	margin: 0px 0px 0px 5px ;
	padding: 10px 20px 20px 20px;
}

.box-film-category {
	width: 85% ;
	border: 2px solid #9c9c9c;
	border-radius: 5px;
	margin: 20px 0px 0px 5px ;
	padding: 10px 20px 20px 20px;
}

.box-right-category {
	width: 85% ;
	border: 2px solid #9c9c9c;
	border-radius: 5px;
	margin: 20px 0px 0px 5px ;
	padding: 10px 20px 20px 20px;
}


.box-film {
	width: 85% ;
	border: 2px solid #9c9c9c;
	border-radius: 5px;
	margin: 20px 0px 0px 5px ;
	padding: 10px 20px 20px 20px;
}



.facebook .box-film-inner {
	padding: 10px 0;
}
.fb-like-box,
.fb-like-box span,
.fb-like-box iframe {
	margin-left: 5px !important;
	width: 90% !important;
	height: 350px !important;
	box-sizing: border-box !important;
	overflow: hidden;
}
.bnr-tv {
	margin: 10px 10px 0 10px;
}
.bnr-tv img {
	width: 100%;
}
.category a {
	width: 48%;
	float: left;
}

.list-maker {
	margin: 0px 0px 10px 0px;

}


.list-maker li {
	width: 22%;
}
.list-maker img {
	width: 100%;
	margin: 3px 0 0 3px;
}


/*android*/
.android .list-maker img {
	width: 80px;
	margin: 3px 0 0 -10px;
}

/* ULIZA対応 */
.box-movie video {
	width:100% !important;
	height: 176px !important;
	background: #000;
}
.box-movie div {
	width:100% !important;
	min-width: 250px !important;
	height: auto !important;
}
.box-movie img {
	width:100% !important;
	height: auto !important;
	display: inline !important;
}
.box-movie a:last-child {
	width:100% !important;
	top: 0 !important;
	left: 0 !important;
}
.box-movie a:last-child img {
	width:50% !important;
	position: absolute;
	top: 5px;
	left: 25%;
}



}










/********************************************************************************************* 

 PCレイアウト 

*********************************************************************************************/  
@media print, screen and (min-width: 641px) {

.left-contents {
	width: 650px;
	float: left;
}
.box-mttl dl {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 10px;
	width: 270px;
}
.txt-twitter {
	position: absolute;
	left: 5px;
	top: 5px;
	z-index: 10;
}
.txt-twitter:before,
.txt-twitter:after {
	left: 15px;
	content: '';
	position: absolute;
	border-right: 15px solid transparent;
}
.txt-twitter:before {
	bottom: -8px;
	border-top: 10px solid #FFF;
}

.pht-next {
	width: 230px;
	display: table-cell;
}
.pht-next img {
	width: 210px;
}
.txt-next {
	display: table-cell;
}

.btn-present {
	width: 280px;
	float: left;
}
.pht-present {
	width: 370px;
	float: right;
}

.bnr-tv img {
	width: 310px;
}

.right-contents {
	width: 286px;
	float: right;
}
.category a {
	width: 100%;
	float: left;
}

.list-maker li {
	width: 145px;
}
.list-maker li img {
	width: 130px;
}
.list-maker li:nth-child(6n + 1) {
	margin-left: 0;
}


.box-wp li {
	width: 33%;
	float: left;
}
.box-wp li:nth-child(3n + 1) {
	width: 34%;
}
.pagenation {
	font-size: 11px;
}



}