@charset "UTF-8";

h1 {
  margin-top: 150px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--green);
}

h1 + p {
  margin-bottom: 50px;
  text-align: center;
  color: var(--gray);
}

label, input, select {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.required {
  font-size: 12px;
  color: var(--red);
}

label {
  margin-top: 10px;
  margin-bottom: 5px;
  display: block;
}

input {
  width: 100%;
  height: 28px;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
}

select {
  width: 140px;
  height: 28px;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
  background-color: #FFFFFF;
}

#industry_option {
  margin-top: 5px;
}

.contact-info {
  margin-bottom: 50px;
}

#email {
  margin-bottom: 5px;
}

.address-input {
  margin-bottom: 5px;
}

.inquiry-selector-wrapper {
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.inquiry-selector {
  display: none;
}

.inquiry-selector-label {
  width: calc((100% - 16px) / 2);
  height: 80px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: bold;
  color: var(--green);
  background-color: #FFFFFF;
  border: 1px solid var(--green);
  box-sizing: border-box;
}

input[type="radio"]:checked.inquiry-selector + .inquiry-selector-label {
  color: #FFFFFF;
  background-color: var(--green);
  border: none;
  box-sizing: border-box;
}

.inquiry-selector-label-btn {
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.inquiry-selector-label-btn-left {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inquiry-selector-label-btn-left i {
  font-size: 42px;
  font-weight: 900;
}

.inquiry-selector-label-btn-right {
  width: 65%;
  height: 100%;
  display: flex;
  align-items: center;
}

.inquiry-selector-label-btn-right span {
  font-size: 20px;
  line-height: 1.2;
}

#inquiry_select_notice {
  margin: 0 auto;
}

.select-unit, .how-to-help-label {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 16px;
}

.select-unit-span, .how-to-help-label-span {
  font-size: 14px;
  color: var(--red);
}

input[type="checkbox"]:checked.unit-selector + .unit-selector-label {
  color: #FFFFFF;
  background-color: var(--green);
  border: none;
  box-sizing: border-box;
}

input[type="checkbox"]:not(:checked).unit-selector + .unit-selector-label {
  color: var(--green);
  background-color: #FFFFFF;
  border: 1px solid var(--green);
  box-sizing: border-box;
}

.unit-selector {
  display: none;
}

.unit-select-wrapper {
  margin-bottom: 40px;
}

.unit-selector-label {
  width: 100%;
  height: 50px;
  margin: 0 auto 16px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
}

.subject-input-label, .message-input-label {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 14px;
}

.subject-input {
  width: 100%;
  height: 28px;
  margin-bottom: 20px;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
}

.message-input {
  width: 100%;
  height: 112px;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
}

.purchase-checkbox-wrapper {
  height: 40px;
  display: flex;
  align-items: center;
}

.purchase-checkbox-wrapper:last-of-type {
  margin-bottom: 40px;
}

.purchase-checkbox {
  min-width: 20px;
  width: 20px;
}

.purchase-checkbox-label {
  min-width: 50px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 5px;
}

#order_table {
  box-sizing: border-box;
}

#order_table tr {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

#order_table th {
  width: 140px;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}

#order_table td {
  width: calc(100% - 140px);
  padding: 0;
  box-sizing: border-box;
}

#order_table td select {
  width: 100%;
  padding: 0;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
}

#order_qty {
  width: 50px;
}

#order_comment {
  height: 48px;
  width: 100%;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 0%;
  border: 1px solid var(--black);
}

#add_item_btn {
  width: 100px;
  height: 30px;
  line-height: 30px;
}

#add_item_btn:disabled {
  color: var(--black);
  background-color: var(--gray);
}

#item_count {
  width: 20px;
  border: none;
}

.order-list-total {
  margin-bottom: 20px;
}

#order_list {
  margin-bottom: 40px;
}

#order_list tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}

#order_list tr:nth-of-type(n + 3) {
  height: 128px;
  margin-bottom: 10px;
}

#order_list.confirmation-page tr:nth-of-type(n + 3) {
  height: 96px;
  margin-bottom: 10px;
}

.del_item_btn {
  width: 120px;
  height: 28px;
  line-height: 28px;
  background-color: var(--red);
  color: #FFFFFF;
  border: none;
  box-sizing: border-box;
}

.del_item_btn:hover {
  background-color: #FFFFFF;
  color: var(--red);
  border: 1px solid var(--red);
  box-sizing: border-box;
}

#order_list th {
  height: 14px;
  margin-bottom: 2px;
  display: block;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
  font-size: 14px;
  font-weight: normal;
}

#order_list td {
  height: 28px;
  margin-bottom: 4px;
  display: block;
  padding: 0;
  box-sizing: border-box;
}

.order-list-title {
  height: 48px;
  margin-bottom: 10px;
}

.order-list-unit {
  width: calc((100% - 8px) / 2); 
}

.order-list-type {
  width: calc((100% - 8px) / 2); 
}

.order-list-name {
  width: calc((100% - 16px) / 10 * 8); 
}

.order-list-set {
  width: calc((100% - 16px) / 10); 
}

.order-list-quantity {
  width: calc((100% - 16px) / 10); 
}

.order-list-comment {
  width: 100%;
}

#inquiry_submit_btn, #confirm-back-btn, #confirm-submit-overlay-btn {
  width: 324px;
  height: 50px;
  display: block;
  margin: 0 auto;
  line-height: 50px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

#confirm-submit-btn {
  display: none;
}

#confirm-message {
  display: none;
  width: 100%;
  text-align: center;
  color: var(--green);
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
}


#inquiry_submit_btn:disabled {
  color: var(--black);
  background-color: var(--gray);
}

.inquiry-label {
  margin-bottom: 20px;
}

.form-content, #tab_container {
  margin-bottom: 100px;
}

form {
  margin-bottom: 200px;
}

#confirm-back-btn {
  margin-bottom: 16px;
}

.complete-page h1 {
  font-size: 18px;
  text-align: center;
  color: var(--black);
}

.complete-page h1+p {
  font-size: 32px;
  color: var(--green);
  text-align: center;
}

.complete-page p {
  margin-bottom: 50px;
  text-align: center;
}




@media screen and (min-width: 451px) {

  .contact-info {
    display: flex;
    justify-content: space-between;
  }

  .contact-info-left, .contact-info-right {
    width: calc((100% - 16px) / 2);
  }

  .inquiry-selector-label {
    width: calc((100% - 16px) / 4);
  }

  .inquiry-selector-label-btn-right span {
    font-size: 22px;
  }

  .unit-select-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .unit-selector-label {
    width: calc((100% - 16px) / 2);
    margin: 0;
    margin-bottom: 16px;
  }

  #purchase_inquiry_other_input {
    width: 50%;
  }

  #confirm-back-btn {
    margin-bottom: 16px;
  }
  
  #order_table td select {
    width: 393px;
  }

}

@media screen and (min-width: 1004px) {

  input {
    width: 85%;
  }

  .unit-selector-label {
    width: calc((100% - 48px) / 4);
    margin-bottom: 0;
  }

  .added-rows input {
    width: 100%;
  }

  .order-list-unit {
    width: 239px; 
  }
  
  .order-list-type {
    width: 154px; 
  }
  
  .order-list-name {
    width: 409px; 
  }
  
  .order-list-set {
    width: 69px; 
  }
  
  .order-list-quantity {
    width: 69px; 
  }
  
  .order-list-comment {
    width: 100%;
  }

  .button-wrapper {
    width: 664px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

}




tr, td {
  height: 25px;
}


/* ERROR HANDLING */
#email_confirm_alert {
  margin-top: 5px;
  font-size: 14px;
  color: var(--red);
  display: none;
}

#inquiry_select_notice {
  color: var(--red);
}

.incomplete_field {
  background-color: #ffa0a0;
  border: 2px solid var(--red);
}

.tooltip_base {
  position: relative;
}

.tooltip_base + .tooltip_text {
  display: none;
  content: attr(data-tip);
  font-size: 14px;
  color: var(--red);
  position: relative;
  /* top: 50%; */
  left: 15px;
  height: auto;
  width: auto;
  padding: 2px;
  opacity: 0;
}

.tooltip_base + .tooltip_text::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  content: "\f0d8";
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  left: -10px;
  margin-left: -5px;
}

.tooltip_base.incomplete_field + .tooltip_text {
  visibility: visible;
  opacity: 1;
  display: block;
}

.tooltip_base.incomplete_field2 + .tooltip_text {
  visibility: visible;
  opacity: 1;
  display: block;
}

.tooltip_parent {
  position: relative;
}

.tooltip_base2 + .tooltip_text {
  visibility: hidden;
  display: block;
  content: "";
  color: var(--red);
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  height: auto;
  width: 160px;
  padding: 2px;
  text-align: center;
  opacity: 0;
}

.tooltip_base2 + .tooltip_text::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 20px;
  content: "\f0d9";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  
  margin-left: 0;
}

.tooltip_base2.incomplete_field + .tooltip_text {
  visibility: visible;
  opacity: 1;
}


