@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  font-size: 16px;
  text-align: center;
  overflow-x: hidden;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
    sans-serif;
    background-color: #fff;
}

img {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  display: block;
}

p,
a,
span,
ul,
li,
h1,
h2,
h3 {
  font-family: sans-serif;
  color: black;
}

.img-wrapper {
  width: 90%;
  margin: 0 auto;
}
.mv {
  width: 100%;
  max-width: 100%;
}

.mv__enrty img{
  width: 100%;
  max-width: 100%;
}

nav {
  padding: 15px 5%;
  box-sizing: border-box;
}

nav ul{
  display: grid;
  grid-template-columns: repeat(3,auto);
  gap: 2%;
  max-width: 720px;
  margin: auto;
  justify-content: center;
}

.entry_btn {
  padding: 7% 0 7%;
}
.info_btn {
  padding: 0;
  margin-bottom: 5%;
}

.entry_btn img {
  display: inline;
  width: 65%;
  max-width: 700px;
}

/*-----------------------------
  ヘッダー
-----------------------------*/
header {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    margin: auto;
    display: flex;
    padding-top: 1%;
    padding-left: 3%;
    padding-right: 3%;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
}

@media (min-width: 1160px) {
  header{
    max-width: 100%;
  }
}

.header--left {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 25%;
}

.header-logo-link {
  width: 100%;
}
.header-sns {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 12%;
  gap: clamp(2px,1vw,8px);
}

header a{
  display: block;
}

header .logo {
  width: 100%;
  width: 13vw;
}

header .twitter {
  width: 100%;
}

header .facebook {
    width: 100%;
}
.logo-50--header {
  width: 90%;
}

/*-----------------------------
  キャンペーンについて
-----------------------------*/

.info {
  padding-bottom: 16%;
  position: relative;
  z-index: 5;
}

.info__btn{
  padding-top: 3%;
}

/*-----------------------------
  賞品紹介
-----------------------------*/

.prize {
  position: relative;
  z-index: 5;
  padding-bottom: 7%;
  margin-top: -10%;
}

/*-----------------------------
  応募方法・応募規約
-----------------------------*/

.bg--vote-rule {
  position: relative;
  z-index: 2;
  margin-top: 1%;
  padding-top: 7%;
}

/*-----------------------------
  応募規約
-----------------------------*/
.rule {
  position: relative;
  margin: 7% auto;
}

.rule_title {
  width: 90%;
  margin: 0 auto;
}

/* .r_contents {
  max-width: 950px;
  width: 90%;
  margin: 0 auto;
  background: url(../images/rule_bg.png) no-repeat top center;
  background-size: 100%;
  padding: 18% 5% 10% 5%;
} */

.r_contents {
  max-width: 950px;
  width: 90%;
  margin: 0 auto;
  background: url(../images/rule_bg.png) no-repeat top center;
  background-size: 100%;
  padding: 15% 5% 5% 5%;
}

@media screen and (min-width:968px) {
.r_contents {
  padding: 150px 3%;
  padding: 15% 5% 2% 5%;
}
}

.scroll_wrap {
  height: 85vw;
  max-height: 900px;
  /* aspect-ratio: 1 / 1.0; */
  padding: 0px 0px 8vw 0px;
  overflow: hidden;
}

.scroll_box {
  height: 100%;
  overflow-y: scroll;
  position: relative;
  text-align: left;
  padding-left: 10px;
  padding-right: 30px;
}

.scroll_box p {
  font-size: 16px;
  line-height: 1.5;
  font-family: sans-serif;
  margin-bottom: 10px;
  color: #000000;
}

.scroll_box h3 {
  color: #f10000;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 15px;
}

.scroll_box a {
  color: #f10000;
}

.ps__rail-x,
.ps__thumb-x {
  display: none;
}

.ps__rail-x,
.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
  opacity: 1;
  pointer-events: none;
}

.ps--active-y > .ps__rail-y,
.ps--active-y > .ps__rail-y > .ps__thumb-y {
  width: 14px;
  border-radius: 3px;
  opacity: 1;
  margin-right: 5px;
}

.ps--active-y > .ps__rail-y {
  background-color: #d4e2ea;
}

.ps--active-y > .ps__rail-y > .ps__thumb-y {
  left: 0px;
  background-color: #003ca0;
}

.ps--active-y > .ps__rail-y > .ps__thumb-y {
  left: 0px;
  /* スクロールバータッチ無効 */
  pointer-events: none;
}

.mb-1e {
  margin-bottom: 1em;
}
.under-line {
  border-bottom: 1px solid #000 ;
}


/*コースリスト */
.corse-list{
  list-style: disc;
  padding-left: 1.5em;
}

.corse-list li{
  line-height: 1.5;
}

.course {
  display: flex;
  gap: 1.1em;
}

.course-label {
  flex-shrink: 0;
  color: #fff;
}

.course-content{
  color: #fff;
}
/* indent確保 */
.tx-indent {
  padding-left: 1em;
  text-indent: -1em;
}
.tx-indent--eg {
    padding-left: 1.9em;
    text-indent: -1.9em;
}
.tx-indent--lottery-ex {
    padding-left: 5.7em;
    text-indent: -5.7em;
}
.tx-indent-ex {
    padding-left: 3em;
    text-indent: -3em;
}

/*-----------------------------
  club JRA-net・メルマガ
-----------------------------*/

.club {
  margin-bottom: 7%;
}
.club-bg {
  padding-bottom: 7%;
  position: relative;
}

.club-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/*-----------------------------
  プロモーション（宣伝）
-----------------------------*/

.promotion-bg{
  background-color: #ffe73f85;
}

.promotion {
  padding-top: 7%;
  padding-bottom: 7%;
  position: relative;
  z-index: 5;
}
/*-----------------------------
  フッター
-----------------------------*/

footer {
  padding-bottom: 60px;
}

footer .wrapper--logo {
    display: flex;
    gap: 16px;
    max-width: 55%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 22px;
}
footer .logo {
  /* margin: 0 auto;
  width: 28%;
  max-width: 300px;
  margin-bottom: 20px; */
  flex: 3;
}
.logo-50--footer {
  flex: 2;
}
.footer_text {
  width: 87%;
  max-width: 700px;
}
.footer_banner {
  display: inline;
  width: 75%;
  max-width: 700px;
  padding-top: 60px;
}
footer p {
  line-height: 1.2rem;
  font-weight: bold;
  font-size: 12px;
}
footer a {
  text-decoration: none;
  display: inline;
  margin: 0 auto;
  font-size: 14px;
}
footer .twitter {
  margin: 10% auto 4%;
}

footer .twitter p {
  margin-top: 3%;
}
footer .twitter img {
  width: 8%;
  display: inline;
}
footer .link {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap:  clamp(4px, 1vw, 10px);
}

footer .link a {
  display: inline;
  margin: 0;
}

.footer__x__text {
  width: clamp(180px, 20vw, 200px) !important;
}

.footer__jra50th__text1 {
  width: clamp(130px, 20vw, 200px) !important;
}

.footer__jra50th__text2 {
  width: clamp(160px, 23vw, 230px) !important;
}

.footer__illustrator__text {
  width: clamp(160px, 20vw, 250px) !important;
  margin: 5% auto;
}
.footer__copy__text {
  width: clamp(250px, 35vw, 400px) !important;
}

/*-----------------------------
  賞品紹介のモーダル
-----------------------------*/

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  display: none;
  z-index: 20;
}

.bigimg {
  position: relative;
  text-align: center;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.bigimg img {
  width: 100%;
}

.close-btn {
  position: absolute;
  width: 50%;
  height: 9%;
  left: 25%;
  bottom: 12%;
  color: black;
}

.close-btn2 {
  position: absolute;
  width: 12%;
  height: 6.5%;
  right: 7%;
  top: 2.7%;
}

.modal-5_linkbtn {
  display: none;
  position: absolute;
  width: 7%;
  height: 1.3%;
  right: 40%;
  bottom: 28.5%;
  z-index: 20;
}

.bigimg.modal5 .modal-5_linkbtn {
  display: block;
}

.modal1 .close-btn {
  bottom: 9%;
}

.modal2 .close-btn {
  bottom: 4.5%;
  height: 8%;
}
.modal2 .close-btn2 {
  height: 6.5%;
  right: 5.5%;
  top: 2.3%;
}

.modal3 .close-btn {
  bottom: 4.5%;
}
.modal3 .close-btn2 {
  height: 6.5%;
  right: 5.5%;
  top: 2.5%;
}

.modal4 .close-btn {
  bottom: 8%;
  height: 9%;
}
.modal4 .close-btn2 {
  top: 3.5%;
  height: 7.5%;
  right: 5.5%;
}

.modal5 .close-btn {
  bottom: 4%;
  height: 7%;
}
.modal5 .close-btn2 {
  height: 6%;
  right: 5.8%;
}

.modal6 .close-btn{
  bottom: 8%;
}
.modal6 .close-btn2 {
  top: 3.5%;
  right: 5.5%;
}

.modal7 .close-btn {
  bottom: 9.5%;
}
.modal7 .close-btn2 {
  top: 4.5%;
  right: 5%;
}

.modal8 .close-btn {
  bottom: 9%;
  left: 26%;
}
.modal8 .close-btn2 {
  top: 5%;
  height: 7%;
  right: 4.5%;
}

.modal9 .close-btn {
  bottom: 9%;
  left: 26%;
}
.modal9 .close-btn2 {
  top: 4.5%;
  right: 5%;
}

.modal10 .close-btn {
  height: 9%;
  bottom: 8%;
  left: 25%;
}
.modal10 .close-btn2 {
  top: 4%;
  right: 4.5%;
}

.close-btn:hover {
  cursor: pointer !important;
}
.close-btn2:hover {
  cursor: pointer !important;
}

/*-----------------------------
  背景
-----------------------------*/

.main{
  max-width: 1280px;
  margin: auto;
  background-color: #fff;
  background: url(../images/bg_transparent.png);
  background-repeat: repeat-y;
  background-size: 100%;
  position: relative;
}

.bg-green{
  background-color: #a6ffff66;
}

/*-----------------------------
  ページトップ
-----------------------------*/
.pagetop {
  height: 50px;
  width: 50px;
  padding: 10px;
  position: fixed;
  right: 30px;
  bottom: -400px;
  background: #000000;
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
  transition: .5s ease-out;
  z-index: 99;
}

.pagetop.is-active {
  bottom: 30px;
}

.pagetop img {
  display: block;
}