html, body {
  height: 100%;
}

body {
  color: #444;
  font-family: "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
  line-height: 1;
  background-color: #f1f1f1;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  color: #000;
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  transition : all 0.5s ease 0s;
}
a:hover, a:focus {
  text-decoration: none;
  color: #888;
}
input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
}
table {
  width: 100%;
  padding: 0 1rem;
}
table th, table td {
  padding: 0.25rem;
}
@media screen and (min-width: 960px) {
  table th, table td {
    padding: 0.5rem;
  }
}


main {
  background-color: #f1f1f1;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 100%;
  position: relative;
  min-height: 100%;
}
.main {
  margin-top: 50px;
  padding-bottom: 25px;
  width: 100%;
}
@media screen and (min-width: 960px) {
  .main {
    margin-top: 100px;
  }
}
.main input, .main select, .main textarea, .main button {
  background: #fff;
  border: 1px solid #444;
  border-radius: 0;
  padding: 0.25rem;
  width: 100%;
}
.main input:hover, .main select:hover, .main textarea:hover, .main button:hover {
  cursor: pointer;
}
.main input:hover {
  background: #ddd;
}
.main select:focus, .main textarea:focus {
  background: #ddd;
}
.main input[type="submit"]:hover, .main input[type="reset"]:hover, .main button:hover,
.main input[type="submit"]:focus, .main input[type="reset"]:focus, .main button:focus {
  background: #444;
  color: #f1f1f1;
}
.main input[type="submit"], .main input[type="reset"] {
  padding: 0.75rem;
  margin: 1rem 0;
  font-weight: 500;
}
@media screen and (min-width: 767px) {
  .main input, .main select, .main textarea, .main button {
    width: auto;
  }
}
/* フッター */
.footer {
  background-color: #444;
  color: #ddd;
  height: 50px;
  position: relative;
  bottom:0;
  width: 100%;
  text-align: right;
}
.footer small {
  font-size: 75%;
  text-align: center;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
@media screen and (min-width: 960px) {
  .footer {
    height: 100px;
    position: relative;
  }
  .footer small {
    justify-content: flex-end;
  }
}

/* ヘッダー */
.header {
  background-color: #444;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
@media screen and (min-width: 960px) {
  .header {
    height: 100px;

  }
}
.header_inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}
/* ヘッダーのロゴ部分 */
.header_title {
  width: 80px;
}
.header_title:hover {
  opacity: 0.8;
}
@media screen and (min-width: 960px) {
  .header_title {
    width: 140px;
  }
}
.header_title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */
.header_nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #444;
  transition: ease .4s;
  display: flex;
}
@media screen and (min-width: 960px) {
  .header_nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    min-width: 40%;
    max-width: 70%;
  }
}
.nav_items {
  margin: auto;
}
@media screen and (min-width: 960px) {
  .nav_items {
    margin: initial;
    min-width: 50%;
    max-width: 80%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}
.nav_items li {
  color: #f1f1f1;
  font-weight: 500;
  line-height: 1.5;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  position: relative;
  align-items: center;
  width: 100%;
}
.nav_items li:last-child {
  padding-right: 0;
}
.nav_items li a {
  color: #f1f1f1;
  text-decoration: none;
  align-items: center;
  display: flex;
  justify-content: center;
}
.nav_items li a:hover {
  color: #aaa;
}
.nav_items li:last-child a {
  background: #f1f1f1;
  padding: 0.75rem;
  color: #444;
  text-decoration: none;
  width: 100%;
  text-align: center;
  height: 80%;
}
.nav_items li:last-child a:hover {
  background: #000;
  color: #f1f1f1;
}
.nav_items li:hover {
  cursor: pointer;
}
.nav-items_item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-items_item {
  border-bottom: 2px solid orange;
}
/* .nav_items li:first-child:hover, .nav_items li:last-child a, .nav_items li:last-child a:hover {
  border-bottom: none;
*/
@media screen and (min-width: 960px) {
  /* .nav_items li {
    border-bottom: none;
  }
  .nav-items_item:before, .nav_items li:before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: orange;
    opacity: 0;
  }
  .nav-items_item:hover:before, .nav_items li:hover:before {
    opacity: 1;
  }
  .nav_items li:last-child:hover:before {
    opacity: 0;
  } */
}

/* ナビのリンク */
.nav-items_item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.nav-items_item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items_item a {
    margin-bottom: 0;
    font-size: 18px;
  }
}

/* パンくずリスト */
.breadcrumbs {
  width: 100%;
  padding: 1rem;
  font-size: .82rem;
}

/* ハンバーガーメニュー */
.header_hamburger {
  width: 30px;
  height: 100%;
}
.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}
@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}
/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #f1f1f1;
  position: relative;
  transition: ease .4s;
  display: block;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  margin: 8px 0;
}
.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header_nav.active {
  transform: translateX(0);
}
.hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: -8px;
  transform: rotate(-45deg);
}
table.filelist {
  border-spacing: 0px 2px;
  font-size: .75rem;
}
table.filelist th{
  text-align: center;
  color:#ddd;
  background: linear-gradient(#888,#444);
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: .5rem 0;
}
table.filelist td {
  border-bottom: 1px solid #888;
  box-shadow: 0px -3px 5px 1px #eee inset;
}
/* table.filelist tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
table.filelist tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
} */
td.fl_size {
  text-align: right;
}
td.fl_upat {
  text-align: center;
}
td.fl_icon {
  text-align: center;
  vertical-align: middle;
}
td.fl_icon a {
  width: 16px;
  height: auto;
  display: block;
  margin: auto;
  transition : all 0.5s ease 0s;
}
td.fl_icon a img {
  width: 16px;
  height: auto;
}
td.fl_icon a:hover {
  opacity: .7;
}
td.fl_icon a img {
  margin: auto;
}
.plupload_container {
  padding: 0.5rem 1rem !important;
}
@media screen and (min-width: 960px) {
  table.filelist {
    font-size: 1rem;
  }
  td.fl_size {
    width: 10%;
  }
  td.fl_upat {
    width: 15%;
  }
  td.fl_icon {
    width: 3%;
  }
  td.fl_icon a img, td.fl_icon a {
    width: 22px;
    height: auto;
}
}
/* ログイン画面 */
.logged-in .main input[type="submit"], .logged-in .main input[type="reset"] {
  margin-bottom: 0;
  width: 100%;
}
.logged-in main {
  align-items: center;
  padding-bottom: 50px;
  padding-top: 50px;
}
.logged-in .footer {
  position:absolute;
}
@media screen and (min-width: 960px) {
  .logged-in main {
    align-items: center;
    padding-bottom: 100px;
    padding-top: 100px;
  }
  .logged-in .footer {
    position:absolute;
  }
}
@media screen and (min-width: 640px) {
  .logged-in input {
    width: 16em;
  }
  .logged-in table {
    width: auto;
  }
}

@media screen and (max-width: 320px) {
  table th, table td {
    display: block;
  }
}