@charset "UTF-8";

.c-tab,
.p-features{
    background: #fff;
}

.p-spirit{
    position: relative;
}
.p-spirit::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--background-accent) 52%, rgba(255,255,255,0) 80%);
}
.p-spirit__main{
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}
.p-spirit__mission,
.p-spirit__philosophy{
     width: calc(770 * var(--px));
     border-radius: var(--radius-base);
}
.p-spirit__philosophy{
    margin-top: calc(75 * var(--px));
}
.p-spirit__mission-title,
.p-spirit__philosophy-title{
    font-size: var(--fs-title);
    line-height: var(--lh-tight);
    font-weight: bold;
}
.p-spirit__mission-text,
.p-spirit__philosophy-text{
    margin-top: calc(20 * var(--px));
    font-size: var(--fs-base-small);
    line-height: var(--lh-base);
}
.p-spirit__image{
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}
.p-spirit__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    position: absolute;
    top: 0;
    left: 0;
}
@media screen and (max-width: 767px) {
    .p-spirit{
        display: flex;
        flex-direction: column-reverse;
        background: var(--background-accent);
    }
    .p-spirit::before{
        background: none;
    }
    .p-spirit__mission,
    .p-spirit__philosophy{
        width: 100%;
        background: #fff;
        padding: calc(40 * var(--px)) calc(20 * var(--px));
        margin-top: calc(-100 * var(--px));
    }
    .p-spirit__philosophy{
        margin-top: calc(30 * var(--px));
    }
    .p-spirit__mission-title,
    .p-spirit__philosophy-title{
        text-align: left;
    }
    .p-spirit__mission-text,
    .p-spirit__philosophy-text{
        margin-top: calc(10 * var(--px));
        text-align: left;
    }
    .p-spirit__image{
        width: 100vw;
        height: 75vw;
        position: relative;
        top: 0;
        left: 0;
        z-index: 0;
    }
}

.p-features{
    padding: var(--section-padding);
}
.p-features__item{
    display: flex;
}
.p-features__item:nth-child(n+2){
    margin-top: 75px;
}
.p-features__number{
    width: 12%;
    display: flex;
    font-size: calc(200 * var(--px));
    color: var(--main-color);
    font-family: var(--english-font-family);
    font-weight: bold;
    text-shadow: calc(10 * var(--px)) calc(10 * var(--px)) 0 var(--background-accent);
}
.p-features__main{
    width: 52%;
}
.p-features__title-main-number{
    display: none;
}
.p-features__title-main{
    font-size: var(--fs-title);
    line-height: var(--lh-base);
    font-weight: bold;
}
.p-features__title-sub-icon{
    display: none;
}
.p-features__title-sub{
    font-size: var(--fs-title-small);
    line-height: var(--lh-base);
    color: var(--main-color);
    font-weight: bold;
}
.p-features__text{
    font-size: var(--fs-base-small);
    line-height: var(--lh-base);
    margin-top: calc(15 * var(--px));
}
.p-features__icon{
    width: 36%;
    flex-shrink: 0;
    position: relative;
    border-radius: var(--radius-base);
}
.p-features__icon img{
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    object-fit: contain;
}
@media screen and (max-width: 767px) {
    .p-features__item{
        display: block;
        position: relative;
    }
    .p-features__item:nth-child(n+2){
        margin-top: 40px;
    }
    .p-features__number,
    .p-features__icon{
        display: none;
    }
    .p-features__main{
        width: 100%;
    }
    .p-features__title-main-wrapper{
        display: flex;
        background: var(--main-color);
        color: #fff;
        margin: 0 calc(var(--wrapper-sp-padding) * -1);
    }
    .p-features__title-main-number{
        width: calc(50 * var(--px));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--fs-title-large);
        line-height: var(--lh-base);
        font-family: var(--english-font-family);
        border-right: 1px solid #fff;
        padding-top: calc(3 * var(--px));
    }
    .p-features__title-main{
        flex-grow: 1;
        padding: calc(10 * var(--px)) calc(20 * var(--px));
    }
    .p-features__title-sub-wrapper{
        display: flex;
        align-items: center;
        margin-top: calc(20 * var(--px));
    }
    .p-features__title-sub-icon{
        display: block;
        width: calc(70 * var(--px));
        height: calc(70 * var(--px));
        position: relative;
        border-radius: var(--radius-base);
        flex-shrink: 0;
        margin-right: calc(20 * var(--px));
    }
    .p-features__title-sub-icon img{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}