/* ========== 共通 ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
	--c_main: #333333;
	--c_base: #ffffff;

	--c_set1: #1470B9;
	--c_set2: #C91232;
	--c_set3: #F2D621;
	--c_set4: #438BBA;
	--c_set5: #599F4A;
	--c_set6: #5F4A98;
	--c_set7: #63381A;
	--c_set8: #0E262B;
	--c_set9: #86292A;
	--c_set10: #518B72;
	--c_font: #333333;
	--c_link: #ff3366;
	--c_hover: #ffff66;
}


html {
	font-family:"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", 'Noto Sans JP',  serif, -apple-system,BlinkMacSystemFont, sans-serif;
	font-size:calc(100vw / 39);
	color: var(--c_font);
	background-color: #ffffff;
	margin: 0 auto;
	padding: 0;
	min-width: 320px;

	scroll-behavior:smooth;
	-webkit-scroll-behavior:smooth;
	overscroll-behavior-y:contain;
	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
	overflow-x: hidden;
}

body, header, section, footer {
	margin: 0;
	padding: 0;
}
h1,h2,h3,h4,h5 {
	margin: 0;
	padding: 0;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
p {
	margin-bottom: 1.5em;
}
a:not([class]) {
	text-decoration: underline;
	color: var(--c_link);
	-webkit-transition: all 0.25s;
	-webkit-transition-delay: 0;
	transition: all 0.25s;
	transition-delay: 0;
	opacity: 1;
}
a:not([class]):hover {
	opacity: 0.8;
	text-decoration: none;
	text-shadow: 0 0 0.25em var(--c_link);
}


body {
	position: relative;
	margin: 0 auto;
	text-align: center;
	background: #ffffff;

	transition: all 0.5s ease-out 0s;
	opacity: 0;
}

/* frame */
#main_wrapper {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 100lvh;
	margin: 0 auto;
	overflow: hidden;

	font-size: 1.4em;
	box-sizing: border-box;
}

/* header */
header {
	position: relative;
	width: 100%;
	height: auto;
}
header::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	display: block;
	width: 100%;
	height: 100%;

	mask-image: url("../img/cross.svg");
	-webkit-mask-image: url("../img/cross.svg");
	mask-size: 50%;
	mask-repeat: repeat;
	mask-position: left;
	background-color: #00000010;
	z-index: -1;
}

#sp_poster {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 10;
}
video#op {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 100;

	filter: drop-shadow(0px 0px rgba(0,0,0,0));
	outline: none;
	border: none;
	transition: all 1s ease-in-out 0s;
}

#kv_set {
	display: grid;
	position: relative;
	place-items: center;
	width: 100%;
	height: 100%;
	z-index: 1;
}
#kv_set img {
	width: 100%;
	height: auto;
	place-self: center;
}


/* ========== PHOTO ========== */
#photo_set {
	display: block;
	position: relative;
	justify-content: center;
	place-items: center;

	width: 100%;
	aspect-ratio: 64 / 92;
	overflow: hidden;
}
#photo_set div:first-of-type::before ,
#photo_set div:first-of-type::after ,
#photo_set div:last-of-type::before,
#photo_set div:last-of-type::after {
	content: "";
	display: block;
	position: absolute;
	top:-1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	width: 50%;
	height: 50%;
	background-color: var(--c_set1);
	z-index: -1;
}
#photo_set div:first-of-type::before {
	width: 40.625%;
	height: 18.48%;
	bottom: unset;
	right: unset;
    clip-path: polygon(0 0, 100% 0, 0 100%);
	opacity: 0.5;
	transform-origin: top left;
}
#photo_set div:first-of-type::after {
	width: 23.45%;
	height: 10.65%;
	left: unset;
	bottom: unset;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
	opacity: 0.7;
	transform-origin: top right;
}
#photo_set div:last-of-type::before {
	width: 57.8%;
	height: 12.5%;
	top: unset;
	right: unset;
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	opacity: 0.75;
	transform-origin: bottom left;
}
#photo_set div:last-of-type::after {
	width: 33.75%;
	height: 19%;
	top: unset;
	left: unset;
	clip-path: polygon(100% 0, 0 100%, 100% 100%);
	opacity: 0.6;
	transform-origin: bottom right;
}

/* ========== 切り替え領域 ========== */
#photo_set span {
	display: block;
	position: absolute;
	width: 50%;
	aspect-ratio: 26 / 17;
	background: #cccccc;
	border: solid 4px #ffffff;
	box-shadow: 0px 4px 8px #00000011;
	background-size: cover;
	background-position: center;
	transition: all 1s ease-in-out 0s;
}
#photo_set span:nth-of-type(1) {
	top: 5%;
	left: 10%;
	transform: rotate(-5deg);
}
#photo_set span:nth-of-type(2) {
	top: 24%;
	right: 5%;
	transform: rotate(5deg);
}
#photo_set span:nth-of-type(3) {
	top: 41%;
	left: 2%;
	transform: rotate(-7deg);
}
#photo_set span:nth-of-type(4) {
	top: 57%;
	right: 4%;
	transform: rotate(-2deg);
}
#photo_set span:nth-of-type(5) {
	top: 74%;
	left: 8%;
	transform: rotate(8deg);
}
#photo_set span:nth-of-type(n+6) {
	display: none;
}

#photo_set span::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	aspect-ratio: 100 / 42;
	width: 30%;
	background-color: #000000;
	mask: url("../img/tape.svg") no-repeat;
	mask-size: contain;
}

#photo_set span:nth-of-type(1)::after {
	background-color: #df1e3e;
	top: -16%;
	left: 21%;
	transform: rotate(20deg);
}

#photo_set span:nth-of-type(2)::after {
	background-color: #cccccc;
	top: 31%;
	left: -15%;
	transform: rotate(-32deg);
}

#photo_set span:nth-of-type(3)::after {
	background-color: #5adb5a;
	top: -17%;
	left: 17%;
	transform: rotate(-30deg);
}

#photo_set span:nth-of-type(4)::after {
	background-color: #ffe017;
	top: -17%;
	left: 50%;
	transform: rotate(-55deg);
}

#photo_set span:nth-of-type(5)::after {
	background-color: #309cee;
	top: 20%;
	left: -17%;
	transform: rotate(70deg);
}

#photo_set span:nth-of-type(6)::after {
	background-color: var(--c_set5);
}
#photo_set span:nth-of-type(7)::after {
	background-color: var(--c_set6);
}
#photo_set span:nth-of-type(8)::after {
	background-color: var(--c_set1);
}
#photo_set span:nth-of-type(9)::after {
	background-color: var(--c_set9);
}
#photo_set span:nth-of-type(10)::after {
	background-color: var(--c_set3);
}


/* ========== INTRODUCTION ========== */
#introduction {
	background-color: var(--c_set1);
	color: #ffffff;
	padding: 2em 0;
}
#introduction h3 {
	position: relative;
	text-align: center;
}
#introduction h3 span {
	display: inline-block;
	aspect-ratio: 742 / 124;
	background: url("../img/introduction.svg") no-repeat center;
	background-size: contain;
	height: 3.6em;
}
#introduction div {
	position: relative;
	display: grid;
	grid-template-rows: 1fr 1fr;
	place-items: center;
	border-top: solid 2px #89B7DC;
	border-bottom: solid 2px #89B7DC;
}
#introduction div::before,
#introduction div::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
}
#introduction div::before {
	top :0;
	left :0;
	background: url("../img/2001.svg") no-repeat;
	background-position: top left;
	background-size: 14%;
}
#introduction div::after {
	bottom :0;
	right :0;
	background: url("../img/2026.svg") no-repeat;
	background-size: contain;
	background-position: right bottom;
	background-size: 14%;
}
#introduction p {
	display: grid;
	place-items: center;
	padding: 1em 1em;
	margin: 0 2em;
	margin-bottom: 0;
	height: 100%;
	line-height: 1.5em;
	border-left: solid 2px #89B7DC;
	border-right: solid 2px #89B7DC;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
#introduction p:nth-of-type(1) {
	border-bottom: solid 2px #89B7DC;
}



/* ========== SECTION ========== */
article {
	position: relative;
}
section {
	position: relative;
	box-sizing: border-box;	
}
section p{
	position: relative;
	box-sizing: border-box;
	line-height: 1.5em;
}
article section {
	margin-bottom: 10lvh;
}


/* ========== PROJECT ========== */
#project {
	padding-top: 10rem;
	padding-bottom: 10rem;
}
#project h2 {
	display: inline-block;
	text-align: center;
}
#project h2 img:first-of-type {
	width: 90%;
}
#project h2 img:last-of-type {
	width: 70%;
	margin-top: -0.8em;
	margin-bottom: 1em;
}
#project h2 + p {
	width: 80%;
	max-width: 1280px;
	padding: 0;
	margin: 1em auto 4em;
	background-color: #ffffffcc;
	font-weight: bold;
	color: var(--c_set1);

	box-sizing: border-box;
}

#project ul {
	display: grid;
	grid-template-columns: 1fr;
	place-items: center;
	gap: 2em;
}
#project li {
	position: relative;
	display: flex;
	width: 80vw;
	aspect-ratio: 55 / 40;
	background-color: #efefef;
	border: solid 1px #333333;
	border-radius: 2em;
	text-align: left;

	box-shadow: 0.4em 0.4em 0 0 #333333;
}
#project a {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	inset: 0;
}
#project li p {
	position: relative;
	display: inline-block;
	left: -1em;
	width: fit-content;
	padding: 0.5em 1em;
	margin-bottom: 0;
	color: #ffffff;
	background-color: #cccccc;
	border-radius: 0.5em 0.5em 0 0;
	font-size: 0.8em;
	line-height: 1em;
}
#project li h4 {
	display: inline-block;
	position: relative;
	left: -1.4em;
	width:fit-content;
	padding: 1em 2em;
	margin-bottom: -1.6em;
	color: var(--c_font);
	background-color: #ffffff;
	border: solid 1px #000000;
	border-radius: 0.5em;
	box-sizing: border-box;
	font-size: 0.75em;
	font-weight: bold;
	text-align: center;

	line-height: 1em;
}

#project li:nth-of-type(1) {
	border-color: var(--c_set1);
	box-shadow: 0.4em 0.4em 0 0 var(--c_set1);
	background: url("../img/p_01.png") no-repeat;
	background-size: cover;
}
#project li:nth-of-type(2) {
	border-color: var(--c_set2);
	box-shadow: 0.4em 0.4em 0 0 var(--c_set2);
	background: url("../img/p_02.png") no-repeat;
	background-size: cover;
}
#project li:nth-of-type(2) h4 {
	min-width: 12em;
}
#project li:nth-of-type(3) {
	border-color: var(--c_set3);
	box-shadow: 0.4em 0.4em 0 0 var(--c_set3);
	background: url("../img/p_03.png") no-repeat;
	background-size: cover;
}
#project li:nth-of-type(3) h4 {
	min-width: 19em;
}
#project li:nth-of-type(4) {
	border-color: var(--c_set4);
	box-shadow: 0.4em 0.4em 0 0 var(--c_set4);
	background: url("../img/p_04.png") no-repeat;
	background-size: cover;
}
#project li:nth-of-type(1) p {
	background-color: var(--c_set1);
}
#project li:nth-of-type(2) p {
	background-color: var(--c_set2);
}
#project li:nth-of-type(3) p {
	background-color: var(--c_set3);
}
#project li:nth-of-type(4) p {
	background-color: var(--c_set4);
}

.coming {
	background: url("../img/coming.png") no-repeat;
	background-size: cover;
}

/* ========== HISTORY ========== */
#history {
	position: relative;
	background-color: #C91232;
	padding: 2em 0 2em 2em;
}
#history h3 {
	position: absolute;
	display: block;
	top: 0.75em;
	left: 2.5em;
	height: 3em;
	aspect-ratio:648 / 143 ;
	background: url("../img/history.svg") no-repeat;
	background-size: contain;
	z-index: 2;
	transform: rotate(-5deg);
}

.splide {
	background-color: #ffffff;
	border-radius: 2em 0 0 2em;
}

#h_box {
	margin: 2em auto 4em !important;
	color: #333333;
}
#h_box li{
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	padding: 3em 1em 1em;
	text-align: center;
}

#h_box img {
	width: 60%;
	transform: rotate(-5deg);
	filter: drop-shadow(1em 1em 0 #00000033);
	margin-bottom: 2em;
}
#h_box .box_l p {
	display: inline-block;
	font-size: 0.5em;
	margin-bottom: 0;
	text-align: left;
}
#h_box .box_l p:nth-of-type(n+1) {
	min-width: 52%;
}
#h_box .box_r {
	display: grid;
	height:fit-content;
	text-align: center;
	color: #626262;
	place-items: center;
}
#h_box h5 {
	display: inline-block;
	text-align: left;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: solid 1px #626262;
}

#h_box h4 {
	font-family: "astoria-sans-condensed", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 3.6em;
	color: #626262;
	line-height: 1em;
}
#h_box h4 span {
	display: block;
	font-size: 0.75em;
    margin-top: -0.25em;
}
#h_box h5 {
	font-size: 1em;
	text-align: left;
	color: #626262;
}
#h_box p span{
	padding: 0.25em 1em;

	font-size: 0.75em;
	font-weight: bold;
	color: #ffffff;
	white-space: nowrap;
	background-color: #626262;
}
#h_box span.tv {
	background-color: #FFC502;
}
#h_box span.tv::before {
	content: "TV";
}
#h_box span.movie {
	background-color: #5F9DFF;
}
#h_box span.movie::before {
	content: "劇場版";
}
#h_box span.ova {
	background-color: #E4703B;
}
#h_box span.ova::before {
	content: "OVA";
}
#h_box .btn {
	place-self: end;
	font-size: 0.8em;
	color: #ffffff;
	background-color: #C91232;
	padding: 0.25em 1em;
	transition: all 0.25s ease-out 0s;
}
#h_box .btn:hover {
	color: #ffff66;
	background-color: #e63250;
}



/* ========== splide ========== */
.splide__arrow {
	color: #ffffff;
	background-color: transparent;
}
.splide__arrow svg {
    fill: #626262;
}
.splide__arrow--prev {
	left: 0;
}
.splide__arrow--next {
	right: 0;
}
.splide__pagination__page.is-active {
	background: #333333;
	transform: scale(1.2);
}
.splide__pagination__page {
	width: 16px;
	height: 16px;
	margin: 5px;
}
/* ========== FOOTER ========== */
footer {
	position: relative;
	color: #ffffff;
	font-size: 0.6em;
	background: linear-gradient(to bottom, #ffffffff 5%, #ffffffcc 10%, #2C5646cc 25%),url("../img/footer_bg.jpg") no-repeat;
	background-size: cover;
	background-position: bottom center;
	mask-image: linear-gradient(to bottom, #00000000 5%, #000000cc 30%, #000000ff 45%);
}
footer div {
	display: grid;
	grid-template-rows:1fr min-content;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 50lvh;
}
.link_box {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: auto;

	font-size: 1.4em;
	font-weight: bold;
	gap: 1em;
}

.link_box a{
	display: inline-block;
	color: #000000;
	text-decoration: none;
	background-color: #ffffff;
	padding: 0.5em 1em;
	border-radius: 0.5em;
	border: solid 1px #000000;
	box-sizing: border-box;
	box-shadow: 6px 6px 0 #000000;
}
.link_box a:hover{
	opacity: 1;
	text-decoration: underline;
	text-shadow: none;
}
.link_box li:nth-of-type(2) a {
	color: #CA1232;
	border-color: #CA1232;
	box-shadow: 6px 6px 0 #CA1232;
}
.link_box li:nth-of-type(3) a {
	color: #1371B9;
	border-color: #1371B9;
	box-shadow: 6px 6px 0 #1371B9;
}


#copy {
	margin: 1em;
}

/* ========== on off ========== */
.sp {
	display: initial;
}
.pc {
	display: none;
}
br.sp {
	display: inline;
}

/* ================================================== */
/* ==================== 900px以上 ==================== */
/* ================================================== */
@media (min-width: 980px) {
html {
	font-size: 10px;	/* 10pxを基準に変更 */
}
body {
	font-size: 2em;
}

/* ========== header ========== */
header {
	min-height: unset;
	aspect-ratio: 16 / 9;
}
header::before {
	mask-size: 20em;
}
#sp_poster {
	display: none;
}
#kv_set img {
	width: auto;
	height: 100%;
	min-width: 0%;
	min-height: 0%;
	max-width: 90%;
	max-height: 90%;

	border: solid 8px #ffffff;
	box-shadow: 0px 5px 10px #00000020;
}

/* ========== photo ========== */
#photo_set {
	position: absolute;
	inset: 0;
	aspect-ratio: unset;
}
#photo_set::after {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	background-size: contain;
	opacity: 0.25;
	z-index: -1;
}
#photo_set div:first-of-type::before {
	width: 27%;
	height: 36%;
}
#photo_set div:first-of-type::after {
	width: 15.625%;
	height: 24%;
}
#photo_set div:last-of-type::before {
	width: 38.5%;
	height: 21%;
}
#photo_set div:last-of-type::after {
	width: 22.4%;
	height: 32.4%;
}

#photo_set span {
	width: 14%;
	border-width: 6px;
}
#photo_set span:nth-of-type(1) {
	top: 8%;
	left: 4%;
	transform: rotate(-13deg);
}
#photo_set span:nth-of-type(2) {
	top: 26%;
	left: 16%;
	transform: rotate(9deg);
}
#photo_set span:nth-of-type(3) {
	top: 42%;
	left: 4%;
	transform: rotate(-9deg);
}
#photo_set span:nth-of-type(4) {
	top: 57%;
	left: 17%;
	transform: rotate(-2deg);
}
#photo_set span:nth-of-type(5) {
	top: 73%;
	left: 3%;
	transform: rotate(8deg);
}
#photo_set span:nth-of-type(6) {
	top: 4%;
	right: 15%;
	transform: rotate(13deg);
}
#photo_set span:nth-of-type(7) {
	top: 22%;
	right: 3%;
	transform: rotate(-5deg);
}
#photo_set span:nth-of-type(8) {
	top: 37%;
	right: 17%;
	transform: rotate(7deg);
}
#photo_set span:nth-of-type(9) {
	top: 54%;
	right: 3%;
	transform: rotate(11deg);
}
#photo_set span:nth-of-type(10) {
	top: 70%;
	right: 16%;
	transform: rotate(-8deg);
}
#photo_set span:nth-of-type(n+6) {
	display: inherit;
}
#photo_set span::after {
	width: 36%;
}
#photo_set span:nth-of-type(1)::after {
	background-color: var(--c_set2);
	top: 78%;
	left: 90%;
	transform: rotate(-32deg);
}
#photo_set span:nth-of-type(2)::after {
	background-color: var(--c_set8);
	top: 84%;
	left: 75%;
	transform: rotate(-16deg);
}
#photo_set span:nth-of-type(3)::after {
	background-color: var(--c_set10);
	top: 84%;
	left: -10%;
	transform: rotate(19deg);
}
#photo_set span:nth-of-type(4)::after {
	background-color: var(--c_set7);
	top: -16%;
	left: 32%;
	transform: rotate(6deg);
}
#photo_set span:nth-of-type(5)::after {
	background-color: var(--c_set1);
	top: -24%;
	left: 16%;
	transform: rotate(-61deg);
}
#photo_set span:nth-of-type(6)::after {
	top: 96%;
	left: -2%;
	transform: rotate(22deg);
}
#photo_set span:nth-of-type(7)::after {
	top: -10%;
	left: 80%;
	transform: rotate(24deg);
}
#photo_set span:nth-of-type(8)::after {
	top: 94%;
	left: 27%;
	transform: rotate(18deg);
}
#photo_set span:nth-of-type(9)::after {
	top: -16%;
	left: 29%;
	transform: rotate(4deg);
}
#photo_set span:nth-of-type(10)::after {
	top: 92%;
	left: -8%;
	transform: rotate(16deg);
}
#photo_set span:nth-of-type(-n+6):before {
	display: none;
}

/* ========== introduction ========== */
#introduction p {
	width: 80%;
}
#introduction p:first-of-type {
	position: relative;
}
#introduction p:first-of-type::after {
	content: "";
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 20px;
	height: 10px;
	clip-path: polygon(0 0, 0 100%, 100% 100%);
	background-color: #89B7DC;
}
#introduction div::before,
#introduction div::after {
	width: 10%;
	background-size: contain;
}

/* ========== project ========== */
#project {
	padding-top: 20rem;
	padding-bottom: 20rem;
}
#project h2{
	width: 600px;
}
#project h2 img:first-of-type {
    width: 100%;
}
#project h2 img:last-of-type {
    width: 80%;
    margin-top: -0.8em;
    margin-bottom: 2em;
}


#project h2 + p {
	width: 90%;
	margin-bottom: 2em;
}
#project ul {
	grid-template-columns: repeat(2, minmax(200px, 600px));
	gap: 2em;
	justify-content: center;
	margin-left: 2em;
	margin-right: 2em;
}
#project li {
    width: 100%;
}

/* ========== history ========== */
#h_box {
	margin-bottom: 2em !important;
	padding-right: 4rem !important;
	gap: 2em;
}

#h_box li{
	grid-template-columns: 1fr 1fr;
	place-items: center;
	padding: 1em 0 0;
}
#h_box img {
	filter: drop-shadow(20px 20px 0 #00000033);
}

/* ========== splide ========== */
.splide__track {
	padding: 0 2em;
}


/* ========== footer ========== */
footer {
	font-size: 1.6rem;
}
/* ========== on off ========== */
.sp {
	display: none;
}
.pc {
	display: initial;
}
br.sp {
	display: none;
}

}


@media (min-width: 1280px) {
#project ul {
	margin-left: 0;
	margin-right: 0;
}
#h_box li{
	place-items: start center;
	max-width: 50%;
}
#h_box li img{
	width: 80%;
	filter: drop-shadow(10px 10px 0 #00000033);
}

}
@media (min-width: 1920px) {

}

/* ========== safari用 ========== */
@supports (-webkit-touch-callout: none) {

}
@media (min-width: 1080px) {

}

/* ========== firefox用 ========== */
@-moz-document url-prefix(){
}
