@charset "utf-8";

/* ---------------------
  - html
  - body

  - container
    - container--heightClear

  - header
    - header__inner
  - logo
  - userName

  - main
    - main__inner
    - main__inner--flex

  - footer
  - logout

  - bacKMenu
--------------------- */



/* =====================
  html
===================== */
html {
  height: 100%;
  /*min-height: 100%;*/
}



/* =====================
  body
===================== */
body {
  height: 100%;
  /* min-height: 100%; */
  /* background-color: #fef1f4; */
  background-color: #eeeeee;
  color: #444;
  font-weight: 700;
  font-size: 16px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  line-height: 1.5;
  word-break: break-all;
  word-wrap: break-word;
}



/* =====================
  container
===================== */
#container {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 768px;
  height: -webkit-calc( 100% - 104px);
  height:         calc( 100% - 104px);
  min-height: -webkit-calc( 100% - 104px);
  min-height:         calc( 100% - 104px);
}


/*  container--heightClear
------------------------*/
#container.container--heightClear {
  height: auto;
}



/* =====================
  header
===================== */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  min-width: 768px;
  background-color: #ff0;
}


/*  #header__inner
------------------------*/
#header__inner {
  display: -webkit-flex;
  display:    -moz-flex;
  display:     -ms-flex;
  display:      -o-flex;
  display:         flex;
  justify-content: space-between;
  -ms-align-items: center;
      align-items: center;
  margin: 0 auto;
  padding: 8px 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}



/* =====================
  logo
===================== */
#logo a {
  display: block;
  color: #fff;
  line-height: 0;
  text-decoration: none;
}

#logo img {
  height: 44px;
}



/* =====================
  userName
===================== */
#userName {
  color: #444;
  font-weight: 500;
}



/* =====================
  main
===================== */
#main {
  height: 100%;
  min-height: 100%;
  padding-top: 60px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


/*  main__inner
------------------------*/
#main__inner {
  padding: 30px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


/*  #main__inner--flex
------------------------*/
.main__inner--flex {
  display: -webkit-flex;
  display:    -moz-flex;
  display:     -ms-flex;
  display:      -o-flex;
  display:         flex;
  justify-content: center;
  -ms-align-items: center;
      align-items: center;
  height: 100%;
  min-height: 100%;
}



/* =====================
  footer
===================== */
footer {
  width: 100%;
  min-width: 768px;
  padding: 1em 0;
  background-color: #ff0;
  color: #fff;
  text-align: center;
}

footer address {
  font-style: normal;
}

footer .logout {
  margin-bottom: 8px;
}

footer .logout a {
  display: inline-block;
  position: relative;
  top: 0;
  padding: 8px 28px;
  border-radius: 5px;
  background-color: #444;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all .25s;
       -o-transition: all .25s;
          transition: all .25s;
}

footer .logout a:hover {
  top: -5px;
  /*
  background-color: #fff;
  color: #ff0;
  */
}



/* =====================
  bacKMenu
===================== */
#bacKMenu {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  min-width: 768px;
  max-width: 1024px;
  margin: 0 auto;
}

#bacKMenu a {
  display: block;
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 0;
  width: 95px;
  padding: 10px 5px;
  border-radius: 5px;
  background-color: #ff0;
  color: #444;
  line-height: 1.3;
  letter-spacing: .04em;
  text-decoration: none;
  text-align: center;
  text-indent: .04em;
  -webkit-transition: all .25s;
       -o-transition: all .25s;
          transition: all .25s;
}

#bacKMenu a:hover {
  bottom: 15px;
}

#bacKMenu a:before {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  margin-bottom: 5px;
  border-style: solid;
  border-color: transparent transparent #444 transparent;
  border-width: 0 7px 10px;
  content: " ";
}


