/* Miligram overrides */
body {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
  letter-spacing: 0.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'M PLUS 1p', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
  letter-spacing: 0.2rem;
}

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

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

th a,
.actions a {
    color: #db4f28;
}

.actions a:hover,
.actions a:focus {
    color:#ae1e24;
}

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

.button,button,input[type='button'],input[type='reset'],input[type='submit']{
  background: rgb(219,79,40);/*ch*/
  background: linear-gradient(180deg, rgba(219,79,40,1) 0%, rgba(174,30,36,1) 100%);/*ch*/
  border:transparent;/*ch*/
  border-radius:3px;/*ch*/
  color:#fff;
  cursor:pointer;
  display:inline-block;
  font-size:1.8rem;/*ch*/
  font-weight:500;/*ch*/
  height:5rem;/*ch*/
  letter-spacing:.2rem;/*ch*/
  line-height:5rem;/*ch*/
  padding:0 3.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:#db4f28;
  border-color:#db4f28;
  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:#ae1e24;
  border-color:#ae1e24
}

.button-blue {
  background:#286ddb;
  border-color:#286ddb;
}

.button-small {
  margin: 1rem 0;
  height: 3rem;
  line-height: 3rem;
  font-size: 1.4rem;
}

.button-mini {
  margin: 1rem;
  height: 2rem;
  line-height: 2rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.button-no {
  background: #ccc;
  color: #000;
  display:inline-block;
  font-size:1.8rem;/*ch*/
  font-weight:500;/*ch*/
  height:5rem;/*ch*/
  letter-spacing:.2rem;/*ch*/
  line-height:5rem;/*ch*/
  padding:0 3.0rem;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap
}

table th, table td {
  font-size: 1.3rem;
}


/* Main */
body {
    background: #f5f7fa;
  color: #3e3a39;
}
.container {
  margin:0 auto;
  max-width:100%;/*ch*/
  padding:0 2.0rem;
  position:relative;
  width:100%;
  margin: 2rem 0;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
.actions a:first-child {
    padding-left: 0;
}
th {
    white-space: nowrap;
}

/* header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem 2rem 0;
  margin: 0 auto;
}
.header-logo img {
  width: 200px;
}
.header-link a {
    margin: 0 0.5rem;
}
.header-nav {
  
}

/* 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[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.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;
}
.form-content {
  width: 600px;
  margin: 0 auto;
}
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{
  background-color:transparent;
  border:0.1rem solid #d1d1d1;
  border-radius:.1rem;/*ch*/
  box-shadow:none;
  box-sizing:border-box;/*ch*/
  height:5rem;/*ch*/
  padding:.6rem 1.0rem;
  width:100%;
  margin: 0;/*add*/
  max-width: 100%;/*add*/
}

input[type='email']:focus,input[type='number']:focus,input[type='password']:focus,input[type='search']:focus,input[type='tel']:focus,input[type='text']:focus,input[type='url']:focus,input[type='color']:focus,input[type='date']:focus,input[type='month']:focus,input[type='week']:focus,input[type='datetime']:focus,input[type='datetime-local']:focus,input:not([type]):focus,textarea:focus,select:focus{
  border-color:#606c76;
  outline:0
}
textarea {
  height: auto;
}
form {
  padding: 0;
}
.input-block {
  padding: 1rem 0;
}.display-block {
  padding: 1rem 0 2rem;
  position: relative;
}

.display-area {
  font-size: 1.8rem;
}

.input-flex, .display-flex, .input-num-flex {
  display: flex;
  align-items: center;
}

.input-flex-end, .display-flex-end {
  align-items: flex-end;
}
.input-area {
  padding: 0;
  margin: 0;
}
.label-text {
  font-size: 1.4rem;
  font-weight: 500;
}
.input-help-text {
  color: #6d7377;
  font-size: 1.4rem;
}
.required-label {
  display: inline-block;
}
.required-label:after {
  content: '*';
  color: #c62726;
  font-size: 1.4rem;
  margin-left: 0.1rem;
}

.optional-label {
  display: inline-block;
}
.optional-label:after {
  content: '-任意';
  color: #606c76;
  font-size: 1.4rem;
  margin-left: 0.1rem;
  font-style :italic;
}
.input.radio {
  display: flex;
  padding: 1rem 0 0;
  margin-bottom: -1.5rem;
}
.radio-small {
  padding-right: 2rem;
  margin: 0;
  padding-top: 0;
}

.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;
  padding: 0;
}
input[type='number'].input-mini, input[type='text'].input-mini, input[type='date'].input-mini, select.input-mini {
  display: inline-block;
  width: 15rem;
  max-width: 100%;
}

input[type='text'].input-small, input[type='number'].input-small, input[type='date'].input-small, select.input-small {
  display: inline-block;
  width: 25rem;
  max-width: 100%;
}

input[type='text'].input-middle, input[type='password'].input-middle, input[type='tel'].input-middle, input[type='date'].input-middle, select.input-middle {
  display: inline-block;
  width: 30rem;
  max-width: 100%;
}

input[type='text'].input-large {
  display: inline-block;
  width: 50rem;
  max-width: 100%;
}
.error-message {
  color: #ce0000;
  font-size: 1.2rem;
  padding-top: 0.5rem;
}

/* Paginator */
.paginator {
    text-align: right;
  font-size: 1.4rem;
}
.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";
    }
}

/********/
.wrap {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.colum-row {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}

.column-main {
  width: 80%;
  flex-grow: 1;
}

.column-side {
  width: 17%;
  box-sizing: border-box;
  background: #ae1e24;
  margin: 0;
  background: rgb(141,186,48);
  background: #ae1e24;
}

.nav-side {
  margin: 0;
}

.nav-side ul {
  list-style: none;
  margin: 0;
}

.nav-side ul li {
  margin: 0;
  padding: 0 1rem;
}

.nav-side ul li a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}

.nav-side ul li a span.material-icons {
  margin-right: 0.5rem;
}

.nav-side ul li a:hover {
  background: rgba(255, 255, 255, 0.21);
  padding: 2rem;
}

.nav-side ul li a.active {
  background: #db4f28;
}

 ul.nav-side-sub li a {
  padding: 1rem 1rem;
}

 ul.nav-side-sub li a:hover {
  background: rgba(255, 255, 255, 0.21);
  padding: 1rem 2rem;
}

.nav-side ul li.nav-menu-title {
  color: #fff;
  display: inline-flex;
  align-items: center;
  padding: 2rem 2rem;
  width: 100%;
}

footer {
  background: #585858;
}

.copyright {
  font-size: 1.2rem;
  text-align: center;
  padding: 3rem 0;
  color: #fff;
}

.em-color {
  color: #ae1e24;
}

.blue-color {
  color: #286ddb;
}

.success-msg {
  display: none;
  position: absolute;
  width: 300px;
  height: 40px;
  line-height: 40px;
  background-color: #db4f28;
  color: #fff;
  top: 55%;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  border-radius: 5px;
  z-index: 1;
}

/*検索*/
.search-block {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.btn-search {
  border-radius: 0;
  font-size: 1.6rem;
  margin: 0;
}

.search_check {
  padding-top: 2rem;
  margin: 0 1rem;
}

/*ぱんくず*/
.breadcrumbs {
  list-style: none;
  font-size: 1.2rem;
  padding: 1rem 0 0 2rem;
  background: #585858;
  margin: 0;
  color: #fff;
}

.breadcrumbs li {
  display: inline-block;
  padding-right: 1rem;
}

.breadcrumbs li a {
  color: #fff;
}

.text-small {
  font-size: 1.4rem;
}

.text-middle {
  font-size: 2rem;
}

.text-center {
  text-align: center;
}

.tab-menu {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #ae1e24;
  margin: 0;
}

.tab-menu a {
  width: 100%;
  display: block;
  background: #ae1e24;
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-left: #fff solid 1px;
}

.tab-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  border: 1px solid #fff;
}

.tab-menu li a {
  width: 100%;
  display: inline-block;
  background: #ae1e24;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.tab-menu a.no-active {
  background: #363637;
  border-left: #fff solid 1px;
}

.tab-content {
  padding: 2rem;
}

.tab-content-sub {
  position: relative;
}

.tab-content-btn {
  position: absolute;
  top: -10px;
  right: 0;
}

.box-flex {
  display: flex;
  align-items: center;
}

.box {
  padding: 3rem 1rem 1rem;
  background: #a3a3a3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
  position: relative;
  height: 65px;
  margin: 0 0.1rem;
}

.box-s {
  padding: 3rem 1rem 1rem;
  background: #a3a3a3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
  position: relative;
  height: 90px;
  margin: 0 0.1rem;
}

.box-line {
  background: #fff;
  color: #363637;
  border : 1px solid #363637;
}

.box-red {
  background: #ae1e24;
}

.box-org {
  background: #db4f28;
}

.box-title {
  position:absolute;
  top:0;
  left: 0;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 0;
  width: 100%;
}

.box-title-bk {
  color: #363637;
  border-bottom : 1px solid #363637;
  background: #ccc;
}

.box-sub-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.url_box {
  padding: 2rem 1rem;
}

.url_box:nth-child(2) {
  padding: 0 1rem 1rem ;
}

.card {
  position: relative;
  display: block;
  padding: 2rem;
  border: 1px solid #ccc;
  box-shadow: rgba(136, 165, 191, 0.2) 6px 2px 16px 0px, rgba(255, 255, 255, 0.2) -6px -2px 16px 0px;
}

.card-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-border th, .table-border td {
  border: 1px solid #e8e8e8;
  text-align: center;
}

.table-border th {
  width: 20%;
  background: #ededed;
}

.table-border th.header {
  width: 10%;
  background: #ededed;
}

.table-border th {
  
}

th.w30 {
  width: 30%;
}

th.w20 {
  width: 20%;
}

th.w15 {
  width: 15%;
}

th.w5 {
  width: 5%;
}

.num_large {
  font-size: 3rem;
  font-weight: 700;
}

.num_middle {
  font-size: 1.8rem;
  font-weight: 700;
}

.num_unit {
  font-size: 1rem;
}

.font-w {
  font-weight: 500;
}

.copy-btn {
  display: inline-block;
  padding: 0 2rem;
}

/*Page*/

.content-header {
  position: relative;
}

.content-header-box {
  display: flex;
  justify-content: space-between;
}

.back-em-color {
  background: #ae1e24;
  color: #fff;
  font-size: 2rem;
  padding: 0.2rem 1rem;
}

.content-right {
  /*position: absolute;
  top: 0;
  right: 0;*/
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.flat-btn a {
  background: #585858;
  color: #fff;
  padding: 1rem 2rem;
  margin-left: 1rem;
}

.flat-btn a:hover {
  background: #ae1e24;
  color: #fff;
}

.flat-btn-r a {
  background: #ae1e24;
  color: #fff;
  padding: 1rem 2rem;
}

.flat-btn-r a:hover {
  background: #585858;
  color: #fff;
}

.mg-t5 {
  margin-top: 5rem;
}

.view-block-line {
  position: relative;
  padding: 1rem 2rem 3rem;
  border-bottom: 3px solid #585858;
}

.view-block, .form-block {
  padding: 1rem 2rem 3rem;
}

.view-block-dline {
  padding: 2rem;
  border-bottom: 1px dotted #585858;
}

.view-content {
  padding: 2rem;
}

.button-list-block {
  display: flex;
  justify-content: space-around;
}

.block-flex {
  display: flex;
  align-items: center;
}

.board {
  padding: 3rem 0;
}

.board_flex {
  display: flex;
  justify-content: space-between;
}

.board_item {
  width: 100%;
  margin: 0.1rem;
  border: 1px solid #ccc;
}

.board_name {
  padding: 1rem;
  background: #ae1e24;
  color: #fff;
}

.board_content {
  padding: 1rem;
  font-size: 2rem;
  font-weight: 500;
}

.page-title {
  padding: 1rem 0 1rem 2rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  border-bottom: 5px solid #ae1e24;
}

.content-title-flex {
  display: flex;
  border-bottom: 3px solid #ae1e24;
  padding: 1rem 0;
  align-items: center;
}

.content-title {
  font-weight: 500;
  font-size: 2rem;
  color: #ae1e24;
  padding-right: 3rem;
}

.content-sub-title {
  color: #ae1e24;
  border-bottom: 1px solid #ae1e24;
  font-size: 2rem;
}

.line_qr {
  width: 100px;
}

.btn-box {
  text-align: center;
  padding: 3rem 0;
}

.btn-mes {
  padding: 0;
  font-size: 2rem;
}

.btn-back {
  padding: 2rem 1rem;
  border-top: 1px solid #585858;
}

.icon-inline {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
}

.icon-yel {
  color: #ffce00;
}

.icon-grade-s {
  font-size: 1.8rem;
  line-height: 1.8rem;
  vertical-align:-3px;
}

.icon-grade-m {
  font-size: 3rem;
  line-height: 3rem;
  vertical-align:-3px;
}

.dboard-info-flex {
  display: flex;
  justify-content: space-between;
  flex-flow: wrap;
}

.dboard-info {
  width: 30%;
  margin: 2rem 1rem 0;
  padding: 2rem;
  background: #f4f4f4;
}

.dboard-info-name {
  color: #ae1e24;
  font-weight: 500;
  font-size: 1.8rem;
  padding: 1rem 0;
}

.dboard-box-flex {
  display: flex;
  align-items: center;
}

.dboard-box {
  padding: 3rem 1rem 1rem;
  background: #a3a3a3;
  color: #fff;
  display: inline-block;
  min-width: 150px;
  text-align: center;
  position: relative;
  height: 80px;
  margin: 0 0.1rem;
}

.dboard-box-line {
  background: #fff;
  color: #363637;
  border : 1px solid #363637;
}

.dboard-box-red {
  background: #ae1e24;
}

.dboard-box-org {
  background: #db4f28;
}

.dboard-box-title {
  position:absolute;
  top:0;
  left: 0;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.5rem 0;
  width: 100%;
}

.dboard-box-num {
  font-size: 2.4rem;
}

.dboard-box-num-s {
  font-size: 1.8rem;
}

.dboard-box-text-s {
  font-size: 1rem;
}

.dboard-info-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
}

.group-header {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 1px solid #ae1e24;
  font-size: 2rem;
  font-weight: 500;
}

.group-detail {
  margin-bottom: 2rem;
}

.count-flex {
  display: flex;
  align-items: center;
}

.count-box {
  margin: 0.1rem 1rem;
  min-width: 130px;
  text-align: center;
  border: 1px solid #ae1e24;
}

.count-box:first-child{
  margin-left: 0;
}

@media screen and (max-width: 640px) {
  .count-flex {
    flex-flow: wrap;
  }
  .count-box {
    margin: 0.5rem 1rem;
  }
}

.count-title {
  font-size: 1.2rem;
  padding: 0.2rem 0;
  background: #ae1e24;
  color: #fff;
}

.count-text {
  padding: 0 1rem;
}

.hr-short {
  padding: 0;
  margin: 1rem 0;
  border-color: #ccc;
}

.data-table th, .data-table td {
  border: 1px solid #e8e8e8;
  text-align: center;
}

.data-table th {
  width: 20%;
  background: #ededed;
}

.data-table th.header {
  width: 10%;
  background: #ededed;
}

.data-no {
  display: none;
}

.data_open {
  display: block;
}

.data_inner {
  padding: 1rem 0;
}

.input_nbtn {
  background: none;
  padding: 0.2rem;
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
  line-height: 1.4rem;
}

.input_nbtn:hover {
  color: #fff;
}

/*モーダルを開くボタン*/
/*.modal-open{
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 50px;
  font-weight: bold;
  color: #fff;
  background: #000;
  margin: auto;
  cursor: pointer;
  transform: translate(-50%,-50%);
}*/

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 800px;
	width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	position:absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	background: #fff;
	text-align: left;
	padding: 30px;
}