@charset "UTF-8";

.contact-wrapper {
  margin: 60px 0 200px;
  @media only screen and (max-width:767px){
    margin: 50px 0 100px;
  }

  .l-row {
    @media only screen and (max-width:767px){
      margin: 0;
    }
  }
}

.contact-info {
  margin-bottom: 100px;
  @media only screen and (max-width:767px){
    margin-bottom: 30px;
  }
}

.contact-info-text-box {
  margin-bottom: 30px;
}

.contact-info-text {
  font-size: 16px;
  letter-spacing: 1.2px;
  line-height: 1.8;
  @media only screen and (max-width:767px){
    margin-bottom: 20px;
  }
}

.contact-info-note {
  font-size: 12px;
  letter-spacing: 1.2px;
  line-height: 2.5;
  @media only screen and (max-width:767px){
    line-height: 1.5;
  }
}

.contact-info-tel-box {
  text-align: center;
  max-width: 630px;
  margin: 70px auto;
  padding: 30px 0;
  background-color: #fff;
  border-bottom: 6px solid #E60012;
  @media only screen and (max-width:767px){
    margin: 50px auto 70px;
  }
}

.contact-info-tel-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  @media only screen and (max-width:767px){
    line-height: 1.6;
  }
}

.contact-info-tel-number {
  color: #E60012;
  font-size: 36px;
  font-weight: 400;
  line-height: 30px;
  margin: 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  @media only screen and (max-width:767px){
    font-size: 30px;
    margin: 10px auto 0;
  }

  img {
    width: 44px;
    margin-right: 10px;
    @media only screen and (max-width:767px){
      width: 34px;
    }
  }
}

.contact-info-tel-time {
  font-size: 14px;
  font-weight: 500;
}

.contact-contents {
  margin: 60px 0 200px;
}

.contact-item-required {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(0);
  color: #fff;
  font-size: 16px;
  padding: 5px 15px 8px;
  margin-right: 20px;
  background-color: #2E2E2E;
  @media only screen and (max-width:767px){
    left: 100%;
    right: 0;
    width: max-content;
    margin-left: 10px;
    margin-right: 0;
    font-size: 12px;
    padding: 6px 15px 8px;
  }
}

.contact-item-required-space {
  display: inline-block;
  width: 64px;
  margin-right: 20px;
}

.contact-item-box {
  max-width: 950px;
  margin: 0 auto 40px;
  @media only screen and (max-width:767px){
    flex-wrap: wrap;
    margin: 0 auto 50px;
  }
}

.contact-item-title-box {
  display: grid;
  align-items: center;
  transform: translateY(-10px);
  width: 30%;
  @media only screen and (max-width:767px){
    width: 100%;
    margin-bottom: 15px;
    transform: translateY(0);
  }
}

.contact-item-title {
  font-size: 16px;
  position: relative;
  padding-left: 75px;
  @media only screen and (max-width:767px){
    padding-left: 0;
    width: fit-content;
  }
}

.contact-item-field-box {
  width: 70%;
  @media only screen and (max-width:767px){
    width: 100%;
  }
}

.contact-item-input-text {
  font-size: 16px;
  width: 100%;
  padding: 10px;
  border: 1px solid #231815;
  border-radius: 3px;
  background-color: #fff;
}

.contact-item-radiobtn {
  font-size: 16px;
  margin-right: 30px;
}

.contact-item-input-select {
  font-size: 16px;
  width: 110px;
  padding: 10px;
  border: 1px solid #231815;
  border-radius: 5px;
  background-color: #fff;
  @media only screen and (max-width:767px){
    width: 18%;
  }

  &.contact-item-input-select-1st {
    width: 25%;
  }
}

.contact-item-input-select-span {
  font-size: 16px;
  margin-right: 20px;
}

.contact-item-input-tel {
  font-size: 16px;
  width: 110px;
  padding: 10px;
  border: 1px solid #231815;
  border-radius: 5px;
  background-color: #fff;
  @media only screen and (max-width:767px){
    width: 90px;
  }
}

.contact-item-input-tel-span {
  font-size: 20px;
}

.contact-item-note {
  color: #888;
  font-size: 12px;
  margin-top: 10px;
}

select {
  appearance: auto;
}

input[type="radio"] {
  margin-right: 6px;
  appearance: auto;
}

.contact-item-radio {
  font-size: 16px;
  margin-right: 20px;
}

.contact-privacy-box {
  margin: 50px auto 100px;
  @media only screen and (max-width:767px){
    margin: 50px auto 50px;
  }
}

.contact-privacy-text {
  font-size: 16px;
  letter-spacing: 1.2px;
  line-height: 1.5;
  text-align: center;
  @media only screen and (max-width:767px){
    text-align: left;
    line-height: 30px;
  }
}

.contact-privacy-text-anchor {
  color: #E60012;
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

.contact-item-input-submit-box {
  max-width: 450px;
  text-align: center;
  margin: 0 auto;
  &:hover {
    .contact-item-input-submit {
    color: #E60012;
    }
  }
  +.contact-item-input-submit-box {
    margin-top: 20px;
  }
}

.contact-item-input-submit {
  color: #fff;
  line-height: 66px;
  width: 100%;
  @media only screen and (max-width:767px){
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    line-height: 1.5;
  }

  br {
    display: none;
    @media only screen and (max-width:767px){
      display: block;
    }
  }
}

.contact-item-placeholder {
  color: #888888;
  font-weight: 400;
  font-size: 12px;
  margin-top: 10px;
}


.contact-confirm-contents {
  max-width: 950px;
  margin: 0 auto;
}


.contact-confirm-table {
  width: 100%;
  margin: 0 auto 100px;
  @media only screen and (max-width:767px){
    margin: 0 auto 50px;
  }

  tr {
    border-bottom: 1px solid #2E2E2E;
    @media only screen and (max-width:767px){
      display: block;
      margin-bottom: 10px;
    }
  }

  td,table.formTable th {
    font-size: 14px;
    padding: 40px 0;
    @media only screen and (max-width:767px){
      padding: 10px 0;
    }
  }

  th {
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    width: 30%;
    padding: 8px 10px;
    @media only screen and (max-width:767px){
      display: block;
      width: 100%;
      padding: 5px 0;
    }
  }

  td {
    @media only screen and (max-width:767px){
      display: block;
      margin-bottom: 10px;
    }
  }
}

.contact-thanks-wrapper {
  text-align: center;
  margin: 100px 0 200px;
  @media only screen and (max-width:767px){
    margin: 50px 0 100px;
  }

  .page-strength-link-btn-wrap {
    margin: 0 auto;
  }
}

.contact-thanks-text-area {
  margin-bottom: 100px;
}

.contact-thanks-head {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
  @media only screen and (max-width: 767px) {
    font-size: 20px;
  }
}

.contact-thanks-lead {
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  +.contact-thanks-lead {
    margin-top: 30px;
  }
  @media only screen and (max-width: 767px) {
    text-align: left;
  }
}

input:focus,textarea:focus,select:focus {
  outline: -webkit-focus-ring-color auto 1px;
  outline-offset: -2px;
}

input::placeholder,textarea::placeholder {
  color: #aaa;
}


/*RECRUITページ用*/

.contact-recruit-header-flex {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  background-color: #E60012;
  @media only screen and (max-width:767px){
    display: block;
  }
}

.contact-recruit-header-left {
  width: 40%;
  padding: 15px;
  @media only screen and (max-width:767px){
    width: 100%;
  }
}

.contact-recruit-header-right {
  width: 60%;
  padding: 25px 15px;
  display: grid;
  align-items: center;
  @media only screen and (max-width:767px){
    width: 100%;
  }
}

.contact-recruit-header-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 10px;
  @media only screen and (max-width:767px){
    font-size: 20px;
  }
}

.contact-recruit-header-list-in {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;

  img {
    width: 22px;
    vertical-align: middle;
    margin-right: 10px;
  }
}

