/* Form */
.form-table {
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  border-top: 2px solid #227fc4;
}

.form-table .row {
  display: table-row;
  border-bottom: 1px solid #bfbfbf;
}

.form-table .th,
.form-table .td {
  display: table-cell;
  vertical-align: middle;
}

.form-table .th {
  font-size: 2rem;
  width: 360px;
  padding:30px 40px;
  background-color: #f5f5f5;
}

.form-table .th span {
  color:#227fc4;
}

.form-table .td {
  padding:15px;
}

.form-table input,
.form-table select {
  max-width: 750px;
  width: 100%;
  height:50px;
  padding:0px 20px;
  font-size: 1.8rem;
  border:1px solid #bfbfbf;
}

.form-table select {
  background: url('../img/form/select.png') no-repeat right 20px center;
}

.form-table textarea {
  resize: none;
  display: block;
  max-width: 750px;
  width: 100%;
  height:250px;
  padding:20px;
  font-size: 1.8rem;
  border:1px solid #bfbfbf;
}

.form-table .chk-list {
  display: flex;
  gap:40px;
  text-align: center;
}

.form-table .chk-list label {
  display: flex;
  align-items: center;
  gap:10px;
  position: relative;
}

.form-table .chk-list label input {
  position: absolute;
	top:0;
	left:0;
	width:100%;
  height: 100%;
	opacity:0;
  cursor: pointer;
}

.form-table .chk-list label i {
  display: block;
  width: 19px;
  height:19px;
  background: url('../img/form/chk_off.png') no-repeat center;
}

.form-table .chk-list label input[type="checkbox"]:checked ~ i {
  background-image: url('../img/form/chk_on.png');
}

.form-table .email-wrap {
  display: flex;
  align-items: center;
  max-width: 750px;
  width: 100%;
}

.form-table .email-wrap .box {
  width: 31.3333%;
}

.form-table .email-wrap .box:last-child {
  margin-left: 8px;
}

.form-table .email-wrap span {
  display: block;
  margin: 0px 12px;
}

.form-agree label {
  display: flex;
  align-items: center;
  gap:10px;
  position: relative;
}

.form-agree label input {
  position: absolute;
	top:0;
	left:0;
  width:250px;
	/* width:100%; */
  height: 100%;
	opacity:0;
  cursor: pointer;
}

.form-agree label button {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-agree label i {
  display: block;
  width: 19px;
  height:19px;
  background: url('../img/form/chk_off.png') no-repeat center;
}

.form-agree label input[type="checkbox"]:checked ~ i {
  background-image: url('../img/form/chk_on.png');
}

.form-btn {
  display: flex;
  justify-content: center;
  margin-top:50px;
}

.form-btn .btn {
  max-width:400px;
  height:70px;
  font-size:2rem;
  font-weight:700;
  color:#fff;
  background-color: #227fc4;
}

@media screen and (max-width:1200px) {
  .form-table .th {
    font-size: 1.8rem;
    width: 280px;
  }

  .form-table input, .form-table select {
    font-size:1.6rem;
  }

  .form-table textarea {
    font-size:1.6rem;
  }

  .form-btn .btn {
    max-width:300px;
    height:64px;
    font-size:1.8rem;
  }
}
@media screen and (max-width:1024px) {
  .form-table .th {
    padding: 20px 28px;
  }

  .form-table .td {
    padding: 12px;
  }

  .form-table input, .form-table select {
    height:42px;
    padding: 0px 16px;
  }

  .form-table textarea {
    height: 200px;
    padding: 16px;
  }

  .form-table .chk-list {
    gap:28px;
  }

  .form-table .chk-list label {
    gap:6px;
  }

  .form-table .chk-list label i {
    width: 17px;
    height:17px;
    background-size: auto 17px;
  }

  .form-table .email-wrap span {
    margin: 0px 8px;
  }

  .form-agree label {
    gap:6px;
  }

  .form-agree label input {
    width: 220px;
  }

  .form-agree label i {
    width: 17px;
    height:17px;
    background-size: auto 17px;
  }

  .form-btn {
    margin-top: 36px;
  }

  .form-btn .btn {
    max-width:240px;
    height:54px;
  }
}
@media screen and (max-width:768px) {
  .form-table {
    display: block;
  }

  .form-table .row {
    display: flex;
    flex-wrap: wrap;
  }

  .form-table .th, .form-table .td {
    display: block;
  }

  .form-table .th {
    width: 100%;
    padding:16px;
    text-align: left;
    font-size:1.6rem;
  }

  .form-table .td {
    width: 100%;
  }

  .form-table input, .form-table select {
    height: 38px;
    font-size: 1.4rem;
  }

  .form-table select {
    background-position: right 16px center;
    background-size: auto 5px;
  }

  .form-table .chk-list {
    align-items: center;
    height: 38px;
  }

  .form-table .chk-list label i {
    width: 15px;
    height:15px;
    background-size: auto 15px;
  }

  .form-agree label input {
    width: 200px;
  }

  .form-agree label i {
    width: 15px;
    height:15px;
    background-size: auto 15px;
  }

  .form-btn .btn {
    max-width:200px;
    height:44px;
    font-size:1.6rem;
  }
}
@media screen and (max-width:576px) {
  .form-table .th {
    padding: 12px;
    font-size:1.4rem;
  }

  .form-table .td {
    padding: 8px;
  }

  .form-table input, .form-table select {
    height: 34px;
    padding: 0px 12px;
    font-size: 1.2rem;
  }

  .form-table select {
    background-position: right 12px center;
  }

  .form-table textarea {
    height: 160px;
    padding: 12px;
  }

  .form-table .email-wrap {
    flex-wrap: wrap;
  }

  .form-table .email-wrap .box {
    width: calc(50% - 10px);
  }

  .form-table .email-wrap .box:last-child {
    width: 100%;
    margin-left: 0px;
    margin-top: 4px;
  }

  .form-table .email-wrap span {
    width: 10px;
    margin: 0 auto;
  }

  .form-table .chk-list {
    height: 34px;
    gap:20px;
  }

  .form-table .chk-list label {
    gap: 4px;
  }

  .form-table .chk-list label i {
    width: 13px;
    height:13px;
    background-size: auto 13px;
  }

  .form-agree label {
    gap: 4px;
  }

  .form-agree label input {
    width: 180px;
  }

  .form-agree label i {
    width: 13px;
    height:13px;
    background-size: auto 13px;
  }

  .form-btn {
    margin-top: 24px;
  }

  .form-btn .btn {
    max-width:160px;
    height:38px;
    font-size:1.4rem;
  }
}