header{
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  width: 100%;
}





main{
  margin: 0;
  padding-bottom: 50px;
  background-color: var(--color-main);
}
div#header-logo{
  width: 120px;
}
div#header-logo img {
  width: 100%;
}


@media screen and (max-width: 639px) {
  div#header-logo{
    width: 100px;
  }
  main{
    padding: 20px;
  }
}

div.bottom-message{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #000;
  color: #fff;
  opacity: .9;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
div.bottom-message button{
  font-size: 1.2em;
  padding: 8px 20px;
  border-radius: 5px;
  background-color: #fff;
  color: #000;
  }
div.list{
  width: 100%;
  display: flex;
   flex-direction: column;

}

div.list div.list-item{
  width: 100%;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #eee;
  margin: 10px 0;
  padding-bottom: 20px;
}

div.list div.list-item:last-child{
  border-bottom: none;
}

div.list div.list-item div.text{
  width: 500px;
  padding: 20px;
}
div.list div.list-item.no-img div.text{
  width: 100%;
}

div.list div.list-item div.image{
  width: 300px;
  padding: 20px;
}
div.list div.list-item div.image img{
  width: 100%;
}

div.list div.list-item div.text div.title{
  font-size: 1.5em;
  line-height: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}
div.list div.list-item div.text div.sub-title{
  margin-bottom: 30px;
  font-size: .9em;
}
div.list div.list-item div.text div.price{
  font-size: 1.5em;
  text-align: right;
  font-weight: bold;
}

div.list div.list-item div.text div.input{

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
div.list div.list-item div.text div.input input{
  width: 65px;
  display: block;
  border: 1px solid #e6e6e6;
  color: #000;
  border-radius: .2em;
  background: #f9f9f9;
  box-sizing: border-box;
  font-size: 1em;
  padding: 10px;
  text-align: center;
  box-sizing: b

}

@media screen and (max-width: 639px) {
  div.list div.list-item{
    margin: 0;
    flex-direction: column;
    padding-bottom: 10px;
  }


  div.list div.list-item div.text{
    width: 100%;
    padding: 20px 10px;
  }
  div.list div.list-item div.text div.title{
    font-size: 1.3em;
  }
  div.list div.list-item div.text div.sub-title{
    margin-bottom: 10px;
    font-size: .9em;
  }
  div.list div.list-item div.image{
    width: 100%;
    padding: 0;
  }
  div.list div.list-item div.text div.price{
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: right;
    font-weight: bold;
  }
}
div.input div.c-icon{
  margin: 0 10px;
  font-size: 2em;
  cursor: pointer;
}

div.map-image{
  width:  480px;
  max-width: 100%;
}
div.map-image img{
  width: 100%
}
section.payment_form_body{
  display: flex;
  flex-direction: column;
  flex-wrap: no-wrap;
  justify-content: space-between;
  padding: 10px;
  padding-top: 20px;

}
div.form-box-item-wrap{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 20px;
  padding: 0 20px;
}
.form-box-item{
  margin-right: 20px;
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-box-item.big{
  width: 60%;
}
.form-box-item:last-child{
  margin-right: 0;
}
.form-no-wriap{
  display: flex;
  flex-direction: row;
  flex-wrap: no-wrap;
  align-items: center;
}
.label-def{
  font-size: .8em;
  margin-bottom: 5px;
}
.btns{
    width: 100%;
    text-align: center;
    margin: 20px 0
}
.thanks{
  margin-bottom: 10px;
}
.thanks p{
  margin-bottom: 2em;
  line-height: 1.2em;
}

div.order-list{
  display: flex;
  flex-direction: column;
  padding: 20px;
}

div.order-item{
  display: flex;
  flex-direction: row;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

div.order-item.header{
  font-size: 5px;
  font-size: .8em;
}
div.order-item.total{
  border-top: 3px solid #000;
  font-size:.8em;
}
div.order-item div.name{
  width: 500px;
}
div.order-item div.name{
  width: 620px;
}

div.order-item div.unit{
  width: 80px;
  text-align: right;
}

div.order-item div.price,
div.order-item div.tax{
  width: 100px;
  text-align: right;
}

div.order-item.total div.price{
  font-size: 1.4em;
  font-weight: bold;
}
div.order-item.total div.unit{
  font-size: 1.4em;
  font-weight: bold;
}
div.paybutton{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.paybutton button{
  font-size: 1.2em;
  padding: 10px;
  border-radius: 5px;
}
footer{
  height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;


}
footer div.footer-info{
  font-size: .8em;
  line-height: 1.5em;
  margin-left:35px;
}
footer div.footer-info a{
  color: #333;
}
@media screen and (max-width: 639px) {
  footer{
    display: flex;
    height: auto;
    flex-direction: column-reverse;
    align-items: center;
  }
  footer div.footer-info{
    width: 90%;
    margin-bottom: 20px;
    margin-left:0;
  }
}

@media screen and (max-width: 639px) {
  div.order-list{
    font-size: .9em;
    padding: 10px;
  }
  div.order-item div.name{
    width:  200px;
  }
  div.order-item div.unit{
    width: 50px;
  }
  div.order-item div.price,
  div.order-item div.tax{
    width: 80px;
  }
  div.form-box-item-wrap{
    flex-direction: column;
    margin-bottom:  0;
  }
  div.form-box-item{
    width: 100%;
    margin-bottom: 10px;
  }

  div.bottom-message{

  }
  div.bottom-message button{
    font-size: 1em;
    padding: 8px ;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
  }

}

div.success{
  margin-top: 20px;
  text-align: center;
}

div.uniq-id{
  margin: 30px 0;
  font-size:2em;
  font-weight: bold;
}

div.status{
  font-size: 2em;
  color: var(--color-main);
  font-weight: bold;
}

div.success div.list{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
div.list div.trade-item{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  width: 100%;
}
div.list div.trade-item:last-child{
  border-bottom: none
}

div.trade-item div.label{
  font-size:.8em;
  width: 150px;
  margin-right: 20px;
  box-sizing: border-box;
  text-align: right;
}

div.trade-item div.order-item-inlist{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  box-sizing: border-box;
  width:  550px;
  border-bottom: 1px solid #ddd;
  padding: 10px 0 5px 0;
  font-size: .9em;
}
div.trade-item div.order-item-inlist:first-child{
  padding-top: 0;
}
div.trade-item div.order-item-inlist:last-child{
  border-bottom: none
}

div.trade-item div.order-item-inlist div.name{
  flex: 1 1 auto;
  text-align: left;
  margin-right: 10px;
}
div.trade-item div.order-item-inlist div.unit{
  flex: 0 1 auto;
  margin-right: 20px;
  text-align: right;
}
div.trade-item div.order-item-inlist div.price{
  flex: 0 1 auto;

  text-align: right;
}

div.pickup{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
div.pickup div.text{
  text-align: center;
  width: 350px;
  line-height: 1.4em;
  padding: 0 20px;
}
div.pickup div.text p a{
color:var(--color-main);
}

div.pickup div.text p{
  margin-bottom: 20px;
}

div.success p.notice{
  margin-top: 20px;
    color:var(--color-main);
    font-weight: bold;
}
div.pickup div.text p.notice{
  color:var(--color-main);
  font-weight: bold;
}
@media screen and (max-width: 639px) {
div.list div.trade-item{
    flex-direction: column;
    align-items: flex-start;
  }
  div.trade-item div.label{
    width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: left;
    font-weight: bold;
  }
  div.trade-item div.order-item-inlist{
    width: 100%;
  }
  div.pickup{

    flex-direction: column;

  }
  div.pickup div.text{
    width: 100%;
    margin-bottom: 20px;
  }
  div.pickup div.image img{
    width: 100%;
  }
}
div.delivery-message{
  margin-bottom: 40px;
  width: 100%;
  font-size: .8em;
  padding: 0 20px;
  line-height: 1.2em;
}
p.status-message{
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
}
div.checkbox{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.check-parts {
    padding-left: 25px;
    position: relative;
    display: flex;
    align-items: center;
    height: 20px;
    padding-top: 3px;
}
.check-parts::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1px solid #ccc;
    border-radius: 0;
    transition: all .2s;
}
.form-check:checked+.check-parts::before {
    border-color: var(--color-selected);
    background: var(--color-selected);
    transition: all .2s;
}
.form-check:checked+.check-parts::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    transform: rotate(40deg);
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transition: all .2s;
}
