@charset "UTF-8";
.for-pc {
  display: block;
}

.for-sp {
  display: none;
}

@media only screen and (max-width: 767px) {
  .for-pc {
    display: none;
  }
  .for-sp {
    display: block;
  }
}
@media only screen and (max-width: 1439px) {
  .for-tab {
    display: none;
  }
}
.inner {
  padding-left: 220px;
  padding-right: 220px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 767px) {
  .inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.pl-0 {
  padding-left: 0;
}

.pl-40 {
  padding-left: 40px;
}

.pr-40 {
  padding-right: 40px;
}

.pt-40 {
  padding-top: 40px;
}

.head {
  position: relative;
  padding: 1em 2em;
  text-align: center;
  display: inline-block;
  color: #4673b4;
  font-size: 32px;
  font-weight: 700;
  background: #fff;
}
.head:before, .head:after {
  position: absolute;
  content: "";
}
.head:before {
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  border-right: 2px solid #4673b4;
  border-bottom: 2px solid #4673b4;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .head:before {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 767px) {
  .head:before {
    width: 20px;
    height: 20px;
  }
}
.head:after {
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-top: 2px solid #4673b4;
  border-left: 2px solid #4673b4;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .head:after {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 767px) {
  .head:after {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .head {
    font-size: 22px;
    padding: 12px 23px;
  }
}
@media (max-width: 767px) {
  .head {
    font-size: 20px;
    padding: 0.3em 2em;
  }
}

.flame {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  border: 16px solid #fff;
  pointer-events: none;
}

.header {
  width: 100%;
  height: 104px;
  position: fixed;
  top: 0;
  right: 0;
  padding-top: 16px;
  padding-left: 16px;
  padding-right: 16px;
  z-index: 1000;
}
@media (max-width: 767px) {
  .header {
    height: 80px;
    padding: 8px 0;
  }
}

.header__inner {
  align-items: center;
  height: 100%;
}
@media (max-width: 767px) {
  .header__inner {
    padding: 0 16px;
  }
}

.h-logo {
  font-weight: 600;
  font-size: 32px;
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 767px) {
  .h-logo {
    font-size: 18px;
    padding-top: 16px;
  }
}

.header__nav {
  display: flex;
  justify-content: center;
  border-bottom: solid 1px #333;
  border-top: solid 1px #333;
  padding: 3px 0 4px;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .header__nav {
    display: none;
  }
}
.header__nav li:not(:first-child) {
  margin-left: 40px;
}
.header__nav li a {
  font-weight: 400;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header__nav li a:hover {
  color: #4673b4;
  transition: 0.2s;
}

.drawer-icon {
  position: fixed;
  top: 21px;
  right: 16px;
  z-index: 1001;
  display: none;
  background: #333;
  border-radius: 100px;
  width: 40px;
  height: 40px;
}
@media (max-width: 767px) {
  .drawer-icon {
    display: block;
  }
}
.drawer-icon.is-active .drawer-icon__ber1 {
  transform: rotate(-45deg);
  top: 8px;
}
.drawer-icon.is-active .drawer-icon__ber2 {
  top: 8px;
  display: none;
}
.drawer-icon.is-active .drawer-icon__ber3 {
  transform: rotate(45deg);
  top: 8px;
}

.drawer-icon__bars {
  display: block;
  position: relative;
  top: 10px;
}

.drawer-icon__ber1,
.drawer-icon__ber2,
.drawer-icon__ber3 {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  top: 0;
  left: 9px;
}

.drawer-icon__ber1 {
  top: 0;
}

.drawer-icon__ber2 {
  top: 8px;
}

.drawer-icon__ber3 {
  top: 16px;
}

.drawer-content {
  width: 100%;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  background: #333;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
  z-index: 299;
  transform: translateX(105%);
  transition: transform 0.5s ease 0s;
}
.drawer-content.is-active {
  transform: translateX(0);
}

.d-header__logo {
  color: #fff;
  text-align: left;
  font-size: 24px;
}

.drawer-content__items {
  margin-top: 80px;
}

.drawer-content__item {
  text-align: left;
}
.drawer-content__item a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 20px;
  position: relative;
  font-size: 16px;
}

.footer {
  background: #4673b4;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  background: #fff;
  color: #333;
  background: #f3f7f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.worries__message {
  position: relative;
  color: #fff;
  margin-top: -60px;
}
.worries__message::before {
  content: "";
  position: absolute;
  background: url(../img/bg.png) no-repeat top center/cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .worries__message {
    padding: 40px 0 0;
  }
}

.worries__messageArea {
  color: #333;
  font-weight: 700;
  align-items: flex-start;
  justify-content: space-around;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__messageArea {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .worries__messageArea {
    flex-direction: column-reverse;
  }
}

.worries__message__messageArea {
  height: 100%;
  padding-top: 120px;
  padding-bottom: 50px;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__message__messageArea {
    padding-bottom: 40px;
  }
}
@media (max-width: 767px) {
  .worries__message__messageArea {
    padding-bottom: 0;
    padding-top: 60px;
  }
}

.worries__message__textArea {
  color: #fff;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__message__textArea {
    margin-left: 20px;
  }
}
@media (max-width: 767px) {
  .worries__message__textArea {
    text-align: center;
    margin: 0 auto;
  }
}

.worries__message__text {
  font-size: 22px;
  width: 100%;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__message__text {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .worries__message__text {
    font-size: 16px;
  }
}

.worries__message__text__strong {
  margin-top: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 8px #4673b4;
  font-size: 64px;
  text-align: center;
  color: #fff;
}
.worries__message__text__strong strong {
  text-shadow: 0 0 8px #fff;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__message__text__strong {
    margin-top: 12px;
    font-size: 40px;
  }
}
@media (max-width: 767px) {
  .worries__message__text__strong {
    font-size: 34px;
    margin-top: 0;
    line-height: 1.2;
  }
}

.worries__message__img {
  position: relative;
  z-index: 10;
  width: 250px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .worries__message__img {
    margin-top: 0;
    width: 160px;
  }
}
@media (max-width: 767px) {
  .worries__message__img {
    margin-top: 12px;
    position: relative;
    left: 54%;
    transform: translateX(-50%);
    width: 120px;
  }
}

.btnArea {
  margin: 12px auto 0;
  text-align: center;
  width: 550px;
  padding-top: 20px;
}
@media (max-width: 767px) {
  .btnArea {
    margin-top: 20px;
    max-width: 100%;
    padding-top: 0;
  }
}

.btn__top__text {
  text-align: center;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  color: #4673b4;
  font-size: 18px;
  padding: 8.5px 0;
  position: relative;
}
.btn__top__text::before {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 5px 0;
  border-color: #fff transparent transparent;
}
@media (max-width: 767px) {
  .btn__top__text {
    font-size: 14px;
  }
}

.btn__text__area {
  font-weight: 700;
  font-size: 32px;
  padding: 20px 12px 35px;
  display: block;
  border-radius: 0 0 10px 10px;
  background-color: #4673b4;
}

.btn__text {
  font-size: 32px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .btn__text {
    font-size: 24px;
  }
}

.btn span {
  letter-spacing: 4px;
  margin-top: 5px;
  font-size: 24px;
  display: block;
  position: relative;
  border: 1px solid #fff;
  padding: 8px 60px 8px 30px;
  border-radius: 40px;
  width: 420px;
  margin: 0 auto;
  position: relative;
}
.btn span::before {
  content: "";
  position: absolute;
  background: url(../img/right.png) no-repeat center center/contain;
  width: 35px;
  height: 35px;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .btn span::before {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 767px) {
  .btn span {
    max-width: 100%;
    font-size: 18px;
    padding: 4px 60px 8px 30px;
  }
}

.content {
  padding: 60px 0 0;
  text-align: center;
}
@media (max-width: 767px) {
  .content {
    padding: 60px 0 0;
  }
}

.content__head {
  font-size: 48px;
  text-align: center;
  font-weight: 700;
  color: #4673b4;
  position: relative;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  /* 横線を上下中央 */
  display: flex;
  /* 文字と横線を横並び */
}
.content__head:before, .content__head:after {
  content: "";
  flex-grow: 1;
  /* 横幅いっぱい */
  height: 5px;
  /* 横線の高さ */
  background-color: #4673b4;
}
.content__head:before {
  margin-right: 30px;
}
.content__head:after {
  margin-left: 30px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__head {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .content__head {
    font-size: 24px;
  }
}

.content__message {
  font-size: 16px;
  margin-top: 32px;
  text-align: left;
}
@media (max-width: 767px) {
  .content__message {
    margin-top: 20px;
  }
}

.content__day {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__day {
    flex-direction: column;
  }
}

.content__day__item {
  font-size: 24px;
  font-weight: 700;
  margin-left: 40px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__day__item {
    margin-left: 20px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .content__day__item {
    margin-left: 0;
    text-align: left;
    margin-top: 12px;
    font-size: 18px;
  }
}

.content__place {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__place {
    flex-direction: column;
    margin-top: 20px;
  }
}

.content__place__item {
  font-size: 24px;
  font-weight: 700;
  margin-left: 40px;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__place__item {
    margin-left: 20px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .content__place__item {
    margin-left: 0;
    margin-top: 12px;
    font-size: 18px;
    text-align: center;
  }
}

.content__fee {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__fee {
    flex-direction: column;
    margin-top: 20px;
  }
}

.content__fee__item {
  font-size: 24px;
  font-weight: 700;
  margin-left: 40px;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__fee__item {
    margin-left: 20px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .content__fee__item {
    margin-left: 0;
    margin-top: 12px;
    font-size: 18px;
  }
}

.content__place__item__small {
  font-size: 16px;
  font-weight: 400;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__place__item__small {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .content__place__item__small {
    font-size: 12px;
  }
}

.content__overview {
  text-align: left;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__overview {
    text-align: center;
    margin-top: 20px;
  }
}

.content__items {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__items {
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .content__items {
    flex-direction: column;
    justify-content: center;
  }
}

.content__item {
  font-size: 20px;
  text-align: center;
  font-weight: 500;
  background: #4673b4;
  color: #fff;
  padding: 20px 12px;
  border-radius: 50px;
  width: calc(50% - 12px);
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__item {
    padding: 14px 20px;
    width: 80%;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .content__item {
    padding: 14px 20px;
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    padding: 6px 20px 8px;
  }
}
.content__item:not(:first-child) {
  margin-left: 24px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__item:not(:first-child) {
    margin: 12px auto 0;
  }
}
@media (max-width: 767px) {
  .content__item:not(:first-child) {
    margin: 12px auto 0;
  }
}
.content__item:nth-child(3) {
  margin-left: 0;
  margin-top: 12px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__item:nth-child(3) {
    margin: 12px auto 0;
  }
}
@media (max-width: 767px) {
  .content__item:nth-child(3) {
    margin: 12px auto 0;
  }
}
.content__item:nth-child(4) {
  margin-top: 12px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__item:nth-child(4) {
    margin: 12px auto 0;
  }
}
@media (max-width: 767px) {
  .content__item:nth-child(4) {
    margin: 12px auto 0;
  }
}

.content__teacher {
  text-align: left;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__teacher {
    text-align: center;
  }
}

.content__teacherArea {
  display: flex;
  border: solid 8px #4673b4;
  padding: 20px 60px 60px;
  margin-top: 40px;
  align-items: center;
  border-radius: 40px;
  background: #f3f7f9;
  width: 1000px;
  max-width: 100%;
  margin: 40px auto 0;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__teacherArea {
    padding: 20px 20px 60px;
  }
}
@media (max-width: 767px) {
  .content__teacherArea {
    padding: 20px;
    margin-top: 20px;
  }
}

.content__teacher__left__head {
  text-align: center;
}

.content__teacher__left__nameArea {
  margin-top: 40px;
  align-items: center;
  display: flex;
  position: relative;
}
.content__teacher__left__nameArea::after {
  content: "";
  position: absolute;
  background: #4673b4;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__teacher__left__nameArea::after {
    bottom: -10px;
  }
}
@media (max-width: 767px) {
  .content__teacher__left__nameArea::after {
    bottom: -10px;
  }
}
@media (max-width: 767px) {
  .content__teacher__left__nameArea {
    margin-top: 0;
  }
}

.content__teacher__left__name {
  font-size: 32px;
  font-weight: 700;
  color: #4673b4;
  text-align: left;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__teacher__left__name {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .content__teacher__left__name {
    font-size: 24px;
  }
}

.content__teacher__left__name__sub {
  font-size: 12px;
  margin-left: 32px;
  text-align: left;
}

.content__teacher__left__text {
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}
.content__teacher__left__text p {
  padding-top: 20px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__teacher__left__text p {
    padding-top: 35px;
  }
}
@media (max-width: 767px) {
  .content__teacher__left__text {
    font-size: 14px;
  }
}

.content__youtube {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .content__youtube {
    margin-top: 20px;
  }
  .content__youtube iframe {
    max-width: 100%;
  }
}

.content__youtube__head {
  padding: 1rem 2rem;
  border-left: 5px dotted #4673b4;
  background: #fff;
  width: 320px;
  font-size: 24px;
  color: #4673b4;
  font-weight: 500;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .content__youtube__head {
    font-size: 22px;
  }
}
@media (max-width: 767px) {
  .content__youtube__head {
    font-size: 20px;
  }
}

.content__youtube__iframe {
  margin-top: 20px;
}

.contact {
  margin-top: 60px;
  margin-bottom: 40px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .contact {
    margin-top: 60px;
  }
}
@media (max-width: 767px) {
  .contact {
    margin-top: 20px;
  }
}

.p-head {
  font-size: 48px;
  text-align: center;
  font-weight: 700;
  color: #4673b4;
  position: relative;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  /* 横線を上下中央 */
  display: flex;
  /* 文字と横線を横並び */
}
.p-head:before, .p-head:after {
  content: "";
  flex-grow: 1;
  /* 横幅いっぱい */
  height: 5px;
  /* 横線の高さ */
  background-color: #4673b4;
}
.p-head:before {
  margin-right: 30px;
}
.p-head:after {
  margin-left: 30px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .p-head {
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  .p-head {
    font-size: 24px;
  }
}

.contact__subHead {
  text-align: center;
}

.contact__message {
  font-size: 24px;
  line-height: 1.6;
  margin-top: 12px;
  text-align: center;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .contact__message {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .contact__message {
    font-size: 16px;
  }
}

.contact__form {
  margin: 80px auto 0;
  width: 800px;
  max-width: 100%;
  padding-bottom: 60px;
}
@media (min-width: 768px) and (max-width: 1439px) {
  .contact__form {
    margin: 40px auto 0;
  }
}
@media (max-width: 767px) {
  .contact__form {
    margin: 20px auto 0;
  }
}

.contact-form__row {
  display: flex;
  margin-top: 40px;
  align-items: center;
}
.contact-form__row:first-child {
  margin-top: 60px;
}
@media (max-width: 767px) {
  .contact-form__row:first-child {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .contact-form__row {
    margin-top: 12px;
    display: block;
  }
}

.contact-form__label {
  width: 220px;
  padding: 5px 0 0;
  margin: 0;
}
@media (max-width: 767px) {
  .contact-form__label {
    width: 100%;
  }
}
.contact-form__label label {
  font-weight: 400;
}
.contact-form__label label.is-required {
  display: inline-block;
  position: relative;
  padding-right: 35px;
}
.contact-form__label label.is-required::after {
  content: "必須";
  position: absolute;
  top: 5px;
  font-weight: bold;
  color: #fff;
  background: #FF0000;
  text-align: center;
  border-radius: 0;
  padding: 2px 4px;
  line-height: 1;
  font-size: 10px;
  right: 0;
}
@media (max-width: 767px) {
  .contact-form__label label.is-required::after {
    top: 50%;
    transform: translateY(-50%);
  }
}

.contact-form__input {
  width: calc(100% - 220px);
  margin: 0;
  padding: 0;
  height: 45px;
}
@media (max-width: 767px) {
  .contact-form__input {
    width: 100%;
    margin-top: 5px;
  }
}
.contact-form__input [type=text] {
  box-shadow: none;
  border: none;
  padding: 12px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  background: #fff;
}
.contact-form__input [type=email] {
  box-shadow: none;
  border: none;
  padding: 12px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  background: #fff;
}
.contact-form__input [type=tel] {
  box-shadow: none;
  padding: 12px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  border-radius: 0;
  background: #fff;
  border: none;
}
.contact-form__input select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  padding: 11px 15px;
  padding-right: 1em;
  border: none;
  outline: 0;
  background: #fff;
  background-image: none;
  box-shadow: none;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  cursor: pointer;
  border: 1px solid #707070;
  padding: 12px 16px;
  appearance: none;
  border-radius: 8px;
}
.contact-form__input textarea {
  height: 240px;
  box-shadow: none;
  border: none;
  padding: 12px 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  resize: none;
  background: #fff;
}

.contact-form__check label {
  display: flex;
}
.contact-form__check label:not(:first-child) {
  margin-top: 12px;
}
.contact-form__check span::before {
  display: none;
}
.contact-form__check span::after {
  display: none;
}

.contact-form__checkbox {
  display: block;
  margin-top: -24px;
}
@media (max-width: 767px) {
  .contact-form__checkbox {
    margin-top: -17px;
  }
}
.contact-form__checkbox input[type=checkbox] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #707070;
  vertical-align: -5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact-form__checkbox input[type=checkbox]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: "";
}

span.wpcf7-checkbox .wpcf7-list-item {
  margin-top: 5px;
  display: block;
  margin-left: -3px;
}

input[type=checkbox] {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=checkbox] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #707070;
  vertical-align: -5px;
  margin-bottom: 2px;
  margin-right: 8px;
}

input[type=checkbox]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: "";
}

.wpcf7-list-item {
  margin-left: 0;
}

.contact-form__check {
  padding: 5px 0 0;
}

.wpcf7-list-item.first {
  margin: 0;
}

.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}

input[type=radio] {
  opacity: 0;
  position: absolute;
}

.wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #333;
  border-radius: 100%;
  content: "";
  height: 1.2em;
  margin-bottom: auto;
  margin-right: 0.5em;
  margin-top: auto;
  transition: background-color 0.5s;
  width: 1.2em;
}

input[type=radio]:checked + .wpcf7-list-item-label::before {
  background-color: #4673b4;
  box-shadow: inset 0 0 0 3px #fff;
}

.contact-form__button {
  text-align: center;
}
@media (max-width: 767px) {
  .contact-form__button {
    margin: 60px auto 0;
    text-align: center;
  }
}
.contact-form__button [type=submit] {
  width: 200px;
  display: block;
  font-weight: 400;
  color: #fff;
  padding: 14px 20px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-family: inherit;
  border: none;
  font-size: 16px;
  transition: all 0.3s ease 0s;
  background: #4673b4;
  margin: 60px 0 30px 220px;
}
@media (max-width: 767px) {
  .contact-form__button [type=submit] {
    display: inline-block;
    margin: 0 auto;
  }
}
.contact-form__button [type=submit]:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .wpcf7-list-item {
    margin: 12px 12px 0 0 !important;
  }
}

.messageArea {
  height: 100%;
}

div.wpcf7 .wpcf7-spinner {
  display: block;
}

.select {
  display: inline-block;
  position: relative;
  border: 1px solid #eee;
  vertical-align: middle;
  position: relative;
  width: 265px;
}
.select::before {
  content: "";
  position: absolute;
  background: #EDEDED;
  width: 43px;
  right: 1px;
  border-radius: 0 8px 8px 0;
  pointer-events: none;
  height: 39px;
  top: 1px;
  z-index: 10;
}
.select::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 13px solid #333333;
  border-bottom: 0;
  top: 48%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 11;
}

.contact-thanks {
  width: 100%;
  height: 100vh;
  background: #f3f7f9;
}
.contact-thanks .contact-thanks__title {
  font-size: 24px;
  font-weight: 700;
  margin: auto;
  text-align: center;
  position: relative;
  top: 50%;
}
@media (max-width: 767px) {
  .contact-thanks .contact-thanks__title {
    font-size: 20px;
  }
}