@charset "UTF-8";

/* 4つのタイトル */

.anchor-navi__link {
    font-weight: bold;
}

.card {
    border: 2px solid #005dbd;
    border-radius: 12px;
}

.card__body {
    display: table;
    height: 10vh;
}

.card__title {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #000;
    padding-top: 1.9em;
    font-size: 1.5rem;
}

.top__4in {
    display: block;
    margin-bottom: 0;
}

.top-mc-contact {
    padding-top: 1.4em;
}



@media print,
screen and (min-width: 768px) {
    .card__body {
        height: auto;
        padding: 2em 0;
    }

    .content-size {
        width: 90%;
        margin: 0 auto;
    }

    .card__title {
        padding-top: 0;
    }

    .top-mc-contact-main {
        padding: 1.4em 0;
    }
}


@media print,
screen and (max-width: 767.98px) {
    .card__body {
        display: table;
        height: 7vh;
    }

    .card__title {
        font-size: 1.2rem;
    }
}

@media print,
screen and (max-width: 389.98px) {
    .card__title {
        font-size: 1rem;
    }
}

/* newアンカー試作 */


.card-border {
    width: 100%;
    height: 86px;
    margin: 2em auto;
    border: 2px solid #005dbd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-border::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #005dbd;
    border-right: 2px solid #005dbd;
    transform: rotate(135deg);
    position: absolute;
    top: 80%;
}


.anc-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

@media print,
screen and (min-width: 768px) {
    .anc-hover {
        color: #000;
    }

    .anc-hover:hover {
        color: #fff;
        transition: all .25s cubic-bezier(.4, 0, .2, 1) 0s;
    }

    .card-border:hover::after {
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
    }

    .card-border:hover {
        background-color: #0070e4;
    }

}

@media print,
screen and (max-width: 767.98px) {
    .card-border {
        width: 95%;
        height: 70px;
        margin-bottom: 1em;
        margin-top: 5px;
    }

    .card-border::after {
        top: 75%;
    }

    .anc-text {
        font-size: 1.2rem;
    }
}

@media print,
screen and (max-width: 389.98px) {
    .anc-text {
        font-size: 1rem;
    }
}