@charset "utf-8";
/*======================



area_btn.css
2023/11 エリア切替対応用css



======================*/
#sp_area_choice{
	display: none;
	position: fixed;
	z-index: 202;
    bottom: 40px;
    right: 5px;
    display: flex;
    flex-direction: row-reverse;
}
#sp_area_choice:hover .area_btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#sp_area_choice .area_btn {
    display: inline-block;
    padding: 5px 12px 5px 30px;
    margin: auto;
	box-shadow: 0 0 2px 0 rgb(0 0 0 / 8%), 0 1px 2px 0 rgb(0 0 0 / 10%);
    box-sizing: border-box;
    border-radius: 5px;
	background-color: rgba(255,255,255,.4);
    color: #fff;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    z-index: 1;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
#sp_area_choice .area_btn span{
    white-space: nowrap;
}

#sp_area_choice .area_btn:before{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    -webkit-mask: url(https://tamashiiweb.com/special/kamen-rider/img/cmn/ico_area.png) no-repeat center center;
    mask: url(https://tamashiiweb.com/special/kamen-rider/img/cmn/ico_area.png) no-repeat center center;
    background: #fff;
    width: 16px;
    height: 13px;
    transition: all .3s;
    -webkit-mask-size: contain;
    mask-size: contain;
}

#sp_area_choice .area_btn:hover:before{
    background: #000;
}

#sp_area_choice .area_btn:hover {
    cursor: pointer;
    background-color: rgba(255,255,255,1);
    color: #000;
}

#sp_area_choice .area_contents_wrap {
    position: relative;
    width: 100%;
}
#sp_area_choice .area-list{
    display: flex;
    flex-direction: row-reverse;
}
#sp_area_choice .area_contents {
    text-align: left;
    color: #000;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
    background-color: #fff;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
    width: 0;
    cursor: pointer;
    z-index: 9;
	transition: all .25s cubic-bezier(.03,.63,.355,1);
}
#sp_area_choice .area_contents li.area-switch {
    background: #fff;
    color: rgba(0,0,0,.7);
    transition: all .2s linear;
    white-space: nowrap;
    position: relative;
    padding: 5px 28px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}
#sp_area_choice .area_contents li.area-switch:hover {
    cursor: pointer;
    color: #000;
    -webkit-transition: 0.1s ease-in-out;
    -moz-transition: 0.1s ease-in-out;
    -ms-transition: 0.1s ease-in-out;
    -o-transition: 0.1s ease-in-out;
    transition: 0.1s ease-in-out;
}
#sp_area_choice .area_contents li.area-switch.selected {
    color: #000;
    position: relative;
}
#sp_area_choice .area_contents li.area-switch.selected::before{
	top: calc(50% - 6px);
    border-radius: 50%;
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 12px;
    background-image: url(https://tamashiiweb.com/special/kamen-rider/img/cmn/ico_arrow_rt.png);
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    #sp_area_choice {
        bottom: 0;
        right: 124px;
    }
    #sp_area_choice:hover .area_btn {
        border-bottom-left-radius: 5px;
        border-top-right-radius: 0;
        min-width: 7em;
    }    
    #sp_area_choice .area-list{
        flex-direction: column-reverse;
    }
    #sp_area_choice .area_contents_wrap {
        position: absolute;
        right: 0;
    }
    #sp_area_choice .area_contents {
        width: 100%;
        height: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 5px;
    }
    #sp_area_choice .area_contents li.area-switch {
        padding: 5px 22px;
    }
    #sp_area_choice .area_contents li.area-switch.selected::before {
        left: 6px;
    }
    
}