@charset "UTF-8";

.contactForm {
  background: url(/images/contact_image.png) no-repeat;
  background-position: left bottom;
  padding: 50px 0;
}


/* -----sectionTitle----- */
.sectionTitle {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 95%;
  margin: 30px auto;
}

.sectionTitle h1 {
  font-family: 'DIN Condensed', sans-serif;
  font-size: 42px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-decoration-color: #850000;
  text-underline-offset: 15px
}

.subTitleContainer {
  display: flex;
  align-items: center;
  margin-left: 26px;
}

.sectionTitle p {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.sectionTitle span {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  color: #d70c19;
  font-size: 12px;
  letter-spacing: 0.05em;
}

@media screen and (max-width:520px) {

  .sectionTitle h1 {
    font-size: 28px;
  }

  .subTitleContainer {
    display: block;
  }

}



/* ------ribbon flow----- */
.ribbon {
  max-width: 800px;
  margin: 60px auto;
}

.step {
  list-style-type: none;
  display: table;
  width: 76%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  height: 60px;
}

.step li {
  display: table-cell;
  position: relative;
  background: #d0d0d0;
  padding: 0.7em 0.5em 0.7em 2em;
  color: #000;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

.step li:last-child {
  padding-right: 1em;
}

.step li:last-child:before,
.step li:last-child:after {
  display: none;
}

.step li:before,
.step li:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}

.step li:before {
  top: -10px;
  right: -1em;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 40px 0 40px 1em;
  z-index: 10;
}

.step li:after {
  top: -10px;
  right: -.8em;
  border-style: solid;
  border-color: transparent transparent transparent #d0d0d0;
  border-width: 40px 0 40px 1em;
  z-index: 10;
}

.step li.is-current {
  background: #d70c19;
  color: #fff;
}

.step li.is-current:after {
  border-color: transparent transparent transparent #d70c19;
}

/* -----formContainer----- */
.formContainer {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.uiFormCompany,
.uiFormName,
.uiFormEmail,
.uiFormTelNumber,
.uiFormSelectAppBox,
.uiFormDate,
.uiFormQuestion {
  display: flex;
  flex-direction: column;
  margin-bottom: 45px;
}

label {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

input,
select {
  border-radius: 3px;
  border: none;
  height: 60px;
  background-color: #ededed;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  font-size: 20px;
}

.uiFormCompany,
.uiFormName,
.uiFormTelNumber {
  width: 60%;
}

.uiFormSelectAppBox {
  width: 50%;
  position: relative;
}

#uiFormInputFile {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 20px 0;
}

#uploadFile {
  margin: 20px 0;
  position: relative;
  padding: 20px 0;
  text-align: center;
}

#dropArea {
  position: absolute;
  top: 0;
  left: 20px;
  width: 90%;
  height: 100%;
  letter-spacing: 0.05em;
  border: 2px dashed #850000;
  transition: all 0.25s cubic-bezier(0.21, 0.51, 0.51, 1);
}

#dropArea.dragover {
  border: 2px solid #16a5bf;
  background: rgba(22, 165, 191, 0.6);
}

#inputFile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

#uploadFileWrap {
  position: relative;
  display: inline-block;
}

#btnInputFile {
  display: table;
  width: 300px;
}

#btnInputFile i {
  font-size: 2rem;
}

#btnInputFile span {
  position: relative;
  z-index: 2;
  display: table-cell;
  width: 90%;
  height: 80px;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  color: #850000;
  letter-spacing: 0.05em;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  vertical-align: middle;
}

#beFile {
  color: #850000;
  font-size: 18px;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  letter-spacing: 0.05em;
}

.date1Form,
.date2Form,
.date3Form {
  margin-left: 10%;
  margin-bottom: 12px;
}

.uiFormDate input {
  width: 45%;
}

.uiFormSelectAppBox::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 25px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #850000;
  border-bottom: 0px;
  pointer-events: none;
}

.uiFormQuestion textarea {
  height: 360px;
  border-radius: 3px;
  background-color: #ededed;
  border: none;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  font-size: 20px;
}

.uiFormButton {
  margin: 30px auto;
  width: 70%;
}

.uiFormButton button {
  border: none;
  outline: none;
  background: transparent;
  background-color: #d70c19;
  font-size: 24px;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
  font-weight: bold;
  letter-spacing: 0.05em;
  color: white;
  width: 100%;
  padding: 25px 0;
}

#errorCompany,
#errorName,
#errorEmail,
#errorTel,
#errorSelect,
#errorFile,
#errorDate1,
#errorDate2 {
  color: #d70c19;
  font-size: 20px;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "游ゴシック体";
}

@media screen and (max-width:520px) {
  .contactForm {
    background-size: 50%;
  }

  .uiFormCompany,
  .uiFormName,
  .uiFormEmail,
  .uiFormTelNumber,
  .uiFormSelectAppBox,
  .uiFormQuestion {
    width: 95%;
    margin: 20px auto;
  }
}