body {
  font-family: 'Hiragino Kaku Gothic Pro',sans-serif;
  color: #000333;
  letter-spacing: .04em;
  font-size: 94%;
  height: 100%;
  margin: 0;
  background: #fffafa;
  overflow-x: hidden;
}

/* Base CSS */
@media screen and (min-width: 641px) {
  .container {
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}
}

@media screen and (max-width: 641px) {
  .container {
    margin: 0 auto;
    padding-left: 4px;
    padding-right: 4px;
}
}

a {
  text-decoration: none;
  color: #000333;
}

.container * {
  box-sizing: border-box;
}

@media screen and (min-width: 641px) {
  .flex-header {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-left: 48px;
    padding-right: 48px;
    display:flex;
    align-items: baseline;
    flex-wrap:wrap;
    margin-top: -8px;
    margin-bottom: 18px;
    height: 64px;

    /* text color */
    color: #dcdcdc;

    /* header color */
    background: #434246;
  }
}

@media screen and (max-width: 641px) {
  .flex-header {
    display:flex;
    flex-wrap:wrap;
    align-items: baseline;
    margin-bottom: -16px;
  }
}

.left-header {
  font-weight: 300;
  line-height: 0.8em;
  font-size: 80%;
  flex: auto;
  display:flex;
  flex-wrap:wrap;
  margin: auto;
  padding-top: 6px;
  padding-left: 4px;
}

.left-header p {
  font-weight: bold;
  margin-top: 8px;
  margin-left: 2px;
}

.left-header a {
  color:inherit;
  text-decoration: none;
  padding-right: 12px;
}


.right-header {
  font-weight: 300;
  line-height: 0.8em;
  padding-right: 0px;
  margin: auto;
  color: #ADFBEA;
  padding-top: 6px;
}

.right-header a {
  color: #ADFBEA;
  text-decoration: none;
  white-space: nowrap;
}

.right-header ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  margin-bottom: 28px;
}

.right-header li {
  margin: 2rem 0;
}

.right-header nav {
  background: #000011;
  opacity: 0.8;
  position: absolute;
  z-index: 2;
  top: 3.125rem;
  right: 0;
  overflow-x: hidden;
  text-align: center;
  display: none;
}

@media screen and (min-width: 641px) {
.right-header .even-btn-menu {
    margin: auto;
    border-style: none;
    background: transparent;
    outline:0;
    color: #dcdcdc;
    font-size: 240%;
    cursor: pointer;
    letter-spacing: .01em;
    border-radius: 8px;
    padding: .5rem;
    cursor: pointer;
    line-height: 1;
}
}

@media screen and (max-width: 641px) {
  .right-header .even-btn-menu {
    border-color: #000033;
    border-style: none;
    background: transparent;
    outline:0;
    color:  #000033;
    font-size: 240%;
    cursor: pointer;
    letter-spacing: .01em;
    border-radius: 8px;
    padding: .5rem;
    cursor: pointer;
    line-height: 1;
}
}

@media screen and (min-width: 641px) {
  .right-header nav.open-menu {
    border-radius: 16px;
    font-size: 88%;
    font-weight: bold;
    margin-top: 8px;
    margin-right: 20px;
    width: 18%;
    display: block;
  }
}
@media screen and (max-width: 640px) {
  .right-header nav.open-menu {
    margin-top: 20px;
    width: 100%;
    font-weight: bold;
    display: block;
  }
}

.flex-header a:hover{
  color: #AEB6AF;
}

@media screen and (min-width: 641px) {
  .auth-container {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -16px;
  }
  .auth-form {
    flex: 1 1 auto;
    font-size: 80%;
    line-height: 0.8em;
    letter-spacing: .09em;
    max-width: 280px;
    text-align: left;
}
}

@media screen and (max-width: 641px) {
  .auth-container {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .auth-form {
    flex: 1 1 auto;
    font-size: 60%;
    line-height: 0.8em;
    letter-spacing: .09em;
    max-width: 240px;
    text-align: left;
}
}


.auth-form b {
  color: red;
}

.auth-form h1 {
  color: #2f3333;
  font-size: 240%;
}

.auth-form .wrapper {
  display: flex;
  padding-bottom: 8px;
}

.auth-form p {
  font-size: 80%;
}

.auth-form .wrapper input[type="text"],
.auth-form .wrapper input[type="password"] {
  flex: 1 1 auto;
  font-weight: 300;
  letter-spacing: .09em;
  font-size: 80%;
  padding: 10px 16px;
  border-radius: 0px;
  border: 2px solid #c0c0c0;
}

.auth-form button {
  font-weight: bold;
  padding: 14px 20px;
  border-style: none;
  background: #07ADAF;
  color: #f8f8f8;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 2px;
  cursor: pointer;
  cursor: hand;
  font-size: 80%;
}

@media screen and (min-width: 640px){

  .main {
   padding-top: 24px;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: flex-start;
   color: #5A595E;
   min-height: calc(86% - 50px);

  }

  .main .description {
    flex: none;
    max-width: 72%;
    text-align: left;
    padding: 4px 42px;
  }

  .main h1 {
    font-size: 220%;
  }

  .main p {
   line-height: 1.8em;
  }

  .main .calendar {
    flex: auto;
    z-index: 1;
    padding-top: 24px;
    padding-left: 24px;
    padding-right: 24px;
    line-height: 0.8em;
    letter-spacing: .09em;
    text-align: center;
   }

 .main  #modal-background {
    z-index:3;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main #modal-content{
    z-index:4;
    width:50%;
    border-radius: 8px;
    padding: 1em;
    background:#fff;
  }

}

@media screen and (max-width: 640px){

 .main {
   padding: 12px 12px;
   max-width: 98%;
   color: #5A595E;
   overflow-wrap normal;
  }

  .main .description {
    padding: 12px 0px;
    flex: none;
  }

  .main p {
   line-height: 1.8em;
  }

  .main .calendar {
    z-index: 1;
    line-height: 0.8em;
    letter-spacing: .09em;
    text-align: center;
   }

  .main  #modal-background {
    z-index:3;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main #modal-content{
    z-index:4;
    width:80%;
    border-radius: 8px;
    padding: 1em;
    background:#fff;
  }

}

.main a {
  color: #07ADAF;
}

.main a:hover{
  color: #07A;
}

.main .flex-table-header {
  font-weight: 300;
  font-weight: bold;
  border-radius: 4px;
  border: 1px dotted #c0c0c0;

  /* text color */
  color: #333;

  /* header color */
  background: white;
}

.main .flex-table {
  line-height: .04em;
  padding: 4px 2px;
  margin: auto;
  color: #111111;
  margin-bottom: -24px;
  overflow-x: auto;
}

.main .flex-table ul {
  list-style: none;
  /* table-width */ min-width: 640px;
  margin: 0px;
  padding: 0px;
}

.main .flex-table li {
  display: flex;
  flex-wrap: nowrap;
}

.main .flex-table li p {
  width: 120px;
  line-height: 1.2em;
  flex: auto;
  padding-left: 8px;
  font-size: 80%;
  white-space: wrap;
}

.main button {
  font-weight: bold;
  padding: 14px 14px;
  border-style: none;
  background: #07ADAF;
  color: #f8f8f8;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 2px;
  cursor: pointer;
  cursor: hand;
  font-size: 80%;
}

.main button:hover {
  background: #07ADBF;
}

.main button:active {
  background: #07ADAE;
}

.main ul {
  list-style: none;
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0px;
  padding: 0px;
  margin-bottom: 24px;
}

.main li {
  width: 98%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width :220px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.main li label:not(.checkbox-label):not(.radio-label):not(#file_input_label):not(#gray_label) {
    font-size: 80%;
    text-align: left;
    color: #444444;
    min-width:100%;
    font-weight: 300;
    margin-right: 2px;
    letter-spacing: .09em;
    padding: 6px 6px;
    font-weight: bold;
}

.main li input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='date']):not([type='datetime-local']),
.main li textarea {
  letter-spacing: .09em;
  font-size: 12px;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  flex: auto;
  border-radius: 4px;
}

.main li select {
  letter-spacing: .09em;
  font-size: 12px;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  flex: auto;
  border-radius: 4px;
  background-color: #FDFEFE;
}

.main input[type="date"],
.main input[type="datetime-local"] {
  letter-spacing: .09em;
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid #d3d3d3;
  flex: auto;
  border-radius: 4px;
}

.main input[type="radio"],
.main input[type="checkbox"]{
  margin-top: 6px;
}

.main li pre {
  text-align: left;
  background: #f5f5f5;
  font-size: 12px;
  margin:0;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  letter-spacing: .09em;
  overflow:auto;
  flex: auto;
}

@media screen and (min-width: 1200px) {

  .left-nav {
   top: 20px;
   max-width: 200px;
   padding-top: 12px;
   padding-right: 48px;
   position: sticky;
  }

  .left-nav a {
   text-decoration: none;
   font-weight: bold;
   color: #5A595E;
 }

  .left-nav a:hover {
    color: #808080;
  }

}

.table-box {
  line-height: .04em;
  padding: 4px 2px;
  margin: auto;
  color: #111111;
  margin-bottom: -24px;
}

.table-box .description {
  padding-top: 12px;
  padding-bottom: 12px;
}

.table-box .description h1 {
  font-style : italic;
  font-size: 120%;
  color: #434246;
}

.table-box .wrapper {
  display: flex;
}

.table-box .wrapper input[type="text"],
.table-box .wrapper input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  font-weight: 300;
  letter-spacing: .09em;
  padding: 8px 16px;
  border: 2px solid #E6E6FA;
  background: white;
  border-radius: 3px;
  font-size: 80%;
}

.table-box .tags {
  display: flex;
  color: #008b8b;
  font-weight: bold;
  font-size: 86%;
  flex-wrap: wrap;
  white-space: nowrap;
  margin : 0px ;
  padding : 0px ;
}

.table-box .tags p {
  padding-right: 8px;
  font-size: 80%;
}

.table-box .tags a {
  color: #6495ED;
}

.table-box .pagelink {
  display: flex;
  padding-top:4px;
  align-items: baseline;
  justify-content: flex-end;
  line-height: 1.2em;
  font-weight: bold;
  font-size: 72%;
}

.table {
  line-height: .8em;
  margin: auto;
}

@media screen and (min-width: 641px) {
  .table-header{
    font-weight: 300;
    font-weight: bold;
    border-radius: 4px;
    border: 1px dotted #c0c0c0;
  }
}

@media screen and (max-width: 641px) {
  .table-header{
    font-weight: 300;
    font-weight: bold;
    border-radius: 4px;
    border: 1px dotted #c0c0c0;
    color: white;
    background: #424242;
  }
}

.table ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.table li {
  display: flex;
  flex-wrap: nowrap;
}

.table .odd_line {
  background:#FAFAFA;
}

.table .even_line {
  background:#FFFFFF;
}

.table li p {
  width: 120px;
  padding-left: 8px;
  font-size: 70%;
  flex: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table a {
  color: blue;
}

.table-box .pagelink a {
 color: blue;
}

@media screen and (min-width: 640px){
  .form-box {
    max-width: 72%;
    padding: 42px 2px;
    text-align: left;
    line-height: 0.8em;
    margin: auto;
}
}

@media screen and (max-width: 640px){
  .form-box {
    max-width: 100%;
    padding: 24px 2px;
    text-align: left;
    line-height: 0.8em;
    margin: auto;
}
}

.form-box a {
  color: #07ADAF;
}

.form-box .description {
  text-align: left;
  line-height: 0.8em;
  margin-bottom: -10px;
}

@media screen and (min-width: 640px){
  .form-box .description h1 {
    font-size: 180%;
    color: #434246;
    font-style : italic;
}
}

@media screen and (max-width: 640px){
  .form-box .description h1 {
    font-size: 180%;
    color: #444444;
    font-style : italic;
}
}

.form-box .description h2 {
  color: #444444;
}

.form-box .description h3 {
  color: #444444;
}

.form-box .description p {
  font-size: 80%;
  color: #c0c0c0;
}

.form-box .log {
  text-align: left;
  line-height: 1.2em;
  margin-top: 4px;
  margin-bottom: -10px;
  color: #008b8b;
}

.form-box hr {
  margin-top: -5px;
  margin-bottom: 12px;
  border: 0.5px dotted #d3d3d3;
}


.form-box ul {
  list-style: none;
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0px;
  padding: 0px;
  margin-bottom: 24px;
}

@media screen and (max-width: 640px){
  .form-box li {
    width: 98%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width :220px;
    padding-top: 8px;
    padding-bottom: 8px;
}
}

@media screen and (min-width: 640px){
  .form-box li {
    width: 48%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width :220px;
    padding-top: 8px;
    padding-bottom: 8px;
}
}


@media screen and (max-width: 640px){
  .form-box li label:not(.checkbox-label):not(.radio-label):not(#file_input_label):not(#gray_label) {
    font-size: 70%;
    text-align: left;
    color: #444444;
    min-width:100%;
    font-weight: 300;
    margin-right: 2px;
    letter-spacing: .09em;
    padding: 6px 6px;
    font-weight: bold;
}
}

@media screen and (min-width: 640px){
  .form-box li label:not(.checkbox-label):not(.radio-label):not(#file_input_label):not(#gray_label) {
    font-size: 84%;
    font-weight:bold;
    color: #444444;
    min-width:100%;
    text-align: left;
    padding: 3px 3px;
    margin-right: 2px;
    letter-spacing: .09em;
}
}

.form-box li input:not([type='checkbox']):not([type='radio']):not([type='file']):not([type='date']):not([type='datetime-local']),
.form-box li textarea {
  letter-spacing: .09em;
  font-size: 12px;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  flex: auto;
  border-radius: 4px;
}

@media screen and (min-width: 640px){
  .form-box li select {
    letter-spacing: .09em;
    font-size: 12px;
    padding: 6px 6px;
    border: 1px solid #d3d3d3;
    flex: auto;
    border-radius: 4px;
    background-color: #FDFEFE;
  }

  .form-box input[type="date"],
  .form-box input[type="datetime-local"] {
    letter-spacing: .09em;
    font-size: 12px;
    padding: 4px 6px;
    border: 1px solid #d3d3d3;
    flex: auto;
    border-radius: 4px;
  }
}

@media screen and (max-width: 640px){
  .form-box li select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: .09em;
    font-size: 12px;
    padding: 6px 6px;
    border: 1px solid #d3d3d3;
    flex: auto;
    border-radius: 4px;
    background-color: #FDFEFE;
  }

  .form-box input[type="date"],
  .form-box input[type="datetime-local"] {
    letter-spacing: .09em;
    font-size: 12px;
    padding: 6px 6px;
    border: 1px solid #d3d3d3;
    flex: auto;
    border-radius: 4px;
  }
}

.form-box .init {
  margin-top: 4px;
  margin-bottom: 4px;
  border-radius: 12px;
  padding: 12px 12px;
  background: #e0ffff;
  min-width:100%;
  overflow:auto;
}

.form-box .user {
  margin-top: 4px;
  margin-bottom: 4px;
  border-radius: 12px;
  padding: 12px 12px;
  background: #EAF2A4;
  min-width:100%;
  overflow:auto;
}

.form-box input[type="radio"],
.form-box input[type="checkbox"]{
  margin-top: 6px;
}

.form-box li p {
  text-align: left;
  background: #e6e6fa;
  font-size: 12px;
  margin:0;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  letter-spacing: .09em;
  flex: auto;
}

.form-box li pre {
  text-align: left;
  background: #f5f5f5;
  font-size: 12px;
  margin:0;
  padding: 6px 6px;
  border: 1px solid #d3d3d3;
  letter-spacing: .09em;
  overflow:auto;
  flex: auto;
}

.form-box .file_form {
  padding-top: 12px;
}

.form-box #gray_label {
    font-size: 70%;
    text-align: left;
    color: #c0c0c0;
    min-width:100%;
    font-weight: 300;
    margin-right: 2px;
    letter-spacing: .09em;
    padding: 6px 6px;
    font-weight: bold;
}

.form-box .file_form #file_input_label {
  color: #333;
  font-size: 140%;
  font-weight: bold;
  cursor: hand;
  padding-left: 6px;
  padding-right: 6px;
}

.form-box .file_form #file_name {
  color: #333;
  margin-left: -2px;
}

.form-box .file_form a {
  color: #6495ED;
}

.form-box button {
  text-align: right;
  padding: 8px 16px;
  border-style: none;
  background: #07ADAF;
  color: #f2f2f2;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 2px;
  cursor: pointer;
  cursor: hand;
}

.form-box button a {
  color:inherit;
  text-decoration: none;
}

.form-box .flex-button {
  display:flex;
  flex-wrap:wrap;
}

.form-box .flex-button button {
  flex: auto;
  font-weight: bold;
  text-align: center;
  padding: 4px 8px;
  border-style: none;
  background: #20b2aa;
  color: #f2f2f2;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-radius: 2px;
  cursor: pointer;
  cursor: hand;
}

.form-box .action_links {
  text-align: left;
  padding-top: 12px;
  line-height: 0.8em;
  font-size: 80%;
  color: #808080;
  font-weight: bold;
  font-style : italic;
}

.form-box .action_links a {
  color: #808080;
}

.form-box input:focus, .form-box select:focus, .form-box textarea:focus {
  outline-color: #40B9F8;
  outline-width: 2px;
}

.result-box {
  padding-top: 60px;
  padding-bottom: 40px;
}

.result-box pre {
  flex: auto;
  font-size: 140%;
  border-radius: 8px;
  line-height: 1.4em;
  margin: 0px;
  padding: 12px 12px;
  overflow:auto;
}

.result-box a {
  color: #649;
}

.log_viewer {
  padding-left: 12px;
  padding-top: 2px;
  padding-bottom: 12px;
}

.log_viewer pre {
  flex: auto;
  font-size: 12px;
  line-height: 1.4em;
  margin: 0px;
  margin-top: -10px;
  overflow:auto;
}

.checkbox-label {
  text-align: left;
  font-size: 80%;
  margin-top: 6px;
  letter-spacing: .09em;
  padding-right: 2px;
}

.radio-label {
  text-align: left;
  margin-top: 6px;
  font-size: 80%;
}

input[type="file"] {
 display: none;
}


@media screen and (max-width: 1199px) {
  .left-nav {
   display:none;
  }
}


@media screen and (max-width: 640px) {

 .footer {
  color: #696969;
  padding-top: 82px;
  font-weight: 300;
  font-size: 80%;
  text-align: center;
  bottom: 0;
  width: 100%;
 }

}

@media screen and (min-width: 641px) {
 .footer {
  color: #696969;
  padding-top: 240px;
  padding-bottom: 12px;
  padding-right: 142px;
  font-weight: 300;
  font-size: 80%;
  text-align: right;
  bottom: 0;
  width: 100%;
 }

}
