@charset "UTF-8";
/* コンテナ */
.contact-form {
  position: relative;
  padding: 5.3333333333vw 0;
}
@media screen and (min-width: 768px) {
  .contact-form {
    padding: 2.7777777778vw 0;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form {
    padding: 40px 0;
  }
}
.contact-form::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.6666666667vw;
  background-image: linear-gradient(90deg, #e34b44, #3e6aad);
}
@media screen and (min-width: 768px) {
  .contact-form::after {
    height: 0.3472222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form::after {
    height: 5px;
  }
}

.contact-form-inner {
  margin: 0 auto;
  padding: 0 2vw;
}
@media screen and (min-width: 768px) {
  .contact-form-inner {
    max-width: 62.5vw;
    padding: 0 1.0416666667vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-inner {
    max-width: 800px;
    padding: 0 15px;
  }
}

/* 見出し */
.contact-form-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.3333333333vw;
  color: #3c3c3c;
}
@media screen and (min-width: 768px) {
  .contact-form-title {
    font-size: 2.8rem;
    margin-bottom: 0.6944444444vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-title {
    margin-bottom: 10px;
  }
}

.contact-form-subtitle {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 4vw;
}
@media screen and (min-width: 768px) {
  .contact-form-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.0833333333vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-subtitle {
    margin-bottom: 30px;
  }
}

/* =========================================
    タブ切り替え (Tabs)
    ========================================= */
.tab {
  display: flex;
  justify-content: center;
  margin-bottom: 4vw;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .tab {
    margin-bottom: 2.0833333333vw;
  }
}
@media screen and (min-width: 1440px) {
  .tab {
    margin-bottom: 30px;
  }
}

.tab-item {
  width: 50%;
  text-align: center;
  padding: 2vw;
  background-color: #E0E0E0;
  border: 0.2666666667vw solid #DBDBDB;
  font-weight: 700;
  color: #3c3c3c;
  transition: all 0.3s;
}
@media screen and (min-width: 768px) {
  .tab-item {
    padding: 1.0416666667vw;
    border: 0.0694444444vw solid #DBDBDB;
  }
}
@media screen and (min-width: 1440px) {
  .tab-item {
    padding: 15px;
    border: 1px solid #DBDBDB;
  }
}

.tab-item.active {
  background-color: #DB1845;
  /* アクセントカラー */
  color: #ffffff;
  border-color: #DB1845;
}

.tab-experience {
  border-radius: 0.6666666667vw;
}
@media screen and (min-width: 768px) {
  .tab-experience {
    border-radius: 0.3472222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .tab-experience {
    border-radius: 5px;
  }
}

.tab-document {
  border-radius: 0.6666666667vw;
}
@media screen and (min-width: 768px) {
  .tab-document {
    border-radius: 0.3472222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .tab-document {
    border-radius: 5px;
  }
}

/* コンテンツ表示制御 */
.form-content {
  display: none;
}

.form-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* =========================================
    フォームパーツ (Form Elements)
    ========================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 4vw;
}
@media screen and (min-width: 768px) {
  table {
    margin-bottom: 2.0833333333vw;
  }
}
@media screen and (min-width: 1440px) {
  table {
    margin-bottom: 30px;
  }
}

table tr {
  border-bottom: 0.2666666667vw solid #E0E0E0;
}
@media screen and (min-width: 768px) {
  table tr {
    border-bottom: 0.0694444444vw solid #E0E0E0;
  }
}
@media screen and (min-width: 1440px) {
  table tr {
    border-bottom: 1px solid #E0E0E0;
  }
}

table th,
table td {
  display: block;
  width: 100%;
  padding: 1.3333333333vw 0;
  text-align: left;
}
@media screen and (min-width: 768px) {
  table th,
  table td {
    padding: 0.6944444444vw 0;
  }
}
@media screen and (min-width: 1440px) {
  table th,
  table td {
    padding: 10px 0;
  }
}

h3 {
  font-size: 1.6rem;
  margin: 0 0 1.3333333333vw 0;
  padding-top: 1.3333333333vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  h3 {
    font-size: 1.6rem;
    margin: 0 0 0.6944444444vw 0;
    padding-top: 0;
  }
}
@media screen and (min-width: 1440px) {
  h3 {
    margin: 0 0 10px 0;
  }
}

/* バッジ */
.required {
  background: #DB1845;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 0.2666666667vw 0.8vw;
  border-radius: 0.4vw;
  margin-left: 1.0666666667vw;
}
@media screen and (min-width: 768px) {
  .required {
    font-size: 1.1rem;
    padding: 0.1388888889vw 0.4166666667vw;
    border-radius: 0.2083333333vw;
    margin-left: 0.5555555556vw;
  }
}
@media screen and (min-width: 1440px) {
  .required {
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
  }
}

.non-required {
  background: #707070;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 0.2666666667vw 0.8vw;
  border-radius: 0.4vw;
  margin-left: 1.0666666667vw;
}
@media screen and (min-width: 768px) {
  .non-required {
    font-size: 1.1rem;
    padding: 0.1388888889vw 0.4166666667vw;
    border-radius: 0.2083333333vw;
    margin-left: 0.5555555556vw;
  }
}
@media screen and (min-width: 1440px) {
  .non-required {
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
  }
}

/* レイアウト */
.contact-form-wrapper {
  width: 100%;
}

.contact-form-wrapper-row {
  display: flex;
  gap: 2.6666666667vw;
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .contact-form-wrapper-row {
    gap: 1.3888888889vw;
    flex-wrap: nowrap;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-wrapper-row {
    gap: 20px;
  }
}

.contact-form-container {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .contact-form-container {
    flex: 1;
    width: auto;
    min-width: 13.8888888889vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-container {
    min-width: 200px;
  }
}

.contact-form-margin {
  margin-bottom: 2vw;
}
@media screen and (min-width: 768px) {
  .contact-form-margin {
    margin-bottom: 1.0416666667vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-margin {
    margin-bottom: 15px;
  }
}

.contact-form-unit {
  margin-bottom: 2vw;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .contact-form-unit {
    margin-bottom: 1.0416666667vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-unit {
    margin-bottom: 15px;
  }
}

.contact-form-unit-harf {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .contact-form-unit-harf {
    flex: 1;
    width: auto;
    margin-right: 1.3888888889vw;
  }
}
@media screen and (min-width: 768px) {
  .contact-form-unit-harf:last-child {
    margin-right: 0;
  }
}

label {
  font-size: 1.3rem;
}
@media screen and (min-width: 768px) {
  label {
    font-size: 1.3rem;
  }
}

.select-option {
  color: #3c3c3c;
}

/* 入力要素 */
input[type=text],
input[type=email],
input[type=tel],
input[type=date],
select,
textarea {
  width: 100%;
  padding: 2.6666666667vw 1.3333333333vw;
  border: 0.2666666667vw solid #CCCCCC;
  border-radius: 0.5333333333vw;
  font-size: 1.6rem;
  background: #ffffff;
}
@media screen and (min-width: 768px) {
  input[type=text],
  input[type=email],
  input[type=tel],
  input[type=date],
  select,
  textarea {
    font-size: 1.6rem;
    padding: 0.6944444444vw;
    border: 0.0694444444vw solid #CCCCCC;
    border-radius: 0.2777777778vw;
  }
}
@media screen and (min-width: 1440px) {
  input[type=text],
  input[type=email],
  input[type=tel],
  input[type=date],
  select,
  textarea {
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
  }
}

.input-short {
  -webkit-appearance: none;
}
@media screen and (min-width: 768px) {
  .input-short {
    -webkit-appearance: auto;
  }
}

.input-wide {
  width: 100%;
  padding: 2.6666666667vw 1.3333333333vw;
}
@media screen and (min-width: 768px) {
  .input-wide {
    padding: 0.6944444444vw;
  }
}
@media screen and (min-width: 1440px) {
  .input-wide {
    padding: 10px;
  }
}

.input-short {
  width: 100%;
  max-width: 100%;
  min-height: 10.6666666667vw;
}
@media screen and (min-width: 768px) {
  .input-short {
    max-width: 13.8888888889vw;
    min-height: auto;
  }
}
@media screen and (min-width: 1440px) {
  .input-short {
    max-width: 200px;
  }
}

.input-max {
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 16vw;
}
@media screen and (min-width: 768px) {
  textarea {
    min-height: 8.3333333333vw;
  }
}
@media screen and (min-width: 1440px) {
  textarea {
    min-height: 120px;
  }
}

/* エラー表示 */
.error__message {
  color: #DB1845;
  font-size: 1.3rem;
  margin-top: 0.6666666667vw;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .error__message {
    font-size: 1.3rem;
    margin-top: 0.3472222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .error__message {
    margin-top: 5px;
  }
}

.error-summary {
  background: #FDF1F1;
  border: 0.2666666667vw solid #DB1845;
  color: #DB1845;
  padding: 2vw;
  margin-bottom: 2.6666666667vw;
  border-radius: 0.5333333333vw;
}
@media screen and (min-width: 768px) {
  .error-summary {
    border: 0.0694444444vw solid #DB1845;
    padding: 1.0416666667vw;
    margin-bottom: 1.3888888889vw;
    border-radius: 0.2777777778vw;
  }
}
@media screen and (min-width: 1440px) {
  .error-summary {
    border: 1px solid #DB1845;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
  }
}

/* =========================================
    ボタン (Buttons)
    ========================================= */
.form-action {
  text-align: center;
  margin-top: 4vw;
}
@media screen and (min-width: 768px) {
  .form-action {
    margin-top: 2.0833333333vw;
  }
}
@media screen and (min-width: 1440px) {
  .form-action {
    margin-top: 30px;
  }
}

.form-action-comfirm {
  display: flex;
  justify-content: center;
}

.contact-form-inner-thanks {
  text-align: center;
  padding: 50px 0;
}

.form-btn-red {
  width: 70%;
  background-color: #DB1845;
  color: #ffffff;
  border: none;
  padding: 2vw 5.3333333333vw;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 6.6666666667vw;
  cursor: pointer;
  transition: background 0.3s;
  line-height: 1.4;
  display: inline-block;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .form-btn-red {
    font-size: 1.8rem;
    padding: 1.0416666667vw 2.7777777778vw;
    border-radius: 3.4722222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .form-btn-red {
    padding: 15px 40px;
    border-radius: 50px;
  }
}

.form-btn-red:hover {
  background-color: #E34B44;
}

.form-btn-red span {
  font-size: 1rem;
  font-weight: normal;
  display: block;
  margin-bottom: 1.3333333333vw;
}
@media screen and (min-width: 768px) {
  .form-btn-red span {
    font-size: 1.2rem;
    margin-bottom: 0.6944444444vw;
  }
}
@media screen and (min-width: 1440px) {
  .form-btn-red span {
    margin-bottom: 10px;
  }
}

.form-btn-gray {
  background-color: #707070;
  color: #ffffff;
  border: none;
  padding: 1.6vw 4vw;
  font-size: 1.5rem;
  border-radius: 0.5333333333vw;
  cursor: pointer;
  margin-right: 2vw;
}
@media screen and (min-width: 768px) {
  .form-btn-gray {
    font-size: 1.6rem;
    padding: 0.8333333333vw 2.0833333333vw;
    border-radius: 0.2777777778vw;
    margin-right: 1.0416666667vw;
  }
}
@media screen and (min-width: 1440px) {
  .form-btn-gray {
    padding: 12px 30px;
    border-radius: 4px;
    margin-right: 15px;
  }
}

/* =========================================
    利用規約 (Policy)
    ========================================= */
.contact-form-policy-title {
  font-size: 1.6rem;
  margin: 0 0 1.3333333333vw 0;
}
@media screen and (min-width: 768px) {
  .contact-form-policy-title {
    font-size: 1.6rem;
    margin: 0 0 0.6944444444vw 0;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-policy-title {
    margin: 0 0 10px 0;
  }
}

.contact-form-policy {
  height: 53.3333333333vw;
  overflow-y: scroll;
  border: 0.2666666667vw solid #CCCCCC;
  padding: 2vw;
  background: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 2.6666666667vw;
}
@media screen and (min-width: 768px) {
  .contact-form-policy {
    font-size: 1.3rem;
    height: 13.8888888889vw;
    border: 0.0694444444vw solid #CCCCCC;
    padding: 1.0416666667vw;
    margin-bottom: 1.3888888889vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-policy {
    height: 200px;
    border: 1px solid #CCCCCC;
    padding: 15px;
    margin-bottom: 20px;
  }
}

.policy-title-red {
  color: #DB1845;
  margin-bottom: 0.6666666667vw;
}
@media screen and (min-width: 768px) {
  .policy-title-red {
    margin-bottom: 0.6944444444vw;
  }
}
@media screen and (min-width: 1440px) {
  .policy-title-red {
    margin-bottom: 10px;
  }
}

.contact-form-policy h4 {
  margin-top: 2vw;
  margin-bottom: 0.6666666667vw;
  font-weight: 700;
  font-size: 1.4rem;
}
@media screen and (min-width: 768px) {
  .contact-form-policy h4 {
    font-size: 1.4rem;
    margin-top: 1.0416666667vw;
    margin-bottom: 0.3472222222vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-policy h4 {
    margin-top: 15px;
    margin-bottom: 5px;
  }
}

.contact-form-policy p {
  font-size: 1.5rem;
  margin-bottom: 1.3333333333vw;
}
@media screen and (min-width: 768px) {
  .contact-form-policy p {
    font-size: 1.6rem;
    margin-bottom: 0.6944444444vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-policy p {
    margin-bottom: 10px;
  }
}

/* =========================================
    確認画面 (Confirm)
    ========================================= */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 5.3333333333vw;
  border-top: 0.2666666667vw solid #DB1845;
}
@media screen and (min-width: 768px) {
  .confirm-table {
    margin-bottom: 2.7777777778vw;
    border-top: 0.1388888889vw solid #DB1845;
  }
}
@media screen and (min-width: 1440px) {
  .confirm-table {
    margin-bottom: 40px;
    border-top: 2px solid #DB1845;
  }
}

.confirm-table tr {
  border-bottom: 0.2666666667vw solid #E0E0E0;
}
@media screen and (min-width: 768px) {
  .confirm-table tr {
    display: table-row;
    border-bottom: 0.0694444444vw solid #E0E0E0;
  }
}
@media screen and (min-width: 1440px) {
  .confirm-table tr {
    border-bottom: 1px solid #E0E0E0;
  }
}

.confirm-table th {
  background: transparent;
  border: none;
  color: #707070;
  font-weight: normal;
  text-align: left;
  vertical-align: top;
  padding: 2.6666666667vw 1.3333333333vw 0.6666666667vw;
  width: 100%;
  display: block;
  font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  .confirm-table th {
    font-size: 1.6rem;
    display: table-cell;
    width: 30%;
    padding: 1.7361111111vw 1.3888888889vw;
    padding-right: 0;
  }
}
@media screen and (min-width: 1440px) {
  .confirm-table th {
    padding: 25px 20px;
  }
}

.confirm-table td {
  background: transparent;
  border: none;
  color: #3c3c3c;
  font-size: 1.6rem;
  padding: 0.6666666667vw 1.3333333333vw 2.6666666667vw;
  width: 100%;
  display: block;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  .confirm-table td {
    font-size: 1.6rem;
    display: table-cell;
    width: 70%;
    padding: 1.7361111111vw 1.3888888889vw;
  }
}
@media screen and (min-width: 1440px) {
  .confirm-table td {
    padding: 25px 20px;
  }
}

.contact-form-thanks-text {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 5.3333333333vw;
}
@media screen and (min-width: 768px) {
  .contact-form-thanks-text {
    font-size: 1.6rem;
    margin-bottom: 1.3888888889vw;
  }
}
@media screen and (min-width: 1440px) {
  .contact-form-thanks-text {
    margin-bottom: 20px;
  }
}

.contact-form-thanks-link {
  font-size: 1.6rem;
  text-align: center;
  color: #DB1845;
  text-decoration: underline;
}
@media screen and (min-width: 768px) {
  .contact-form-thanks-link {
    font-size: 1.6rem;
  }
}