@charset "UTF-8";
.sp-only {
    display: none;
}
.pc-only {
    display: block;
}
@media screen and (max-width: 600px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
}
#s_contact p.free{
    font-size: 14px;
}
body > footer{
    padding: 72px 0 72px;
}
a.tel_link[href^="tel:"] {
    pointer-events: auto;
}
.corporation_mv_cta{
    top: 63%;
    left: 50px;
}
.legacy-intro__text{
    margin-top: 20px;
}
.legacy-intro__text {
    position: relative;
    text-align: center;
    padding-block: 30px;
}

.legacy-intro__text::before,
.legacy-intro__text::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background-color: #00ab8d;
}

.legacy-intro__text::before {
    top: 0;
}

.legacy-intro__text::after {
    bottom: 0;
}
/*=================== legacy-flow ===================*/
.legacy_ttl{
    margin-top: 86px;
}
.legacy-flow {
    --legacy-flow-color: #00a98f;
    position: relative;
}

.legacy-flow__item {
    position: relative;
}

.legacy-flow__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 0;
    left: 15px;
    width: 4px;
    background-color: var(--legacy-flow-color);
}

.legacy-flow__heading {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--legacy-flow-color);
    background-color: #fff;
}

.legacy-flow__step {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 140px;
    padding: 10px 15px;
    background-color: var(--legacy-flow-color);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'MFW-YuGoPr6N-Bold', sans-serif;
}

.legacy-flow__title {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 22px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'MFW-YuGoPr6N-Bold', sans-serif;
}

.legacy-flow__body {
    position: relative;
    padding: 24px 40px 28px;
    max-width: 770px;
}

.legacy-flow__body .legacy-flow__text {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    text-align: left;
}
.legacy-flow__body .legacy-flow__text span{
    font-family: 'MFW-YuGoPr6N-Bold', sans-serif;
}

.legacy-flow__body--with-note {
    padding-right: 190px;
}

.legacy-flow__note {
    position: absolute;
    top: -20%;
    right: -10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background-color: #ff6565;
    color: #fff;
    text-align: center;
}

.legacy-flow__note .legacy-flow__note-small {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'MFW-YuGoPr6N-Bold', sans-serif;
}

.legacy-flow__note-large {
    display: block;
    color: yellow;
    font-size: 28px;
    line-height: 1.3;
    font-family: 'MFW-YuGoPr6N-Bold', sans-serif;
}

.legacy-flow__item:nth-child(3)::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 5px;
    width: 18px;
    height: 18px;
    border-right: 5px solid var(--legacy-flow-color);
    border-bottom: 5px solid var(--legacy-flow-color);
    transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
    .legacy_ttl{
        margin-top: 65px;
    }
    .legacy-flow__item:not(:last-child)::before {
        top: 45px;
        bottom: 0;
        left: 7px;
        width: 3px;
    }
    .legacy-flow__body .legacy-flow__text{
        font-size: 16px;
    }
    .legacy-flow__heading {
        align-items: stretch;
    }

    .legacy-flow__step {
        width: 82px;
        padding: 8px 6px;
        font-size: 16px;
    }

    .legacy-flow__title {
        padding: 8px 12px;
        font-size: 18px;
        line-height: 1.4;
    }

    .legacy-flow__body {
        padding: 18px 12px 24px 20px;
    }

    .legacy-flow__text {
        font-size: 15px;
        line-height: 1.8;
    }

    .legacy-flow__body--with-note {
        padding-right: 12px;
        padding-bottom: 130px;
    }

    .legacy-flow__note {
        top: auto;
        right: 10px;
        bottom: 15px;
        transform: none;
        width: 105px;
        height: 105px;
    }

    .legacy-flow__note .legacy-flow__note-small {
        font-size: 10.5px;
    }

    .legacy-flow__note-large {
        font-size: 20px;
    }

    .legacy-flow__item:nth-child(3)::after {
        bottom: 0;
        left: 0;
        width: 13px;
        height: 13px;
        border-width: 0 4px 4px 0;
    }
    .corporation_mv_cta {
        top: auto;
        left: auto;
    }
    .legacy-intro__text{
        font-size: 16px;
    }
}
/*=================== /legacy-flow ===================*/
