@charset "utf-8";
/*---------------------------------
ページ全体
---------------------------------*/
.form-area {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
}
.form-container1 {
  width: 50%;
  padding-top: 100px;
}
.form-container2 {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .form-ttl {
    margin-top: 20px;
  }
  .form-area {
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px;
  }
  .form-container1 {
    width: 100%;
    padding-top: 20px;
  }
  .form-container2 {
    width: 100%;
  }
}
/*---------------------------------
フォーム
---------------------------------*/
.form-table {
  margin: 0 auto;
  padding: 0;
}
.form-table tr,
.form-table th,
.form-table td {
  width: 100%;
  display: block;
  font-size: 1.6rem;
  font-weight: normal;
  text-align: left;
}
.form-table tr {
  margin-bottom: 20px;
}
.form-table th {
  margin-bottom: 10px;
}
.form-table .required-item,
.form-table .no-required-item {
  color: #fff;
  padding: 0 5px;
  margin-right: 5px;
  font-size: 1.8rem;
  font-weight: normal;
}
.form-table .required-item {
  background-color: #f16e24;
}
.form-table .no-required-item {
  background-color: #005bea;
}
.form-table input {
  margin: 0 auto;
}
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"] {
  width: 100%;
  padding: 7px 2%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -webkit-appearance: none;
  font-size: 1.6rem;
  font-weight: normal;
  font-family: inherit;
  line-height: normal;
}
.form-table textarea {
  display: block;
  width: 100%;
  padding: 7px 2%;
  resize: vertical;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  -webkit-appearance: none;
  font-size: 1.6rem;
  font-weight: normal;
  font-family: inherit;
  line-height: normal;
}
.form-table input:focus,
.form-table textarea:focus {
  box-shadow: 0px 0px 5px #55ccff;
  border: 1px solid #55ccff;
  background: #ffffff;
}
.form-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  accent-color: #005bea;
}
.form-table .checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 20px;
}
.form-main-submit {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}
.form-main-submit img {
  display: block;
  max-width: 100%;
  height: auto;
}
.form-main-submit:hover {
  cursor: pointer;
  opacity: 0.6;
  transition-duration: 0.3s;
}
/*---------------------------------
共通（エラーメッセージ）
---------------------------------*/
.error-tooltip {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 1.4rem;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 6px;
  position: relative;
  animation: fadeInUp 0.3s ease;
}
.error-tooltip::before {
  content: "!";
  background-color: #c83916;
  color: #fff;
  font-weight: bold;
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 4px;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* エラー時チェックボックスの周りを赤く */
input[type="checkbox"].has-error {
  outline: 2px solid rgba(255, 0, 0, 0.3);
  background-color: rgba(255, 0, 0, 0.05);
  border-radius: 4px;
}
/* -- responsive -- */
@media screen and (max-width: 768px) {
  .form-table .checkbox-label {
    margin-right: 10px;
  }
  .privacy-policy-label {
    display: inline;
    font-size: 1.4rem;
  }
  .form-main-btn-tel {
    margin-top: 20px;
  }
}
