/* モーダル */
.ruishin-modal {
    position: fixed;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
    z-index: 99999;
    transition: 0.5s;
    visibility: hidden;
    opacity: 0;
}

.ruishin-modal.active {
    opacity: 1;
    visibility: visible;
}

body.ruishin-movie-active {
    overflow: hidden;
}

.ruishin-modal-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.ruishin-modal-btn {
    position: absolute;
    top: 13%;
    left: 50%;
    width: 75px;
    height: 17px;
    cursor: pointer;
    padding: 20px;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 9;
}

@media screen and (max-width: 640px) {
    .ruishin-top-modal-btn {
        top: 10%;
    }
    .ruishin-lineup-modal-btn {
        top: 30%;
    }
}

.ruishin-modal-btn span {
    display: block;    
    width: calc(100% - 20px);    
    height: 1px;    
    background-color: #fff;    
    position: absolute;    
    left: 10px;
    transition: transform 0.5s;
}

.ruishin-modal-btn span:first-of-type {
    transform: translate(0,8.5px) rotate(12deg) !important;
    top: 20px;
}

.ruishin-modal-btn:hover span:first-of-type {
    transform: translate(0,8.5px) rotate(18deg) !important;
}

.ruishin-modal-btn span:last-of-type {
    transform: translate(0,-8.5px) rotate(-12deg) !important;
    top: 37px;
}

.ruishin-modal-btn:hover span:last-of-type {
    transform: translate(0,-8.5px) rotate(-18deg) !important;
}

.ruishin-modal-movie {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 1080px;
    margin: 0 auto;
}

.ruishin-modal-movie iframe {
    width: 100%;
    height: 100%;
}

.ruishin-kv-video {
    width: 100%;
    vertical-align: bottom;
}

.ruishin-kv-video-sp {
    display: none;
}

@media screen and (max-width: 640px) {
    .ruishin-kv-video-sp {
        display: block;
    }
    .ruishin-kv-video-pc {
        display: none;
    }
}

.ruishin-kv,
.ruishin-movie {
    cursor: pointer;
    position: relative;
    width: 100%;
    aspect-ratio: 16 /9;
}
@media screen and (max-width: 640px) {
    .ruishin-kv {
        aspect-ratio: 9 /16;
    }
}

.ruishin-kv-click,
.ruishin-movie-click {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* トップ */
@media screen and (max-width: 640px) {
    #ruishin-top-modal-kv {
        aspect-ratio: 9 / 16;
        width: 80%;
    }
}

.ruishin-top-movie {
    display: none;
}

.ruishin-top-movie.active {
    display: block;
}

/* ラインナップ */
.ruishin-lineup-list {
    width: 980px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    column-gap: 15px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list {
        width: 71.742313vw;
        column-gap: 1vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list {
        width: 90.625vw;
        column-gap: 2.8125vw;
        row-gap: 7.8125vw;
    }
}

.ruishin-lineup-list-item {
    width: 23.85%;
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item {
        width: 48.448275%;
    }
}

.ruishin-lineup-list-item p {
    margin: 0;
}

.ruishin-lineup-list-img {
    margin-bottom: 10px;
    overflow: hidden;
    height: 311.95px;
    width: 100%;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-img {
        margin-bottom: 0.732064vw;
        height: 22.836749vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-img {
        margin-bottom: 1.5625vw;
        height: 58.598328vw;
    }
}

.ruishin-lineup-list-img img {
    width: 100%;
    vertical-align: bottom;
    transition: 0.5s;
}

.ruishin-lineup-list-item:has(> .ruishin-lineup-list-btn:hover) .ruishin-lineup-list-img img {
    transform: scale(1.1);
    filter: brightness(130%);
}

.ruishin-lineup-list-txt {
    height: 198px;
    font-family: "FP-HiraMinProN-W3", serif;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-txt {
        height: 14.49487554904832vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-txt {
        height: 26.6875vw;
    }
}

.ruishin-lineup-list-item .ruishin-lineup-list-ttl {
    font-size: 25px;
    line-height: 1.142857;
    margin-bottom: 15px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-ttl {
        font-size: 1.830161vw;
        margin-bottom: 1.098096vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-ttl {
        font-size: 3.90625vw;
        margin-bottom: 2.34375vw;
    }
}

.ruishin-lineup-list-item .ruishin-lineup-list-color {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 17px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-color {
        font-size: 1.610541vw;
        margin-bottom: 1.244509vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-color {
        font-size: 3.4375vw;
        margin-bottom: 2.65625vw;
    }
}

.ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-ttl {
    margin-bottom: 5px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-ttl {
        margin-bottom: 0.366032vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-ttl {
        margin-bottom: 0.78125vw;
    }
}

.ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-color:nth-child(2) {
    margin-bottom: 25px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-color:nth-child(2) {
        margin-bottom: 1.830161vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item:last-of-type .ruishin-lineup-list-color:nth-child(2) {
        margin-bottom: 3.90625vw;
    }
}

.ruishin-lineup-list-item .ruishin-lineup-list-price {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 6px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-price {
        font-size: 1.610541vw;
        margin-bottom: 0.439238vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-price {
        font-size: 3.4375vw;
        margin-bottom: 0.9375vw;
    }
}

.ruishin-lineup-list-item .ruishin-lineup-list-annotation {
    font-family: "FP-HiraKakuProN-W3", sans-serif;
    font-size: 13px;
    line-height: 1;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-annotation {
        font-size: 0.951683vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-item .ruishin-lineup-list-annotation {
        font-size: 2.03125vw;
    }
}

.ruishin-lineup-list-btn {
    display: block;
    background-color: #fff;
    text-decoration: none;
    color: #000;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: relative;
    transition: 0.5s;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-btn {
        font-size: 1.464128vw;
        height: 4.392386vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-btn {
        font-size: 3.125vw;
        height: 9.375vw;
    }
}

.ruishin-lineup-list-btn::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 17px;
    background-image: url(//kao-h.assetsadobe3.com/is/image/content/dam/sites/kanebo/www-nomorerules-net/goukyu_no_ruishin/cmn/goukyu_no_ruishin-lineup-list-arrow.png?fmt=png-alpha&wid=20);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-btn::after {
        width: 0.732064vw;
        height: 1.244509vw;
        right: 1.02489vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-btn::after {
        width: 1.5625vw;
        height: 2.65625vw;
        right: 2.1875vw;
    }
}

.ruishin-lineup-list-btn:hover {
    opacity: 1;
    font-size: 22px;
}
@media screen and (max-width: 1365px) {
    .ruishin-lineup-list-btn:hover {
        font-size: 1.610541vw;
    }
}
@media screen and (max-width: 640px) {
    .ruishin-lineup-list-btn:hover {
        font-size: 3.4375vw;
    }
}