body {
  font-family: "Roboto", sans-serif;
  color: #333;
}
@media (max-width: 1550px) {
  aside {
    display: none;
  }
}
.lead-container {
  margin: 2rem 0 2rem 0;
  border: 1px solid #e60012;
  background-color: #fff;
  background-blend-mode: overlay;
  border-radius: 10px;
}
.campaign-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.campaign-item {
  padding: 1rem;
  border-radius: 5px;
}

.body-container {
  margin: 0 auto;
  max-width: 800px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  background: url("/resources/image/jinushi-club-6_1.png") no-repeat
    center/cover fixed;
  background-color: rgba(255, 255, 255, 0.92);
  background-blend-mode: overlay;
}
.jinushi-kun {
  width: 30%;
  object-fit: cover;
  position: fixed;
  top: 63%;
  left: 13%;
  transform: translate(-50%, -50%);
}
.hero {
  /* background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("/resources/image/campaign.jpeg") no-repeat center/cover; */
  /* padding: 100px 20px; */
  text-align: center;
}
.hero h1 {
  font-size: 3em;
  /* font-family: "Zen Kaku Gothic New", sans-serif; */
  font-family: "Noto Sans JP", sans-serif;
  color: #231815;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.8rem;
  color: #231815;
  max-width: 600px;
  margin: 10px auto;
}
/* ボタンのスタイル調整 */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  margin-top: 1.5rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #e60012, #b3000f);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
  width: 160px;
  text-align: center;
}

.only-mobile {
  display: none;
}
@media (max-width: 768px) {
  .only-mobile {
    display: inline-block;
  }
}
.only-pc {
  display: block;
}
@media (max-width: 768px) {
  .only-pc {
    display: none;
  }
}
/* Xキャンペーンのボタン */
.blue {
  background: linear-gradient(135deg, #1d9bf0, #0d7ab8);
  box-shadow: 0 4px 15px rgba(29, 155, 240, 0.3);
}

/* ホバーエフェクト */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ff0018, #d4000f);
}

.blue:hover {
  background: linear-gradient(135deg, #4db0f5, #2e8cca);
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.3);
}
.section {
  padding: 60px 20px;
  text-align: center;
}
.section h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #333;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* 下線のデザイン */
.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e60012, #ff4b4b);
  border-radius: 2px;
}

/* 見出しの両サイドに装飾線を追加 */
.section h2::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(230, 0, 18, 0.1) 25%,
    rgba(230, 0, 18, 0.1) 75%,
    transparent 100%
  );
  position: absolute;
  bottom: 1px;
  left: 0;
}

/* セクションごとに見出しの余白を調整 */
.section h2 {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* オプション：ホバーエフェクト */
.section h2:hover::after {
  width: 100px;
  transition: width 0.3s ease;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}
.card h3 {
  color: #e60012;
  margin: 0 0 10px;
}
.h3-br {
  display: none;
}
@media (max-width: 768px) {
  .h3-br {
    display: block;
  }
}
.table-card {
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.table-header {
  background: linear-gradient(135deg, #e60012, #b3000f);
  color: #fff;
  padding: 15px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}
.table-header-br {
  display: none;
}
@media (max-width: 768px) {
  .table-header-br {
    display: block;
  }
}
.table-row {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.table-row:hover {
  background: #f9f9f9;
}
.table-row:last-child {
  border-bottom: none;
}
.span-br {
  display: none;
}
@media (max-width: 768px) {
  .span-br {
    display: block;
  }
}
.table-label {
  font-weight: bold;
  color: #e60012;
  text-align: center;
  flex: 1;
  margin-bottom: 10px;
}
.table-value {
  flex: 2;
  color: #333;
}
footer {
  background: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }
  .hero h1 br {
    display: block;
  }
  .hero p {
    font-size: 1.3em;
  }
  /* .table-row {
    flex-direction: column;
    gap: 10px;
  } */
  .table-label,
  .table-value {
    flex: none;
  }
}
.site-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin-top: 3rem;
  padding: 1rem 1rem 2rem 1rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.logo-container img {
  max-width: 100%;
  object-fit: contain;
}
.logo-container p {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
}
main {
  padding-top: 0;
}
h1 .emphasis {
  font-size: 1.8em;
  /* font-family: "RocknRoll One", sans-serif; */
  font-family: "Arial", sans-serif;
  margin-top: 1rem;
  display: inline-block;
  position: relative;
  color: transparent;
  background: linear-gradient(45deg, #e60012, #ff4b4b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 10px rgba(230, 0, 18, 0.3),
    -2px -2px 10px rgba(230, 0, 18, 0.3);
  /* filter: drop-shadow(0 2px 4px rgba(230, 0, 18, 0.2)); */
  transform: translateY(-2px);
  transition: all 0.3s ease;
  paint-order: fill stroke;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #e60012;
  /* 通常の文字色（fill） */
  -webkit-text-fill-color: white;
  text-shadow: 1px 1px 0 #e60012, 1px -1px 0 #e60012, -1px 1px 0 #e60012,
    2px 2px 0 #e60012, 3px 3px 0 #e60012, 4px 4px 0 #e60012, 5px 5px 0 #e60012,
    6px 6px 0 #e60012, 7px 7px 0 #e60012, 8px 8px 0 #e60012;
  paint-order: fill stroke;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #e60012;
  /* 通常の文字色（fill） */
  -webkit-text-fill-color: white;
}

h1 .emphasis::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  z-index: 0;
}

/* ホバー効果（オプション） */
h1 .emphasis:hover {
  /* background: linear-gradient(45deg, #ff0018, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 8px rgba(230, 0, 18, 0.4)); */
  transform: translateY(-3px) scale(1.05);
}

/* ベースとなるスタイル */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(#e6001266, #e6001266),
    url("/resources/image/bg-white.jpeg") no-repeat center/cover fixed;
  height: 100vh;
  /* 内部が溢れたらスクロール */
  overflow-y: auto;
}

/* メインコンテンツの調整 */
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* 横スクロール防止 */
}

/* カードのレスポンシブ対応 */
.card {
  width: 100%;
  box-sizing: border-box; /* パディングを幅に含める */
}

/* テーブル部分の調整 */
.table-card {
  width: 100%;
  box-sizing: border-box;
}

.table-row {
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap; /* 必要に応じて折り返し */
  flex-direction: column;
}

/* グリッドコンテナの調整 */
.grid {
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem; /* 左右の余白を追加 */
}

/* セクションの調整 */
.section {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem 1rem; /* 左右の余白を追加 */
}

.card:nth-of-type(1) {
  background: #fff;
}

.card:nth-of-type(1) h3 {
  color: #1d9bf0;
}

.card:nth-of-type(1) .table-header {
  background: linear-gradient(135deg, #1d9bf0, #0d7ab8);
}

.card:nth-of-type(1) .table-label {
  color: #1d9bf0;
}

.card:nth-of-type(1) .table-row:hover {
  background: #e6f2ff;
}

.disclaimer-list {
  list-style: disc;
  text-align: left;
  margin-bottom: 40px;
}

#disclaimer p {
  text-align: left;
  margin-bottom: 40px;
}

.beisia-link {
  display: block;
  text-align: right;
  width: 100%;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .disclaimer-list {
    padding-left: 0px;
    margin-left: 5px;
  }
}

/* グレーアウトされたカードのスタイル */
.card.disabled {
  background-color: #f0f0f0;
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.card.disabled::after {
  content: "終了しました";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 1.5rem;
  font-weight: bold;
  color: #e60012;
  border: 3px solid #e60012;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
}

/* アニメーション付きのグレーアウト（オプション） */
.card.disabled-with-animation {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  opacity: 0.8;
  pointer-events: none;
}

/* 終了したボタンのスタイル */
.btn.ended {
  background: linear-gradient(135deg, #888, #666);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn.ended:after {
  content: "Xキャンペーンは終了しました";
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: bold;
  border: 3px solid #e60012;
  border-radius: 5px;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: #e60012;
  white-space: nowrap;
  background-color: #fff;
}

.blue.ended {
  background: linear-gradient(135deg, #888, #666);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* キャンペーン終了のお知らせ */
.campaign-ended-notice {
  width: 100%;
  box-sizing: border-box;
  padding: 30px 30px 0;
}

.campaign-ended-notice__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  border: 2px solid #e60012;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff6f7 0%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(230, 0, 18, 0.08);
  text-align: center;
}

.campaign-ended-notice__inner h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #e60012;
}

.campaign-ended-notice__inner p {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .campaign-ended-notice {
    padding: 5.33vw 4vw 0;
  }

  .campaign-ended-notice__inner {
    padding: 6.4vw 5.33vw;
    border-radius: 16px;
    text-align: left;
  }

  .campaign-ended-notice__inner h2 {
    font-size: max(5.33vw, 24px);
  }

  .campaign-ended-notice__inner p {
    margin-top: 12px;
    font-size: max(3.46vw, 14px);
    line-height: 1.7;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
}

.brand__logo {
  display: block;
  width: 153px;
  height: auto;
}

.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9f1f25, #7f1d1d);
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.header-link:hover {
  transform: translateY(-1px);
}

.header-link--secondary {
  display: none;
}

.site-footer {
  padding: 36px 0 48px;
  color: rgba(255, 255, 255, 0.92);
  background: #231815;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.site-footer__inner p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .site-header__inner {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .site-header__actions {
    width: 100%;
  }

  .header-link {
    width: 100%;
  }

  .site-footer {
    padding: 28px 0 36px;
  }

  .site-footer__inner {
    width: calc(100% - 32px);
  }
}
