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



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




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



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