
@keyframes fade-in {
    0% {opacity: 0;}
  100% {opacity: 1;}
}


body.top_header header .hamburger:before {
	display: none;
}

body.modaal-noscroll header .hamburger {
	display: none;
}

.modaal-video-container {
	max-width: inherit;
	max-height: inherit;
	aspect-ratio: 16/9;
}



.main {
	position: relative;
}

div.bg-bace {
	position: relative;
	background-color: rgba(255, 255, 255, 0.8);
}



/*-----------------------------
 共通箇所
-----------------------------*/
h2 {
	font-family: "Abel", sans-serif;
	font-weight: 400;
	text-align: center;
	font-size: 36px;
}
section {
	padding-top: 40px;
	padding-bottom: 64px;
/*	padding-left: 16px;
	padding-right: 16px;*/
	position: relative;
	z-index: 1;
}

section div.conteiner {
	margin: auto;
	max-width: 800px;
	padding-left: 16px;
	padding-right: 16px;
}

@media screen and (min-width: 768px) {
	h2 {
		font-size: 44px;
	}
	section {
		padding-top: 40px;
		padding-bottom: 64px;
	}
}


/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: #fff;
  text-align: center;
  color: #fff;
  z-index: calc(infinity);
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#splash_logo img {
  width: 100%;
}

/* fadeUpをするアイコンの動き */
.fdin-box {
  opacity: 0;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 766px) {
  #splash_logo img {
    width: 560px;
  }
}


/*-----------------------------
 mainvisual
-----------------------------*/
section#mainvisual {
	height: auto;
	background-color: #fff;
	padding: 0;
	position: relative;
	aspect-ratio: 375 / 667;
	overflow: hidden;
}
section#mainvisual picture img.mainvisual_bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

section#mainvisual img.mainvisual_copy {
	position: absolute;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 1000px;
	width:90%;
	object-fit: contain;
	z-index: 3;
	filter: drop-shadow(0 0 0.3rem #000);
}

section#mainvisual img.mainvisual_toka {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 160%;
	aspect-ratio: 1/1;
	object-fit: contain;
	z-index: 2;
}

section#mainvisual h1 img {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	width: 605px;
	max-width: 90%;
}

@media screen and (min-width: 768px) {
	section#mainvisual {
		height: 100dvh;
		max-height: 1024px;
		aspect-ratio: inherit;
	}
	section#mainvisual img.mainvisual_copy {
	top: 48px;
	filter: drop-shadow(0 0 0.3rem #000);
}
	section#mainvisual img.mainvisual_toka {
		width: 100%;
		height: 100%;
	}
}


/*-----------------------------
 movie
-----------------------------*/
section#movie {
	background-color: #000;
}

#movie .thumb {
	position: relative;
}

#movie .thumb a {
	position: relative;
	display: inline-block;
}
#movie .thumb a:after {
	position: absolute;
	content: "";
	width: 80px;
	height: 80px;
	background-image: url(../images/movie-play.svg);
	background-size: contain;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modaal-noscroll {
}
.modaal-video-wrap {
	margin: auto 0;
}

@media screen and (min-width: 768px) {
	#movie .thumb a:after {
		width: 146px;
		height:146px;
	}
}


/*-----------------------------
 INTRODUCTION/STORY 
-----------------------------*/
section#intro_story {
	background-color:rgba(0, 0, 0, 0.8);
	color: #fff;
	font-weight: 400;
	clip-path:polygon(0 0,0 100%,100% 100%,100% 0);
	position: relative;
	border-bottom: 1px solid #000;
}

/*
section#intro_story:before {
	content: "";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../images/main_bg_sp.jpg") center/cover no-repeat;
	z-index:-1;
}
*/
section#intro_story:after {
	content: "";
	position: absolute;
	display: block;
	top: -1px;
	left: 0;
	width: 100%;
	height: 101%;
	background-color:rgba(0, 0, 0, 0.2);
}
section#intro_story div.conteiner {
	position: relative;
	z-index: 2;
}

section#intro_story .tabs {
	max-width:700px;
	margin:0 auto;
}

section#intro_story input[type="radio"] {
	display:none;
}

section#intro_story .tabbar {
	display:flex;
	justify-content:center;
}

section#intro_story .tab {
	width: 50%;
	border: 1px solid #fff;
	text-align: center;
	cursor:pointer;
	font-family: "Abel", sans-serif;
	font-weight: 400;
	font-size: 20px;
	padding: 8px;
	position: relative;
	transition: background-color .3s;
}
section#intro_story .tab:hover {
	background-color: rgb(255 255 255 / 20%);
}

section#intro_story .switch {
	cursor:pointer;
	font-family: "Abel", sans-serif;
	font-weight: 400;
	font-size: 20px;
	position: relative;
	display: inline-block;
	transition: opacity .3s;
}
section#intro_story .switch:hover {
	opacity: 0.6;
}

section#intro_story .tab .material-symbols-outlined,
section#intro_story .switch .material-symbols-outlined {
	font-size: 20px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-left: 4px;
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24
}


section#intro_story .panels .panel {
	display:none;
	transition: opacity 0.3s ease-in;
}

section#intro_story #t1:checked ~ .panels #p1,
section#intro_story #t2:checked ~ .panels #p2 {
	display:block;
	opacity: 1;
	animation: fade-in-panel .8s;
}

@keyframes fade-in-panel {
    0% {opacity: 0;}
   20% {opacity: 0;}
  100% {opacity: 1;}
}

section#intro_story #t1:checked ~ .tabbar label[for="t1"],
section#intro_story #t2:checked ~ .tabbar label[for="t2"] {
	background:#fff;
	color:#000;
}
section#intro_story p {
	line-height: 1.8;
}

section#intro_story p.selif {
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-size: 120%;
}

section#intro_story .panels .panel div {
	text-align: right;
	padding-right: 20px;
}

@media screen and (max-width: 320px) {
	section#intro_story .tab .material-symbols-outlined {
		margin-left: 0;
	}
}

/*-----------------------------
 news埋め込み 
-----------------------------*/
section#news {
	background-color: #000;
}
section#news h2 {
	color: #fff;
}

section#news .news-list-item {
	border-bottom: 1px solid rgb(255 255 255 / 0.5);
}

section#news .news-list-item a {
	text-decoration: none;
	color: #fff;
	position: relative;
}

section#news .news-list-item dt {
	font-family: "Abel", sans-serif;
	font-weight: 400;
	font-size: 12px;
}

@media (any-hover: hover) {
	section#news .news-list-item a {
		transition: opacity 0.3s;
		opacity: 1;
	}
	section#news .news-list-item a:hover {
		opacity: 0.6;
	}

}


/*-----------------------------
  fadein
-----------------------------*/
.fadein {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: transform 1s, opacity 2s;
}
.fadein.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}


/*-----------------------------
 character 
-----------------------------*/
#character {}

#character .conteiner {
}

#character .character-picture {
	/*background-color: #9f9f9f;*/
	width: 100%;
	aspect-ratio: 1/1;
	background-repeat: no-repeat;
	background-size: 39px ;
	background-position: right 15% top;
	position: relative;
}
/*
#character .character-picture:before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	z-index: -1;
	background: radial-gradient(circle at center, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .3) 75%, rgba(255, 255, 255, 0) 100%);
}
*/

#character .character-picture.toka {
	background-image: url(../images/character/bg_character_princess.svg);
}
#character .character-picture.origami {
	background-image: url(../images/character/bg_character_angel.svg);
}
#character .character-picture.yoshino {
	background-image: url(../images/character/bg_character_hermit.svg);
}
#character .character-picture.kotori {
	background-image: url(../images/character/bg_character_efreet.svg);
}
#character .character-picture.kurumi {
	background-image: url(../images/character/bg_character_nightmare.svg);
}
#character .character-picture.miku {
	background-image: url(../images/character/bg_character_diva.svg);
}
#character .character-picture.natsumi {
	background-image: url(../images/character/bg_character_witch.svg);
}
#character .character-picture.mukuro {
	background-image: url(../images/character/bg_character_zodiac.svg);
}
#character .character-picture.kaguya,
#character .character-picture.yuduru {
	background-image: url(../images/character/bg_character_berserk.svg);
}
#character .character-picture.nia {
	background-image: url(../images/character/bg_character_sisiter.svg);
}
#character .character-picture.mio {
	background-image: url(../images/character/bg_character_deus.svg);
}

#character .character-picture img {
	object-fit: contain;
}

#character .character-list {
	position: relative;
}

#character .slider-thumbnail .swiper-slide {
  width: calc(100% / 7);
  cursor: pointer;
  background-color: #fff;
}
#character .slider-thumbnail .swiper-slide img {
  opacity: .5;
  transition: opacity .5s;
}

#character .slider-thumbnail .swiper-slide img:hover,
#character .slider-thumbnail .swiper-slide.swiper-slide-thumb-active img {
  opacity: 1;
}

.swiper-wrapper .swiper-slide {
	display: flex;
	flex-direction: column;
}

#character dl {
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
	position: relative;
	margin-top: 0;
	margin-bottom: 0;
}
#character .swiper-slide dl dt {
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
#character .swiper-slide dl dt span {
	display: block;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s 0.3s, transform 0.5s 0.3s;
}

#character dl dt .codename {
	font-size: 12px;
	margin-bottom: 8px;
}

#character dl dt .cv {
	font-size: 12px;
}
#character dl dt .name {
	font-size: 30px;
	font-weight: 600;
	margin-bottom: 8px;
}

#character .swiper-slide dl dd {
	font-size: 14px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s 0.6s, transform 0.5s 0.6s;
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

#character .swiper-slide.swiper-slide-active dl dt span,
#character .swiper-slide.swiper-slide-active dl dd {
	opacity:1;
	transform: translateY(0);
}

#character .swiper-slide .toggle-input {
}

.dress { display: none; }
.reisou { display: block; }

.toggle-input:checked ~ .reisou { display: none; }
.toggle-input:checked ~ .dress { display: block; }

@media screen and (min-width: 768px) {
	#character .character-picture {
		width: 90%;
		margin-left: auto;
		margin-right: 0;
		background-size: 79px ;
		background-position: right 10% top;
	}

	#character .swiper-wrapper .swiper-slide {
		flex-direction:row-reverse;
	}

	#character dl {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 50%;
	}

	#character dl dt .codename {
		font-size: 16px;
	}
	#character dl dt .cv {
		font-size: 16px;
	}
	#character dl dt .name {
		font-size: 34px;
	}
	#character dl dd {
		font-size: 16px;
	}

}

.swiper-button-next:after,
.swiper-button-prev:after {
	content: none;
}

.swiper-button-prev,
.swiper-button-next {
	background-image: url(../images/arrow.svg);
	width: 24px;
	height: 80px;
	background-size: 24px 80px;
	margin-top: -24px;
	top:25%;
}

.swiper-button-prev {
	transform: scale(-1, 1);
}



.section-border {
	aspect-ratio: 1531 / 109;
	background-image: url(../images/hr_border.svg);
	background-size: contain;
	background-repeat: no-repeat;
	width: 360px;
	max-width: 90%;
	margin:0 auto 0;
}

@media screen and (min-width: 768px) {
	.section-border {
		margin:80px auto 0;
	}
}


/*-----------------------------
 staff/cast
-----------------------------*/
#staff_cast {
}

#staff_cast hr {
	margin-top: 48px;
	margin-bottom: 40px;
  background-color: #0000001c;
  height: 2px;
  border: none;
}



#staff_cast dt,
#staff_cast dd {
	text-align: center;
}
#staff_cast div.staff div.row,
#staff_cast div.cast div.row {
	row-gap: 24px;
}

#staff_cast div.staff dt,
#staff_cast div.cast dt {
	font-size: 12px;
	color: #a977bc;
	font-weight: 600;
	margin-bottom: 4px;
}
#staff_cast div.staff dt span,
#staff_cast div.cast dt span {
	text-decoration: underline;
}

#staff_cast div.staff dd,
#staff_cast div.cast dd {
	font-size: 22px;
	line-height: 1.3;
}
#staff_cast div.staff dd span {
	font-size: 54%;
	display: block;
}


/*-----------------------------
 book
-----------------------------*/
#book {}

#book a.btn {
	display: block;
	margin: auto;
	text-align: center;
	text-decoration: none;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
	font-size: 24px;
	color: #fff;
	background-color: #000;
	border: 1px solid #000;
	width: 100%;
	max-width: 400px;
	padding: 8px;

	transition: color 0.3s, background-color 0.3s;
}


#book a.btn:hover {
	color: #000;
	background-color: #fff;
}

#book a.btn .material-symbols-outlined {
	position: relative;
	top: 4px;
  font-variation-settings:
  'FILL' 0,
  'wght' 200,
  'GRAD' 0,
  'opsz' 24
}
