#works h1 img {
	height: 50px;
}

#works .interview {
	max-width: 580px;
}

#works .bg_wave {
	position: relative;
	background-image: url(../img/works/bg_ship_sp.png);
	background-repeat: no-repeat;
	background-position: center top 50px;
	background-color: #9EDAE2;
	background-size: contain;
}

#works .box {
	position: relative;
	padding: 35px;
	margin: 30px 0;
	text-align: left;
	border-radius: 15px;
	box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3);
}

#works .box::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	margin: 15px;
	width: calc(100% - 30px);
	height: calc(100% - 30px);
	border: solid 2px #5DC1CF;
	border-radius: 15px;
	pointer-events: none;
}

/*
#works .thumb {
	display: flex;
	align-items: end;
	justify-content: center;
	background: url(../img/works/bg_thumb.svg) no-repeat center bottom;
	background-size: 75% auto;
	aspect-ratio: 1 / 1;
}
*/

#works .profile {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#works .job {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 20px;
	font-size: 2.5rem;
	color: #FFFFFF;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
	line-height: 1.2;
	filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.3));
}

#works .job::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #B81C26;
	border: solid 3px #2C5F7B;
	clip-path: polygon(100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 0);
	z-index: -1;
}

#works .job::after {
	content: "";
	display: inline-block;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 20px;
	height: 20px;
	background: linear-gradient(-45deg, transparent 45%, #2C5F7B 45%, #2C5F7B 60%, #D5777D 60%);
	border-top: solid 3px #2C5F7B;
	border-left: solid 3px #2C5F7B;
}

#works .looseleaf {
	position: relative;
	padding: 40px 20px 20px 20px;
	margin-top: 20px;
	font-size: 1.9rem;
	font-weight: bold;
	color: #2C5F7B;
	line-height: 2;
	border: solid 3px #2C5F7B;
	background-color: #FFF6C9;
	box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.3);
}

#works .looseleaf::before {
	content: "";
	display: block;
	position: absolute;
	top: -8px;
	left: 20px;
	width: calc(100% - 40px);
	height: 28px;
	background: url(../img/works/bg_looseleaf.svg) no-repeat center top;
	background-size: contain;
}

#works .looseleaf p {
	position: relative;
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FFF6C9 50%, #FFF6C9 100%), linear-gradient(180deg, #FAD68D 1px, transparent 1px);
	background-size: 4px 100%, 100% 2em;
}

#works .looseleaf p::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 1px;
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FFF6C9 50%, #FFF6C9 100%), linear-gradient(180deg, #FAD68D 1px, transparent 1px);
	background-size: 4px 100%, 100% 2em;
}

#works .detail {
	padding: 10px 0 0 0;
	text-align: justify;
}

#works .detail h4 {
	padding: 20px 0;
	font-size: 1.8rem;
	color: #B81C26;
}

#works .detail img {
	margin-bottom: 10px;
}


@media only screen and (min-width: 620px) {
	#works .inner {
		padding: 0;
	}

	#works .bg_wave {
		background-image: url(../img/works/bg_ship.png), url(../img/works/bg_wave.svg);
		background-repeat: no-repeat, repeat-y;
		background-position: center top 80px, center top 130px;
		background-size: auto, 1188px auto;
	}

	#works h1 {
		padding-top: 60px;
	}

	#works h1 img {
		height: 81px;
	}

	#works .box {
		padding: 90px 125px;
		margin: 60px 0;
	}

	#works .thumb {
		width: 320px;
	}

	#works .profile {
		flex-direction: row;
		align-items: start;
		justify-content: space-between;
//		align-items: end;
	}

	#works .profile > div:last-of-type {
		width: 350px;
	}

	#works .detail > div {
		display: flex;
		align-items: start;
		gap: 20px;
	}

	#works .detail > div > p {
		flex: 1;
	}

	#works .detail > div img {
		width: 320px;
	}

	#works .detail > div.img_right img {
		order: 2;
	}
}