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

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: #e8e9e3;
}
.container {
  margin:0 auto;
  max-width:100%;/*ch*/
  padding:0 2.0rem;
  position:relative;
  width:100%;
  margin: 2rem 0;
}

@media screen and (max-width: 768px) {
  .container {
    margin: 0 0 2rem;
  }
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07),
        0 3px 3px 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;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-c {/*add*/
  justify-content: center;
}
.top-nav img {
  width: 100px;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
  
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.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{
  min-height:6.5rem
}


.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;
}

.column-main {
  width: 80%;
  flex-grow: 1;
  border-radius: 10px;
}

.column-side {
  width: 17%;
  box-sizing: border-box;
  background: #8dba30;
  border-radius: 10px;
  margin: 2rem 0 2rem 2rem;
  background: rgb(141,186,48);
  background: linear-gradient(0deg, rgba(141,186,48,1) 0%, rgba(187,213,76,1) 100%);
}

.side-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 2rem 0;
}

.side-box img {
  width: 100px;
}

@media screen and (max-width: 768px){
  .warp {
    margin: 0
  }
  .colum-row {
    flex-direction: column;
  }
  
  .column-main {
    width: 100%;
  }
  
  .column-side {
    width: 100%;
  }
}

.nav-side {
  margin: 2rem;
}

.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: #bbd54c;
  border-radius: 30px;
  padding: 2rem;
}

.header {
  background: #4b682e;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07),
        0 3px 3px 0 rgba(0, 0, 0, 0.07);
  height: 60px;
  display: flex;
  justify-content: space-between;
}

.header-title {
  color: #fff;
  letter-spacing: 0.2rem;
  font-size: 2.2rem;
}

.header a {
  color: #fff;
}

@media screen and (max-width: 768px){
  .header {
    margin: 2rem 0;
  }
  
}

.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-green {
  background: #4b682e;
}

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

a span.material-icons {
  margin-right: 0.5rem;
}

form {
  padding: 1rem;
}

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

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

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

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

@media screen and (max-width: 768px){
  .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-size: 1.4rem;
  font-weight: 500;
}

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

 input[type='number'].input-mini {
  display: inline-block;
  width: 15rem;
  max-width: 100%;
}

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 {
  display: inline-block;
  width: 30rem;
  max-width: 100%;
}

input[type='text'].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-middle {
  font-size: 2rem;
}

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

.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;
}

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

.content-block {
  padding: 1rem;
}

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

.content-box-m {
  width: 200px;
  padding: 2rem;
  margin: 2rem;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.icon-middle {
  width: 70px;
  margin: 1rem 0;
}

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

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

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

@media screen and (max-width: 768px){
  .small-block {
    width: 100%;
  }
}

.page-title {
  letter-spacing: 0.2rem;
}

/**/
.grid-containar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  grid-template-areas:
    "grid1 grid1 grid2 grid2"
    "grid3 grid3 grid4 grid5";
}

.grid-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;
  background: #fff;
}

.grid-item1 {
  grid-area: grid1;
}

.grid-item2 {
  grid-area: grid2;
}

.grid-item3 {
  grid-area: grid3;
}

.grid-item4 {
  grid-area: grid4;
}

.grid-item5 {
  grid-area: grid5;
}

@media screen and (max-width: 768px){
  .grid-containar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "grid1"
      "grid2"
      "grid3"
      "grid4"
      "grid5";
  }
  .grid-item {
    word-break: break-all;
  }
}

.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;
}

@media screen and (max-width: 768px){
  .grid-in {
    grid-template-columns: 1fr;
  }
}

.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;
}

.p-sub {
  display: inline-block;
  font-size: 1rem;
  background: #ccc;
  border-radius: 50vh;
  padding: 0.5rem;
  color: #fff;
  text-align: center;
}

.profile-name {
  font-size: 2rem;
  color: #f87d08;
}

.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: rgba(206, 0, 0, 0.5);
  color: #fff
}

.check-item-title {
  color: #ce0000;
  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;
}

.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-yel {
  color: #f6b827
}

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

/*　ハンバーガーメニューボタン　*/
.sp-menu {
  display : block;
  position: fixed;
  z-index : 3;
  right : 20px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.sp-menu span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #bbd54c;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.sp-menu span:nth-child(1) {
  top: 10px;
}
.sp-menu span:nth-child(2) {
  top: 20px;
}
.sp-menu span:nth-child(3) {
  top: 30px;
}

/* スマホメニューを開いてる時のボタン */
.sp-menu.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.sp-menu.active span:nth-child(2),
.sp-menu.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: #bbd54c;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: all 0.6s;
}

nav.globalMenuSp ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0 0 0 3rem;
  margin: 0;
  width: 100%;
  font-size: 2rem;
  transition: .4s all;
  display: flex;
  align-items: center;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#8dba30;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1rem 0;
  margin: 0;
  text-decoration :none;
}

nav.globalMenuSp ul li a span.material-icons {
  margin-right: 2rem;
  margin-top: -0.5rem;
  font-size: 28px;
  display: inline-flex;
  vertical-align: middle;
  padding: 0;
}

/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
  transform: translateX(0%);
}

.pc-none {
  display: none;
}

@media screen and (max-width: 768px){
  .sp-none {
    display: none;
  }
  .pc-none {
    display: block;
  }
}