.tuijyu {
  text-align: center;
}
.floating-banner {
  position: fixed;
  z-index: 99999;
  bottom: 5px;
  right: 50%;
}
.floating-banner2 {
  position: fixed;
  z-index: 99999;
  text-align: center;
  bottom: 5px;
  right: 0;
  left: 0;
}
.pc {
  width: 425px; /* バナーの横幅を指定 */
}
.floating-banner:hover {
  opacity: 0.8; /* ホバーで少し透過 */
}
.tyumoku {
  background-color: #1c2172;
  color: white;
  font-weight: bold;
  padding: 10px 0px 10px 10px;
}

/* --- ページ全体の基本スタイル --- */

.container {
  max-width: 800px;
  margin: 20px auto;
}

/* ===== モダンなテーブルの共通スタイル ===== */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.modern-table th,
.modern-table td {
  padding: 16px 18px; /* 余白を少し広めに */
  text-align: left;
}

.modern-table th {
  font-weight: bold;
}

.modern-table tbody tr {
  transition: background-color 0.2s ease-in-out; /* トランジションを調整 */
}

/* 日付の列（1列目）のスタイル */
.modern-table td:first-child {
  width: 35%;
  white-space: nowrap;
  text-align: center; /* align="center"を再現 */
}

/* .modern-table tbody tr:hover {
  cursor: pointer;
} */

/* ===== テーマ：カスタムカラー ===== */
.modern-table.theme-custom {
  background-color: #ffffff;
  border: 1px solid #e9ecef; /* ごく薄い境界線 */
  border-radius: 12px; /* 角を丸くする */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 浮遊感のある影 */
  overflow: hidden;
}

.modern-table.theme-custom th {
  background-color: #fe460c; /* ご指定のヘッダー色 */
  color: #ffffff;
  font-weight: 600; /* 少し太字に */
  border-bottom: none;
}
.modern-table.theme-custom td {
  border-bottom: 1px solid #f1f3f5; /* 行の区切り線 */
}

/* 2列目の背景色は削除 */

.modern-table.theme-custom tbody tr:last-of-type td {
  border-bottom: none; /* 最後の行の線は消す */
}

/* ホバー時に行全体を薄い緑にする */
.modern-table.theme-custom tbody tr:hover {
  background-color: rgba(123, 214, 78, 0.15); /* #7BD64E に透明度を設定 */
}

/* ===== スマートフォン向けのレスポンシブ対応 ===== */
@media (max-width: 600px) {
  .modern-table th {
    display: none; /* PC用のヘッダーを非表示に */
  }

  .modern-table tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 30px 15px 15px;
    min-height: 95px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  }

  .modern-table td {
    display: flex; /* Flexboxを使用してレイアウト */
    flex-direction: column; /* 項目を縦に並べる */
    padding: 10px 15px;
    border: none;
  }

  .modern-table.theme-custom td {
    border-bottom: none;
  }

  .modern-table td:first-child {
    width: 100%;
    white-space: normal; /* 日時の折り返しを許可 */
    text-align: left; /* 左揃えに */
    font-size: 0.9em;
    color: #555;
    margin-bottom: 8px;
  }

  .modern-table.theme-custom tbody tr:last-of-type td:last-of-type {
    border-bottom: none;
  }

  /* 各セルにラベルを生成 */
  .modern-table td:before {
    content: attr(data-label); /* data-label属性からテキストを取得 */
    font-weight: bold;
    font-size: 0.8em;
    color: #555;
    margin-bottom: 5px;
  }

  /* カード全体がリンクであることを示す矢印を追加 */
  .modern-table tr::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #cccccc;
  }
}

#profile {
  width: 100%;
  margin: 0px 30px 0px 10px;
  padding: 0px;
}
#profile table {
  align: center;
  margin: 0 0 20px 0;
  padding: 0px;
  font-size: 100%;
  border-bottom: 1px solid #cccccc;
}
#profile th {
  width: 100%;
  margin: 0px;
  padding: 8px 8px 8px 8px;
  text-align: right;
  background-color: #ffffff;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}
#profile td {
  width: 50%;
  margin: 0px;
  padding: 8px 10px 8px 8px;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}
#profile p {
  margin: 0 0 16px 0;
  padding: 0;
}
#profile td {
  margin: 0px;
  padding: 8px 10px 8px 8px;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

#profile2 th {
  margin: 0px;
  padding: 7px 7px 7px 7px;
  background-color: #000000;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  font-weight: bold;
  color: #f7f51c;
}
#profile2 tr:nth-child(even) {
  background-color: #fffadd;
}
#profile2 td {
  margin: 0px;
  padding: 7px 3px 7px 3px;
  border: 1px solid #cccccc;
}

#profile15 th {
  margin: 0px;
  padding: 7px 7px 7px 7px;
  background-color: #034732;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  font-weight: bold;
  color: white;
}
#profile15 tr:nth-child(odd) {
  background-color: #f5ffe3;
}
#profile15 td {
  margin: 0px;
  padding: 7px 3px 7px 3px;
  border: 1px solid #cccccc;
}

#profile4 th {
  margin: 0px;
  padding: 7px 7px 7px 7px;
  background-color: #000000;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  font-weight: bold;
  color: #39ff4f;
}
#profile4 tr:nth-child(even) {
  background-color: #ccf7ca;
}
#profile4 td {
  margin: 0px;
  padding: 7px 3px 7px 3px;
  border: 1px solid #cccccc;
}

span.caption {
  font-size: 100%;
  font-weight: bolder;
  color: #ff677c;
  border-bottom-width: 1px;
  border-left-width: 5px;
  border-bottom-style: none;
  border-left-style: solid;
  border-bottom-color: #82cbdb;
  border-left-color: #82cbdb;
  padding-left: 7px;
  padding-top: 1px;
  padding-bottom: 3px;
}
/* メニュー
-------------------------------------------------- */
a.menu {
  font-size: 0.75em;
  display: block;
  float: left;
  width: 137px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right: 3px;
  text-align: center;
  border: none;
  background: #cccccc;
}
a.menu:hover {
  background: #6699cc;
}
/* 大見出し
-------------------------------------------------- */
#profile h1 {
  font-size: 110%;
  font-weight: bolder;
  margin: 20px 0px 20px;
  padding-left: 1em;
  border-left: solid 20px #f9dd1c;
}
/* 中見出し（赤）
-------------------------------------------------- */
#profile h2 {
  font-size: 100%;
  font-weight: bolder;
  color: #333333;
  border-left-width: 7px;
  border-left-style: solid;
  border-left-color: #ff6633;
  padding-left: 8px;
  padding-top: 1px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 3px;
}
#profile2 h2 {
  font-size: 100%;
  font-weight: bolder;
  color: #333333;
  border-left-width: 7px;
  border-left-style: solid;
  border-left-color: #ff6633;
  padding-left: 8px;
  padding-top: 1px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 3px;
}
/* 中見出し(下線入り緑）
-------------------------------------------------- */
#profile h3 {
  font-size: 100%;
  font-weight: bolder;
  color: #333333;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #cccccc;
  border-left-width: 7px;
  border-left-style: solid;
  border-left-color: #5cba3e;
  padding-left: 8px;
  padding-top: 1px;
  padding-bottom: 3px;
  margin-top: 0px;
  margin-bottom: 6px;
}
/* 囲い見出し（ピンク）
-------------------------------------------------- */
#profile h4 {
  font-size: 110%;
  font-weight: bolder;
  color: #333333;
  background-color: #ffffff;
  border-top: 3px solid #ff3366;
  border-bottom: 1px dotted #cccccc;
  padding: 2px;
  margin: 0px 0px 8px;
}
/* 囲い見出し（水色）
-------------------------------------------------- */
#profile h5 {
  font-size: 16px;
  font-weight: bolder;
  color: #333333;
  border-bottom: 3px solid #5cba3e;
  padding: 8px;
  margin: 0px 0px 8px;
}
/* メニュー 韓国竜星戦
-------------------------------------------------- */
a.menukorea {
  font-size: 0.9em;
  display: block;
  float: left;
  width: 171px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right: 3px;
  text-align: center;
  border: none;
  background: #cccccc;
}
a.menukorea:hover {
  background: #6699cc;
}
