/* validation */
p.error-field {
	margin-top:0px;
	color: red;
}
p.require-field {
	margin-top:0px;
	font-size: 12px;
	color: red;
	border: 0 !important;
	background-color: transparent !important;
}
p.is_error {
	margin-top:0px;
	margin-bottom:0px;
	color: red;
	font-size: 12px;
	border: 0 !important;
	background-color: transparent !important;
}

input.error-field {
	background-color: #ffebeb !important;
	border: 1px solid #f23a3a !important;
}

input.require-field {
	background-color: #ffebeb;
	border: 1px solid #f23a3a;
}

select.error-field {
	background-color: #ffebeb !important;
}

.error-field label:before {
	background-color: #ffebeb !important;
}

.error-field .checkbox_parts::before {
	background-color: #ffebeb !important;
}

.require-error-msg {
	background-color: #ffffff;
	color: red;
    margin: 0 auto;

}

.form-error-msg {
	background-color: #ffffff;
	color: red;
    margin: 0 auto;

}

.err_msg_box{
	background: #ffffff;
	max-width: 560px;
	margin: 0 auto;
	margin-top: 5%;
	text-align: center;
	padding: 2% 5%;
}

@media screen and (min-width: 769px) {
  .total_amount {
    display: block;
    font-size: 1vw;
    margin-top: 16px;
    line-height: 1;
  }
  .price {
    display: block;
    margin-top: 8px;
    margin-bottom: 10px;
    line-height: 1;
  }
  /* 支払総額 */
  .tax_included_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .tax_included_block_label {
    flex: 0 0 auto;
    transform: translateY(5px);
  }
  .tax_included_block_price {
    text-align: right;
    width: 100%;
  }
  .tax_included_block_price b {
    font-size: 30px;
  }
  /* 新着入庫トラックにだけ反映 */
  #newlist .detail_box {
    display: flex;
    flex-direction: column;
  }
  #newlist .top_new_btn_wrap {
    position: static !important;
  }
  #newlist .new_detail {
    display: flex;
    flex-direction: column;
    height: 100% !important; /* jsの高さ調整を実行すると問い合わせボタンが被るためheightを上書きし、ボタンのposition配置を辞めた */
    padding-bottom: 17px;
  }
  #newlist .price_box {
    border-top: solid 1px #EFEFEF;
    margin-top: 8px;
    padding-top: 4px;
  }
  #newlist .top_new_btn_wrap {
    margin-top: auto;
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
	.total_amount {
	display: block;
	font-size: 2.5vw;
	margin-top: 16px;
	line-height: 1;
}
.price {
	display: block;
	margin-top: 8px;
	margin-bottom: 10px;
	line-height: 1;
}
@media screen and (max-width: 768px){
	.total_amount {
		margin-top: 12px;
	}
}
/* 支払総額 */
.tax_included_block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.tax_included_block_label {
	flex: 0 0 auto;
	transform: translateY(2px);
}
.tax_included_block_price {
	text-align: right;
	width: 100%;
}
.tax_included_block_price b {
	font-size: 5.678vw;
}
/* 新着入庫トラックにだけ反映 */
#newlist .new_detail {
	padding-bottom: 10vw;
}
#newlist .price_box {
	border-top: solid 1px #EFEFEF;
	margin-top: 8px;
	padding-top: 4px;
}
}