/* 
css for
all page 
commmon parts 
*/

/* READ,VIEW ALL */
.moreBtn_wrapper {
    &.btnHover_wh {
        & a {
            &:hover {
                .wrapper {
                    .img-wrapper {
                        &::after {
                            background-color: #ffffff30;
                            transition: var(--transition);
                        }
                    }
                }
            }
        }
    }

    &.btnHover_gr {
        & a {
            &:hover {
                .wrapper {
                    .img-wrapper {
                        &::after {
                            background-color: #0f8b4330;
                            transition: var(--transition);
                        }
                    }
                }
            }
        }
    }


    .wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        @media screen and (min-width:1000px) {
            justify-content: flex-start;
        }

        .text {
            font-size: var(--s_26_half);
            margin-right: clamp(10px, 1.04vw, 18.5px);
            color: var(--mainColor);
        }

        .img-wrapper {
            width: 38.5%;
            max-width: 240px;
            position: relative;

            &::after {
                content: "";
                position: absolute;
                height: 100%;
                width: 28%;
                top: 0;
                right: 0;
                z-index: 3;
                border-radius: 50%;
                transition: var(--transition);
            }

            @media screen and (min-width:1000px) {
                width: 65%;
            }
        }
    }
}

/* gradation border button */
.moreBtn_requirements {
    & a {
        display: inline-block;
        background: var(--gradation_toRight);
        border-radius: 60px;
        padding: clamp(1px, 0.156vw, 3px);

        &:hover {
            .wrapper {
                box-shadow: 2px 2px 5px var(--gy);
                transition: var(--transition);
            }
        }

        .wrapper {
            background-color: var(--wh);
            border-radius: 60px;
            /* padding: var(--font_5xl_half) var(--res_100_half) var(--font_5xl_half) var(--font_30xl_half); */
            padding: var(--s_30_half) var(--s_200_half) var(--s_30_half) var(--s_60_half);
            font-size: var(--s_30_half);
            position: relative;
            transition: var(--transition);

            &::after {
                content: "";
                position: absolute;
                right: 10%;
                top: 50%;
                transform: translateY(-50%);
                width: clamp(23.5px, 2.45vw, 47px);
                height: clamp(23.5px, 2.45vw, 47px);
                border-radius: 50%;
                background: var(--gradation_toRight);
                z-index: 1;
            }

            &::before {
                content: "";
                position: absolute;
                right: calc(10% + (clamp(23.5px, 2.45vw, 47px) / 2.5));
                top: 50%;
                transform: translateY(-50%) rotate(45deg);
                border-top: 2px solid var(--wh);
                border-right: 2px solid var(--wh);
                z-index: 4;
                width: var(--s_12_half);
                height: var(--s_12_half);
            }
        }
    }
}

.moreBtn_requirements_wh {
    & a {
        background-color: var(--wh);
        position: relative;
        transition: var(--transition);

        &::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: clamp(23.5px, 2.45vw, 47px);
            height: clamp(23.5px, 2.45vw, 47px);
            border-radius: 50%;
            background: var(--mainColor_dark02);
            z-index: 1;
        }

        &::before {
            content: "";
            position: absolute;
            right: calc(0% + (clamp(23.5px, 2.45vw, 47px) / 2.5));
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            border-top: 2px solid var(--wh);
            border-right: 2px solid var(--wh);
            z-index: 4;
            width: var(--s_12_half);
            height: var(--s_12_half);
        }

    }
}

& body:not(.home) {
    .main {
        /* margin-top: 80px; */

        &.single_midcareer {
            margin-top: 0;
        }
    }
}

/* breadcrumb list */
.breadcrumb {
    padding: 0 5%;
    padding-top: clamp(20px, 6.4vw, 123px);

    @media screen and (min-width:1000px) {
        /* margin-bottom: calc(8.85vw - 50px); */
        margin-bottom: calc(3vw - 50px);
    }

    &.breadcrumb_float {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        color: var(--wh);

        .list {
            .item {
                color: var(--wh);

                & a {
                    color: var(--wh);
                }
            }
        }
    }

    .list {
        color: var(--gy);

        .item {
            color: var(--gy);

            &+.item {
                margin-left: 10px;
            }

            & a {
                color: var(--gy);
            }
        }
    }
}

/* フキダシ */
.fukidashi_left {
    position: relative;
    /* width: 500px; */
    /* height: 80px; */
    background: #FFFFFF;
    padding: 10px;
    text-align: center;
    border: 2px solid #006837;
    /* color: #FFFFFF; */
    font-size: 30px;
    font-weight: bold;
}

.fukidashi_left:after,
.fukidashi_left:before {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 31%;
}

.fukidashi_left:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-width: 25px;
    border-bottom-width: 0px;
    border-left-width: 121px;
    border-right-width: 128px;
    margin-top: 4px;
    border-right-color: #FFFFFF;
}

.fukidashi_left:before {
    border-color: rgba(0, 104, 55, 0);
    border-top-width: 28px;
    border-bottom-width: 1px;
    border-left-width: 133px;
    border-right-width: 142px;
    margin-top: 2px;
    margin-right: 2px;
    border-right-color: #006837;
}

.fukidashi_bottom {
    position: relative;

    background: #FFFFFF;
    padding: 10px;
    text-align: center;
    border: 2px solid #006837;

    font-size: 30px;
    font-weight: bold;
}

.fukidashi_bottom:after,
.fukidashi_bottom:before {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 78%;
}

.fukidashi_bottom:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-width: 37px;
    border-bottom-width: 37px;
    border-left-width: 8px;
    border-right-width: 8px;
    margin-left: 24px;
    border-top-color: #FFFFFF;
}

.fukidashi_bottom:before {
    border-color: rgba(0, 104, 55, 0);
    border-top-width: 46px;
    border-bottom-width: 46px;
    border-left-width: 10px;
    border-right-width: 10px;
    margin-left: 22px;
    margin-top: 2px;
    border-top-color: #006837;
}