@charset "UTF-8";

/* both buttons: shared size and style */
.contents_btn01 .content_wrapper > a,
.contents_btn01 .content_wrapper > a:nth-child(n) {
    transition: background 0.3s;
    width: 322px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* button 1 */
.contents_btn01 .content_wrapper > a:nth-of-type(1) {
    background: #69161D !important;
}
.contents_btn01 .content_wrapper > a:nth-of-type(1):hover {
    background: #8a1f29 !important;   /* lighter red on hover */
}

/* button 2 */
.contents_btn01 .content_wrapper > a:nth-of-type(2) {
    background: #0C1F34 !important;
}
.contents_btn01 .content_wrapper > a:nth-of-type(2):hover {
    background: #1a3757 !important;   /* lighter navy on hover */
}

/* the theme's ::before layer must not paint over the link color */
.contents_btn01 .content_wrapper > a::before,
.contents_btn01 .content_wrapper > a:hover::before {
    background: transparent !important;
}