@charset "UTF-8";

/*
---------------------------------------
一覧
---------------------------------------
*/

.case .page-header::before {
	content: '';
	position: absolute;
  	right: max(calc((100vw - 1200px) / 2),20px);
  	top: 425px;
	display: block;
	width: min(27.66vw,343px);
	height: auto;
	aspect-ratio: 343 / 211;
	background: url(../img/case/main_img.png) center / contain no-repeat;
  	transform: translateY(-50%);
}

.case.list .wp-pagenavi a:hover {
	background-color: #e74921;
	border-color: #e74921;
}

@media screen and (max-width: 750px) {
    .case .page-header::before {
        top: 67.8vw;
		right: 1.25vw;
        width: 27vw;
	}
}

/*
---------------------------------------
詳細
---------------------------------------
*/

.case-content-wrap {
    margin-top: 8rem;
    padding: 0 20px;
}

.case-content-box {
    position: relative;
    background: #fff;
    border: solid 8px #fafafa;
    border-radius: 30px;
    padding: 4.8rem 4.2rem 4.7rem;
}

.case-content-box::before {
	content: '';
	position: absolute;
	top: -1.3rem;
	left: 0;
	right: 0;
	display: block;
	width: 12.3rem;
	height: 2rem;
	background: url(../img/common/clip.svg) center / contain no-repeat;
	margin: auto;
}

.case-overview .achievement-list {
    display: flex;
    justify-content: space-around;
    padding: 0 2rem;
}

.case-overview .achievement-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 11.2rem;
    background: left center / 11.2rem no-repeat;
    padding-left: 12.8rem;
    padding-bottom: 1rem;
}

.case-overview .achievement-item.access {
    background-image: url(../img/case/icon-access.png);
}

.case-overview .achievement-item.success {
    background-image: url(../img/case/icon-success.png);
}

.case-overview .achievement-item.sales {
    background-image: url(../img/case/icon-sales.png);
}

.case-overview .achievement-item dt {
    font-size: 1.8rem;
    font-weight: 500;
}

.case-overview .achievement-item dd {
    color: #e74921;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
}

.case-overview .achievement-item dd .num {
	font-family: "Outfit", sans-serif;
    font-size: 3.8rem;
    vertical-align: -.05em;
}

.case-overview .client-info {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 5rem;
}

.case-overview .client-info .data {
    flex: 1;
    display: grid;
    grid-template-columns: 14rem 1fr;
    border-top: solid 1px #e6e6e6;
    margin-bottom: 4rem;
}

.case-overview .client-info .data dt,
.case-overview .client-info .data dd {
    border-bottom: solid 1px #e6e6e6;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 2.3rem 0 2.7rem;
}

.case-overview .client-info .data dt {
    color: #e74921;
    padding-right: 3.5rem;
    text-align: center;
}

.case-overview .client-info .data dd a {
    color: #e74921;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.case-overview .client-info .site-ss {
    flex: 0 0 48rem;
    margin-bottom: 3.3rem;
}

.case-overview .client-info .site-ss img {
    display: block;
    width: 100%;
    height: auto;
}

.case-overview .theme p {
    letter-spacing: 0;
    font-weight: 500;
}

.case-sec-ttl {
    position: relative;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: solid 2px #e74921;
    margin-bottom: 2rem;
    padding: 0 0 2.3rem 5.7rem;
}

.case-sec-ttl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.case-background {
    margin-top: 5.5rem;
}

.case-background .case-sec-ttl::before {
    width: 4.2rem;
    height: 4.2rem;
    background: url(../img/case/icon-bg.png) center / contain no-repeat;
}

.case-background .txt {
    letter-spacing: 0;
    font-weight: 500;
}

.case-initiative {
    margin-top: 6rem;
}

.case-initiative .case-sec-ttl::before {
    left: 3px;
    width: 3.8rem;
    height: 3.8rem;
    background: url(../img/case/icon-initiative.png) center / contain no-repeat;  
}

.case-initiative {
    counter-reset: initiative-num;
}

.case-initiative .initiative-list {
    margin-top: 2.8rem;
}

.case-initiative .initiative-item {
    counter-increment: initiative-num;
}

.case-initiative .initiative-item:not(:first-child) {
    margin-top: 5rem;
}

.case-initiative .initiative-item .ttl {
    position: relative;
    background: #fff5f2;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 2rem;
    padding: 2rem 3rem 2rem 8.3rem;
}

.case-initiative .initiative-item .ttl::before {
    content: counter(initiative-num,decimal-leading-zero)'.';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3rem;
    display: block;
    width: auto;
    height: 1em;
    color: #e74921;
	font-family: "Outfit", sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1;
    margin: auto;
}

.case-initiative .initiative-item .flex {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.case-initiative .initiative-item .txt {
    flex: 1;
    font-weight: 500;
}

.case-initiative .initiative-item .img {
    flex: 0 0 40rem;
    margin-left: 5rem;
    margin-top: 1rem;
}

.case-initiative .initiative-item .img img {
    display: block;
    width: 100%;
    height: auto;
}

.case-initiative .initiative-item .point-box {
    position: relative;
    border: dashed 1px rgba(0,0,0,.3);
    margin-top: 3.7rem;
    padding: 2.7rem 3.7rem 2.7rem;
}

.case-initiative .initiative-item .point-ttl {
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 3rem;;
    background: #222;
    border-radius: 30px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: auto;
}

.case-initiative .initiative-item .point-txt b {
    color: #e74921;
    font-weight: 700;
}

.case-voice {
    margin-top: 7rem;
}

.case-voice.customer + .consultant {
    margin-top: 5rem;
}

.case-voice.customer .case-sec-ttl::before {
    top: 4px;
    width: 43px;
    height: 36px;
    background: url(../img/case/icon-voice.png) center / contain no-repeat;
}

.case-voice.consultant .case-sec-ttl::before {
    left: 6px;
    width: 32px;
    height: 40px;
    background: url(../img/case/icon-staff.png) center / contain no-repeat;
}

.case-voice .voice-list {
    margin-top: 3rem;
}

.case-voice .voice-item {
    display: flex;
    align-items: center;
}

.case-voice.customer .voice-item {
    flex-direction: row-reverse;
}

.case-voice .voice-item + .voice-item {
    margin-top: 4rem;
}

.case-voice .voice-item .txt {
    flex: 1;
}

.case-voice .voice-item .img {
    flex: 0 0 200px;
    margin-left: 3rem;
}

.case-voice.consultant .voice-item .img {
    margin-left: 0;
    margin-right: 5rem;
}

.case-voice .voice-item .img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: solid 4px #e74921;
    border-radius: 50%;
    object-fit: cover;
}

.case-related {
    margin-top: 7rem;
    margin-bottom: 12rem;
}

.case-related .related-ttl {
    position: relative;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 9.7rem 0 0;
    text-align: center;
    z-index: 0;
}

.case-related .related-ttl b {
    color: #e74921;
}

.case-related .related-ttl::before {
    content: 'RELATED';
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    color: #fff;
	font-family: "Outfit", sans-serif;
    font-size: 14rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
    text-align: center;
    z-index: -1;
}

.case-related .related-list {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 5.5rem;
}

.case-related .related-item {
    flex: 1;
    max-width: calc((100% - 6rem) / 3);
}

.case-related .related-item .img {
    width: 100%;
    aspect-ratio: 360 / 240;
    overflow: hidden;
}

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

.case-related .related-item a:hover .img img {
    transform: scale(1.1);
}

.case-related .related-item .txt-box {
    padding-top: 2rem;
}

.case-related .related-item .ttl {
    font-size: 1.8rem;
    line-height: calc(30/18);
    transition: .2s;
}

.case-related .related-item a:hover .ttl {
    color: #e74921;
}

.case-related .related-item .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

.case-related .related-item .tag-list li {
    min-width: 9rem;
    border: solid 1px #e74921;
    border-radius: 3px;
    color: #e74921;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    padding: .8rem .5rem;
    text-align: center;
    white-space: nowrap;
}

.case.detail .service_seminar_banner {
	margin-top: 12rem;
}

.case.detail .contact-bnr {
    margin-top: 12rem;
}

@media screen and (max-width: 750px) {
    .case-content-wrap {
        margin-top: 48px;
    }

    .case-content-box {
        border: solid 4px #ebebeb;
        border-radius: 15px;
        padding: 33px 0 32px;
    }

    .case-content-box::before {
        top: -5px;
        width: 76.5px;
        height: 12.5px;
    }

    .case-overview {
        padding: 0 21px;
    }

    .case-overview .achievement-list {
        justify-content: center;
        gap: 15px;
        padding: 0;
    }

    .case-overview .achievement-item {
        flex: 0 0 84px;
        justify-content: flex-start;
        height: auto;
        background-position: center top;
        background-size: 84px;
        padding: 85px 0 0;
        text-align: center;
        white-space: nowrap;
    }

    .case-overview .achievement-item dt {
        font-size: 14px;
    }

    .case-overview .achievement-item dd {
        font-size: 12px;
    }

    .case-overview .achievement-item dd .num {
        font-size: 24px;
        vertical-align: auto;
    }

    .case-overview .client-info {
        flex-direction: column-reverse;
        gap: 32px;
        margin-top: 28px;
    }

    .case-overview .client-info .data {
        grid-template-columns: 80px 1fr;
        width: 100%;
        margin-bottom: 0;
    }

    .case-overview .client-info .data dt,
    .case-overview .client-info .data dd {
        font-size: 14px;
        padding: 19px 0 19px;
    }

    .case-overview .client-info .data dt {
        padding-right: 10px;
    }

    .case-overview .client-info .site-ss {
        flex: auto;
        width: 100%;
        margin-bottom: 0;
    }

    .case-overview .theme {
        margin-top: 25px;
    }

    .case-overview .theme p {
        font-size: 14px;
    }

    .case-sec-ttl {
        font-size: 20px;
        line-height: 1.3125;
        margin-bottom: 24px;
        padding: 0 21px 19px 61px;
    }

    .case-sec-ttl::before {
        left: 21px;
    }

    .case-background {
        margin-top: 40px;
    }

    .case-background .txt {
        font-size: 14px;
        padding: 0 21px;
    }

    .case-background .case-sec-ttl::before {
        width: 30px;
        height: 30px;
    }

    .case-background .txt {
        font-weight: 500;
    }

    .case-initiative {
        margin-top: 37px;
    }

    .case-initiative .case-sec-ttl::before {
        left: 20px;
        width: 28px;
        height: 28px;
    }

    .case-initiative .initiative-list {
        margin-top: 25px;
    }

    .case-initiative .initiative-item:not(:first-child) {
        margin-top: 25px;
    }

    .case-initiative .initiative-item .item-body {
        padding: 0 21px;
    }

    .case-initiative .initiative-item .ttl {
        font-size: 16px;
        line-height: 1.3125;
        margin-bottom: 19px;
        padding: 16px 30px 16px 64px;
    }

    .case-initiative .initiative-item .ttl::before {
        left: 20px;
        font-size: 20px;
    }

    .case-initiative .initiative-item .flex {
        display: block;
    }

    .case-initiative .initiative-item .txt {
        font-size: 14px;
        line-height: calc(26/14);
    }

    .case-initiative .initiative-item .img {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
    }

    .case-initiative .initiative-item .point-box {
        margin-top: 35px;
        padding: 19px 20px 15px;
    }

    .case-initiative .initiative-item .point-ttl {
        top: -16px;
        width: 90px;
        height: 30px;
        font-size: 14px;
    }

    .case-initiative .initiative-item .point-txt {
        font-size: 14px;
        line-height: calc(24/14);
    }

    .case-voice {
        margin-top: 37px;
    }

    .case-voice.customer + .consultant {
        margin-top: 30px;
    }

    .case-voice.customer .case-sec-ttl::before {
        top: 3px;
        width: 30px;
        height: 25px;
    }

    .case-voice.consultant .case-sec-ttl::before {
        left: 25px;
        width: 25px;
        height: 31px;
    }

    .case-voice .voice-list {
        margin-top: 24px;
    }

    .case-voice .voice-item {
        display: block;
        padding: 0 21px;
    }
 
    .case-voice .voice-item + .voice-item {
        margin-top: 30px;
    }

    .case-voice .voice-item .txt {
        font-size: 14px;
        line-height: calc(26/14);
    }

    .case-voice .voice-item .img {
        width: 150px;
        margin: 0 auto 17px;
    }

    .case-voice.consultant .voice-item .img {
        margin-left: auto;
        margin-right: auto
    }

    .case-voice .voice-item .img img {
        border-width: 2px;
    }

    .case-related {
        margin-top: 70px;
        margin-bottom: 14vw;
        padding: 0 20px;
    }

    .case-related .related-ttl {
        font-size: 24px;
        line-height: calc(34/24);
        padding-top: 40px;
    }

    .case-related .related-ttl::before {
        font-size: 70px;
    }

    .case-related .related-list {
        display: block;
        margin-top: 28px;
        padding: 0 20px;
    }

    .case-related .related-item {
        width: 100%;
        max-width: 100%;
        margin: auto;
    }

    .case-related .related-item:not(:first-child) {
        margin-top: 30px;
    }

    .case-related .related-item .txt-box {
        padding-top: 14px;
    }

    .case-related .related-item .ttl {
        font-size: 16px;
        line-height: 1.7;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }

    .case-related .related-item .tag-list {
        gap: 8px;
        margin-top: 16px;
    }

    .case-related .related-item .tag-list li {
        min-width: 90px;
        border-radius: 1.5px;
        font-size: 12px;
        padding: 8px 5px;
    }

    .case.detail .contact-bnr {
        margin-top: 14vw;
    }

}
