@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@800&display=swap');

.kaisei-tokumin-extrabold {
	font-family: "Kaisei Tokumin", serif;
	font-weight: 800;
	font-style: normal;
  }  
  .noto-serif-jp {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
  }

.has-vertically-aligned-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

* {
	box-sizing: border-box;
}

html {
	width: 100%;
	min-height: 100%;
	overscroll-behavior: none;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	font-size:20px;
	letter-spacing: 0.16em;
	color: #0f141e;
	/* 	height: 100%; */
	/* 	background-color: #0f1420; */
}

.hidden {
	display: none;
}


.hero {
	background-image: url(../img/bg_kv.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	position: relative;
	background-position: right top 10%;
}

.hero.kaijo {
	background-image: url(../img/bg_kv_kaijo.jpg) !important;
}

.hero-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hero-top {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.hero-top .app-title,
.hero-top .anniv-title {
	height: 20vh;
}

.hero-top .app-title {
	max-width: 20vw;
}

.hero-top .anniv-title {
	max-width: 15vw;
}

.hero-body img {
	max-width: 100%;
	max-height: 100%;
}

.container {
	/* overflow: hidden; */
	position: relative;
	max-width: 100vw !important;
}

.container::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url("../img/bg.jpg");
	/* background-position: center; */
	background-size: auto 100vh;
	background-blend-mode: overlay;
	will-change: transform;
	transform: translateZ(0);
	z-index: -1;
	background-repeat: repeat-x;
	animation: bg-scroll 30s linear infinite;
}

.container::before {
	background-color: rgba(255, 255, 255, 0.5);
}

.kaijo.container::before {
	background-color: rgba(0, 0, 0, 0.8);
}

@keyframes bg-scroll {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: var(--bg-end-position) 0;
	}
}

.main,.manga-contents{
	background-image: url(../img/bg_section.png);
	min-height: 500vh;
	border: #f945a7 solid;
	border-width: 0 2px;
}

.main.kaijo,.manga-contents.kaijo{
	background-image: url(../img/bg_section_kaijo_new.png);
}

.main.manga-open,.hero.manga-open{
	display: none;
}

.manga-contents{
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none; /* 初期状態は非表示 */
}

.manga-contents.manga-open{
    opacity: 1;
    transform: scale(1);
    display: block; /* 表示 */
}

.manga-contents .kaijo-button{
	width: 50%;
}

.manga-items{
	text-align: center;
}

.manga-image{
	width: 100%;
}

button{
		pointer-events: auto; /* 無効化されていないか確認 */
		z-index: 1000; /* 何かに隠れていたら適用 */
}

.prologue {
	text-align: center;
	margin: 0 auto;
	max-width: 600px;
	min-height: 100vh;
	height: 100%;
	/* background-image: url(../img/bg_kv.jpg); */
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	position: relative;
	background-position: top 0 left 15%;
}

.prologue.kaijo {
	/* background-image: url(../img/bg_kv_kaijo.jpg); */
}

.prologue-contents {
	/* backdrop-filter: blur(5px); */
	width: 100%;
	height: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.oath {
	padding-left: 12px;
	color: #012a74;
	line-height: 2.4;
	font-size: 1rem;
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
}

.oath.secret{
	display: none;
}

.oath.secret.kenzen.kaijo{
	display: block;
	color: white;
	font-family: "Kaisei Tokumin", serif;
	font-weight: 800;
	font-style: normal;
}

.oath.kenzen.kaijo{
	display: none;
}

.greeting{
	padding-left: 12px;
	color: #012a74;
	line-height: 2.4;
	font-size: 1rem;
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	text-align: center;
	padding-bottom:80px;
}

.greeting.kaijo{
	display: block;
	color: white;
	font-family: "Kaisei Tokumin", serif;
	font-weight: 800;
	font-style: normal;
}



.btn-kenzen {
	width: 100%;
	margin: 50px auto;
	text-align: center;
}

.contents {
	width: 100%;
	margin: 50px auto;
	text-align: center;
}

.campaign-box {
	color: black;
	margin-bottom: 100px;
}

.campaign-text {
	text-align: left;
	font-weight: 600;
	width: 90%;
	margin: 8px auto;
}

.message-text{
	line-height: 2.2;
	font-weight: 600;
	margin: 16px auto 36px auto;
	color: #0f141e;
	display: flex;
	flex-direction: column;
	text-align: left;
	align-items: center;
}

.message-text .kenzen,.message-text .kenzen rt{
	filter: blur(5px);
}

.message-text .kaijo,.message-text .kaijo rt{
	filter: none
}



.message-text.kaijo{
	color: #fff;
}

#backToTop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	border: none;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
  }



footer{
	height: 100vh;
	width: 100vw;
	background-color:rgba(0, 0, 0, 0.9);
	display: flex;
	flex-direction: column;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 600;
	color: #fff;
	justify-content: space-between;
}

footer img{
	max-width: 100%;
	max-height: 100%;
}

.ft-title{
	height: 60vh;
	text-align: center;
	align-self: center;
}

.ft-title img{
	height: 20vh;
	margin: 20vh auto;
}

.ft-container{
	display: flex;
	height: 10vh;
	width: 80vw;
	max-width: 960px;
	margin: 0 auto;
	justify-content: space-between;
}

.ft-info{
	display: flex;
	flex-direction: column;
	width: 50%;
	justify-content: center;
}

.ft-info-item{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin: 0.4rem;
}

.ft-info-item dt{
	border: 1px solid #fff;
	margin-right: 1em;
	text-align: center;
	width: 6em;
}

.ft-link{
	display: flex;
	width: 50%;
	justify-content: space-around;
	align-items: center;
}

.ft-link-title{
	text-align: right;
	font-weight: 900;
}

.ft-link-items{
	display: flex;
	justify-content: space-around;
	width: 40%;
}

.ft-link-icon{
	height: 4vh;
}

.ft-link-icon img{
	max-height: 100%;
}

.ft-corp{
	height: 20vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ft-corp img{
	/* filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)) ; */
	height: 10vh;
}

.ft-copyrights{
	height: 5vh;
	font-size: 0.6rem;
}

/* -------- 前回  -------- */

@media (max-width: 640px) {
	.bg-image {
		display: none;
	}

	#backToTop {
		width: 50px;
	  }

	.hero {
		background-image: url(../img/bg_kv_mobile.png?vewsion=3);
		background-position: bottom;
	}
	
	.hero.kaijo {
		background-image: url(../img/bg_kv_mobile_kaijo.png?vewsion=3) !important;
	}

	.main,.manga-contents {
		width: 100vw;
		/* overflow: hidden; */
		border-width: 0 2px;
	}

	.prologue .oath {
		font-size: 0.8rem;
		line-height: 2.4;
	}

	.greeting{
		font-size: 0.8rem;
		letter-spacing: -0.02rem;
	}

	.message-text{
		font-size: 0.8rem;
		/* letter-spacing: -0.02rem; */
		text-align: left;
	}

	.container::before {
		animation: none;
	}

	.prologue {
		height: 80vh;
	}

	.secretcode .contents{
		margin-bottom: 0;
		padding-bottom: 50px;
	}

	footer {
		background-color: rgba(0, 0, 0, 1);
		border: #f945a7 solid;
		border-width: 0 2px;
	}

	.ft-container {
		display: flex;
		flex-direction: column;
		height: 20vh;
		width: 100%;
	}


	.ft-info,.ft-link{
		width: 96%;
		text-align: center;
		margin: 20px auto;
	}

	.ft-title {
		max-width: 80vw;
		max-height: 40vh;
		text-align: center;
		align-self: center;
	}
	
	.ft-title img {
		height: auto;
		margin: 10vh auto;
	}

	.ft-copyrights{
		font-size: 0.4rem;
	}


	.hero-top .anniv-title {
		max-width: 25vw;
		height: 25vh;
	}




	.manga-contents .btn-kenzen{
		margin: 0 auto;
		padding: 50px 0;		
	}


}

@media (max-width: 640px) and (orientation: landscape) {
	.modal-content {
		max-height: 100vh;
		width: 80%;
		object-fit: contain;
	}
}

@media (min-width: 641px) {
	.main,.manga-contents {
		width: 640px;
		margin: 0 auto;
		overflow: hidden;
	}

}

.containar .bg-image {
	min-height: 100vh;
	display: block;
	position: fixed;
	top: 0;
	bottom: 0;
	overflow: hidden;
	opacity: 1;
}


.containar .bg-image img {
	min-height: 100vh;
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: none !important;
	object-fit: contain;
}


.teaserfooter .column img {
	max-height: 50px;
}

.teaserfooter .column {
	display: flex;
	align-items: center;
	justify-content: center;
}


@media (max-width: 768px) {
	.teaserfooter .column img {
		max-height: 36px;
	}

	.catchcopy::before {
		height: 1px;
		width: 24px;
		margin: 2px 4px 0 0;
	}
}




@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}