@charset "utf-8";

/* ----------------------------------------
  quotation
---------------------------------------- */

/* ---------- intro ---------- */
.p-quotation-intro {
  width: 100%;
  margin-top: 180px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.7,0,.3,1), transform .8s cubic-bezier(.7,0,.3,1);
}

.is-active.p-quotation-intro {
  opacity: 1;
  transform: translateY(0);
}

.p-quotation-intro__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.p-quotation-intro__text {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: calc(32 / 16);
}

@media screen and (max-width:768px) {
  .p-quotation-intro {
    margin-top: 100px;
  }

  .p-quotation-intro__text {
    text-align: left;
    font-size: 1.4rem;
  }
}



/* ---  */
.none {
  display: none !important;
}

.type-wrap {
  align-items: center;
  font-size: 14px;
}

.type-number {
  padding: 4px 10px 3px;
  border: 1px solid #ddd;
  margin-left: 5px;
  margin-right: 20px;
  font-size: 18px;
}
.type-wrap.lcl .type-number {
  margin-right: 5px;
  margin-left: 20px;
}
.type-wrap.lcl .type-number:first-child {
  margin-left: 0;
}
.type-checkbox input {
  width: 25px;
  height: 25px;
  margin-right: 5px;
}
.type-checkbox {
  display: flex;
  align-items: center;
}

/* --- */

/* ---------- form ---------- */
.p-quotation-form {
  width: 100%;
  margin-top: 150px;
  padding: 0 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s cubic-bezier(.7,0,.3,1), transform .8s cubic-bezier(.7,0,.3,1);
}

.is-active.p-quotation-form {
  opacity: 1;
  transform: translateY(0);
}

.p-quotation-form__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 10%;
  background-color: var(--color-gray);
  border-radius: 10px;
}

.p-quotation-form__unit {
  display: flex;
}

.p-quotation-form__unit + .p-quotation-form__unit {
  margin-top: 50px;
}

.p-quotation-form__unit--mb {
  margin-bottom: 60px;
}

.p-quotation-form__head {
  width: 210px;
  margin-right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-quotation-form__heading {
  font-size: 1.6rem;
}

.p-quotation-form__require {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--color-wht);
  background-color: var(--color-sub);
  border-radius: 50px;
  padding: 3px 12px 4px 12px;
}

.p-quotation-form__body {
  flex: 1;
  position: relative;
}

.p-quotation-form__input-text {
  border: none;
  border-radius: 0;
  outline: none;
  appearance: none;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-main);
  background: var(--color-wht);
  padding: 16px;
}

.p-quotation-form__notes {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-top: 5px;
  position: absolute;
}

.p-quotation-form__radio-wrap {
  display: flex;
  justify-content: space-between;
}

.p-quotation-form__radio-label {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.p-quotation-form__radio-label + .p-quotation-form__radio-label {
  margin-left: 40px;
}

.p-quotation-form__radio {
  position: absolute;
  opacity: 0;
}

.p-quotation-form__radio-text {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.p-quotation-form__radio-text::before {
  content: "";
  width: 30px;
  height: 30px;
  display: block;
  background-color: var(--color-wht);
  border-radius: 50%;
  margin-right: 5px;
}

.p-quotation-form__radio-text::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background-color: var(--color-main);
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
  opacity: 0;
  transition: opacity .3s;
}

.p-quotation-form__radio[type="radio"]:checked + .p-quotation-form__radio-text::after {
  opacity: 1;
}

.p-quotation-privacy {
  width: 100%;
  margin-top: 100px;
  background-color: var(--color-wht);
  padding: 25px 20px 25px 50px;
}

.p-quotation-privacy__inner {
  width: 100%;
  height: 150px;
  overflow-y: auto;
  padding: 0 30px 0 0;
}

.p-quotation-privacy__inner::-webkit-scrollbar {
  background: var(--color-gray);
  width: 8px;
  height: 8px;
  border-radius: 20px;
}

.p-quotation-privacy__inner::-webkit-scrollbar-thumb {
  background-color: var(--color-main);
  border-radius: 20px;
}

.p-quotation-privacy__title {
  text-align: center;
  font-size: 1.6rem;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-sub);
}

.p-quotation-privacy__heading {
  font-size: 1.6rem;
  line-height: calc(32 / 16);
  margin-top: 20px;
}

.p-quotation-privacy__text {
  font-size: 1.4rem;
  line-height: calc(32 / 16);
  margin-top: 5px;
}

.p-quotation-agree {
  width: 100%;
  margin-top: 50px;
}

.p-quotation-agree__label {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.p-quotation-agree__checkbox {
  position: absolute;
  opacity: 0;
}

.p-quotation-agree__text {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.p-quotation-agree__text::before {
  content: "";
  width: 40px;
  height: 40px;
  display: block;
  background-color: var(--color-wht);
  margin-right: 20px;
}

.p-quotation-agree__text::after {
  content: "";
  width: 15px;
  height: 30px;
  display: block;
  border-bottom: 4px solid var(--color-main);
  border-right: 4px solid var(--color-main);
  position: absolute;
  top: 1px;
  left: 12px;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .3s;
}

.p-quotation-agree__checkbox[type="checkbox"]:checked + .p-quotation-agree__text::after {
  opacity: 1;
}

.p-quotation-submit {
  width: 100%;
  margin-top: 100px;
}

.p-quotation-submit__button {
  border: none;
  outline: none;
  appearance: none;
  width: 360px;
  height: 80px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-wht);
  background: var(--color-main);
  border-radius: 10px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.p-quotation-submit__button::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-sub);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 0% 0%;
  transition: transform .3s cubic-bezier(.7,0,.3,1);
}

.p-quotation-submit__button:hover::before {
  transform: scaleX(1);
}

@media screen and ( max-width:900px) {
  .p-quotation-form__radio-label {
    justify-content: flex-start;
  }

  .p-quotation-form__radio-label + .p-quotation-form__radio-label {
    margin-left: 20px;
  }

  .p-quotation-form__radio-text {
    font-size: 1.4rem;
  }

  .p-quotation-form__radio-text::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .p-quotation-form__radio-text::after {
    width: 12px;
    height: 12px;
    top: 6px;
    left: 6px;
  }
}

@media screen and (max-width:768px) {
  .p-quotation-form {
    margin-top: 50px;
    padding: 0;
  }

  .p-quotation-form__inner {
    padding: 50px 20px;
    border-radius: 0;
  }

  .p-quotation-form__unit {
    display: block;
  }

  .p-quotation-form__unit + .p-quotation-form__unit {
    margin-top: 30px;
  }

  .p-quotation-form__unit--mb {
    margin-bottom: 50px;
  }

  .p-quotation-form__head {
    width: 100%;
    margin-right: 0;
  }

  .p-quotation-form__heading {
    font-size: 1.4rem;
  }

  .p-quotation-form__require {
    font-size: 1rem;
  }

  .p-quotation-form__body {
    margin-top: 10px;
  }

  .p-quotation-form__input-text {
    font-size: 1.4rem;
    padding: 12px;
  }

  .p-quotation-form__notes {
    font-size: 1.2rem;
  }

  .p-quotation-privacy {
    margin-top: 50px;
    background-color: var(--color-wht);
    padding: 25px 5px 25px 20px;
  }

  .p-quotation-privacy__inner {
    height: 180px;
    padding: 0 15px 0 0;
  }

  .p-quotation-privacy__title {
    font-size: 1.4rem;
    padding-bottom: 15px;
  }

  .p-quotation-privacy__heading {
    font-size: 1.4rem;
    margin-top: 15px;
  }

  .p-quotation-privacy__text {
    font-size: 1.2rem;
    margin-top: 0;
  }

  .p-quotation-agree {
    margin-top: 40px;
  }

  .p-quotation-agree__text {
    font-size: 1.4rem;
  }

  .p-quotation-agree__text::before {
    width: 30px;
    height: 30px;
    margin-right: 15px;
  }

  .p-quotation-agree__text::after {
    width: 12px;
    height: 24px;
    top: 1px;
    left: 9px;
  }

  .p-quotation-submit {
    margin-top: 40px;
  }

  .p-quotation-submit__button {
    width: 295px;
    height: 60px;
    font-size: 1.6rem;
  }
}
