@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&display=swap');

br.sp {
  display: inline;
}

br.pc {
  display: none;
}

.p-contact,
.p-contact-faq {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  padding: 40px 16px;
  overflow: hidden;
}

.p-contact__inner {
  padding: 40px 16px;
  margin: auto;
  border-radius: 16px;
  -webkit-box-shadow: 2px 2px 14px rgba(92, 147, 171, 0.16);
  box-shadow: 2px 2px 14px rgba(92, 147, 171, 0.16);
}

.p-contact-faq__inner {
  margin: auto;
}

.p-contact__description {
  font-size: 14px;
  line-height: 1.8;
}

.p-contact__description a {
  color: #52b7f6;
  text-decoration: underline;
}

.p-faq {
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 2px 2px 10px rgba(92, 147, 171, 0.1);
  box-shadow: 2px 2px 10px rgba(92, 147, 171, 0.1);
}

.p-faq__head {
  position: relative;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 12px;
  padding-right: 20px;
  padding-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
}

.p-faq__head i {
  margin-right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
  color: #d34444;
}

.p-faq__head span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.p-faq__head > div {
  position: absolute;
  top: 50%;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.p-faq__head > div::before,
.p-faq__head > div::after {
  position: absolute;
  z-index: 0;
  display: block;
  content: '';
  background-color: #282828;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.p-faq__head > div::before {
  width: 100%;
  height: 2px;
}

.p-faq__head > div::after {
  width: 2px;
  height: 100%;
}

.p-faq__head.is-active > div::after {
  opacity: 0;
}

.p-faq__head.is-active > div::after,
.p-faq__head.is-active > div::before {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.p-faq__body {
  position: relative;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s, padding 0.2s 0.2s;
  transition: max-height 0.5s, padding 0.2s 0.2s;
}

.p-faq__body::before {
  position: absolute;
  top: 1px;
  width: 100%;
  height: 1px;
  content: '';
  background-color: #f2f2f2;
}

.p-faq__body.is-open {
  padding-top: 20px;
  padding-bottom: 10px;
  -webkit-transition: max-height 0.5s, padding 0.2s;
  transition: max-height 0.5s, padding 0.2s;
}

.p-faq__body i {
  margin-right: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-style: normal;
  color: #52b7f6;
}

.p-faq__body p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.p-faq__body p a {
  color: #52b7f6;
  text-decoration: underline;
}

.p-contact__step {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.p-contact__step__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-contact__step__item > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  font-size: 48px;
  font-size: 3rem;
  font-weight: 700;
  color: #52b7f6;
  letter-spacing: 0.08em;
  background-color: #fff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.p-contact__step__item > div span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.p-contact__step__item:not(:first-child)::before {
  width: 20px;
  height: 1px;
  margin: -20px 14px 0;
  content: '';
  background-color: #bfbfbf;
}

.p-contact__step__item:not(.is-active) > div {
  color: #bfbfbf;
}

.p-contact-complete {
  margin-top: 60px;
}

.p-contact-complete__title {
  font-size: 28.8px;
  font-size: 1.8rem;
  line-height: 1.7;
  text-align: center;
}

.p-contact-complete__text {
  margin-top: 30px;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.06em;
}

.p-contact-complete__btnWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  margin: 60px auto 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}

.p-contact-complete__btn {
  margin-right: auto;
  margin-left: auto;
}

.p-contact-complete__btn:not(:first-child) {
  margin-top: 30px;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-base: #ffffff;
    --color-bg: #3b3f43;
    --color-main: #032f40;
    --color-sub: #011c26;
    --color-point: #5c7073;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-base: #000;
    --color-bg: #3b3f43;
    --color-main: #287496;
    --color-sub: #37a1d0;
    --color-point: #d0b737;
  }
}

@media (min-width: 1024px) {
  br.sp {
    display: none;
  }
  br.pc {
    display: inline;
  }
}

@media only screen and (min-width: 1024px) {
  .p-contact,
  .p-contact-faq {
    padding: 80px 60px 60px;
  }
  .p-contact__inner {
    max-width: 1320px;
  }
  .p-contact-faq__inner {
    max-width: 1320px;
  }
  .p-faq__head i {
    font-size: 28px;
  }
  .p-faq__head span {
    font-size: 16px;
  }
  .p-faq__head > div {
    right: 20px;
  }
  .p-faq__body i {
    font-size: 28px;
  }
  .p-faq__body p {
    font-size: 16px;
  }
  .p-contact__step__item > div {
    font-size: 4rem;
    letter-spacing: 0.06em;
  }
  .p-contact__step__item > div span {
    font-size: 1.4rem;
  }
  .p-contact__step__item:not(:first-child)::before {
    width: 40px;
    margin: -20px 20px 0;
  }
  .p-contact-complete__title {
    font-size: 2rem;
    letter-spacing: 0.06em;
  }
  .p-contact-complete__text {
    font-size: 1.4rem;
  }
  .p-contact-complete__btnWrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .p-contact-complete__btn {
    margin: 0 20px;
  }
  .p-contact-complete__btn:not(:first-child) {
    margin-top: 0;
  }
}
