@charset "utf-8";

/* 共通 ================================================== */
:root {
	--white: #fff;
	--blue-1: #2074FE;
	--blue-2: #00E4FF;

	--bg-1: #ECF1F5;
	--bg-2: #FFF0D9;
	--bg-3: #FFFAD9;	

	--fs-b: 23px;
	--fs-m: 20px;
	--fs-s: 15px;
	--fs-ss: 13px;

	--hover-t: all 0.3s ease;
}

/* ヘッダー画像 ================================================== */
main h2 {
	background: url(../interview/title_bg-new_pc.jpg) no-repeat center #2f9afe;
	& br { display: none; }
	}

#main {
	max-width: 700px;
	padding-bottom: 3rem;
}

/* 新入社員 =============================================== */
.new {
	display: flex;
	align-items: end;
	gap: 8%;
	justify-content: center;
	position: relative;
	margin: -1rem auto 3rem;
	text-align: center;
	&::before {
		content: "";
		background: linear-gradient(145deg, var(--blue-1) 10%, var(--blue-2) 90%);
		border-radius: 10px;
		position: absolute;
		bottom: 0;
		width: 100%;
		height: 100px;
		z-index: -1;
		}
}

/* 新入社員 画像 */
.new picture {
	display: flex;
}

/* 新入社員 テキスト */
.new p {
	color: var(--white);
	font-size: var(--fs-m);
	font-weight: 600;
	letter-spacing: 0.1rem;
	margin-bottom: 1.3rem;
	position: relative;
	& span {
		display: block;
		margin-bottom: 0.25rem;
		font-size:   var(--fs-ss);
		line-height: var(--fs-ss);
	}
	&::before, &::after {
		content: "";
		background: url(../interview/new-3.svg) no-repeat center / contain;
		position: absolute;
		bottom: 0;
		width: 30px;
		height: 60px;
	}
	&::before {
		left: -3rem;
	}
	&::after {
		transform: scale(-1,1);
		right: -3rem;
	}
}

/* 吹き出し 共通 ================================================== */
.txt-Q,
.txt-A {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1rem;
	width: 100%;
	& p {
		position: relative;
		padding: 0.5rem 1.5rem;
		border-radius: 2rem;
		background: var(--bg-1);
		&::after {
			content: "";
			border: 8px solid transparent;
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			border: 8px solid transparent;
		}
	}
}

/* 吹き出し 質問 ================================================== */
.txt-Q {
	& .txt {
		display: grid;
		grid-template-columns: auto;
		gap: 0.5rem;
	}
	& p {
		background: var(--bg-1);
		&::after {
			left: -19px;
			border-right: 15px solid var(--bg-1);
		}
	}
}

/* 吹き出し 回答 ================================================== */
.txt-A {
	justify-content: right;
	& .txt { text-align: end; }
	& p {
		background: var(--bg-2);
		display: inline-block;
		text-align: left;
		&::after {
			right: -19px;
			border-left: 15px solid var(--bg-2);
		}
	}
}

/* 吹き出し 回答 二個 */
.come2 p:last-child { margin-top: 0.5rem; }

/* 吹き出し 回答 二人目 */
.txt-A .bg-2 p {
	background: var(--bg-3);
	&::after {
		border-left: 15px solid var(--bg-3);
	}
}

/** ==========================================================================================
/** タブレット
=============================================================================================*/
@media screen and (max-width: 900px){
	/* ヘッダー画像 ================================================== */
	main h2 {background-size: cover;}

}

/** ==========================================================================================
/** スマートフォン
=============================================================================================*/
@media screen and (max-width: 768px){
	/* ヘッダー画像 ================================================== */
	main h2 {
		height: 125px;
		line-height: 1.2em;
		background: url(../interview/title_bg-new_sp.jpg) no-repeat center #2f9afe;
		background-size: 100%;
		& span {
			padding: 30px 0 0;
			display: block;
		}
		& br {display: block;}
	}


	/* 新入社員 =============================================== */
	/* 新入社員 画像 */
	.new picture img { width: 120px; }

}

/** ==========================================================================================
スマートフォン 500px
=============================================================================================*/
@media screen and (max-width: 500px){
	#main {
	padding-bottom: 0;
	}

	/* 新入社員 =============================================== */
	.new {
		background: linear-gradient(145deg, var(--blue-1) 10%, var(--blue-2) 90%);
		border-radius: 10px;
		gap: 8%;
		flex-wrap: wrap;
		margin: 0 auto 3rem;
		padding: 1.5rem 1rem 0;
		&::before {
			content: none;
		}
	}
	/* 新入社員 テキスト */
	.new p {
		margin-bottom: 0.5rem;
		width: 65%;
		order: -1;
		&::before, &::after {
			content: "";
			background: url(../interview/new-3.svg) no-repeat center / contain;
			position: absolute;
			bottom: 0;
			width: 30px;
			height: 60px;
		}
		&::before { left: 0; }
		&::after  { right: 0; }
	}

	/* 吹き出し 共通 =========================================== */
	section {
		& img {
			width: 50px;
		}
	}
	/* 吹き出し 質問 =========================================== */
	.txt-Q { margin-top: 2rem; }

	/* 吹き出し 回答 =========================================== */
	/* 吹き出し 回答 二個 */
	.come2 { align-items: flex-start; }
}