:root {
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --oswald: "Oswald", sans-serif;
  --fz10: 10px;
  --fz12: 12px;
  --fz13: 13px;
  --fz15: 15px;
  --fz16: 16px;
  --fz17: 17px;
  --fz18: 18px;
  --fz20: 20px;
  --fz22: 22px;
  --fz25: 25px;
  --fz28: 28px;
  --fz33: 33px;
  --fz40: 40px;
  --fz60: 60px;
  --fz65: 65px;
  --fz90: 90px;
  --gld: #dfbe77;
  --gld2: #917c50;
  --blk: #0d0d0d;
}

/* ==================================================
   Base & Common
   ================================================== */
.disabled {
  opacity: 0.7;
  cursor: initial;
  pointer-events: none;
}

.flex {
  display: flex;
  justify-content: left;
  gap: 2%;
}

.flex.fwrap {
  flex-wrap: wrap;
}

.flex.third > * {
  width: 32%;
}

img.contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==================================================
   Match & Teams
   ================================================== */
.match-title {
  margin: 0px;
  padding: 0 20px;
  font-family: Noto Sans JP, sans-serif;
  font-size: 24px;
  font-weight: bold;
}

.match-title img {
  display: block;
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-bottom: 20px;
}

.match-info {
  margin: 20px 0;
  padding: 20px;
  background-color: #000000;
  color: #ffffff;
  font-family: Noto Sans JP, sans-serif;
  font-size: 17px !important;
  font-weight: bold;
}

.match-ttl {
  margin-top: 55px;
  font-size: 24px;
  font-weight: bold;
}

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

.team {
  margin: 0px;
  font-family: Noto Sans JP, sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
}

.team img {
  max-width: 135px;
}

.vs {
  margin: 0 20px;
  font-size: 28px;
  font-weight: bold;
}

.countdown {
  /* 未使用の可能性あり */
  margin: 20px 0;
  font-size: 36px;
  font-weight: bold;
}

.match-buttons {
  display: flex;
  gap: 5px;
  margin-top: 50px;
}

.match-buttons a {
  display: block;
  position: relative;
  width: 240px;
  margin: 5px auto 0;
  padding: 15px 10px;
  background: #e60013;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none; /* リンクの下線を消す場合 */
}

.before-match-inner,.after-match-inner {
  margin-top: 20px;
  text-align: center;
}

.before-match-inner a,.after-match-inner a {
  background-color: transparent;
  color: #121212;
  font-weight: bold;
  text-decoration: underline;
}

.before-match-inner p,.after-match-inner p {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

/* ==================================================
   Tickets & Tables
   ================================================== */
.page-ticket-area {
  margin-bottom: 0px;
  padding-bottom: 80px;
  background-color: #f1f1f1;
}

.ticket-banner-flex {
  display: flex;
  gap: 20px;
}

.ticket-banner-flex img {
  border: 1px solid #cbcbcb;
}

.ticket-schedule {
  width: 100%;
}

.ticket-schedule th {
  padding: 10px;
  background: #555;
  color: #fff;
}

.ticket-schedule td {
  padding: 12px;
  background: #fff;
  color: #000;
}

table.ticket-schedule a.btn {
  color: #fff;
  text-decoration: none;
}

.ticket-schedule .btn {
  padding: 5px 15px;
  border-radius: 100px;
  background: #e60013;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
}

.table_wrap {
  border: 1px solid #cbcbcb;
}

.table_wrap table {
  width: 100%;
}

.table_wrap table td,
.table_wrap table th {
  border-right: 1px solid #cbcbcb;
  border-bottom: 1px solid #cbcbcb;
  background-color: #fff;
}

.table_wrap table th {
  background-color: #191919;
  color: #fff;
  font-weight: bold;
}

.ticket-cont::before {
  /* 未使用の可能性あり */
  display: none !important;
}

.seatview-link {
  display: block;
  margin-bottom: 30px;
  text-align: center;
}

.seatview-link a {
  padding: 5px 10px;
  background-color: #e60013;
  color: #fff;
}

/* ==================================================
   Campaign & Events
   ================================================== */
.campaign-item {
  margin-top: 30px;
}

.campaign-item a {
  display: flex;
  flex-flow: column nowrap;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid #cbcbcb;
  background: #fff;
  color: #000;
  cursor: pointer;
}

.campaign-item .image {
  width: calc(100% + 28px);
  margin: -14px -14px 14px;
  border: 1px solid #cbcbcb;
}

.campaign-item h3 {
  margin: 8px 0 15px;
  font-size: var(--fz18);
  text-align: left;
}

.campaign-item p {
  font-size: var(--fz13);
  text-align: left;
}

.campaign-item .btn {
  width: 120px;
  margin: auto 0 0 auto;
  padding: 5px;
  border-radius: 100px;
  background: #e60013;
  color: #fff;
  font-size: var(--fz15);
  text-align: center;
}

#event-items {
  text-align: left !important;
}

#event_img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
}

#event_title {
  margin-bottom: 0px !important;
}

#event_name {
  margin-bottom: 10px;
}

/* ==================================================
   Modal
   ================================================== */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin-top: 0px;
  padding: 150px 0px 0px;
  background: rgba(0, 0, 0, 50%);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  text-align: center;
}

.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
}

.modal-container.active {
  opacity: 1;
  visibility: visible;
}

.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  max-width: 750px;
  color: #000;
}

.modal-body h4 {
  margin: 30px 0 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.modal-body img {
  width: 100%;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #000;
  font-size: 35px;
  cursor: pointer;
}

.modal-content {
  height: 75vh;
  padding: 30px 50px;
  background: #fff;
  overflow-y: scroll;
  text-align: left;
}

.modal-header.event-item {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #d8d8d8;
  font-size: 140%;
}

.modal-header.event-item a {
  display: flex;
  align-items: center;
}

.modal-header.event-item a img,
.modal-header.event-item img {
  max-width: 100px;
}

/* ==================================================
   Members
   ================================================== */
.member .member-inner {
  /* 未使用の可能性あり */
  margin-top: 150px;
}

/* ==================================================
   Media Queries
   ================================================== */
@media screen and (max-width: 800px) {
  .bg-pacific {
    padding: 40px 3%;
  }
  .team {
    font-size: 1.1rem;
    text-align: center;
  }
  .match-info {
    text-align: center;
    word-break: break-all;
  }
  .match-buttons {
    display: block; /* スマホ表示でボタンを縦並びにする */
  }
  .match-buttons a {
    width: auto; /* スマホ表示でボタン幅を自動に */
    max-width: 240px; /* 最大幅は維持 */
  }
  .ticket-graph li img {
    /* 未使用の可能性あり */
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .modal-container {
    margin-top: 65px;
    padding: 40px 7px;
  }
  .modal-content {
    width: 90%;
    margin: auto;
    padding: 25px 25px;
  }
  .modal-body {
    width: 100%;
  }
  .modal-body #player a {
    width: 100% !important;
  }
  .modal-header.event-item a img,
  .modal-header.event-item img {
    width: 70px;
  }
  p#event_text,
  p#writer_name,
  span.exlink {
    font-size: 14px;
  }
  p#event_profile {
    font-size: 10px !important;
  }
}

@media screen and (max-width: 767.8px) {
  :root {
    --fz10: 9x; /* 原文ママ。9pxの可能性あり */
    --fz12: 10px;
    --fz13: 11px;
    --fz15: 12px;
    --fz16: 13px;
    --fz17: 14px;
    --fz18: 15px;
    --fz20: 17px;
    --fz22: 18px;
    --fz25: 19px;
    --fz28: 21px;
    --fz33: 23px;
    --fz40: 26px;
    --fz60: 30px;
    --fz65: 32px;
    --fz90: 40px;
  }
  .flex.sp-half {
    flex-wrap: wrap;
  }
  .flex.sp-half > * {
    width: 48.5%;
  }
  table.ticket-schedule a.btn {
    display: block;
    margin-top: 10px;
    margin-left: 0px;
    color: #fff;
    text-decoration: none;
  }
}