@charset "utf-8";
/* CSS Document */

p {
	color: #fff;
}
aside {
	padding-top: 60px;
}
.under_wrap {
	background: #282828;
}


.w-article {
	position: relative;
	padding-top: min(calc((300 / 960) * 100vw), 320px);
	z-index: 1;
	@media(max-width: 600px) {
		padding-top: 44vw;
	}
}
.w-article__bg {
	display: block;
	background-size: cover;
	width: min(calc((1400 / 912) * 100vw), 1400px);
	aspect-ratio: 1500 / 1070;
	position: absolute;
	left: 50%;
	top: calc(-1 * min(calc((64 / 912) * 100vw), 48px));
	translate: -50% 0;
	z-index: -1;
	img {
		width: 100%;
		height: auto;
	}
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
	opacity: 0;
	@media(max-width: 600px) {
		width: 230vw
	}	
}
.w-article.is-show {
	.w-article__bg {
		opacity: 1;
		animation-name: zoomIn2;
	}
	article {
		opacity: 1;
		transition-delay: .4s;
	}
}

/* --------------------------------------
	main
-------------------------------------- */

article {
	width: 500px;
	margin: 0 auto;
	padding-bottom: min(calc((220 / 1040) * 100vw), 220px);
	position: relative;
	text-align: center;
	opacity: 0;
	transition: .5s opacity;
	h2 {
		img {
			width: min(calc((354 / 1040) * 100vw), 354px);
			height: auto;
			@media(max-width: 600px) {
				width: 60vw;
			}			
		}
	}
	> p {
		margin-top: .8em;
		font-size: min(calc((18 / 960) * 100vw), 16px);
		line-height: 1.8;
		@media(max-width: 600px) {
			font-size: 13px;
			line-height: 1.7;
			text-shadow: 0 0 10px rgba(0,0,0,.2);
		}
	}
	@media(max-width: 1040px) {
		width: 90vw;
		padding-bottom: 0;
	}	
}

.bg_imgs {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	display: flex;
	justify-content: space-between;
	@media(max-width: 1040px) {
		position: relative;
		max-width: 640px;
		margin: 0 auto;
	}
	@media(max-width: 600px) {
		margin-top: 30vw;
	}
}
.bg_imgs > li {
	position: absolute;
	opacity: 0;
	@media(max-width: 1040px) {
		position: relative;
		display : flex;
		gap: 2.4em;
		flex: 1;
		align-items : center;
		.hl-charaname_aku {
			justify-content: flex-start;
		}
		@media(max-width: 600px) {
			gap: 2em;
		}
	}
}
.bg_imgs > li.show {
	opacity: 1;
	transition: 1s ease-in-out;
}
.img_no1 {
	right: 100%;
	top: -290px;
	width: 310px;
	@media(max-width: 1040px) {
		right: 0;
		top: 0;
		img {
			height: 72vw;
			width: auto;
			@media(max-width: 600px) {
				height: 104vw;
			}			
		}
		> div:not(.c-img) {
			padding-top: 2em;
		}
	}	
	p {
		color: #222!important;
		line-height: 1.67;
		text-align: left;
		font-size: min(calc((17 / 960) * 100vw), 14.5px);
		padding-top: .8em;
		@media(max-width: 600px) {
			font-size: 14px;
		}		
	}
}
.img_no2 {
	right: -263px;
	top: -305px;
}
.bg_imgs > .img_no1.show {
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-name: pulse;
	animation-name: pulse;
	-webkit-animation-delay: 0.7s;
	animation-delay: 0.7s;
}
.bg_imgs > .img_no2.show {
	-webkit-animation-duration: 0.75s;
	animation-duration: 0.75s;
	-webkit-animation-name: pulse;
	animation-name: pulse;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
}




.hl-charaname {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 700;
	b {
		margin-top: 5px;
		display: block;
		font-size: min(calc((25 / 960) * 100vw), 25px);
		@media(max-width: 600px) {
			font-size: 19px;
		}			
	}
	*+& {
		margin-top: 1.2em;
	}
}
.hl-charaname_aku {
	font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;	
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	@media(max-width: 600px) {
		gap: .5em;
	}	
	&::before {
		content: '';
		display: block;
		background: url("../img/ico_akumazo.webp") 50% 50% no-repeat;
		width: 28px;
		aspect-ratio: 3 / 4.7;
		background-size: contain;
		@media(max-width: 600px) {
			width: 22px;
		}
	}
	span {
		font-size: 14px;
		text-align: left;
	}
	b {
		margin-top: 5px;
		display: block;
		font-size: min(calc((25 / 960) * 100vw), 25px);
		@media(max-width: 600px) {
			font-size: 18px;
		}			
	}
	*+& {
		margin-top: 1.2em;
	}
	rotate:0.04deg;
}


/* その他 */
.others {
	margin: 140px auto 90px;
}
.hl-sec-charanter {
	text-align: center;
	font-size: min(calc((44 / 1040) * 100vw), 44px);
	font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;	
	color: #5f5798;
	@media(max-width: 600px) {
		font-size: 6vw;
        line-height: 1.4;		
	}	
	.-small {
		font-size: min(calc((24 / 1040) * 100vw), 24px);
		@media(max-width: 1040px) {
			display:block;
			padding-top: .5em;
		}
		@media(max-width: 600px) {
			font-size: 4vw;
		}			
	}
}
.p-list-characters {
	width: 92vw;
	max-width: 1160px;
	margin: 4em auto 0;
	display: flex;
	text-align: center;
	align-items: baseline;
	justify-content: center;
	@media(max-width: 1040px) {
		flex-wrap: wrap;
	}
}

.p-list-characters li {
	min-width: 25%;
	@media(max-width: 1040px) {
		width: 50%;
		&:is(.-row3 li) {
			width: calc(100% / 3);
		}
	}	
	.c-img {
		display: flex;
		justify-content: center;
		position: relative;
		img {
			transform-origin: center bottom;
		}
		margin-bottom: .5em;
	}
	&.animated {
		opacity: 0;
		translate : 0 50px;
		transition: .5s opacity, .5s translate;
		&.is-show {
			opacity: 1;
			translate : 0 0;			
		}
	}
}
.p-list-characters p {
	padding: 0 2em;
	color: #222;
	font-size: min(calc((17 / 960) * 100vw), 14.5px);
	text-align: left;
	line-height: 1.65;
	margin-top: 1em;
	@media(max-width: 600px) {
		font-size: 14px;
		line-height: 1.4;
		padding: 0 .5em;
	}	
}
@media(max-width: 1024px) {
	.-group1 {
		margin-top: 0!important;
	}
	.-group2 {
		li:nth-of-type(1) { order: 1; }
		li:nth-of-type(2) { order: 4; }
		li:nth-of-type(3) { order: 4; }
		li:nth-of-type(4) { order: 2; }
	}
	.-group3 {
		margin-top: -2em!important;		
	}	
	.-group3,
	.-group4,
	.-group5 {
		gap: 2em 0;
	}	
}
@media(max-width: 600px) {
	.-group1 {
		img {
			height: 90vw;
			width: auto;
		}
	}	
	.-group2 {
		img {
			height: 90vw;
			width: auto;
		}
	}	
	.-group3 {
		img {
			height: 104vw;
			width: auto;
		}
	}
	.-row3 {
		margin-top: 4em;
		img {
			height: 90vw;
			width: auto;
		}
	}
	.-group4 {
		margin-top: 1em;
		img {
			height: 90vw;
			width: auto;
		}
	}
	.-group5 {
		img {
			height: 90vw;
			width: auto;
		}
	}
}



/* 
.others li:last-child h4::before {
	content: '東栄住宅社員';
	display: block;
	width: 100%;
	font-size: 13px;
	color: #222;
	text-align: center;
	position: absolute;
	top: 0;
} */

@media(min-width: 1900px) {
	#wrapper {
		background-size: 100% auto;
	}
}

@media(max-width: 768px) {
	aside {
		padding-top: 30px;
	}

	h1 {
		background-size: 80% auto;
		padding-top: 8vw;
	}
	h1 img {
		width: 60%;
	}

	.soldiers {
		margin-top: 0;
	}
	.soldiers ul {
		margin-left: 0;
		justify-content: center;
		flex-wrap: wrap;
	}
	.soldiers li {
		margin: 20px 1%;
		width: 44%;
		text-align: center;
	}
	.soldiers li:nth-child(1) > img {
		height: 68vh;
	}
	.soldiers li:nth-child(2) > img {
		height: 68vh;
	}
	.soldiers li:nth-child(3) > img {
		height: 68vh;
	}
	.soldiers li:nth-child(4) > img {
		height: 68vh;
	}
	.soldiers li:nth-child(5) > img {
		height: 68vh;
	}
	.others {
		margin-top: 80px;
	}
	.others h2 {
		width: 92%;
		margin: 0 auto 10px;
		font-size: 6vw;
		line-height: 1.4;
	}
}



.aku li:nth-last-of-type(1),
.aku li:nth-last-of-type(2){
    margin: 0;
}
.aku li:nth-last-of-type(1){
    margin-left:-50px;
}