/*こんにちは！ここは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-wrap{
    margin-bottom: 40px;
}
.tab-group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}
.tab{
    flex-grow: 1;
   
    border-radius: 10px 10px 0 0;
      
    border-bottom: 1px solid #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;

    padding: 14px 0 12px;
    text-align: center;
    transition: 1s;
    vertical-align: bottom;
}
.panel-group{
    min-height:100px;
    border:solid 1px #CCC;
    padding: 10px;
  border-top:none
}
.panel{
    display:none;
}
.tab.is-active{/*ここらへんからjsと連動してるよー*/
    position: relative;
    color:orange;
    font-weight: bold;
    transition: 0s;
   
    padding-bottom: 20px;
}
.tab.is-active:after {
    content: '';
    display: block;
    position: absolute;
    height: 5px;
    bottom: 0;
    background: orange;
    pointer-events: none;
    width: 100%;
}
.panel.is-show{
    display:block;
}

@media screen and (max-width:480px) { 
.tab{
    padding: 10px 0 7px;
}
.tab.is-active{
    padding-bottom: 15px;
}
}
.prof {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 3px 5px;
}


.prof-hito1, .prof-hito2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 13.5%;
    background: #add1ff;
    padding: 1px 7px;
    margin: 2px 1% 2px 0;
    border-radius: 1px;
    text-align: center;
}


.prof-text2 {
    display: flex;
    align-items: center;
    flex-basis: 33%;
    margin: 2px 0;
}
p.prof-name {
    margin: 0;
}

@media not all and (min-width: 768px)
.prof-name {
    padding:5px;
}
.prof-name {
    width: 40%;
  
      padding: 15px;
}
p.prof-name {
    margin: 0;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
h4 {
   border-top:dotted orange
}

#table1 tr:nth-child(2n+1) td {
  background-color:#474a4d;
}

/*ー－－スマホ画面に上へ戻るボタン,基地に帰って施設レベルでも上げるか,,,ー－－*/

#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;
}

