@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: #fae8de;
}

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;
}

.wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: block;
  box-shadow: -20px 0 20px rgba(170, 170, 133, 0.5),
  20px 0 20px rgba(170, 170, 133, 0.5);
}

.img-wrapper {
  width: 85%;
  margin: 0 auto;
}

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

.mv__btn{
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  background-image: url(../images/btn_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

nav img {
  width: 100%;
}

.mb_10 {
  margin-bottom: 2%;
}

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

.entry_btn {
  max-width: 600px;
  width: 60%;
  margin: 0 auto;
}

.entry_btn img {
  width: 100%;
}


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

header {
  position: relative;
}

.header--top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding-top: 8px;
  padding-left: 1%;
  padding-right: 1%;
}

.header--left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.header--left-top{
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 20px);
  width: 30%;
}

.header--left-bottom{
  width: 10%;
}

.header-sns {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo-link {
  width: 6vw;
  max-width: 100px;
}


header a {
  display: block;
}

header .twitter {
  width: clamp(20px,5vw,70px);
}

header .twitter {
  width: clamp(20px,5vw,42px);
  margin-top: 4px;
}

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

.info {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(80px, 30vw, 260px);
  background: url(../images/info_bg.png) no-repeat;
  background-size: cover;
  background-position: bottom;
}

.info__btn {
  padding: 3% 0;
}

.info__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin-bottom: 4%;
}

.info_about__img {
  width: 95%;
  max-width: 830px;
  margin-bottom: 4%;
}

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

.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: 2%;
}

/*-----------------------------
  応募規約
-----------------------------*/
.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: 11% 3%;
}

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

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

}

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

.mb-1e {
  margin-bottom: 1em;
}

.under-line {
  border-bottom: 1px solid #000;
}

/* 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%;
}

.merumaga_guidance__img {
  width: 90%;
  max-width: 860px;
}

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

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

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

/*-----------------------------
  フッター
-----------------------------*/
footer {
  padding: 5% 0;
  background-color: #fff;
}

footer .wrapper--logo {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  max-width: 22%;
  margin: 0 auto;
  margin-bottom: 22px;
}
footer .logo {
  flex: 3;
}
.logo-50--footer {
  flex: 2;
}
.footer_text {
  width: 54%;
  max-width: 700px;
  margin-top: 3%;
}

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

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

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

footer .twitter {
  margin: 4% auto ;
}

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

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

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

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

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

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

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

.footer__copy__text {
  width: clamp(250px, 30vw, 400px) !important;
}

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

.main {
  position: relative;
  max-width: 1280px;
  margin: auto;
  background-image: url(../images/main_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

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

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

.pagetop img {
  display: block;
}
