@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;
  background-color: #ffffff;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
    sans-serif;
  background-position: 0 0, 50px 50px;
  background-size: 100px 100px;
  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: 85%;
  margin: 0 auto;
}

.mv{
  background-color: #82ecf6;
}

.mv img {
  max-width: 1280px;
  width: 100%;
  background-color: #003ca0;
}

.mv__enrty{
  background-color: #d0ffff;
}

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

.mb_10 {
  margin-bottom: 2%;
}

/* .pt {
  padding-top: 10%;
} */
/* .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
} */

.contents__wrapper{
  max-width: 950px;
  margin: 0 auto;
}

nav {
  max-width: 1280px;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

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

nav img {
  width: 100%;
}

.entry_btn {
  width: 50%;
  margin: 0 auto 4% auto;
}

.entry_btn img {
  width: 100%;
}

.info-text {
  margin-top: 3%;
  width: 62%;
  max-width: 700px;
}

/*-----------------------------
  ヘッダー
-----------------------------*/

header {
  position: absolute;
  width: 100%;
  right: 0;
  left: 0;
  margin: auto;
  display: flex;
  padding-top: 8px;
  padding-left: 1%;
  padding-right: 1%;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
}
.header--left {
  display: flex;
  align-items: center;
  width: 30%;
  gap: clamp(5px, 1vw, 20px);
}

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

.header-logo-link {
  width: 30%;
}

header a {
  display: block;
}

header .twitter {
  width: 100%;
}

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

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

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

.info__btn {
  padding-top: 3%;
}

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

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

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

.bg--vote-rule {
  position: relative;
  z-index: 5;
  padding-top: 5%;
  padding-bottom: 5%;
}

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

.rule_title {
  margin: 0 auto;
}

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

.scroll_wrap {
  aspect-ratio: 1 / 0.35;
}

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

.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: 20px;
  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;
}

.ps--active-y > .ps__rail-y,
.ps--active-y > .ps__rail-y > .ps__thumb-y {
  width: 16px;
  border-radius: 5px;
  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;
}

.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: #000000;
}

.course-content{
  color: #000000;
} */

/* 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-bg .club,
.club-bg .mail-maga {
  position: relative;
  z-index: 5;
}

.club-bg {
  padding-bottom: 5%;
}

.club {
  padding-bottom: 5%;
}

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

.promotion-bg {
  margin-top: 3%;
  background-color: #fdffa1;
}

.promotion {
  padding-top: 5%;
  padding-bottom: 5%;
  margin: 0 3%;
  position: relative;
  z-index: 5;
}

/*-----------------------------
  フッター
-----------------------------*/
footer {
  background-color: #fff;
  padding-top: 5%;
  padding-bottom: 10%;
}
footer .wrapper--logo {
  display: flex;
  gap: 16px;
  max-width: 22%;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 22px;
}
footer .logo {
  flex: 3;
}
.logo-50--footer {
  flex: 2;
}
.footer_text {
  margin-top: 3%;
  width: 54%;
  max-width: 700px;
}

.footer_banner {
  display: inline;
  width: 60%;
  max-width: 700px;
  margin: 8% auto;
}

footer p {
  line-height: 1.2rem;
  font-weight: bold;
}

footer a {
  text-decoration: none;
  display: inline;
  margin: 0 auto;
}

footer .twitter {
  margin: 8% auto 35px;
}

footer .twitter p {
  margin-top: 8px;
}

footer .twitter img {
  width: 4%;
  min-width: 16px;
  display: inline;
}

footer .link {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

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

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

.footer__jra50th__text2 {
  width: clamp(100px, 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: 30%;
  height: 7%;
  left: 35%;
  bottom: 12%;
  color: black;
}

.close-btn2 {
  position: absolute;
  width: 10%;
  height: 9.5%;
  right: 5%;
  top: 2%;
}

.modal-5_linkbtn {
  display: none;
  position: absolute;
  width: 5.5%;
  height: 1.25%;
  right: 32.5%;
  bottom: 29.5%;
  z-index: 20;
}

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

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

.modal2 .close-btn {
  bottom: 6%;
}

.modal3 .close-btn {
  bottom: 6%;
}

.modal4 .close-btn {
  bottom: 10%;
  height: 9%;
}
.modal4 .close-btn2 {
  top: 4%;
}
.modal5 .close-btn {
  bottom: 6%;
}

.modal6 .close-btn {
  bottom: 10%;
}
.modal7 .close-btn {
  bottom: 11%;
}

.modal8 .close-btn2 {
  top: 3%;
}
.modal9 .close-btn2 {
  top: 4%;
}

.modal10 .close-btn {
  height: 9%;
  bottom: 10%;
}

.modal10 .close-btn2 {
  top: 4%;
}

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

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

.main {
  max-width: 100%;
  margin: auto;
  background-color: #fff;
  position: relative;
}

.main::after {
  content: "";
  background: url(../images/main-bg--deco2.png);
  background-repeat: repeat-y;
  background-size: 100%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1300px) {
  .main::after{
    background-image: url(../images/main-bg--deco.png);
  }
}


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

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

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

.pagetop img {
  display: block;
}
