/* Taglive tile css */
@charset "UTF-8";
/* TagLiveの表示箇所全体 */
.taglive_contents_tile {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 1.0rem;
	margin: 0 auto 30px !important;
	width: 85vw!important;
	max-width: 900px!important;
}
.taglive_contents_tile * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* リンク */
.taglive_contents_tile a {
	color: #1C1C1C;
	text-decoration: none;
	border: none;
}
.taglive_contents_tile a:hover {
	color: #07519a;
}
/* 画像全般 */
.taglive_contents_tile img {
	border: none;
}
/* 右上のインフォマーク */
.taglive_img_info {
	margin: 0 auto;
	width: 85vw;
	max-width: 900px;
	text-align: right;
	padding-bottom: 5px;
}
.taglive_img_info a,
.taglive_img_info img {
	border: none;
}
.taglive_img_info img {
	width: 24px;
	height: 24px;
}
.taglive_img_info a:hover img {
	opacity: 0.7;
}
/* 投稿ごとの表示箇所全体 */
.taglive_contents_tile .post {
	width: 33%;
}
.taglive_contents_tile .taglive_entry_text {
  padding: 5%;
}
.taglive_contents_tile .taglive_entry_content{
	background: #FFFFFF;
	margin-right: 3%;
	margin-bottom: 10px;
	margin-left: 3%;
	border-radius: 3px;
	border:solid 1px #A4A4A4;
	overflow: hidden;
}
/* ユーザーIDとTwitter・Instagramアイコンの表示箇所 */
.taglive_contents_tile .twitter_profile,
.taglive_contents_tile .inst_profile {
	padding: 8px 0 0;
}
/* ユーザーID */
.taglive_contents_tile .twitter_profile .profile_txt,
.taglive_contents_tile .inst_profile .profile_txt {
	display: inline-block;
	width: calc(100% - 26px);
	margin: 0 10px 0 0;
	overflow-wrap: break-word;
	word-break: break-all;
	vertical-align: middle;
}
.taglive_contents_tile .twitter_profile .profile_txt a,
.taglive_contents_tile .inst_profile .profile_txt a {
	text-decoration: none;
	color:#1C1C1C;
	font-size: 90%;
	font-weight: bold;
	line-height: 100%;
}
.taglive_contents_tile .twitter_profile .profile_txt a:hover,
.taglive_contents_tile .inst_profile .profile_txt a:hover {
	color: #07519a;
}
/* Twitterアイコン */
.taglive_contents_tile .twitter_profile a.twitter_icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background:url(https://taglive.jp/appli/images/icon_twitter.png) right 0 no-repeat;
	background-size: cover;
	vertical-align: middle;
}
/* Instagramアイコン */
.taglive_contents_tile .inst_profile a.inst_icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background:url(https://taglive.jp/appli/images/icon_instagram.png) right 0 no-repeat;
	background-size: cover;
	vertical-align: middle;
}
.taglive_contents_tile .twitter_profile a.twitter_icon:hover,
.taglive_contents_tile .inst_profile a.inst_icon:hover {
	opacity: 0.7;
}
/* 投稿本文（通常は非表示） */
.taglive_contents_tile .twitter_message,
.taglive_contents_tile .inst_message {
	display: none;
}
/* 投稿画像 */
.taglive_contents_tile .inst_photo,
.taglive_contents_tile .twitter_photo {
	position: relative;
	width: 100%;
	height: calc(85vw/3 - 60px);
	max-height: 260px;
	text-align: center;
	layout-grid-line: 260px; /* IE7以下 */
	background-color: #f6f4ec;
}
.taglive_contents_tile .twitter_photo img,
.taglive_contents_tile .inst_photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition-duration: 0.3s;
}
.taglive_contents_tile .twitter_photo:hover img,
.taglive_contents_tile .inst_photo:hover img {
	opacity: 0.7;
	transition-duration: 0.3s;
}
/* 投稿動画 */
.taglive_contents_tile .twitter_video,
.taglive_contents_tile .inst_video {
	position: relative;
	width: 100%;
}
/* Instagram動画の埋め込み用 */
.taglive_contents_tile .inst_video {
	overflow: hidden;
	margin-bottom: -20px;
}
.taglive_contents_tile .inst_video_view {
	overflow: hidden;
	margin:0;
	padding:0;
}
.taglive_contents_tile .inst_video_view iframe {
	min-width: 0px!important;
	margin: -64px auto -162px auto!important;
	border: none!important;
}
/* 投稿日時＆投稿URLへのリンク（通常は非表示） */
.taglive_contents_tile .twitter_link,
.taglive_contents_tile .inst_link {
	display: none;
}
/* 「MORE（さらに読み込む）」ボタン */
.taglive_next_button_tile {
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	width: 200px;
	margin:0 auto 60px;
	padding: 10px;
	border: 3px solid #000000;
	border-radius: 3px;
	background: #ffffff;
	text-align: center;
	color: #000000;
	font-weight: bold;
	font-size: 18px;
	cursor: pointer;
	transition-duration: 0.3s;
	clear: both;
}
.taglive_next_button_tile:hover {
	opacity: 0.6;
	transition-duration: 0.3s;
}

/*--------------------------------------------
tablet
--------------------------------------------*/
@media only screen and (min-width: 501px) and (max-width: 900px) {
	/* 投稿ごとの表示箇所全体 */
	.taglive_contents_tile .post {
		width: 50%;
	}
	/* 投稿画像 */
	.taglive_contents_tile .inst_photo,
	.taglive_contents_tile .twitter_photo {
		height: calc(85vw/2 - 60px);
	}
}

/*--------------------------------------------
smart_phone
--------------------------------------------*/
@media only screen and (max-width: 600px) {
.taglive_contents_tile {
	width: 100%!important;
	margin-bottom: 10px !important;
}
.taglive_contents_tile .taglive_entry_content {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px !important;
	max-width: 300px;
}
}
@media only screen and (max-width: 500px) {
	/* 投稿ごとの表示箇所全体 */
	.taglive_contents_tile .post {
		width: 100%;
	}
	/* 投稿画像 */
	.taglive_contents_tile .inst_photo,
	.taglive_contents_tile .twitter_photo {
		height: 250px;
	}
}



/*--------------------------------------------
モーダルウィンドウ用
--------------------------------------------*/
/* レイアウト回り込み解除用 */
.taglive_contents_tile .clear {
	clear: both;
}
/* モーダルウィンドウの背景用 */
.taglive_lock {
		overflow:hidden;
}
.taglive_modal_overlay {
	z-index:11;
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:120%;
	background-color:rgba(0,0,0,0.6);
}
/* モーダルウィンドウ表示箇所全体 */
.taglive_contents_tile .modal_wrap {
	z-index:12;
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
	padding-right:  constant(safe-area-inset-right);
	padding-left:  constant(safe-area-inset-left);
	padding-right:  env(safe-area-inset-right);
	padding-left:  env(safe-area-inset-left);
	overflow:auto;
}
.taglive_contents_tile .modal_content {
	display:none;
	position: fixed;
  left: 50%;
  top: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
	width: 100%;
	background:#fff;
}
/* モーダルウィンドウを開くリンク */
.taglive_contents_tile .modal_open {
	color:#00f;
	text-decoration:underline;
}
.taglive_contents_tile .modal_open:hover {
	cursor:pointer;
	color:#f00;
}
.taglive_contents_tile .inst_photo .modal_open {
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* モーダルウィンドウを開くリンク（動画の場合） */
.taglive_contents_tile .twitter_video .modal_open:after {
	content: url(http://taglive.jp/appli/images/icon_movie.png);
	display:block;
	position:absolute;
	top: 50%;
	left: 50%;
	margin: -16px 0 0 -16px;
}
/* モーダルウィンドウを閉じるリンク（×ボタン） */
.taglive_contents_tile .modal_close {
	display: inherit;
	position: absolute;
	top: -40px;
	right: 0;
	width: 32px;
	height: 32px;
	color:#00f;
	text-decoration:underline;
	background-image: url(http://taglive.jp/appli/images/icon_close_wh.png);
	background-size: contain;
	z-index: 20;
}
.taglive_contents_tile .modal_close:hover {
	cursor:pointer;
	color:#f00;
}
/* モーダルウィンドウを前後の投稿に移動するリンク（矢印ボタン） */
.taglive_contents_tile .modal_change {
	cursor: pointer;
	display: block;
	z-index: 11;
	position: absolute;
	top: calc(50% - 20px);
	width: 40px;
	height: 40px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-sizing: content-box;
}
.taglive_contents_tile .modal_change.prev {
	left: -35px;
	background-image: url(http://taglive.jp/appli/images/icon_prev_wh.png);
}
.taglive_contents_tile .modal_change.next {
	right: -35px;
	background-image: url(http://taglive.jp/appli/images/icon_next_wh.png);
}
/* 投稿画像 */
.taglive_contents_tile .modal_photo {
	position: relative;
	margin: 0 auto;
	text-align: center;
}
.taglive_contents_tile .modal_photo img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	height: auto;
	margin: auto;
}
/* 投稿動画 */
.taglive_contents_tile .modal_video {
	margin: 0 auto;
	overflow: auto;
}
.taglive_contents_tile .modal_video::-webkit-scrollbar {
	width: 10px;
}
.taglive_contents_tile .modal_video::-webkit-scrollbar-thumb {
	background: #dbdbdb;
	border-radius: 5px;
}
.taglive_contents_tile .modal_video::-webkit-scrollbar-track-piece {
	background: #fff;
}
.taglive_contents_tile .twitter_video,
.taglive_contents_tile	.inst_video {
	position: relative;
}
/* Instagram動画の埋め込み用 */
.taglive_contents_tile .modal_video .inst_video_view {
	overflow-y: auto;
	overflow-x: hidden;
	margin: 10px;
}
.taglive_contents_tile .modal_video .inst_video_view iframe {
	/* margin: -64px auto -152px auto!important; */
	margin: 0!important;
	min-width: 200px!important;
	border: none!important;
}
/* Twitter動画の埋め込み用 */
.taglive_contents_tile .modal_video .twitter_video_view {
	overflow-y: auto;
	overflow-x: hidden!important;
}
.taglive_contents_tile .modal_video .twitter_video_view .twitter-tweet {
	margin: 10px!important;
	max-width: 100%!important;
	display: block!important;
}
.taglive_contents_tile .modal_video .twitter_video_view iframe {
	margin: 0!important;
	width: 100%!important;
	min-width: 200px!important;
	border: none!important;
}
/* 文字情報などの表示箇所（本文、ユーザー情報、日付など） */
.taglive_contents_tile .modal_info {
	padding: 16px;
	font-size: 90%;
}
/* ユーザーのプロフィール（ID）表示箇所 */
.taglive_contents_tile .modal_profile {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: solid 1px #eee;
}
/* ユーザーIDおよびユーザーページへのリンク */
.taglive_contents_tile .modal_profile a.modal_user {
	font-weight: bold;
	color: #1C1C1C;
	text-decoration: none;
}
.taglive_contents_tile .modal_profile a:hover {
	color: #07519a;
}
/* 投稿本文 */
.taglive_contents_tile .modal_message {
	overflow-y: auto;
	width: 100%;
	margin: 10px auto;
	padding: 0;
	line-height: 170%;
	font-feature-settings : "palt";
	overflow-wrap: break-word;
	word-break: break-all;
}
.taglive_contents_tile .modal_message::-webkit-scrollbar {
	width: 10px;
}
.taglive_contents_tile .modal_message::-webkit-scrollbar-thumb {
	background: #dbdbdb;
	border-radius: 5px;
}
.taglive_contents_tile .modal_message::-webkit-scrollbar-track-piece {
	background: #fff;
}
/* 投稿本文：ハッシュタグ装飾 */
.taglive_contents_tile .modal_message .tag {
	color: #007BC6;
}
/* 投稿本文：リンク装飾 */
.taglive_contents_tile .modal_message a {
	color: #1C1C1C;
	text-decoration: underline;
}
.taglive_contents_tile .modal_message a:hover {
	text-decoration: none;
}
/* 投稿の付加情報（日付・サービス）表示箇所 */
.taglive_contents_tile .modal_meta {
	padding: 10px 0;
	text-align: right;
	font-size: 90%;
	border-top: solid 1px #eee;
}
/* 投稿日時 */
.taglive_contents_tile .modal_meta a {
	display: inline-block;
	color: #1C1C1C;
	text-decoration: none;
}
.taglive_contents_tile .modal_meta a:hover {
	color: #07519a;
}
/* Twitterアイコン */
.taglive_contents_tile .modal_meta a.twitter_icon {
	width: 16px;
	height: 16px;
	margin-left: 10px;
	vertical-align: text-bottom;
	background:url(https://taglive.jp/appli/images/icon_twitter.png) right bottom no-repeat;
	background-size: cover;
}
/* Instagramアイコン */
.taglive_contents_tile .modal_meta a.inst_icon {
	width: 16px;
	height: 16px;
	margin-left: 10px;
	vertical-align: text-bottom;
	background:url(https://taglive.jp/appli/images/icon_instagram.png) right bottom no-repeat;
	background-size: cover;
}
.taglive_contents_tile .modal_meta a.twitter_icon:hover,
.taglive_contents_tile .modal_meta a.inst_icon:hover {
	opacity: 0.7;
}



/*--------------------------------------------
pc & tablet
--------------------------------------------*/
@media (min-width: 501px) {

	/* モーダルウィンドウ表示箇所全体 */
	.taglive_contents_tile .modal_content {
		width: 85%;
		max-width: 900px;
		height: calc(85vw*0.65);
		max-height: 580px;
	}
	/* 投稿画像 */
	.taglive_contents_tile .modal_photo {
		float: left;
		width: 65%;
		height: 100%;
	}
	.taglive_contents_tile .modal_photo img {
		max-width: 100%;
		max-height: 100%;
	}
	/* 投稿動画 */
	.taglive_contents_tile .modal_video {
		float: left;
		width: 65%;
		height: 100%;
	}
	/* 文字情報などの表示箇所（本文、ユーザー情報、日付など） */
	.taglive_contents_tile .modal_info {
		float: right;
		width: 35%;
		height: 100%;
	}
	/* 投稿本文 */
	.taglive_contents_tile .modal_message {
		height: calc(100% - 83px);
	}
}

/*--------------------------------------------
smart_phone
--------------------------------------------*/
@media only screen and (max-width: 500px) {

	/* モーダルウィンドウ表示箇所全体 */
	.taglive_contents_tile .modal_content {
		width: 80%;
		max-height: 85vh;
	}
	/* 投稿画像 */
	.taglive_contents_tile .modal_photo {
		max-height: calc(85vh*0.65);
	}
	.taglive_contents_tile .modal_photo::before {
		content: "";
		display: block;
		padding-top: 100%;
	}
	.taglive_contents_tile .modal_photo img {
		max-width: 100%;
		max-height: 100%;
	}
	/* 投稿動画 */
	.taglive_contents_tile .modal_video {
		max-height: calc(85vh*0.65);
	}
	/* 文字情報などの表示箇所（本文、ユーザー情報、日付など） */
	.taglive_contents_tile .modal_info {
		max-height: calc(85vh*0.35);
	}
	/* 投稿本文 */
	.taglive_contents_tile .modal_message {
		max-height: calc(85vh*0.35 - 113px);
	}
	/* 投稿の付加情報（日付・サービス）表示箇所 */
	.taglive_contents_tile .modal_meta {
		padding: 10px 0 0 0;
	}

}
