@charset "UTF-8";

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

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

.pagetytle-wrap span {
	position: relative;
	box-shadow: 4px 4px 2px rgba(10,10,10,0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0.2em 0 0.2em;
	width: 2.2em;
	aspect-ratio: 1;
	font-size: 1.4em;
	font-family: serif;
	font-weight: bold;
	text-shadow: 1px 1px 0px gray;
	color: white;
	z-index: 1;
}

.pagetytle-wrap span::before {
	content: '';
	position: absolute;
	background-color: rgba(0,0,0,0.4);
	border: solid 1px rgba(250,250,250,0.5);
	width: 100%;
	height: 100%;
	z-index: -1;
}

.pagetytle-wrap span:nth-child(1)::before { animation: tytle_txt 12s linear 0.0s infinite; }
.pagetytle-wrap span:nth-child(2)::before { animation: tytle_txt 12s linear 0.1s infinite; }
.pagetytle-wrap span:nth-child(3)::before { animation: tytle_txt 12s linear 0.2s infinite; }
.pagetytle-wrap span:nth-child(4)::before { animation: tytle_txt 12s linear 0.3s infinite; }
.pagetytle-wrap span:nth-child(5)::before { animation: tytle_txt 12s linear 0.4s infinite; }
.pagetytle-wrap span:nth-child(6)::before { animation: tytle_txt 12s linear 0.5s infinite; }

@keyframes tytle_txt {
	  0% { background-color: rgba(0,0,0,0.4); }
	  1% { background-color: rgba(240,240,240,0.7); }
	  3% { background-color: rgba(0,0,0,0.4); }
	 49% { background-color: rgba(0,0,0,0.4); }
	100% { background-color: rgba(0,0,0,0.4); }
}

.pagetytle-wrap p {
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-family: serif;
	color: white;
}

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

#pagetytle {
	font-size: 0.7rem;
}

.pagetytle-wrap {
	height: 120px;
}

.pagetytle-wrap span {
	box-shadow: 4px 4px 2px rgba(10,10,10,0.3);
	font-size: 1.2em;
}

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


