/* Miligram overrides */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Zen Maru Gothic', sans-serif;
}

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

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

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

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

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

@media screen and (max-width: 640px) {
  /* Utility */
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Color */
.main_color {
  color: #ff7600;
}

.org_color {
  color: #ff7600;
}

.blue_color{
  color:#0068B6;
}

.black_color {
  color: #363637;
}

.red_color {
  color: #E60012;
}

/* Main */
body {
  background: #f5f7fa;
}
.main-menu {
  display: flex;
  justify-content: center;
  background: #6d6d6d;
  align-content:center;
  align-items: baseline;
}

.main-menu p {
  padding: 1rem 2rem;
  margin: 0;
}

.main-menu a {
  color: #fff;
}
.side {
  width: 200px;
}
.container {
  margin:0 auto;
  max-width:100%;
  padding:0 2.0rem;
  position:relative;
  width:100%
}
.content {
  padding: 2rem;
  background: #ffffff;
  border-radius: 0.4rem;
  /* Thanks Stripe */
  box-shadow: 0 2px 10x 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;
}
th {
  white-space: nowrap;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 0.5rem 0;
  border-top: 1px solid #ddd;
}

td {padding-left:0}

/*
td:first-child {
  width: 30%;
}
td:nth-of-type(2){
  width: 30%;
}
*/

table {
  letter-spacing: 0.1rem;
}

/* Nav bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  margin: 0 auto 2rem;
  background: #fff;
}
.top-nav-title img {
  width: 100px;
}
.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;
}

.error-message {
  color: #e60012;
}

/* 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;
  font-size: 1.4rem;
  font-weight: 400;
}
.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 {
  position: sticky;
  top: 100vh;
  width: 100%;
  background: #6d6d6d;
  padding: 3rem;
  text-align: center;
  color: #fff;
}

/*Page original*/
.base-box {
  padding: 2rem 3rem;
  margin-top: 3rem;
}

@media screen and (max-width: 640px) {
  .base-box {
    padding: 2rem 0.5rem;
  }
}

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

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

.base_panel {
  width: 100%;
  margin: 1rem;
  padding: 2rem;
  border: 1px #dddddd solid;
  border-radius: 10px;
  letter-spacing: 0.2rem;
  background: radial-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)), url(../img/ais-logo-b-w.svg) no-repeat right bottom;
  background-size: 30%;
}

@media screen and (max-width: 640px) {
  .concent_innser {
    padding: 0;
  }
  .base_panel {
    margin: 1rem 0;
  }
}

.base_panel_title {
  font-size: 2rem;
  background: #f5f5f5;
  padding: 1rem 1rem;
  color: #363637;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.base_panel_title_r {
  background: #cc1f1a;
  color: #fff;
}

.panel_s {
  width: 50%;
  margin: 1rem 1rem 1rem 2rem;
  background: none;
}

@media screen and (max-width: 640px) {
  .panel_s {
    width: 100%;
    margin: 0;
    margin: 1rem;
  }
}

.panel_title_m {
  color: #363637;
  font-size: 1.8rem;
}

.item_title {
  font-size: 1.4rem;
  display: block;
}

.item_box {
  padding: 0 2rem;
  border-left: 5px solid #8EC31F;
  width: 300px;
}

.item_box_red {
  padding: 0 2rem;
  border-left: 5px solid #ff7600;
  margin-bottom: 2rem;
}

.list_title {
  border-bottom: 1px solid #ddd;
}

.list_box {
  margin-top: 2rem;
}

.num_l {
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.num_m {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.num_s {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.wallet_no {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.back_btn {
  border-top: 3px solid #363637;
  display: block;
  padding: 2rem 0;
  letter-spacing: 0.2rem;
  margin-bottom: 3rem;
}

.tomoscan_btn {
  padding: 0.2rem 2rem;
  font-size: 1.4rem;
  background: #0dd1ab;
  color: #fff;
  margin-left: 3rem;
}

.operation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dotted #ddd;
}

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

.operation_btn:hover {
  color: #ff7600;
}

.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_b {
  padding: 3rem 0;
}

.big_btn {
  padding: 3rem 2rem;
  font-size: 2rem;
  letter-spacing: 0.3rem;
  background: #E60012;
  color: #fff;
  border-radius: 5px;
  margin: 0.5rem 0;
}

.big_btn-blue {
  background: #0068b6;
}

.btn_box_m {
  margin-bottom: 2rem;
}

.middle_btn {
  padding: 1rem 2rem;
  font-size: 2rem;
  letter-spacing: 0.3rem;
  background: #E60012;
  color: #fff;
  border-radius: 5px;
  margin: 0.5rem 0;
}

.token_info {
  display: flex;
  margin-bottom: 2rem;
}

.token_breakdown {
  display: flex;
  border-left: 2px dotted #ccc;
  margin-left: 2rem;
  padding: 0 2rem;
}

.token_breakdown_in {
  padding-right: 3rem;
}

@media screen and (max-width: 640px) {
  .token_info {
    flex-flow: column;
  }
  .token_breakdown {
    flex-flow: column;
    border-left: none;
    border-top: 2px dotted #ccc;
    margin-left: 0;
    margin-top: 2rem;
  }
  .token_breakdown_in {
    padding-top: 1rem;
    border-bottom: 1px solid #ccc;
  }
}

.info_txt {
  padding: 3rem 0;
  line-height: 3rem;
  font-size: 1.8rem;
}

.atten-txt {
  position: relative;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  border: 2px solid #cc1f1a;
  color: #cc1f1a;
  padding: 2rem 2rem;
  border-radius: 0 10px 10px 10px;
}

.atten-txt::before {
  font-size: 1.2rem;
  position: absolute;
  top: -14px;
  left: -2px;
  height: 24px;
  padding: 0 2rem;
  content: 'Messeage';
  color: #fff;
  border-radius: 10px 10px 10px 0;
  background: #cc1f1a;
}

.info-txt  {
  position: relative;
  letter-spacing: 0.1rem;
  color: #363637;
  background: rgba(199, 199, 199, 0.1);
  padding: 2rem 2rem;
  border-radius: 10px;
  margin: 1rem 0;
}

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

/* form */
.inputarea {
  padding-bottom: 2rem;
}

.helptext {
  font-size: 1.4rem;
  font-weight: 300;
}

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

.tag_base {
  background: #0068b6;
  color: #fff;
  font-size: 1.4rem;
  display: inline-block;
  padding: 0 1rem;
  margin-right: 0.3rem;
}

div.radio-big{
  width: 200px;
  float: left;
  height: 30px;
  padding-top: 5px;
  padding-bottom: 0px;
  margin-top: 16px;
}

.searcharea {
  width: 100%;
}

.search_form {
  display: flex;
  padding-top:1rem;
  vertical-align: middle;
}

/*検索ボックス*/
input[type='text'].search_word{
  background: #fff;
}
/*検索ボタン*/
.search_btn{
}

.loginarea {
  width: 400px;
  margin: 0 auto;
}

.btn_select {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.button,button,input[type='button'],input[type='reset'],input[type='submit']{
  background-color:#d33c43;
  border:0.1rem solid #d33c43;
  border-radius:.4rem;
  color:#fff;
  cursor:pointer;
  display:inline-block;
  font-size:1.6rem;
  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:#d33c43;
  border-color:#d33c43
}


/*ぱんくず*/

.breadcrumbs {
  list-style: none;
  font-size: 1.2rem;
  line-height: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
}

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

@media screen and (max-width: 1200px) {
  .breadcrumbs {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .breadcrumbs {
    width: 100%;
  }
}