:root {
    --service-black: #201815;
    --service-border-black: #1e1e1e;
    --service-bgc-gray: #f0f0f0;
    --service-bgc-gray-rgb: 255, 255, 255;
    --service-blue: #004ea2;
    --service-blue-rgb: 0, 78, 162;
    --service-skyblue: #00a0e9;
    --service-orange: #f6ab00;
}

/* 株式会社アルシス */
.p-alsys .service-bg--alsys {
    background-image: url("../../../assets/service/images/alsys/keyvisual-bg-skyblue.webp");
    position: relative;
    z-index: 1;
}
.p-alsys #mv .inner-container {
    padding-top: 100px;
}
.p-alsys .service-mv::after{
    background-image: url("../../../assets/service/images/alsys/mv-alsys.webp");
    background-size: 80%;
    top: -385px;
    left: 44.5vw;
}
.p-alsys .service-header .logo {
    max-width: 380px;
    max-height: 125px;
}
.p-alsys .service-header h4 {
    color: var(--service-skyblue);
}
.p-alsys .service-grid {
    grid-template-rows: minmax(auto, 400px);
}
.p-alsys .company-category {
    background-color: var(--service-skyblue);
}
.p-service .company-category + h3 + p {
    letter-spacing: 0.03em;
    margin-bottom: 35px;
}
.p-alsys #company .btn a {
    border-color: var(--service-skyblue);
    color: var(--service-skyblue);
}
.p-alsys #company .btn a::after {
    color: var(--service-skyblue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.56' height='14.56' viewBox='0 0 14.56 14.56'%3E%3Cg%3E%3Crect x='0.5' y='3.38' width='10.68' height='10.68' fill='none' stroke='%2300a0e9' stroke-miterlimit='10'/%3E%3Cpolyline points='3.38 0.5 14.06 0.5 14.06 11.18' fill='none' stroke='%2300a0e9' stroke-miterlimit='10'/%3E%3C/g%3E%3C/svg%3E");
}
.p-alsys .section--wide-image > img { 
    aspect-ratio: 1365 / 768;
    height: 105%;
}


/* STRENGTH */
#strength .l-container {
    padding-top: 22px;
}
#strength .strength-container {
    border-top: 1px solid var(--service-black);
    padding-top: 55px;
    position: relative;
}
#strength h3 {
    display: inline-block;
    width: 18.25rem;
    height: 4.3rem;
    text-align: center;
    font-size: 2.1rem;
    line-height: 0.8;
    background-color: var(--service-bgc-gray);
    border-inline: 1px solid var(--service-black);
    padding-top: 2px;
    position: absolute;
    right: 0;
    left: 0;
    top: -22px;
    margin: 0 auto;
}
#strength h3 span {
    display: block;
    font-size: 18.5px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 2.2;
    color: var(--service-skyblue);
}

#strength .strength-list {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
}
#strength .strength-card-wrap {
    width: calc(100% / 3);
    max-width: 282.7px;
}
#strength .strength-card {
    display: flex;
    height: 100%;
    flex-direction: column-reverse;
    background-color: var(--service-blue);
    background-image: linear-gradient(
        var(--service-bgc-gray) 0%, 
        var(--service-bgc-gray) 16%,
        var(--service-blue) 16%,
        var(--service-blue) 100%);
    border-radius: 0 0 20.9px 20.9px;
    padding-inline: 10px;
}
#strength .strength-card > p {
    color: var(--service-bgc-gray);
    text-transform: uppercase;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 14.8px;
    text-align: center;
    letter-spacing: 0.07em;
    line-height: 2.8;
}

#strength .strength-card-inner {
    height: 100%;
    background-color: #fff;
    border-radius: 18px;
    padding-inline: 6.7%;
    padding-block: 30px;
}

#strength .strength-card figure {
    width: 84px;
    height: 84px;
    border-radius: 42px;
    background-color: var(--service-bgc-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 30px;
}
#strength .strength-card figure > img {
    width: 60%;
}
#strength .strength-card .heading-line {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 20px;
}
#strength .strength-card .heading-line::after {
    width: 30px;
    height: 5.24px;
    left: 50%;
    transform: translateX(-50%);
}
#strength .strength-card .heading-line + p {
    text-align: justify;
}

/*個別設定*/
#strength-network.strength-card {
    background-image: linear-gradient(
        var(--service-bgc-gray) 0%, 
        var(--service-bgc-gray) 16%,
        var(--service-orange) 16%,
        var(--service-orange) 100%);
}
#strength-network.strength-card .heading-line::after {
    background-color: var(--service-orange);
}

#strength-reliability.strength-card {
    background-image: linear-gradient(
        var(--service-bgc-gray) 0%, 
        var(--service-bgc-gray) 16%,
        var(--service-skyblue) 16%,
        var(--service-skyblue) 100%);
}
#strength-reliability.strength-card .heading-line::after {
    background-color: var(--service-skyblue);
}
/*個別設定ここまで*/

:is(#our-mission h3, #business-field h3) {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-left: 7px solid var(--service-skyblue);
    padding-left: 15px;
    margin-bottom: 6rem;
}
:is(#our-mission h3, #business-field h3) span:first-child {
    display: inline-block;
    border-bottom: 1px solid var(--service-black);
    line-height: .8;
    padding-bottom: 10px;
    padding-inline: 3px;
}
:is(#our-mission h3, #business-field h3) span:nth-child(2) {
    display: block;
    font-family: "Nunito Sans", sans-serif;
    color: var(--service-skyblue);
    font-size: 18px;
    letter-spacing: 0.08em;
    line-height: 2;
    text-transform: uppercase;
}
#our-mission ul > li {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.05em;
    padding-left: calc(2.2rem + 8px);
    position: relative;
}
#our-mission ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--service-skyblue);
}

#business-field p {
    margin-bottom: 40px;
}
#business-field p.lead {
    font-size: 1.8rem;
}

#business-field ol {
    list-style: none;
    background-color: var(--service-bgc-gray);
    padding: 40px 38px;
    display: grid;
    grid-template-rows: 1fr;
}
#business-field ol > li {
    border-bottom: 1px solid var(--service-black);
    display: grid;
    grid-template-columns: 1fr 369px;
    grid-template-rows: min-content 1fr 1fr;
    column-gap: 15px;
    justify-content: space-between;
    padding-block: 40px;
    word-break: break-all;
    word-break: auto-phrase;
}
#business-field ol > li:first-child {
    padding-top: 0;
}
#business-field ol > li:last-child {
    border-bottom: none;
}
#business-field ol > li > h4 {
    grid-column: 1;
    grid-row: 1;
    font-size: 26px;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
#business-field ol > li > h4 > span {
    font-family: "Nunito Sans", sans-serif;
    font-size: 3.3rem;
}
#business-field ol > li > h4 > span:first-child {
    color: var(--service-skyblue);
    font-weight: 700;
    letter-spacing: -0.02em;
    padding-right: 5px;
}
#business-field ol > li > h4 > span:nth-child(2) {
    padding-inline: .5rem;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
#business-field ol > li > h4 > span:nth-child(2) span {
    font-size: 26px;
}
#business-field ol > li > ul {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    font-weight: 600;
}
#business-field ol > li > ul > li {
    margin-right: 1rem;
    position: relative;
}
#business-field ol > li > ul > li::before {
    content: "◯";
    display: inline-block;
}
#business-field ol > li > p {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    line-height: 1.7;
    margin-bottom: 0;
    align-self: end;
}
#business-field ol > li > figure {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-bottom: 0;
}
@media screen and (max-width: 1198.98px) {
    #business-field ol > li > h4 > span {
        font-size: 2.6vw;
    }
}
@media screen and (max-width: 1109.98px) {
    :is(#company, #our-mission).l-container,
    #strength .l-container {
        padding-top: 40px;
    }

    #our-mission ul > li {
        font-size: 1.833vw;
        line-height: 1.6;
        padding-left: calc(1.833vw + 5px);
        margin-bottom: 1rem;
    }
    #our-mission ul > li::before {
        top: 4px;
        bottom: unset;
        width: 1.833vw;
        height: 1.833vw;
    }
    :is(#our-mission h3, #business-field h3) {
        margin-bottom: 5vw;
    }
}

@media screen and (max-width: 1039.98px) {
    #business-field ol > li {
        grid-template-columns: 1fr 1fr;
    }
    #strength .strength-list {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #strength .strength-card-wrap {
        width: auto;
        height: 100%;
    }
}
@media screen and (max-width: 1050px) {

    #business-field ol {
        padding: 5.67vw 5.39vw;
    }
    #business-field ul {
        flex-direction: column;
    }
}
@media screen and (max-width: 799.98px) {
    #business-field ol > li > h4 {
        font-size: 1.8rem;
    }
    #business-field ol > li > h4 > span:nth-child(2) {
        font-size: 2rem;
    }
    #business-field ol > li > p {
        font-size: 1.6rem;
        align-self: flex-start;
    }
    #business-field ol > li > h4 > span:nth-child(2) span {
        font-size: 2rem;
    }
}
@media screen and (max-width: 767.98px) {
    #business-field ol > li {
        padding-block: 3.333vw;
        display: flex;
        flex-direction: column;
        align-items: start;
        row-gap: 10px;
    }
    #business-field ol > li > h4 {
        margin-bottom: 0;
    }
    #business-field ol > li > figure {
        grid-column: 1;
        grid-row: unset;
        /* aspect-ratio: 369 / 246; */
    }
}
    
@media screen and (max-width: 599.98px) {
    .p-maruwa #mv .inner-container {
        padding-top: 12vw;
    }

    .p-alsys .service-header h4 {
        font-size: 30px;
    }
    .p-alsys .service-header + p {
        word-break: auto-phrase;
    }
    .p-alsys .service-header + p br {
        display: none;
    }
   
    .p-alsys .service-grid {
        row-gap: 8.5vw;
    }
    .p-alsys .service-grid > div {
        order: 0;
    }
    .p-alsys .service-grid .section--wide-image {
        order: 0;
    }
    #strength .strength-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #strength .strength-list h4 {
        font-size: 18px;
    }
    #strength .strength-list > p {
        font-size: 14px;
    }
    
    :is(#our-mission h3, #business-field h3) {
        font-size: 1.6rem;
    }
    :is(#our-mission h3, #business-field h3) span:nth-child(2) {
        font-size: 1.4rem;
    }

    #our-mission ul > li {
        font-size: 1.6rem;
        line-height: 1.6;
        padding-left: calc(1.6rem + 5px);
        margin-bottom: 1rem;
    }
    #our-mission ul > li::before {
        width: 1.6rem;
        height: 1.6rem;
    }
    :is(#our-mission h3, #business-field h3) {
        margin-bottom: 8.5vw;
    }
    #business-field ol {
        padding: 3.333vw 3.167vw;
    }
    #business-field ol > li {
        padding-block: 5.67vw;
    }
    #business-field ol > li > h4 > span {
        font-size: 2.2rem;
    }
}