@charset "utf-8";
/* CSS Document */

#headerContents,
#footerContents,
#mainVisual,
.newsbox,
.livebox,
.aboutbox,
.contactbox,
.musicbox,
.moviebox {
	max-width: 1280px;
	margin: 0 auto;
}
header,
footer,
hr {
	max-width: 100%;
	margin: 0 auto;
}
html {
	overflow-y: scroll;
}
body {
	line-height: 1.5em;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
a {
	text-decoration: none;
	display: block;
	color: #000;
}
small {
	font-size: 0.8em;
}
img {
	max-width: 100%;
	height: auto;
}
h1 {
	margin-left: 1%;
}
h1 a:hover {
	opacity: 0.7;	
}
h2 {
	font-size: 1.75rem;
	margin: 5% 0 5% 5%;
	position: relative;
	display: inline-block;
	position: -webkit-sticky;
	position: sticky;
}
h2:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -45%;/*線の上下位置*/
	display: inline-block;
	width: 60%;/*線の長さ*/
	height: 20%;/*線の太さ*/
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);/*位置調整*/
	background: #cf0e11;/*線の色*/
	border-radius: 2px;/*線の丸み*/
}

.titlefade-in{ 
	/* opacity: 0; */
	animation-name: titlefadein;
	animation-duration :3s; 
	/* animation-iteration-count: infinite; */
	animation-fill-mode: forwards;
}
@keyframes titlefadein {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}
	50% {
		opacity: 1;
		transform: translateX(0);
	}
	/* 100% {
		opacity:0;
		transform: translateX(50px);
	} */
}

header {
	background: #e7e7e7;
	z-index: 2;
	border-bottom: solid 2px #ccc;
}
#headerContents {
	display: flex;
	background: #e7e7e7;
	align-items: center;
	z-index: 2;
}
.sticky {
	position: -webkit-sticky; /* Safariに対応する */
	position: sticky; /* 要素を固定/解除する */
	top: 0; /* 縦方向の閾値 */
	left: 0; /* 横方向の閾値 */
	z-index: 99;
}
nav {
	width: 100%;
}
nav ul {
	display: flex;
}
#navi {
	justify-content: space-around;
	font-size: 0.875rem;
}
#navi li a {
	color: #999;
}
#navi li a:hover {
	color: rgba( 255, 255, 255, 0.7);
}
#subnav {
	margin-top: 1%;
	margin-left: 76%;
	/* justify-content: flex-end;
	margin-top: 1%;
	margin-right: 5%;
	display: flex; */
}
#subnav li {
	margin-left: 8%;
}
#subnav img {
	border-radius: 50%;
}

/* subnavのhover */
#subnav img:hover{
	opacity: 0.7;
}

/* main共通 */
main {
	font-size: 1rem; /*1.8vmin;*/
	min-height: 800px;
}
#aboutVisual {
	text-align: center;
	margin: 0 5%;
}
.centerText {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 14%;
}

footer {
	background: #e6e6e6;
	margin-top: 10%;
}
#footerContents {
	display: flex;
	padding: 5% 0;
}
footer p {
	margin-left: 15%;
}
footer ul {
	display: flex;
	margin: 0 15% 0 auto;
}
footer ul li {
	margin: 0 3%;
}
footer ul li:hover {
	opacity: 0.5;
}

footer ul li img {
	border-radius: 50%;
}

footer ul {
	position: relative;
}

/* アイコンtooltip */
#tooltip {
	position: absolute;
	border-radius: 10px;
	background: #fa8072;
}

#tooltip p {
	text-align: center;
	color: #fff;
	font-size: 1rem;
	padding: 15px 30px;
}

#tooltip::after {
	content: " ";
	width: 0px;
	border-top: 18px solid #fa8072;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	position: absolute;
	left: 50%;
	margin-left: -8px;
}

/* fadein*/
.box {
	will-change: transition;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.box {
	transition: .5s ease-in-out ;
}

/* カレント設定 */
#news nav .nav1 a,
#live nav .nav2 a,
#about nav .nav3 a,
#music nav .nav4 a,
#contact nav .nav5 a {
	border-bottom: solid 2px #fa8072;
}

@media screen and (max-width: 767px){
	#headerContents {
		display: block;
		position: relative;
	}
	h1 {
		margin: 0 auto;
		width: 21%;
	}
	h2 {
		position: static;
		position: relative;
		margin: 10% 0 10% 5%;
	}
	nav ul {
		margin-left: 0;
		margin-top: 3%;
		width: 100%;
	}
	#navi {
		margin: 6% auto 0;
	}
	#subnav {
		position: absolute;
		top: 5%;
		width: 21%;
	}
	.navhover .caption3 {
		padding-left: 5px;
		font-size: 0.75rem;
	}
	.navhover2 .caption4 {
		padding-left: 7px;
		font-size: 0.75rem;
	}

	#footerContents {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	footer p {
		margin-left: 0;
		margin-bottom: 3%;
	}
	footer ul {
		margin: 0;
	}
	main {
		font-size: 0.875rem; 
	}

}