@charset "UTF-8";

/*------------------------------------------------------------------------

1.Foundation

------------------------------------------------------------------------*/

/* reset
---------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
img,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
legend,
table,
tbody,
tr,
th,
td,
article,
embed,
footer,
header,
hgroup,
nav,
section,
time {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-weight: normal;
}

/* HTML5 display-role reset for older browsers */
article,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  vertical-align: bottom;
  max-width: 100%;
}
main {
  display: block;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*wordpress管理バーを上部に移動させる*/
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}

/* font
---------------------------------------------------------- */
html {
  font-size: 16px;
}
body {
  text-align: left;
  color: #343434;
  line-height: 1.3;
  background: #d0d3d9;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "YuGothic Medium", YuGothic, "游ゴシック Medium", "ヒラギノ角ゴPro W3",
    "游ゴシック体", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  padding-top: 60px;
}

/* common
---------------------------------------------------------- */
a {
  color: #343434;
  transition: all 0.3s 0s ease;
}
a:link,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a.line:link,
a.line:visited {
  text-decoration: underline;
}
a.line:hover {
  text-decoration: none;
}
body {
  position: relative;
  -webkit-text-size-adjust: 100%;
}
button {
  cursor: pointer;
}
strong span {
  font-weight: bold;
}

/* table */
table {
  width: 100%;
  margin: 0 0 20px 0;
  line-height: 1.5;
  color: #666;
}
table th,
table td {
  border: 1px solid #666;
  border-collapse: collapse;
  border-spacing: 0;
  padding: 20px;
  font-size: 100%;
  vertical-align: middle;
}
table th {
  background: #eee;
  color: #666;
}
table td {
  background: #fff;
}

/*--------------------
form
--------------------*/
/* 共通 */
input[type="submit"],
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input,
select,
textarea {
  font-family: YuGothic, Osaka, "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",
    "游ゴシック", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial,
    Helvetica, Verdana, sans-serif;
  font-size: 1rem;
}
input[type="file"] {
  font-size: 0.875rem;
}

.sen {
  font-family: "Sen", sans-serif;
}
.lato {
  font-family: "Lato", sans-serif;
}

/*------------------------------------------------------------------------

2.Layout

------------------------------------------------------------------------*/

/* page
---------------------------------------------------------- */
.l-wrapper {
  max-width: 400px;
  margin: 0 auto;
}
.l-content {
  padding: 0 6%;
}

.l-pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

main#main {
  background-color: #f1f3f7;
}

/* header
---------------------------------------------------------- */
.l-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60000;
  background: linear-gradient(to right, #09213d 0%, #0c3f79 100%);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 60px;
  padding: 18px;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  color: #fff;
}
.l-header > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 10px;
}
.l-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 20px;
}
.l-header__logo a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.l-header__name {
  font-size: 12px;
}
.l-header__telegram {
}
.l-header__logout {
  border-left: solid 1px #ffffff30;
  padding-left: 10px;
  font-size: 10px;
  color: #fff;
}
.l-header__logout a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
}

/*固定ヘッダー*/
.headerFixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  opacity: 0.9;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

/* footer
---------------------------------------------------------- */
/*pagetop*/
#pagetop {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
}
#pagetop a {
  display: block;
  width: 100px;
  height: 100px;
  line-height: 8;
  font-size: 0.8em;
  background: #eee;
  color: #333;
  text-align: center;
}

.l-footer {
  padding: 30px 0;
  max-width: 400px;
  margin: auto;
  background-color: #f1f3f7;
}
.l-footer__address {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

/*------------------------------------------------------------------------

3.Object

------------------------------------------------------------------------*/

/*------------------------------------------------------------------------
3-i.Component
------------------------------------------------------------------------*/

/*------------------------------------------------------------------------
3-ii.Project
------------------------------------------------------------------------*/

/*top*/
.p-top-amount {
  background: #09213d;
  border-radius: 2px;
  padding: 26px 18px;
  margin-top: 23px;
}
.p-top-amount__head {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.p-top-amount__betbox {
  padding: 11px 0 20px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  margin-top: 20px;
}
.p-top-amount__betsum {
  text-align: right;
  font-size: 23px;
  font-weight: 700;
  padding: 0 18px;
}
.p-top-amount__betsum span {
  font-size: 30px;
  font-weight: 700;
}
.p-top-amount__betused {
  border-top: solid 1px #f0f0f0;
  padding: 9px 18px 0;
  margin-top: 10px;
}
.p-top-amount__betused__head {
  font-size: 12px;
  font-weight: 700;
}
.p-top-amount__betused__area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 13px;
}
.p-top-amount__betused__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f3f7;
  border-radius: 2px;
  padding: 6px 9px;
}
.p-top-amount__betused__boxhead {
  font-size: 12px;
  font-weight: 700;
}
.p-top-amount__betused__boxamount {
  font-size: 15px;
  font-weight: 700;
}
.p-top-amount__betused__boxamount span {
  font-size: 20px;
  font-weight: 700;
}
.p-top-amount__bet + .p-top-amount__game {
  margin-top: 23px;
}
.p-top-amount__gamearea {
  margin-top: 13px;
}
.p-top-amount__link {
  margin-top: 20px;
  text-align: right;
}
.p-top-amount__link a {
  position: relative;
  display: inline-block;
  padding-right: 43px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.p-top-amount__link a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: url(../img/icon_right.svg) no-repeat left top/cover;
}

.p-top-news {
  padding: 32px 0 0;
}
.p-top-news p{
  margin-bottom: 20px;
}

.p-top-news__head {
  font-size: 18px;
  font-weight: 700;
}
.p-notarticle {
  margin-top: 10px;
  font-size: 14px;
}
.p-top-news__box {
  overflow-y: auto;
  background: #fff;
  max-height: 273px;
  margin-top: 17px;
  padding: 27px 20px;
  border-radius: 3px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.03);
}
.p-top-news__box__row {
  display: block;
  font-size: 12px;
}
.p-top-news__box .p-top-news__box__row:not(:first-of-type) {
  margin-top: 20px;
  padding-top: 20px;
  border-top: solid 2px #f0f0f0;
}
.p-top-news__box__date {
  font-weight: 700;
}
.p-top-news__box__ttl {
  margin-top: 12px;
}
.p-top-bnr {
  overflow: hidden;
  padding-top: 25px;
}

.p-top-foot {
  padding-top: 25px;
}
.p-top-foot__inner {
  background: #000;
  border-radius: 2px;
  padding: 22px;
  text-align: center;
}
.p-top-foot__inner a img {
  max-width: 152px;
}

.p-top-bet {
  margin-top: 18px;
}
.p-top-bet__box {
  background: #fff;
  margin-top: 17px;
  padding: 27px 20px;
  border-radius: 3px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.03);
  font-size: 12px;
}

/*login*/
body:has(.p-login-area) {
  background: #f0f0f0;
  padding-top: 0;
}
.p-login-area {
  padding: 0;
}
.p-login-logout {
  background: #fff;
  border-left: solid 10px #080808;
  padding: 24px;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 18px;
}
.p-login-block {
  background: #fff;
  padding: 75px 40px 40px;
  max-width: 470px;
  background: #fff;
  box-shadow: 0px 7px 16px rgba(0, 0, 0, 0.02);
  margin: auto;
}
.p-login-head {
  margin-bottom: 38px 0;
  text-align: center;
  font-size: 39px;
  font-weight: 700;
}
.p-login-block .login-username label,
.p-login-block .login-password label {
  display: none;
}
.p-login-block .login-username input,
.p-login-block .login-password input {
  background: #f0f0f0;
  border: none;
  padding: 15px 20px;
  width: 100%;
  font-size: 15px;
}
.p-login-block .login-password {
  margin-top: 13px;
}
.p-login-block .login-submit {
  margin-top: 20px;
}
.p-login-block .login-submit input {
  cursor: pointer;
  width: 100%;
  background: #080808;
  border: solid 1px #080808;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  transition: all 0.3s 0s ease;
}
.p-login-block .login-submit input:hover {
  background: #fff;
  border: solid 1px #080808;
  color: #080808;
}
.p-login-block .login-remember {
  margin-top: 10px;
  text-align: right;
}
.p-login-block .login-remember a,
.p-login-block .p-login-new a {
  color: #4aa1d7;
  font-size: 15px;
}
.p-login-block .login-remember a:hover,
.p-login-block .p-login-new a:hover {
  text-decoration: underline;
}
.p-login-block .p-login-new {
  margin-top: 35px;
  text-align: center;
}

/*game*/
.p-game-article {
  margin-top: 29px;
}
.p-game-filter {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  margin-top: 20px;
}
.p-game-filter .searchandfilter h4 + ul {
  display: none;
  border-top: solid 2px #e4e4e4;
  padding: 22px;
}

.p-game-filter .searchandfilter ul li {
  padding: 0;
}
.p-game-filter .searchandfilter h4 {
  position: relative;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
}
.p-game-filter .searchandfilter h4::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: #031529 transparent transparent transparent;
}
.p-game-filter.is-open .searchandfilter h4::after {
  transform: rotate(180deg);
}
.p-game-filter.is-open h4 + ul {
  display: block;
}
.p-game-filter .searchandfilter input {
  display: none;
}
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  input
  + label {
  position: relative;
  display: block;
  padding-left: 31px;
  font-size: 12px;
}
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  input
  + label::before,
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  input
  + label::after {
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  transform: translateY(-50%);
}
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  input
  + label::before {
  left: 0;
  border: solid 1px #c3c3c3;
  border-radius: 2px;
  background: #f7f7f7;
  width: 18px;
  height: 18px;
}
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  input[type="checkbox"]:checked
  + label::after {
  left: 7px;
  width: 4px;
  height: 8px;
  border-right: solid 2px transparent;
  border-bottom: solid 2px transparent;
  transform: translateY(-50%) rotate(50deg);
  border-color: #031529;
}
.p-game-filter
  .searchandfilter
  li[data-sf-field-input-type="checkbox"]
  ul
  li
  + li {
  margin-top: 14px;
}
.p-game-parent {
  margin-top: 20px;
}
.p-game-box {
  background: #fff;
  border-radius: 2px;
}
.p-game-box + .p-game-box {
  margin-top: 8px;
}
.p-game-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  font-size: 10px;
}
.p-game-box__state span {
  font-weight: 700;
}
.p-game-box__state span.before {
  color: #3074ef;
}
.p-game-box__state span.during {
  color: #51b486;
}
.p-game-box__state span.stop {
  color: #c91444;
}
.p-game-box__state span.end {
  color: #a0a0a0;
}
.p-game__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: solid 1px #f0f0f0;
  padding: 6px 7px;
}
.p-game__result__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  border: solid 1px #e4e4e4;
}
.p-game__result__card {
  font-size: 13px;
  text-align: center;
}
.p-game__info {
  background: #e4e4e4;
  border-radius: 0 0 2px 2px;
  padding: 5px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

/*------------------------------------------------------------------------
3-iii.Utilities
------------------------------------------------------------------------*/

/* メインコンテナのスタイル */
.l-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 80vh; /* ビューポートの高さいっぱいに広げる */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ログインエリアのスタイル */
.p-login-area {
  flex: 1; /* 残りの空間を埋める */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* コンテンツ内の配置調整（必要に応じて） */
.l-content {
  width: 100%; /* または必要な幅に調整 */
  max-width: 510px; /* コンテンツの最大幅を設定（任意） */
}

/* ログインブロックのスタイル（オプション） */
.p-login-block {
  padding: 20px;
  background-color: #fff; /* 背景色を設定（任意） */
  border-radius: 2px; /* 角を丸くする（任意） */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 影をつける（任意） */
}

.p-top-foot img {
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 影をつける（任意） */
  width: 100%;
}

.p-top-amount__game {
  display: none;
}
