/*===========================================================================*/
/*  message  */
/*===========================================================================*/
.p-message {
    position: relative;
    overflow: hidden;
    padding-top: 166px;
    padding-bottom: 135px;
}
.p-message::before {
    background: url('../img/message/sec-deco01.webp') no-repeat center center/contain;
    content: '';
    height: 541px;
    left: calc(50% + 190px);
    position: absolute;
    top: 0;
    width: 1218px;
}
.p-message::after {
    background: url('../img/message/sec-deco02.webp') no-repeat center center/contain;
    content: '';
    height: 565px;
    right: calc(50% + 51px);
    position: absolute;
    bottom: 0;
    width: 1273px;
}

.p-message__upper {
    position: relative;
    padding-left: 55.3%;
    z-index: 2;
}

.p-message__upper--img {
    position: absolute;
    width: 693px;
    aspect-ratio: 693 / 600;
    overflow: hidden;
    border-radius: 18px;
    right: 54.7%;
    top: -36px;
}

.p-message__upper--img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.p-message__subHead {
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.p-message__head {
    margin-top: 40px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}

.p-message__txt {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

.p-message__name {
    margin-top: 25px;
    position: relative;
    padding-top: 25px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}
.p-message__name::before {
    background-color: #2AB7EB;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    top: 0;
    width: 115px;
}

.p-message__middle {
    max-width: 995px;
    margin: 121px auto 0;
    background-color: #EEF5F8;
    border-radius: 18px;
    padding: 50px;
    position: relative;
    z-index: 2;
}

.p-message__middle--head {
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}

.p-message__middle--head .--wrapper {
    position: relative;
    padding: 0 34px;
}
.p-message__middle--head .--wrapper::before {
    background: url('../img/message/txt-left.webp') no-repeat center center/contain;
    content: '';
    height: 47px;
    left: 0;
    position: absolute;
    bottom: -2px;
    width: 23px;
}
.p-message__middle--head .--wrapper::after {
    background: url('../img/message/txt-right.webp') no-repeat center center/contain;
    content: '';
    height: 47px;
    right: 0;
    position: absolute;
    bottom: -2px;
    width: 23px;
}

.p-message__middle--txts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.p-message__middle--badges {
    width: 50.5%;
    display: flex;
    justify-content: space-between;
}

.p-message__middle--badges li {
    width: 31.2%;
    border-radius: 100vh;
    box-shadow: 10.193px 10.193px 13.59px 0 rgba(30, 62, 96, 0.10);
}

.p-message__middle--txt {
    width: 45.6%;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

.p-message__lower {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: relative;
    z-index: 2;
}

.p-message__lower--img {
    width: 48.75%;
    max-width: 500px;
    aspect-ratio: 819 / 1024;
    border-radius: 18px;
    overflow: hidden;
}

.p-message__lower--img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.p-message__lower--txts {
    width: 41.25%;
}

@media screen and (max-width: 900px) {
    .p-message {
        padding-top: 74px;
        padding-bottom: 50px;
    }
    .p-message::before {
        left: 0;
    }
    .p-message::after {
        background: url('../img/message/sec-deco02-sp.webp') no-repeat center center/contain;
        height: 541px;
        right: unset;
        left: calc(50% + 10px);
        bottom: -1px;
        width: 564px;
        transform: translate(-50%, 0);
    }

    .p-message__upper {
        position: relative;
        padding-left: 0;
        padding-top: 282px;
    }

    .p-message__upper--img {
        width: 365px;
        aspect-ratio: 365 / 247;
        overflow: hidden;
        border-radius: 10px;
        right: unset;
        left: calc(50% - 20px);
        top: 0;
        height: auto;
        transform: translate(-50%, 0);
    }

    .p-message__upper--img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .p-message__subHead {
        font-size: 15px;
    }

    .p-message__head {
        margin-top: 20px;
        font-size: 26px;
    }

    .p-message__txt {
        margin-top: 20px;
        font-size: 15px;
    }

    .p-message__middle {
        margin: 35px auto 0;
        border-radius: 10px;
        padding: 30px 20px;
    }

    .p-message__middle--head {
        font-size: 20px;
    }

    .p-message__middle--head .--wrapper {
        position: relative;
        padding: 0 34px;
    }
    .p-message__middle--head .--wrapper::before {
        background: url('../img/message/txt-left-sp.webp') no-repeat center center/contain;
        height: 56px;
        bottom: -1px;
        width: 27px;
    }
    .p-message__middle--head .--wrapper::after {
        background: url('../img/message/txt-right-sp.webp') no-repeat center center/contain;
        height: 56px;
        bottom: -1px;
        width: 27px;
    }

    .p-message__middle--txts {
        display: block;
        margin-top: 14px;
    }

    .p-message__middle--badges {
        width: 100%;
        max-width: 304px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    .p-message__middle--badges li {
        width: 31.2%;
        border-radius: 100vh;
        box-shadow: 8px 8px 10px 0 rgba(30, 62, 96, 0.10);
    }

    .p-message__middle--txt {
        width: 100%;
        font-size: 14px;
        margin-top: 13px;
    }

    .p-message__lower {
        margin-top: 35px;
        display: block;
    }

    .p-message__lower--img {
        width: 100%;
        max-width: 365px;
        margin-inline: auto;
        aspect-ratio: 819 / 1024;
        border-radius: 10px;
    }

    .p-message__lower--txts {
        width: 100%;
        margin-top: 35px;
    }
}

/*===========================================================================*/
/*  philosophy  */
/*===========================================================================*/
.p-philosophy {
    padding-top: 130px;
    padding-bottom: 130px;
    background-color: #EEF5F8;
}

.p-philosophy__inner {
    display: flex;
    justify-content: space-between;
}

.p-philosophy__heads {
    width: 227px;
}

.p-philosophy__subHead {
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.p-philosophy__head {
    margin-top: 9px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}

.p-philosophy__contents {
    width: calc(100% - 227px);
    max-width: 889px;
}

.p-philosophy__blockquote {
    position: relative;
    padding: 50px 30px;
    background-color: #fff;
    border-radius: 18px;
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .08em;
}
.p-philosophy__blockquote::before {
    background: url('../img/message/quotation01.webp') no-repeat center center/contain;
    content: '';
    height: 28px;
    left: 40px;
    position: absolute;
    top: -10px;
    width: 33px;
}
.p-philosophy__blockquote::after {
    background: url('../img/message/quotation02.webp') no-repeat center center/contain;
    content: '';
    height: 28px;
    right: 40px;
    position: absolute;
    bottom: -10px;
    width: 33px;
}

.p-philosophy__txts {
    margin-top: 65px;
    display: flex;
    justify-content: space-between;
}

.p-philosophy__txts--left {
    width: 50.3%;
}

.p-philosophy__txt {
    width: 42.8%;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

.p-philosophy__head02 {
    position: relative;
    padding-left: 28px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}
.p-philosophy__head02::before {
    background-color: #2AB7EB;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 3px;
}

.p-philosophy__img {
    margin-top: 55px;
    border-radius: 18px;
    overflow: hidden;
}

.p-philosophy__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* greeting ページの理念セクション：見出しを全幅にし、画像＋本文を横並びで見やすく */
.p-philosophy .p-philosophy__head02 {
    margin-top: 55px;
}

.p-philosophy .p-philosophy__txts {
    margin-top: 38px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 56px;
}

.p-philosophy .p-philosophy__img {
    flex-shrink: 0;
    width: 38%;
    max-width: 360px;
    aspect-ratio: 447 / 444;
    margin-top: 0;
}

.p-philosophy .p-philosophy__txt {
    flex: 1;
    width: auto;
}

@media screen and (max-width: 900px) {
    .p-philosophy {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .p-philosophy__inner {
        display: block;
    }

    .p-philosophy__heads {
        width: 100%;
    }

    .p-philosophy__subHead {
        font-size: 13px;
    }

    .p-philosophy__head {
        margin-top: 6px;
        font-size: 28px;
    }

    .p-philosophy__contents {
        width: 100%;
        margin-top: 28px;
    }

    .p-philosophy__blockquote {
        padding: 25px 28px;
        border-radius: 10px;
        text-align: left;
        font-size: 18px;
    }
    .p-philosophy__blockquote::before {
        height: 18px;
        left: 10px;
        top: -8px;
        width: 21px;
    }
    .p-philosophy__blockquote::after {
        height: 18px;
        right: 10px;
        bottom: -8px;
        width: 21px;
    }

    .p-philosophy__txts {
        margin-top: 25px;
        display: block;
    }

    .p-philosophy__txts--left {
        width: 100%;
    }

    .p-philosophy__txt {
        margin-top: 20px;
        width: 100%;
        font-size: 15px;
    }

    .p-philosophy__head02 {
        padding-left: 18px;
        font-size: 20px;
    }

    .p-philosophy__img {
        margin-top: 20px;
        border-radius: 10px;
    }

    .p-philosophy .p-philosophy__txts {
        margin-top: 25px;
        gap: 0;
    }

    .p-philosophy .p-philosophy__img {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }

    .p-philosophy .p-philosophy__txt {
        margin-top: 20px;
    }
}

/*===========================================================================*/
/*  value  */
/*===========================================================================*/
.p-value {
    padding-top: 130px;
    padding-bottom: 130px;
}

.p-value__subHead {
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.p-value__head {
    margin-top: 9px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
    text-align: center;
}

.p-value__subHead02 {
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .02em;
    margin-top: 15px;
}
.p-value__subHead02.--02 {
    margin-top: 10px;
}

.p-value__list {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
}

.p-value__list li {
    width: 31.7%;
    background-color: #EEF5F8;
    border-radius: 18px;
    padding: 10px 10px 30px;
}

.p-value__list--img {
    border-radius: 15px;
    overflow: hidden;
}

.p-value__list--head {
    padding: 0 20px 20px;
    margin-top: 18px;
    position: relative;
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .05em;
}
.p-value__list--head::before {
    background-color: #24ADE0;
    content: '';
    height: 2px;
    left: 50%;
    position: absolute;
    bottom: 0;
    width: 80px;
    border-radius: 100vh;
    transform: translate(-50%, 0);
}
.p-value__list--head::after {
    background-color: #17499D;
    content: '';
    height: 2px;
    left: 50%;
    position: absolute;
    bottom: 0;
    width: 40px;
    border-radius: 100vh;
}

.p-value__list--txt {
    margin-top: 20px;
    padding: 0 20px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

.p-value__head02 {
    margin-top: 70px;
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}

.p-value__head02 span {
    position: relative;
    padding: 0 23px;
}
.p-value__head02 span::before {
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 10px;
    border-top: 3px solid #2AB7EB;
    border-left: 3px solid #2AB7EB;
    border-bottom: 3px solid #2AB7EB;
}
.p-value__head02 span::after {
    content: '';
    height: 100%;
    right: 0;
    position: absolute;
    top: 0;
    width: 10px;
    border-top: 3px solid #2AB7EB;
    border-right: 3px solid #2AB7EB;
    border-bottom: 3px solid #2AB7EB;
}

.p-value__list02 {
    margin-top: 40px;
    border-top: #c3c3c3 dashed 1px;
}

.p-value__list02 li {
    padding: 48px 0 48px 125px;
    border-bottom: #c3c3c3 dashed 1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-value__list02--img {
    position: absolute;
    width: 90px;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.p-value__list02--head {
    width: 388px;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .02em;
}

.p-value__list02--txt {
    width: calc(100% - 388px);
    font-feature-settings: 'pwid' on, 'palt' on;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

@media screen and (max-width: 900px) {
    .p-value {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .p-value__subHead {
        font-size: 13px;
    }

    .p-value__head {
        margin-top: 6px;
        font-size: 28px;
    }

    .p-value__subHead02 {
        font-size: 14px;
        margin-top: 6px;
    }
    .p-value__subHead02.--02 {
        margin-top: 13px;
    }

    .p-value__list {
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }

    .p-value__list li {
        width: 100%;
        border-radius: 10px;
        padding: 10px 10px 20px;
    }

    .p-value__list--img {
        border-radius: 15px;
        overflow: hidden;
    }

    .p-value__list--head {
        padding: 0 10px 15px;
        margin-top: 18px;
        font-size: 24px;
    }
    .p-value__list--head::before {
        width: 60px;
    }
    .p-value__list--head::after {
        width: 30px;
    }

    .p-value__list--txt {
        margin-top: 15px;
        padding: 0 10px;
        font-size: 14px;
    }

    .p-value__head02 {
        margin-top: 50px;
        font-size: 26px;
    }

    .p-value__head02 span {
        position: relative;
    }
    .p-value__head02 span::before {
        width: 9px;
        border-top: 2px solid #2AB7EB;
        border-left: 2px solid #2AB7EB;
        border-bottom: 2px solid #2AB7EB;
    }
    .p-value__head02 span::after {
        width: 9px;
        border-top: 2px solid #2AB7EB;
        border-right: 2px solid #2AB7EB;
        border-bottom: 2px solid #2AB7EB;
    }

    .p-value__list02 {
        margin-top: 25px;
    }

    .p-value__list02 li {
        padding: 27px 0 25px 78px;
        display: block;
    }

    .p-value__list02--img {
        width: 62px;
        top: 15px;
        transform: translate(0, 0);
    }

    .p-value__list02--head {
        width: 100%;
        font-size: 22px;
    }

    .p-value__list02--txt {
        width: 100%;
        margin-top: 10px;
        font-size: 14px;
    }
}