@charset "utf-8";
/*==============================================
    ウマいスクラッチ
================================================
0.0 - 共通パーツ
0.1 - スクラッチテーブル
1.0 - スクラッチの使い方
==============================================*/

/*----------------------------------------------
# 0.0 - 共通パーツ
----------------------------------------------*/
.Race_YosoArea01 dl.Umaban dt {
    width: 100%;
}
.RaceInfo_Notice01 {
    font-size: 67%;
}
li.Mark_Pro {
    position: relative;
    cursor: pointer;
}
li.Mark_Pro:before {
    background-color: none !important;
    background-image: url(../img/scratch/sc_layer_inactive.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    position: absolute;
    content: '';
    width: 42px;
    height: 36px;
    top: 0;
    left: 0;
}
li.Mark_Pro.selected:before {
    background-image: url(../img/scratch/sc_layer_active.png);
}
li.Mark_Pro.opened:before {
    /* background: none; */
    content: unset;
}
/*----------------------------------------------
# 0.1 - スクラッチテーブル
----------------------------------------------*/
.ScratchTableWrap {
    margin-bottom: 10px;
    padding: 15px 0px 10px 10px;
    border-radius: 15px 15px 0 0;
    background: #E58F07;
    background-image: url(../img/scratch/sc_halo.png);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-size: contain;
}
.ScratchAboutWrap {
    margin-bottom: 10px;
    padding: 15px 20px 20px 20px;
    border-radius: 15px 15px 0 0;
    background: #E58F07;
    background-image: url(../img/scratch/sc_halo.png);
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-size: contain;
    text-align: center;
}
.ScratchTitle {
    padding: 0 20px 12px 11px;
    text-align: center;
}
.ScratchAboutWrap .ScratchTitle {
    padding: 0 0px 15px;
    text-align: center;
}
.ScratchTitle img {
    display: inline-block;
    width: 100%;
    height: auto;
}
.ScratchTitle + .howto_btn {
    display: block;
    width: 136px;
    color: #FFFFFF ;
    font-size: 13px;
    margin: 18px auto 15px;
}
.ScratchTitle + .howto_btn svg{
    margin-right: 5px;
    position: relative;
    top: 2px;
}

@keyframes bounceIn {
    0%,20%,40%,60%,80%,to {
        -webkit-animation-timing-function: cubic-bezier(.215,.61,.355,1);
        animation-timing-function: cubic-bezier(.215,.61,.355,1)
    }

    0% {
        /* opacity: 0; */
        /* -webkit-transform: scale3d(.3,.3,.3);
        transform: scale3d(.3,.3,.3) */
        -webkit-transform: scale3d(.9,.9,.9);
        transform: scale3d(.9,.9,.9)
    }

    20% {
        -webkit-transform: scale3d(1.1,1.1,1.1);
        transform: scale3d(1.1,1.1,1.1)
    }

    40% {
        -webkit-transform: scale3d(.9,.9,.9);
        transform: scale3d(.9,.9,.9)
    }

    60% {
        /* opacity: 1; */
        -webkit-transform: scale3d(1.03,1.03,1.03);
        transform: scale3d(1.03,1.03,1.03)
    }
}
.ScratchingWrap {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .4s ease-in;
}
.ScratchingWrap.hidden {
    opacity: 0;
    pointer-events: none;
}
.ScratchingInner:after {
    background-image: url(../img/scratch/sc_halo.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: -1;
}
@media only screen and (min-width: 1025px) {
    .ScratchingInner,.ScratchingInner:after {
        width:480px;
        margin:0 auto;
    }
}
@media only screen and (min-width: 767px) and (max-width: 1023px) {
    .ScratchingInner,.ScratchingInner:after {
        margin: 0 auto;
    }
}
@media only screen and (min-width: 320px) and (max-width: 766px) {
    .ScratchingInner,.ScratchingInner:after {
        margin:0 auto;
    }
}
.ScrachingContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.sc_text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.sc_text img:first-child {
    max-width: 185px;
    width: 100%;
    height: auto;
}
.sc_text img:last-child {
    max-width: 33px;
    width: 100%;
    height: auto;
}
.sc_area {
    position: relative;
    width: 225.71px;
    height: 178px;
    margin: 0 auto;
    background: url(../img/scratch/sc_bg.png) no-repeat;
    background-size: contain;
    background-position: 50% 50%;
}
.sc_area img {
    position: absolute;
    max-width: 143.65px;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
}
.ScratchBtnWrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
}
.ScratchBtnInner {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}
.ScratchBtn {
    text-align: center;
}
button#scratchButton {
    border: none;
    cursor: pointer;
    background: none;
}
button#scratchButton img {
    width: 100%;
    max-width: 256px;
    height: auto;
}
.ScratchBtnTxt {
    text-align: center;
    color: #FFF;
    font-size: 13px;
    margin-top: 8px;
}
.ScratchSelected,
.ScratchPoint {
    font-size: 15px;
    font-weight: 600;
}
.ScratchModalWrap,
.ScratchResultWrap {
    border-radius: 4px;
    background: #FFF;
    margin: 0 auto;
    /* height: 100%; */
}
#cboxLoadedContent {
    background: #FFF;
}
.ScratchResultWrap {
    padding: 0 20px 40px;
    /* height: 100%; */
}
.ScModalPointTotalWrap {
    background: #F3F3F3;
    padding: 10px;
    margin: 0 20px;
    border-radius: 4px;
}
.ScModalPointTotalBar>dl>dt {
    background: #FFF;
    border-radius: 4px;
    padding: 10px;
}
.ScModalPointTotalBar>dl>dd {
    padding: 10px 10px 0 10px;
    font-size: 12px;
    color: #666;
}
.ScModalPointTotalBar>dl>dd>dl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.ScModalPointTotalBar>dl>dd>dl:last-child {
    margin-bottom: 0px;
}
.ScModalPointTotalBar dl dt dl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #666;
    cursor: pointer;
}
.ScModalPointTotalBar dl dt dl dt {
    font-size: 13px;
}
.ScModalPointTotalBar>dl>dd>dl.details {
    font-size: 11px;
    color: #999;
    padding-left: 10px;
}
.ScModalPointTotalBar dl dt dl dd {
    font-size: 14px;
    display: flex;
    align-items: center;
}
.ScModalPointTotalBar dl dt dl dd span {
    font-size: 15px;
    color: #E3B749;
    font-weight: 600;
}
.ScModalPointTotalBar dl dt dl dd span.Icon_ArrowB {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #666;
}
.ScModalPointTotalBar dl dt dl dd span.Icon_ArrowT {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #666;
}
.ScModalPointTotalBar dl dt dl dd span:last-child {
    margin-left: 5px;
}
.ScModalTitle {
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 0 30px;
}
.ScModalPointUsed {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}
.ScModalPointUsed dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
}
.ScModalPointUsed dl dt {
    font-weight: 600;
}
.ScModalPointUsed dl dd span {
    font-size: 20px;
    color: #E3B749;
    font-weight: 600;
}
.ScModalNote p {
    line-height: 1.6;
    font-weight: normal;
}
.ScModalNote {
    color: #939393;
    font-size: 11px;
    padding: 10px 20px 20px 20px;
}
.ScModalAlert {
    padding: 10px 30px;
    background: #FFF2F0;
    color: #B74443;
    font-size: 12px;
    margin-bottom: 10px;
}
.ScModalAlertTitle {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.ScModalAlert p {
    line-height: 1.6;
    text-align: center;
}
.ScModalAlert p.sm_txt {
    font-size: 11px;
    text-align: left;
}
.ScModalBtnWrap {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}
.ScModalBtnWrap a {
    display: inline-block;
    background: #E3B749;
    border-radius: 4px;
    color: #FFF;
    font-size: 17px;
    font-weight: 600;
    padding: 10px;
    width: 100%;
    max-width: 256px;
}
/* 予想家 お気に入り登録 */
.YosokaFavBtn a {
    z-index: 10;
    background: #fff;
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 19px;
    position: relative;
    margin-right: 8px;
    box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 30%);
}
.YosokaFavBtn.Registered a {
    background-color: #3251bc;
    box-shadow: none;
}
.YosokaFavBtn a:before {
    background: url(../img/icon/icon_sprite_column.png) no-repeat;
    content: "";
    display: block;
    width: 19px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-background-size: 70px auto;
    -moz-background-size: 70px auto;
    background-size: 70px auto;
    background-position: -0.5px -126px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.YosokaFavBtn.Registered a:before {
    background-position: -0.5px -85px;
}
.Bookmark_Popup_Box {
    height: auto;
    padding-bottom: 15px;
    background: #fff;
}
/*文言なし*/
.YosokaFavBtn a {
    position: relative;
    margin: auto;
    background: #fff;
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 19px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
}
/*.Popup_Box配下でないFront_Titleの指定*/
.Front_Title {
    padding: 14px 40px;
    font-size: 0.85em;
    background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #fefefe, #e6e6e6);
    background-image: -o-linear-gradient(top, #fefefe 0, #e6e6e6 100%);
    background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fefefe),
    to(#e6e6e6)
    );
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#e6e6e6')";
}
.Front_Title h2 {
    border-left: 4px solid #034cca;
}
.Bookmark_Popup_Box .Front_Title {
    padding: 14px 40px;
    background-color: transparent;
    background-image: none;
}
.Bookmark_Popup_Box .Front_Title h2 {
    padding: 0;
    color: #777;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1;
    border-left: none;
}
.Front_Title .icon_caution {
    background-image: url("../../img/icon/icon_race_mark.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 25px 300px, 100% 100%;
    -moz-background-size: 25px 300px, 100% 100%;
    -webkit-background-size: 25px 300px, 100% 100%;
    -o-background-size: 25px 300px, 100% 100%;
    -ms-background-size: 25px 300px, 100% 100%;
    background-position: 0 -174px, left top;
    display: inline-block;
    width: 25px;
    height: 23px;
    margin-right: 5px;
    vertical-align: top;
}
/*.Popup_Box配下でないClose_Btnは非表示*/
a.Close_Btn {
    display: none;
}
.Bookmark_Popup_Box a.Close_Btn {
    background-image: url("../../img/icon/icon_race_mark.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 25px 300px, 100% 100%;
    -moz-background-size: 25px 300px, 100% 100%;
    -webkit-background-size: 25px 300px, 100% 100%;
    -o-background-size: 25px 300px, 100% 100%;
    -ms-background-size: 25px 300px, 100% 100%;
    background-position: 0 -150px, left top;
    display: block;
}
.Close_Link {
    display: none;
}
.Bookmark_Popup_Box .Close_Link {
    display: block;
}
.Bookmark_Popup_Box .Horse_Group_Add input[type="text"] {
    width: 75%;
}
.Bookmark_Popup_Box .Notify_Setup table {
    width: 100%;
}
.Bookmark_Popup_Box p {
    padding: 8px 16px;
    line-height: 1.4em;
    font-size: 0.8em;
}
.Bookmark_Popup_Box h3 {
    padding: 8px 0px;
    font-size: 0.9em;
}
.Bookmark_Popup_Box .error_message {
    color: #cc0000;
}
.Bookmark_Popup_Box .btn_order_box {
    margin: 10px;
}
.Bookmark_Popup_Box .btn_order_box a,
.Bookmark_Popup_Box .btn_order_box input {
    display: block;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 15px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid #3251bc;
    border-radius: 7px !important;
}
.Bookmark_Popup_Box .btn_order_box .btn_order {
    color: #3251bc !important;
    background-color: #fff !important;
}
.Bookmark_Popup_Box .btn_order_box .btn_regist {
    color: #fff;
    background-color: #3251bc;
}
.Bookmark_Popup_Box .btn_order_box .btn_cancel {
    color: #777;
    background-color: #fff;
    border: 1px solid #dbdbdb;
}
.Bookmark_Popup_Box .introduction_premium {
    margin: 30px 10px 15px;
    color: #444;
    font-size: 0.875rem;
    line-height: 1.4;
}
.Bookmark_Popup_Box .Confirm_Txt {
    margin: 15px 10px;
    padding: 0;
    color: #444;
    font-size: 0.9375rem;
    line-height: 1.4;
    text-align: left;
}
.Bookmark_Popup_Box .Confirm_Txt.alignR {
    text-align: right;
}
.Bookmark_Popup_Box .btn_order {
    margin: 10px;
    color: #3251bc !important;
    background-color: #fff !important;
}
.Bookmark_Popup_Box .mb_15 {
    margin-bottom: 15px;
}
.Bookmark_Popup_Box .center {
    text-align: center;
}
.Bookmark_Popup_Box .alignL {
    text-align: left;
}
/*.Popup_Box内指定 */
.SkipCheck {
    font-size: 80%;
    line-height: 1.4;
    padding: 8px 16px;
    text-align: center;
}
.Bookmark_Popup_Box .SkipCheck input {
    -webkit-appearance: checkbox;
    appearance: checkbox;
}
.BookmarkInfo01 {
    font-size: 80%;
    padding: 8px 16px 4px;
}
.BookmarkInfo01 li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #666;
}
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 3px;
}
/* 予想家 お気に入り登録 */
.YosokaInfoWrap {
    margin-bottom: 10px;
}
.YosokaInfoWrap:last-child {
    margin-bottom: 0px;
}
.YosokaInfoHead {
    background: #F3F3F3;
    border-radius: 4px 4px 0 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.YosokaDetail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 10px;
}
.YosokaImg {
    width: 46px;
    height: 46px;
}
.YosokaImg img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.YosokaName {
    display: flex;
    flex-direction: column;
    gap: 5px 0;
}
.YosokaName span {
    color: #666;
    font-size: 13px;
}
.YosokaName a {
    font-size: 18px;
    font-weight: 600;
}
.YosokaFavWrap {
    display: flex;
    flex-direction: column;
    gap: 5px 0;
    color: #666;
    font-size: 13px;
    justify-content: center;
    align-items: center;
}
.ScResultTableWrap {
    border-radius: 0 0 4px 4px;
    border: 1px solid #DADADA;
}
.ScResultTableWrap table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 0 0 4px 4px;
}
.ScResultTableWrap table tr {
    border-bottom: 1px solid #DADADA;
}
.ScResultTableWrap table tr:last-child {
    border-bottom: none;
}
.ScResultTableWrap table tr th {
    padding: 10px;
    text-align: left;
    color: #666;
    font-size: 13px;
    line-height: 1;
}
.ScResultTableWrap table tr td.Mark_Pro {
    width: 34px;
    border-left: 1px solid #DADADA;
    height: 34px;
    vertical-align: middle;
}
.Mark_Pro span.Icon_Mujirushi {
    background-position: 0px -222px;
    transform: rotate(0deg);
    opacity: 0.8;
}
/* レースがない場合 */
.ScratchAboutWrap img {
    width: 100%;
    height: auto;
}
.ScContentWrap {
    background: rgba(98, 63, 6, 0.7);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.ReturnBtnWrap a {
    display: inline-block;
}
.ReturnBtnWrap a img {
    width: 100%;
    max-width: 140px;
    height: auto;
}
.ReturnBtnWrap {
    margin-bottom: 20px;
}
.MoreBtnWrap {
    margin: 20px 0 26px;
}
.MoreBtnWrap a {
    color: #FFF;
    font-size: 13px;
    font-weight: 600;
    position: relative;
}
.MoreBtnWrap a:after {
    content: "";
    background: #FFF;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -6px;
    left: 0;
}
#cboxClose {
    opacity: 0;
    transition: opacity .4s ease-in;
}
.cboxLoadedContent + #cboxClose {
    opacity: 1;
    transition: opacity .4s ease-in;
}
.ScBackBtn {
    padding: 8px 20px;
}
.ScBackBtn a {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 8px;
    color: #444;
    border-radius: 60px;
    background: #E8E8E8;
    width: 100% !important;
    display: inline-block;
}
.ScBackBtn a span {
    position: relative;
}
.ScBackBtn a span:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    background: none;
    border-top: 2px solid #444;
    border-right: 2px solid #444;
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%) rotate(225deg);
    -webkit-transform: translateY(-50%) rotate(225deg);
    -ms-transform: translateY(-50%) rotate(225deg);
}
.Recommend_AppArea01 {
    padding-bottom: 95px;
}
/*----------------------------------------------
# 1.0 - スクラッチの使い方
----------------------------------------------*/
.scratch_howto {
    position: relative;
    z-index: 99999;
}
.scratch_howto img {
    max-width: 100%;
}
.scratch_howto .pop_bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 9;
}

.scratch_howto .pop {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 253px;
    height: 436px;
    max-width: 500px;
    z-index: 10;
}
.scratch_howto .pop_close{
    position: absolute;
    top: -20px;
    right: -20px;
}
.scratch_howto .pop h2 {
    width: 187px;
    margin: 0 auto 19px;
}
.scratch_howto .pop dl {
    display: flex;
    margin-bottom: 10px;
}
.scratch_howto .pop dl.option {
    flex-direction: column;
}
.scratch_howto .pop dl.step1 dt {
    width: 106px;
    padding-left: 11px;
    margin-left: auto;
    flex-shrink: 0;
    box-sizing: content-box;
}
.scratch_howto .pop dl.step1 dt svg {
    margin: 5px 0 0 auto;
    display: block;
}
.scratch_howto .pop dl.step1 dd {
    padding-left: 20px;
    padding-right: 25px;
    width: 91px;
    box-sizing: content-box;
}
.scratch_howto .pop dl.step2 dt {
    width: 98px;
    flex-shrink: 0;
}
.scratch_howto .pop dl.step2 dd {
    width: 117px;
    padding-right: 20px;
}
.scratch_howto .pop dl.option {
    margin-top: 10px;
}
.scratch_howto .pop dl.option dt {
    width: 81px;
    margin: auto;
}
.scratch_howto .pop dl.option dd {
    margin-top: 8px;
    display: flex;
    text-align: center;
    justify-content: space-between;
}
.scratch_howto .pop dl.option dd img.text1{
    width: 88px;
    margin-bottom: 8px;
}
.scratch_howto .pop dl.option dd img.text2{
    width: 110px;
    margin-bottom: 8px;
}
.scratch_howto .pop dl.option dd div {
    width: 117px;
}

/* アニメーション用の CSS */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes popBounce {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-pop {
    animation: popBounce 0.2s cubic-bezier(0.3, 1.5, 0.5, 1) forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.2s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.2s ease-out forwards;
}
