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

*{
	
}

body{
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

.header_wrapper{
	width:100%;
	height: 70px;
	display: flex;
	justify-content: space-between;
}

.header_wrapper img{
	max-height: 50px;
	margin: 10px 0 0 10px;
}

/* nav */

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*==ナビゲーション全体の設定*/
nav{
	
	color:#333;
	text-align: center;
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
	border-left:1px solid #666;
}





/*ナビゲーションのリンク設定*/
nav ul li a{
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #999;
	padding:20px;
	transition:all .3s;
	width:200px;
}

nav ul li li a{
	padding:20px 15px;
	width:200px;
}

nav ul li a:hover{
	/*color:#fff;*/
	background-color: #F9CFFB;
	opacity: 1;
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}

/* --- 2階層目のul設定 --- */
nav ul ul {
	position: absolute;
	left: 0; /* ← ここで0にリセット */
	top: 70px;
	background: #F9CFFB;
	width: 200px;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
	padding: 0;
	margin: 0;
	border-left: none;
}

/* --- 2階層目以降のli設定 --- */
nav ul ul li {
	border-left: none; /* 左線を消す */
	position: relative;
}

/* --- 2階層目のリンク設定 --- */
nav ul ul li a {
	padding: 15px;
	width: 105%; /* ← 200pxではなく100%で合わせる */
	display: block;
	text-align: left;
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.6);
	background: #F9CFFB;
}

/* --- hover時 --- */
nav ul ul li a:hover {
	background-color: #F874F8;
}

/* --- 2階層目の矢印を調整 or 非表示にする --- */
nav ul ul li.has-child::before {
	left: auto;
	right: 10px; /* 右寄せ */
	top: 20px;
	transform: rotate(45deg);
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

/*3階層目を持つliの矢印の設定*/
nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0px;
	/*top:70px;*/
	top:100%;
	z-index: 4;
    /*形状を指定*/
	background:#F9CFFB;
	width:200px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px); /* ← 少し下にずらしておく */
    /*アニメーション設定*/
	transition: opacity .3s ease, transform .3s ease;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
  transform: translateY(0); /* ← 位置を戻すだけ */
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
}

nav li.has-child ul li:last-child > a{
 border-bottom:none;
 }

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background-color:#F874F8;
}


/*==3階層目*/

/*3階層目の位置*/
nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#66ADF5;
}

nav li.has-child ul ul li a:hover,
nav li.has-child ul ul li a:active{
	background:#448ED3;
}


/*==1024px以下の形状*/

@media screen and (max-width:1200px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.has-child ul,
	nav li.has-child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

}

.space{
	height:5rem;
}

/* tab */

li{
	list-style-type: none;
}

/*tabの形状*/
.tab{
	display: flex;
	/*flex-wrap: wrap;*/
	gap:1rem;
	justify-content: center;
	
}

@media screen and (max-width:768px){
	.tab{
		display: flex;
		flex-direction: column;
		
	}
}

.tab li a{
	display: block;
	background:#F874F8;
	/*margin:0 2px;
	padding:10px 20px;*/
	width:250px;
	height:40px;
	border-radius: 20px;
	text-align: center;
	line-height: 40px;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#fff;
	border:2px solid #F874F8;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:50px 20px;
	width:75%;
	max-width:750px;
	margin: 0 auto;
}

@media screen and (max-width:768px){
	.area{
		width:90%;
		
	}
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
 	background: #f3f3f3;
	/*margin:0 3% 3% 3%;*/
    padding: 3% 3% 3% 50px;
}

.btnshine{
	/*キラッと光る基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/	
	display:inline-block;
    text-decoration: none;
	color:#333;
    outline: none;
    overflow: hidden;
}

/*キラッと光る*/
.btnshine::before {
	content: '';
    /*絶対配置でキラッと光るの位置を決める*/
	position: absolute;
	top: 0;
	left: -75%;
    /*キラッと光る形状*/
    width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
	transform: skewX(-25deg);
	animation: shine 3.7s infinite;
}

/*hoverした際の移動のアニメーション*/
.btnshine:hover::before {
	/*animation: shine 0.7s infinite;*/
}

@keyframes shine {
	0% {
		left: -75%;
	}
	19% { /* 約0.7秒時点（0.7/3.7=約19%） */
		left: 125%;
	}
	100% {
		left: 125%; /* 残りの時間は停止 */
	}
}

/* mv */
/*
.mv{
	position: relative;
	width:100%;
}

.mv img{
	width:100%;
	height: 100%;
	display: block;
		
}

.life{
	position: absolute;
	top:50%;
	left:10%;
	
}
.live{
	position: absolute;
	top:57%;
	left:15%;
}



.comment{
	height:50px;
	width:340px;
	z-index:2
}

.mv h1{
	font-size:32px;
	height:100%;
	width:340px;
	padding: 0 10px;
	z-index: 1;
	background-color: #fff;
	border: 1px solid #666;
	text-align: center;
	opacity: 0;
	
}

.animation_target{
	position: relative;
	overflow: hidden;
	
}

@keyframes showEl{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

.animation_target.show h1{
	animation: showEl .01s .9s forwards;
}

.animation_target::before{
	content:"";
	display: block;
	position: absolute;
	top:0;
	left: 0;
	z-index:2;
	width: 100%;
	height: 100%;
	background-color: #333;
	transform: translate(-100%);
	
}

@keyframes move{
	0%{
		transform: translateX(-110%);
	}
	45%,55%{
		transform: translateX(0);
	}
	100%{
		transform: translateX(110%);
	}
}

.animation_target.show::before{
	animation: move 1.8s forwards;
}*/

.mv{
	position: relative;
}

.mv img{
	width:100%;
}

.h1_1{
	position: absolute;
	top:50%;
	left:10%;
	overflow: hidden;
}

.h1_2{
	position: absolute;
	top:57%;
	left:15%;
	overflow: hidden;
}


h1{
	font-size:32px;
	height:50px;
	width:340px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #666;
	position: relative;
	z-index: 1;
	transform: translateX(100%);
	animation: def 1.5s 1.5s forwards;
}

@keyframes def{
	0%{
		transform: translateX(100%);
		
	}
	100%{
		transform: translateX(0%);
	}
}

.shadow{
	position: absolute;
	height:50px;
	width:340px;
	top:23%;
	left:0;
	z-index: 3;
	background-color: #333;
	transform: translateX(-100%);
	animation: abc 2s 1s forwards;
}

@keyframes abc{
	0%{
		transform: translateX(-100%);
	}
	100%{
		transform: translateX(102%);
	}
}

