:root {
    --kyf-primary: #AB0B39;
    --kyf-secondary: #01BFBF;
    --kyf-blue: #3a3a3b;
    --kyf-white: #fff;
    --kc-primary: #D21F3C;
    --kc-secondary: #2f2f2f;
}

/* Custom backgrounds */

.bg-kc-primary {
    background-color: var(--kc-primary) !important;
}

.bg-kc-secondary {
    background-color: var(--kc-secondary) !important;
}

/* Custom text colors */

.text-kc-primary {
    color: var(--kc-primary) !important;
}

/* ustom css styles */

.card-image img {
    height: 12rem;
    filter: contrast(1.05) brightness(1.05)
}

/* .card-image img:hover{
    height: 12rem;
    filter: none;
} */

.rside-tag {
    z-index: 999;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 25%;
    transition: 0.6s ease-in;
}

.rside-tag_1 {
    background-color: var(--kc-primary);
    margin-bottom: 0.1rem;
    width: 10rem;
    height: 7rem;
    /* border: 1px solid red; */
    transform: translate(-50% 0);
    border-top-left-radius: 1rem;
}

.rside-tag-2 {
    background-color: var(--kc-secondary);
    margin-bottom: 0.1rem;
    width: 10rem;
    height: 7rem;
    /* border: 1px solid red; */
    transform: translate(-50% 0);
    border-bottom-left-radius: 1rem;
}

.para {
    text-align: justify;
}

.rside-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rside-avtar {
    align-items: center;
    display: flex;
    justify-content: center;
}

.rside-link {
    color: white;
    font-size: x-small;
    text-decoration: none;
    cursor: pointer;
    word-spacing: 1px;
    margin: 0;
}

.rside-link:hover {
    color: rgb(209, 208, 208);
    font-size: x-small;
    text-decoration: none;
    cursor: pointer;
}

.nav-item .nav-link {
    text-transform: uppercase !important;
    padding: auto 0.5rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    font-size: small;
}

.btn-white {
    background-color: #fff;
    height: 2rem;
    margin: auto auto;
    padding: 0 2rem;
    text-transform: uppercase;
    color: var(--kc-primary);
    font-weight: 600;
    font-size: small;
}

.banner {
    width: 100%;
}

.all-caps {
    text-transform: uppercase;
}

.text-highlight-black {
    color: black;
    font-weight: 800;
}

.text-highlight-primary {
    color: var(--kc-primary);
}

.btn-custom-brown {
    background-color: #473838;
    color: #fff;
    padding: 0.3rem 2rem;
    font-weight: bolder;
    border-radius: 0 !important;
}

.t-back {
    background: #FAE5D0;
    padding: 2rem 0;
}

.t-group {
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.t-content {
    margin-left: 1rem;
}

.t-image {
    width: 200px;
    height: 100%;
}

.t-content {
    font-size: x-small;
}

.quote_1 {
    margin-top: 4rem;
    max-width: 100%;
}

.quote_2 {
    width: 100%;
    margin-top: -6rem;
}

.title-1 {
    margin-top: 2rem;
    font-size: 40px;
    font-weight: 700;
}

.title-2 {
    margin-top: 2rem;
    font-size: 20px;
    font-weight: 700;
}

.news-title {
    color: var(--kc-primary);
    font-weight: 600;
    font-size: x-large;
}

/* In your CSS file or within a <style> tag in the <head> */
.custom-footer {
    background-color: rgb(68, 61, 52); /* Set the background color to blue */
    color: white; /* Ensure the text is white for contrast */
    padding: 20px 0; /* Add some padding for spacing */
    height: 30em
}

.custom-footer .container {
    max-width: 1200px; /* Optional: Adjust container width */
    margin: 0 auto; /* Center the container */
    align-items: left;
}

.footer-address h6,
.footer-item h3,
.footer-item h6 {
    margin-bottom: 10px; /* Space between items */
    text-align: left;
}

.footer-link {
    color: white; /* Ensure footer links are white */
    text-decoration: none; /* Remove underline from links */
}

.footer-link:hover {
    text-decoration: underline; /* Underline links on hover */
}


.title-name {
    font-size: x-large;
    font-weight: 700;
}

.banner-back {
    background-image: url('images/white-bg.png');
    background-size: 100% 100%;
}

.banner-content {
    display: flex;
    justify-content: space-between;
}

/* .banner-left{

} */

.banner-right {
    display: flex;
    align-items: flex-end;
}

.banner-left-item {
    margin-top: 5rem;
    position: relative;
    left: 70%;
    margin-bottom: 5rem;
}

.banner-right-item {
    position: relative;
    right: 85%;
}

.image-main {
    transform: scale(0.25);
}

.about-party {
    text-align: justify;
    letter-spacing: 1px;
    word-spacing: 1px;
    font-size: 16px;
    /* line-height: 0rem; */
}

.kc-card {
    background-color: white;
    box-shadow: 0 0 20px rgba(220, 220, 220, 0.383);
    border-radius: 10px;
}

.footer-link {
    color: rgb(44, 36, 36);
    text-decoration: none;
}

.footer-link:hover {
    color: rgb(31, 26, 26);
    text-decoration: none;
}

/*regform */

.text-name{
    width: 100%;
    height: 3rem;
    border: 1px solid #272A71;
    box-shadow: 1px;
    border-radius: 5px;
}
.text-name:active{
    border: 1px solid #272A71;
}
body{
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}
.head-back{
   background-color:  #272A71;
}

footer{
    margin-top: 2em;
    width: 100%;
    height: 4em;
    background-color: #272A71;
    color: #fff;
    text-align: center;
    align-items: center;
}
footer .footer-content{
    height: 100%;
    padding-top: 1em;
    vertical-align: middle;
}
.header-bg{
    background: linear-gradient(140deg, rgba(39,42,113,1) 41%, rgba(255,255,255,1) 42%, rgba(244,17,17,1) 43%);
    height: 4rem;
}

.banner{
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 5px 5px 20px rgb(28, 2, 102);
    border-radius: 10px;
}
.softname{
    text-align: center;
    align-items: center;
    vertical-align: middle;
    margin-top: 50px;
}

.card-background{
    box-shadow: 6px 6px 100px #0d2f9c;
    padding:10px;
}

@media screen and (max-width:576px) {
    .t-group {
        flex-direction: column;
    }
    .banner-right {
        display: none;
    }
    .banner-left-item {
        position: relative;
        left: 1rem;
    }
    .rside-tag {
        transform: scale(0.65);
        right: 0;
    }
    .footer-logo {
        height: 100px;
        transform: scale(0.5);
    }
    .rside-tag_1 {
        background-color: var(--kc-primary);
        margin-bottom: 0.1rem;
        width: 10rem;
        height: 7rem;
        /* border: 1px solid red; */
        /* transform: translate(-50% 0); */
        border-top-left-radius: 1rem;
    }
    .rside-tag-2 {
        background-color: var(--kc-secondary);
        margin-bottom: 0.1rem;
        width: 10rem;
        height: 7rem;
        /* border: 1px solid red; */
        /* transform: translate(-50% 0); */
        border-bottom-left-radius: 1rem;
    }
    .title {
        padding: 0;
        margin: 0;
        transform: scale(0.8);
        /* border: 1px solid red; */
    }
    .haeder-item-left {
        transform: scale(0.5) !important;
    }
}
