body {
  font-family: "Noto Sans JP", sans-serif;
}
.title-wrapper {
  padding: 25px;
  text-align: center;
}
.title-wrapper, form {
  max-width: 800px;
  margin: auto;
}
.form-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 10px;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  align-items: center;
}

.form-group label {
  min-width: 260px;
  position: relative;
  margin-bottom: 0;
  display: flex;
  column-gap: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.radio-group {
  display: flex;
  width: fit-content;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 35px;
  justify-content: flex-start;
  padding: 10px 12px;
  background-color: white;
  width: calc(100% - 270px);
}

.radio-group .radio-option {
  width: fit-content;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  column-gap: 5px;
}

input {
  width: calc(100% - 270px);
  padding: 10px 12px;
}
input, textarea, select {
  border-radius: 2px;
  border: 1px solid #dcd5cf;
  color: #534842;
  background: #ffffff;
  font-size: max(1rem, 16px);
  box-shadow: 0 1px rgba(231, 226, 222, .25) inset;
  transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, color .2s ease-in-out;
}
select {
  padding: 10px 12px;
}
input[type=checkbox], input[type=radio] {
  display: block;
  margin: auto;
  height: 100%;
  width: fit-content;
}
textarea {
  width: calc(100% - 270px);
  min-height: 150px;
  max-height: 450px;
  padding: 10px 12px;
}
.radio-group .radio-option label {
  margin-bottom: 0;
  min-width: unset;
}

.input_required:after {
  content: "\5fc5\9808";
  display: block;
  position: relative;
  padding: 3px;
  font-size: .6em;
  background-color: #db4f4a;
  color: #fff;
  width: 27px;
  margin-top: 3px;
}

.product-input-wrapper {
  padding: 2vw 0;
}

.product-table {
  margin: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

button#addRow {
  width: fit-content;
  align-self: flex-end;
}
#productTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

#productTable th, #productTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#productTable th {
    background-color: #f2f2f2;
}

#productTable input[type="text"],
#productTable input[type="number"] {
    width: 95%;
    padding: 5px;
    box-sizing: border-box;
}

.add-row-btn {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-row-btn:hover {
    background-color: #45a049;
}

.remove-row {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    padding: 5px 0;
}

.remove-row:hover {
    background-color: #d32f2f;
}
.form-group.form-group-textarea {
  align-items: flex-start;
}

.form-group.form-group-textarea label {
  margin-top: 15px;
}
.separation_special {
  padding: 100px 0 15px;
  background-color: white;
}
.i_agree-wrapper {
  padding: 25px;
}
#agree_checkbox {
  margin: 0;
  position: relative;
}

.agree_checkbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 15px;
  max-width: 100%;
  width: 300px;
  margin: auto;
}

.agree_checkbox label {
  margin-bottom: 0;
}
.submit {
  max-width: 100%;
  width: 130px;
  margin: 30px auto;
  text-align: center;
}
.submit button.btn.btn-primary {
  width: 100%;
}
.date_block {
  width: calc(100% - 270px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#delivery_date {
  width: calc(100% - 160px);
  max-width: 100%;
}
.delivery_date_time {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 15px;
  width: 150px;
}
.sucess-wrapper {
  max-width: 800px;
  margin: auto;
}
.table-column {
  width: 45px;
}
.table-sku {
  width: 200px;
}
.table-product {

}
.table-number {
  width: 75px;
}
.table-button {
  width: 35px;
}
.form-group p {
  margin-left: 271px;
  margin-bottom: 0px;
}
input[type="email"] {
  width: calc(85% - 270px);
}

input[type="tel"] {
  width: calc(75% - 270px);
}
span.labelAdresse {
  min-width: 260px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 10px;
}

.address-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 20px;
}

.address-container label.adresse {
  width: calc(100% - 270px);
  margin-left: 270px;
}

.address-container .p-street-address {
  width: calc(100% - 270px);
  margin-left: 270px;
}

.posteCode {
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 15px;
}

.p-postal-code {
  width: 140px;
}
.adresse-info {
  background-color: #bababa;
  height: fit-content;
  padding: 7px;
  font-size: 11px;
  border-radius: 10px;
  margin-left: 15px;
}


/* input 要素 */
#name, #email, #subject, #email_check, #tel, #salon, #post_code, #address, #address2, #address3, #address4, #salon2, #recipient, #body {
  max-width:400px;
}
#body {
  max-width: 640px;
}
/* エラー表示 */
.error, .error-php, .error-js {
  color: red;
}
/* フォーム要素（Bootstrap4 のスタイルを上書き） */
.form-control {
  border-radius: 0px;
  background-color: #fdfdfd;
  font-size: 14px;
}
.form-control:focus {
  border-color: #aadbe8;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  background-color:#fff;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
  font-size: 13px; 
}
/* Firefox 18- */
:-moz-placeholder {
  font-size: 13px; }
/* Firefox 19+ */
::-moz-placeholder {
  font-size: 13px; }
/* IE 10+ */
:-ms-input-placeholder {
  font-size: 13px; }
::placeholder{ 
  font-size: 13px;
}
textarea.form-control {
  height: 200px;
}
.form-boxes{
  display: flex;
}
.box{
  width: 100px;
  height: 32px;
  font-size: 14px;
}
.red{
  width: 50px;
  height: 32px;
}
.blue{
  width: 100px;
  height: 32px;
}
.green{
  width: 100px;
  height: 40px;
}




@media (max-width: 799px) {
  .form-group {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding: 1rem;
    text-align: center;
  }

  .product-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .separation_special {
    padding: 100px 1rem 15px;
  }
  input, textarea, select {
    width: 100%;
  }

  .radio-group {
    width: 100%;
  }

  .radio-group .radio-option {
    width: calc(50% - 20px);
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  input[type=checkbox], input[type=radio] {
    margin: 0;
  }

  .form-group label {
    width: 100%;
  }

  #delivery_date {
    width: 50%;
  }

  .date_block {
    width: 100%;
  }

  .delivery_date_time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .table-sku {
    width: 125px;
  }
  .form-group p {
    margin-left: 0;
  }
  input[type="email"], input[type="tel"] {
    width: 100%;
  }
  .address-container .p-street-address {
    width: 100%;
    margin-left: 0px;
  }
  .address-container {
    margin: 1rem;
  }
}

