@charset "utf-8";

/*=======================================================================

右側追従

=======================================================================*/

.right_banner {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 3;
    display: grid;
    gap: 1px;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, 200px);
}

.right_banner a {
    text-align: center;
    background-color: #31221e;
    display: block;
    padding: 8px 15px 8px 38px;
    color: #fff;
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    font-size: 16px;
    max-width: 30px;
    width: 100%;
    margin-bottom: 10px;
    text-decoration: none;
    outline: 1px solid rgb(255, 255, 255);
    outline-offset: -3px;
    border-radius: 10px 0 0 10px;
    transition: 0.3s;
}

.right_banner .color01 {
    font-weight: bold;
}

.right_banner .color02 {
    background-color: #8b6b69;
    font-size: 14px;
}

.right_banner .color01:hover {
    background-color: #8b6b69;
}

.right_banner .color02:hover {
    background-color: #660b06;
}

@media screen and (min-width:1000px) and (max-width:1600px) {
    @media screen and (max-height:850px) {
        .right_banner{
            grid-template-rows: repeat(3, 140px);
        }
    }
}

@media screen and (max-width:1200px) {}

@media screen and (max-width:999px) {}

@media screen and (max-width:767px) {

    .right_banner {
        width: 100%;
        display: flex;
        gap: 0;
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;
    }

    .right_banner a {
        padding: 15px 10px;
        border-radius: 10px 10px 0 0;
        writing-mode: horizontal-tb;
        -ms-writing-mode: horizontal-tb;
        -webkit-writing-mode: horizontal-tb;
        max-width: 100%;
        margin-bottom: 0;
    }
}

@media screen and (max-width:560px) {
    .right_banner .color02 {
        font-size: 12px;
    }
}
