@charset "UTF-8";

#streamtytle {
	position: relative;
	background: url("../img/backimg_1280x380.png");
	background-position: center;
	background-size: cover;
	z-index: 1;
}

#streamtytle::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.8) 20%, aqua, rgba(0,0,0,0.8) 80%);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.pagetytle-wrap {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 160px;
}

.pagetytle-wrap p {
	text-shadow: 0px 0px 1em black;
	font-family: serif;
	font-weight: bold;
	color: white;
}

.pagetytle-wrap p:last-child {
	font-size: 1.6em;
}

#stream_group {
	background: url("../img/backimg_2.png");
	background-position: center;
	background-size: cover;
}

.stream-group {
	display: flex;
	justify-content: space-between;
}

.stream-group:first-child {
	padding: 2em 2em 1em 2em;
}

.stream-group:last-child {
	padding: 0em 2em 2em 2em;
}

.stream-item {
	position: relative;
	border: solid 1px rgba(255,255,255,0.3);
	box-shadow: 4px 4px 3px rgba(80,80,80,0.3);
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	align-items: center;
	padding: 1em;
	width: calc(50% - 2.5em - 2px);
	/*aspect-ratio: 4/3;*/
	z-index: 1;
}

.stream-item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.9);
	backdrop-filter: blur(3px);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.stream-item h2 {
	background: linear-gradient(to bottom, transparent 70%, orange 20%);
	width: calc(100% - 6em);
	text-align: center;
	color: rgb(10,10,10);
}

.stream-item h2 span {
	font-size: 1.6em;
	font-style: italic;
	color: red;
}

.stream-item h3 {
	background-color: rgb(0,90,120);
	border-radius: 2em;
	margin: 1em 0 1em 0;
	padding: 0.5em 1em 0.5em 1em;
	width: calc(100% - 8em);
	text-shadow: 0px 0px 1.0em aqua;
	text-align: center;
	color: white;
}

.stream-item p {
	max-width: 320px;
	height: 4em;
	text-align: justify;
}

.stream-item img {
	margin-top: 2em;
	height: 160px;
	object-fit: contain;
}

.stream-item iframe {
	margin-top: 2em;
	aspect-ratio: 4/3;
	height: 160px;
}

.news-wrap {
	background-color: rgb(240,240,240);
	border: solid 1px rgba(200,200,200,0.5);
	box-shadow: 6px 6px 2px rgba(80,80,80,0.2);
	padding: 2em 3em 4em 3em;
	width: calc(100% - 6em - 2px);
}

.news-text h4 {
	text-align: right;
}

.news-text h2 {
	margin: 1em 0 2em 0;
	text-align: center;
}

.news-text {
	text-align: justify;
}



/*------------------------------------------------*/
@media screen and (max-width: 768px) {

#pagetytle {
	font-size: 0.7rem;
}

.pagetytle-wrap {
	height: 120px;
}

.pagetytle-wrap p:first-child {
	font-size: 0.7rem;
}

.pagetytle-wrap p:last-child {
	font-size: 0.9rem;
}

.stream-group {
	display: block;
	font-size: 0.7rem;
}

.stream-group:first-child {
	padding: 1em;
}

.stream-group:last-child {
	padding: 0em 1em 1em 1em;
}

.stream-item {
	width: calc(100% - 2em);
}

.stream-item:not(:last-child) {
	margin-bottom: 1em;
}

.stream-item p {
	max-width: 240px;
}

.stream-item img {
	height: 120px;
}

.stream-item iframe {
	margin-top: 2em;
	width: 240px;
	height: 180px;
}

.news-wrap {
	box-shadow: 6px 6px 2px rgba(80,80,80,0.2);
	margin-left: 1em;
	padding: 2em 1em 2em 1em;
	width: calc(100% - 4em - 2px);
	font-size: 0.7rem;
}

.news-text h4 {
	text-align: center;
	font-size: 0.65rem;
}

.news-text h2 {
	font-size: 0.8rem;
}


}
/*------------------------------------------------*/


