@charset "utf-8";
/* CSS Document */

#lower-image {
	background: url(../../images/main_image.jpg) center top;
	background-size: cover;
}


:where(.lower-contents .main-contents) h2 {
	margin-bottom: 1em;
	font-weight: bold;
	color: var(--color-link);
}

:where(.lower-contents .main-contents) h3,
:where(.lower-contents .main-contents) h4,
:where(.lower-contents .main-contents) h5 {
	color: inherit;
	margin-bottom: 1em;
	font-weight: bold;
}

@media screen and (min-width: 1280px) {
	:where(.contents-area) section h3 {
		font-size: 1.7rem;
	}
}

/* ------------------------------------------------------- */


.workContents {
	counter-reset: worknum;
	display: flex;
	flex-wrap: wrap;
	gap: 30px 20px;
}

.workContents__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: calc(50% - 10px);
	font-feature-settings: "palt";
	font-size: 95%;
}

.workContents__item::before {
	position: absolute;
	inset: 0 auto auto 0;
	content: counter(worknum, decimal-leading-zero);
	counter-increment: worknum;
	display: block;
	width: fit-content;
	height: fit-content;
	padding: 3px 15px 15px 3px;
	margin: auto;
	line-height: 1;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 0 0 40px 0;
	border-right: 1px solid rgba(0,0,0,0.2);
	border-bottom: 1px solid rgba(0,0,0,0.2);
	background-color: #fff;
	transform: translate(-33.333%, -33.333%);
	z-index: 2;
}

.workContents__img {
}

.workContents__img img {
	display: block;
	width: 100%;
	border-radius: 5px;
}



@media screen and (min-width: 768px) {
	.workContents {
		gap: 30px;
	}
	
	.workContents__item {
		width: calc(33.333% - 20px);
	}
}

@media screen and (min-width: 1280px) {
	.workContents {
		
	}
	
	.workContents__item {
		width: calc(25% - 23px);
	}
}


/* ------------------------------------------------------- */


.case-outer {
	counter-reset: casenum;
}

.case {
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 30px;
	padding-left: 20px;
	box-sizing: border-box;
	border-top: 1px solid rgba(0,0,0,0.25);
	border-left: 1px solid rgba(0,0,0,0.25);
}

@media screen and (min-width: 768px) {
	.case {
		padding-top: 40px;
		padding-left: 40px;
	}
	
	.case + .case {
		margin-top: 40px;
	}
}

@media screen and (min-width: 1600px) {
	.case {
		padding-top: 50px;
		padding-left: 50px;
	}
	
	.case + .case {
		margin-top: 50px;
	}
}


/* ------------------------ */


.case__item {
	display: flex;
	flex-direction: column;
	gap: 35px;
}

@media screen and (min-width: 1280px) {
	.case__item {
		gap: 50px;
	}
}


/* ------------------------ */


.case__ttl {
	display: flex;
	gap: 10px;
	margin-bottom: 0;
}

.case__ttl::before {
	content: "Case " counter(casenum);
	counter-increment: casenum;
	display: block;
	width: fit-content;
	padding: 6px 12px;
	margin: 0;
	line-height: 1;
	font-size: 1.2rem;
	border-radius: 15px;
	color: #fff;
	background-color: var(--color-link);
	text-transform: uppercase;
	white-space: nowrap;
}


/* ------------------------ */


.caseImg {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

@media screen and (min-width: 768px) {
	.caseImg {
		flex-direction: row;
		gap: 40px;
	}
}

.caseImg img {
	display: block;
	width: 80%;
	max-width: 140px;
	margin-right: auto;
	margin-left: auto;
}

.caseImg__item {
	position: relative;
	width: 100%;
	padding: 25px;
	box-sizing: border-box;
	border-radius: 10px;
	background-color: #F7F5F2;
	text-align: center;
}

.caseImg__item > * {
	margin-top: 10px;
}

.caseImg__item > *:first-child {
	margin-top: 0;
}

.caseImg__item + *::before {
	--size: 30px;
	position: absolute;
	inset: 0 0 auto;
	content: "";
	display: block;
	width: var(--size);
	height: var(--size);
	margin: auto;
	z-index: 1;
	background: #fff url(/common/images/flow_arrow.png) center no-repeat;
	background-size: contain;
	transform: translateY(calc(-50% - 10px));
	mix-blend-mode: multiply;
	filter: grayscale(1);
}

.caseImg--before {
	
}

.caseImg__ttl {
	margin: auto;
	font-weight: bold;
	position: absolute;
	left: 15px;
	top: 15px;
	border: 1px solid rgba(0,0,0,0.2);
	border-left: none;
	border-top: none;
	border-radius: 0 0 5px;
	padding: 5px 10px;
	letter-spacing: 0.1em;
	font-size: 85%;
}

.caseImg__des {
	font-size: 90%;
}

.caseImg--after {
	
}

@media screen and (min-width: 768px) {
	.caseImg__item {
		padding: 40px;
		width: 50%;
	}
	
	.caseImg__item + *::before {
		--size: 50px;
		inset: 0 auto 0 0;
		transform: rotate(-90deg) translateY(calc(-50% - 20px));
	}
	
	.caseImg img {
		
	}
}

@media screen and (min-width: 1280px) {
	.caseImg__item {
		padding: 40px;
	}
	
	.caseImg img {
		max-width: 240px
	}
}


/* ------------------------ */


.caseFaq {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.caseFaq__item {
	
}

.caseFaq__q {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	font-weight: bold;
	font-style: italic;
	color: var(--color-link);
	margin-bottom: 0.25em;
}

.caseFaq__q::before {
	content: "Q.";
	font-family: "Open Sans", sans-serif;
}

.caseFaq__a {
	padding-left: 1.55em;
}

.caseFaq__a > * {
	margin-bottom: 1em;
}

@media screen and (min-width: 1280px) {
	.caseFaq {
		gap: 25px;
	}
	.caseFaq__a {
		padding-left: 1.8em;
	}
}


/* ------------------------ */


.caseComment {
	position: relative;
	padding: 25px;
	box-sizing: border-box;
	border-radius: 10px;
	border: 1px solid rgba(0,0,0,0.25);
	color: #555;
}

.caseComment__ttl {
	position: absolute;
	inset: 0 auto auto 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 0 10px;
	transform: translateY(-50%);
	background-color: #fff;
}

.caseComment__ttl .icon {
	width: 20px;
	height: 20px;
	stroke-width: 1.3;
}

.caseComment__txt {
	text-align: justify;
	font-size: 90%;
}

.caseComment__img {
	float: right;
	margin-top: -5px;
	margin-right: -5px;
	margin-bottom: 10px;
	margin-left: 20px;
}

.caseComment__img img {
	display: block;
	width: 100%;
	max-width: 80px;
	mask-image: url(../images/mask_profileimg.svg);
}

@media screen and (min-width: 768px) {
	.caseComment {
		padding: 40px;
		margin-left: 100px;
	}
	
	.caseComment__ttl {
		inset: 0 auto auto 30px;
	}
	
	.caseComment__img {
		position: absolute;
		left: -110px;
		bottom: 0;
		float: none;
		margin: 0;
	}
	
	.caseComment__img::before {
		position: absolute;
		inset: 0 -40px 0 auto;
		margin: auto;
		z-index: 1;
		content: "";
		display: block;
		width: 20px;
		height: 20px;
		border: 1px solid rgba(0,0,0,0.5);
		border-right: none;
		border-bottom: none;
		transform: scale(1, 0.5) rotate(-45deg);
		background-color: #fff;
		border-radius: 5px 0 0 0;
	}
}


/* -------------------------------------------------------------------------------------------- */


.flow {
	padding: 0;
	list-style: none;
	counter-reset: countnum;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.flow li {
	position: relative;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding: 25px 0;
	margin: 0 !important;
}

.flow li:after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	width: 16px;
	height: 16px;
	margin: auto;
	padding: 0 15px;
	z-index: 1;
	background: #fff url(/common/images/flow_arrow.png) center no-repeat;
	background-size: contain;
	transform: translateY(50%);
}

.flow > *:last-child:after {
	display: none !important;
}

.flow .ttl {
	display: flex;
	font-size: inherit;
	font-weight: normal;
}

.flow .ttl::before {
	content: counter(countnum);
	counter-increment: countnum;
	display: inline-block;
	width: 20px;
	margin-right: 10px;
	padding: 0 ;
	text-align: left;
	font-weight: bold;
	color: var(--color-link);
	flex-shrink: 0;
}


/* -------------------------------------------------------------------------------------------- */


.interviewList {
	counter-reset: interviewnum;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

@media (min-width: 768px) {
	.interviewList {
		
	}
}

@media (min-width: 1280px) {
	.interviewList {
		
	}
}


.interviewList__item {
	position: relative;
	inset: 0;
	width: 100%;
}

.interviewList__item::before {
	position: absolute;
	content: "";
}

@media (min-width: 768px) {
	.interviewList__item {
		width: calc(50% - 20px);
	}
}

@media (min-width: 1280px) {
	.interviewList__item {
		width: calc(33.333% - 20px);
	}
}

@media (min-width: 1600px) {
	.interviewList__item {
		width: calc(25% - 20px);
	}
}



.interviewList__anchor {
	position: relative;
	display: flex;
	align-items: center;
	opacity: 0.8;
	border-radius: 5px;
}

.interviewList__anchor::after {
	position: absolute;
	inset: 0;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	opacity: 0.15;
	border-radius: 5px;
	pointer-events: none;
}

a.interviewList__anchor {
	opacity: 1;
	text-decoration: none;
	filter: none;
	box-shadow: 8px 8px 16px rgba(0,0,0,.1), 0 0px 13px 0px rgba(0,0,0,0.05);
}

a.interviewList__anchor::before {
	background-color: var(--color-link);
}

a.interviewList__anchor::after {
	border: 1px solid;
	transition: 0.2s ease;
	opacity: 0.2;
}

a:hover.interviewList__anchor {
	background-color: var(--color-link);
	color: #fff;
	box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}

a.interviewList__anchor:hover::after {
	border-color: var(--color-link);
	opacity: 1;
}

@media (min-width: 1280px) {
	.interviewList__anchor {
		flex-direction: column;
	}
}


.interviewList__img {
	width: 40%;
	max-width: 100px;
	background-color: var(--color-link);
	border-radius: 5px;
	overflow: hidden;
}

a .interviewList__img {
	border-radius: 5px 0 0 5px;
}

.interviewList__img img {
	display: block;
	width: 100%;
	transition: 0.6s cubic-bezier(.17,.84,.44,1);
}

a:hover .interviewList__img img {
	opacity: 0.7;
	transform: scale(1.05);
}


.interviewList__ttl {
	display: flex;
	align-items: baseline;
	flex-grow: 1;
	width: 60%;
	padding: 5px 15px;
	box-sizing: border-box;
	line-height: 1.6;
	font-weight: bold;
	font-size: 90%;
	font-feature-settings: "palt";
}

.interviewList__ttl::before {
	content: "#" counter(interviewnum, decimal-leading-zero) "";
	counter-increment: interviewnum;
	display: inline-block;
	line-height: 1;
	font-weight: bold;
	border-radius: 0;
	border-right: 1px solid;
	padding-right: 8px;
	margin-right: 8px;
}

a .interviewList__ttl {
	padding: 5px 15px;
}

a .interviewList__ttl::after {
	position: absolute;
	inset: auto 0 0 auto;
	display: flex;
	align-items: center;
	content: "詳しく見る";
	width: fit-content;
	margin-top: 5px;
	padding: 3px 10px;
	border-radius: 10px;
	background-color: #555;
	color: #fff;
	z-index: 1;
	font-size: 1.0rem;
	transform: translate(0.75em, 33.333%);
	transition: 0.2s cubic-bezier(.17,.84,.44,1);
	box-shadow: 10px 10px 20px rgba(0,0,0,.1);
}

a:hover .interviewList__ttl::after {
	transform: translate(1.5em, 33.333%);
	background-color: var(--color-link);
}

@media (min-width: 1280px) {
	.interviewList__img {
		max-width: 100%;
		width: 100%;
	}
	
	a .interviewList__img {
		border-radius: 5px 5px 0 0;
	}
	
	.interviewList__img img {
		
	}
	
	.interviewList__ttl {
		width: 100%;
		padding: 15px 0;
		font-size: inherit;
	}
	
	a .interviewList__ttl {
		padding: 20px 15px;
	}
}
