@charset "utf-8";

/* ========================================================
	office.css
======================================================== */

/* office_contents
============================================================================================================ */
.office_contents {
	position: relative;
	font-weight: bold;
	font-size: 2.4rem;
	line-height: 1.5;
}
.office_contents > * {
	position: relative;
	background-color: #fff;
}
.office_contents .txt {
	position: relative;
	padding-left: 90px;
}
.office_contents .txt::before,
.office_contents .txt::after {
	content: "";
	position: absolute;
	right: 520px;
	border-left: 2px solid;
}
.office_contents .img > span {
	position: relative;
	overflow: hidden;
	display: inline-block;
}
.office_contents .office01::before {
	content: "";
	display: block;
	height: 100px;
	background-color: #153380;
	border-right: 100px solid #bf000f;
}
.office_contents .office01 .txt {
	padding-top: 30px;
	margin-bottom: 40px;
}
.office_contents .office01 .txt::before {
	top: -50px;
	height: 50px;
	border-left-color: #fff;
}
.office_contents .office01 .txt::after {
	top: 0;
	bottom: 5px;
	border-left-color: #153380;
}
.office_contents .office01 .img.s {
	margin-top: 50px;
	text-align: right;
}
.office_contents .office02 .img.s {
	margin-bottom: 50px;
}
.office_contents .office02 .img.l {
	position: relative;
	z-index: 2;
}
.office_contents .office02 .img.l::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 70%;
	background-color: #ededed;
	z-index: -1;
}
.office_contents .office02 .txt {
	margin-top: 40px;
	padding-bottom: 30px;
}
.office_contents .office02::after {
	content: "";
	display: block;
	height: 100px;
	background-color: #ededed;
	border-left: 100px solid #bf000f;
}
.office_contents .office02 .txt::before {
	bottom: -50px;
	height: 50px;
	border-left-color: #fff;
}
.office_contents .office02 .txt::after {
	top: 5px;
	bottom: 0;
	border-left-color: #bf000f;
}
@media screen and (min-width: 768px), print {
	.office_contents {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}
	.office_contents > * {
		width: 50%;
	}
	.office_contents .img.s {
		width: 520px;
	}
	.office_contents .office02 {
		padding-top: 50px;
	}
	.office_contents .office02 .img.l {
		text-align: right;
	}
	.office_contents .office02 .img.s {
		margin-left: auto;
	}
}
@media screen and (max-width: 767px) {
	.office_contents {
		font-size: 1.8rem;
		line-height: 1.6;
	}
	.office_contents .txt {
		position: relative;
		padding-left: 50px;
	}
	.office_contents .txt::before,
	.office_contents .txt::after {
		right: auto;
		left: 7vw;
	}
	.office_contents .office01::before {
		height: 50px;
		border-right-width: 50px;
	}
	.office_contents .office01 .txt {
		padding-top: 20px;
		margin-bottom: 30px;
	}
	.office_contents .office01 .txt::before {
		top: -25px;
		height: 25px;
	}
	.office_contents .office01 .txt::after {
		bottom: 4px;
	}
	.office_contents .office01 .img.s {
		margin-top: 30px;
		width: 48%;
		text-align: left;
	}
	.office_contents .office02 {
		background: none;
	}
	.office_contents .office02 .img.s {
		width: 48%;
		margin-top: -20vw;
		margin-left: auto;
		margin-bottom: 30px;
	}
	.office_contents .office02 .img.l::before {
		left: -5vw;
	}
	.office_contents .office02 .txt {
		margin-top: 30px;
		padding-bottom: 20px;
	}
	.office_contents .office02::after {
		height: 50px;
		border-left-width: 50px;
	}
	.office_contents .office02 .txt::before {
		bottom: -25px;
		height: 25px;
	}
	.office_contents .office02 .txt::after {
		top: 4px;
	}
}

/* mov_show
============================================================================================================ */
@media screen {
	.office_contents .txt span {
		display: block;
		opacity: 0;
	}
	.office_contents .office01 .txt span {
		transform: translateX(20px);
	}
	.office_contents .office02 .txt span {
		transform: translateX(-20px);
	}
	.office_contents .txt.showed span {
		transition: opacity 0.6s, transform 0.6s;
		transform: translateX(0) !important;
		opacity: 1;
	}

	.office_contents .img > span {
		opacity: 0;
	}
	.office_contents .img > span img {
		transform: scale(1.1);
	}
	.office_contents .img.showed > span {
		transition: opacity 0.8s .3s;
		opacity: 1;
	}
	.office_contents .img.showed > span img {
		transition: transform 1s .3s;
		transform: scale(1);
	}

	.office_contents .office01 .img.s > span img {
		transform: scale(2);
	}
	.office_contents .office01 .img.s.showed > span img {
		transform: scale(1.5);
	}
	.office_contents .office01 .img.s.showed.suisou_mov > span img {
		transition: transform 1.3s 0.8s ease-in-out;
		transform: scale(1);
	}
}