/* Miligram overrides */
body {
  font-family: 'Libre Baskerville', serif;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: #333;
}

.top-nav-links,
.side-nav,
h1 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
}

h2, h3, h4, h5, h6 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  color: #848436;
  letter-spacing: 0.2rem;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s easeout;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
  background: #fff;
  margin: 0;
  padding: 0;
}
.container {
  /*display: flex;/*追加*/
  margin:0 auto;
  max-width:100%;/*112rem変更*/
  padding:0 2.0rem 0 0;
  position:relative;
  width:100%;
  margin: 0;
}
.side {
  box-shadow: 8px 0px 3px -3px rgba(0, 0, 0, 0.06);
  min-height: calc(100vh - 200px);
  display:block;
  margin-left:0;
  max-width:100%;
  width:100%
}
.side-nav {
  margin: 2rem 0;
  padding: 0;
}
.side-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav-list li {
  padding: 1rem 2rem 1rem 5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.side-nav-list li a {
  color: #848436;
}
.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}
.content {
  padding: 2rem;
  margin: 0;
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;/*112rem変更*/
  padding: 2rem;
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  height: 100px;
}
.top-nav-right {
  position: absolute;
  top: 30px;
  right: 10px;
}
.top-nav-links {
  display: flex;
  margin-right: 180px;
}
.top-nav-title a {
  font-size: 3rem;
  color: #848436;
  letter-spacing: 0.3rem;
  font-family: 'Libre Baskerville', serif;
}
.top-nav-links a {
  margin: 0 1rem;
  color: #848436;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}

/*Footer*/
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  height: 100px;
}

.copyright {
  padding: 2rem 0;
  text-align: center;
}

/*icon*/
.fa-sharp, .fa-solid {
  padding-right: 1rem;
}



/*Original*/

/*Form*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance:textfield;
}

input[type='email'],input[type='number'],input[type='password'],input[type='search'],input[type='tel'],input[type='text'],input[type='url'],input[type='color'],input[type='date'],input[type='month'],input[type='week'],input[type='datetime'],input[type='datetime-local'],input:not([type]),textarea,select {
  margin: 0;
}

.input_row {
  display: flex;
  justify-content: space-between;
  align-content: space-around;
}

.inputarea {
  width: 100%;
  padding: 1rem;
}

.labeltext {
  font-weight: 400;
  letter-spacing: 0.2rem;
  color: #333333;
  padding-bottom: 1rem;
  font-size: 1.5rem;
}

.required-txt {
  color: #848436;
}

.input.radio {
  display: flex;
  padding: 1rem 0 0;
  margin-bottom: -1.5rem;
}

.radio-small {
  padding-right: 2rem;
}

.radio-small:last-child {
  padding-right: 0;
}

.input.radio label,
.input.checkbox label,
.radio label{
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 400;
}

.checkbox label{
  margin: 0;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 400;
  padding-right: 2rem;
  margin-right: 1.0rem;
}

.checkbox label > input {
    margin-right: 1.0rem;
}

.checkbox_group {
  display: flex;
  align-content: stretch;
  flex-wrap: wrap;
}

.input.radio {
  display: flex;
  align-content: stretch;
  flex-wrap: wrap;
}

.input_area {
  padding: 1rem 0;
}

.input_subarea {
  display: flex;
}

.sub_input:first-child {
  padding-right: 2rem;
}

.label_subtext {
  font-size: 1.4rem;
}

.help_text {
  display: inline-block;
  padding: 1rem;
  font-size: 1.5rem;
  background: #fafafa;
}

.error-message {
  font-size: 1.4rem;
  color: #cc1f1a;
  background: #fdfce0;
  margin-top: 0.2rem;
  padding: 0 1rem;
  display: block;
}

textarea {
  height: auto;
}

input[type='text'].input_middle, input[type='number'].input_middle, input[type='date'].input_middle, select.input_middle {
  width: 300px;
}

input[type='text'].input_half, input[type='number'].input_half, input[type='date'].input_half, select.input_half {
  width: 200px;
}

input[type='text'].input_num, input[type='number'].input_num {
  width: 150px;
}

input[type='text'].input_num_s, input[type='number'].input_num_s {
  width: 50px;
}

.type_title {
  padding: 1rem 0 0 0;
  color: #296AAF;
  font-size: 1.4rem;
}

.display_area {
  padding: 1rem;
  display: flex;
}

.display_area_b {
  padding: 1rem;
  display: block;
}

.display_name {
  color: #848436;
  letter-spacing: 0.1rem;
  flex-basis: 20%;
}

.display_name_b {
  color: #848436;
  letter-spacing: 0.1rem;
  display: block;
}

@media screen and (max-width: 640px) {
  .display_name {
    flex-basis: 50%;
  }
}

.display_text {
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
}

/*BUTTON*/
.button,button,input[type='button'],input[type='reset'],input[type='submit']{
  background-color:#848436;
  border:0.1rem solid #848436;
  border-radius:.4rem;
  color:#fff;
  cursor:pointer;
  display:inline-block;
  font-size:1.8rem;
  font-weight:500;
  height:3.8rem;
  letter-spacing: 1rem;
  line-height:3.8rem;
  padding:0 4.0rem;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
}

.button:focus,.button:hover,button:focus,button:hover,input[type='button']:focus,input[type='button']:hover,input[type='reset']:focus,input[type='reset']:hover,input[type='submit']:focus,input[type='submit']:hover{
  background-color:#606c76;
  border-color:#606c76;
  color:#fff;
  outline:0
}

.button[disabled],button[disabled],input[type='button'][disabled],input[type='reset'][disabled],input[type='submit'][disabled]{cursor:default;opacity:.5}.button[disabled]:focus,.button[disabled]:hover,button[disabled]:focus,button[disabled]:hover,input[type='button'][disabled]:focus,input[type='button'][disabled]:hover,input[type='reset'][disabled]:focus,input[type='reset'][disabled]:hover,input[type='submit'][disabled]:focus,input[type='submit'][disabled]:hover{
  background-color:#848436;
  border-color:#848436
}

.operation {
  padding: 2rem 0;
}

.operation_btn {
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  background: #848436;
  color: #fff;
  border-radius: 5px;
  margin: 0.5rem 0;
}

.operation_btn:hover {
  color: #b5b538;
}

.operation_btn_red {
  background: #cc1f1a;
}

@media screen and (max-width: 640px) {
  .operation_btn {
    padding: 0.5rem 0.5rem;
    font-size: 1.3rem;
    display: block;
    letter-spacing: 0.1rem;
  }
}

.btn_box {
  padding: 0;
}

.base_btn_box {
  padding: 1rem 0 2rem;
}

.base_btn_box2 {
  padding: 1rem 0 1rem;
  text-align: center;
}

.base_btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  background: #848436;
  color: #fff;
  border-radius: 5px;
}

.base_btn:hover {
  color: #b5b538;
}

.base_btn_white {
  background: #fff;
  color: #848436;
}

.back_btn {
  display: inline-block;
  margin: 2rem 0;
  padding: 1rem 0;
  color: #848436;
}

.border_btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  border: 1px solid #848436;
  color: #848436;
  border-radius: 5px;
}

.border_btn:hover {
  color: #fff;
  background: #848436;
}


/*TEXT*/
.page-header {
  padding: 3rem 0;
  letter-spacing: 0.2rem;
  color: #848436;
}

.page-title-en {
  display: block;
  font-size: 3rem;
}

.page-title-sub {
  display: block;
  font-size: 2rem;
}

/*view_header*/
.view_header {
  display: flex;
  justify-content:space-between;
  align-items: center;
  border-bottom: 3px solid #363637;
  padding-bottom: 1rem;
}

.view_header_txt {
}

.view_header_menu {
  display: flex;
}

.view_header_menu a {
  margin: 0 0.5rem;
}

/*ul*/
.ul_view {
  list-style: none;
}

.ul_view li span {
  display: inline-block;
  width: 200px;
}

@media screen and (max-width: 640px) {
  .ul_view li span {
    display: block;
    width: 100%;
    font-size: 1.2rem;
  }
}

.login {
  width: 500px;
  margin: 0 auto;
}

/*Page*/

.page_title {
  position: relative;
  padding: 1.5rem 1rem;
}

.page_title:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #848436, #848436 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #848436, #848436 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.base_panel {
  width: 100%;
  padding: 0 2rem 2rem;
}

.base-box {
  padding: 3rem 0;
}

.base-box_title {
  position: relative;
  font-size:1.8rem;
  line-height:1.5;
  border-bottom: 2px solid #ddd;
  color: #363637;
  font-weight: 500;
  margin-bottom: 2rem;
}

.base-box_title:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  content: '';
  background: #333;
}

.view_row {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.viewitem {
  flex-basis: 25%;
}

.view_name {
  color: #93938c;
  font-size: 1.5rem;
  display: block;
}


/*Dashboard*/
.board {
  padding: 2rem;
}

@media screen and (max-width: 640px) {
  .board {
    padding: 0;
  }
}

.board_flex {
  display: flex;
  margin-bottom: 1rem;
}
.board_item {
  display: block;
  border: 1px solid #848436;
  flex-basis: 25%;
  margin: 0.2rem;
}

.board_item_l {
  flex-basis: 50%;
}

.board_name {
  padding: 1rem;
  background: #848436;
  color: #fff;
  letter-spacing: 0.1rem;
}

.board_name_block {
  color: #848436;
  display: block;
  font-size: 1.6rem;
}

.board_separate {
  display: flex;
  padding: 1rem 0;
  align-items:flex-end;
}

.board_content {
  padding: 1rem;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  white-space: nowrap;
}

.qrcode {
  width: 70px;
  margin-bottom: -1rem;
}

.board_panel {
  padding: 2rem;
  border-radius: 10px;
}

.box_btn_type {
  padding: 2rem 0 0.5rem;
}

.box_btn {
  display: block;
  padding: 1rem 0;
  font-size: 1.4rem;
  background: #848436;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #848436;
  margin: 1rem;
  width: 80px;
}

.box_btn:hover {
  color: #b5b538;
}

.box_btn_gray {
  display: block;
  padding: 1rem 0;
  font-size: 1.4rem;
  background: #666666;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #848436;
  margin: 1rem;
  width: 80px;
}

.box_btn i, .box_btn_gray i {
  font-size: 2rem;
  display: block;
  text-align: center;
  margin: 0;
  padding: 0;
}

.page_hr {
  border-bottom: 2px solid #b9b973;
}

.title_middle {
  padding: 1rem;
  background: #848436;
  color: #fff;
}

.title_h4 {
  position: relative;
  font-size:2rem;
  line-height:1.5;
  border-bottom: 2px solid #ddd;
  color: #848436;
  font-weight: 500;
  margin-bottom: 2rem;
}

.title_h4:before {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  content: '';
  background: #848436;
}

.name_m {
  font-size: 1.6rem;
  padding-right: 1rem;
}

.text_b {
  font-weight: 500;
}

.text_m {
  font-size: 1.8rem;
}

.text_l {
  font-size: 2.8rem;
}

.watext {
  font-size: 1.6rem;
}

.url_text {
  white-space: normal;
  font-size: 1.6rem;
}

.help_s_text {
  font-size: 1.2rem;
  padding: 0.5rem;
}

.table_border {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.table_border th, .table_border td {
  padding: 1rem;
  border: solid 1px #e1e1e1;
}

.table_border tbody tr:nth-child(2n) {
  background: #f5f5f5;
}

.table_border thead {
  color: #848436;
  background: rgba(132, 132, 54, 0.2);
}

.table_border thead tr th a {
  color: #848436;
}

.border_t_d {
  border-top: 1px dotted #848436;
}

.border_b_d {
  border-bottom: 1px dotted #848436;
}

.border_t {
  border-top: 1px solid #848436;
}

.border_r {
  border-right: 1px solid #848436;
}

.border_r_d {
  border-right: 1px dotted #848436;
}

.border_b {
  border-bottom: 2px solid #848436;
}

.badge_s {
  background: #848436;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.2rem 1rem;
  display: inline-block;
}

.separate {
  display: flex;
}

.separate_bt {
  justify-content: space-between;
}

.separate_ai_fe {
  align-items: flex-end;
}

.separate_item_l {
  flex-basis: 70%;
}

.separate_item_half {
  flex-basis: 50%;
}

.separate_item_m {
  flex-basis: 20%;
}

.separate_item_s {
  flex-basis: 15%;
}

.item_name_s {
  color: #848436;
  font-size: 1.4rem;
}

/*pd mg*/
.pd_tb {
  padding: 1rem 0;
}

.pd_lr {
  padding: 0 1rem;
}

.pd_lr_l {
  padding: 0 2rem;
}

.pd_l {
  padding-left: 1rem;
}

.pd_l2 {
  padding-left: 2rem;
}

.pd_r {
  padding-right: 1rem;
}

.mg_tb {
  margin: 1rem 0;
}

.mg_lr {
  margin: 0 1rem;
}

.selectmenu {
  background: #fff;
}

/* Color */
.base_color {
  color: #848436;
}

.red_color {
  color: #af1e1e;
}

.blue_color {
  color: #2a6496;
}

.yel_color {
  color: #ffba00;
}

.glayl_color {
  color: #707070;
}

.attention_text {
  color: #e61313;
  padding: 1rem;
}

.mes_text {
  background: #eae6cf;
  letter-spacing: 0.2rem;
  line-height: 3rem;
  margin: 2rem 0;
  padding: 1rem;
  border-radius: 5px;
}

.username {
  color: #848436;
}

.copy-small {
  font-size: 1.2rem;
  padding: 0.2rem 0.5rem;
  background: #848436;
  border-radius: 10px;
  margin-left: 1rem;
  color: #fff;
  cursor: pointer;
}