

#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%;
}


/*//////////////////////////////////////////////////////////////

  ナマイキVOICE
	
//////////////////////////////////////////////////////////////*/

.main-contents {
	padding:10px;
	box-sizing: border-box;
	background-attachment: fixed;
	background-position: center top;
	background-image: url(/tv/namaiki/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 {
	margin: 20px 0;
	background: url(/tv/namaiki/img/bg_film_top.png) repeat-x left top, url(/tv/namaiki/img/bg_film_bottom.png) repeat-x left bottom;
	background-color: rgba(255,255,255,0.8);
}
.box-film-next-inner {
	padding: 30px 20px 35px 20px;
	font-size: 12px;
	box-sizing: border-box;
	border-left: 12px solid #9C9C9C;
	border-right: 12px solid #9C9C9C;
	box-sizing: border-box;
	background: url(/tv/namaiki/img/bg_seal01.png) left top no-repeat, url(/tv/namaiki/img/bg_seal02.png) right top no-repeat, url(/tv/namaiki/img/bg_seal03.png) left bottom no-repeat, url(/tv/namaiki/img/bg_seal04.png) right bottom no-repeat;
}
.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 {
	margin: 20px 0;
	background: url(/tv/namaiki/img/bg_film_top.png) repeat-x left top, url(/tv/namaiki/img/bg_film_bottom.png) repeat-x left bottom;
	background-color: rgba(255,255,255,0.8);
}
.box-film-category-inner {
	padding: 35px 5px 45px 5px;
	font-size: 12px;
	border-left: 12px solid #9C9C9C;
	border-right: 12px solid #9C9C9C;
	box-sizing: border-box;
	background: url(/tv/namaiki/img/bg_seal01.png) left top no-repeat, url(/tv/namaiki/img/bg_seal02.png) right top no-repeat, url(/tv/namaiki/img/bg_seal03.png) left bottom no-repeat, url(/tv/namaiki/img/bg_seal04.png) right bottom no-repeat;
}


.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;
}



/* ブログ記事
------------------------------- */
#blog .entryContent {
	margin-bottom: 20px;
	padding-bottom: 5px;
	border-bottom: 5px dotted #9C9C9C;
}
#blog .entryContent  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(253,175,251,0.9);
}
#blog .entryContent h5 {
	margin: 10px 0;
	font-size: 14px;
	font-weight: bold;
	color: #f546e7;
}
#blog .entryContent p {
	margin: 10px 0;
}
#blog .entryContent .block img {
	max-width: 100%;
	height: auto;
}
#blog .entryContent .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 {
	margin: 10px 0;
	background: url(/tv/namaiki/img/bg_film_left.png) left top repeat-y,url(/tv/namaiki/img/bg_film_right.png) right top repeat-y;
	background-color:rgba(255,255,255,0.8); 
}
.box-film-inner {
	width: 100%;
	padding: 10px 30px;
	box-sizing: border-box;
	position: relative;
	border-top: 12px solid #9C9C9C;
	border-bottom: 12px solid #9C9C9C;
	background:;
}
.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 {
	background: url(/tv/namaiki/img/bg_seal06.png) center top no-repeat;
}
.style h3 {
	background: url(/tv/namaiki/img/bg_seal07.png) center top no-repeat;
}
.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;
}



/********************************************************************************************* 

 スマホレイアウト 

*********************************************************************************************/ 
@media only screen and (max-width: 640px) {
.main-contents {
	background-size: contain;
}

.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;
}


.mybox{
 border: 1px solid #f02b6c;/* 線の太さ・種類・色 */
 border-radius: 5px;
 padding: 50px 10px 10px 10px;	/* 内側の余白 上・右・左・下 */
 position: relative;
 z-index: 0;
}
.mybox:before{
 background-color: #f02b6c;	/* タイトル部分背景色 */
 border-radius: 5px 5px 0px 0px;
 color: #fff;	/* タイトル部分文字色 */
 font-size: 135%;
 font-weight: bold; 
 content: '2020年度ナマ・イキVOICE倶楽部員募集！';
 height: 50px;	/* タイトル部分高さ */
 padding: 10px 10px;
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 z-index: 2;
}
.mybox:after {
 border-style: solid;
 border-width: 10px 10px 0 10px;
 border-color: #f02b6c transparent transparent transparent;	/* 吹き出し三角部分の色 */
 content: "";
 position: absolute;
 top: 35px;
 left: 10px;
 width: 0px;
 height: 0px;
 z-index: 1;
}


}


/********************************************************************************************* 

 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: 32%;
	float: left;
}
}


.maste-box {
  position: relative;
  background-color: #fff;
  background: repeating-linear-gradient(-45deg, #edf5f4, #edf5f4 10px, #f6faf9 0, #f6faf9 20px);
  padding: 0.2em;
}
.maste-tape{
  position: absolute;
  top: -0.75em;
  background-color: rgba(100,100,100,.3);
  border-left:4px solid #8BC6CA;
  padding: 0.25em 2em;
  color: #454545;
  transform: rotate(-3deg);
}
.maste-box p {
  color: #454545;
  padding: 10px 7px 7px 7px;
}


.midashi {
  /*線の種類（実線） 太さ 色*/
  border-bottom: solid 2px black;
}




.midashi2 {
  /*線の種類（二重線）太さ 色*/
  border-bottom: double 3px #fa57a8;
}


.midashi3 {
  color: #505050;/*文字色*/
  font-size: 135%;
  padding: 0.5em;/*文字周りの余白*/
  display: inline-block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #fffb85;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

.midashi3 :before {
  content: '●';
  color: white;
  margin-right: 8px;
}

@media print, screen and (min-width: 641px) {
.mybox{
 border: 1px solid #f02b6c;/* 線の太さ・種類・色 */
 border-radius: 5px;
 padding: 40px 10px 10px 10px;	/* 内側の余白 上・右・左・下 */
 position: relative;
 z-index: 0;
}
.mybox:before{
 background-color: #f02b6c;	/* タイトル部分背景色 */
 border-radius: 5px 5px 0px 0px;
 color: #fff;	/* タイトル部分文字色 */
 font-size: 135%;
 font-weight: bold; 
 content: '2020年度ナマ・イキVOICE倶楽部員募集！';
 height: 25px;	/* タイトル部分高さ */
 padding: 10px 10px;
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 z-index: 2;
}
.mybox:after {
 border-style: solid;
 border-width: 10px 10px 0 10px;
 border-color: #f02b6c transparent transparent transparent;	/* 吹き出し三角部分の色 */
 content: "";
 position: absolute;
 top: 35px;
 left: 10px;
 width: 0px;
 height: 0px;
 z-index: 1;
}
}