:root {
    --text-color: #766e65;
    --service-color: #568ac6;
}

/* service wrap ===========================================*/

main img {
    width: 100%;
    height: auto;
}

/* page title */
.pageTitle {
    width: 100%;
    height: 300px;
    background-color: #f0ece2;
    background-image: url(../img/service_img.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:736px) {
    .pageTitle {
        background-image: url(../img/service_img_sp.svg);
        background-size: cover;
        background-position: center 80%;
    }
}

/* contents btn */
.contents-btn-wrp {
    width: 100%;
    background-color: #f9f9f9;
    padding: 110px 20px 20px;
}

@media screen and (max-width:736px) {
    .contents-btn-wrp {
        padding: 30px 10px 0;
    }
}

.contents-btn {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contents-btn .btn {
    display: block;
    width: 31%;
    margin: 0;
    padding: 1.3em .5em;
    line-height: 1.5;
    text-align: center;
    color: #fff;
    letter-spacing: .05em;
    font-size: min(1.25em, 3.5vw);
    border: none;
    border-radius: 10px;
    position: relative;
    margin-bottom: min(4em, 12vw);
}

/* reporting */
.service-wrp .case {
    background-color: #d1dfee;
}

.service-wrp .tlink {
    color: var(--service-color);
}

.contents-btn .btn {
    background-color: var(--service-color);
}

.contents-btn .btn .icon {
    --icon-size: min(150px, 25vw);
    width: var(--icon-size);
    height: calc(var(--icon-size)*.493);
    position: absolute;
    left: 50%;
    bottom: calc(100% - 1em);
    transform: translateX(-50%);
}

.contents-btn .btn.mbtm .icon {
    bottom: calc(100% - .5em);
}

@media screen and (max-width:736px) {
    .contents-btn {
        padding: 15vw 5vw 10vw;
    }
}

@media screen and (max-width:736px) {
    .contents-btn .btn {
        width: 48%;
        padding: 1.5em .5em 1em;
    }
}

/* service wrp */
.service-wrp>.inner {
    padding: min(85px, 15vw) 20px;
}

.service-wrp .service-title-img {
    width: min(270px, 65%);
    margin: 0 auto;
}

.service-wrp .service-title {
    margin: 1.4em auto min(1.5em, 10vw);
    font-size: 1.6em;
}

.service-wrp .service-title .en {
    display: block;
    margin: 0 auto .8em;
    color: var(--text-color);
    font-size: .95em;
}

.service-wrp .service-title .jp {
    color: var(--service-color);
    line-height: 1.5;
}

.service-wrp .service-lead {
    margin: 0 auto min(4em, 15vw);
    font-size: min(1.1em, 4vw);
    color: var(--text-color);
    line-height: 1.9;
}

.service-wrp .ba-wrp {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 60px min(30px, 5vw) 30px;
    align-items: center;
    border-radius: 20px;
    border-style: solid;
    border-color: var(--service-color);
    border-width: 2px;
    position: relative;
}

.service-wrp .before {
    margin-bottom: 88px;
    border-color: #b8b7b8;
}

.service-wrp .after {
    border-width: 4px;
}

.service-wrp .before::before,
.service-wrp .before::after {
    --arrow-size: 2em;
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: -44px;
    transform: translate(-50%, 50%);
}

.service-wrp .before::before {
    width: 0;
    height: var(--arrow-size);
    border-left: solid 5px var(--service-color);
}

.service-wrp .before::after {
    width: calc(var(--arrow-size)*.78);
    height: calc(var(--arrow-size)*.78);
    border-left: solid 5px var(--service-color);
    border-bottom: solid 5px var(--service-color);
    transform: translate(-50%, 50%) rotate(-45deg);
}

.service-wrp .ba-wrp h3 {
    width: 5.5em;
    padding: .4em;
    position: absolute;
    left: 24px;
    top: 0;
    color: #fff;
    font-size: 1.4em;
}

.service-wrp .before h3 {
    background-color: #b8b7b8;
    margin-top: -1px;
}

.service-wrp .after h3 {
    background-color: var(--service-color);
    margin-top: -1px;
}

.service-wrp .ba-wrp figure {
    width: min(40%, 330px);
}

.service-wrp .ba-wrp .text-wrp {
    width: min(55%, 520px);
    text-align: left;
}

.service-wrp .ba-wrp .text-wrp h4 {
    margin-bottom: .8em;
    font-size: 1.3em;
    color: var(--text-color);
}

.service-wrp .ba-wrp .text-wrp ul {
    --note-line-hieght: 1.7em;
    line-height: var(--note-line-hieght);
}

.service-wrp .ba-wrp .text-wrp li {
    font-size: min(1em, 3.6vw);
    padding-left: 1.1em;
    position: relative;
}

.service-wrp .ba-wrp .text-wrp li:not(:last-child) {
    margin-bottom: .5em;
}

.service-wrp .ba-wrp .text-wrp li::before {
    content: '';
    width: 1em;
    height: 1em;
    display: inline-block;
    position: absolute;
    left: 0;
    top: calc(var(--note-line-hieght) * .5);
    transform: translateY(-50%) scale(.6);
    border-radius: 100%;
    background-color: var(--service-color);
}

.service-wrp .ba-wrp .text-wrp li .marker-line {
    background: linear-gradient(180deg, transparent 65%, rgba(223, 129, 94, 0.7) 65%);
}

@media screen and (max-width:736px) {
    .service-wrp .service-title {
        font-size: 1.4em;
    }

    .service-wrp .ba-wrp {
        display: block;
    }

    .service-wrp .ba-wrp h3 {
        font-size: 1.1em;
    }

    .service-wrp .ba-wrp figure {
        width: min(90%, 330px);
        margin: -1em auto 2em;
    }

    .service-wrp .ba-wrp .text-wrp {
        width: 100%;
    }

    .service-wrp .ba-wrp .text-wrp h4 {
        font-size: 1.15em;
    }

    .service-wrp .ba-wrp .text-wrp li .iblock {
        display: inline;
    }
}

.service-wrp .case {
    padding: min(100px, 20vw) 0;
}

.service-wrp .case h3 {
    display: inline-block;
    padding: .5em 1em;
    margin-bottom: 1em;
    text-align: center;
    font-size: 1.5em;
    border: solid 1px;
    color: var(--text-color);
}

.service-wrp .case .flex {
    align-items: center;
}

.service-wrp .case .case-img {
    width: min(540px, 48%);
    display: grid;
    justify-content: flex-end;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-wrp .case .case-img span {
    display: block;
    margin-left: auto;
}

.service-wrp .case .case-img .w100 {
    width: 100%;
    grid-column: span 2;
}

.service-wrp .case .case-img .w80 {
    width: 80%;
    grid-column: span 2;
}

@media screen and (max-width:767px) {
    .service-wrp .case .case-img .w80 {
        width: 100%;
    }
}

.service-wrp .case .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-wrp .case .text-wrp {
    width: min(540px, 48%);
    text-align: justify;
}

@media screen and (max-width:767px) {
    .service-wrp.digitalize .case .text-wrp {
        padding-top: 0;
    }
}

.service-wrp .case .text-wrp .client-wrp {
    margin-bottom: 2em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.service-wrp .case .text-wrp .client-wrp .portrait {
    --portrait-size: 125px;
    width: var(--portrait-size);
    height: var(--portrait-size);
    margin-right: min(2em, 5%);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.service-wrp .case .text-wrp .client-wrp .portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-wrp .case .text-wrp .client-wrp .client {
    font-size: min(1.35em, 4vw);
    color: var(--service-color);
    line-height: 1.6;
    flex-shrink: 1;
}

.service-wrp .case .text-wrp .client-wrp~p:not(.client-logo) {
    margin-bottom: 1.5em;
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-color);
}

.service-wrp .case .text-wrp .client-logo {
    display: block;
    color: var(--text-color);
    font-size: .95em;
    margin-bottom: .7em;

}

.service-wrp .case .text-wrp .client-logo span {
    display: inline-block;
    width: auto;
    height: min(36px, 7.5vw);
    padding-right: 10px;
    vertical-align: middle;

}

.service-wrp .case .text-wrp .client-logo span.h50 {
    height: min(50px, 13vw);
}

.service-wrp .case .text-wrp .client-logo span.h80 {
    height: 80px;
}

.service-wrp .case .text-wrp .client-logo img {
    width: auto;
    height: 100%;
}

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

    .service-wrp .case h3 {
        font-size: 1.2em;
    }

    .service-wrp .case .case-img {
        width: min(530px, 100%);
        margin: 2.5em auto 0;
        order: 2;
    }

    .service-wrp .case .text-wrp {
        width: min(530px, 100%);
        margin: 0 auto;
        order: 1;
    }

    @media screen and (max-width:414px) {
        .service-wrp .case .text-wrp .client-wrp {
            display: block;
        }

        .service-wrp .case .text-wrp .client-wrp .portrait {
            margin: 0 auto .8em;
        }

        .service-wrp .case .text-wrp .client-wrp .client {
            width: 100%;
            text-align: center;
        }
    }

    .service-wrp .case .text-wrp .client-wrp~p:not(.client-logo) {
        font-size: 1em;
    }

    .service-wrp .case .text-wrp .client-logo {
        height: auto;
        margin-bottom: .25em;
        line-height: 2;
    }

    .service-wrp .case .text-wrp .link {
        font-size: .85em
    }
}

/* record wrap ===========================================*/
.record-wrp {
    width: 100%;
    background-color: #fff;
    color: var(--text-color);
}

.record-wrp .inner {
    padding: 80px 40px 40px;
}

@media screen and (max-width:736px) {
    .record-wrp .inner {
        padding: min(60px, 15vw) 20px;
    }
}

/* .record-wrp .record-frame {
    border: 1px solid #ddd;
    background-color: #fafafa;
    padding: 2em 3em;
    border-radius: 10px;
} */

@media screen and (max-width:1200px) {
    .record-wrp .record-frame {
        font-size: 90%;
    }

    /* @media screen and (max-width:736px) {
        .record-wrp .record-frame {
            padding: 0;
            background-color: transparent;
            border-radius: 0;
            border: none;
            font-size: 100%;
        }
    } */
}

.record-wrp .h2title {
    font-size: 1.6em;
    margin-bottom: 1em;
    padding: 0 0 0.5em;
}

.record-wrp .h2title span {
    padding: 0 .15em .1em;
    background: linear-gradient(180deg, transparent 70%, rgb(212, 170, 55, .55) 70%);
}

@media screen and (max-width:736px) {
    .record-wrp .h2title {
        font-size: 1.3em;
    }
}

.record-wrp .record-lead {
    margin-bottom: 4em;
    /* font-size: .95em; */
}

.record-wrp .record-lead p {
    margin-bottom: .75em;
}

@media screen and (max-width:736px) {
    .record-wrp .record-lead p {
        margin-bottom: 1em;
    }
}

.record-wrp .record-lead ul {
    display: inline-block;
    --note-line-hieght: 1.7em;
    /* width: fit-content; */
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    text-align: left;
    line-height: var(--note-line-hieght);
}

.record-wrp .record-lead ul li {
    font-size: min(1em, 3.6vw);
    padding-left: 1.1em;
    position: relative;
    font-size: min(.95em, 3.8vw);
}

.record-wrp .record-lead ul li:not(:last-child) {
    margin-bottom: .5em;
}

.record-wrp .record-lead ul li::before {
    content: '';
    width: 1em;
    height: 1em;
    display: inline-block;
    position: absolute;
    left: 0;
    top: calc(var(--note-line-hieght) * .5);
    transform: translateY(-50%) scale(.6);
    border-radius: 100%;
    background-color: var(--service-color);
}

.record-wrp .record-lead ul li a {
    padding-bottom: .2em;
    border-bottom: solid 1px var(--service-color);
    transition: all .2s;
}

.record-wrp h3 {
    padding: 0;
    margin: 2em 0 0;
    font-size: 1.1em;
    text-align: left;
}

.record-wrp h3:first-child {
    margin-top: 1em;
}

.record-wrp h3::before {
    content: '';
    display: inline-block;
    width: 0.3em;
    height: 0.3em;
    border: 5px solid;
    border-radius: 100%;
    margin-top: -0.2em;
    margin-right: 0.5em;
    vertical-align: middle;
}

@media screen and (max-width:736px) {
    .record-wrp h3 {
        font-size: 1em;
        text-align: left;
    }
}

.record {
    width: 100%;
    margin: 1.5em auto 4em;
    border-collapse: collapse;
    border-top: 1px solid #ccc;
}

.record tr {
    border-bottom: 1px solid #ccc;
}

.record td {
    padding: 1em;
    text-align: left;
    vertical-align: middle;
    border-right: 1px solid #ccc;
}

.record td:nth-child(1) {
    font-size: 0.9em;
    width: 15%;
    padding-left: 0;
}

.record td:nth-child(2) {
    font-size: 0.9em;
    width: 20%;
}

.record td:nth-child(3) {
    font-size: 0.9em;
    width: 10%;
}

.record td:nth-child(4) {
    font-size: 0.9em;
    width: 10%;
}

.record td:nth-child(5) {
    font-size: 0.9em;
    width: 15%;
}

.record td:nth-child(6) {
    font-size: 0.9em;
    width: 30%;
    border-right: none;
}

.record-wrp .icon {
    display: block;
    width: 2.4em;
    height: 2.4em;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

@media screen and (max-width:736px) {
    .record {
        width: 100%;
        margin: 1.5em auto 4em;
        border-collapse: collapse;
        border-top: none;
        font-size: 76%;
        line-height: 1.5;
    }

    .record tr {
        border-bottom: 1px solid #ccc;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 1em;
    }

    .record td {
        width: 100%;
        text-align: left;
        vertical-align: middle;
        padding: 0.5em;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .record td:nth-child(1) {
        width: 20%;
        padding: 1em 0 0.5em;
    }

    .record td:not(:nth-child(1)) {
        border-top: 1px solid #ccc;
    }

    .record td:nth-child(2) {
        width: 20%;
        display: block;
        text-align: center;
        padding-left: .2em;
        padding-right: .2em;
    }

    .record td:nth-child(3) {
        width: 10%;
    }
    .record td:nth-child(4) {
        width: 10%;
    }
     .record td:nth-child(5) {
        width: 10%;
    }
    .record td:nth-child(6) {
        width: 30%;
        border-right: none;
        padding-right: 0;

    }
}