@charset "UTF-8";

.item_box {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  margin: 2em 0;
}
.item_box.active {
  display: flex;
}
.item_box > span {
  width: 49%;
  margin: 0 0 1em !important;
  border: 1px solid #4591D5;
  padding: 0.5em;
  position: relative;
  /* padding-bottom: 80px; */
}
.item_box > span.error {
  border: none;
  width: 100%;
}
.item_box > span > label {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.item_box > span:nth-child(even) {
  margin-left: 2% !important;
}
.item_box > span.selected {
  border-width: 5px;
  background: #F4FAFF;
}

.item_box .mwform-checkbox-field-text {
  display: none;
}
.item_box > span input[type="checkbox"] {
  position: absolute;
  left: 0.5em;
  top: 0.5em;
}
.item_box > span p {
  margin: 0;
}
.item_box > span img {
  width: 100%;
}
.item_name {
  font-weight: bold;
  font-size: 1.2em;
  padding-left: 2em;
  display: block;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
.p-country-name {
  display: none;
}

.model_number {
  font-weight: bold;
  font-size: 1.2em;
}
.mw_wp_form_confirm .item_box {
  display: none;
}
.mw_wp_form_confirm .attention {
  display: none;
}
.mw_wp_form_confirm .form_ad_p1 {
  display: none;
}
.mw_wp_form_confirm .half_content br {
  display: none;
}

.item_comfirm {
  margin: 2em 0;
}
.c_item {
  display: flex;
  margin: 0 0 1em !important;
  border: 1px solid #4591D5;
  padding: 0.5em;
}
.c_item img {
  margin-right: 1em;
  height: 100px;
}
textarea[name=form_text] {
  padding: 5px;
}

.inputBox {
  margin-top: auto;
}

.inputBox span {
  font-weight: bold;
  margin-right: 10px;
}

.inputBox span:has(+ input:disabled) {
  opacity: 0.5;
}

.nameBox {
  display: flex;
  justify-content:flex-end;
  align-items: center;
  margin-top: 1em;
}
.nameBox span {
  font-weight: bold;
}
.inputName {
  display: flex;
  justify-content:flex-end;
  align-items: center;
}
.amountInput {
  text-align: center;
  border: 1px solid #333 !important;
  border-radius: 5px !important;
}

.valueCheck {
  background-color: #FFFFFF;
  color: #005BAC;
  border: 1px solid #005BAC;
}

.valueCheck:not(:hover):not(:active):not(.has-background) {
  background-color: #005BAC;
  color: #FFFFFF;
}

.mw_wp_form input[type=text].error, .mw_wp_form input[type=number].error, .mw_wp_form input[type=email].error, .mw_wp_form select.error {
  border: 2px solid #b70000;
  border-radius: 5px;
}
.amountInput.error {
  border: 2px solid #b70000 !important;
}
.mw_wp_form input[type=text].error, .mw_wp_form input[type=number].error, .mw_wp_form input[type=email].error, .mw_wp_form select.error {
  color: #333;
}

.inputCompanyName {
  display: flex;
  justify-content:flex-end;
}
@media screen and (max-width: 768px) {
  .item_box > span {
    width: 100%;
  }
  .item_box > span:nth-child(even) {
    margin-left: 0 !important;
  }
}

.job_code {
  flex-direction: column;
}
.job_code small {
  margin-top: 0.5em;
}
.mw_wp_form_confirm .job_code small  {
  display: none;
}
.attention {
  margin-top: 1em;
  text-align: center;
}
.attention div {
  text-align: left;
  display: inline-block;
}
.attention label {
  display: flex;
  align-items: center;
  justify-content: center;
}

input[name='agree[data][]'].error {
  border: 2px solid #b70000;
}
.item_box small {
  text-align: right;
}