/* Miligram overrides */
body {
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;/*ch*/
  font-weight: 400;
  color:#2e2f31;/*add*/
  letter-spacing: 0.1rem;/*add*/
}

.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
  letter-spacing: 0.1rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #8dba30;
  font-weight: 500;
}

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

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

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #4b682e;
}
.top-nav-links a:hover,
.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#8dba30;
}

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

/* Main */
body {
    background: #f4f5f2;
}
.container {
  margin:0 auto;
  max-width:100%;/*ch*/
  padding:0 2.0rem;
  position:relative;
  width:100%
}
.content {
    padding: 2rem;
    background: #ffffff;
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
.actions a:first-child {
    padding-left: 0;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;/*ch*/
    padding: 1rem 2rem;
    margin: 0 auto;
}
.top-nav img {
  width: 50px;
}
.top-nav-title {/*add*/
  display: flex;
  align-items:center;
}
.top-nav-title h2 {
  padding: 0;
  margin: 0;
}
.top-nav-links a {
    margin: 0;
  padding: 0 1rem;/*add*/
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* 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";
    }
}

.button,button,input[type='button'],input[type='reset'],input[type='submit']{
  background-color:#f87d08;/*ch*/
  border:transparent;/*ch*/
  border-radius:50vh;/*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:#f6b827;
  border-color:#f6b827;
  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:#f87d08;
  border-color:#f87d08
}

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*/
}

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
}

select{
  padding-right:3.0rem
}

textarea{
  height:auto/*ch*/
}

th {
  font-size: 1.2rem;
}

td {
  font-size: 1.4rem;
}

.error-message {
  color: #ce0000;
  font-size: 1.2rem;
  padding-top: 0.5rem;
}


/*
#f6b827,#f87d08,#8dba30,#4b682e,#bbd54c
#606c76,#ce0000
*/
/*********************************/

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

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

.column-main {
  width: 85%;
  flex-grow: 1;
  background: #fff;
}

.column-side {
  width: 15%;
  background: #8dba30;
  box-sizing: border-box;
}

.nav-side {
  background: #8dba30;
}

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

.nav-side ul li {
  margin: 0;
  background: #8dba30;
  border-bottom: 1px dotted #fff;
}

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

.nav-side ul li a:hover {
  background: #bbd54c;
}

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

.nav-side ul li.nav-per {
  background: #4b682e;
  display: block;
  border-bottom: none;
}

.content-containar {
  padding: 1rem;
}

.button-large {
  min-width: 300px;
  max-height: 100%;
}

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

.button-gray {
  background: #6d7377;
}

.button-red {
  background: #ce0000;
}

.button-green {
  background: #8dba30;
}

.button-darkgreen {
  background: #4b682e;
}

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

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

.input-block {
  padding: 1rem 0;
}

.display-block {
  padding: 1rem 0 2rem;
}

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

@media screen and (max-width: 640px) {
  .button-large {
    width: 100%;
    height: 7rem;
    line-height: 7rem;
    padding:0 1.0rem;
  }
  .input-flex {
    flex-direction: column;
  }
}

.input-area {
  padding: 0;
  margin: 0;
}

.label-text {
  font-weight: 500;
}

.input-help-text {
  color: #6d7377;
  font-size: 1.4rem;
}

input[type='text'].input-small, input[type='number'].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, input[type='search'].input-middle, {
  display: inline-block;
  width: 30rem;
  max-width: 100%;
}

input[type='text'].input-large, input[type='search'].input-large {
  display: inline-block;
  width: 50rem;
  max-width: 100%;
}

@media screen and (max-width: 640px) {
  input[type='text'].input-middle, input[type='password'].input-middle, input[type='tel'].input-middle, input[type='date'].input-middle, input[type='text'].input-large {
    width: 100%;
  }
}

input[type='date'] {
  padding: 1.2rem 1rem;
}

.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: '-optional';
  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;
}

.text-block {
  padding: 1rem;
}

.text-block-yel {
  background: #f6b827;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 3rem;
}

.text-large {
  font-size: 3rem;
}

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

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

.text-num-large {
  font-size: 3rem;
  font-weight: 600;
}

.text-confirm {
  font-size: 2.4rem;
  font-weight: 500;
  color: #4b682e;
}

.text-confirm-l {
  font-size: 3rem;
  font-weight: 500;
  color: #f87d08;
}

.text-warning {
  color: #ce0000;
  font-weight: 500;
}

.text-success {
  font-size: 3rem;
  color: #f87d08;
  padding: 2rem 0;
  text-align: center;
}

.btn-block {
  padding: 1rem 0;
  margin: 1rem 0;
}

form {
  padding: 0;
  margin: 0;
}

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

.content-block {
  padding: 1rem;
}

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

.flex-bw{
  justify-content: space-between;
}

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

.flex-align-base{
  align-items: baseline;
}

.content-bw {
  position: relative;
}

.content-line {
  padding: 5rem 3rem 3rem;
  margin-bottom: 3rem;
  border: 1px solid #dfe5d4;
  position: relative;
}

.content-label {
  position: absolute;
  top:0;
  left: 0;
  background: #4b682e;
  color: #fff;
  height: 3rem;
  line-height: 3rem;
  padding: 0 1rem;
  width: 200px;
}

.position-right {
  position: absolute;
  right: 0;
  bottom: 0;
}

.small-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50rem;
  margin: 0 auto;
}

.small-block img {
  width: 200px;
}

.underline-bold {
  border-bottom: 2px solid #4b682e;
}

.underline-dotted {
  padding: 1rem 0;
  border-bottom: 1px dotted #4b682e;
}

.page-title {
  position: relative;
  letter-spacing: 0.2rem;
  border-bottom: 5px solid #4b682e;
  padding: 1rem 0;
}

.page-title::before {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 10%;
  height: 5px;
  content: '';
  background: #bbd54c;
}

.page-menu-block{
  border-bottom: 3px solid #4b682e;
  margin-bottom: 3rem;
}

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

.page-menu li {
  flex-grow: 1;
  border: 1px solid #4b682e;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-menu li a{
  display: block;
  background: #8dba30;
  padding: 1rem;
  color: #fff;
}

.page-menu li a:hover{
  background: #bbd54c;
}

.page-menu li a.active {
  background: #4b682e;
}

.content-title {
  position: relative;
  letter-spacing: 0.2rem;
  border-bottom: 3px solid #4b682e;
  padding: 1rem;
  color: #4b682e;
}

.content-card {
  border: 1px solid #f4f4f4;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.content-detail {
  display: flex;
}

.content-detail-line {
  border-bottom: 1px dotted #4b682e;
  margin-bottom: 2rem;
}

.content-detail li{
  list-style: none;
  width: 20%;
}

.content-detail-caption {
  font-size: 1.2rem;
  color: #606c76;
}

.content-detail-s {
  padding: 1rem;
  background: #f4f5f2;
  font-size: 1.3rem;
}

.item-box {
  margin: 0 2rem;
}

.item-label-s {
  font-size: 1.2rem;
  color: #606c76;
  padding: 0;
  margin: 0;
  height: 2rem;
}

.box-large {
  width: 300px;
}

.box-bottom {
  height: 4rem;
  display: flex;
  align-items:center;
}

.table-box {
  margin: 0 2rem;
}

.caption_text {
  background: #ce0000;
  color: #fff;
  padding: 2rem 1rem;
  margin: 1rem 0;
}

/**/
.grid-containar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grid-item {
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 2rem;
  background: #fff;
  margin: 1rem 0;
  grid-column: auto;
}

.grid-item-long {
  grid-column: 1 / 3;
}

.grid-subitem {
  border-radius: 10px;
  padding: 2rem;
  background: #fff;
  grid-column: auto;
}

.grid-icon {
  color :#4b682e;
}

.grid-title, .grid-block-title {
  font-weight: 500;
  font-size: 1.3rem;
  color :#4b682e;
}

.grid-text {
  font-size: 1.2rem;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
  padding: 1rem 0;
}

.grid-text-large {
  color: #f87d08;
  font-size: 4rem;
  font-weight: 500;
}

.grid-text-middle {
  color: #f87d08;
  font-size: 3rem;
  font-weight: 500;
}

.grid-text-small {
  color: #f87d08;
  font-size: 2rem;
  font-weight: 500;
}

.grid-color-g {
  background: #fbffeb;
}

.grid-btn {
  padding: 2rem 0 0;
}

.grid-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grid-in-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}

.grid-block {
  border-radius: 10px;
  padding: 1rem;
}

.grid-block-flex {
  display: flex;
  align-items: flex-end;
}

.grid-icon .material-icons {
  font-size: 48px;
  color: #bbd54c;
}

.grid-block-line {
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
  padding: 1rem 0;
  margin: 1rem 0;
  text-align: center;
}

.check-item {
  border-radius: 10px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07),
        0 3px 3px 0 rgba(0, 0, 0, 0.07);
  padding: 2rem;
  margin-bottom: 2rem;
  background: #ce0000;
  color: #fff
}

.check-item-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.check-item-text {
  padding: 1rem 0;
  border-bottom: 1px dotted #fff;
  display: flex;
  align-items: center;
}

.check-item-text span.material-icons {
  margin-left: 1rem;
  display: inline-block;
}

.list-title {
  display: inline-flex;
  align-items: center;
  color: #8dba30;
  font-size: 2rem;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
}

.unit-text {
  font-size: 1.2rem;
  color: #606c76;
}

.qrcode {
  width: 80px;
}

.icon-inline {
  display: inline-flex;
  align-items: center;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.color-green {
  color: #8dba30
}

.color-darkgreen {
  color: #4b682e
}

.color-yel {
  color: #f6b827
}

.color-white {
  color: #fff
}

.color-red {
  color: #ce0000
}

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

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

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

.breadcrumbs li a {
  color: #fff;
}