@charset "UTF-8";

/*
---------------------------------------
一覧
---------------------------------------
*/
.achievement-nav {
	margin-top: 10rem;
	padding: 0 20px;
}

.achievement-nav .flex {
	gap: 4rem;
}

.achievement-btn {
	flex: 1;
}

.achievement-btn a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 8rem;
	background: #808080;
	border-radius: 15px 15px 0 0;
	text-align: center;
	cursor: pointer;
	transition: .2s;
}

.achievement-btn a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	width: 3rem;
	height: 4px;
	background: #fff;
	border-radius: 2px 2px 0 0;
	margin: auto;
	opacity: 0;
	transition: .2s;
}

.achievement-btn:nth-child(2) a::after {
	width: 5rem;
	height: 6px;
}

.achievement-btn:nth-child(1) a:hover,
.achievement-btn:nth-child(1).active a {
	background-color: #e74921;
}

.achievement-btn:nth-child(2) a:hover,
.achievement-btn:nth-child(2).active a {
	background-color: #0f91ce;
}

.achievement-btn a:hover::after,
.achievement-btn.active a::after {
	opacity: .5;
}

.achievement-btn.active a {
	pointer-events: none;
}

.achievement-btn p {
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3125;
}

.archive-cat-nav {
    padding: 4rem 20px 0;
}

.archive-cat-nav .flex {
    justify-content: center;
    gap: 3rem;
}

.archive-cat-nav-pulldown {
    position: relative;
    flex: 1;
    max-width: 38rem;
}

.archive-cat-nav-pulldown::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 40px;
    height: 100%;
    background: #222 url(../img/case/sort-down.svg) center top 54% / 12px no-repeat;
    border-radius: 0 10px 10px 0;
    pointer-events: none;
}

.archive-cat-nav-pulldown select {
    display: block;
    width: 100%;
    height: 7rem;
    background: #fafafa;
    border: solid 2px #ebebeb;
    border-radius: 10px;
	color: #222;
	font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 0 2.2rem;
	text-overflow: ellipsis;
    cursor: pointer;
}

.case-list-container {
	padding: 0 20px;
}

.case-list-container .inner {
	background: #fff;
	border-radius: 0 0 15px 15px;
	padding: 0 5rem 5rem;
}

.case-box-ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 4.1rem 4rem;
	margin-top: 4.8rem;
}

.case-box-ul:has(.result) {
	gap: 5.75rem 4rem;
}

.case-box-li a {
	display: block;
	height: 100%;
}

.case-box-li.case a {
	background: #f7f7f7;
}

.case-box-li .img {
	position: relative;
	width: 100%;
	aspect-ratio: 340 / 240;
	background: #fff;
	overflow: hidden;
}

.case-box-li.case .img {
	aspect-ratio: 756 / 420;
}

.case-box-li .img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .4s;
}

.case-box-li .img img.default {
	border: solid 1px #ebebeb;
}

.case-box-li a:hover img {
	transform: scale(1.05);
}

.case-box-li .result-info {
	position: relative;
	padding: 2.6rem 0 0;
}

.case-box-li .category {
	position: absolute;
	left: 0;
	top: -2.1rem;
	display: block;
	border-radius: 0 36px 36px 0;
	max-width: 100%;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	padding: .4rem 1.4rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	z-index: 1;
}

.case-box-li.result .category {
	background: #e74921;
}

.case-box-li.case .category {
	background: #0f91ce;
	top: -1rem;
}

.case-box-li .result-info .name {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	transition: .2s;
}

.case-box-li a:hover .result-info .name {
	color: #e74921;
}

.case-box-li .result-info .industry {
	color: #666;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.5;
	margin-top: .4rem;
}

.case-box-li .case-info {
	position: relative;
	padding: 4.1rem 1.5rem 1.5rem;
}

.case-box-li .case-info .ttl {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.57625;
	padding: 0 1rem 0 1.5rem;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: .2s;
}

.case-box-li a:hover .case-info .ttl {
	color: #0f91ce;
}

.case-box-li .case-info .service {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	margin-top: 3rem;
	padding: 2.4rem 1rem 2.1rem;
}

.case-box-li .case-info .service h4 {
	position: absolute;
	top: -1.4rem;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 10rem;
	height: 3rem;
	background: #222;
	border-radius: 30px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: auto;
	text-align: center;
}

.case-box-li .case-info .service p {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: center;
}

.case-box-li .case-info .service p span {
	display: inline-block;
}

.case-box-li .case-info .achievement {
	display: flex;
	gap: 1rem;
	margin-top: 3rem;
}

.case-box-li .case-info .service + .achievement {
	margin-top: 1rem;
}

.case-box-li .case-info .achievement-item {
	flex: 1;
}

.case-box-li .case-info .achievement-item dt {
	background: #ffede8;
	font-size: 1.51rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
	padding: .3rem 0;
	text-align: center;
}

.case-box-li .case-info .achievement-item dd {
	background: #fff;
	color: #e74921;
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1;
	padding: .5rem 0 1rem;
	text-align: center;
}

.case-box-li .case-info .achievement-item dd .num {
	font-size: 3.6rem;
	vertical-align: -2px;
}

section.service_seminar_banner {
	margin-top: 10rem;
}

@media screen and (max-width: 1200px) {
	section.service_seminar_banner {
        margin-bottom: 80px;
    }

	.case-box-li .case-info .achievement-item dd {
		font-size: 1.8rem;
	}

	.case-box-li .case-info .achievement-item dd .num {
		font-size: 3.2rem;
	}
}

@media screen and (max-width: 960px) {
	.case-list-container .inner {
		padding: 0 20px 5rem;
	}

	.achievement-nav {
		margin-top: 14rem;
	}

	.case-box-ul {
		gap: 4.1rem 2rem;
	}
}

@media screen and (max-width: 960px) and (min-width: 750px) {
	.case-box-li .case-info .achievement {
		flex-direction: column;
	}
}

@media screen and (max-width: 750px) {

	.achievement-nav {
		margin-top: 30px;
		padding: 0 20px;
	}

	.achievement-nav .flex {
		gap: 20px;
	}

	.achievement-btn a {
		height: 60px;
		border-radius: 7.5px 7.5px 0 0;
	}

	.achievement-btn a::after {
		display: none;
	}

	.achievement-btn p {
		font-size: 15px;
		letter-spacing: 0;
	}

    .archive-cat-nav {
        padding-top: 20px;
    }

    .archive-cat-nav .flex {
        flex-direction: column;
        gap: 10px;
    }

    .archive-cat-nav-pulldown {
        flex: auto;
        width: 100%;
        max-width: unset;
    }

    .archive-cat-nav-pulldown::after {
        border-radius: 0 5px 5px 0;
    }

    .archive-cat-nav-pulldown select {
        height: 50px;
        border-radius: 5px;
		font-size: 14px;
        padding: 0 13px;
    }

	.case-list-container {
		padding: 0;
	}

	.case-list-container .inner {
		padding: 0 0 36px;
		border-radius: 0;
	}

	.case-box-ul {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 30px;
		padding: 0 20px;
	}

	.case-box-ul:has(.result) {
		gap: 40px;
	}

	.case-box-li .result-infox {
		padding-top: 26px;
	}

	.case-box-li .category {
		top: -21px;
		font-size: 14px;
		padding: 4px 14px;
	}

	.case-box-li.case .category {
		top: -8px;
	}

	.case-box-li .result-info .name {
		font-size: 18px;
	}

	.case-box-li .result-info .industry {
		font-size: 14px;
		margin-top: 4px;
	}

	.case-box-li .case-info {
		padding: 42px 15px 15px;
	}

	.case-box-li .case-info .ttl {
		font-size: 18px;
		padding: 0 10px 0 15px;
	}

	.case-box-li .case-info .service {
		margin-top: 31px;
		padding: 23px 10px 22px;
	}

	.case-box-li .case-info .service h4 {
		top: -14px;
		width: 100px;
		height: 29px;
		font-size: 14px;
	}

	.case-box-li .case-info .service p {
		font-size: 16px;
	}

	.case-box-li .case-info .achievement {
		gap: 10px;
		margin-top: 30px;
	}

	.case-box-li .case-info .service + .achievement {
		margin-top: 10px;
	}

	.case-box-li .case-info .achievement-item dt {
		font-size: 14px;
		padding: 4px 0;
	}

	.case-box-li .case-info .achievement-item dd {
		font-size: 20px;
		padding: 4px 0 10px;
	}

	.case-box-li .case-info .achievement-item dd .num {
		font-size: 35px;
		vertical-align: -2px;
	}

	section.service_seminar_banner {
		margin-top: 50px;
        margin-bottom: 14vw;
    }
}