/*================================================
  mainvisual
================================================*/

.page-mainvisual {
    background-image: url(../../image/our-business/page-mainvisual-bg.jpg);
}

/*================================================
  product-lead
================================================*/

.page-lead::after {
    left: 0;
    background-image: url(../../image/our-business/page-lead-bg.jpg);
}

@media print,
screen and (min-width: 1200px) {
    /* .page-lead {
        margin-block: calc(var(--layout-gap) * 2.5);
    } */

    .page-lead::after {
        border-top-right-radius: 558px;
        border-bottom-right-radius: 558px;
        max-width: calc(1200px + 180px + calc(50% - 600px));
    }
}

/*================================================
  action-plan
================================================*/

.action-plan {
    text-align: center;
    background-color: #F8F8F8;
    padding-block: calc(var(--layout-gap) * 1);
    overflow-x: hidden;
}

.action-plan-item {
    /* margin-top: calc(var(--layout-gap)); */
    margin-top: calc(var(--layout-gap));
    position: relative;
    /* margin-bottom: calc(var(--layout-gap) * 2); */
}

.action-plan-item:nth-of-type(1)::before,
.action-plan-item:nth-of-type(4)::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -15px;
    background-image: url(../../image/our-business/action-plan-decoration.png);
    background-size: contain;
    width: 10%;
    aspect-ratio: 188.74 / 162.09;
    z-index: 2;
}

.action-plan-item:nth-of-type(1)::before {
    right: -15px;
}

.action-plan-item:nth-of-type(4)::before {
    left: -15px;
    transform: rotate(-90deg);
}

.action-plan-item:last-of-type .action-plan-item-img {
    position: relative;
    z-index: 1;
}

.arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 28px 0px 30px;
    border-color: var(--color-blue-light) transparent transparent transparent;
    transform: translateX(-50%) rotate(0deg);
    position: absolute;
    left: 50%;
}

.arrow:nth-of-type(1) {
    top: 105%;
}

.arrow:nth-of-type(2) {
    top: calc(105% + 35px);
}

.arrow:nth-of-type(3) {
    /* top: calc(105% + (35px * 2 + 15px)); */
    top: calc(105% + (35px * 2));
}

.arrow:nth-of-type(4) {
    /* top: calc(105% + (35px * 3 + 15px)); */
    top: calc(105% + (35px * 3));
}

.action-plan-item-text {
    background-color: var(--color-white);
    padding: calc(var(--layout-gap) / 2);
    color: var(--color-text-blue);
    box-shadow: 0 3px 6px rgba(var(--color-black-rgb), 0.16);
    position: relative;
    z-index: 1;
}

.action-plan-item-text h4 {
    font-size: 2rem;
    line-height: 1.4;
    font-weight: bold;
    /* margin-bottom: var(--layout-gap); */
    margin-bottom: 0.75em;
}

.action-plan-item-text p {
    text-align: left;
    text-indent: -1.25em;
    margin-left: 1em;
    line-height: 1.5;
}
.action-plan-item-text p + p {
    margin-top: 1em;
}

.action-plan-item-img {
    width: 50%;
}

.action-plan-item:nth-of-type(3) {
    /* margin-bottom: calc(var(--layout-gap) * 3); */
    margin-bottom: calc(var(--layout-gap) * 2);
    margin-top: 0;
}
.action-plan-item:nth-of-type(4) {
    margin-top: 0;
}
.action-plan-item:nth-child(1) .action-plan-item-img,
.action-plan-item:nth-child(4) .action-plan-item-img {
    margin-left: auto;
    /* transform: translate(20px, -20px); */
    transform: translate(20px, -15px);
}

.action-plan-item:nth-child(2) .action-plan-item-img {
    margin-right: auto;
    transform: translateX(-20px);
    /* margin-top: calc(var(--layout-gap) / 1); */
    margin-block:calc(var(--layout-gap) / 1);
}


@media print,
screen and (min-width: 769px) {
    .action-plan-item-text {
        padding: calc(var(--layout-gap) * 1.5);
    }

    .action-plan-item-text h4 {
        font-size: 3rem;
    }

    .action-plan-item::before {
        top: -30px;
        right: -30px;
    }

    .action-plan-item-img {
        /* width: 40%; */
        width: 45%;
        transform: translate(30px, -50px);
    }

    .arrow {
        border-width: 40px 38px 0px 38px;
    }

    .arrow:nth-of-type(1) {
        top: 105%;
    }

    .arrow:nth-of-type(2) {
        top: calc(105% + 60px);
    }

    .arrow:nth-of-type(3) {
        top: calc(105% + (60px * 2 + 30px));
    }

    .arrow:nth-of-type(4) {
        top: calc(105% + (60px * 3 + 30px));
    }

    .action-plan-item:nth-of-type(3) {
        margin-bottom: calc(var(--layout-gap) * 4.5);
    }
}

@media print,
screen and (min-width: 1200px) {
    .action-plan {
        padding-block: calc(var(--layout-gap) * 3);
    }

    .action-plan-item-text h4 {
        font-size: 4rem;
    }

    .arrow {
        border-width: 60px 48px 0px 49px;
    }

    .arrow:nth-of-type(1) {
        top: 110%;
    }

    .arrow:nth-of-type(2) {
        top: calc(110% + 80px);
    }

    .arrow:nth-of-type(3) {
        top: calc(110% + (80px * 2 + 30px));
    }

    .arrow:nth-of-type(4) {
        top: calc(110% + (80px * 3 + 30px));
    }
}
@media print,
screen and (min-width: 1600px) {
    .action-plan-item:nth-child(1) .action-plan-item-img,
    .action-plan-item:nth-child(4) .action-plan-item-img {
        width: 50%;
        transform: translate(80px, -45px);
    }
    .action-plan-item:nth-child(2) .action-plan-item-img {
        transform: translateX(-80px);
        width: 50%;
    }

}
