@charset "UTF-8";

/*!
 * PukiWiki - Yet another WikiWikiWeb clone.
 * Copyright
 *   2002-2021 PukiWiki Development Team
 *   2001-2002 Originally written by yu-ji
 * License: GPL v2 or (at your option) any later version
 *
 * Default CSS
 */

#menubar * {
    background-color: transparent !important;
    background: none !important;
    color: #eeeeee !important;
}



/* --- 強力版ダークモード設定（pukiwiki.cssの1行目に貼り付け） --- */

html, body, #container, #body, #contents, #menubar, #header, #navigator, #footer {
    background-color: #1a1a1a !important;
    color: #eeeeee !important;
}







/* メインコンテンツ部分の背景を強制固定 */
#body, #contents {
    background-color: #1a1a1a !important;
}

/* リンク色の強制変更 */
a, a:link { color: #4db8ff !important; }
a:visited { color: #b388ff !important; }

/* 表の背景を強制的に黒く */
.style_table, .style_table td, .style_table th {
    background-color: #222222 !important;
    color: #eeeeee !important;
    border: 1px solid #444444 !important;
}



/* --- メニューバーの見出し背景を修正 --- */

/* 見出し（* や **）の背景を透明にする */
#menubar h2, #menubar h3, #menubar h4 {
    background-color: transparent !important; /* 背景を消す */
    color: #00bfff !important; /* 文字色を明るい水色にする */
    border-bottom: 1px solid #444 !important; /* 下線だけ残して区切りを分かりやすく */
    border-left: 5px solid #00bfff !important; /* 左側にアクセントの縦線を入れる */
    padding: 5px 10px !important;
    margin-top: 15px !important;
}

/* メインコンテンツ側の見出しも背景を黒く合わせる */
h2, h3, h4 {
    background-color: #333 !important; /* 少しだけ明るい黒にする */
    color: #eeeeee !important;
    border-left: 10px solid #4db8ff !important; /* 見出しの左側に青い線を入れる */
}




/* --- #region（折りたたみ）のダークネイビー固定設定 --- */

/* 1. 折りたたみのボタン（開閉バー） */
.region_expand, .region_compress {
    background-color: #003366 !important; /* 深い紺色 */
    color: #ffffff !important;
    border: 1px solid #0055aa !important;
    padding: 6px 12px !important;
    cursor: pointer;
    font-weight: bold;
    display: block;
}

/* 2. 折りたたまれた中身のエリア（ここを「濃いめの青」に固定） */
.region_body {
    background-color: #2c3e50 !important; /* ダークブルー（黒と判別でき、かつ明るすぎない） */
    color: #ffffff !important;            /* 基本の文字を白にする */
    border: 1px solid #4a6988 !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
}

/* 3. 【重要】中にある全要素の背景を透明化し、親のダークブルーを透けさせる */
.region_body, .region_body *, .region_body ul, .region_body li, .region_body div {
    background-color: transparent !important;
    background: none !important;
}

/* 4. 「＋」や「OPEN開」など、全ての文字を「白」に強制して視認性を確保 */
.region_body, .region_body li, .region_body span {
    color: #ffffff !important;
}

/* 5. リンクの色（背景がダークブルーなので、明るい水色にする） */
.region_body a {
    color: #00dfff !important; 
    text-decoration: underline !important;
    font-weight: bold;
}





pre, dl, ol, p, blockquote {
  line-height:130%;
}
blockquote {
  margin-left:32px;
}
body,td {
  color:black;
  background-color:white;
  margin-left:2%;
  margin-right:2%;
  font-size:90%;
  font-family:verdana, arial, helvetica, Sans-Serif;
}
textarea {
  box-sizing:border-box;
  max-width:99.5%;
}

a:link {
  color:#215dc6;
  background-color:inherit;
  text-decoration:none;
}
a:active {
  color:#215dc6;
  background-color:#CCDDEE;
  text-decoration:none;
}
a:visited {
  color:#a63d21;
  background-color:inherit;
  text-decoration:none;
}
a:hover {
  color:#215dc6;
  background-color:#CCDDEE;
  text-decoration:underline;
}
a.external-link:not(.external-link-silent)::after {
  content:url(../image/external-link.png);
  margin:3px;
}

h1, h2 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  color:inherit;
  background-color:#DDEEFF;
  padding:.3em;
  border:0;
  margin:0 0 .5em 0;
}
h3 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  border-bottom:3px solid #DDEEFF;
  border-top:1px solid #DDEEFF;
  border-left:10px solid #DDEEFF;
  border-right:5px solid #DDEEFF;

  color:inherit;
  background-color:#FFFFFF;
  padding:.3em;
  margin:0 0 .5em 0;
}
h4 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  border-left:18px solid #DDEEFF;

  color:inherit;
  background-color:#FFFFFF;
  padding:.3em;
  margin:0 0 .5em 0;
}
h5, h6 {
  font-family:verdana, arial, helvetica, Sans-Serif;
  color:inherit;
  background-color:#DDEEFF;
  padding:.3em;
  border:0;
  margin:0 0 .5em 0;
}
h1.title {
  font-size:30px;
  font-weight:bold;
  background-color:transparent;
  padding:12px 0 0 0;
  border:0;
  margin:12px 0 0 0;
}

dt {
  font-weight:bold;
  margin-top:1em;
  margin-left:1em;
}

pre {
  border-top:#DDDDEE 1px solid;
  border-bottom:#888899 1px solid;
  border-left:#DDDDEE 1px solid;
  border-right:#888899 1px solid;
  padding:.5em;
  margin-left:1em;
  margin-right:2em;
  white-space:pre-wrap;
  word-wrap:break-word;
  color:black;
  background-color:#F0F8FF;
}

img {
  border:none;
  vertical-align:middle;
}

ul {
  margin-top:.5em;
  margin-bottom:.5em;
  line-height:130%;
}

em {
  font-style:italic;
}

strong {
  font-weight:bold;
}

thead td.style_td,
tfoot td.style_td {
  color:inherit;
  background-color:#D0D8E0;
}
thead th.style_th,
tfoot th.style_th {
  color:inherit;
  background-color:#E0E8F0;
}
.style_table {
  padding:0;
  border:0;
  margin:auto;
  text-align:left;
  color:inherit;
  background-color:#ccd5dd;
}
.style_th {
  padding:5px;
  margin:1px;
  text-align:center;
  color:inherit;
  background-color:#EEEEEE;
}
.style_td {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
}

ul.list1 {
  list-style-type:disc;
}
ul.list2 {
  list-style-type:circle;
}
ul.list3 {
  list-style-type:square;
}
ol.list1 {
  list-style-type:decimal;
}
ol.list2 {
  list-style-type:lower-roman;
}
ol.list3 {
  list-style-type:lower-alpha;
}

.list-indent1 {
  padding-left:16px;
  margin-left:16px;
}
/* list-indent2,3,4 are used for leaping list level indentation */
.list-indent2 {
  padding-left:32px;
  margin-left:32px;
}
.list-indent3 {
  padding-left:48px;
  margin-left:48px;
}
.list-indent4 {
  padding-left:64px;
  margin-left:64px;
}

div.ie5 {
  text-align:center;
}
span.noexists {
  color:inherit;
  background-color:#FFFACC;
}

.small {
  font-size:80%;
}

.super_index {
  color:#DD3333;
  background-color:inherit;
  font-weight:bold;
  font-size:60%;
  vertical-align:super;
}

a.note_super {
  color:#DD3333;
  background-color:inherit;
  font-weight:bold;
  font-size:60%;
  vertical-align:super;
}

div.jumpmenu {
  font-size:60%;
  text-align:right;
  user-select:none;
}

hr.full_hr {
  border-style:ridge;
  border-color:#333333;
  border-width:1px 0;
}
hr.note_hr {
  width:90%;
  border-style:ridge;
  border-color:#333333;
  border-width:1px 0;
  text-align:center;
  margin:1em auto 0em auto;
}

span.size1 {
  font-size:xx-small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size2 {
  font-size:x-small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size3 {
  font-size:small;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size4 {
  font-size:medium;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size5 {
  font-size:large;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size6 {
  font-size:x-large;
  line-height:130%;
  text-indent:0;
  display:inline;
}
span.size7 {
  font-size:xx-large;
  line-height:130%;
  text-indent:0;
  display:inline;
}

/* html.php/catbody() */
strong.word0 {
  background-color:#FFFF66;
  color:black;
}
strong.word1 {
  background-color:#A0FFFF;
  color:black;
}
strong.word2 {
  background-color:#99FF99;
  color:black;
}
strong.word3 {
  background-color:#FF9999;
  color:black;
}
strong.word4 {
  background-color:#FF66FF;
  color:black;
}
strong.word5 {
  background-color:#880000;
  color:white;
}
strong.word6 {
  background-color:#00AA00;
  color:white;
}
strong.word7 {
  background-color:#886800;
  color:white;
}
strong.word8 {
  background-color:#004699;
  color:white;
}
strong.word9 {
  background-color:#990099;
  color:white;
}

/* html.php/edit_form() */
.edit_form {
  clear:both;
}
.edit_form textarea,.edit_form select {
  width:95%;
}

/* pukiwiki.skin.php */
div#header {
  padding:0;
  margin:0;
  word-break:break-all;
}

div#navigator {
  clear:both;
  padding:4px 0 0 0;
  margin:0;
}

div#contents {
  display:flex;
  flex-flow:row nowrap;
  word-break:break-all;
  overflow-wrap:break-word;
  word-wrap:break-word;
}

div#menubar {
  min-width:12em;
  max-width:12em;
  padding:0;
  margin:4px;
  font-size:90%;
  overflow:hidden;
  order:1;
  flex-grow:0;
}
div#menubar ul {
  margin:0 0 0 1em;
  padding:0 0 0 .5em;
}
div#menubar ul li {
  line-height:110%;
}
div#menubar h4 {
  font-size:110%;
}

#rightbar {
  min-width:14em;
  max-width:14em;
  padding:0;
  margin:4px;
  font-size:90%;
  overflow:hidden;
  order:3;
  flex-grow:0;
}
#rightbar ul {
  margin:0 0 0 1em;
  padding:0 0 0 .5em;
}
#rightbar ul li {
  line-height:110%;
}
#rightbar h4 {
  font-size:110%;
}

div#body {
  padding:0;
  margin:0 0 0 .5em;
  max-width:98%;
  order:2;
  flex-grow:1;
}

div#note {
  clear:both;
  padding:0;
  margin:0;
  word-break:break-all;
}
div#attach {
  clear:both;
  padding:0;
  margin:0;
}
div#toolbar {
  clear:both;
  padding:0;
  margin:0;
  text-align:right;
}
div#lastmodified {
  font-size:80%;
  padding:0;
  margin:0;
}
div#related {
  font-size:80%;
  padding:0;
  margin:16px 0 0 0;
}
div#related .page_passage {
  font-size:60%;
}
div#footer {
  font-size:70%;
  padding:0;
  margin:16px 0 0 0;
}
div#banner {
  float:right;
  margin-top:24px;
}
div#preview {
  color:inherit;
  background-color:#F5F8FF;
}
img#logo {
  float:left;
  margin-right:20px;
}

/* aname.inc.php */
.anchor_super {
  font-size:xx-small;
  vertical-align:super;
  margin-left:.5em;
}

/* list.inc.php */
.page_passage {
  font-size:small;
}

/* calendar*.inc.php */
.style_calendar {
  padding:0;
  border:0;
  margin:3px;
  color:inherit;
  background-color:#CCD5DD;
  text-align:center;
}
.style_td_caltop {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  font-size:80%;
  text-align:center;
}
.style_td_today {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#FFFFDD;
  text-align:center;
}
.style_td_sat {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#DDE5FF;
  text-align:center;
}
.style_td_sun {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#FFEEEE;
  text-align:center;
}
.style_td_blank {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  text-align:center;
}
.style_td_day {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#EEF5FF;
  text-align:center;
}
.style_td_week {
  padding:5px;
  margin:1px;
  color:inherit;
  background-color:#DDE5EE;
  font-size:80%;
  font-weight:bold;
  text-align:center;
}

/* calendar_viewer.inc.php */
div.calendar_viewer {
  color:inherit;
  background-color:inherit;
  margin-top:20px;
  margin-bottom:10px;
  padding-bottom:10px;
}
span.calendar_viewer_left {
  color:inherit;
  background-color:inherit;
  float:left;
}
span.calendar_viewer_right {
  color:inherit;
  background-color:inherit;
  float:right;
}

/* clear.inc.php */
.clear {
  margin:0;
  clear:both;
}

/* counter.inc.php */
div.counter {
  font-size:70%;
}

/* diff.inc.php */
span.diff_added {
  color:blue;
  background-color:inherit;
}
span.diff_removed {
  color:red;
  background-color:inherit;
}

/* hr.inc.php */
hr.short_line {
  text-align:center;
  width:80%;
  border-style:solid;
  border-color:#333333;
  border-width:1px 0;
}

/* include.inc.php */
h5.side_label {
  text-align:center;
}

/* navi.inc.php */
ul.navi {
  margin:0;
  padding:0;
  text-align:center;
}
li.navi_none {
  display:block;
  float:none;
}
li.navi_left {
  display:block;
  float:left;
  text-align:left;
}
li.navi_right {
  display:block;
  float:right;
  text-align:right;
}

/* new.inc.php */
span.comment_date {
  font-size:x-small;
}
span.new1 {
  color:red;
  background-color:transparent;
  font-size:x-small;
}
span.new5 {
  color:green;
  background-color:transparent;
  font-size:xx-small;
}

/* comment.inc.php */
._p_comment_form input[name="msg"] {
  max-width:90%;
}

/* pcomment.inc.php */
._p_pcomment_form input[name="msg"] {
  max-width:90%;
}

/* article.inc.php */
._p_article_form input[name="subject"] {
  max-width:82%;
}

/* popular.inc.php */
span.counter {
  font-size:70%;
}

/* ref.inc.php */
div.img_margin {
  margin-left:32px;
  margin-right:32px;
}

/* vote.inc.php */
td.vote_label {
  color:inherit;
  background-color:#FFCCCC;
}
td.vote_td1 {
  color:inherit;
  background-color:#DDE5FF;
}
td.vote_td2 {
  color:inherit;
  background-color:#EEF5FF;
}

/* topicpath.inc.php */
span.topicpath-slash {
  margin:0 0.2em;
}
span.topicpath-top {
  user-select:none;
}

/* bugtrack.inc.php */
tr.bugtrack_list_header th {
  background-color:#ffffcc;
}
tr.bugtrack_list_header th:nth-child(1) {
  min-width: 7em;
}
tr.bugtrack_list_header th:nth-child(2) {
  min-width: 2em;
}
tr.bugtrack_list_header th:nth-child(3) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(4) {
  min-width: 4em;
}
tr.bugtrack_list_header th:nth-child(5) {
  min-width: 3em;
}
tr.bugtrack_state_proposal td {
  background-color:#ccccff;
}
tr.bugtrack_state_accept td {
  background-color:#ffcc99;
}
tr.bugrack_state_resolved td {
  background-color:#ccffcc;
}
tr.bugtrack_state_pending td {
  background-color:#ffccff;
}
tr.bugtrack_state_cancel td {
  background-color:#cccccc;
}
tr.bugtrack_state_undef td {
  background-color:#ff3333;
}
._p_bugtrack_form input[name="summary"],
._p_bugtrack_form textarea {
  box-sizing:border-box;
  width:35em;
  max-width:99.5%;
}

/* tracker.inc.php */
._p_tracker_form th {
  min-width:5em;
}

/* search2.inc.php  */
.search-result-page-summary {
  font-size:70%;
  color:gray;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Mobile-friendly Responsive layout */
@media (max-width:767px) {
  div#contents {
    flex-flow:column wrap;
  }
  div#menubar {
    width:auto;
    max-width:none;
    font-size:100%;
    order:2;
  }
  div#rightbar {
    width:auto;
    max-width:none;
    font-size:100%;
    order:3;
  }
  div#body {
    order:1;
  }
  div#body img {
    max-width:95%;
    height:auto;
  }

  ._p_tracker_form th,._p_tracker_form td {
    display:block;
    text-align:left !important;
    width:auto !important;
    margin:0;
  }
  ._p_tracker_form td input[type=text],
  ._p_tracker_form td textarea {
    box-sizing:border-box;
    width:99.5%;
  }

  tr.bugtrack_list_header th:nth-child(1) {
    min-width: 4em;
  }
  tr.bugtrack_list_header th:nth-child(2) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(3) {
    min-width: 1em;
  }
  tr.bugtrack_list_header th:nth-child(4) {
    min-width: 3em;
  }
  tr.bugtrack_list_header th:nth-child(5) {
    min-width: 3em;
  }
  ._p_bugtrack_form th,._p_bugtrack_form td {
    display:block;
    text-align:left !important;
    margin:0;
  }
  ._p_bugtrack_form input[name="summary"],
  ._p_bugtrack_form textarea {
    box-sizing:border-box;
    width:99.5%;
  }
}

@media print {
  a:link,
  a:visited {
    text-decoration:underline;
  }
  img#logo,
  div#navigator,
  div#menubar,
  div#rightbar,
  div#related,
  div#attach,
  div#toolbar {
    display:none;
  }
}
/* --- スマホ・タブレット向けの表スクロール設定 --- */
@media screen and (max-width: 768px) {
    /* 表を囲むエリアに横スクロールを許可する */
    #body div.ie5 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* 指に吸い付くようなスクロール */
        display: block;
        width: 100%;
        border: 1px solid #ddd; /* どこまでが表か分かりやすくする枠線 */
        margin-bottom: 1em;
    }

    /* 表の中の文字が無理に改行されないようにする */
    .style_table td, .style_table th {
        white-space: nowrap; 
        font-size: 13px; /* スマホ用に少しだけ文字を小さく */
        padding: 8px 5px;
    }
/* ページトップへ戻るボタンのスタイル */
#page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none; /* 最初は隠しておく */
}

#page-top a {
    background-color: #007bff; /* ボタンの色（青） */
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 50px; /* 丸みをつける */
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
    opacity: 0.8;
}

#page-top a:hover {
    background-color: #0056b3;
    opacity: 1;
}


/* --- 入れ子メニューの白い背景をピンポイントで撃破 --- */

/* 1. 「開いた部分」の四角い背景を、リストと同じ黒にする */
div.region_body {
    background-color: #1a1a1a !important; /* リストと同じ背景色 */
    color: #eeeeee !important;            /* 文字を白にする */
    border: 1px solid #444 !important;    /* 枠線を暗くする */
}

/* 2. その中にあるリストの背景を「透明」にして、黒背景を透けさせる */
div.region_body ul, 
div.region_body li {
    background-color: transparent !important;
    background-image: none !important;
    color: #eeeeee !important;
}

/* 3. 中のリンクを水色にする */
div.region_body a {
    color: #4db8ff !important;
    text-decoration: underline !important;
}

/* 4. 左側の「+」記号周辺の背景も透明化 */
div.region_body * {
    background-color: transparent !important;
}

