@charset "utf-8";

@import "./reset.css";
@import "./font.css";

:root {
  --white: #fff;
  --black: #000;
  --primary: #15ABE6;
  --text-point: #0096D0;
  --text-point2: #1380CE;
  --text-body: #202020;
  --text-secondary: #777;
  --border-default: #d2d8e3;
  --border-input: #d5d5d5;
  --bg-surface: #f5f6f8;
}

html {
  font-size: 62.5%;
  font-weight: 400;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Pretendard';
  font-size: 2rem;
  line-height: 1.5;
  /* color: var(--text-body); */
  color: #202020;
}

textarea,
input[type="text"],
button {
  font-family: 'Pretendard';
}

input[type="text"]::placeholder,
textarea::placeholder {
  color: var(--border-input);
}

/* form */
.form-control {
  display: block;
  width: 100%;
  height: 3.8rem;
  padding: 0 1.2rem;
  border: 1px solid var(--border-default);
  font-size: 1.6rem;
}

textarea.form-control {
  height: 17.8rem;
  padding: 2rem 0 0 1.2rem;
}

.form-select {
  display: block;
  height: 3.8rem;
  padding: 0 4rem 0 1rem;
  border: 1px solid var(--border-default);
  font-size: 1.6rem;
  background: url(../img/icon_select_arrow.svg) no-repeat right .8rem center;
}

.form-check {
  position: relative;
  display: block;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  appearance: none;
}

.form-check input[type="checkbox"]+label,
.form-check input[type="radio"]+label {
  position: relative;
  display: inline-block;
  padding-left: 3rem;
  font-size: 1.8rem;
  line-height: 2rem;
}

.form-check input[type="checkbox"]+label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  background: url(../img/icon_check_off.svg) no-repeat;
}

.form-check input[type="checkbox"]:checked+label::before {
  background-image: url(../img/icon_check_on.svg);
}

.form-check input[type="checkbox"]:disabled+label,
.form-check input[type="radio"]:disabled+label {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-check input[type="radio"]+label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 2rem;
  background: url(../img/icon_radio_off.svg) no-repeat;
}

.form-check input[type="radio"]:checked+label::before {
  background-image: url(../img/icon_radio_on.svg);
}

.form-control.inline,
.form-select.inline,
.form-check.inline {
  display: inline-block;
}

/* button */
.btn-large {
  display: inline-block;
  width: 32rem;
  height: 6.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 6.4rem;
}

.btn-primary {
  color: var(--white);
  background-color: var(--primary);
}

.btn-area {
  margin-top: 6rem;
  text-align: center;
}

/* main */
main {
  width: 144rem;
  padding-bottom: 10rem;
}

/* title */
main .title {
  padding: 12rem 0 10rem;
  text-align: center;
}

main .title .tit-info1 {
  font-size: 2.8rem;
  font-weight: 500;
}

main .title h1 {
  margin: 3rem 0 2.5rem;
  font-size: 7rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

main .title h1 span {
  display: inline-block;
  font-weight: 300;
}

main .title .tit-info2 {
  padding: 4rem;
  font-size: 1.8rem;
  line-height: 1.5;
  background-color: var(--bg-surface);
}

main .title .tit-info2 span {
  display: inline-block;
  padding: 0 0 0 7rem;
  text-align: left;
  background: url(../img/icon_exclamation.svg) no-repeat left center;
}

.inquery-table {
  border: solid var(--text-body);
  border-width: 2px 0;
}

.inquery-table th,
.inquery-table td {
  border-top: 1px solid var(--border-default);
}

.inquery-table tr:first-child th,
.inquery-table tr:first-child td {
  border-top: 0;
}

.inquery-table th {
  padding-left: 3rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: left;
  background-color: var(--bg-surface);
}

.inquery-table th span {
  margin-right: .4rem;
  color: var(--primary);
}

.inquery-table td {
  padding: .8rem 0 .8rem 1rem;
}

.flexCont {
  display: flex;
  gap: .8rem;
}

.inquery-table input[name="companyname"],
.inquery-table input[name="username"] {
  width: 30rem;
}

.inquery-table input[name="tel3"],
.inquery-table input[name="tel2"],
.inquery-table input[name="tel1"] {
  width: 10rem;
}

.inquery-table input[name="inflowOther"],
.inquery-table input[name="email1"] {
  width: 24rem;
}

.inquery-table input[name="email2"] {
  width: 20rem;
}

.inquery-table select {
  width: 16rem;
}

.terms-area {
  padding: 0 0 2rem 0 !important;
}

.terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.terms .tit {
  flex-basis: 18rem;
  padding: .8rem;
  border: solid var(--border-default);
  border-width: 0 1px 1px 0;
}
.terms .tit span {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-point);
  text-align: center;
  line-height: 3.8rem;
  background-color: #e5f2f8;
}
.terms .cont {
  flex-basis: calc(100% - 18rem);
  min-height: 5.5rem;
  padding: 0 0 0 1rem;
  border: solid var(--border-default);
  border-width: 0 0 1px 0;
  font-size: 1.8rem;
  line-height: 5.4rem;
}
.terms .cont strong {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.terms ~ div {
  margin-top: 2rem;
  padding-left: 1rem;
  font-size: 1.8rem;
}

.agree .form-check ~ .form-check {
  margin-left: 3rem;
}

.noti span {
  color: var(--text-point);
}