@charset "utf-8";

/* ------------------------------
 お見舞い・面会について（PC）
------------------------------ */
.visitBox {
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.visitBox .mainLead {
    font-size: 4.0rem;
    color: #007a46;
    text-align: center;
}
.visitBox .note,
.visitBox .note-red {
    font-size: 1.9rem;
}
.visitBox .note div,
.visitBox .note-red div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #007a46;
    background-color: #fff;
    border: solid 1px #007a46;
    border-radius: 25px;
    padding: 6px 0 8px;
    margin-bottom: 10px;
}
.visitBox .note-red div {
    color: #fff;
    background-color: #d64040;
    border: solid 1px #d64040;
}
.visitBox .note div::before,
.visitBox .note div::after,
.visitBox .note-red div::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 18px;
    background-color: #007a46;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    bottom: -7px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}
.visitBox .note div::after {
    width: 33px;
    height: 17px;
    background-color: #fff;
    bottom: -6px;
    z-index: 1;
}
.visitBox .note-red div::before {
    background-color: #d64040;
}
.visitBox .note-red.list-check > ul > li::before {
    background-color: #d64040;
    top: 0.6em;
}
@media print, screen and (min-width: 768px) {
    .visitBox .note-red.list-check > ul > li::before {
        width: 18px;
        height: 18px;
    }
    .visitBox .note-red.list-check > ul > li::after {
        top: 9px;
    }
}
/* ------------------------------
 お見舞い・面会について（SP）
------------------------------ */
@media screen and (max-width: 767px) {
    .visitBox .mainLead {
        font-size: 3.2rem;
    }
    .visitBox .note,
    .visitBox .note-red {
        font-size: 1.7rem;
    }
    .visitBox .note div,
    .visitBox .note-red div {
        padding: 4px 0 6px;
    }
    .visitBox .note div::after {
        bottom: -5.5px;
    }
}