header {
  position: relative;
}

header.scroll {
  transform: translate(0);
}

main {
  padding-top: 0;
}

.column-1 {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.table-contact > dl {
  display: grid;
  grid-template-columns: 205px auto;
  grid-template-columns: repeat(1, 1fr);
}

.table-contact dl dt,
.table-contact dl dd {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.table-contact dl dt {
  font-size: 16px;
  line-height: 25px;
  padding: 6px 20px;
}

.table-contact dl dd {
  padding: 20px;
}

.contact-type-other {
  margin-top: 10px;
}

.table-contact dl dt label {
  display: grid;
  column-gap: 10px;
  margin-bottom: 0;
}

.table-contact dl.req dt label {
  grid-template-columns: auto 50px;
}

.table-contact dl dt label span {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  width: 50px;
  height: 20px;
  display: grid;
  place-content: center;
  margin-top: 3px;
  border-radius: 10px;
}

.table-contact dl.req dt label span {
  color: #fff;
  background: #c70000;
  border: 1px solid #c70000;
}

.table-contact dl.any dt label span {
  color: #26aec0;
  border: 1px solid #26aec0;
}

.privacy-check .privacy-policy-box label {
  display: flex;
  align-items: center;
  column-gap: 6px;
  margin-bottom: 0;
}

.privacy-check .privacy-policy-box .req-mark {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  width: 50px;
  height: 20px;
  display: grid;
  place-content: center;
  margin-top: 3px;
  border-radius: 10px;
  color: #fff;
  background: #c70000;
  border: 1px solid #c70000;
}

.page-entry .table-contact dd .job-name-area {
  text-align: right;
}

.page-entry .table-contact dd .job-name-area .job-name-box {
  font-size: 18px;
  line-height: 29px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  background: #f5f5f5;
  border-radius: 6px;
}

.page-entry .table-contact dd .job-name-area .btn-link {
  color: #26aec0;
  padding-top: 16px;
  display: inline-block;
}

.page-confirm .table-contact dd .job-name-area .btn-link {
  display: none;
}

.page-confirm .confirm-none {
  display: none;
}

@media screen and (max-width: 991px) {
  .table-contact textarea {
    min-height: 378px;
  }
}

.table-contact dd .form-control {
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  background: #fff;
  height: 35px;
  padding-top: 6px;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-left: 12px;
  margin-bottom: 5px;
  border-radius: 3px;
  border: 1px solid #d1d1d1;
}

.table-contact dd select.form-control {
  padding-top: 3px;
  padding-left: 8px;
}

.table-contact dd textarea.form-control {
  height: auto;
}

.table-contact dd .form-control:last-child {
  margin-bottom: 0;
}

.mwform-checkbox-field label,
.mwform-radio-field label {
  display: flex;
  align-items: center;
}

.table-contact .your-phone dd,
.table-contact .your-fax dd {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

@media screen and (min-width: 992px) {
  .table-contact .your-phone dd,
  .table-contact .your-fax dd {
    grid-template-columns: 144px auto auto;
  }
}

.table-contact .your-phone dd .form-control,
.table-contact .your-fax dd .form-control {
  margin-bottom: 0;
}

.table-contact .your-phone dd .mini,
.table-contact .your-fax dd .mini {
  font-size: 14px;
  font-weight: 400;
  padding-left: 4px;
}

.form-group {
  margin-bottom: 8px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group + .metabox p {
  font-size: 12px;
  line-height: 18px;
}

.mwform-tel-field input {
  text-align: center;
}

.mw_wp_form .table-contact .error,
.mw_wp_form .error {
  color: #c70000;
  font-size: 14px;
}

.select-box {
  display: inline-block;
  position: relative;
}

.select-box svg {
  display: block;
  margin-top: -12px;
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 1;
  fill: #000;
}

.select-box select {
  -webkit-appearance: none;
  appearance: none;
  /* デフォルトの矢印を非表示 */
}

.select-box select::-ms-expand {
  display: none;
}

.privacy-check {
  text-align: left;
}

.alert-area,
.alert-area .alert {
  margin-bottom: 0;
}

.mwform-checkbox-field label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.privacy-check label {
  justify-content: center;
}

.mwform-checkbox-field label .checkbox {
  display: block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.mwform-checkbox-field label .checkbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 2px;
}

.mwform-checkbox-field label .checkbox::after {
  content: "";
  position: absolute;
  background-image: url(../img/common/img-check.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 16px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.mwform-checkbox-field label input[type="checkbox"] {
  display: none;
}

.mwform-checkbox-field
  label
  input[type="checkbox"]:checked
  + .checkbox::before {
  background: #26aec0;
  border: 1px solid #cdcdcd;
}

.mwform-checkbox-field label input[type="checkbox"]:checked + .checkbox::after {
  opacity: 1;
}

.privacy-check .mwform-checkbox-field-text {
  display: flex;
  -ms-align-items: center;
  align-items: center;
}

.privacy-check .mwform-checkbox-field-text .btn {
  display: flex;
  margin-right: 4px;
}

.privacy-check .metabox {
  margin-bottom: 16px;
}

.mw_wp_form .privacy-check .error {
  color: #c70000;
  text-align: center;
}

input[type="file"] {
  background: none;
  border-radius: 4px;
}

button:focus {
  outline: none;
}

.btn-confirm,
.btn-back,
.btn-send {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 16px;
  border-radius: 56px;
  transition: 0.5s ease all;
}

.btn-confirm,
.btn-send {
  border: none;
}

.btn-confirm:hover,
.btn-send:hover {
  text-decoration: none;
}

.btn-send.complete {
  border: none;
  text-decoration: none;
}

.btn-send.complete:hover {
  text-decoration: none;
}

.btn-back {
  color: #333;
  background: #d1d1d1;
  border: none;
}

.btn-back:hover {
  border: none;
  text-decoration: none;
}

@media (max-width: 991px) {
  .contact .btn-area {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
  }

  .select-box {
    width: 100%;
  }

  .btn-confirm,
  .btn-back,
  .btn-send {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .page-confirm .btn-area {
    justify-content: center;
  }

  .page-confirm .btn-confirm,
  .page-confirm .btn-back,
  .page-confirm .btn-send {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (min-width: 992px) {
  .table-contact > dl {
    grid-template-columns: 205px auto;
  }

  .table-contact > dl > dt,
  .table-contact > dl > dd {
    padding-top: 0;
  }

  .table-contact dl dt,
  .table-contact dl dd {
    padding: 18px 20px;
    margin-bottom: 0;
  }

  .contact .btn-area {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .privacy-check {
    text-align: center;
  }

  .form-group + .metabox p {
    font-size: 14px;
    line-height: 29px;
  }

  .btn-confirm,
  .btn-send,
  .btn-back {
    width: 320px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-right: 8px;
    margin-left: 8px;
  }

  .btn-confirm .icon,
  .btn-send .icon {
    right: 20px;
  }

  .btn-back .icon {
    left: 20px;
  }
}

.page-confirm .privacy-check-cont,
.page-confirm .table-contact .mini,
.page-thanks .security-text-cont {
  display: none;
}

.page-thanks .alert-area .title {
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  display: block;
  text-align: center;
  margin-bottom: 15px;
}

.page-thanks .tel-area {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  place-content: center;
  background: #fff;
  padding: 20px;
}

.page-thanks .tel-area .tel-area-item {
  font-weight: 400;
}

@media screen and (min-width: 992px) {
  .page-thanks .alert-area .title {
    margin-bottom: 20px;
  }
  .page-thanks .tel-area {
    grid-template-columns: repeat(2, auto);
    column-gap: 40px;
  }
}

.contact-tel-area {
  background: #e66265;
  border-radius: 3px;
}

.contact-tel-area .tel-contact-cont {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  text-align: center;
}

.contact-tel-area .tel-contact-cont .title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  background: #e13735;
}

.contact-tel-area .title {
  padding-top: 3px;
  padding-bottom: 3px;
}

.contact-tel-area .tel-contact-area {
  width: 100%;
  display: grid;
  place-content: center;
  padding: 10px;
}

.contact-tel-area .tel-contact-item.tel {
  display: block;
}

.contact-tel-area .tel-contact-item.tel .block-area {
  font-size: 31px;
  line-height: 37.2px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-tel-area .tel-contact-item.tel .icon {
  flex: 0 0 20px;
  max-width: 20px;
}

.contact-tel-area .tel-contact-item.tel .icon svg {
  fill: #fff;
}

.contact-tel-area .tel-contact-item.tel .text {
  padding-left: 8px;
  margin-top: -4px;
}

.contact-tel-area .tel-contact-item.tel .caption {
  font-size: 14px;
  line-height: 16.8px;
  font-weight: 500;
  color: #fff;
  padding-left: 10px;
  margin-bottom: 0;
}

@media screen and (min-width: 992px) {
  .contact-tel-area {
    height: 70px;
  }

  .contact-tel-area .tel-contact-cont {
    display: flex;
    align-items: center;
  }

  .contact-tel-area .tel-contact-cont .title {
    flex: 0 0 210px;
    max-width: 210px;
    height: 70px;
    display: grid;
    place-content: center;
  }

  .contact-tel-area .tel-contact-item.tel {
    display: flex;
    align-items: center;
  }
}

.contact-step-area {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(3, 1fr);
}

.contact-step-area .contact-step-item {
  display: grid;
  place-content: center;
  position: relative;
}

.contact-step-area .contact-step-item::after {
  content: "";
  background: #ccc;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
}

.contact-step-area .contact-step-item:last-child::after {
  display: none;
}

.contact-step-area .contact-step-item span {
  font-size: 15px;
  line-height: 15px;
  font-weight: 500;
  color: #fff;
  display: grid;
  place-content: center;
  background: #ccc;
  width: 77px;
  height: 77px;
  border-radius: 77px;
}

.contact-step-area .contact-step-item.current span {
  background: #39aec0;
}

@media screen and (min-width: 992px) {
  .contact-step-area .contact-step-item span {
    font-size: 20px;
    line-height: 20px;
    width: 90px;
    height: 90px;
    border-radius: 90px;
  }
}

#autozip {
  pointer-events: none;
  opacity: 0;
}

.table-contact dl dd dl {
  display: grid;
  grid-template-columns: 88px auto;
  margin-bottom: 15px;
}

.table-contact dl dd dl:last-child {
  margin-bottom: 0;
}

.table-contact dl dd dl dt,
.table-contact dl dd dl dd {
  color: #333;
  font-weight: 400;
  background: none;
  padding: 0;
  border: none;
  border-bottom: none;
  position: relative;
}

.table-contact dl dd dl:first-child dt,
.table-contact dl dd dl:first-child dd {
  border-top: none;
}

.table-contact dl dd dl dt {
  padding-top: 5px;
}

.page-confirm .table-contact dl dd dl dt {
  padding-top: 0;
}

.table-contact dl dd dl dt label {
  display: block;
}

.table-contact dl dd dl.your-postal dd,
.table-contact dl dd dl.your-prefectures dd {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
}

.table-contact dl dd dl.your-postal dd input,
.table-contact dl dd dl.your-prefectures dd input {
  margin-bottom: 0;
}

.table-contact dl dd dl.your-postal dd .mini,
.table-contact dl dd dl.your-prefectures dd .mini {
  font-size: 14px;
  padding-left: 4px;
}

@media screen and (max-width: 991px) {
  .form-inline .form-group {
    display: grid;
    grid-template-columns: auto 24px;
    align-items: center;
    width: 100%;
    text-align: right;
  }
}

@media screen and (min-width: 992px) {
  .table-contact dl dd dl.your-postal dd,
  .table-contact dl dd dl.your-prefectures dd {
    grid-template-columns: 144px auto auto;
  }
}

.mw_wp_form .radio-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mw_wp_form .radio-area .horizontal-item + .horizontal-item {
  margin-left: 0;
}

.mwform-radio-field label .radio {
  display: block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.mwform-radio-field label .radio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 22px;
}

.mwform-radio-field label .radio::after {
  content: "";
  position: absolute;
  background-color: #39aec0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.mwform-radio-field label input[type="radio"] {
  display: none;
}

.mwform-radio-field label input[type="radio"]:checked + .radio::before {
  background: #fff;
  border: 2px solid #ccc;
}

.mwform-radio-field label input[type="radio"]:checked + .radio::after {
  opacity: 1;
}

.table-contact dl dd dl dd input,
.table-contact dl dd dl dd select {
  margin-bottom: 0;
}

.form-inline .form-group input {
  margin-bottom: 0;
}
