@charset "UTF-8";

/* 一覧ページ ---------------------------------------*/
.case {
	padding: 122px 0 0;
	overflow: hidden;
}

.case-top {
	position: relative;
	padding: 0 20px;
	margin-bottom: 68px;
	z-index: 2;
}

.case-top::before {
	position: absolute;
	top: -110px;
	left: calc(50% + 432px);
	transform: translateX(-50%);
	z-index: -1;
	content: '';
}

.case-bi .case-top::before {
	width: min(calc(278 / 1280 * 100vw), 278px);
	aspect-ratio: 278 / 359;
	background: url('../img/service/bg_bi.png') no-repeat center center / contain;
}

.case-bs .case-top::before {
	width: min(calc(278 / 1280 * 100vw), 278px);
	aspect-ratio: 278 / 351;
	background: url('../img/service/bg_bs.png') no-repeat center center / contain;
}

.case-oms .case-top::before {
	width: min(calc(278 / 1280 * 100vw), 278px);
	aspect-ratio: 278 / 357;
	background: url('../img/service/bg_oms.png') no-repeat center center / contain;
}

.case-archive {
	position: relative;
	padding: 0 20px 90px;
	z-index: 1;
}

.case-archive::before {
	position: absolute;
	top: 0;
	left: 0;
	clip-path: polygon(0 70px, 100% 70px, 100% 100%, 0 100%);
	width: 100%;
	height: 100%;
	z-index: -1;
	content: '';
}

.case-bi .case-archive::before {background: #BDD9F4;}
.case-bs .case-archive::before {background: #C6EDFB;}
.case-oms .case-archive::before {background: #C6FBE8;}

.case-archive-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.667;
	letter-spacing: 0.05em;
	color: #000069;
	margin-bottom: 100px;
	margin-left: calc(100 / 1080 * 100%);
}

.case-archive-list {
	display: flex;
	/* justify-content: center; */
	flex-wrap: wrap;
	gap: 48px calc(27 / 900 * 100%);
	margin: 40px auto 0 calc(90 / 1080 * 100%);
	max-width: 900px;
}

.case-archive-list > li {
	width: calc(282 / 900 * 100%);
	height: auto;
	background: #fff;
	border-radius: 14px;
	box-shadow: 1px 4px 6px 3px rgba(0, 0, 0, 0.25);
}

.case-archive-list a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 20px 22px 30px;
}

.case-archive-list-title {
	position: relative;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.667;
	padding-left: 26px;
	margin-bottom: 6px;
}

.case-archive-list-title::before {
	position: absolute;
	top: 2px;
	left: 0;
	z-index: 1;
	width: 18px;
	height: 23px;
	mask-image: url(../img/index/icon_case_deco.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center center;
	-webkit-mask-image: url(../img/index/icon_case_deco.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	content: '';
}

.case-bi .case-archive-list-title::before {background: #1D35D3;}
.case-bs .case-archive-list-title::before {background: #1491D1;}
.case-oms .case-archive-list-title::before {background: #48C9AB;}

.case-archive-list-cat {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 2;
	color: #fff;
	width: 100%;
	padding: 0 10px;
}

.case-bi .case-archive-list-cat {background: #1D35D3;}
.case-bs .case-archive-list-cat {background: #1491D1;}
.case-oms .case-archive-list-cat {background: #48C9AB;}

.case-archive-list-image {
	width: 100%;
	margin-bottom: 8px;
}

.case-archive-list-image img {
	width: 100%;
}

.case-archive-list-taglist {
	display: flex;
	gap: 6px;
	margin-bottom: 2px;
}

.case-archive-list-taglist > li {
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	padding: 2px 10px;
	min-width: 70px;
	border-radius: 3px;
}

.case-bi .case-archive-list-taglist > li {background: #1D35D3;}
.case-bs .case-archive-list-taglist > li {background: #1491D1;}
.case-oms .case-archive-list-taglist > li {background: #48C9AB;}

.case-archive-list-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.875;
	letter-spacing: 0.05em;
	color: #000069;
}

.pager {
	margin-top: 80px;
}

.pager-list {
	display: flex;
	list-style-type: none;
	padding: 0;
	justify-content: center;
	align-items: center;
}

.pager-list li {
	margin: 0;
}

.pager-list a, .pager-list span {
	display: inline-block;
	font-size: 20px;
	font-weight: 500;
	text-decoration: none;
	color: #000069;
	text-align: center;
	margin: 0 9px;
}

.pager-list span {
	color: #1491D1;
}

.case-archive-nopost {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.05em;
	margin-left: calc(100 / 1080 * 100%);
}


/* 詳細ページ ---------------------------------------*/
.casedetail {
	padding: 100px 20px 0;
	margin-bottom: 170px;
}

.casedetail-top {

}

.casedetail-top-lead {
	position: relative;
	margin-left: calc(56 / 1080 * 100%);
	margin-bottom: 52px;
	font-size: 40px;
	font-weight: 900;
	color: #000069;
}

.casedetail-top-lead::after {
	position: absolute;
	top: 10px;
	left: 200px;
	z-index: 1;
	width: calc(calc(100% - 200px) + 50vw - 50%);
	height: 43px;
	content: '';
}

.case-bi .casedetail-top-lead::after {background: #1D35D3;}
.case-bs .casedetail-top-lead::after {background: #1491D1;}
.case-oms .casedetail-top-lead::after {background: #48C9AB;}

.casedetail-top-category {
	display: flex;
	align-items: center;
	gap: 44px;
	position: relative;
	padding-left: 58px;
	z-index: 1;
	margin: 0 auto 30px calc(58 / 1080 * 100%);
}

.casedetail-top-category::before {
	position: absolute;
	top: 10px;
	left: 0;
	z-index: 1;
	width: 41px;
	height: 49px;
	mask-image: url(../img/case/icon_category_01.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center center;
	-webkit-mask-image: url(../img/case/icon_category_01.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	content: '';
}

.case-bi .casedetail-top-category::before {background: #1D35D3;}
.case-bs .casedetail-top-category::before {background: #1491D1;}
.case-oms .casedetail-top-category::before {background: #48C9AB;}

.casedetail-top-category::after {
	position: absolute;
	top: 68px;
	left: 5px;
	z-index: 1;
	width: 27px;
	height: 7px;
	background: url(../img/case/icon_category_02.svg) no-repeat;
	background-size: contain;
	content: '';
}

.casedetail-top-category span {
	display: block;
	font-size: 48px;
	font-weight: 600;
	line-height: 1.479;
	color: #000069;
}

.casedetail-top-category small {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.479;
	letter-spacing: 0.05em;
	color: #000069;
}

.casedetail-top-image {
	position: relative;
	max-width: 600px;
	width: 100%;
	margin: 0 auto 64px calc(70 / 1080 * 100%);
}

.casedetail-top-image-taglist {
	display: flex;
	gap: 8px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.casedetail-top-image-taglist > li {
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	padding: 9px 10px;
	min-width: 165px;
	border-radius: 4px;
}

.case-bi .casedetail-top-image-taglist > li {background: #1D35D3;}
.case-bs .casedetail-top-image-taglist > li {background: #1491D1;}
.case-oms .casedetail-top-image-taglist > li {background: #48C9AB;}

.casedetail-top-image img {
	width: 100%;
}

.casedetail-title {
	position: relative;
	z-index: 1;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.667;
	letter-spacing: 0.1em;
	padding-left: 42px;
	margin: 0 auto 34px calc(70 / 1080 * 100%);
}

.casedetail-title::before {
	position: absolute;
	top: 4px;
	left: 0;
	z-index: 1;
	width: 27px;
	height: 34px;
	mask-image: url(../img/case/icon_title.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center center;
	-webkit-mask-image: url(../img/case/icon_title.svg);
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	content: '';
}

.case-bi .casedetail-title::before {background: #1D35D3;}
.case-bs .casedetail-title::before {background: #1491D1;}
.case-oms .casedetail-title::before {background: #48C9AB;}

.casedetail-subtitle {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #000069;
	margin: 0 auto 20px calc(110 / 1080 * 100%);
}

.entrybody {
	max-width: 915px;
	margin: 0 auto 0 calc(110 / 1080 * 100%);
}

.entrybody > *:first-child {margin-top: 0 !important;}

.entrybody h2 {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #000069;
	margin-top: 20px;
}

.entrybody h3 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #000069;
	margin-top: 20px;
}

.entrybody p {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.05em;
	color: #030303;
	margin-top: 20px;
}

.entrybody a {
	text-decoration: underline;
	color: #1491D1;
}

.entrybody a:hover { 
	opacity: 1;
	text-decoration: none;
}

.entrybody img {
	max-width: 100%;
	margin-top: 20px;
}

.entrybody strong,
.entrybody b { 
	font-weight: 700;
}


/* small pc */
@media screen and (min-width: 768px) and (max-width: 1279px){
	.case-top::before {
		left: calc(50% + 34%);
	}
}


/* sp only */
@media screen and (max-width: 767px){
	/* 一覧ページ ---------------------------------------*/
	.case {
		padding: 44px 0 0;
	}

	.case-top {
		padding: 0 20px;
		margin-bottom: 46px;
	}

	.case-top::before {
		top: -38px;
		left: 83%;
	}

	.case-bi .case-top::before {width: 128px;}
	.case-bs .case-top::before {width: 125px;}
	.case-oms .case-top::before {width: 126px;}

	.case-archive {
		padding: calc(40 / 393 * 100vw) 14px 106px;
	}

	.case-archive::before {
		clip-path: polygon(0 0, 100% 4.8vw, 100% 100%, 0 100%);
	}

	.case-archive-title {
		margin-bottom: 30px;
		margin-left: 0;
		padding-left: 26px;
	}

	.case-archive-list {
		display: block;
		margin: 32px auto 0;
		max-width: unset;
	}

	.case-archive-list > li {
		width: 100%;
		border-radius: 9px;
	}

	.case-archive-list > li + li {
		margin-top: 20px;
	}

	.case-archive-list a {
		display: flex;
		gap: calc(20 / 327 * 100%);
		padding: 20px 24px 20px 14px;
	}

	.case-archive-list-title {
		font-size: 16px;
		line-height: 1.225;
		padding-left: 18px;
		margin-bottom: 12px;
	}

	.case-archive-list-title::before {
		top: 0;
		width: 12px;
		height: 16px;
	}

	.case-archive-list-cat {
		font-size: 12px;
		width: 100%;
		padding: 0 10px;
	}

	.case-archive-list-image {
		width: 100%;
		min-height: 85px;
		height: calc(100% - 24px);
		margin-bottom: 0;
	}

	.case-archive-list-image img {
		height: 100%;
		object-fit: cover;
	}

	.case-archive-list-text {
		font-size: 14px;
		line-height: 1.714;
	}

	.case-archive-list-imageblock {
		width: max(calc(95 / 327 * 100%), 95px);
		flex-shrink: 0;
	}

	.case-archive-list-block {
		flex: 1;
	}

	.case-archive-nopost {
		font-size: 16px;
		margin-left: 26px;
	}


	/* 詳細ページ ---------------------------------------*/
	.casedetail {
		padding: 38px 20px 0;
		margin-bottom: 100px;
	}

	.casedetail-top {

	}

	.casedetail-top-lead {
		margin-left: 0;
		margin-bottom: 20px;
		font-size: 28px;
	}

	.casedetail-top-lead::after {
		top: 6px;
		left: 136px;
		width: calc(calc(100% - 136px) + 20px);
		height: 30px;
	}

	.casedetail-top-category {
		display: block;
		padding-left: 46px;
		margin: 0 auto 30px 8px;
	}

	.casedetail-top-category::before {
		top: 4px;
		width: 32px;
		height: 39px;
	}

	.casedetail-top-category::after {
		top: 50px;
		left: 5px;
        width: 22px;
        height: 6px;
	}

	.casedetail-top-category span {
		font-size: 37px;
	}

	.casedetail-top-category small {
		font-size: 18.5px;
	}

	.casedetail-top-image {
		max-width: unset;
		width: 100%;
		margin: 0 auto 20px;
	}

	.casedetail-top-image-taglist {
		gap: 6px;
	}

	.casedetail-top-image-taglist > li {
		font-size: 14px;
		padding: 5px 10px;
		min-width: 110px;
	}

	.casedetail-title {
		font-size: 24px;
		padding-left: 28px;
		margin: 0 auto 20px;
	}

	.casedetail-title::before {
		top: 5px;
		width: 22px;
		height: 28px;
	}

	.casedetail-subtitle {
		font-size: 20px;
		margin: 0 auto 10px;
	}

	.entrybody {
		max-width: unset;
		margin: 0 auto;
	}

	.entrybody h2 {
		font-size: 20px;
	}

	.entrybody h3 {
		font-size: 16px;
	}

	.entrybody p {
		font-size: 16px;
	}

}




/* iphone5 iphoneSE用 */
@media screen and (max-width: 370px){

}