@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
*/





/*reCAPTCHAバッジ 非表示*/
.grecaptcha-badge { visibility: hidden; }
/*ここまで*/


/*WP poll */
/* 全体のスタイル */
.wp-polls {
  padding: 1em;
  line-height: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ボタンのスタイル */
.wp-polls .Buttons {
  padding: 0.9em 0.9em; /* 少し小さく調整 */
  background-color: #005cb2;
  color: #FFFFFF;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
  text-align: center;
  font-size: 0.9em; /* 少し小さく調整 */
  line-height: 1;
  font-weight: bold;
  width: auto;
  height: auto;
}

/* ボタンにホバーエフェクトを追加 */
.wp-polls .Buttons:hover {
  background-color: #1c3982;
}

/* 強調テキストのスタイル */
.wp-polls strong {
  color: #000000;
  font-weight: bold;
}


/* 新しいカスタムラジオボタンのスタイル */
.custom-checkbox {
  display: none; /* 通常のラジオボタンは非表示にする */
}

.custom-checkbox + label {
  position: relative;
  padding-left: 30px; /* ラジオボタンの左側のスペース */
  cursor: pointer;
}

.custom-checkbox + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; /* ラジオボタンの幅 */
  height: 20px; /* ラジオボタンの高さ */
  border: 2px solid #1c3982; /* ラジオボタンの枠の色 */
  background-color: #fff; /* ラジオボタンの背景色 */
  border-radius: 50%; /* 円形にする */
}

.custom-checkbox:checked + label:before {
  background-color: #1c3982; /* チェックされたときの背景色 */
  border: 2px solid #1c3982; /* チェックされたときの枠の色 */
}

.custom-label {
  /* ここにカスタムのラベルスタイルを追加 */
  color: #333;
}

/* 既存のラジオボタンを非表示にするスタイル */
.wp-polls-ans input[type="radio"],
.wp-polls-ans input[type="checkbox"] {
  display: none;
}
/*ここまで */



/*コメントウィジェットアイコン */
.avatar.avatar-48.photo {
    width: 48px;               /* 画像の幅 */
    height: 48px;              /* 画像の高さ */
    border: 1px solid #ccc;    /* 薄いグレーの枠 */
    border-radius: 50%;        /* 画像を丸くする */
    overflow: hidden;          /* 丸い画像の部分をはみ出さないようにする */
    padding: 1px;               /* 画像と枠の間に余白を設ける場合は任意の値を指定 */
}
/*ここまで */


/*バッジ色変更（購読者）*/
#wpdcom .wpd-blog-subscriber .wpd-comment-label {
    background-color: #12ba06!important;
}
/*名前色変更（購読者）*/
#wpdcom .wpd-blog-subscriber .wpd-comment-author,
#wpdcom .wpd-blog-subscriber .wpd-comment-author a {
    color: #12ba06!important;
}

/*バッジ色変更（寄稿者）*/
#wpdcom .wpd-blog-contributor .wpd-comment-label {
    color: #ffffff;
    background-color: #217400!important;
    border: none;
}
/*名前色変更（寄稿者）*/
#wpdcom .wpd-blog-contributor .wpd-comment-author,
#wpdcom .wpd-blog-contributor .wpd-comment-author a {
    color: #217400!important;
}

/*コメントエラー位置調整*/
#wpdiscuz-comment-message.wpdiscuz-comment-message-auth{
	top: 100px !important;
}



/*タブスタイル：ノーマル*/
.is-style-default .c-tabList__button:hover, .is-style-default .c-tabList__button[aria-selected=true] {
background-color: #003166!important;
}
.is-style-default .c-tabBody {
border: 1px solid #003166!important;
}


/*コメント欄のメール入力欄を消す*/
.wc_email-wrapper{
    display: none !important;
}



/* h3 見出し */
.post_content h3 {
  	padding: 0.6em 0.5em;/*文字の上下 左右の余白*/
  	color: #010101;/*文字色*/
  	background: #f4f4f4;/*背景色*/
  	border-left: solid 5px #1c3982;/*左線*/
	border-bottom: solid 3px #d7d7d7;/*下線*/
}

/* h4 見出し */
.post_content h4 {
  border-bottom: solid 3px #c6dff4;
  position: relative;
  padding-bottom: 3px; /* 下線の配置調整 */
}

.post_content h4:after {
  position: absolute;
  content: "";
  border-bottom: solid 3px #1d4189;
  bottom: -3px;
  left: 0; /* 開始位置を明示 */
  width: 30%;
  box-sizing: border-box; /* 幅の計算を正確にするために追加 */
}

/* h5 見出し */
.post_content h5 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #7db4e6;/*左線*/
}

/* h6 見出し */
.post_content h6 {
  color: #505050;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
  display: inline-block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #dbebf8;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

.post_content h6:before {
  content: '●';
  color: white;
  margin-right: 8px;
}
/* ここまで */







.player-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.player-data-table th,
.player-data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.player-data-table th {
    width: 30%;
    background-color: #f2f2f2;
    text-align: center;
}

.player-data-table td {
    width: 40%;
}

.player-data-table .player-image-column {
    text-align: center;
    vertical-align: middle;
    width: 30%;
}

.player-data-table .player-image-column img {
    max-width: 100px;
    height: auto;
    margin-bottom: 5px;
}

.player-data-table .player-image-column .player-name {
    margin-top: 0; /* 画像と選手名の間の距離を0にする */
    text-align: center;
    font-weight: bold; /* 選手名を太文字にする */
}

.player-data-table .player-image-container {
    display: inline-block;
    vertical-align: middle;
}

.player-status-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.player-status-table th,
.player-status-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.player-status-table th {
    width: 25%;
    background-color: #f2f2f2;
    text-align: center;
}

.player-status-table td {
    width: 75%;
}

.bar-container {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #ddd;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: #03304F;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.bar-value {
    position: absolute;
    left: 10px;
    line-height: 20px;
    color: white;
}




.player-score-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.player-score-table th,
.player-score-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.player-score-table th {
    width: 30%; /* 左の列の幅を30%に設定 */
    background-color: #f2f2f2;
    text-align: center; /* 左の列の文字を中央寄せに設定 */
}

.player-score-table td {
    width: 70%; /* 右の列の幅を70%に設定 */
}




/* SSR選手一覧 */
.player-list-tabs {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    width: calc(50% - 5px);
    margin: 0 5px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    font-weight: bold; /* 文字を太くする */
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #0ca3f5; /* アクティブなタブの色を #0ca3f5 に変更 */
    color: white;
}

.tab-content {
    margin-bottom: 20px;
}

.ssr-player-list-table {
    width: 100%;
    table-layout: auto; /* 列幅を固定したままテーブル全体を100%にするため追加 */
    font-size: 90%;
}

.ssr-player-list-table th,
.ssr-player-list-table td {
    text-align: center;
}

.ssr-player-list-table th:first-child,
.ssr-player-list-table td:first-child {
    width: 25%;
}

.ssr-player-list-table th:nth-child(2),
.ssr-player-list-table td:nth-child(2) {
    width: 18%;
}

.ssr-player-list-table th:nth-child(3),
.ssr-player-list-table td:nth-child(3) {
    width: 16%;
}

.ssr-player-list-table th:nth-child(4),
.ssr-player-list-table td:nth-child(4) {
    width: 16%;
}

.ssr-player-list-table th:nth-child(5) {
    width: 25%;
    text-align: center; /* ステータス列のthを中央寄せ */
}

.ssr-player-list-table td:nth-child(5) {
    width: 25%;
    text-align: left; /* ステータス列のtdを左寄せ */
}

.ssr-player-list-table img {
    max-width: 60px;
    height: auto;
}

/* タブの上にSWELLのデフォルトの余白を追加 */
.player-list-tabs {
    margin-top: 2rem; /* SWELLのデフォルトの余白（2rem）を追加 */
}

/* 検索ボックスのスタイル */
.search-box {
    margin: 15px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.search-box input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}



/*ランキング*/
.top-pitchers-table {
    width: 100%;
    border-collapse: collapse;
}

.top-pitchers-table th,
.top-pitchers-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center; /* デフォルトで中央寄せ */
}

.top-pitchers-table th {
    background-color: #f2f2f2;
}

.top-pitchers-table img {
    vertical-align: middle;
    margin-right: 5px;
}

.top-pitchers-table .status-cell {
    text-align: left; /* ステータスセルのみ左寄せ */
}

/* 各列の幅を指定 */
.top-pitchers-table th:nth-child(1),
.top-pitchers-table td:nth-child(1) {
    width: 13%;
}

.top-pitchers-table td:nth-child(1) {
    background-color: #F0F0F1;
	font-weight: bold;
}

.top-pitchers-table th:nth-child(2),
.top-pitchers-table td:nth-child(2) {
    width: 25%;
}

.top-pitchers-table th:nth-child(3),
.top-pitchers-table td:nth-child(3) {
    width: 16%;
}

.top-pitchers-table th:nth-child(4),
.top-pitchers-table td:nth-child(4) {
    width: 18%;
}

.top-pitchers-table th:nth-child(5),
.top-pitchers-table td:nth-child(5) {
    width: 28%;
}








