@media screen and (min-width: 1921px) {
    .bg_stage:nth-child(1) {
        transform: translateX(0%) !important;
    }

    .bg_stage:nth-child(2) {
        transform: scaleX(-1) translateX(50%) !important;
    }
}

.bg_stage:nth-of-type(3) {
    visibility: hidden !important;
}

@media screen and (max-width: 1439px) {
    .bg_stage:nth-child(3) {
        margin-top: 0% !important;
    }


}

@media screen and (max-width: 1023px) {
    .bg_stage:nth-of-type(2) {
        margin-top: 90% !important;
    }

    .bg_stage:nth-child(3) {
        visibility: visible !important;
    }

}

.bg_stage.is_company_top {
    position: absolute;
    top: -224px;
    right: -40px;
    left: auto;
    width: 1160px;
    pointer-events: none;
    z-index: 0;

    @media screen and (min-width: 1921px) {
        right: 9%;
    }
}

.p_page_header {
    width: 100%;
    padding-top: 27.6rem;
}

.p_page_header_inner {
    max-width: 1200px;
    width: calc(100% - 20rem);
    margin: 0 auto;
}

.c_breadcrumb {
    padding-top: 14rem;
    padding-bottom: 4rem;
}

.p_page_ttl {
    font-size: clamp(3.2rem, 3.333vw, 6.4rem);
    font-weight: bold;
    line-height: 1.5;
    color: #2B2D33;
}

.p_company_container {
    background-color: #ffffff;
    width: calc(100% - 16rem);
    max-width: 1600px;
    margin: 0 auto 16rem;
    border-radius: 10rem;
    padding: 12rem 8rem 14rem;
    position: relative;
    z-index: 2;
}

.p_company_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.p_company_intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14rem;
}

.p_company_intro_content {
    width: 50%;
    margin-right: 8rem;
    flex-shrink: 0;
}

.p_company_intro_catch {
    font-size: clamp(2.4rem, 2.5vw, 4rem);
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 6.4rem;
}

.p_company_intro_txt p {
    line-height: 1.8;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.8em;
}

.p_company_intro_txt p:last-child {
    margin-bottom: 0;
}

.p_company_intro_img {
    width: 50%;
    border-radius: 8px;
    overflow: hidden;
}

.p_company_intro_img img {
    width: 100%;
    height: auto;
    display: block;
}


.p_company_service_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.p_company_service_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #C3CEDE;
    border-radius: 8px;
    padding: 4rem;
    text-decoration: none;
    color: #2B2D33;
    transition: all 0.3s ease;
}

.p_company_service_item:hover {
    background-color: #EAF2FF;
    border: 1px solid #1E40AF;
}

.p_company_service_icon {
    width: 130px;
    height: 130px;
    margin-bottom: 2.4rem;
}

.p_company_service_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p_company_service_name {
    font-size: 3.2rem;
    font-weight: bold;
    color: #1E40AF;
    margin-bottom: 4rem;
}

.p_company_service_desc {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 4rem;
    width: 100%;
}

.p_company_service_item .c_btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin-top: auto;
}

.p_company_service_item:hover .c_btn {
    background-color: #ffffff;
    color: #1E40AF;
    border-color: #1E40AF;
}

/* ホバー時の矢印アニメーション連動 */
/* .p_company_service_item .c_btn_icon_1,
.p_company_service_item .c_btn_icon_2 {
   
} */

.p_company_service_item:hover .c_btn_icon_1 {
    transform: translateX(80px);
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.p_company_service_item:hover .c_btn_icon_2 {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.8s ease-in-out;
}

.p_company_info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.p_company_info:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.p_company_info_head {
    width: 30%;
}

.p_company_info_name {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    line-height: 1.8;
    padding-right: 4rem;
}

.p_company_info_date {
    font-size: 1.4rem;
    color: #667080;
}

.p_company_info_body {
    width: 70%;
}

.p_company_info_dl {
    width: 100%;
    border-top: 1px solid #C3CEDE;
}

.p_company_info_row {
    display: flex;
    padding: 2.4rem 0;
    border-bottom: 1px solid #C3CEDE;
    align-items: baseline;
}

.p_company_info_row dt {
    width: 21rem;
    font-weight: bold;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.p_company_info_row dd {
    flex: 1;
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.p_company_info_row dd a {
    color: #1E40AF;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.p_company_info_row dd a:hover {
    text-decoration: none;
}

@media screen and (max-width: 1920px) {
    .bg_stage.is_company_top {
        width: 60.41vw;
        top: -11.66vw;
        right: -2.08vw;
    }
}

@media screen and (max-width: 1439px) {
    .bg_stage.is_company_top {
        top: -10vw;
    }

    .p_page_header {
        padding-top: 18rem;
    }

    .p_company_container {
        width: calc(100% - 8rem);
        padding: 8rem 6rem;
    }

    .p_page_header_inner {
        width: calc(100% - 16rem);
    }

    .c_breadcrumb {
        padding-top: 10rem;
    }


}

@media screen and (max-width: 1023px) {
    .bg_stage.is_company_top {
        width: 80vw;
        top: 80vw;
        right: -5vw;
    }

    .p_page_header {
        padding-top: 16rem;
    }

    .c_breadcrumb {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }




    .p_company_container {
        width: calc(100% - 4rem);
        padding: 6.4rem 4rem;
        border-radius: 6rem;
        margin-bottom: 8rem;
    }


    .p_company_intro {
        flex-direction: column-reverse;
        margin-bottom: 8rem;
    }

    .p_company_intro_content {
        width: 100%;
        padding-right: 0;
        margin-right: 0;
        margin-top: 4rem;
    }

    .p_company_intro_img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .p_company_service_grid {
        gap: 2rem;
    }

    .p_company_service_item {
        padding: 3rem;
    }

    .p_company_service_icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.6rem;
    }

    .p_company_service_name {
        font-size: 2.4rem;
        margin-bottom: 1.6rem;
    }

    .p_company_service_item .c_btn {
        min-width: 0;
    }

    .p_company_info {
        flex-direction: column;
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .p_company_info_head {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .p_company_info_body {
        width: 100%;
    }

    .p_company_info_name {
        margin-bottom: 0;
    }

    .p_company_info_row {
        padding: 1.6rem 0;
    }
}

@media screen and (max-width: 767px) {
    .bg_stage.is_company_top {
        width: 90vw;
        top: 12vw;
        right: -8vw;
    }

    .p_page_header {
        margin-bottom: 4rem;
        padding-top: 12rem;
    }

    .p_page_header_inner {
        width: calc(100% - 4rem);
        max-width: 600px;
    }

    .c_breadcrumb {
        padding-top: 0rem;
        padding-bottom: 0rem;
        margin-bottom: 2rem;
    }

    .p_page_ttl {
        font-size: 2.4rem;
    }

    .p_company_container {
        width: calc(100% - 4rem);
        padding: 4.8rem 2rem;
        border-radius: 4.8rem;
        margin-bottom: 6.4rem;
    }

    .p_company_intro {
        margin-bottom: 8rem;
    }

    .p_company_intro_catch {
        font-size: 2rem;
        margin-bottom: 2.4rem;
    }

    .p_company_intro_txt p {
        font-size: 1.4rem;
    }

    .p_company_service_grid {
        grid-template-columns: 1fr;
    }

    .p_company_service {
        margin-bottom: 0rem;
    }

    .p_company_service_item {
        padding: 2rem;
    }

    .p_company_service_icon {
        width: 80px;
        height: 80px;
    }

    .p_company_service_name {
        font-size: 2rem;
    }

    .p_company_service_desc {
        font-size: 1.4rem;
        margin-bottom: 3.2rem;
    }

    .p_company_info_name {
        font-size: 2.2rem;
        padding-right: 0;
    }

    .p_company_info_row {
        flex-direction: column;
        padding: 2rem 0;
    }

    .p_company_info_row dt {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .p_company_info_row dd {
        font-size: 1.4rem;
    }
}