@import url('https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
/*@font-face {
//  font-family: 'Open Sans';
//  font-style: normal;
//  font-weight: 300;
//  font-stretch: normal;
//  src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVc.ttf) format('truetype');
//}
//@font-face {
//  font-family: 'Open Sans';
//  font-style: normal;
//  font-weight: 400;
//  font-stretch: normal;
//  src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
//}
//@font-face {
//  font-family: 'Open Sans';
//  font-style: normal;
//  font-weight: 700;
//  font-stretch: normal;
//  src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
//}
//iframe*/

.addTagManager {
    //padding: 50px, 50px, 50px, 50px;
}
#in_a_sense {
  border: 1px solid #333333;
  border-radius: 10px;
  background-color: #000000;
  width: 75%;
  display: block;
  position: relative;
  left: 250px;
  /*margin: 0 auto;*/
  box-shadow: 0 10px 25px 0 rgba(1, 3, 3, 0.2);
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: small;
  padding: 0;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(270deg, rgb(230, 251, 255), rgb(180, 210, 230));
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* --- ページ全体 --- */
#container {
width: auto;
margin: 0 auto;
background-color: #ffffff;
border: none;
}

/*メインコンテンツ*/
#main {
  margin: 0px 0px 0px 0px;
  display: flex;
  flex-direction: row;
}

#content {
  /*width: auto;*/
  width: calc( 100% - 200px );
  /*background: #E6FBFF;*/
  margin-left: 200px;
  margin-right: 10px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  /*position: absolute;*/
  /*border-left: solid 1px lightgray;*/
}

/* --- ログイン用 --- */
#login {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    margin-left: 100px;
    margin-right: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
    position: absolute;
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    /*background: linear-gradient(315deg, rgba(250, 250, 255, 1) 10%, rgba(101,120,200,1) 50%, rgba(60,132,206,1) 50%);*/
    /*background: linear-gradient(315deg, rgba(50, 50, 55, 1) 10%, rgba(101,120,200,1) 50%, rgba(60,132,206,1) 50%,rgba(50, 50, 55, 1) 80%);
    animation: gradient 15s ease infinite;*/
    /*background-size: 400% 400%;*/
    /*background-attachment: fixed;*/
}

.login-wrap {
  width: auto;
  display: flex;
  justify-content: center;
  padding: 40px;
  padding-top: 100px;
  padding-bottom: 100px;
  /*background-image: url("../images/background0.jpg");*/
  background-position: center; /* お好みで */
  background-size: cover; /* 必要 */
  width: auto; /* 必要 */
  opacity: 0.85;
}

.login-box {
  display: block;
  text-align: center;
  justify-content: center;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  padding: 30px;
  width: 320px;
}

.login-form {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  background-color: #f5f5f5;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin-bottom: 10px;
  transition: box-shadow 0.3s ease;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.login-box input[type="submit"] {
  line-height   : 2em;         /* 1行の高さ  */
  background-color: #4caf50;
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 1.0);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 10px;
  transition: background-color 0.3s ease;
}

.login-box input[type="submit"]:hover {
  background-color: #45a049;
}


@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

#muneatsu {
      margin: 0px;
      color: #ffffff;
      font-size: large;
      font-weight: 500;
      width: auto;
      box-sizing:border-box;
      padding: 10px;
}


/*ログイン背景用*/
.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #57a 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}

/*サイドバー用*/
/* バッジのスタイルを指定 */

.badge {
    display: inline-block;
    background-color: red;
    color: white;
    margin-left: 10px;/*バッジの左余白をセット*/
    padding: 3px 10px; /* バッジの余白を調整 */
    border-radius: 10px; /* バッジを円形にする */
    font-weight: bold;
    font-size: 11px;
    height: 14px;
    width: 20px; /* バッジの幅を固定する */
    text-align: center; /* 文字を中央寄せする */
}

ul.sidebar-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  max-width: 400px;
}

.sidebar-menu li {
  display: block;
}

.sidebar-menu li.title {
  background: url('swifty.png') no-repeat left center;
  background-size: contain;
  color: #fff;
  padding: 20px;
}

.sidebar-menu li.title a {
  color: inherit;
  text-decoration: none;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #dadaff;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-menu li a i,
.sidebar-menu li a span {
  margin-right: 10px;
  color: #dadaff;
  transition: color 0.3s ease;
}

.sidebar-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-menu li a:hover i,
.sidebar-menu li a:hover span {
  color: #fff;
}

/* 親・上位メニュー用：selected時に縦線＋padding-left:16px */
.sidebar-menu > li.selected:not(.title) > a {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  color: #ffffff;
  border-left: 4px solid #ffffff;
  padding-left: 16px;
}

/* サブメニュー用：selected時に縦線のみ、padding-leftは維持（35px） */
.sidebar-menu li.have-children ul li.selected > a {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  color: #ffffff;
  border-left: 4px solid #ffffff;
  padding-left: 31px; /* サブメニューの既存paddingを維持 */
}

.sidebar-menu li.selected a i,
.sidebar-menu li.selected a span {
  color: #ffffff;
}


li.have-children ul {
  padding: 0px;
}

li.have-children ul li a {
  /*background: #0282C9;*/
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.sidebar-menu > li.have-children.active > a {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff; /* 子メニューの文字色に合わせて調整 */
}

.sidebar-menu > li.have-children.active > a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
li.have-children ul li a:hover {
  /*color: #fff;*/
  background-color: rgba(255, 255, 255, 0.4);
  padding-left: 20px;
}

li.have-children, li {
  position: relative;
}
.have-children span::after {
  position: absolute;
  right: 10px;
  content: "\f054";
  color: #eef;
  transition: all .5s;
}
li.active.have-children span::after {
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.sidebar-menu > li ul {
    display: none;
}

.sidebar-menu > li.active ul  {
    display: block;
}

.sidebar-menu .have-children ul {
  display: none;
}
.sidebar-menu .have-children.open ul {
  display: block;
}
.sidebar-menu li.have-children ul li a {
  padding-left: 35px; /* 親メニューよりも右に余白をつける */
}

/*サイドバー用*/
.sidebar {
  width: 200px;
  height: 100vh;
    overflow-y: auto;
  /*box-sizing: border-box;*/
  background: linear-gradient(90deg, rgb(0, 102, 180), rgb(20, 127, 224));
   position: fixed;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  box-shadow: 3px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

/*入力フォーム*/
form {
 margin-left: auto;
 margin-right: auto;
 /*max-width: 800px;*/
 }
 .form-item {
 width: 100%;
 display: flex;
 align-items: center;
 padding-left: 14px;
 padding-right: 14px;
 padding-bottom: 15px;
}
.form-text {
 border: 1px solid gray;
 border-radius: 5px;
 margin-left: 40px;
 padding-left: 10px;
 height: 50px;
 width: 100%;
 max-width: 410px;
 font-size: 16px;
}
.form-textarea {
 border: 1px solid gray;
 border-radius: 6px;
 margin-left: 40px;
 padding-left: 10px;
 /*padding-left: 1em;
 padding-right: 1em;*/
 height: 150px;
 flex: 1;
 width: 100%;
 max-width: 410px;
 font-size: 16px;
}
.form-file {
 /*border: 1px solid gray;
 border-radius: 5px;*/
 margin-left: 40px;
 padding-left: 10px;
 padding-top: 10px:
 padding-bottom: 10px:
 /*height: 100px;*/
 width: 100%;
 max-width: 410px;
 font-size: 16px;
}

.form-label {
 width: 100%;
 max-width: 160px;
 font-weight: bold;
 font-size: 16px;
 display: flex;
 //justify-content: center; /*左右中央揃え*/
 align-items: center;     /*上下中央揃え*/
}

.form-label span{
 color: #fff;
 margin-left: auto;
 background: #fb3b6f;
 /*display: inline-block;*/
 padding: 2px 5px;
 font-size: 10px;
 -moz-border-radius: 2px;
 -webkit-border-radius: 2px;
 border-radius: 2px;
 /*position: absolute;*/
 /*right: 16px;*/
 /*top: 19px;*/
}

.form-label span.kotei{
 color: #fff;
margin-left: auto;
 background: #6f3bfb;
 /*display: inline-block;*/
 padding: 2px 5px;
 font-size: 10px;
 -moz-border-radius: 2px;
 -webkit-border-radius: 2px;
 border-radius: 2px;
 /*position: absolute;*/
 /*right: 16px;*/
 /*top: 19px;*/
}

.form-button {
 width: 100%;
 text-align: center;
 max-width: 410px;
 font-size: 16px;
 font-weight: bold;
 margin: auto;
 margin-top: 20px;
 margin-bottom: 40px;
}

.uploader {
  position: relative;
  margin-left: 40px;
  border-radius: 8px;
  width: 200px; height: 180px;
  background: #FFFFFF;
  overflow: hidden;
}

.uploader:before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 24px; bottom: 24px;
  left: 24px; right: 24px;
  padding-left: 10px;
  border: dashed 2px #C0C0C0;
  color: #C0C0C0;
  font-size: 14px;
  content: 'PNG画像をドラッグ＆ドロップするかタップして選択';
  pointer-events: none;
}

.uploader input {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 999px; height: 999px;
  font-size: 999px;
  opacity: 0;
}

#preview1,#preview2,#preview3 {
  padding-left: 10px;
 }

.submitbutton {
  width: 300px;
  padding: 10px;
  /*background: #293949;*/
  background: #0071BC;
  color: #e0e0e0;
  border: solid 1px #0071BC;
  border-radius: 5px;
  font-size: large;
  padding: 5px;
  cursor: pointer;
  /*--水平方向 垂直方向 影のぼかし 色--*/
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
}

.submitbutton-s {
  width: 200px;
  padding: 10px;
  /*background: #293949;*/
  background: #0071BC;
  color: #e0e0e0;
  border: solid 1px #0071BC;
  border-radius: 5px;
  font-size: large;
  padding: 5px;
  cursor: pointer;
  /*--水平方向 垂直方向 影のぼかし 色--*/
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
}

/*画像表示用*/
.image-center {
 width: 100%;
 display: flex;
 justify-content: center; /*左右中央揃え*/
 align-items: center;     /*上下中央揃え*/
}


/*一覧表示用*/
.flex {
  display: flex; /*横並び*/
  background:#ffffff;
  margin: 5px;
}
.flex .image {
  width: 200px; /*画像サイズ指定*/
  height:150px;
  margin: 5px;
  padding: 0;
  /*overflow: hidden;
  position: relative;*/
}
.flex .right {
  margin: 0 0 0 20px;
  padding: 0;
}
.flex .title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 18px;
}
.flex .text {
  margin: 10px 0 0;
  padding: 0;
}
img.thumb {
width:200px;
height:150px;
}

img.prev {
width: 80px;
height: 60px;
padding: 5px;
}

/*テーブル表示用*/
/* table01 */
#table01 tr {
  /*border-bottom: 1px solid #b5b1b1;*/
  border-bottom: 2px solid #000000;
  background:#ffffff;
  /*width:400px;*/
}

#table01 th,
#table01 td {
  padding: 24px 10px;
  border: none;
}

#table01 th {
  width: 30%;
}

@media only screen and (max-width: 480px) {
  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
  }

  #table01 td {
    padding-top: 0;
  }
}
/*table02 ipアドレス編集用*/
#table02 {
    width: 530px;
    /*border: 1px #E3E3E3 solid;*/
    border-collapse: collapse;
    border-spacing: 0;
}
#table02 th {
    padding: 5px;
    border: #101010 solid;
    border-width: 1px 1px 1px 1px;
    background: #F5F5F5;
    font-weight: bold;
    line-height: 120%;
    text-align: center;
}
#table02 td {
    padding: 5px;
    border: 1px #101010 solid;
    border-width: 1px 1px 1px 1px;
    text-align: center;
}

#table02 button {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    margin: auto;
}

.form-text02 {
 border: 1px solid gray;
 border-radius: 5px;
 height: 50px;
 width: 100%;
 max-width: 410px;
 font-size: 16px;
}

.form-button02 {
 width: 80%;
 /*border: solid 1px #f0f0f0;*/
 /*border-radius: 5px;*/
 padding: 10px;
 font-size: 16px;
 font-weight: bold;
 margin: auto;
}

/*トグルスイッチ*/
.toggle {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 49px;
  height: 28px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}
.toggle input[type=checkbox] {
  display: none;
}
.toggle:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #e9e9eb;
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.toggle:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}
.toggle.checked:before {
  background: #35c759;
}
.toggle.checked:after {
  left: 23px;
  box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
}
/*インフォメーションボックス*/
#infobox {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

#infobox p {
    margin: 10px;
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right; /* テキストを右寄せ */
    /*justify-content: flex-end;*/
    /*background: linear-gradient(90deg, rgb(0, 102, 180), rgb(20, 127, 224));*/
    background: #ffffff;
    color: #000000;
    border-radius: 10px;
    border: solid 1px #00A99D;
    font-size: 10px;
    font-weight: bold;
}

/*タイトルボックス*/
#titlebox {
  /*background: #293949;*/
  /*background: #00A99D;*/
  margin: 0px;
  background: linear-gradient(90deg, rgb(0, 102, 180), rgb(20, 127, 224));
  border: solid 1px #0071BC;
  /*color: #e0e0e0;*/
  color: #ffffff;
  font-size: large;
  font-weight: 500;
  width: auto;
  box-sizing:border-box;
  padding: 10px;
}

/*お知らせボックス*/
.box27 {
    position: relative;
    margin-top: 2em;
    margin-bottom: 1em;
    padding: 0.5em 1em;
    /*border: solid 3px #293949;*/
    border: solid 3px #00A99D;
    background: #fffff9;
}

.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -24px;
    left: -3px;
    padding: 0 9px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    /*background: #293949;*/
    background: #00A99D;
    color: #ffffff;
    /*font-weight: bold;*/
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 10; 
    padding: 0;
}

/*トップページのショートカットボタン*/
.flex-box {
    //background-color: #eee;     /* 背景色指定 */
    padding:  10px;             /* 余白指定 */
    display: flex;              /* フレックスボックスにする */
    justify-content:center;
}
 
.flex-item {
    //padding: 10px;
    color:  #ffffff;               /* 文字色 */
    margin:  10px;              /* 外側の余白 */
    border-radius:  10px;        /* 角丸指定 */
    width: 15%;                 /* 幅指定 */
    text-align: center;
    display: block;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
}

.flex-item a{
    display: block;
    height: 100%;
    text-decoration:none;
    color:  #ffffff;               /* 文字色 */
}
.flex-item a:visited{
  color: inherit;
}

.flex-item .item-icon{
    text-align: center;
    font-size:  x-large;
    color:  #fff;               /* 文字色 */
    border-radius:  5px;        /* 角丸指定 */
}

.flex-item p {
    text-align: center;
}
 
.flex-item:nth-child(1) {
    background-color:  #2196F3; /* 背景色指定 */
}
 
.flex-item:nth-child(2) {
    background-color:  #4CAF50; /* 背景色指定 */
}
 
.flex-item:nth-child(3) {
    background-color: #3F51B5; /* 背景色指定 */
}
 
.flex-item:nth-child(4) {
    background-color:  #00BCD4; /* 背景色指定 */
}

/*並び替え用*/

#documentList {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#documentList li {
    background-color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%; /* 必要に応じて幅を指定 */
    box-sizing: border-box;
}

#documentList ul {
    display: flex;
    width: 100%;
}

#sortForm {
  width: 100% !important; /* 例: 幅を80%にする */
}
