/*こんにちは！ここはCSS記述場所ですよ…どうしてここを見ているのですかね？私掠団の方ですか？アントニオス財団呼びますよ。
ま、ページデザインを丸ごとコピーさえしなければ、参考にしていだたいて構いませんよ。一応少なからずまとめているので。
かく言う私も、もともとhtmlやcssを勉強するために作ったページですので、オリジナルではないのですよね…
ところで、ST教に興味はございませんか？*/
p {
  color:#eee;
}

blockquote, dl, ol, p, pre, ul {
    margin-bottom: 0.7em;
    margin-top: 0.7em;
}

#right_menu, #wiki_menu, body>div.uk-container.uk-container-center>div.uk-grid>div[class*=uk-width-].main_content{
  background-color: #3c3c3c;
  color: #ffffff;
  border-top-left-radius:0px;
  border-top-right-radius:0px;
  background-color: #3c3c3c;
}

/*---ナビバーを変更する---*/
.uk-navbar {
    background-color: #3F51B5;
    box-shadow: 1px 1.5px 4px #595959;
}

/*---ページの幅を調整する---*/
/* 3カラム+マージン*/
body>div.uk-container.uk-container-center{
width: 1160px; 
}
/* 左カラムの幅 */
body>div.uk-container.uk-container-center>div.uk-grid>div[class*=uk-width-].sidebar.left_side {
width: 200px;
}
/* メインカラムの幅*/
body>div.uk-container.uk-container-center>div.uk-grid>div[class*=uk-width-].sidebar.left_side+.main_content {
width: 740px;
}
/* 右カラムの幅 */
body>div.uk-container.uk-container-center>div.uk-grid>div[class*=uk-width-].sidebar.right_side {
width: 200px;
}


/*ー－－文字が打ち込まれていくエフェクトー－－*/
.typing {
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-effect {
  width: 33ch;/*長さを変えないと上手く表示されないよ*/
  animation: typing 2s steps(28), effect .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 2em;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes effect {
  50% {
    border-color: transparent
  }
}

/*---特殊な見出しの背景*---*/
#content_header_main_content_h1:first-letter{
  font-size:120%;
}
#content_header_main_content_h1 {
    font-family: serif;
    font-size: 22px;
    background-image: linear-gradient(to left, #ff9988 0, #E91E63 50%);
    background-color: #0F6399;
    color: #fff;
    margin-top: 15px;
    padding: 10px 15px 4px;
}

.cmt p::before {
	content: 
}

/*ー－－表のデザインー－－*/
#wiki_menu table,.fixed-table table {
    table-layout: fixed;
}

table.equal_width {
    table-layout: fixed;
}

#wiki_menu td a { 
  display: block; margin: -5px; padding: 5px; color: yellow; height: 100%; 
}

#wiki_menu td a:hover {
  background-color: gray;
  color: white;
  text-decoration: none;
  box-shadow: 1px 0 3px 0 #000;
}

.uk-table tablesorter tablesorter-default tablesortercfa788328fee5 {
  display: flex;
  width: 380px;
  height: 240px;
  overflow-x: scroll;
}
 

/*
.data-table-system{
  border-collapse: collapse;
}

.data-table-system table tr{
  border-bottom: solid 2px black;
}

.data-table-system table tr:last-child{
  border-bottom: none;
}

.data-table-system table th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: blue;
  color: blue;
  text-align: center;
  padding: 10px 0;
}

.data-table-system table th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid blue;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.data-table-system table td{
  text-align: left;
  width: 70%;
  text-align: center;
  background-color: green;
  padding: 10px 0;
}
table.uk-table th, table.uk-table td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left-width: 0;
    border-top-width: 0;
}
table.uk-table thead th {
  
    border-right: none;
    border-bottom: 2px solid #4cceff;
    padding: 7px;
}*/

.uk-table th, .uk-table td {
  padding: 5px;
}

/*ー－－折り畳みー－－*/
span.region_close, span.region_open {
    display: block;
    position: relative;
    background: rgb(88 88 88);
    border-radius: 3px;
    box-shadow: 0 0 0 1px #ddd;
    padding: 3px 10px;
    margin: 5px 5px;
}

span.region_close, span.region_open {
    cursor: pointer;
}

span.region_close, span.region_open:hover {
  background: #474545;
}

span.region_open:not(body.cke_editable div.region_area span.region_close.uk-hidden):after {

}

span.region_close:not(body.cke_editable div.region_area span.region_close.uk-hidden):after {
  
}

/*ー－－左右配置ー－－*/
.complexBox {
   display: flex;   /* 中身をflexboxとして配置する */
   margin: 5px 0;   /* 外側の余白量(上下に5px・左右にゼロ) */
}
.complexBox:nth-child(2n+1) { flex-direction: row; }         /* 奇数番目は左から右へ並べる */
.complexBox:nth-child(2n  ) { flex-direction: row-reverse; } /* 偶数番目は右から左へ並べる */


/*ー－－タブパネルー－－*/
.tab-group {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto; /* 横スクロール対応 */
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: #555 #3c3c3c;
}

.tab-group::-webkit-scrollbar {
  height: 6px;
}

.tab-group::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.tab {
  flex: 0 0 auto;
  padding: 8px 20px;
  background: #555;
  color: #ccc;
  border-radius: 999px;
  border: 1px solid #666;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.tab:hover {
  background: #666;
  color: #fff;
}

.tab.is-active {
  background: var(--orange); 
  color: #fff;
  border-color: white;
}

.panel-group {
  background: #3c3c3c;
  border: 2px solid #444;
  border-radius: 10px;
  padding: 15px;
  margin: 0 10px;
}

.panel {
  display: none;
  animation: fadeIn 0.25s ease;
  color: #ddd;
}

.panel.is-show {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/*ー－－スマホ画面に上へ戻るボタン,基地に帰って施設レベルでも上げるか,,,ー－－*/
#page-top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    z-index: 9999;　 /* 重なり順指定 */
}
@media screen and (max-width: 500px) {
#page-top {
    bottom: 30px;
    right: 20px;
    opacity: 0.8;　 /* 重なった要素の透明度 */
  }
}

/*---コピペによる転載防止,,,私掠団にはクラスター魚雷をぶち込むぜぃ！と思ったけど、編集に支障出るので凍結しますん
今はwikiメニュー（ここで言う「一覧」）で試験運用中←上手く反応しないため停止中---
#wiki_menu　{
  margin-top: -5px!important;
  margin-bottom: 100px!important;
  user-select:none;
-webkit-user-select:none;
-moz-user-select:none;
-khtml-user-select:none;
-webkit-user-drag:none;
-khtml-user-drag:none;
}*/

/*ー－－リンクー－－*/
a {
    color: #FFF352; /* レモン色 */
    text-decoration: none;
    transition: color 0.3s ease; /* 色の変化を滑らかに */
}
a:hover {
    color: #ffc050; /* 少し明るいオレンジ系の黄色に */
    text-decoration: underline; /* 下線を表示 */
}

/*ーーー見出しーーー*/
#main_content h1:first-letter{
  font-size: 140%;
  font-weight: bold;
  color: #90ee90;
}

#main_content h1 {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    padding-left: 25px;
    margin: 30px 5px 25px;
    color:white;
    box-sizing: border-box;
}
#main_content h1:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px #ff9800;
}
#main_content h1:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 5px;
  width: auto;
  border-bottom: solid 3px #ff9800;
  right: 0;
}
 
h2 {
    font-size: 18px;
    font-weight: bold;
    border-left: 5px double var(--orange);
    border-bottom: 1px dotted var(--orange);
    padding: 1px 10px;
    margin: 20px -5px 13px;
    color:white;
}

h3 {
    font-size:16px;
    color:white;
    font-weight: 600;
    border-left: 3px solid var(--orange);
    padding: 1px 10px;
    margin: 20px -5px 13px;
}

.uk-container.uk-container-center.sp #main_content h1 {
    margin: 30px -3px 25px
}
 
.uk-container.uk-container-center.sp #main_content h2,
.uk-container.uk-container-center.sp #main_content h3 {
    margin: 20px 0px 13px;
}
 



/*ーーーコメントーーー*/
#reply_source.uk-form-row.uk-alert {
    background: #353535;
    color: #e9cb72;
}
ー
/*---ヘッダーを画像にする,,,画像にするヘッダーの作成に失敗（センス無くて泣いた）
div#site_header  h1 {
    position: relative;
  
}
div#site_header  h1 a {
    line-height: 10vmax;
    margin-left: 100px;
    padding-left: 10px;
}
div#site_header  h1 a:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(https://img.wiki3.jp/st-59_/home.png);
    display: block;
    top: 0;
    background-size:contain;
    background-repeat: no-repeat;
}---*/

/*ーーーボディーーー*/
body>div.uk-container>div.uk-grid>div[class*=uk-width-] {
    padding: 0px 20px 10px 20px;
}
 
body:not(body.cke_editable.cke_editable_themed.cke_contents_ltr.cke_show_borders)::before {
    content: "";
    position: fixed;
    background-size: cover;
    top: 0;
    left: 0;
    min-height: 100vh;
    height: 100dvh;
    / height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    z-index: -1;
}
 
body>div.uk-container.uk-container-center>div.uk-grid>div[class*=uk-width-].main_content,
body>div.uk-container.uk-container-center.sp {
    position: relative;
    z-index: 1;
}
 
body>div.uk-container.uk-container-center.sp {
    padding: 0 10px;
}
 
body>div.uk-container.sp>h1,
body>div.uk-container.sp>section#wiki_menu>h1,
section#comment-form>h1 {
    margin: 0px -10px;
}
 
body>div.uk-container>div.uk-grid>div[class*=uk-width-]>h1 {
    margin: 0 -20px;
}
 
.uk-text-small.uk-text-right {
    display: none;
}
 
@media screen and (max-width: 500px) {
    .logo {
        display: none;
    }
}

/*ーーーrootーーー*/
:root {
    --navy: #4a5769;
    --orange: #ff9800;
}

/*ーーー目次ーーー*/
.plugin.plugin_contents {
    line-height: 1.5rem;
    width: 80%;          
    max-width: 650px;
    /*border: 1px solid white;*/
}

.header_level1 {
    position: relative;
    line-height: 23px;
    padding-left: 18px; 
    margin: 3px 0;
}

.header_level1:last-child {
    border: none;
}

.header_level1:before {
    content: "◆";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    color: #ff9800;
    font-size: 0.8rem;
}

.plugin.plugin_contents .header_level2 {
    position: relative;
    padding-left: 18px;
    margin-left: 20px;
    line-height: 23px;
}

.plugin.plugin_contents .header_level2:before {
    content: "┗";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    color: #ff9800; 
    font-size: 0.8rem;
}

.plugin.plugin_contents .header_level3 {
    position: relative;
    padding-left: 18px;
    margin-left: 40px;
    line-height: 24px;
}

.plugin.plugin_contents .header_level3:before {
    content: "・";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    color: #ff9800; 
    font-size: 0.9rem;
}

/*ーーー画像拡大ーーー*/
/* 背景つきモーダル本体 */
.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: background .25s ease, opacity .25s ease;
}

/* 表示されたときの状態（JSが display:flex にする） */
.zoom-modal[style*="display: flex"] {
  background: rgba(0,0,0,0.85);
  opacity: 1;
}

/* 拡大画像 */
.zoom-view {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(0,0,0,0.6);
  transform: scale(0.95);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* 表示状態でふわっと拡大 */
.zoom-modal[style*="display: flex"] .zoom-view {
  transform: scale(1);
  opacity: 1;
}

/* 閉じるボタン */
.zoom-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color .2s ease, transform .2s ease;
}
.zoom-close:hover { 
  color: #ccc;
  transform: scale(1.2);
}

/* サムネイル画像 */
.zoom-img {
  cursor: zoom-in;
  transition: transform .2s ease;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.zoom-img:hover {
  transform: scale(1.02);
}

  text-align: center;
  padding: 20px;
}

/* モーダル内画像 */
.zoom-view {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(0,0,0,0.6);
}

/* 背景（クリックで閉じる） */
.zoom-bg {
  position: absolute;
  inset: 0;
  display: block;
  background: transparent;
}

/* 閉じるボタン */
.zoom-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.zoom-close:hover { color: #ccc; }

.zoom-view {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .25s ease, transform .25s ease;
}
.zoom-modal[style*="display: flex"] .zoom-view {
  opacity: 1;
  transform: scale(1);
}

