@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
 */

/*
 * File:  pukiwiki.css
 *   サイトスタイル、機能の基本設定
 *     * 基本レイアウトに関するもの
 *       ** レスポンシブ デザイン
 *       ** ハンバーガーメニューなどの機能はpukiwiki.mod.cssに
 *     * サイトスタイルに関するもの 
 *       ** デフォルトのpukiwiki.cssにあるものが中心
 *
 */

/*
 *     サイトスタイル、機能の基本設定
 *   * 変更点
 *   - 標準プラグイン固有のCSSは pukiwiki.plugins.cssに移動 2024-06-26 shino 
 *   - レイアウト用のブロック要素を追加変更                 2024-07-05 shino
 *   -- ヘッダ指定追加              → <header>
 *   -- 本文 <div id="contents">    → <main>
 *   --- 記事本体指定               → <article>
 *   -- メニュー <div id="menubar"> → <aside id="menubar">
 *   -- メニュー <div id="rightbar">→ <aside id="rightbar">
 *   -- フッタ <div id="footer">    → <footer>
 *  -文字単位を em から rem へ
 */


/* レイアウト用の各種タグをブロック要素に 2024-07-05 shino */
header, main, aside, nav, footer { 
  display: block;
}


/* PCレイアウト  
 *
 * ヘッダ部 <header>
 * メイン部 
 *     左メニュー 記事 右メニュー
 *         左メニュー: 目次 <aside id="menubar"> 
 *         本文      : <div id="body">
 *         右メニュー: 編集ツール等 <aside id="rightbar">
 * フッタ部 <footer>
 *
 */

/* 
 * メイン部のブロック整列順を設定
 */

main {/* 元々div要素だったものを変更 2024-07-05 shino */
  display:flex;
  display: -webkit-flex;

  flex-flow:row nowrap; /* 子要素は横に並べる 重ねない*/
}

aside#menubar {
  order:3;
  flex-grow:0;
}

div#body { /* 伸縮はこちらでさせる */
  order:2;
  flex:1 1 auto;
}

aside#rightbar {
  order:1;
  flex-grow:0;
}

/* ヘッダ部 レイアウト (PC) 
 *
 * ヘッダ部 <header>
 *   横並び
 *     ロゴ グローバルナビ 検索 (※ SPメニュー) [スマートフォン用ブロック非表示]
 *     (※) 非表示
 */
div#header {
  display : flex;
  display : -webkit-flex;
  flex-flow : row nowrap; /* 子要素を横に並べる */
}

/* スマートフォン用 ハンバーガーメニュー ここまで */

div#block-for-smartphone {
  display:contents;  /* ロゴ と SPメニュー は離す*/
}


div.CI {
  order: 1;
  flex-grow: 0;
}
nav#navigator {
  order: 2;
  flex : 1 1 auto;
}
div#search {
  order: 3;
  flex-grow: 0;
}

div#search {
  height: fit-content;
  position: relative;
  top: 21px;
}

/* スマートフォン用 ハンバーガーメニュー(PC表示せず)  */
div#smp-menu {
	display: none;
}

/* 表示全体 */
body {
  color:black;
  background-color:white;
  margin-left:2vw;
  margin-right:2vw;

  font-size:0.9rem;
  font-family:Sans-Serif,verdana, arial, helvetica;/* 基本書体はサンセリフ */

  letter-spacing: 0.12rem;
}

/* 見出し */
/* h1.title は使用しない*/
/* 共通属性 */
h1,
h2,
h3,
h4,
h5,
h6 {
  display: inline-block;
  text-indent: 0;
  letter-spacing: 0;
  background-color:transparent;
}

/*各見出し*/
h1 {
  font-size:1.2rem;
  font-weight:bold;
  
  /* 中央寄せ */
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  border-bottom: 2px solid #eee;
  padding: .5rem 0.5rem .5rem 0.5rem;
  margin: .05rem 1rem 1rem 1rem;
}

h2 {
/*
  position: relative; 
  left: 2rem;
*/
  font-size:1.0rem;

  border-bottom: 2px solid #eee;
  padding: .5rem 0.5rem .5rem 0.5rem;
  margin: .05rem 1rem 1rem 1rem;
}

h3,
h4,
h5,
h6 {
/*
  position: relative; 
  left: 2rem;
*/
  font-size:0.9rem;

  border-bottom: 2px solid #eee;
  padding: .5rem 0.5rem .5rem 0.5rem;
  margin: .05rem 1rem 1rem 1rem;
}


.anchor_super {
  display:none;
}

div.jumpmenu{
  display:none;
}

pre, dl, ol, p, blockquote {
  line-height:1.3rem;
}
blockquote {
  margin-left:32px;
}

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:rbg(255,255,255,0); /* 背景色 透明 (変化なし) */
  text-decoration:none;
}
a:visited {
  color:#a63d21;
  background-color:inherit;
  text-decoration:none;
}
a:hover {
  color:#215dc6;
  background-color:rbg(255,255,255,0); /* 背景色 透明 (変化なし) */
  text-decoration:underline; /* マウスオーバーで下線表示 */
}
a.external-link:not(.external-link-silent)::after {
  content:url(../image/external-link.png);
  margin:3px;
}

/* リンクというリンク全部についてしまう... 2024-07-16 shino
a.link_page_passage::before {
  content: '>> ';
}
*/
td {
  color:black;
  background-color:white;
  margin-left:2%;
  margin-right:2%;
}


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

pre {
  padding:.5rem;

  color:black;
  font-weight: bold;
  font-size: medium;

  text-align: center;
  white-space:pre-wrap;
  word-wrap:break-word;
}

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

ul {
  margin-top:.5rem;
  margin-bottom:.5rem;
  line-height:1.3rem;
}

em {
  font-style:italic;
}

strong {
  font-weight:bold;
}

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

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:1rem;
  margin-left:1rem;
}
/* list-indent2,3,4 are used for leaping list level indentation */
.list-indent2 {
  padding-left:2rem;
  margin-left:2rem;
}
.list-indent3 {
  padding-left:3rem;
  margin-left:3rem;
}
.list-indent4 {
  padding-left:4rem;
  margin-left:4rem;
}

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

.small {
  font-size:0.8rem;
}

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

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

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

hr.full_hr {
  border-style:ridge;
  border-color:#ddd;
  border-width:1px 0;
}
hr.note_hr {
  border:none;
}
/*
hr.note_hr {
  width:90%;
  border-style:ridge;
  border-color:#ddd;
  border-width:1px 0;
  text-align:center;
  margin:1rem auto 0 auto;
}
*/

span.size1 {
  font-size:xx-small;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size2 {
  font-size:x-small;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size3 {
  font-size:small;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size4 {
  font-size:medium;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size5 {
  font-size:large;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size6 {
  font-size:x-large;
  line-height:1.3rem;
  text-indent:0;
  display:inline;
}
span.size7 {
  font-size:xx-large;
  line-height:1.3rem;
  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 {
}
.edit_form textarea,.edit_form select {
  width:95%;
}

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

nav#navigator {/* 元々div要素だったものを変更 2024-07-05 shino */
  padding:0;
  margin:10px 0 10px 0;

}

main {/* 元々div要素だったものを変更 2024-07-05 shino */
  word-break:break-all;
  overflow-wrap:break-word;
  word-wrap:break-word;
}

/* #menubar #rightbar どちらにも同じ属性を設定 */
aside { 
  min-width:15rem;
  max-width:15rem;

  padding:1rem;
  margin:0.5rem 0.25rem 0 0.25rem;

  font-size:0.8rem;
  line-height: 1.5rem;

  overflow:hidden;
/*
  border: 2px solid #ddd;
  border-radius: 10px;
*/
}
aside ul {
  margin:0 0 0 1rem;
  padding:0 0 0 .5rem;

  line-height:inherit;
  text-indent: -1.5rem;
}
aside ul li {
  line-height:inherit;
  list-style-type:none;
  padding-left: 1rem;
}

aside h4 {
  font-size:1rem;
}




div#body {
  padding:1rem;
  margin:0.5rem 0.25rem 0 0.25rem;
  max-width:98%;

/*
  border: 2px solid #ddd;
  border-radius: 10px;
*/
}

div#note {
  padding:0;
  margin:0;
  word-break:break-all;
}
div#attach {
  padding:0;
  margin:0;
}

nav#toolbar {/* 元々div要素だったものを変更 2024-07-05 shino */
  padding:0;
  margin:0;
  border: 2px solid #ddd;
  border-radius: 10px;
}
div#lastmodified {
  font-size:0.8rem;
  text-align: right;
  padding:0;
  margin:0;
}
div#related {
  font-size:0.8rem;
  padding:0;
  margin:16px 0 0 0;
}
div#related .page_passage {
  font-size:0.6rem;
}
footer {
  font-size:0.7rem;
  padding:0;
  margin:16px 0 0 0;
}



/* 現行バージョンのデフォルトのスキンには<div id="banner"></div>が存在しない。*/
/* 以下の記述は再利用 */ 
div#banner {
/*  float:right; */ 
/*  margin-top:24px;  */
  margin: 0;
  padding: 0;
}

#banner img {
	width: 100%;
	height: 180px;
	object-fit: cover;

	border-radius: 10px;
}

#search form {
  margin: 0;
  padding: 0;
}

div#preview {
  color:inherit;
  background-color:#F5F8FF;
}
img#logo {
  float:left;
  margin-right:20px;
}

/* Mobile-friendly Responsive layout */
@media (max-width:767px) {


#banner img {
	width: 100%;
	height: 80px;
	object-fit: cover;

	border-radius: 10px;
}
/* 
 * メイン部のブロック整列順を設定
 */
  main {
    flex-flow:column wrap; /* 子要素を縦に並べる */
  }
/* 並べる順番 */
  div#body {
    order:1;
  }
  aside#menubar {
    display:none;  

/*    width:auto;
    max-width:none;
    order:2; 
*/
  }
  aside#rightbar {
    display:none;
  }

/* ヘッダ部の整列仕様 (スマートフォン) 
 *
 * ヘッダ部 <header>
 *   縦並び
 *     ロゴ SPメニュー (ここだけ横並び) [スマートフォン用ブロック] 
 *     検索 
 *     グローバルナビ 
 */

  div#header {
    flex-flow:column wrap; /* 子要素を縦に並べる */
  }
  div#block-for-smartphone {
    display:flex; 
    order:1;
  }

/* ハンバーガーメニュー表示 */	
/* 機能の詳細は pukiwiki.mod.css */	

div#smp-menu {
	display: table;
}

  div#search {
    order:2;
  }
  nav#navigator {

    order:3;
  }


/* 各要素の属性 */


  div#search {
}

  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: 4rem;
  }
  tr.bugtrack_list_header th:nth-child(2) {
    min-width: 1rem;
  }
  tr.bugtrack_list_header th:nth-child(3) {
    min-width: 1rem;
  }
  tr.bugtrack_list_header th:nth-child(4) {
    min-width: 3rem;
  }
  tr.bugtrack_list_header th:nth-child(5) {
    min-width: 3rem;
  }
  ._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%;
  }

  dd {
    margin:0;
  }

}

@media print {
  a:link,
  a:visited {
    text-decoration:underline;
  }
  img#logo,
/*  nav#navigator, */
  aside#menubar, 
  aside#rightbar, 
  div#related,
  div#attach,
  nav#toolbar {
    display:none;
  }
  div#banner,
  footer       { /*追加*/
    display:none;
  }
}
