/*色の指定*/
:root {
--bg-color:#fff;
--text-color:#121212;
--bg-color-2:#F9F9F9;
--bg-color-3: #EAEAEA;
--link-color:#007AFF;
--page-title-color:#4A6A99;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #121212;
--text-color:#ddd;
--bg-color-2: #1E1E1E;
--bg-color-3: #333333;
--link-color:#64AFFF;
--page-title-color:#1a284e;
}
}
a,a:visited {
background: none!important;
color:var(--text-color)!important;
}
#atwiki-jp-bg2:not(#atwiki-jp-bg2 .atwiki_edit_split),.atwiki-header-submenu,.atwiki-footer,h1,h2,h3,h4,h5,h6,div,table {
background-color: var(--bg-color)!important;
color:var(--text-color)!important;
}
#contents,#contents div:not(blockquote div):not(th div):not(td div):not(.page-title div),#contents h1,#contents h2,#contents h3,#contents a{
background-color: var(--bg-color-2)!important;
}
#wikibody {
padding:0.25em 0.5em;
}
#wikibody h1, #wikibody h2, #wikibody h3, #wikibody h4, #wikibody h5, #wikibody h6 {
padding:0;
margin:0;
}
/*アットウィキのヘッダー*/
.atwiki-headbar {
padding-left:0px!important;
}
.atwiki-headbar a {
color:#fff!important;
}
.atwiki-logo {
background:none!important;
padding-left:12px!important;
}
.atwiki_headbar_search .atwiki-search-icon,.atwiki_headbar_search input {
color: #EAEAEA!important;
background-color: #444!important;
}
.atwiki_headbar_search input {
border: 1px solid white!important;
margin-right:0px!important;
}
/*ページタイトル*/
.page-title div {
margin-bottom:0.8rem;
font-size:1.6rem;
font-weight:bold;
background-color: var(--page-title-color)!important;
  padding: 5px;
  color: #fff!important;
}
.page-title div:before{
  content:'\f1b0';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right:5px;
margin-left: 8px;
font-size:1.6rem;
vertical-align: text-top;
padding-bottom:0.1rem;
}
/*見出しのデザイン*/
#wikibody h3 {
padding:0.8rem 0;
font-size:1.5rem;
}
/*ヘッダーのデザイン*/
#header h1 {
font-size: xx-large;
}
#header p {
display: none;
}
/*引用のデザイン*/
blockquote,blockquote div {
background-color: var(--bg-color-3)!important;
padding: 0.5em;
}
/*tableのデザイン*/
table {
margin:0.25em 0;
}
table td,table th {
padding: 0.25em;
background-color: var(--bg-color-3)!important;
}
table div {
background-color: var(--bg-color-3)!important;
}
/*リンク*/
#wikibody a,#wikibody a:visited {
background: none!important;
color:var(--link-color)!important;
}

/*箇条書き*/
#wikibody ul {
padding:1em 0.5em;
}
/*tableの等幅*/
table:not(.atwiki_plugin_region) {
   width: 100%;
   white-space:pre-wrap!important;
}
.table3 table,.table4 table,.table5 table {
width:100%;
}
.table3 table td, .table3 table th {
   width: 33%!important;
}
.table4 table td, .table4 table th {
   width: 25%!important;
}
.table5 table td, .table5 table th {
   width: 20%!important;
}