@charset "UTF-8";

*{
  font-family: 
  'Noto Sans JP',        /* Webフォントとして美しい */
  'Yu Gothic Medium',    /* Windows 8+ */
  'Yu Gothic',           /* Windows汎用 */
  'Hiragino Kaku Gothic Pro', /* macOS汎用 */
  'Meiryo',              /* Windows fallback */
  sans-serif;
	padding: 0px;
	margin: 0px;
  box-sizing: border-box;
  word-wrap: break-word;
}

html {
  font-size: 62.5%;
  font-weight: 500;
}

/* ダークモード*/
html.dark {
  filter: invert(100%) hue-rotate(180deg);
  background-color: #111; /* フォールバック背景 */
}

html.dark img,
html.dark video,
html.dark iframe {
  filter: invert(100%) hue-rotate(180deg);
}

html.dark img.no-invert {
  filter: none !important;
}

html.dark div#header {
  background-image: none;
  position: relative;
  z-index: 0;
  color: #fff;
}

html.dark div#header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(background.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1; /* 🔸背景を完全に後ろへ */
  filter: invert(100%) hue-rotate(180deg); /* 元の反転を打ち消す */
  pointer-events: none;
}

#toggle-theme {
  padding: 0 3px 2px 2px;
  font-size: 1.2rem;
}
#toggle-theme,
#toggle-theme i {
  color: #fff;
}
html.dark #toggle-theme,
html.dark #toggle-theme i {
  color: #fff;
}

.row {
  display: flex;
  flex-direction: row;
}
.row>* {
  min-width: 0;
}
.col {
  display: flex;
  flex-direction: column;
}
.col>* {
  max-width: 100%;    
}

pre, dl, ol, p, blockquote {
  line-height: 1.8;
  margin: 1rem 0;
}

blockquote {
  margin-left:32px;
}
body {
  color:black;
  background-color: #eee;
  font-size:100%;
  -webkit-text-size-adjust: 100%;
}
textarea {
  box-sizing:border-box;
  width:100% !important;
  padding: 0.2em;
  margin: 8px 0;
}

a:link {
	color: #03c;
	background-color: inherit;
  text-decoration: none;
}


a:visited {
	color: #03c;
	background-color:inherit;
}

a:hover {
	color: #F60;
  text-decoration: underline;
}
a.external-link:not(.external-link-silent)::after {
  content:url(../image/external-link.png);
  margin:3px;
}

h1,h2,h3,h4,h5,h6 {
  overflow: hidden;
}

h2,h3,h4,h5 {
  padding: 4px 0;
}

h1.title {
  font-size: 3.5rem;
  font-weight:bold;
  background-color:transparent;
  text-shadow: 3px 3px 10px #000, -3px -3px 10px #000;
  padding:12px 10px 16px;
  border:0;
  margin:0;
}

dl.list-indent1 {
  padding:0 !important;
  margin: 27px 0 15px 0;
}

dt {
	margin-left:0px;
	font-weight:bold;
	border-bottom: 1px dotted #696352;
	margin-bottom: 8px;
  padding: 2px 0 4px 0;
}


pre {
	padding: 10px 15px;
  margin: 8px 0 15px 0;
	white-space: pre-wrap;
	color: black;
	background-color: #fff2ff;
  overflow: hidden;
}


img {
  border:none;
  vertical-align:middle;
  max-width: 100%;
  height: auto;
  position: relative;
  top:-0.1em;
}

em {
  font-style:italic;
}

strong {
  font-weight:bold;
}

thead td.style_td,
tfoot td.style_td {
  color:#fff;
  background-color:#42484E;
  font-weight: bold;
  text-align: center;
  border: 1px solid #000;
}
thead th.style_th,
tfoot th.style_th {
  color:inherit;
  background-color:#E0E8F0;
  border: 1px solid #000;
}
.style_table {
  padding:0;
  border:0;
  text-align:left;
  color:inherit;
  background-color:#ccd5dd;
}
.style_th {
	padding: 8px 5px;
	margin:1px;
	text-align:left;
	color:inherit;
  background-color:#EEF5FF;
  border: 1px solid #ccc;
}
.style_td {
	padding: 8px 5px;
	margin: 1px;
	color: inherit;
  background-color: #EEF5FF;
  font-size: 1.2rem;
}
td.style_td:has(> img) {
  padding: 0 !important;
}
td.style_td:has(> a > img) {
  padding: 0 !important;
}

ul.list1 {
  list-style-type:disc;
  margin-left: 10px;
}
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:14px;
}
/* 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;
}

span.keybord {
	background: #EDEDED;
	border-radius: 2px;
	box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.5);
	color: #808080;
	font: bold 13px arial;
	text-align: center;
	display: inline-block;
  padding: 1px 3px;
  margin: 0 2px;
}

span.marker {
  background:linear-gradient(transparent 60%, #f99 60%);
}

/* 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:82%;
  letter-spacing: 0.05em;
}

/* edit */

.edit_form input[type="submit" i] {
  width: 110px;
  height: 30px;
	border:solid 1px #aaa;
	padding:3px 4px 4px 4px;
	margin:0 12px 8px 0;
	font-size:1.5rem;
	text-transform:uppercase;
	font-weight:bold;
	color:#333;
	cursor:pointer;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}


/* pukiwiki.skin.php */

/* sticky-header */
#sticky-header {
  width: 100%;
  position: fixed;
  top: -70px;
  left: 0;
  right: 0;
  background: #333;
  color: white;
  z-index: 1000;
  height: 48px;
  padding: 0 0.5em 0 1em;
  transition: top 0.3s ease;
}

#sticky-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 4px;
  flex-wrap: wrap;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

#sticky-header i {
  color: white;
}

#sticky-header .nav-links {
  display: flex;
  gap: 1em;
  flex-grow: 1;
  justify-content: center;
  flex-wrap: wrap;
}

#sticky-header .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#sticky-header .search_p form {
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
}

#sticky-header .search_p input[type="text"] {
  padding: 3px 6px;
  font-size: 1.3rem;
}

#sticky-header .search_p input[type="submit"] {
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  top: -2px;
}

/* ハンバーガー／✕ ボタン共通スタイル */
.hamburger{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hamburger i{
  font-size: 2.4rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.hamburger.active i {
  transform: rotate(90deg);
}

/* 検索ボックスと並べる親 */
.menu-right{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 検索を可変幅にして押し返されないように */
.menu-right .search_p{
  flex: 1 1 auto;
  min-width: 0;
}

/* 固定メニュー内ドロップダウン用 */
.dropdown-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  font-size: 1.2rem;
}

.dropdown-menu > li {
  position: relative;
}

.dropdown-menu > li > a {
  display: inline-block;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5em 1em;
}

.dropdown-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 140px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu li:hover ul {
  display: block;
}

.dropdown-menu li ul li {
  padding: 8px 12px;
  white-space: nowrap;
  background: #fff;
  list-style: none;
}

.dropdown-menu li ul li:hover {
  background-color: #f0f0f0;
}


/* header */
div#t_wrapper {
	background-color:#303030;
  min-width: 300px;
  height: 48px;
}

div#toolbar {
  align-items: center;
  max-width: 1000px;
  min-width: 300px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  position: relative;
}

div#logo {
	flex-grow: 1;
	padding:4px 8px 0px 10px;
}

.drop {
  list-style-type: none;
  width: auto;
  margin: 0;
  padding: 0 8px;
}
.drop:before, .drop:after {
  content: "";
  display: table;
}
.drop:after {
  clear: both;
}
.drop li {
  position: relative;
  width: 100px;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
}
.drop li a {
  display: block;
  margin: 0;
  padding: 10px 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}

div#toolbar li.menu__single {
  padding: 1px 0;
}

div#toolbar li.menu__single:after, li.smtp:after {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  width: 1px;
  height: 50%;
  background-color: #aaa;
}

div#toolbar li.menu__single:before, li.smtp:before {
  content: "";
  position: absolute;
  left: 100px;
  top: 25%;
  width: 1px;
  height: 50%;
  background-color: #aaa;
}

div#toolbar a.adrop:after {
  font-size: 1.2rem;
  padding-left: 2px;
  content: "▼";
}

.drop li ul{
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
}
.drop li ul li a {
  padding: 10px 13px;
  border-top: 1px solid #ccc;
  color: #222;
  background: #fff;
  text-align: center;
}

.drop li ul li a:hover {
  background: #eee;
}

.drop li a:hover {
  background: #777;
}

#navi li ul {
  display: none;
}

#navi li:hover ul {
  display: block;
}

#navi p {
  color: #fff;
  margin: 0;
  padding: 7px 0;
}

div#h_wrapper {
  min-width: 300px;
}

div#header {
  overflow: hidden;
  color: #fff;
  background-color: #42484E;
  background-image: url(background.jpg);
  clear: both;
  align-items: center;
  max-width: 1000px;
  min-width: 300px;
  height: auto;
  min-height: 250px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
div#header h1.title a {
  color: #fff;    
  text-decoration: none;
}
.header-image {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  border: 1px solid #666;
  border-radius: 10px;
  margin-right: 10px;
}
div#wrapper {
  display:flex;
  justify-content: center;
  max-width:1000px;
  min-width:300px;
  width: 96%;
  flex-flow:row nowrap;
  word-break:break-all;
  overflow-wrap:break-word;
  margin: 8px auto;
  font-size: 1.5rem;
}

div#menubar {
  width: 253px;
  max-width: 100%;
  padding:20px 12px;
  margin:0;
  order:1;
  flex-grow:0;
  color: #000;
  background-color: #fcfcfc;
  font-size: 85%;
}
div#menubar ul {
  margin: 4px 0;
}
div#menubar ul li {
  line-height:1.5;
  list-style: none;
  margin: 4px 0 6px 0;
  padding-left: 16px;
  background: url(/../../files/li.png) no-repeat 0 4px;
}

div#menubar .list-indent1 {
  padding-left:0;
}
div#menubar p {
  padding: 0;
}

div#menubar h2 {
  color: #fff;
  font-weight: bold;
  padding: 8px 6px;
  margin: 12px 0;
  background: #42484E;
  position: relative;
  font-size: 1.6rem;
}
div#menubar h3 {
  color: #000;
  background-color: #eee;
  line-height: 1;
  margin: 12px 0;
  padding: 10px 0 10px 6px;
  font-size: 1.5rem;
}
div#menubar h4 {
  font-weight: bold;
  padding: 0.2em;
  margin: 0.4em 0;
  color: #494949;
  background: transparent;
  border-left: solid 5px #134d86;
}
div#menubar h5 {
  font-weight: bold;
  color: inherit;
  background-color: #d2e6f9;
  padding: 0.3em 0.5em;
  border: 0px;
  margin: 12px 0;
}
div#menubar strong {
  font-size: 1.5rem;
}
div#menubar .plugin-ac-header {
  left: 0;
}
div#menubar i {
  color: #000;
}

#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:20px;
  margin:0;
  max-width:747px;
  min-width:300px;
  width:100%;
  order:2;
  flex-grow:1;
  border-left: 1px solid #eee;
  background-color: #fcfcfc;
}

div#body ul,ol {
  margin-left:12px;
  margin-bottom:6px;
}

div#body li {
  line-height: 1.8;
}

div#body h2 {
  font-weight: bold;
  font-size: 2rem;
  position: relative;
  background: #eff7ff;
  border-bottom: 2px solid #7fbfff;
  border-top: 2px solid #7fbfff;
  margin: 1.5em 0 1em 0;
  padding: 1.6rem 0.8rem;
}

div#body h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 2em 0 1em 0;
  padding: 0.6em 0.8em;
  background-color: #f4faff;
  border-left: 5px solid #aed9f6;
  border-bottom: none;
  line-height: 1.5;
}

div#body h4 {
  position: relative;
  padding-left: 18px;
  margin: 27px 0px 8px 0px;
  border-bottom: 1px solid #134d86;
  font-size: 1.6rem;
  line-height: 30px;
}

div#body h4:before {
  position: absolute;
  top: 18px;
  left: 0px;
  width: 12px;
  height: 12px;
  background: #555;
  content: "";
}

div#body h5 {
  font-weight: bold;
  font-size: 1.5rem;
}

div#body ul.recent_list {
  padding-left: 16px;
}
div#body ul.popular_list {
  padding-left: 16px;
}

div.header_body {
  overflow: hidden;
  position: relative;
	color: #fff;
	background-color: #303030;
	clear: both;
  margin-bottom: 30px;
}

h1.body {
  font-size: 2.4rem;
  background: #42484E;
  padding: 16px 12px;
}

div#note {
  clear:both;
  padding:0;
  margin:0;
  word-break:break-all;
}
div#attach {
  clear:both;
  padding:0;
  margin:0;
}
div.lastmodified {
  position: absolute;
	font-size: 1.1rem;
	text-align: right;
  right: 6px;
  bottom: 4px;
}

div#related {
  font-size:80%;
  padding:0;
  margin:16px 0 0 0;
}
div#related .page_passage {
  font-size:60%;
}
div#f_wrapper {
	background-color:#333;
  padding: 0 16px;
  min-width: 300px;
  padding-bottom: 90px;
}

div#f_wrapper a {
  color: aliceblue;
}

div#footer_link {
	color: #fff;
	background-color: #333;
  max-width: 1000px;
  min-width: 300px;
  height: 100%;
	padding: 16px 0 16px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 300px) minmax(0, 300px);
  grid-template-rows: auto;
  grid-template-areas:
    "name name about"
    "game1 game2 about2"
    "game1 game2 info";
  gap: 8px;
}

div.f_link {
  font-size: 1.6rem;
}

span.f_link {
  font-family: "Bebas Neue",sans-serif;
  padding-left: 5px;
}

ul.f_link {
  list-style: none;
  font-size: 1.2rem;
  line-height: 1.6em;
}
ul.f_link > li {
  padding: 2px 0;
}

#name {
  grid-area: name;
}
#game1 {
  grid-area: game1;
}
#game2 {
  grid-area: game2;
}
#game3 {
  grid-area: game3;
}

div#footer {
  font-size: 1.2rem;
	color: #fff;
	background-color: #333;
  max-width: 1000px;
  min-width: 300px;
  height: 100%;
	padding: 0 0 12px;
  margin: 0 auto;
}
div#banner {
  float:right;
  margin-top:24px;
}
div#preview {
  color:inherit;
  background-color:#F5F8FF;
}
img#logo {
  float:left;
  margin-right:20px;
}



/* checkbox */
input.chk {
  position: relative;
  top: 2px;
  margin: 0 3px 0 0;
}

label {
  display: inline-block;
}

.flexbox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 24px 0;
}
.waku {
  border: 1px solid;
  margin: 1px;
  width: 174px;
  padding: 2px 0 3px 4px;
  font-size: 1.1rem;
}
.goukei {
  font-size: 2.4rem;
}


/* ads */
div.adsense2 {
	margin: 8px auto;
  overflow: hidden;
  text-align: center;
  max-width: 1000px;
  min-height: 90px;
}

.sticky-ads{ 
  position: fixed; 
  bottom: 0; left: 0; 
  width: 100%;
  min-height: 90px;
  max-height: 200px; 
  padding: 0; 
  box-shadow: 0 -6px 18px 0 rgba(9,32,76,.1); 
  -webkit-transition: all .1s ease-in; transition: all .1s ease-in; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background-color: #fefefe; z-index: 20;
}   
.sticky-ads-close { 
  width: 30px; height: 30px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 12px 0 0; 
  position: absolute; right: 0; top: -30px; 
  background-color: #fefefe; 
  box-shadow: 0 -6px 18px 0 rgba(9,32,76,.08);
} 
.sticky-ads .sticky-ads-close svg { 
  width: 22px; height: 22px; fill: #000;
}
.sticky-ads .sticky-ads-content {
  overflow: hidden; display: block; position: relative; height: 90px; width: 100%; background: #eee;
}

/* menu down */
#menu-down {
  position: fixed;
  z-index: 1;
  bottom: 212px;
  right: 2%;
}
#menu-down a {
  font-size: 2rem;
  background: rgba(102,102,102,0.8);
  text-decoration: none;
  color: #fff;
  width: 40px;
  height: 40px;
  padding: 0;
  text-align: center;
	vertical-align: middle;
	display: none;
  border-radius: 5px;
}
#menu-down a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0c9';      
}
#menu-down a:hover {
  text-decoration: none;
  background: #999;
}

/* back to top */
#page-top {
  position: fixed;
  z-index: 1;
  bottom: 155px;
  right: 2%;
  font-size: 150%;
}
#page-top a {
  background: rgba(102,102,102,0.8);
  text-decoration: none;
  color: #fff;
  width: 40px;
  text-align: center;
  display: block;
  border-radius: 5px;
}
#page-top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';      
}
    
#page-top a:hover {
  text-decoration: none;
  background: #999;
}

/* scroll down */
#page-btm {
  position: fixed;
  z-index: 1;
  bottom: 110px;
  right: 2%;
  font-size: 150%;
}
#page-btm a {
  background: rgba(102,102,102,0.8);
  text-decoration: none;
  color: #fff;
  width: 40px;
  text-align: center;
  display: block;
  border-radius: 5px;
}

#page-btm a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f4ad';      
}
#page-btm a:hover {
  text-decoration: none;
  background: #999;
}

div#btm {
scroll-margin-top: 300px; /* スクロール時に上に300pxずらす */
}

/* タブメニュー */
div#tab_wrapper {
  min-width: 300px;
}

.dropmenu{
  clear: both;
	list-style-type: none;
	max-width: 1000px;
  min-width: 300px;
	margin: 0 auto;
	padding: 0;
	background: #fcfcfc;
}
.dropmenu:before, .dropmenu:after{
	content: "";
	display: table;
}
.dropmenu:after{
	clear: both;
}

.dropmenu ul {
  display: flex;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
}

.dropmenu li {
	list-style: none;
	max-width: 127px;
  min-width: 20px;
  width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
  border-right: 1px solid #ccc;
}

.dropmenu li+li {
	border-left: 0;
	border-right: 1px solid #ccc;
}

.dropmenu li a {
	display: block;
	margin: 0;
	padding: 15px 0 11px;
	background: #fcfcfc;
	color: #000;
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
}

.dropmenu li a:hover {
	background: #ccc;
}

/* copyright */
#copyright p {
  font-size: 1.2rem;
  margin: 0;
}


/* 検索フォーム */
div.search_p p {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}

div.search_p form {
  position: relative;
  box-sizing: border-box;
  border: 2px solid #3879D9;
  display: block;
  padding: 5px 2px;
  border-radius: 3px;
  overflow: hidden;
}
div.search_p form input[type="text"]{
  border: none;
}
div.search_p form input[type="text"]:focus {
  outline: 0;
}

div.search_p input[type="submit"] {
  cursor: pointer;
  border: none;
  background: #3879D9;
  color: #fff;
  position: absolute;
  width: 3.5em;
  height: 2.8em;
  right:0px;
  top: -5px;
  outline : none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

input.button1 {
  font-weight: bold;
  padding: 0;
  background-color: #248;
  color: #fff;
  border-style: none;
}

/* sticky */
.sticky{
  position: -webkit-sticky;
  position: sticky;
  margin-top: 30px;
  top: 10px;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  text-align: center;
}

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

/* 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:100%;
  border-style:dashed;
  border-color:#aaa;
  border-width:1px 0;
  margin: 16px 0 16px 0;
}
hr.hr_btm {
  margin: 30px 0 14px 0;
}
table hr.short_line {
  margin: 0px;
}

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

/* navi.inc.php */
ul.navi {
	margin:0px;
	padding:0px;
	text-align:center;
}
li.navi_none {
	display:inline;
	float:none;
}
li.navi_left {
	display:inline;
	float:left;
	text-align:left;
}
li.navi_right {
	display:inline;
	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%;
}
hr.pcmt {
	margin: 12px 0px;
	height: 1px;
	border: none;
	background-color: #555;
}
div#input {
	padding: 1.5em 1.5em 0 1.5em;
  margin: 0 0 16px;
	background-color: #fbfbfb;
	border: solid 1px #ddd;
}
input.check {
	vertical-align:-0.1em;
}
input.btn:disabled {
  width: 135px;
  height: 33px;
	border:solid 1px #ccc;
	padding:3px 4px 3px 4px;
	margin:0 0 8px;
	font-size:1.5rem;
	text-transform:uppercase;
	font-weight:bold;
	color:#999;
	cursor:pointer;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
input.btn:enabled {
  width: 135px;
  height: 33px;
	border:solid 1px #ccc;
	padding:3px 4px 3px 4px;
	margin:0 0 8px;
	font-size:1.5rem;
	text-transform:uppercase;
	font-weight:bold;
	color:#333;
	cursor:pointer;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.pcmt p {
  padding-right: 0 !important;
}
#post {
  text-align: right;
}
form.pcmt > ul.list1 {
  margin: 0px !important;
}
form.pcmt .list-indent1 {
  padding: 0px;
}

form.pcmt > ul.list1 > li {
  border-top: 1px solid #aaa;
  padding-left: 8px;
  margin-bottom: 0px;
  list-style: none;
}

form.pcmt > ul.list-indent1 {
  padding: 0px;
}

form.pcmt > p {
  padding-left: 24px !important;
}

form.pcmt li {
  list-style: none;
  padding: 4px 0 0 0;
  border-top: 1px dotted #aaa;
}

li.pcmt > ul.list3 {
  margin-left: 12px !important;
}

ul.list1 > li.pcmt {
	padding: 4px 8px 0px 8px;
  margin-bottom: 0px;
  border-top: 1px solid #aaa;
  border-bottom: 0px;
  list-style: none;
}

ul.list2 > li.pcmt {
  padding: 4px 0 0 0;
  list-style: none;
  border-top: 1px dotted #aaa;
}

.comment-error {
  color: red;
  font-weight: bold;
  margin-top: 0.5em;
  font-size: 1.2rem;
}

div#block-control-panel {
  font-size: 1.3rem;
}

ul#blocked-id-list {
  font-size: 1.1rem;
}


/* 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: 0;
}

/* vote.inc.php */
td.vote_label {
  color:inherit;
  background-color:#bcd;
  padding: 4px;
}
td.vote_td1 {
  color:inherit;
  background-color:#eee;
  padding: 4px;
}
td.vote_td2 {
  color:inherit;
  background-color:#ddd;
  padding: 4px;
}

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

.topicpath {
  font-size: 1.2rem;
  color: #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw; /* 長すぎるのを防止 */
}
.topicpath a {
  color: #fff;
}

/* 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;
}

/* contentsx */
table.toc {
	background-color: #fbfbfb;
	padding: 8px;
	margin-top: 14px;
	border: solid 1px #ddd;
	font-size: 1.2rem;
  width: -webkit-fill-available;
}
td.toctitle {
  font-weight: bold;
}
div#body .toc ul, .toc ol {
  margin: 0 0 0 21px;
}


/* divboxデザイン */
.box-common {
  padding: 16px;
  margin: 10px 0;
  display: table;
  width: 100%;
}

div.box {
	border:#ddd 1px solid;
	background-color:#fbfbfb;
}
div.box > p { margin: 0; }

div.box-blue {
	border:#68c 1px solid;
	background-color:#fbfbfb;
}
div.box-blue > p { margin: 0; }

div.box-red {
	border:#ff4500 1px solid;
	background-color:#ffffff;
}
div.box-red > p { margin: 0; }

div.box-green {
	border:#95c4ab 1px solid;
	background-color:#ecfff5;
}
div.box-green > p { margin: 0; }

div.box-gray {
	border:#a9a9a9 1px solid;
	background-color:#ffffff;
}
div.box-gray > p { margin: 0; }

div.box-blue2 { background-color:#eaedff; }
div.box-blue2 > p { margin: 0; }
div.box-red2 { background-color:#ffefef; }
div.box-red2 > p { margin: 0; }
div.box-gray2 { background-color:#f5f5f5; }
div.box-gray2 > p { margin: 0; }


/* div grid */
.grid3 table.style_table {
	table-layout: fixed;
	background-color: #fff;
  font-size: 1rem;
}

.grid3 table.style_table tbody tr {
	background-color: #777;
}

.grid3 td.style_td {
	padding: 0px;
	width: 15px;
	height: 15px;
  text-align: center;
  border: 1px dotted #ccc;
  background-repeat: no-repeat !important;
  font-size: unset;
}

.grid3 td.style_td em {
  text-shadow:
    0px  1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    1px  1px 0 #fff,
    -1px  0px 0 #fff;
  font-weight: normal;
}

/* label */
div.label-green {
  border-left: 7px solid #498F1E;
  background-color: #EFFBE8;
  padding: 6px;
  margin: 16px 0;
  color: #203F0D;
  font-size: 1.3rem;
}
div.label-green > p {
  margin: 0;
}

div.label-blue {
  border-left: 7px solid #045BB8;
  background-color: #EEF6FF;
  padding: 6px;
  margin: 16px 0;
  color: #022953;
  font-size: 1.3rem;
}
div.label-blue > p {
  margin: 0;
}

div.label-gray {
  border-left: 7px solid #666;
  background-color: #efefef;
  padding: 6px;
  margin: 16px 0;
  color: #111;
  font-size: 1.3rem;
}
div.label-gray > p {
  margin: 0;
}

/* box フローチャート */
.box-flow {
  counter-reset: num;
  border-left: 4px solid #ccc;
  margin: 0 0 0 0.8rem;
}
.box-flow > ol {
  list-style: none !important;
  padding: 0;
  margin: 2.4rem 0 0 -1.3rem;
  position: relative;
  top: -1.2rem;
}
.box-flow > ol > li {
  counter-increment: num;
  position: relative;
  line-height: 1.8;
  padding: 0.7rem 0 0 2.6rem;
}
.box-flow > ol > li::before {
  content: counter(num);
  position: absolute;
  display: inline-block;
  background: #555;
  color: #FFF;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  top: 10px;
  box-shadow: 0 0 0 4px;
}
.box-flow > ul {
  list-style: disc;
  margin-left: 24px !important;
  margin-top: -14px;
}

.box-flow hr {
  width: 100%;
  border-style: dashed;
  border-color: #aaa;
  position: relative;
  margin: 2.4rem 0;
}
.box-noborder {
  margin: 0.4rem 0;
  display: table;
  width: -webkit-fill-available;
}
.box-flow .plugin-ac-header {
  top: 4px;
  left: 5px;
}
.box-flow .plugin-ac {
  margin-left: 1rem;
}
.box-flow .list_box ul li::before {
  content: none !important;
}

/* リストデザイン */
/* list_box */
div.list_box {
  margin-top: 1.5rem;
}

div.list_box ul {
  margin: 0px !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.3rem;
  list-style: none;
}

div.list_box ul li {
  border-bottom: 1px dashed #ccc;
  padding: 4px 0px;
}

div.list_box ul li:last-of-type {
  border-bottom: none;/*最後のliの線だけ消す*/
}

div.list_box .list-indent1 {
  padding: 2px 6px;
}


/* tablesorter */
table.style_table {
	font-family:arial;
	margin: 4px 0px 8px;
	text-align: left;
	font-size:1.2rem;
  border-collapse: collapse;
}

table.style_table thead th,
table.style_table thead td {
  position: -webkit-sticky;
  position: sticky;
  top: 48px;
  z-index: 2;
}

table.style_table thead td::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: -1px;
  left: -1px;
  box-sizing: content-box;
}

table.style_table thead tr th, table.tablesorter tfoot tr th {
	color: #fff;
	background-color: #42484E;
	padding: 4px;
}

table.style_table thead tr .header {
	background-image: url("../image/bg.png");
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.style_table tbody tr{
	background-color: #FFF;
}

table.style_table tbody td {
	color: #222;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
}

div#body table.style_table tbody tr:nth-child(odd) td {
  background: #fff;
}

table.style_table tbody tr.odd td {
	background-color:#F0F0F6;
}
table.style_table thead tr .headerSortUp {
	background-image: url("../../files/asc.png");
	background-color: #061a2d;
}
table.style_table thead tr .headerSortDown {
	background-image: url("../../files/desc.png");
	background-color: #061a2d;
}


/* filter table */
.filter-table {
	background-color: #f7f5ff;
	border: 1px solid #aaa;
	text-align: left;
	font-size: 80%;
	padding: 12px 14px 10px !important;
  margin: 0;
}

.quick {
	margin-left: 8px;
}

/* tableデザイン */
/* borderbtm */
.table_borderbtm table.style_table {
  border-collapse: collapse;
}
.table_borderbtm table.style_table th {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #ccc;
}
.table_borderbtm table.style_table td {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #ccc;
}

/* elw */
.elw table.style_table {
  margin: 0;
}
.elw table.style_table tbody td {
  padding: 0 4px;
}
.elw .style_td {
  padding: 0;
}

/* table_type */
.table_type table.style_table {
	table-layout: fixed;
	background-color: #ccc;
}

.table_type thead td.style_td {
	background: #333;
}

.table_type th.style_th{
  background: #eee;
  text-align: center;
}

.table_type .style_th {
  padding: 0 4px;
}

.table_type td.style_td {
  text-align: left;
  background-color: #f9f9f9;
  padding: 0 4px;
}

/* table_2line */
.table_2line table.style_table {
  font-size: 1.2rem;
  line-height: inherit !important;
}

.table_2line tbody td {
	color: #333;
  background-color: #f9f9f9;
  padding: 0px 3px;
  height: 43px;
}

/* table_3line */
.table_3line table.style_table {
  font-size: 1.2rem;
  line-height: inherit !important;
}

.table_3line tbody td {
	color: #333;
  background-color: #f9f9f9;
  padding: 0px 3px;
  height: 60px;
}

/* tablemenu */
.tablemenu table.style_table {
  background-color: #fcfcfc;
}

.tablemenu td.style_td {
  border: 0px;
  padding: 0px;
  background-color: #fcfcfc !important;
}

.tablemenu a {
  font-weight: 700;
}
.tablemenu a:link {
  font-weight: bold;
}

/* table_min */
.table_min table.style_table {
  font-size:1.2rem;
}

.table_min .style_td {
  padding: 2px;
}

.table_min .style_th {
  padding: 2px;
}

/* table_data */
.table_data {
  margin: 0;
}
.table_data table.style_table {
	table-layout: fixed;
  font-size: 1.2rem;
}
.table_data th.style_th {
  padding: 2px 1px;
}
.table_data td.style_td {
	padding: 2px 1px;
  text-align: center;
}


/* table_box */
.table_box .style_table {
  background-color: inherit;
  border: 1px solid #fff;
  font-weight: bold;
}

.table_box thead td.style_td,tfoot td.style_td {
  color: #fff;
  background-color: #303030;
  text-align: center;
  border: 0px;
}

.table_box .style_th {
  padding: 8px 5px;
  margin: 1px;
  color: inherit;
  line-height: 1.5;
  background-color: #efefef;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 0px;
  border-top: 0px;
  font-weight: normal;
}

.table_box table.style_table tbody td {
  color: #222;
  background-color: #efefef;
  padding: 8px 5px;
  border-bottom: 1px solid #fff;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  font-weight: bold;
}

/* ac.inc.php */
.plugin-ac-header {
  position: relative;
  padding-left: calc(1em + 5px) !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  margin: 12px 0;
  margin-left: -6px;
}
.plugin-ac-header:hover {
  filter: brightness(1.2);
}
.plugin-ac-header .ac-icon {
  font-style: normal;
}
.plugin-ac-header .ac-icon::before, .plugin-ac-header .ac-icon::after {
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}
.plugin-ac-header .ac-icon::before {
  opacity: 1;
  content: "\f0fe";
}
.plugin-ac-header .ac-icon::after {
  opacity: 0;
  content: "\f146";
}
.plugin-ac-header.open .ac-icon::before {
  opacity: 0;
}
.plugin-ac-header.open .ac-icon::after {
  opacity: 1;
}
.plugin-ac-header.open + .plugin-ac + .plugin-ac-altmsg {
  opacity: 0;
}
.plugin-ac {
  overflow: hidden;
  border-left: 1px ridge silver;
  padding: 4px 10px 0;
}
.plugin-ac-altmsg {
  opacity: 1;
}
.plugin-ac-ctrl {
  font-weight: bold;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
}
.plugin-ac-ctrl span {
  pointer-events: none;
}

/* flex.inc.php */
.plugin-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 8px;
  justify-content: center;
  max-width: 100%;
}

.flex-box {
  max-width: 100%;
}

.flex-box > * {
  margin: 0;
}

.flex-nogap {
  gap: 0;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-border > .flex-box {
  border: 1px solid rgb(40 40 40 / 60%);
  border-radius: 3px;
}

/* infobox.inc.php */
.infobox {
  float: right;
  margin-left: 10px;
}

.infobox table.style_table {
  background-color: unset;
  margin: 0;
}

.infobox thead td.style_td {
  padding: 6px;
  border: 0;
}

.infobox th.style_th {
  padding: 2px 4px 4px 4px;
  border: 0;
}

.infobox table.style_table tbody td {
  padding: 2px 4px 4px 4px;
  border: 0;
}

/* step.inc.php */
.plugin-step {
  --main-color: #5c5c5c;
  --light-color: #8f8f8f;
  --lighter-color: #c2c2c2;
  --bg-color: #ffffff;
  position: relative;
  margin: 16px 8px;
  padding: 0 8px 0 18px;
  border-left: 4px solid var(--lighter-color);
}
.plugin-step::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: -8px;
  border: 6px solid var(--lighter-color);
  border-radius: 100%;
}

.step-flow {
  list-style: none;
}
.step-flow:not(:last-of-type) {
  border-bottom: 2px dotted var(--light-color);
  margin: 20px 0;
}

.step-marker[data-marker-style] {
  content: "";
  display: block;
  position: absolute;
  left: -26px;
  top: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--main-color);
  border-radius: 100%;
  box-shadow: 0 0 0 4px var(--bg-color);
}
.step-marker[data-marker-style=border] {
  background-color: var(--bg-color);
}
.step-marker[data-marker-style=double] {
  background-color: var(--main-color);
  box-shadow: 0 0 0 4px var(--bg-color), inset 0 0 0 3px var(--bg-color);
}
.step-marker[data-marker-style=solid] {
  background-color: var(--main-color);
}

.step-label {
  position: relative;
  font-weight: bold;
  color: var(--light-color);
}
.step-label .step-label-num {
  padding-left: 4px;
}

.step-title {
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0 0 8px;
}

.step-label-str, .step-label-num {
  position: relative;
  top: -6px;
}

/* tab.inc.php */
.plugin-tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0px;
}

.tab-label {
  font-weight: bold;
  min-width: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(98, 98, 98, 0.3);
  border-bottom-color: rgba(98, 98, 98, 1);
  border-radius: 4px 4px 0 0;
  padding: 0.5rem;
  order: -1;
  flex: 1;
  text-align: center;
  font-size: 1.3rem;
}

.tab-content {
  width: 100%;
  display: none;
}

.tab-switch {
  display: none;
}
.tab-switch:checked + .tab-label {
  background: #efefef;
  border: 1px solid #aaa;
  border-bottom: none;
}
.tab-switch:checked + .tab-label + .tab-content {
  display: block;
  border: 0px solid #aaa;
  border-top: none;
  margin: 0;
}
.tab-min .tab-switch:checked + .tab-label + .tab-content {
  border: none !important;
  padding: 2px 0 !important;
}


/* tooltip.inc.php */
/* ツールチップの対象に下線を引く*/
.plugin-tooltip {
  border-bottom: 1px dashed gray;
}
/* ツールチップ内のリンクに下線を引く (noteプラグインと共通) */
[data-tippy-root] a {
  text-decoration: underline whitesmoke solid 1px;
}
/* ツールチップ内のリンク色を通常の文章と同じにする (noteプラグインと共通) */
[data-tippy-root] a:link, [data-tippy-root] a:visited {
  color: #fff;
}

/* divregion.inc.php */
div.divregion {
  padding: 0;
  margin-left: 10px;
  position: relative;
}

div.divregion_contents {
  overflow: hidden;
  border-left: 1px solid #ccc;
  margin: 0 0 6px 6px;
  padding: 0 0 0 7px;
}

div.divregion_h1 {
	color:white;
	background-color:#666e99;
	padding:1px 4px;
}
div.divregion_h2 {
	border-bottom: solid 1px #666e99;
	border-left: solid 10px #666e99;
}

/* secedit.inc.php */
.secedit {
  font-size: 1.2rem;
  font-weight: normal;
}

/* tag.inc.php */
span.tag > a {
  color: #87cefa;
  background-color: #444;
  border: 1px solid #444;
  border-radius: 7px;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 2px 4px 4px;
}

span.tag > .fas {
  vertical-align: middle;
}

/* bgc.inc.php */
.bgc {
  padding: 2px 8px 3px;
  margin: 0 4px 0 0;
  border-radius: 2px;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  line-height: normal;
}

/* fa.inc.php */
ul.fa-ul {
  list-style-type: none;
  padding-left: 14px !important;
}


/* checklist.inc.php */
.checklist ul {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
  gap: 4px;
}

.checklist li {
  flex: 0 0 auto;
  width: 170px; /* 固定幅（必要に応じて調整） */
  border: 1px solid #666;
  padding: 4px 6px;
  box-sizing: border-box;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 1.2rem;
}

.checklist input[type="checkbox"] {
  margin-right: 6px;
}

/* scorevote */
.scorevote {
  border: 1px solid #ccc;
  padding: 6px 12px 24px 12px;
  margin: 8px 0;
  box-sizing: border-box;
  max-width: 100%;
}

/* スコア表示 */
.score-average {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin: 0.5em 0;
  padding-left: 6em;
}

.score-main {
  font-size: 2.4rem;
  font-weight: bold;
  color: #222;
  line-height: 1.2;
}

.score-sub {
  font-size: 1.3rem;
  color: #555;
}

/* スライダーと出力 */
.scorevote input[type="range"] {
  width: 256px;
  margin-top: 2px;
  vertical-align: middle;
}

.scorevote output {
  margin-left: 8px;
  font-size: 1.2rem;
}

/* ボタン */
.scorevote input[type="submit"] {
  width: 256px;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 1.3rem;
  cursor: pointer;
  border: 1px solid #ccc;
}


/* 初期状態は非表示＋画面外に配置 */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  color: #000;
  padding: 1em;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 表示切り替え時のスタイル（トグルクラス） */
#mobile-menu.open {
  display: block;
}

/* ハンバーガーボタン */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger i {
  transition: transform 0.3s ease;
}
.hamburger.rotated i {
  transform: rotate(180deg);
}
.icon-unified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  vertical-align: middle;
}
.icon-unified.fa-home {
  font-size: 2rem;
}


/* leaflet */
#map {
  width: 100%;
  height: 600px;
  border: 1px solid #444;
}

/* PC-only layout */
@media screen and (min-width: 769px) {
  #menu-toggle,
  #mobile-menu {
    display: none !important;
  }
}


/* Mobile-friendly Responsive layout */
@media (max-width:768px) {
.mobile-only {
  display: block;
}
.topicpath {
  display: none;
}
#sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;          /* メニューより前面 */
}

/* サイドメニュー */
#menubar {
  display: none;
  position: fixed;
  top: 48px; /* sticky-headerの高さ分ずらす */
  left: 0;
  width: 100% !important; /* ← OK、ただしz-index調整が前提 */
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  background: #fff;
  z-index: 9999;
}

#menubar.show {
  display: block;
}
#menubar .search_p {
  display: none !important;
}

div#wrapper {
  width: 100%;
}
div#body {
  padding: 4px 4px 4px 3px;
}
div.adsense2 {
  min-height: 300px;
}
div#menubar .style_td {
  font-size: 1.5rem;
}
.scroll>.ie5>.style_table {
	width: 100%;
	min-width: 700px;
  }
.scroll>.ie5 {
  width: 100%;
  margin: 0 auto;
  overflow-x: scroll;
  position: relative;
  }
table.style_table thead th,
table.style_table thead td {
  top: 0; /* スマホ時にsticky解除相当 */
}

.block th.style_th {
  display: block;
  width: 100% !important;
  }
.block td.style_td {
  display: block;
  width: 100% !important;
  }
.block style_table img {
  width: 100% !important;
  }
div#wrapper {
  max-width: 747px;
  margin: auto;
  flex-flow:column wrap;
  }
div#rightbar {
  width:auto;
  max-width:none;
  font-size:100%;
  order:3;
  }
._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%;
  }
#menu-down a {
  display: table-cell;
  }    
.infobox {
  float: none;
  margin: 0;
  }
.infobox .style_table {
  width: 100%;
  }
.infobox:not(.nozoom) img {
  width: 100%;
  }
div.f_link {
  font-size: 1.5rem;      
  }
#map {
    width: 100%;
    height: 400px;
    border: 1px solid #444;
  }
}

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