main {
  position: relative;
}
main .bg_f {
  width: 27vw;
  height: 0;
  padding-bottom: 33.8%;
  background: url(../images/contact/bg_f.png) left bottom/contain no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  main .bg_f {
    width: 51vw;
    padding-bottom: 119%;
    background: url(../images/contact/bg_f_mb.png) left bottom/contain no-repeat;
    top: auto;
    bottom: 47vh;
  }
}
main .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 1288px;
}
main .banner {
  width: 43.7%;
  z-index: -1;
  position: relative;
}
main .banner .bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}
main .banner .title-wrap {
  position: absolute;
  top: 16%;
  left: 16.25vw;
  color: white;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
}
main .banner .section-title {
  letter-spacing: 0;
  font-weight: 500;
  font-size: 5.5vw;
  line-height: 1;
}
main .banner .section-subtitle {
  font-size: 1.4vw;
  margin-bottom: 41px;
}
main .banner .section-subtitle span {
  letter-spacing: 0.54em;
}
@media (max-width: 767px) {
  main .banner {
    width: 100%;
    margin-bottom: 45px;
  }
  main .banner .bg {
    position: absolute;
  }
  main .banner .bg .f {
    width: 76%;
    height: 0;
    padding-bottom: 37.5%;
    background-position: left bottom;
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  main .banner .title-wrap {
    width: calc(100% - 40px);
    position: relative;
    margin-top: 50px;
    margin-left: 20px;
    top: auto;
    left: auto;
    margin-bottom: 40%;
    min-height: 240px;
  }
  main .banner .section-title {
    font-size: 2.8125rem;
  }
  main .banner .section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 12px;
  }
}
main .form-wrap {
  width: 56.3%;
  padding-top: 24vh;
  padding-left: 4vw;
}
main .btnwrap {
  text-align: right;
}
main .btnwrap .btn {
  text-align: center;
}
main form {
  width: 29vw;
  margin-bottom: 80px;
}
main .form-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 10px;
}
main .form-group {
  position: relative;
  width: 45%;
}
main .star {
  position: absolute;
  left: -7px;
  top: -7px;
  color: #5484e9;
}
main .req small {
  opacity: 1;
}
main small {
  font-size: 1rem;
  color: #5484e9;
  font-weight: 700;
  line-height: 16px;
  display: block;
  margin-top: 8px;
  opacity: 0;
}
@media (max-width: 767px) {
  main small {
    font-size: 0.75rem;
  }
}
main .field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-flow: column-reverse;
          flex-flow: column-reverse;
}
main label,
main input {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}
main label {
  position: relative;
}
main input {
  font-size: 1.125rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid black;
  width: 100%;
  padding: 8px 0;
  background-color: transparent;
}
@media (max-width: 767px) {
  main input {
    font-size: 0.875rem;
    padding: 5px 0;
  }
}
main input:focus {
  outline: 0;
  border-bottom: 1px solid black;
}
main input:-moz-placeholder-shown + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 2.2rem) scale(1.125);
}
main input:-ms-input-placeholder + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 2.2rem) scale(1.125);
}
main input:placeholder-shown + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transform: translate(0, 2.2rem) scale(1.125);
          transform: translate(0, 2.2rem) scale(1.125);
}
@media (max-width: 767px) {
  main input:-moz-placeholder-shown + label {
    transform: translate(0, 1rem) scale(1);
  }
  main input:-ms-input-placeholder + label {
    transform: translate(0, 1rem) scale(1);
  }
  main input:placeholder-shown + label {
    -webkit-transform: translate(0, 1rem) scale(1);
            transform: translate(0, 1rem) scale(1);
  }
}
main ::-webkit-input-placeholder {
  opacity: 0;
  -webkit-transition: inherit;
  transition: inherit;
}
main input:focus::-webkit-input-placeholder {
  opacity: 1;
}
main input:not(:-moz-placeholder-shown) + label {
  transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
main input:not(:-ms-input-placeholder) + label {
  transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
main input:not(:placeholder-shown) + label,
main input:focus + label {
  -webkit-transform: translate(0, 0) scale(1);
          transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
@media (max-width: 767px) {
  main input:not(:-moz-placeholder-shown) + label {
    transform: translate(0, -1.75rem) scale(0.875);
  }
  main input:not(:-ms-input-placeholder) + label {
    transform: translate(0, -1.75rem) scale(0.875);
  }
  main input:not(:placeholder-shown) + label,
main input:focus + label {
    -webkit-transform: translate(0, -1.75rem) scale(0.875);
            transform: translate(0, -1.75rem) scale(0.875);
  }
}
main .textarea-group {
  margin-bottom: 40px;
}
main textarea {
  display: block;
  width: 100%;
  resize: none;
  border: none;
  border-bottom: 1px solid black;
  border-radius: 0;
  font-size: 1.125rem;
  height: 123px;
  background-color: transparent;
}
@media (max-width: 767px) {
  main textarea {
    font-size: 1rem;
  }
}
main textarea:focus {
  outline: 0;
  border-bottom: 1px solid black;
}
main textarea:-moz-placeholder-shown + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 2.2rem) scale(1.125);
}
main textarea:-ms-input-placeholder + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 2.2rem) scale(1.125);
}
main textarea:placeholder-shown + label {
  cursor: text;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transform: translate(0, 2.2rem) scale(1.125);
          transform: translate(0, 2.2rem) scale(1.125);
}
@media (max-width: 767px) {
  main textarea:-moz-placeholder-shown + label {
    transform: translate(0, 1rem) scale(1);
  }
  main textarea:-ms-input-placeholder + label {
    transform: translate(0, 1rem) scale(1);
  }
  main textarea:placeholder-shown + label {
    -webkit-transform: translate(0, 1rem) scale(1);
            transform: translate(0, 1rem) scale(1);
  }
}
main ::-webkit-textarea-placeholder {
  opacity: 0;
  -webkit-transition: inherit;
  transition: inherit;
}
main textarea:focus::-webkit-textarea-placeholder {
  opacity: 1;
}
main textarea:not(:-moz-placeholder-shown) + label {
  transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
main textarea:not(:-ms-input-placeholder) + label {
  transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
main textarea:not(:placeholder-shown) + label,
main textarea:focus + label {
  -webkit-transform: translate(0, 0) scale(1);
          transform: translate(0, 0) scale(1);
  cursor: pointer;
  color: #5484e9;
}
@media (max-width: 767px) {
  main textarea:not(:-moz-placeholder-shown) + label {
    transform: translate(0, -1.75rem) scale(0.875);
  }
  main textarea:not(:-ms-input-placeholder) + label {
    transform: translate(0, -1.75rem) scale(0.875);
  }
  main textarea:not(:placeholder-shown) + label,
main textarea:focus + label {
    -webkit-transform: translate(0, -1.75rem) scale(0.875);
            transform: translate(0, -1.75rem) scale(0.875);
  }
}
main .company-location {
  width: 29vw;
  height: 367px;
  overflow-y: auto;
  padding-right: 10px;
  /* Track */
  /* Handle */
}
main .company-location::-webkit-scrollbar {
  width: 5px;
}
main .company-location::-webkit-scrollbar-track {
  background: #f1f1f1;
}
main .company-location::-webkit-scrollbar-thumb {
  background: #5484e9;
}
main .company-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
main .company-wrap:not(:last-child) {
  margin-bottom: 55px;
}
main .info {
  width: 65%;
  border-left: solid 1px #5484e9;
  padding-left: 20px;
  line-height: 1.6;
}
main .map {
  width: 29%;
  height: 29%;
}
main .map iframe {
  width: 100%;
  height: 100%;
}
main .company-name {
  margin-bottom: 14px;
  font-weight: 500;
}
main .addr,
main .tel,
main .fax {
  color: black;
}
main .tel span:first-child,
main .fax span:first-child {
  font-weight: 700;
  width: 45px;
  display: inline-block;
}
@media (max-width: 1600px) {
  main form {
    width: 45vw;
  }
  main .company-location {
    width: 45vw;
  }
}
@media (max-width: 767px) {
  main .flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: auto;
  }
  main .banner {
    width: 100%;
  }
  main .form-wrap {
    width: 100%;
    padding: 20px 20px 0;
    margin-bottom: 60px;
  }
  main .btnwrap {
    text-align: center;
  }
  main form {
    width: 100%;
    margin-bottom: 55px;
  }
  main .form-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 0px;
  }
  main .form-group {
    width: 100%;
    margin-bottom: 35px;
  }
  main .textarea-group {
    margin-bottom: 62px;
  }
  main .company-location {
    width: 100%;
    height: initial;
    overflow-y: initial;
    padding-right: 10px;
  }
  main .company-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main .company-wrap:not(:last-child) {
    margin-bottom: 30px;
  }
  main .info {
    width: 100%;
    padding-left: 10px;
    line-height: 1.4;
    margin-bottom: 25px;
  }
  main .map {
    width: 143px;
    height: 143px;
  }
  main .company-name {
    margin-bottom: 10px;
  }
}