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

.side-nav,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
    /*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;
}

.color-red {
  color: #ce0000
}

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



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-middle {
  font-size: 1.6rem;
  padding: 0 1rem;
  height: 4rem;
  line-height: 4rem;
}

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

.button-square {
  border-radius: 0;
}

.button-no {
  background-color:#6d7377;/*ch*/
  border:transparent;/*ch*/
  border-radius:50vh;/*ch*/
  color:#fff;
  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;
  margin-bottom: 0.5rem;
}

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

form {
  padding: 1rem;
}

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

@media screen and (max-width: 768px){
  .button-large {
    width: 100%;
    height: 7rem;
    line-height: 7rem;
    padding:0 1.0rem;
    letter-spacing: 0;
  }
  .button-middle {
    width: 100%;
    word-break: break-all;
    white-space:pre-line;
    height: auto;
    line-height: 3rem;
  }
  .input-flex {
    display: block;
  }
}

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

.label-text {
  font-size: 1.2rem;
  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: 768px) {
  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-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-middle-or {
  color: #f87d08;
  font-size: 3rem;
  font-weight: 500;
}

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

.text-notice-s {
  font-size: 1.4rem;
  padding: 1rem 0;
}

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

.content-block {
  padding: 1rem;
}

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

.content-box-m {
  width: 100%;
  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;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
  height: 300px;
}

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

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

.content-box-s {
  padding: 2rem;
  margin: 2rem;
  position: relative;
  border-radius: 10px;
  height: 200px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.content-box-title {
  font-weight: 500;
  color: #4b682e;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  height: 40px;
}

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

.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){
  .text-confirm-l {
      font-size: 2.4rem;
      font-weight: 500;
      color: #f87d08;
      word-break: break-all;
      overflow-wrap: break-word;
    }
  .small-block, .middle-block {
    width: 100%;
  }
  
  .content-flex {
    flex-direction: column;
  }
  
  .content-box-s {
    margin: 1rem;
    width: calc(50% - 4rem);
    height: auto;
  }
  .sptext-middle-or {
    color: #f87d08;
    font-size: 2rem;
    font-weight: 500;
  }
  .text-middle-or {
    font-size: 2.4rem;
  }
  .small-inline {
    display: inline;
  }
}

.page-title {
  letter-spacing: 0.2rem;
  padding: 1rem 0;
  position: relative;
}

.page-title::after {
  content: '';
  display: block;
  width: 85px;
  height: 5px;
  background: #8dba30;
  margin-top: 30px;
  border-radius: 50vh;
}

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

.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;
  position: relative;
}

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

.grid-item6 {
  grid-area: grid6;
}

.grid-item7 {
  grid-area: grid7;
}

@media screen and (max-width: 768px){
  .grid-containar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "grid1"
      "grid2"
      "grid3"
      "grid4"
      "grid5"
      "grid6"
      "grid7";
  }
  .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-text-large {
    font-size: 3.2rem;
  }
}

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

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

.affili-grid-item {
  border-radius: 10px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
  padding: 2rem;
  background: #fff;
  position: relative;
}

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

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

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

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

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

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

.list-content-title {
  font-size: 2rem;
  color: #4b682e;
}

.list-content {
  border-radius: 10px;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
  padding: 2rem;
  background: #fff;
  position: relative;
  margin: 2rem 0;
}

.list-inner {
  display: flex;
  align-items: center;
  margin: 2rem 0 3rem;
  border-top: 1px solid #e1e5dd;
  border-bottom: 1px solid #e1e5dd;
  position: relative;
  padding: 0 0 0 30px;
}

.list-no {
  position: absolute;
  top:0;
  left: 0;
  font-size: 1.8rem;
  color: #fff;
  background: #4b682e;
  width: 30px;
  height: 30px;
  text-align: center;
}

.list-box {
  margin: 1rem;
  flex-basis: calc(20% - 4rem);
  padding: 1rem 0;
}

.list-weight {
  color: #f87d08;
  font-weight: 500;
  font-size: 1.8rem;
}

@media screen and (max-width: 768px){
  .list-inner {
    width: 100%;
    flex-flow: wrap;
    align-items: flex-start;
  }
  .list-box {
    padding: 0.5rem 0;
    flex-basis: calc(50% - 4rem);
  }
}

.list-title {
  font-size: 1.2rem;
  color: #4b682e;
}

.content-menu {
  display: flex;
  background: #4b682e;
  margin-bottom: 2rem;
  justify-content: space-between;
}

.content-menu a {
  width: 50%;
  padding: 2rem 1rem;
  background: #4b682e;
  color: #fff;
  font-size: 1.4rem;
}

.content-menu a.not {
  background: #bbd54c;
}

.content-menu a.not:hover {
  background: #f87d08;
}

@media screen and (max-width: 768px){
  .content-menu {
    bottom: -10px;
  }
}

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

.registration-flex {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
}

.registration-block {
  padding: 1rem 0 2rem;
  position: relative;
  flex-grow: 1;
}

.informtion-list {
  padding: 1rem 0.5rem;
}

.informtion-title {
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px dotted #8dba30;
  letter-spacing: 0.1rem;
}

.information-text {
  padding: 2rem 2rem 3rem;
}

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

.qrcode {
  width: 80px;
}

.qrcode-large {
  width: 120px;
}

.url-text {
  word-break:break-all;
  font-size: 1.4rem;
}

.content-block-sd {
  padding: 3rem 2rem;
  margin: 2rem 1rem;
  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;
}

.reward-img01 {
  width: 500px;
}

.reward-img02 {
  width: 600px;
}

@media screen and (max-width: 768px){
  .content-block-sd {
    margin: 2rem 0;
  }
  .reward-img01, .reward-img02 {
    width: 100%;
  }
  .registration-flex {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start
  }
}

.btn-box {
  padding: 1rem 0;
}

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

.icon-outlined {
  display: inline-flex;
  vertical-align:middle;
}

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

.back-block {
  margin: 3rem 0;
  padding: 1rem 0;
  text-align: center;
}

.back-block-left {
  text-align: left;
}

.back-block a span.material-icons{
  display: inline-flex;
  vertical-align: middle;
  margin-top: -0.3rem;
}

.diag_open{
  display: block;
}

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

/* --- Purchase History System (PHS) Styles --- */

.phs-container {
    width: 100%;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* カード全体の基本設定 (PC) */
.phs-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* ヘッダー (PC) */
.phs-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* ステータスカラー設定 */
.phs-status-0 { color: #f87d08; }  /* APPLY */
.phs-status-1 { color: #f6b827; }  /* TXID Send */
.phs-status-2 { color: #8dba30; }  /* complete */
.phs-status-99 { color: #ce0000; } /* cancel */

/* ボディ (PC) */
.phs-body {
    padding: 0.5rem 1.5rem;
}

/* PCでは横並びを基本とする */
.phs-row {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px dashed #eee;
}

.phs-row:last-child {
    border-bottom: none;
}

/* 各カラムの幅調整 (PC) */
.phs-col {
    flex: 1;
    min-width: 120px;
}

.phs-col-wide {
    flex: 2; /* 商品名やアドレスなどは広めに */
}

.phs-col label {
    display: block;
    color: #666;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

/* アドレス・TXIDのグレー背景ボックス */
.phs-address, .phs-txid {
    word-break: break-all;
    background: #f9f9f9;
    padding: 0.6rem;
    border-radius: 4px;
    border: 1px solid #eee;
    display: block;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
}

/* フッター・ボタン (PC) */
.phs-footer {
    padding: 1rem 1.5rem;
    background: #fdfdfd;
    text-align: right;
    border-top: 1px solid #eee;
}

.phs-btn-action {
    display: inline-block;
    background-color: #f87d08; /* ポイントカラー */
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.phs-btn-action:hover {
    background-color: #4b682e; /* メインカラー暗 */
    transform: translateY(-1px);
}

/* --- スマホ対応 (Mobile Override) --- */
@media (max-width: 767px) {
    .phs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .phs-row {
        flex-direction: column; /* スマホでは縦並び */
        gap: 1rem;
    }

    .phs-col {
        width: 100%;
        min-width: auto;
    }

    .phs-footer {
        text-align: center; /* スマホではボタンを中央に */
    }

    .phs-btn-action {
        display: block; /* スマホではボタンを全幅に */
        width: 100%;
        box-sizing: border-box;
    }
}

/* アドレス全体を包む外枠 */
.phs-address-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.3rem; /* ラベルとの間隔を少し詰める */
}

/* グレーの枠：余白をさらに小さく（タイトに） */
.phs-address-group {
    display: inline-flex; 
    align-items: center; /* 垂直方向中央 */
    background: #f4f4f4;
    border: 1px solid #eee;
    border-radius: 3px; /* 少し角を鋭角にしてタイト感を出す */
    padding: 0 6px;   /* 上下2px、左右6pxに縮小 */
    max-width: 100%;
}

.phs-address {
    word-break: break-all; 
    color: #333;
    margin-right: 6px;  /* 文字とボタンの間隔も詰める */
    display: block;
}

.phs-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #8dba30;
    display: inline-flex; /* flexからinline-flexに変更 */
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    /* アイコンが上に浮いて見える場合の微調整 */
    position: relative;
    top: 3px; /* 1px〜2px 下げることで視覚的な中央を合わせる */
}

.phs-copy-btn:hover {
  background: none;
  color: #f87d08;
}

.phs-copy-btn .material-icons {
    font-size: 16px; /* アイコンを少し小さくしてタイトに */
    display: block;
}

/* スマホ用の微調整 */
@media (max-width: 767px) {
    .phs-address-group {
        display: flex;
        width: 100%;
    }
}

/* 確認中メッセージのスタイル */
.phs-verifying {
    color: #f87d08; /* ポイントカラー（オレンジ系）で注意を引く */
    margin-left: 8px;
    font-size: 1.2rem; /* ラベルより少しだけ小さく、または同等に */
}

/* ついでに、TXIDセクションもアドレスと同じデザインを適用 */
.phs-payment-info .phs-address-group {
    background: #fff9f0; /* 確認中であることが分かりやすいよう、少し色を変えてもOK */
    border-color: #ffe0b2;
}

/* status 0(APPLY) または 1(TXID Send) の時に背景を薄い黄色に */
.phs-status-row-0,
.phs-status-row-1 {
    background-color: #fffdf1; /* 非常に薄い黄色 */
    border-color: #f6b827;    /* 枠線を少しポイントカラーに寄せる */
}

/* status 99(Cancel) の時に取り消し線を入れる */
.phs-status-row-99 {
    background-color: #f5f5f5; /* キャンセルはグレーアウト */
    opacity: 0.7;             /* 全体を少し薄くする */
    position: relative;
}

/* 文字への取り消し線（ラベル以外に適用） */
.phs-status-row-99 .phs-body div, 
.phs-status-row-99 .phs-body span {
    text-decoration: line-through;
    text-decoration-color: #ce0000; /* 取り消し線を赤に（任意） */
}

/* ただし、ラベルやコピーボタンのアイコン、ステータス表示は線なしにする */
.phs-status-row-99 label,
.phs-status-row-99 .material-icons,
.phs-status-row-99 .phs-status {
    text-decoration: none !important;
    display: inline-block; /* 取り消し線の継承防止用 */
}

/* キャンセル時のヘッダー色 */
.phs-status-row-99 .phs-header {
    background-color: #eeeeee;
}

.phs-status-row-99 .phs-copy-btn {
    display: none;
}

/* ステータス全体のコンテナ */
.phs-status-container {
    display: inline-flex;
    align-items: center; /* 垂直方向中央揃え */
    gap: 4px; /* アイコンと文字の間隔 */
}

/* アイコンのスタイル */
.phs-status-icon {
    font-size: 18px; /* 文字より少し大きく、または同等に */
    line-height: 1;
}

/* 文字のスタイル（既存のを流用） */
.phs-status-text {
    /* 以前定義した text-weight などが効きます */
}

/* --- ステータスごとの色分け (再掲・微調整) --- */

/* 0: APPLY (待機中・黄色系) */
.phs-status-0 { color: #f6b827; } 

/* 1: TXID Send (確認中・オレンジ系) */
.phs-status-1 { color: #f87d08; } 

/* 2: Complete (完了・緑系) */
.phs-status-2 { color: #8dba30; } 

/* 99: Cancel (キャンセル・赤系) */
.phs-status-99 { color: #ce0000; } 

/* Unknown (不明・グレー) */
.phs-status-container:not([class*="phs-status-"]) { color: #888; }