.oripa_img {
    text-align: center;
    /* position: sticky;
    top: var(--header-height);
    z-index: -1; */
}
.oripa_img img {
    width: 100%;
}

.oripa_name {
    font-size: 2.2em;
    /* white-space: nowrap; */
    margin: 12px 6px 6px;

    color: #fff;
    text-align: center;
    max-width: 45ch;
    word-break: break-all;
}

.oripa_name_1 {
    white-space: nowrap;
    margin: 12px 6px 6px;

    color: #fff;
    text-align: center;
}

.oripa_detail {
    padding: 12px;
    background-color: white;
}

.oripa_detail h1 {
    font-size: 4em;
    margin-bottom: 12px;
    color: crimson;
}

.card_lineup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.last_one_card_lineup{
    /*display: grid;*/
    /*grid-template-columns: repeat(2, 1fr);*/
    /*gap: 6px;*/
    padding: 4% 20%;
}

.card img {
    width: 100%;
}

.caution {
    text-align: center;
    margin-top: 6px;
}

.sticky_bottom {
    position: sticky;
    bottom: 12px;
}

.button_area {
    padding: 6px 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.button_wrapper {
    /*background-color: white;*/
    /*padding: 6px;*/
    border-radius: 8px;
    /*border: 1px solid #333333;*/
    font-weight: bold;
}

.button_area .button {
    background-color: var(--main-color);
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    display: block;
}

.sticky_bottom .button_wrapper {
    animation: big_small 0.5s alternate infinite linear;
}

.sticky_bottom .wrapper {
    animation: big_small 0.5s alternate infinite linear;
}

@keyframes big_small {
    0% {
        transform: scale(0.99);
    }
    100% {
        transform: scale(1.02);
    }
}

.remainder {
    padding: 14px 6px;
    font-weight: bold;
    text-align: left;
}



/*==================*/
#dialogMsg_1{
    text-align: center;
}

#dialogMsg_2{
    text-align: center;
}

.oripa_img {
    max-width: 100%;
    height: auto;
}




.box-padding {
    /*padding: 24px 16px 40px;*/
    padding: 30px 0;
    display: flex;
    align-items: center;
}
.oripa {
    position: relative;
    width: 100%;
    min-height: 237px;

}

.title {
    bottom: 16%;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 17;
}

.card {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    flex: 1;
}

.card-container {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
.bottom-rate{
	font-size:0.60rem;
    align-self: center;
    margin-top: 3px; 
    margin-bottom: 2px; 
}
.election-rate{
	font-size:0.60rem;
	text-align: start;
    margin-top: 6px;
}

.card-image:first-child {
    /*left: 37%;*/
    /*top: 14%;*/
    left: 32%;
    top: 8%;
    z-index: 15;
}
.card-image {
    border-radius: 3%;
    position: absolute!important;
    width: 36%;
}
.card-image:nth-child(2) {
    /*left: 13%;*/
    /*top: 16%;*/
    left: 7%;
    top: 11%;
    transform: rotate(353deg);
    z-index: 13;
}
.card-image:nth-child(3) {
    /*right: 12%;*/
    /*top: 16%;*/
    right: 8%;
    top: 11%;
    transform: rotate(-353deg);
    z-index: 13;
}
.back {
    width: 100%;
}
.title {
    position: absolute;
}

/*カードフラッシュエフェクト*/
.shine {
    z-index: 1;
    position: absolute;
    top: 0;
    left: -38%;
    width: 49%;
    height: 100%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2) );
    opacity: 0;
    animation: shine-animation 3s infinite;
    transform: skewX(-30deg);
}

@keyframes shine-animation {
    0% {
        opacity: 0;
        transform: translateX(-100%) skewX(-30deg);
    }
    50% {
        opacity: 1;
        transform: translateX(100%) skewX(-30deg);
    }
    100% {
        opacity: 0;
        transform: translateX(300%) skewX(-30deg);
    }
}

.fancy-button {
    margin: 0 !important;
    width: 100%;
    text-transform: none !important;
}
.fancy-button span {
    padding: 10px 15px !important;
    width: 100%;
}
.wrapper{
    width: 100%;
}

.container img{
    -webkit-touch-callout: none;
    pointer-events: none;
    user-select: none;
}

.all_btn {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.lineUp{
    font-family: 'Pokemon Solid', sans-serif;
    font-size: 25px;
}

.disabled-div {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


.switch {
 position: relative;
 display: inline-block;
 width: 120px;
 height: 34px;
 margin-top: 10px;
}

.slider {
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(to right, #52a0fd 0%, #00e2fa 80%, #00e2fa 100%);
 -webkit-transition: .4s;
 transition: .4s;
 border-radius: 34px;
 color: #ffffff;
 font-size: 16px;
 padding: 5px 15px 5px 15px;
 margin-top: 10px;
}

.oripa_titles {
    display: flex;
    justify-content: center;
}

.oripa_description1 {
    display: flex;
    justify-content: center;
}

.oripa_description2 {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.oripa_title_img {
    width: auto;
    height: 50px;
    margin: auto; 
}

.oripa_card_detail{
    position: relative;
    overflow: hidden;
}

.background-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: -1;
}