/* sidebar.css */
/* サイドバー記事タイトルの色とフォント */
#container .sidebar h3 {
  color: var(--uki-main-color);
  font-size: 15px;
}

/* サイドバーの背景 */
#container .sidebar {
  background-color: inherit;
  margin-top: 15px;
}

/* サイドバーウィジェット */
#container .widget-sidebar {
  background: #fff;
  border-radius: 14px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

#container .sidebar .cf {
  padding: 3px 5px;
  border: none;
}

#container .widget-entry-card-content {
  margin-top: 4px;
}

#container .sidebar h2,
#container .sidebar h3 {
  margin: 3px 0px;
  border-radius: 14px 14px 0px 0px;
  background: var(--uki-main-color-transparent-h);
}

/* ウィジェットプロフ名 */
#container .author-name {
  font-size: 16px;
  margin-bottom: 20px;
}

/* ウィジェットプロフリンクの文字色 */
#container .author-name a {
  color: #666;
  text-decoration: none;
}

/* ウィジェットプロフの文章 */
#container .author-description p {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 20px;
}

/* ウィジェット目次 */
#container .toc-widget-box .toc {
  box-shadow: none;
  margin: 0px;
  padding: 0px 0px 0px 10px;
  width: 100%;
}

#container .toc-widget-box .toc-content {
  max-height: 90vh;
  overflow-y: auto;
}

#container .toc-widget-box .toc-list a {
  padding-top: 0px;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: normal;
}

#container .toc-widget-box .toc-list a.active {
  background-color: var(--uki-main-color-transparent-b);
  color: #333;
  padding: 11px 10px 10px 35px;
  margin-top: -36px;
  margin-bottom: 0px;
  width: 100%;
}

#container .toc-widget-box .toc-list li ul li a.active {
  padding: 5px 10px 5px 14px;
  margin-top: -31px;
  margin-bottom: 25px;
}

#container .toc-widget-box .toc-list li ul li:first-child a.active {
  margin-top: -5px;
}

#container .toc-list li ul li:last-child a.active {
  margin-bottom: -18px;
}

/* SNSアイコン背景色 */
.website-follow-button-sq {
  background-color: var(--uki-main-color) !important;
}

.sns-follow-buttons a.twitter-button {
  background-color: #454545 !important;
  color: #fff !important;
}

.sns-follow-buttons a.facebook-button {
  background-color: #3A5491 !important;
  color: #fff !important;
}

.sns-follow-buttons a.hatebu-button {
  background-color: #13A3DC !important;
  color: #fff !important;
}

.sns-follow-buttons a.instagram-button {
  background: linear-gradient(217deg, #7934a7 5%, #f3396a 55%, #F1CC2B) no-repeat !important;
  color: #fff !important;
}

.sns-follow-buttons a.youtube-button {
  background-color: #F50000 !important;
  color: #fff !important;
}

.sns-follow-buttons a.tiktok-button {
  background-color: #000000 !important;
  color: #fff !important;
}

.sns-follow-buttons a.linkedin-button {
  background-color: #105EBC !important;
  color: #fff !important;
}

.sns-follow-buttons a.note-button {
  background-color: #33B797 !important;
  color: #fff !important;
}

.sns-follow-buttons a.pinterest-button {
  background-color: #C31925 !important;
  color: #fff !important;
}

.sns-follow-buttons a.line-button {
  background-color: #1DC35A !important;
  color: #fff !important;
}

.sns-follow-buttons a.amazon-button {
  background-color: #EB9A1D !important;
  color: #fff !important;
}

.sns-follow-buttons a.twitch-button {
  background-color: #8E3AF3 !important;
  color: #fff !important;
}

.sns-follow-buttons a.slack-button {
  background-color: #4E124F !important;
  color: #fff !important;
}

.sns-follow-buttons a.github-button {
  background-color: #171A1F !important;
  color: #fff !important;
}

.sns-follow-buttons a.feedly-button {
  background-color: #6cc655 !important;
  color: #fff !important;
}

.sns-follow-buttons a.rss-button {
  background-color: #f26522 !important;
  color: #fff !important;
}

/* SNSアイコンデザイン */
#container .author-box .sns-follow-buttons a.follow-button {
  font-size: 20px;
  width: 35px;
  height: 35px;
  margin: 10px 8px 20px 8px;
  color: #fff;
  border: none;
  border-radius: 50%;
}

/* SNSアイコンテキストセンタリング */
.author-box .sns-follow-buttons a.follow-button span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* 特定のSNSフォローボタン非表示 */
#container a.follow-button.feedly-button.feedly-follow-button-sq {
  display: none;
}

#container a.follow-button.rss-button.rss-follow-button-sq {
  display: none;
}

#container .nwa .sns-follow-buttons {
  column-gap: 8%;
}

/* ボックスメニューの調整 */

#container .box-menu {
  border-radius: 5px;
}

#container .box-menu-icon {
  color: var(--uki-main-color);
}

#container .box-menu-icon * {
  margin: 10px 0px 0px;
  max-width: 38px;
}

#container .box-menu-label {
  color: var(--uki-main-color);
  font-size: 14px;
  margin-bottom: 5px;
  padding: 0px 7px;
}

#container .box-menu-description {
  color: var(--uki-main-color);
  font-size: 12px;
}

#container .box-menu {
  width: calc(90% / 2);
  margin: 5px;
  border: none;
  box-shadow: none;
  background: var(--uki-main-color-transparent-h);
  min-height: 0px;
  padding: 0px;
}

#container .box-menus.no-icon {
  padding: 2px 0px 5px 10px;
}

#container .box-menu:hover {
  box-shadow: inset 2px 2px 0 0 #f6a06800, 2px 2px 0 0 #f6a06800, 2px 0 0 0 #f6a06800, 0 2px 0 0 #f6a06800;
  background: var(--uki-main-color-transparent-b);
}

#container .box-menu-description {
  color: var(--uki-main-color);
  font-size: 12px;
}


/* ウィジェット新着・人気記事 */
#container .widget-entry-card {
  font-size: 14px;
  padding: 0px;
}

#container .a-wrap:hover {
  background: #fbfbfb;
}

/* ウィジェット検索窓 */
#container .search-box .search-edit {
  border-radius: 14px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

#container .search-edit,
#container input[type="text"] {
  font-size: 14px;
  border: none;
  border-radius: 14px;
}

#container .search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  color: var(--uki-main-color);
  background: var(--uki-main-color-transparent-h);
  border-radius: 0px 14px 14px 0px;
}

#container .search-edit:focus {
  outline: none;
}

#container .widget-entry-cards .a-wrap {
  margin-bottom: 0px;
}

/* ウィジェットカテゴリー */
#container .widget_categories ul {
  padding: 0px 10px 1px 10px;
  list-style: none;
}

#container .widget_categories ul a {
  padding: 0px;
}

#container .widget_categories li {
  font-size: 14px;
  padding: 5px 5px 5px 25px;
  border-bottom: dashed 1px #E2E2E2;
  position: relative;
  box-sizing: border-box;
}

#container .widget_categories li:last-child {
  border-bottom: none;
}

body #container .widget_categories ul li a:hover {
  background-color: #fff0;
}

#container .widget_categories li::after {
  content: '●';
  display: block;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  line-height: 1;
  color: var(--uki-main-color);
}

#container .widget_categories li a {
  position: relative;
  z-index: 1;
}

#container .widget_categories li:hover {
  background-color: var(--uki-main-color-transparent-b);
}

#container .widget_categories ul li a:hover {
  background-color: inherit;
  color: inherit;
}

/* タグ */
#container .sidebar .tagcloud {
  padding: 5px 10px;
}

#container .sidebar .tagcloud a {
  border: inherit;
  border-radius: 2px 14px 14px 2px;
  color: #7b7b7b;
  margin: 3px;
  background: #F5F6F7;
}

#container .footer .tagcloud {
  padding: 5px 10px;
}

#container .footer .tagcloud a {
  border: inherit;
  border-radius: 2px 14px 14px 2px;
  color: #7b7b7b;
  margin: 3px;
  background: #fff;
}