@media screen and (min-width: 769px) {
  .mailform {
    /* margin-top: 60px; */
    /* margin-bottom: 100px; */
  }
}

@media screen and (max-width: 768px) {
  .mailform {
    /* margin-top: 40px;
    margin-bottom: 40px; */
  }
}

.mailform.confirm,
.mailform.thanks {
  display: block;
}

@media screen and (min-width: 769px) {
  .mailform.confirm,
  .mailform.thanks {
    margin-top: 30px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .mailform.confirm,
  .mailform.thanks {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

.mailform-headline {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 769px) {
  .mailform-headline {
    max-width: 250px;
    margin-top: 50px;
    margin-right: 0;
  }
}
@media screen and (max-width: 768px) {
  .mailform-headline {
    max-width: 150px;
    margin-top: 30px;
  }
}

.arrow {
  margin-left: 1em;
  width: 0.75em;
  transition: transform 400ms cubic-bezier(0.77, 0, 0.175, 1);
  flex-shrink: 0;
}

.arrow img {
  display: block;
}

.arrow.is-open {
  transform: rotate(-180deg);
}

.mailform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.2em 1em;
  line-height: 1.25;
  border-radius: 6px;
  margin: 0 auto;
  color: #fff;
  background: #47885e;
  max-width: 340px;
  margin-top: 20px;
}

@media screen and (min-width: 769px) {
  .mailform-btn {
    min-height: 70px;
  }
}

@media screen and (max-width: 768px) {
  .mailform-btn {
    min-height: 50px;
  }
}

.mailform-caution {
  margin-top: 8px;
  text-align: right;
  margin-right: auto;
  margin-left: auto;
  font-size: 1rem;
}

@media screen and (min-width: 769px) {
  .mailform-caution {
    font-size: 1.2rem;
  }
}

.mailform-content {
  height: 0;
  overflow: hidden;
  transition: height 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.mailform-main {
  /* padding-bottom: 30px; */
}

@media screen and (min-width: 769px) {
  .mailform-main {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-main {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
.mailform-switch {
  display: flex;
  justify-content: center;
}
.mailform-switch-type {
  padding: 0 15px;
}
.mailform-switch-type input[type='radio'] {
  display: none;
}
.mailform-switch-type input[type='radio'] + label {
  cursor: pointer;
  padding-left: 2.5em;
  position: relative;
}
.mailform-switch-type input[type='radio'] + label::before {
  content: '';
  display: block;
  background: #f6f6f6;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media screen and (min-width: 769px) {
  .mailform-switch-type input[type='radio'] + label::before {
    width: 28px;
    height: 28px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-switch-type input[type='radio'] + label::before {
    width: 20px;
    height: 20px;
  }
}
.mailform-switch-type input[type='radio'] + label::after {
  content: '';
  background: #8c8c8c;
  border: 1px solid transparent;
  border-radius: 50%;
  opacity: 0;
  padding: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease 0s;
}
@media screen and (min-width: 769px) {
  .mailform-switch-type input[type='radio'] + label::after {
    width: 14px;
    height: 14px;
    left: 7px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-switch-type input[type='radio'] + label::after {
    width: 10px;
    height: 10px;
    left: 5px;
  }
}
.mailform-switch-type input[type='radio']:checked + label::after {
  opacity: 1;
}
.mailform-switch-type label {
  display: flex;
  align-items: center;
}
.mailform-switch-type .switch-icon {
  display: block;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .mailform-switch-type .switch-icon {
    width: 35px;
    height: 30px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-switch-type .switch-icon {
    width: 30px;
    height: 25px;
  }
}
.mailform-switch-type .switch-icon img {
  height: 100%;
  width: auto;
}
.mailform-switch-type .switch-name {
  display: block;
  margin-left: 0.5em;
}
@media screen and (min-width: 769px) {
  .mailform-switch-type .switch-name {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 768px) {
  .mailform-switch-type .switch-name {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 769px) {
  .mailform-info {
    margin-top: 50px;
    padding: 0 60px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-info {
    margin-top: 30px;
    padding: 0 35px;
  }
}
.mailform-info-company {
  margin-bottom: 50px;
  display: none;
}
@media screen and (max-width: 768px) {
  .mailform-info-company {
    margin-bottom: 30px;
  }
}
.mailform-info-company.is-show {
  display: block;
}
.mailform-info.corporation {
  display: none;
}
@media screen and (min-width: 769px) {
  .mailform-info-box {
    display: flex;
  }
}
.mailform-info-box:not(:first-of-type) {
  margin-top: 35px;
}
@media screen and (min-width: 769px) {
  .mailform-info__title {
    font-size: 1.6rem;
    flex-shrink: 0;
    min-width: 200px;
    padding: 0.75em 0;
  }
}
@media screen and (max-width: 768px) {
  .mailform-info__title {
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 769px) {
  .mailform-info-inner {
    flex-grow: 1;
  }
}
@media screen and (max-width: 768px) {
  .mailform-info-inner {
    margin-top: 10px;
  }
}

.mailform-info-field {
  word-break: break-all;
}

.mailform-info-inner.name .customer-add-info-field:not(:first-of-type) {
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  .mailform-info-field:not(:first-of-type) {
    margin-top: 20px;
  }
}
@media screen and (max-width: 768px) {
  .mailform-info-field:not(:first-of-type) {
    margin-top: 10px;
  }
}
.mailform-info-field-inner {
  position: relative;
}
.mailform-info-field.flex {
  display: flex;
}
.mailform-info-field .half {
  width: calc(50% - 5px);
}
.mailform-info-field .hyphen {
  display: block;
  padding-top: 0.7em;
  margin: 0 10px;
}
.mailform-info-field input,
.mailform-info-field textarea {
  width: 100%;
  background: #fafafa;
  padding: 0.7em 1.25em;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
}
.mailform-info-field input::placeholder,
.mailform-info-field textarea::placeholder {
  color: #b3b3b3;
}
.mailform-info-field input::-ms-input-placeholder,
.mailform-info-field textarea::-ms-input-placeholder {
  color: #b3b3b3;
}
.mailform-info-field input + input {
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  .mailform-info-field input.js-address-zip {
    width: 100%;
  }
}
.mailform-info-field button {
  color: #fff;
  padding: 0.5em;
  background: #595959;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  margin-left: 10px;
}
@media screen and (min-width: 769px) {
  .mailform-info-field button {
    font-size: 1.2rem;
    min-width: 100px;
    transition: 150ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  }
}
@media screen and (max-width: 768px) {
  .mailform-info-field button {
    font-size: 1rem;
    min-width: 75px;
  }
}
@media screen and (min-width: 769px) {
  .mailform-info-field button:hover {
    background: #fff;
    color: #000;
  }
}
.mailform-info-field .select-box {
  position: relative;
}
.mailform-info-field .select-box::before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px calc(7px / 2) 0 calc(7px / 2);
  border-color: #486a00 transparent transparent transparent;
  pointer-events: none;
}
.mailform-info-field .select-box select {
  width: 100%;
  padding: 0.75em 1.25em;
  padding-right: 2.25em;
  box-shadow: 2.5px 2.5px 2.5px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  color: inherit;
}
.mailform-info-field .notes {
  display: block;
  text-align: right;
  font-size: 1rem;
  margin-top: 0.25em;
  font-weight: 400;
}

.mailform .btn-wrap {
  margin-top: 55px;
}
.mailform .btn-wrap .primary-btn.inactive {
  background: #aaa;
  pointer-events: none;
}

.mailform .btn-wrap button {
  margin: auto;
}

.mailform.confirm .mailform__title,
.mailform.thanks .mailform__title {
  text-align: center;
}

@media screen and (min-width: 769px) {
  .mailform.confirm .mailform__title,
  .mailform.thanks .mdilform__title {
    font-size: 3.6rem;
  }
}

.mailform.confirm .mailform__text,
.mailform.thanks .mailform__text {
  text-align: center;
  margin-top: 1.5em;
}

/* .mailform.confirm .mailform-main {
  padding-top: 0;
} */

.mailform.confirm .contact-error-list {
  margin-top: 2em;
  text-align: center;
}

.mailform.confirm .mailform-info {
  margin-top: 0;
}

@media screen and (min-width: 769px) {
  .mailform.confirm .mailform-info-inner {
    padding: 0.75em 0;
  }
}

@media screen and (min-width: 769px) {
  .mailform.confirm .btn-wrap {
    display: flex;
    justify-content: center;
  }

  .mailform.confirm .btn-wrap button {
    margin: 0 20px;
  }
}

.mailform.confirm .btn-wrap .primary-btn.back {
  border: 1px solid #47885e;
  background: #fff;
  color: #47885e;
}

@media screen and (max-width: 768px) {
  .mailform.confirm .btn-wrap .primary-btn + .primary-btn {
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .mailform.thanks .btn-wrap {
    margin-top: 30px;
  }
}

.mailform.thanks .btn-wrap .mailform-btn {
  margin: auto;
}

@media screen and (min-width: 769px) {
  .mailform.thanks .btn-wrap .mailform-btn {
    max-width: 250px;
  }
}
@media screen and (max-width: 768px) {
  .mailform.thanks .btn-wrap .mailform-btn {
    max-width: 150px;
  }
}

.mailform.thanks .btn-wrap .mailform-btn:hover {
  color: #fff;
}

@media screen and (min-width: 769px) {
  .section-quotation .headline {
    display: flex;
    justify-content: space-between;
  }
}

.section-quotation .headline .contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .section-quotation .headline .contact {
    margin-top: 1.5em;
  }
}

.section-quotation .headline .contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5em 1em;
  border-radius: 6px;
  margin: 0 auto;
  color: #fff;
  background: #47885e;
}

.section-quotation .headline .contact-btn .arrow {
  right: 1.5em;
}

@media screen and (min-width: 769px) {
  .section-quotation .headline .contact-btn {
    min-height: 70px;
    min-width: 294px;
    font-size: 1.8rem;
  }

  .section-quotation .headline .contact-btn .arrow {
    right: 2em;
  }
}

@media screen and (max-width: 768px) {
  .section-quotation .headline .contact-btn {
    min-height: 50px;
  }
}

.section-quotation .headline .contact-tel {
  flex-shrink: 0;
  margin-left: 1.5em;
}

@media screen and (min-width: 769px) {
  .section-quotation .headline .contact-tel {
    font-size: 1.4rem;
  }

  .section-quotation .headline .contact-tel-num {
    font-size: 2.4rem;
    pointer-events: none;
  }
}

@media screen and (max-width: 768px) {
  .section-quotation .headline .contact-tel {
    font-size: 1.1rem;
    margin-left: 1em;
  }

  .section-quotation .headline .contact-tel-num {
    font-size: 1.6rem;
  }
}
