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