@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");

:root {
  --colorRed: #cd181f;
  --colorYellow: #e3e08a;
  --colorLive: #aa2f6d;
  --colorTournament: #265489;
  --colorCampaign: #d38145;
  --colorPayment: #1e8e9d;
  --colorWithdrawal: #ba4343;
  --colorPoker: #5f8433;
  --fontMontserrat: 'Montserrat', sans-serif;
  --fontHiragino: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/**　通常ボタン **/
/* コンテナ */
.button-container {
  text-align: center;
  margin: 24px 0;
}

/* ボタン本体 */
.custom-swell-block-button {
  display: inline-block;
  border-radius: 12px;
  /* 四角寄り */
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.custom-swell-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* テキストとアイコンの間隔 */
  padding: 18px 36px;
  border-radius: inherit;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;

  background: linear-gradient(135deg, #6d1b1b, #8b2e2e, #a0452a);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, .25);
  position: relative;
  overflow: hidden;
}

/* ＞マーク（SVG） */
.custom-icon {
  width: 1.6em;
  height: 1.6em;
  flex-shrink: 0;
  fill: #fff;
}

/* 常時きらり */
.custom-swell-block-button__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine 3.5s linear infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* ホバー */
.custom-swell-block-button:hover .custom-swell-block-button__link {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .custom-swell-block-button {
    width: 100%;
    max-width: 640px;
  }

  .custom-swell-block-button__link {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
  }
}

/* きらり用の擬似要素はクリックを通す */
.custom-swell-block-button__link::before {
  pointer-events: none;
  /* ← これが必須！ */
  z-index: 0;
  /* 擬似要素を背面に */
}

/* テキストとアイコンは前面に */
.custom-swell-block-button__link,
.custom-swell-block-button__link>* {
  position: relative;
  z-index: 1;
}

/* 視覚的にもクリックできるように */
.custom-swell-block-button__link {
  cursor: pointer;
}

/**　表用ボタン　**/
/* 共通ボタンスタイル */
.table-cta-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);

  box-shadow: 0 3px 8px rgba(0, 0, 0, .35),
    inset 0 1px 1px rgba(255, 255, 255, .25);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* ＞マーク */
.table-cta-button .custom-icon {
  margin-left: 8px;
  width: 1.2em;
  height: 1.2em;
  fill: #fff;
  vertical-align: middle;
}

/* 常時きらり */
.table-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine 3.2s linear infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* ホバー */
.table-cta-button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.table-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ===== カラーバリエーション ===== */

/* 落ち着いた赤（既定） */
.table-cta-button.red {
  background: linear-gradient(135deg, #6d1b1b, #8b2e2e, #a0452a);
}

/* 深い青 */
.table-cta-button.blue {
  background: linear-gradient(135deg, #0d3d63, #145a8d, #1f6fb2);
}

/* ダークグリーン */
.table-cta-button.green {
  background: linear-gradient(135deg, #1b4d2b, #236d3b, #2f8d4b);
}

/* ブラック×ゴールド */
.table-cta-button.gold {
  background: linear-gradient(135deg, #2c2c2c, #444, #2c2c2c);
  border: 1px solid #d4af37;
  color: #ffd;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}