@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; }
/*ここまで*/

/*最強ランキング表の点々*/
.tier-list-flexible-table th,
.tier-list-flexible-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*ここまで*/

/*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;               /* 画像と枠の間に余白を設ける場合は任意の値を指定 */
}
/*ここまで */


/*コピー背景をグレーにする */
.copy-the-code-target {
  background-color: #f2f2f2; /* グレーの背景色を設定 */
  padding: 10px; /* ブロック内の余白を追加 */
  border-radius: 5px; /* 角を丸めてブロックの形にする */
  display: block; /* ブロックとして表示する */
  margin: 10px 0; /* 上下に余白を追加 */
}
/*ここまで */



/* 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;
}
/* ここまで */




/*バッジ色変更（購読者）*/
#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;
}

/*タブスタイル：ノーマル*/
.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;
}










/* tsumデータボックス全体 */
.tsum-data-box {
    margin-bottom: 40px;
    font-family: sans-serif;
}

/* 画像エリア */
.tsum-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* 表の共通スタイル */
.tsum-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

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

.tsum-table th {
    background-color: #f5f5f5;
    width: 35%;
    font-weight: bold;
}



/* ▼ スコアスライダー全体ボックス */
.tsum-score-slider {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #d0d3dc;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1a2a4a;
    font-size: 16px;
    line-height: 1.6;
}

/* ▼ ラベル行 */
.tsum-score-slider label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

/* ▼ スライダー本体 */
.tsum-score-slider input[type="range"] {
    width: 100%;
    height: 6px;
    appearance: none;
    background: #d9dce6;
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
	padding: 0;
}

.tsum-score-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: #1a2a4a;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tsum-score-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background-color: #1a2a4a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
	margin-top: -5px;
}

/* ▼ スコア結果表示 */
#tsum-level-value,
#tsum-score-result {
    font-weight: bold;
    font-size: 18px;
    color: #1a2a4a;
}















/*ツム一覧ページcss*/
/* =========================================
   ツム一覧ページ CSS
   ========================================= */

/* 一覧全体 */
.tsum-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 余白少し減らす */
}

/* 各ツムカード */
.tsum-item {
    width: calc(16.666% - 8px); /* 6列 */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    font-size: 0.8em; /* 小さめ */
}
.tsum-item:hover {
    transform: translateY(-2px);
}

/* 画像 */
.tsum-item-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 名前 */
.tsum-item-name {
    margin: 4px 0 2px;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1.2;
}
.tsum-item-name a {
    text-decoration: none;
    color: inherit;
}
.tsum-item-name a:hover {
    text-decoration: underline;
}

/* メタ情報 */
.tsum-item-meta {
    font-size: 0.7em;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

/* ▼ レスポンシブ対応（列数多め） */
@media (max-width: 768px) {
    .tsum-item {
        width: calc(25% - 8px); /* 4列 */
    }
}
@media (max-width: 480px) {
    .tsum-item {
        width: calc(33.333% - 8px); /* 3列 */
    }
}

/* =========================================
   フィルタ＆並び替えフォーム
   ========================================= */
.tsum-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85em;
}

/* ラベル */
.tsum-filter-form label {
    margin-right: 4px;
    font-weight: bold;
    white-space: nowrap;
}

/* セレクトボックス */
.tsum-filter-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 2px 6px;
    font-size: 0.85em;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 100px;
    max-width: 140px;
    background-color: #fff;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, #555 50%),
        linear-gradient(135deg, #555 50%, transparent 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px),
        calc(100% - 24px) 50%;
    background-size: 5px 5px, 5px 5px, 1px 1px;
    background-repeat: no-repeat;
}

/* ホバー・フォーカス時 */
.tsum-filter-form select:hover,
.tsum-filter-form select:focus {
    border-color: #1a2a4a;
    outline: none;
    box-shadow: 0 0 4px rgba(26, 42, 74, 0.3);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .tsum-filter-form {
        gap: 6px;
    }
    .tsum-filter-form select {
        min-width: 90px;
        max-width: 120px;
        font-size: 0.8em;
    }
}
@media (max-width: 480px) {
    .tsum-filter-form {
        flex-direction: column;
        align-items: flex-start;
    }
    .tsum-filter-form select {
        width: 100%;
        max-width: none;
    }
}
