@charset "euc-jp";
/*===========================================
ema.css

絵馬のCSS


===========================================*/

/*==============================================
/*
/*共通
/*
=============================================*/
body , *{
  margin:0;
  padding:0;
}
footer {
  background: #fffbeb !important;
}
.ContentsEma * {
  margin:0;
  padding:0;
  vertical-align:baseline;
  line-height:1.0em;
  text-shadow:none;
  -webkit-box-sizing: border-box;/* Safari,Google Chrome用 */
  -moz-box-sizing: border-box;/* Firefox用 */
  -ms-box-sizing: border-box;/* Internet Explorer 8用 */
  box-sizing: border-box;
  -webkit-text-size-adjust:none !important;
}
.ContentsEma {
  width: auto;
  margin:0 auto;
  font-family: 'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
  font-size: 18px;
  background: #fffbeb;
  min-width: 220px;
}
.MvArea {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
}
.MvArea iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.JokeysWish {
  text-align: left;
}
.ContentsEma .nodata {
  background-color:#fff;
  padding:15px;
  text-align:left;
  border: 2px solid #f64b80;
}
.ContentsEma .nodata p{
  font-size: 90%;
  line-height:1.4;
}
.JokeyListNotice {
  color: #853c0f;
  font-size: 88.89%;
  text-align: center;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.ContentsEma .EmaHeader:after {
  z-index: 0;
}
.ContentsEma .EmaHeader .HeaderBtn {
  z-index: 1;
}
/*=　騎手リスト　======================*/
.JockeyImage img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
/*==============================================
/*
/*PC
/*
=============================================*/
@media only screen and (min-width: 1023px) {
  .ContentsEma .sp-br {
    display: none;
  }

  /*=　ヘッダー　======================*/
  .ContentsEma .EmaHeader {
    background: url("../image/pc-header-bg.png") center 0 no-repeat;
    position: relative;
    z-index: 1;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner {
    width: 960px;
    height: 625px;
    margin: 0 auto;
    position: relative;
  }
  .ContentsEma .EmaHeader h1 {
    width: 568px;
    height: 539px;
    margin: 0 0 0 auto;
    background: url("../image/pc-title.png") right 0 no-repeat;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .CopyText {
    width: 805px;
    height: 20px;
    margin: 0 auto 28px;
    background: url("../image/pc-intro-text.gif") 0 0 no-repeat;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader:after {
    content:"";
    width: 100%;
    height: 40px;
    background: url("../image/pc-bg-header-inner.png") 10px 0 repeat-x;
    position: absolute;
    top: 565px;
    left: 0;
  }
  .ContentsEma_list .EmaHeader .EmaHeaderInner:after {
    left:-10%;
  }
  .ContentsEma .EmaHeader .HeaderSubtext {
    width: 213px;
    height: 285px;
    background: url("../image/header-subtext.png") 0 0 no-repeat;
    background-size: 213px 285px;
    position: absolute;
    bottom: -24px;
    left: 38.9%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .HeaderBtn {
    position: absolute;
    bottom: 70px;
    left: 10%;
  }

 /*=　共通ボックス　======================*/
  .ContentsEma .InnerBox {
    width: 900px;
    margin: 0 auto;
  }

 /*=　イントロダクション　======================*/
  .ContentsEma .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    padding-top: 155px;
    padding-bottom: 120px;
    margin-top: -140px;
    position: relative;
    z-index: 0;
  }
  .ContentsEma_List .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    padding-bottom: 0;
  }
  .ContentsEma .EmaIntro::after {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma_List .EmaHeader:after {
    display: none;
  }
  .ContentsEma .EmaIntro .IntroText {
    color: #8a4e31;
    font-size: 19px;
    line-height: 1.79;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 13px;
  }
  .ContentsEma .EmaIntro dl {
    width: 590px;
    margin: 0 auto;
    margin-bottom: 39px;
  }
  .ContentsEma .EmaIntro dt {
    width: 122px;
    float: left;
    clear: left;
    margin-right: 30px;
  }
  .ContentsEma .EmaIntro dt span {
    display: block;
    width: 122px;
    height: 28px;
    font-size: 19px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background-color: #8a4e31;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }
  .ContentsEma .EmaIntro dd {
    font-size: 22px;
    font-weight: bold;
    float: left;
    text-align: left;
    color: #8a4e31;
  }
  .ContentsEma .EmaIntro dd span {
    font-size: 127.27%;
  }
  .ContentsEma .EmaIntro .EntryBtn {
    display: block;
    width: 590px;
    height: 60px;
    background: #d23a26;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    box-shadow: 0px 3px 4.9px 0.1px rgba(104, 24, 14, 0.35);
    font-size: 150%;
    text-align: center;
    font-weight: bold;
    color: #fff;
    padding-top: 17px;
    margin: 0 auto 36px;
  }
  .ContentsEma .EmaIntro .EntryBtn:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  .ContentsEma .EmaIntro .DetailText {
    font-size: 83%;
    line-height: 1.6;
    padding-bottom: 35px;
  }
  .ContentsEma .EmaIntro .DetailText span.yellow {
    color: #e4ff00;
  }
  .ContentsEma .EmaIntro .DetailText span.white {
    color: #fff;
  }

  /*=　騎手リスト　======================*/
  .ContentsEma .JockeyList {
    padding-top: 142px;
    padding-bottom: 157px;
    position: relative;
  }
  .ContentsEma .JockeyList .InnerBox {
    width: 960px;
  }
  .ContentsEma .JockeyList h2 {
    width: 349px;
    position: absolute;
    left: 50%;
    top: -110px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .ContentsEma .JockeyList h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .JockeyList h2 img.sp {
    display: none;
  }
  .ContentsEma .JockeyList ul {
    text-align: left;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
  }
  .ContentsEma .JockeyList li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    background: #fff;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    width: 200px;
    min-height: 430px;
    padding-bottom: 30px;
    margin: 0 16px 27px;
  }
  .ContentsEma .JockeyList li::after {
    content: "";
    background: url(../image/pc-bg-jockey-bottom.png) center bottom repeat-x;
    display: block;
    width: 100%;
    height: 26px;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .JockeyName {
    color: #b6824d;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
  }
  .ContentsEma .JockeyList li:nth-of-type(even) .JockeyName {
    background: url(../image/pc-jockey-ribbon-grn.png) center 2px no-repeat;
  }
  .ContentsEma .JockeyList li:nth-of-type(odd) .JockeyName {
    background: url(../image/pc-jockey-ribbon-pnk.png) center 2px no-repeat;
  }
  .JockeyName span {
    font-size: 14px;
    padding-left: 4px;
  }
  .JokeysWish {
    color: #333;
    font-size: 16px;
    line-height: 1.63;
    padding: 0 15px;
  }
  /*=　ケイバ女子の願い　======================*/
  .ContentsEma .Keibajoshi {
    background: #fdefa8;
    padding-top: 70px;
    position: relative;
    padding-bottom: 137px;
  }
  .ContentsEma .Keibajoshi::before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .Keibajoshi .InnerBox {
    background: url(../image/pc-wish-image.png) right bottom no-repeat;
    width: 896px;
    padding-bottom: 10px;
  }
  .ContentsEma .Keibajoshi h2 {
    width: 632px;
    position: absolute;
    left: 50%;
    top: -48px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .ContentsEma .Keibajoshi h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .Keibajoshi h2 img.sp {
    display: none;
  }
  .KeibajoshiLead {
    color: #333;
    font-size: 20px;
    text-align: center;
    margin-bottom: 57px;
  }
  .MvBox {
    border: 9px solid #c28111;
    width: 638px;
    margin: 0 auto;
  }


  /*=　投稿作品　======================*/
  .ContentsEma .EntryWork {
    background: #fce2e9;
    position: relative;
    padding-top: 65px;
  }
  .ContentsEma_List .EntryWork {
    background: #fce2e9;
    position: relative;
    padding-top: 65px;
  }
  .ContentsEma .EntryWork::before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .EntryWork::after {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .EntryWork h2 {
    width: 316px;
    position: absolute;
    left: 50%;
    top: -107px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .ContentsEma .EntryWork h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .EntryWork h2 img.sp {
    display: none;
  }
  .ContentsEma .EntryWorkInner {
    padding-top: 20px;
    padding-bottom: 100px;
    text-align: center;
  }
  .ContentsEma .EntryWorkInner .SubTitle {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 58px;
    display: inline-block;
    /*overflow: hidden;*/
    /*text-indent: 100%;*/
    /*white-space: nowrap;*/
    padding-right: 110px;
    margin: 0 auto 18px;
    position: relative;
  }
  .ContentsEma .EntryWorkInner .SubTitle::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 97px;
    height: 58px;
    background: url("../image/icn-subtitle-everyones-wish.png") right center no-repeat;
  }
  .ContentsEma .EntryWorkInner ul {
    text-align: center;
  }
  .EntryWorkInner .InnerBox {
    width: 960px;
  }
  .EntryWorkInner .Ema_items li {
    display: inline-block;
    width: 312px;
    vertical-align: top;
    margin: 0 0 13px;
    position: relative;
  }
  .EntryWorkInner .Ema_items li .BtnCloseEma {
    position: absolute;
    bottom: 3px;
    right: 23px;
    z-index: 10;
    cursor: pointer;
  }
  .EntryWorkInner .ema_mine .Ema_items li .BtnCloseEma {
    bottom: 6px;
    right: 39px;
  }
  .EntryWorkInner .Ema_items  li:nth-of-type(1),
  .EntryWorkInner .Ema_items li:nth-of-type(3) {
    margin-top: 46px;
  }
  .EntryWorkInner .Ema_items li:nth-of-type(3n + 2) {
    margin-top: -46px;
  }
  .EntryWorkInner .Ema_items li:nth-of-type(2) {
    margin-top: 0;
  }
  .EntryWorkInner .EmaWrap {
    background: url(../image/pc-bg-ema.png) 0 0 no-repeat;
    padding: 128px 50px 0 50px;
    width: 312px;
    height: 317px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  .EntryWorkInner .EmaWrap .avatar {
    vertical-align: text-bottom;
    display: inline-block;
    width: 26px;
    height: 26px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-right: 10px;
  }
  .EntryWorkInner .EmaWrap .UserInfo {
    color: #f64b80;
    font-size: 88.89%;
    font-weight: bold;
    text-align: left;
  }
  .EntryWorkInner .EmaWrap .UserInfo a {
    color: #f64b80;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .EmaText {
    color: #333;
    font-size: 89%;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    margin: 10px auto 0;
    /*padding: 13px 19px 0 25px;*/
  }
  .EntryWorkInner .ema_mine .EmaWrap {
    background: url(../image/pc-bg-ema-mine.png) 0 0 no-repeat;
    background-size: 448px auto;
    padding: 188px 80px 0 80px;
    width: 448px;
    height: 453px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  .EntryWorkInner .ema_mine .Ema_items li {
    display: block;
    width: 448px;
    margin: 0 auto;
  }
  .EntryWorkInner .ema_mine .Ema_items li,
  .EntryWorkInner .ema_mine .Ema_items li:nth-of-type(1),
  .EntryWorkInner .ema_mine .Ema_items li:nth-of-type(3) {
    margin-top: 18px;
  }
  .EntryWorkInner .ema_mine .EmaWrap .avatar {
    width: 38px;
    height: 38px;
  }
  .EntryWorkInner .ema_mine .EmaWrap .UserInfo,
  .EntryWorkInner .ema_mine .EmaWrap .EmaText {
    font-size: 122%;
  }

  /* 「いいね！」パーツ */
  .ContentsEma .EntryWorkInner .EmaWrap .Fav {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    cursor: pointer;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dt {
    color: #853c0f;
    font-size: 77.78%;
    font-weight: bold;
    float: left;
    clear: left;
    text-align: left;
    padding: 5px 5px 0 0;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dd {
    color: #fff;
    font-size: 83%;
    font-weight: bold;
    text-align: right;
    float: left;
    background: #685844;
    width: 54px;
    padding: 5px 7px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-sizing: border-box;
  }
  .ContentsEma .EntryWorkInner .ema_mine .EmaWrap .Fav {
    bottom: 10px;
  }
  .ContentsEma .EntryWorkInner .ema_mine .EmaWrap .Fav dt {
    font-size: 111.11%;
    padding: 5px 5px 0 0;
  }
  .ContentsEma .EntryWorkInner .ema_mine .EmaWrap .Fav dd {
    font-size: 111.11%;
    width: 77px;
    padding: 8px 11px;
  }

  /* ソートリスト */
  .ContentsEma .SortList ul {
    text-align: center;
    margin-bottom: 20px;
  }
  .ContentsEma .SortList li {
    font-size: 100%;
    display: inline-block;
    margin: 0 6px;
    width: 100px;
  }
  .ContentsEma .SortList li:last-child {
    width: 150px;
  }
  .ContentsEma .SortList li a,
  .ContentsEma .SortList li span {
    display: block;
    color: #fff;
    line-height:34px;
    -moz-border-radius: 17px;
    -webkit-border-radius: 17px;
    border-radius: 17px;
    background-color:#f799b1;
    cursor: pointer;
  }
  .ContentsEma .SortList li.active a,
  .ContentsEma .SortList li.active span {
    color:#f799b1;
    background-color:#fff;
    cursor: default;
  }
   .ContentsEma .SortList li a:hover,
  .ContentsEma .SortList li span:hover {
    opacity: .8;
    text-decoration: none;
  }
  .ContentsEma .SortList li.active a:hover ,
  .ContentsEma .SortList li.active span:hover {
    opacity: 1;
  }

  /* ページャー */
  .ContentsEma .Common_Pager ul {
    margin: 20px 0;
    text-align: center;
  }
  .ContentsEma .Common_Pager ul li {
    display: inline-block;
    margin:0 5px 0 0;
    width: auto;
    vertical-align: middle;
  }
  .ContentsEma .Common_Pager ul li:first-child div {
    font-weight: bold;
    background-color: #f5f5f5;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #8d8d8d;
  }
  .ContentsEma .Common_Pager ul li:last-child {
    margin: 0;
  }
  .ContentsEma .Common_Pager ul li:last-child div {
    font-weight: bold;
    background-color: #f5f5f5;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #f799b1;
  }
  .ContentsEma .Common_Pager ul li:nth-of-type(9n-4) {
    margin-right: 5px;
  }
  .ContentsEma .Common_Pager ul li a {
    display: block;
    font-weight: bold;
    background-color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #f799b1;
  }
  .ContentsEma .Common_Pager ul li.Page_Active {
    color: #fff;
    background-color: #404453;
    border: 1px solid #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 14px;
  }
}

/*==============================================
/*
/*iPadなど
/*
=============================================*/
@media only screen and (min-width: 767px) and (max-width: 1023px) {
  .ContentsEma * {
    font-size:100%;
  }
  body .Wrap {
    overflow: hidden;
  }
  .ContentsEma .sp-br {
    display: none;
  }

  /*=　ヘッダー　======================*/
  .ContentsEma .EmaHeader {
    background: url("../image/sp-header-bg.png") left bottom no-repeat;
    background-size: contain;
    position: relative;
    z-index: 1;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner {
    width: 100%;
    height: 580px;
    margin: 0 auto;
    position: relative;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner::after {
    content:"";
    width: 100%;
    height: 40px;
    background: url("../image/pc-bg-header-inner.png") 0 0 repeat-x;
    position: absolute;
    top: 565px;
    left: 0;
  }
  .ContentsEma_List .EmaHeader .EmaHeaderInner::after {
    display: none;
  }
  .ContentsEma .EmaHeader h1 {
    width: 76%;
    height: 90%;
    margin: 0 0 0 auto;
    background: url("../image/pc-title.png") 110% 0 no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .CopyText {
    width: 472px;
    height: 62px;
    margin: 0 auto 28px;
    background: url("../image/tb-intro-text.gif") 0 0 no-repeat;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner::after {
    content:"";
    width: 100%;
    height: 40px;
    background: url("../image/pc-bg-header-inner.png") 0 0 repeat-x;
    position: absolute;
    top: 600px;
    left: 0;
  }
  .ContentsEma_List .EmaHeader .EmaHeaderInner::after {
    display: none;
  }
  .ContentsEma .EmaHeader .HeaderSubtext {
    width: 213px;
    height: 285px;
    background: url("../image/header-subtext.png") 0 0 no-repeat;
    background-size: 213px 285px;
    position: absolute;
    bottom: -24px;
    left: 38.9%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .HeaderBtn {
    position: absolute;
    bottom: 0;
    left: 25%;
  }

  /*=　共通ボックス　======================*/
  .ContentsEma .InnerBox {
    width:750px;
    margin: 0 auto;
  }

  /*=　イントロダクション　======================*/
  .ContentsEma .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    padding-top: 160px;
    padding-bottom: 120px;
    margin-top: -80px;
    position: relative;
    z-index: 0;
  }
  .ContentsEma_List .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    padding-top: 90px;
    padding-bottom: 80px;
  }
  .ContentsEma .EmaIntro::after {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma_List .EmaIntro::after {
    display: none;
  }
  .ContentsEma .EmaIntro .IntroText {
    color: #8a4e31;
    font-size: 19px;
    line-height: 1.79;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 13px;
  }
  .ContentsEma .EmaIntro dl {
    width: 590px;
    margin: 0 auto;
    margin-bottom: 39px;
  }
  .ContentsEma .EmaIntro dt {
    width: 122px;
    float: left;
    clear: left;
    margin-right: 30px;
  }
  .ContentsEma .EmaIntro dt span {
    display: block;
    width: 122px;
    height: 28px;
    font-size: 19px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background-color: #8a4e31;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }
  .ContentsEma .EmaIntro dd {
    font-size: 22px;
    font-weight: bold;
    float: left;
    text-align: left;
    color: #8a4e31;
  }
  .ContentsEma .EmaIntro dd span {
    font-size: 127.27%;
  }
  .ContentsEma .EmaIntro .EntryBtn {
    display: block;
    width: 580px;
    height: 55px;
    background: #d23a26;
   -moz-border-radius: 20px;
   -webkit-border-radius: 20px;
   border-radius: 20px;
   box-shadow: 0px 3px 4.9px 0.1px rgba(104, 24, 14, 0.35);
   font-size: 150%;
   text-align: center;
   font-weight: bold;
   color: #fff;
   padding-top: 15px;
   margin: 0 auto 36px;
  }
  .ContentsEma .EmaIntro .EntryBtn:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  .ContentsEma .EmaIntro .DetailText {
    font-size: 83%;
    line-height: 1.6;
    padding-bottom: 35px;
  }
  .ContentsEma .EmaIntro .DetailText span.yellow {
    color: #e4ff00;
  }
  .ContentsEma .EmaIntro .DetailText span.white {
    color: #fff;
  }

  /*=　騎手リスト　======================*/
  .ContentsEma .JockeyList {
    padding-top: 142px;
    padding-bottom: 157px;
    position: relative;
  }
  .ContentsEma .JockeyList h2 {
    width: 349px;
    position: absolute;
    left: 50%;
    top: -110px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .ContentsEma .JockeyList h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .JockeyList h2 img.sp {
    display: none;
  }
  .ContentsEma .JockeyList ul {
    text-align: center;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-line-pack: distribute;
    -webkit-align-content: space-around;
    align-content: space-around;
  }
  .ContentsEma .JockeyList li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    background: #fff;
    width: 200px;
    min-height: 430px;
    padding-bottom: 30px;
    margin: 0 16px 27px;
  }
  .ContentsEma .JockeyList li::after {
    content: "";
    background: url(../image/pc-bg-jockey-bottom.png) center bottom repeat-x;
    display: block;
    width: 100%;
    height: 26px;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .JockeyName {
    color: #b6824d;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
  }
  .ContentsEma .JockeyList li:nth-of-type(even) .JockeyName {
    background: url(../image/pc-jockey-ribbon-grn.png) center 2px no-repeat;
  }
  .ContentsEma .JockeyList li:nth-of-type(odd) .JockeyName {
    background: url(../image/pc-jockey-ribbon-pnk.png) center 2px no-repeat;
  }
  .JockeyName span {
    font-size: 14px;
    padding-left: 4px;
  }
  .JokeysWish {
    color: #333;
    font-size: 16px;
    line-height: 1.63;
    padding: 0 15px;
  }
  /*=　ケイバ女子の願い　======================*/
  .ContentsEma .Keibajoshi {
    background: #fdefa8;
    padding-top: 70px;
    position: relative;
    padding-bottom: 137px;
  }
  .ContentsEma .Keibajoshi::before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .Keibajoshi .InnerBox {
    /*background: url(../image/pc-wish-image.png) right bottom no-repeat;
    padding-bottom: 10px;*/
  }
  .ContentsEma .Keibajoshi h2 {
    width: 632px;
    position: absolute;
    left: 50%;
    top: -48px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .ContentsEma .Keibajoshi h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .Keibajoshi h2 img.sp {
    display: none;
  }
  .KeibajoshiLead {
    color: #333;
    font-size: 20px;
    text-align: center;
    margin-bottom: 57px;
  }
  .MvBox {
    border: 9px solid #c28111;
    width: 638px;
    margin: 0 auto;
  }

  /*=　投稿作品　======================*/
  .ContentsEma .EntryWork {
    background: #fae2e9;
    position: relative;
    padding-top: 65px;
  	padding-bottom: 70px;
  }
  .ContentsEma .EntryWork::before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .EntryWork::after {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
  }
  .ContentsEma .EntryWork h2 {
    width: 316px;
    position: absolute;
    left: 50%;
    top: -107px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    padding: 16px 0 0 0;
  }
  .ContentsEma .EntryWork h2 img.pc {
    display: inline-block;
  }
  .ContentsEma .EntryWork h2 img.sp {
    display: none;
  }
  .ContentsEma .EntryWorkInner {
    padding-top: 20px;
    padding-bottom: 70px;
  }
  .ContentsEma .EntryWorkInner .SubTitle {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    line-height: 58px;
    display: inline-block;
    padding-right: 110px;
    margin: 0 auto 18px;
    position: relative;
  }
  .ContentsEma .EntryWorkInner .SubTitle::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 97px;
    height: 58px;
    background: url("../image/icn-subtitle-everyones-wish.png") right center no-repeat;
  }
  .ContentsEma .EntryWorkInner ul {
    text-align: center;
  }
  .ContentsEma .EntryWorkInner li {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 36px;
    position: relative;
  }
  .ContentsEma .EntryWorkInner li .BtnCloseEma {
    position: absolute;
    bottom: 3px;
    right: 23px;
    z-index: 10;
    cursor: pointer;
  }
  .EntryWorkInner .EmaWrap {
    background: url(../image/pc-bg-ema.png) 0 0 no-repeat;
    padding: 128px 50px 0 50px;
    width: 312px;
    height: 317px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  .EntryWorkInner .EmaWrap .avatar {
    vertical-align: text-bottom;
    display: inline-block;
    width: 26px;
    height: 26px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-right: 10px;
  }
  .EntryWorkInner .EmaWrap .UserInfo {
    color: #f64b80;
    font-size: 88.89%;
    font-weight: bold;
    text-align: left;
  }
  .EntryWorkInner .EmaWrap .UserInfo a {
    color: #f64b80;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .EmaText {
    color: #333;
    font-size: 89%;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    margin: 10px auto 0;
    /*padding: 13px 19px 0 25px;*/
  }

  /* 「いいね！」パーツ */
  .ContentsEma .EntryWorkInner .EmaWrap .Fav {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    cursor: pointer;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dt {
    color: #853c0f;
    font-size: 77.78%;
    font-weight: bold;
    float: left;
    clear: left;
    text-align: left;
    padding: 5px 5px 0 0;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dd {
    color: #fff;
    font-size: 83%;
    font-weight: bold;
    text-align: right;
    float: left;
    background: #685844;
    width: 54px;
    padding: 5px 7px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-sizing: border-box;
  }

  /* ソートリスト */
  .ContentsEma .SortList ul {
    text-align: center;
    margin-bottom: 20px;
  }
  .ContentsEma .SortList li {
    font-size: 100%;
    display: inline-block;
    width: auto;
    margin: 0 3px;
  }
  .ContentsEma .SortList li:last-child {
    width: auto;
  }
  .ContentsEma .SortList li a,
  .ContentsEma .SortList li span {
    display: block;
    color: #fff;
    background-color:#f799b1;
    line-height: 34px;
    min-width: 4.5em;
    padding: 0 15px;
    -moz-border-radius: 17px;
    -webkit-border-radius: 17px;
    border-radius: 17px;
    cursor: pointer;
  }
  .ContentsEma .SortList li.active a,
  .ContentsEma .SortList li.active span{
    color:#f799b1;
    background-color:#fff;
    cursor: default;
  }
  .ContentsEma .SortList li a:hover,
  .ContentsEma .SortList li span:hover {
    opacity: .8;
    text-decoration: none;
  }
  .ContentsEma .SortList li.active a:hover ,
  .ContentsEma .SortList li.active span:hover {
    opacity: 1;
  }

  /* ページャー */
  .ContentsEma .Common_Pager ul {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
  }
  .ContentsEma .Common_Pager ul li {
    display: inline-block;
    margin:0 5px 0 0;
    width: auto;
    vertical-align: middle;
    background: none;
    border: none;
  }
  .ContentsEma .Common_Pager ul li:first-child div {
    font-weight: bold;
    background-color: #f5f5f5;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #8d8d8d;
  }
  .ContentsEma .Common_Pager ul li:last-child {
    margin: 0;
  }
  .ContentsEma .Common_Pager ul li:last-child div {
    font-weight: bold;
    background-color: #f5f5f5;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #8d8d8d;
  }
  .Common_Pager ul li a, .Common_Pager ul li div {
    height: auto;
    line-height: normal;
  }
  .ContentsEma .Common_Pager ul li:nth-of-type(9n-4) {
    margin-right: 5px;
  }
  .ContentsEma .Common_Pager ul li a {
    display: block;
    font-weight: bold;
    background-color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 14px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #f799b1;
  }
  .ContentsEma .Common_Pager ul li.Page_Active {
    color: #fff;
    background-color: #404453;
    border: 1px solid #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 14px;
  }
  .ContentsEma .Common_Pager ul li.Page_Active div{
    text-shadow: none;
    background: none;
    box-shadow: none;
  }
}

/*==============================================
/*
/*スマホ
/*
=============================================*/
@media only screen and (max-width: 767px) {
  .ContentsEma * {
    font-size:100%;
  }
  .ContentsEma .sp-br {
    display: none;
  }

  /*=　ヘッダー　======================*/
  .ContentsEma .EmaHeader {
    background: url("../image/sp-header-bg.png") left 80% no-repeat;
    background-size: contain;
    position: relative;
    z-index: 1;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner {
    width: 100%;
    height: 0;
    padding-bottom: 97.73%;
    margin: 0 auto;
    position: relative;
  }
  .ContentsEma .EmaHeader h1 {
    width: 89.52%;
    height: 79.47%;
    margin: 0 auto 27px;
    background: url("../image/sp-title.png") 0 0 no-repeat;
    background-size: 100%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 9.25%;
  }
  .ContentsEma .EmaHeader .CopyText {
    width: 85.3%;
    height: 11.5%;
    margin: 0 auto 28px;
    background: url("../image/sp-intro-text.gif") 0 0 no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    position: absolute;
    top: 33.46%;
    left: 7.33%;
  }
  .ContentsEma .EmaHeader .EmaHeaderInner::after {
    content:"";
    width: 100%;
    height: 20px;
    background: url("../image/pc-bg-header-inner.png") 0 0 repeat-x;
    -webkit-background-size: 40px;
    background-size: 40px;
    position: absolute;
    top: 96%;
    left: 0;
  }
  .ContentsEma_List .EmaHeader .EmaHeaderInner::after {
    display: none;
  }
  .ContentsEma .EmaHeader .HeaderSubtext {
    width: 40.5%;
    height: 54.3%;
    background: url("../image/header-subtext.png") 0 0 no-repeat;
    background-size: 100%;
    position: absolute;
    bottom: -24px;
    left: 30%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
  }
  .ContentsEma .EmaHeader .HeaderBtn {
    width: 15%;
    height: 15%;
    min-width: 50px;
    min-height: 50px;
    position: absolute;
    left: 20%;
    bottom: 50px;
  }
  .ContentsEma .EmaHeader .HeaderBtn img {
    width: 100%;
    height: auto;
  }

  /*=　共通ボックス　======================*/
  .ContentsEma .InnerBox {
    width:91.5%;
    margin: 0 auto;
  }

  /*=　イントロダクション　======================*/
  .ContentsEma .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 79%, rgb(218,184,110) 93%, rgb(180,129,46) 100%);
    padding-top: 18%;
    padding-bottom: 15%;
    margin-top: -17%;
    z-index: 0;
    position: relative;
  }
  .ContentsEma_List .EmaIntro {
    background-image: -moz-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,239,173) 0, rgb(218,184,110) 50%, rgb(180,129,46) 100%);
    padding-bottom: 0;
  }
  .ContentsEma .EmaIntro::after {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: -10px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
    -webkit-background-size: 40px;
    background-size: 40px;
  }
  .ContentsEma .EmaIntro .IntroText {
    font-size: 83.3%;
    color: #8a4e31;
    line-height: 1.9;
    text-align: center;
    padding: 15px 0;
  }
  .ContentsEma .EmaIntro .IntroText .sp-br {
    display: inline;
  }
  .ContentsEma .EmaIntro dl {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 25px;
  }
  .ContentsEma .EmaIntro dt {
    width: 100%;
    margin-bottom: 8px;
  }
  .ContentsEma .EmaIntro dt span {
    display: block;
    width: 6em;
    height: 28px;
    font-size: 94.4%;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background-color: #8a4e31;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 0 auto;
  }
  .ContentsEma .EmaIntro dd {
    font-size: 90%;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: #8a4e31;
    margin-bottom: 15px;
  }
  .ContentsEma .EmaIntro .EntryBtn {
    display: block;
    color: #fff;
    font-size: 122%;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    width: 87%;
    height: 40px;
    background: #c9391c;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    box-shadow: 0px 3px 4.9px 0.1px rgba(104, 24, 14, 0.35);
    padding-top: 12px;
    margin: 0 auto 30px;
  }
  .ContentsEma .EmaIntro .DetailText {
    font-size: 83%;
    line-height: 1.6;
    padding-bottom: 25px;
  }
  .ContentsEma .EmaIntro .DetailText span.yellow {
    color: #e4ff00;
  }
  .ContentsEma .EmaIntro .DetailText span.white {
    color: #fff;
  }

  /*=　騎手リスト　======================*/
  .ContentsEma .JockeyList {
    padding-top: 18%;
    padding-bottom: 18%;
    position: relative;
  }
  .ContentsEma .JockeyList .innerBox {
    width: 86.94%;
  }
  .ContentsEma .JockeyList h2 {
    width: 59.59%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
  }
  .ContentsEma .JockeyList h2 img.pc {
    display: none;
  }
  .ContentsEma .JockeyList h2 img.sp {
    display: inline-block;
    width: 100%;
    height: auto;
  }
  .JokeyListNotice {
    font-size: 66.67%;
  }
  .ContentsEma .JockeyList ul {
    margin-left: -5%;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-line-pack: distribute;
    -webkit-align-content: space-around;
    align-content: space-around;
  }
  .ContentsEma .JockeyList li {
    display: inline-block;
    background: #fff;
    width: 45%;
    max-width: 300px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    padding-bottom: 40px;
    margin-left: 5%;
    margin-bottom: 1.2rem;
    position: relative;
  }
  .ContentsEma .JockeyList li::after {
    content: "";
    background: url(../image/pc-bg-jockey-bottom.png) 10px bottom repeat-x;
    display: block;
    width: 100%;
    height: 26px;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .JockeyName {
    color: #b6824d;
    font-size: 98%;
    font-weight: normal;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
  }
  .ContentsEma .JockeyList li:nth-of-type(even) .JockeyName {
    background: url(../image/pc-jockey-ribbon-grn.png) center 2px no-repeat;
  }
  .ContentsEma .JockeyList li:nth-of-type(odd) .JockeyName {
    background: url(../image/pc-jockey-ribbon-pnk.png) center 2px no-repeat;
  }
  .JockeyName span {
    font-size: 67%;
    padding-left: 2%;
  }
  .JokeysWish {
    color: #333;
    font-size: 83.33%;
    line-height: 1.4;
    padding: 0 8%;
  }
  /*=　ケイバ女子の願い　======================*/
  .ContentsEma .Keibajoshi {
    background: #fdefa8;
    padding-top: 15%;
    position: relative;
    padding-bottom: 85px;
  }
  .ContentsEma .Keibajoshi::before {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    top: -10px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
    -webkit-background-size: 40px;
    background-size: 40px;
  }
  .ContentsEma .Keibajoshi h2 {
    width: 88.03%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-33.75%);
    -webkit-transform: translateX(-50%) translateY(-33.75%);
    -ms-transform: translateX(-50%) translateY(-33.75%);
  }
  .ContentsEma .Keibajoshi h2 img.pc {
    display: none;
  }
  .ContentsEma .Keibajoshi h2 img.sp {
    display: inline-block;
    width: 100%;
    height: auto;
  }
  .KeibajoshiLead {
    color: #333;
    font-size: 78%;
    text-align: center;
    margin-bottom: 0.46em;
  }
  .MvBox {
    background: #c28111;
    width: 100%;
    margin: 0 auto;
    padding: 8px;
  }

  /*=　投稿絵馬　　==================================*/
  .ContentsEma .EntryWork {
    background: #fae2e9;
    position: relative;
    padding-top: 16px;
    padding-bottom: 60px;
    position: relative;
  }
  .ContentsEma .EntryWork::before {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    top: -10px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
    -webkit-background-size: 40px;
    background-size: 40px;
  }
  .ContentsEma .EntryWork::after {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: -10px;
    left: 0;
    background: url(../image/pc-bg-pattern.png) center 0 repeat-x;
    -webkit-background-size: 40px;
    background-size: 40px;
  }
  .ContentsEma .EntryWork h2 {
    width: 47.6%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-40%);
    -webkit-transform: translateX(-50%) translateY(-40%);
    -ms-transform: ttranslateX(-50%) translateY(-40%);
  }
  .ContentsEma .EntryWork h2 img.pc {
    display: none;
  }
  .ContentsEma .EntryWork h2 img.sp {
    display: inline-block;
    width: 100%;
    height: auto;
  }
  .ContentsEma .EntryWorkInner {
    padding-top: 15%;
    text-align: center;
  }
  .ContentsEma .EntryWorkInner .SubTitle {
    color: #333;
    font-size: 83.33%;
    line-height: 29px;
    display: inline-block;
    text-align: center;
    padding-right: 65px;
    margin: 0 0 1em;
    position: relative;
  }
  .ContentsEma .EntryWorkInner .SubTitle::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 49px;
    height: 29px;
    background: url("../image/icn-subtitle-everyones-wish.png") right center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }
  .ContentsEma .EntryWorkInner .InnerBox {
    /*width: 74.13%;*/
  }
  .ContentsEma .EntryWorkInner ul {
    text-align: center;
  }
  .ContentsEma .EntryWorkInner li {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 0 20px;
    position: relative;
  }
  .ContentsEma .EntryWorkInner li .BtnCloseEma {
    position: absolute;
    bottom: 2px;
    left: 80%;
    z-index: 10;
    width: 33px;
    height: 33px;
    cursor: pointer;
  }
  .ContentsEma .EntryWorkInner li .BtnCloseEma img {
    width: 100%;
    height: auto;
  }
  .Ema_items li {
    /*max-width: 448px;*/
    max-width: 282px;
  }
  .ContentsEma .EntryWorkInner .EmaWrap {
    background: url(../image/sp-bg-ema.png) center 0 no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    width: 100%;
    height: auto;
    padding-top: 99.64%;
    position: relative;
    overflow: hidden;
  }
  .EntryWorkInner .EmaWrap .avatar {
    vertical-align: text-bottom;
    display: inline-block;
    width: 26px;
    height: 26px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-right: 10px;
  }
  .EntryWorkInner .EmaWrap .UserInfo {
    color: #f64b80;
    font-size: 78%;
    font-weight: bold;
    position: absolute;
    top: 40.11%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .EntryWorkInner .EmaWrap .UserInfo a {
    color: #f64b80;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .EmaText {
    color: #333;
    font-size: 78%;
    line-height: 1.5;
    text-align: left;
    width: 65.11%;
    position: absolute;
    top: 52.7%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  /* 「いいね！」パーツ */
  .ContentsEma .EntryWorkInner .EmaWrap .Fav {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    cursor: pointer;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dt {
    color: #853c0f;
    font-size: 77.78%;
    font-weight: bold;
    float: left;
    clear: left;
    text-align: left;
    padding: 5px 5px 0 0;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dd {
    color: #fff;
    font-size: 83%;
    font-weight: bold;
    text-align: right;
    float: left;
    background: #685844;
    width: 54px;
    padding: 5px 7px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-sizing: border-box;
  }

  /* ソートリスト */
  .ContentsEma .SortList ul {
    text-align: center;
    margin-bottom: 20px;
  }
  .ContentsEma .SortList li {
    display: inline-block;
    width: auto;
    margin: 0 5px;
    font-size: 72%;
  }
  .ContentsEma .SortList li a,
  .ContentsEma .SortList li span {
    display: block;
    padding: 0 15px;
    color: #fff;
    background: #f099b1;
    line-height: 24px;
    min-width: 4.5em;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
  }
  .ContentsEma .SortList li.active a,
  .ContentsEma .SortList li.active span{
    color:#f099b1;
    background-color:#fff;
  }

  /* ページャー */
  /* common pager 移植 */
  .Common_Pager{
    padding:8px 8px 10px;
  }
  .Common_Pager ul{
    display:table;
    margin: 0 auto;
    max-width:280px;
  }
  .Common_Pager ul + ul {
    margin-top: 8px;
  }
  .Common_Pager ul li{
    display:table-cell;
    width:36px;
    font-size:.8em;
    vertical-align:top;
    border-top: 1px solid #BDBDBD;
    border-left: 1px solid #BDBDBD;
    border-bottom: 1px solid #BDBDBD;
    background: #fff;
    /*background:#f1f2f3;*/
    /*background-image: -moz-linear-gradient(top,#f7f8f9,#f1f2f3);
    background-image: -o-linear-gradient(top,#f7f8f9,#f1f2f3);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f7f8f9),to(#f1f2f3));
    background-image:linear-gradient(to bottom,#f7f8f9,#f1f2f3);*//* IE10+, W3C */
  }
  .Common_Pager ul li:first-child{
    width:54px;
  }
  .Common_Pager ul li:first-child,
  .Common_Pager ul li:first-child a,
  .Common_Pager ul li:first-child div{
    border-top-left-radius: 2px 2px;
    border-bottom-left-radius: 2px 2px;
  }
  .Common_Pager ul li:last-child{
    width:54px;
    border-right: 1px solid #BDBDBD;
  }
  .Common_Pager ul li:last-child,
  .Common_Pager ul li:last-child a,
  .Common_Pager ul li:last-child div{
    border-bottom-right-radius : 2px 2px;
    border-top-right-radius : 2px 2px;
  }
  .Common_Pager ul li a,
  .Common_Pager ul li div{
    display:block;
    height:40px;
    line-height: 40px;
    font-weight:bold;
    text-align:center;
    /*padding:8px 2px 6px 2px;*/
    color:#444;
  }
  .Common_Pager ul li:first-child div,
  .Common_Pager ul li:last-child div{
    color:#666;
  }
  .Common_Pager ul li.Page_Active div{
    color:#fff;
    text-shadow: #27436e 0 -1px 0;
    background: #3376EA;
    box-shadow: rgba(255, 255, 255, 0.4) 0px 1px 0px;
  }

  /* 絵馬用ページャー */
  .ContentsEma .Common_Pager ul {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
  }
  .ContentsEma .Common_Pager ul li {
    font-weight: bold;
    background-color: #fff;
    text-align: center;
    border: 1px solid #d9dde3;
    border-right: 0;
    color: #f799b1;
    margin:0;
    width: 40px;
    vertical-align: middle;
  }
  .ContentsEma .Common_Pager ul li a {
    color: #f799b1;
  }
  .ContentsEma .Common_Pager ul li:first-child {
    font-weight: bold;
    background-color: #f5f5f5;
    border-top-left-radius: 4px 4px;
    border-bottom-left-radius: 4px 4px;
    text-align: center;
    border: 1px solid #d9dde3;
    border-right: 0;
    color: #f799b1;
    width:55px;
  }
  .ContentsEma .Common_Pager ul li:last-child {
    margin: 0;
    width:55px;
  }
  .ContentsEma .Common_Pager ul li:last-child {
    font-weight: bold;
    background-color: #f5f5f5;
    border-bottom-right-radius: 2px 2px;
    border-top-right-radius: 2px 2px;
    text-align: center;
    border: 1px solid #d9dde3;
    color: #f799b1;
  }
  .ContentsEma .Common_Pager ul li:nth-of-type(9n-4) {
    margin-right: 0;
  }
  .ContentsEma .Common_Pager ul li.Page_Active div {
    color: #fff;
    background-color: #404453;
    border: 1px solid #fff;
  }
}

/*==============================================
/*調整メディアクエリ
=============================================*/

@media only screen and (max-width: 600px) {
  .ContentsEma .sp-br {
    display: none;
  }
  /*=　ケイバ女子　　==================================*/
  .ContentsEma .EntryWorkInner .SubTitle {
    text-align: center;
    display: inline-block;
    padding-right: 65px;
    margin: 0 0 1em;
  }
  .ContentsEma .EntryWorkInner .SubTitle::after {
    right: 10px;
  }
  /*=　投稿絵馬　　==================================*/
  .ContentsEma .EntryWorkInner .InnerBox {
    width: 85%;
  }
  .ContentsEma .SortList li {
    display: inline-block;
    width: auto;
    margin: 0 3px 10px;
    font-size: 72%;
  }
}
@media only screen and (min-width: 520px) and (max-width: 710px) {
  .ContentsEma .sp-br {
    display: none;
  }
}

@media only screen and (max-width: 360px) {
  .ContentsEma .sp-br {
    display: block;
  }
  .ContentsEma .EmaHeader .HeaderBtn {
    left: 10%;
    bottom: 0;
  }
  /*=　ページャー　　==================================*/
  .ContentsEma .Common_Pager ul li {
    width: 30px;
  }
  /*=　イントロダクション　　==============================*/
  .ContentsEma .EmaIntro .IntroText {
    font-size: 70%;
  }
  .ContentsEma .EmaIntro dt span {
    font-size: 84%;
    line-height: 2;
  }
  .ContentsEma .EmaIntro dd {
    font-size: 84%;
    line-height: 1.4;
  }
  .ContentsEma .EmaIntro dl {
    margin-bottom: 0;
  }
  .ContentsEma .EmaIntro .IntroText .sp-br,
  .ContentsEma .EmaIntro .IntroText br {
    display: none;
  }
  /*=　騎手リスト　====================================*/
  .ContentsEma .JockeyList .innerBox {
    width: 96%;
  }
  .ContentsEma .JockeyList ul {
    text-align: center;
    margin-left: 0;
  }
  .ContentsEma .JockeyList li {
    width: 80%;
    margin: 0 0 15px;
  }
  .JokeyListNotice {
    position: relative;
    top: 0;
    margin-bottom: 10px;
  }
  /*=　投稿絵馬　　==================================*/
  .ContentsEma .EntryWork h2 {
    /*width: 300px;*/
    width: 47.6%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    /*padding: 11px 60px 0 60px;*/
  }
  .ContentsEma .EntryWorkInner .InnerBox {
    width: 96%;
  }
  .ContentsEma .EntryWorkInner li {

  }
  .ContentsEma .EntryWorkInner .EmaWrap {

  }
  .EntryWorkInner .EmaWrap .UserInfo {
    font-size: 70%;
    top: 37%;
    width: 100%;
  }
  .EntryWorkInner .EmaWrap .avatar {
    width: 20px;
    height: 20px;
    margin-top: 5px;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .EmaText {
    font-size: 75%;
    width: 75%;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dt {
    font-size: 65%;
  }
  .ContentsEma .EntryWorkInner .EmaWrap .Fav dd {
    font-size: 60%;
    width: auto;
  }
  .ContentsEma .EntryWorkInner li .BtnCloseEma {
    right: 15px;
    width: 25px;
    height: 25px;
    bottom: 4px;
  }
  .ContentsEma .SortList li {
    display: inline-block;
    width: auto;
    margin: 0 5px 10px;
    font-size: 88%;
  }
}


/*==============================================
/*ヘッダーのアニメーション
=============================================*/
.ContentsEma .EmaHeader .HeaderBtn {
  animation-name: anime1;
  animation-duration: 0.6s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
/*@keyframes anime1 {
  0% {bottom: 60px;}
  50% {bottom: 50px;}
  100% {bottom: 60px;}
}*/
@keyframes anime1 {
  0% { transform: translateY(0);}
  50% { transform: translateY(10px);}
  100% { transform: translateY(0);}
}
@-webkit-keyframes anime1 {
  0% { transform: translateY(0);}
  50% { transform: translateY(10px);}
  100% { transform: translateY(0);}
}
@-ms-keyframes anime1 {
  0% { transform: translateY(0);}
  50% { transform: translateY(10px);}
  100% { transform: translateY(0);}
}
.ContentsEma .EmaHeader .HeaderBtn:hover {
  animation-play-state: paused;
}

/*=　投稿絵馬　　==================================*/

/* いいね！した時の絵馬の背景色指定 */
/*.EntryWorkInner .EmaWrap.AddFav {
  background: #fffeac;
}*/
/* いいね！した時の「いいね！」の色指定 */
.EntryWorkInner .EmaWrap .Fav.AddFav dt {
  color: #fff;
}

.ContentsEma .EntryWorkInner .count {
  color: #333;
  font-size: 88.89%;
  font-weight: bold;
  text-align: left;
  margin: 23px auto 0;
  text-align: center;
}
/*=　もっと見るボタン　　==================================*/
.ContentsEma .MoreBtn {
  padding: 20px 0;
}
.ContentsEma .MoreBtn a {
  position: relative;
  display: block;
  width: 204px;
  height: 40px;
  background: #fff;
  color: #f799b1;
  font-size: 111%;
  text-align: center;
  line-height: 2.3;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  padding-right: 30px;
  margin: 0 auto;
  box-shadow: 0px 4px 5px 0px rgba(189, 82, 109, 0.17);
}

.ContentsEma .MoreBtn a:after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 3px solid #f799b1;
  border-top: 3px solid #f799b1;
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  position: absolute;
  top: 10px;
  right: 26px;
}
.ContentsEma .MoreBtn a:hover {
  text-decoration: none;
  opacity: 0.8;
}


/*=　投稿フォーム　======================*/
.ContentsEma .oubo-form {
  background: #fff;
  padding: 10px;
  min-height: 410px;
  position: relative;
}
.ContentsEma .oubo-form form {
  padding-right: 320px;
}
.ContentsEma .oubo-form .title {
  text-align: center;
  font-size: 100%;
  font-weight: bold;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
}
.ContentsEma .oubo-form div {
  margin-bottom: 20px;
}
.ContentsEma .oubo-form div:last-of-type {
  text-align: left;
  /*margin-bottom: 30px;*/
}
.ContentsEma .oubo-form div textarea {
  font-size: 88%;
  line-height: 1.4;
  border: none;
  width: 300px;
  height: 100px;
  padding: 10px;
  background: #ccc;
}
.ContentsEma .oubo-form div textarea.attention {
  padding: 10px;
  background: #ff8067;
  color: #fff;
}
.ContentsEma .oubo-form div textarea::-webkit-input-placeholder {
  padding: 3px;
    color: #fff;
}
.ContentsEma .oubo-form div textarea:-ms-input-placeholder {
  padding: 3px;
    color: #fff;
}
.ContentsEma .oubo-form div textarea::-moz-placeholder {
  padding: 3px;
    color: #fff;
}
.select_radio_note {
  color: #8a4e31;
  font-size: 90%;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}
.ContentsEma .oubo-form input[type=radio] {
  display: none;
}
.ContentsEma .oubo-form input[type=radio] + label {
  display: inline-block;
  color: #fff;
  font-size: 100%;
  line-height:34px;
  text-align: center;
  -moz-border-radius: 17px;
  -webkit-border-radius: 17px;
  border-radius: 17px;
  background-color:#f799b1;
  cursor: pointer;
  width: 46%;
  margin: 1%;
}
.ContentsEma .oubo-form input[type="radio"]:checked + label {
  color:#f799b1;
  background-color:#fff;
  border: 1px solid #f799b1;
}

.ContentsEma .oubo-form button {
  display: block;
  border: 0;
  width: 200px;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  margin: 0;
  background: #ffc104;
  color: #444;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  /*cursor: pointer;*/
}
.ContentsEma .oubo-form .attention {
  padding-top: 10px;
  color: #ff8067;
  font-size: 84%;
  margin-bottom: 15px;
}

/*=　投稿フォーム内プレビュー絵馬　======================*/
.ContentsEma .oubo-form .EmaWrap {
  background: url(../image/pc-bg-ema.png) 0 0 no-repeat;
  padding: 128px 50px 0 50px;
  margin-bottom: 0;
  width: 312px;
  height: 317px;
  position: absolute;
  overflow: hidden;
  top: 60px;
  right: 8px;
}
.ContentsEma .oubo-form .EmaWrap .EmaText {
  color: #333;
  font-size: 89%;
  line-height: 1.63;
  text-align: left;
  width: 100%;
  margin: 18px auto 0;
  font-family: 'ヒラギノ明朝 ProN W3', 'HiraMinProN-W3','メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}
.ContentsEma .oubo-form .EmaWrap .avatar {
  vertical-align: text-bottom;
  display: inline-block;
  width: 26px;
  height: 26px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-right: 10px;
}
.ContentsEma .oubo-form .EmaWrap .UserInfo {
  color: #f64b80;
  font-size: 88.89%;
  font-weight: bold;
}

/* ポップアップのデフォルトスタイルの調整 */
#cboxContent {
  overflow: visible ;
}
#cboxClose {
  position: absolute;
  top: -25px;
  right: -25px;
  border-radius: 50%;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  width: 40px;
  height: 40px;
  background: #333;
}
#cboxClose:after {
  content:"";
  display: block;
  width: 20px;
  height: 20px;
  background: url("../image/btn-close.png") 0 0 no-repeat;
  background-size: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
}

@media only screen and (max-width: 800px) {
  .ContentsEma .oubo-form .EmaWrap {
    display: none;
  }
}
@media only screen and (max-width: 500px) {
  .ContentsEma .oubo-form {
    min-height: auto;
  }
  .ContentsEma .oubo-form form {
    padding-right: 10px;
  }
  .ContentsEma .oubo-form .title {
    font-size: 88%;
  }
  .ContentsEma .oubo-form div {
    width: 100%;
  }
  .ContentsEma .oubo-form div textarea {
    font-size: 80%;
    width: 100%;
    height: 6em;
  }
  .select_radio_note {
    text-align: center;
  }
  .ContentsEma .oubo-form button {
    margin: 0 auto;
    width: 100%;
  }
  /* ポップアップのデフォルトスタイルの調整 */
  #cboxClose {
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 50%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    width: 25px;
    height: 25px;
    background: #333;
  }
  #cboxClose:after {
    content:"";
    display: block;
    width: 10px;
    height: 10px;
    background: url("../image/btn-close.png") 0 0 no-repeat;
    background-size: 10px;
    position: absolute;
    top: 8px;
    left: 8px;
  }
}