@charset "UTF-8";
/* OVER VIEW
*****************************************************************/
/* mixin
*********************************************************************/
/* カラー */
/* media query */
/* SP縦から */
/* SP横から */
/* タブレット縦から */
/* 1280 */
/* フルワイド */
.box_form {
  background-color: #ededed;
  max-width: 1180px;
  padding: 30px 40px 40px;
  margin: auto;
  font-size: 16px;
}
@media all and (max-width: 896px) {
  .box_form {
    padding: 10px 10px 10px;
  }
}
.box_form input[type=text],
.box_form input[type=tel],
.box_form input[type=email],
.box_form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fff;
}
.box_form input[type=text]::placeholder,
.box_form input[type=tel]::placeholder,
.box_form input[type=email]::placeholder,
.box_form textarea::placeholder {
  color: gray;
}
@media all and (max-width: 896px) {
  .box_form label {
    margin: 5px 0px 5px;
  }
}
.box_form textarea {
  height: 120px;
  resize: vertical;
}
.box_form .radio-group {
  display: flex;
  flex-wrap: wrap;
}
.box_form .radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  margin-right: 20px;
}
@media (max-width: 768px) {
  .box_form .radio-group label {
    width: 100%;
  }
}
.box_form .radio-group input {
  padding: 0px;
  margin: 0px;
}
.box_form .form-section {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 24px;
}
.box_form .form-section.no-bg {
  background-color: transparent;
  border: none;
  margin-bottom: 40px;
}
.box_form .form-section.no-bg .form-row {
  border: 1px solid #ccc;
  background-color: #fff;
}
.box_form .form-section.no-bg .form-row:not(:last-child) {
  border-bottom: none;
}
@media (max-width: 768px) {
  .box_form .form-section.no-bg .form-row {
    border: none;
    background-color: transparent;
    margin-bottom: 16px;
  }
}
.box_form .form-row {
  display: flex;
  margin: 0;
  border-bottom: 1px solid #ccc;
  align-items: stretch;
}
.box_form .form-row:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .box_form .form-row {
    flex-direction: column;
    border-bottom: none;
  }
}
.box_form .form-label {
  width: 220px;
  background-color: #cbe6ff;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.box_form .form-label.required::after {
  content: "*";
  color: #333;
  margin-left: 2px;
}
@media (max-width: 768px) {
  .box_form .form-label {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-bottom: none;
  }
}
.box_form .form-input {
  flex-grow: 1;
  padding: 20px;
  background-color: #fff;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: left;
}
.box_form .form-input.split {
  flex-direction: row;
  gap: 15px;
}
.box_form .form-input.split input {
  width: 50%;
}
.box_form .form-input.text-mix {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 14px;
  flex-wrap: wrap;
}
.box_form .form-input.text-mix input.w-short {
  width: 140px;
  flex-grow: 0;
}
@media (max-width: 768px) {
  .box_form .form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  .box_form .form-input.split {
    flex-direction: column;
    gap: 10px;
  }
  .box_form .form-input.split input {
    width: 100%;
  }
  .box_form .form-input.text-mix {
    gap: 6px;
  }
  .box_form .form-input.text-mix input.w-short {
    width: 100px;
    flex-grow: 1;
  }
}
.box_form .check input {
  max-width: 200px;
  margin-bottom: 20px;
  text-align: center;
}
.box_form .check #submitBtn {
  -webkit-appearance: none;
  appearance: none;
  color: #5cb0ff;
  background-color: #fff;
  border: solid 1px #5cb0ff;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: auto;
  min-width: 250px;
}
.box_form .check #submitBtn:hover {
  background-color: #f3f4f6;
}
.box_form .submit {
  text-align: center;
  margin-top: 30px;
}
.box_form .submit .btn_submit {
  -webkit-appearance: none;
  appearance: none;
  background-color: #5cb0ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: auto;
  min-width: 250px;
}
.box_form .submit .btn_submit:hover {
  background-color: #469ae6;
}
@media (max-width: 768px) {
  .box_form .submit .btn_submit {
    max-width: 300px;
    padding: 16px 0;
    font-size: 16px;
  }
}

.box_ok {
  background-color: #ededed;
  max-width: 1180px;
  padding: 30px 40px 40px;
  margin: auto;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
}
@media all and (max-width: 896px) {
  .box_ok {
    padding: 10px 10px 10px;
  }
}

.notice {
  font-size: 10px;
  font-weight: 700;
  color: #F06;
}

/* エラーメッセージ
-------------------------------------------------*/
.formLayout .errmsg,
.formLayout #errorMessage {
  box-sizing: border-box;
  width: 100%;
  border: 3px solid #f00;
  padding: 10px;
  margin: 0 auto 10px auto;
  color: #F00;
  font-size: 14px;
}

.formLayout .errmsg a,
.formLayout #errorMessage a {
  color: #F00;
}