@charset "UTF-8";

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


body,td {
  color:#45433f;
  background-color:white;
  font-family:verdana, arial, helvetica, Sans-Serif;
}
textarea {
  box-sizing:border-box;
  max-width:99.5%;
  height: 70vh;

}


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




ul {
  margin-top:.5em;
  margin-bottom:.5em;
}

em {
  font-style:italic;
}

strong {
  font-weight:bold;
}






.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;
}



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#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 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 {
max-width: 70vw;
  padding:0;
    margin-left: .3em;
    margin-bottom: 3em;
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#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;
}

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


/* 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%;
    margin: 0 0 10px 0;
}

/* 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;
  }
}
/* sortable-table.js */
.sort-arrow {
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 2px;
    background-image: url("../image/sort-blank.png");
}
.sort-arrow.descending {
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 2px;
    background-image: url("../image/sort-descending.png");
}
.sort-arrow.ascending {
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 2px;
    background-image: url("../image/sort-ascending.png");
}
/* filterable-table.js */
.filter-box {
    width: 100%;
    height: 1.5em;
    margin: 0;
}
/* html.php/edit_form() */
.edit_form {
  clear:both;
}
/* ↓PukiWiki1.5.3から追加されたCSS定義
.edit_form textarea,.edit_form select {
  width:95%;
} */
.edit_form select {
	width: 90%;
}
#template_read {
	width: 9%;
}
.edit_form textarea {
	width: 100%;
	resize: vertical;
}




/* card.inc.php */
.plugin-card * {
box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.plugin-card * img {
  max-width: 100% !important;
}

.plugin-card {
  display: grid;
  gap: 16px 8px;
  max-width: 100%;
  min-width: 300px;
}

.plugin-card[data-layout=horizontal] .card-item {
  height: 150px;
}
.plugin-card[data-layout=horizontal] .card-body {
  -moz-column-gap: 10px;
       column-gap: 10px;
  grid-template: "image title  " 1fr "image snippet" 3fr "image lastmod" 1fr/100px 1fr;
}
.plugin-card[data-layout=horizontal] .card-thumbnail {
  width: 100px;
  height: 100px;
}

.plugin-card[data-layout=vertical] .card-body {
grid-template:
        "image"
        "title";
    row-gap: 10px;
background: rgb(255 255 255 / 80%);
}
.plugin-card[data-layout=vertical] .card-thumbnail {
  width: 100%;
  height: auto;
/*  aspect-ratio: 16/9; */
    box-shadow: none;
}

.plugin-card[data-cols="4"] {
  grid-template-columns: repeat(auto-fit, minmax(auto, 100px));
}
.plugin-card[data-cols="4"] .card-item {
  max-width: 110px;
}

.plugin-card[data-justify=flex-start] {
  margin: 24px auto 24px 0;
  justify-content: flex-start;
}
.plugin-card[data-justify=flex-end] {
  margin: 24px 0 24px auto;
  justify-content: flex-end;
}
.plugin-card[data-justify=start] {
  margin: 24px auto 24px 0;
  justify-content: start;
}
.plugin-card[data-justify=end] {
  margin: 24px 0 24px auto;
  justify-content: end;
}
.plugin-card[data-justify=left] {
  margin: 24px auto 24px 0;
  justify-content: left;
}
.plugin-card[data-justify=center] {
  margin: 24px auto;
  justify-content: center;
}
.plugin-card[data-justify=right] {
  margin: 24px 0 24px auto;
  justify-content: right;
}
.plugin-card[data-justify=space-between] {
  margin: 24px auto;
  justify-content: space-between;
}
.plugin-card[data-justify=space-around] {
  margin: 24px auto;
  justify-content: space-around;
}
.plugin-card[data-justify=space-evenly] {
  margin: 24px auto;
  justify-content: space-evenly;
}
.plugin-card[data-justify=stretch] {
  margin: 24px auto;
  justify-content: stretch;
}

.card-item {
border: 2px solid rgb(203 203 203);
    border-radius: 4px;
    max-width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 rgb(0 0 0 / 50%);
}
.card-item:hover {
  transform: translate(2px, -5px);
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.9);
}

a.card-overwrap {
  color: unset;
  text-decoration: none;
}

.card-body {
  display: grid;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 5px 15px 14px;
}
.card-body > * {
  margin: 0;
  padding: 0;
}

.card-thumbnail {
  grid-area: image;
  overflow: hidden;
  border-radius: 8px;
  background-color: black;
}

.card-image {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-title {
  grid-area: title;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background-color: transparent;
  color:#3e3e3e;
}

.card-snippet {
  grid-area: snippet;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: var(--opacity-details);
  height: 4em;
}

.card-lastmod {
  grid-area: lastmod;
  justify-self: flex-end;
  opacity: var(--opacity-details);
  /*
  &::before {
      font-family: "Font Awesome 5 Free";
      font-weight: 700;
      margin-right: 4px;
      content: "\f1da";
  }
  */
}
.card-lastmod[data-length=short] {
  display: none;
}

.bold {
  font-weight: 700;
}

@media (min-width: 768px) {
  .plugin-card[data-compact=true] .card-title {
    -webkit-line-clamp: 2;
    height: 2rem;
  }
  .plugin-card[data-compact=true] .card-snippet {
    display: none;
  }
  .plugin-card[data-compact=true] .card-lastmod[data-length=full] {
    display: none;
  }
  .plugin-card[data-compact=true] .card-lastmod[data-length=short] {
    display: initial;
  }
}
@media (max-width: 767px) {
  .plugin-card[data-justify] {
    justify-content: center;
  }
  
  
  .plugin-card[data-cols][data-layout=vertical] {
    grid-template-columns: repeat(auto-fit, minmax(auto, 100px));
  }
  .plugin-card[data-cols][data-layout=vertical] .card-item {
    max-width: 100px;
  }
}
figure.card-thumbnail {
        border: 1px #a6a6a6;
}
img.card-image {
    filter: blur(0)!important;
}
h5.card-title.bold {
    font-size: 0.8em;
}