.section-contact-form__title, .section-contact-form__sub-title, .component-form__btn {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

main {
  display: block;
}

@media screen and (min-width: 769px) {
  .page-contact {
    padding: 134px 0 148px 0;
    background-color: #f4f4f4;
  }
}

.section-contact-form {
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  .section-contact-form {
    max-width: 1275px;
    width: 96%;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    padding: 90px 10.78% 120px 10.78%;
  }
}

@media screen and (max-width: 768px) {
  .section-contact-form {
    width: 92%;
    padding: 45px 0 68px 0;
  }
}

.section-contact-form__title {
  font-weight: 800;
  text-align: center;
  color: #00707f;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .section-contact-form__title {
    font-size: 4rem;
    margin-bottom: 64px;
  }
}

@media screen and (max-width: 768px) {
  .section-contact-form__title {
    font-size: 3rem;
    margin-bottom: 26px;
  }
}

.section-contact-form__progress {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  .section-contact-form__progress {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 768px) {
  .section-contact-form__progress {
    margin-bottom: 26px;
    width: 268px;
  }
}

.section-contact-form__sub-title {
  text-align: center;
  color: #fff;
  background-color: #00707f;
  padding: 14px;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  font-weight: 800;
  margin: 60px auto 30px auto;
}

.section-contact-form .back {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 30px;
  text-decoration: none;
}

.section-contact-form .back span {
  cursor: pointer;
}

.section-contact-form .back a {
  color: #000;
}

.section-contact-form .text {
  text-align: center;
  margin: 60px 0;
}

@media screen and (min-width: 769px) {
  .section-contact-form .text {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 768px) {
  .section-contact-form .text {
    font-size: 1.4rem;
  }
}

.component-form {
  border: 1px solid #CECECE;
}

@media screen and (min-width: 769px) {
  .component-form__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    height: 65px;
  }
}

.component-form__row:nth-child(1n+2) {
  border-top: 1px solid #CECECE;
}

.component-form__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  background-color: #f9f9f9;
}

@media screen and (min-width: 769px) {
  .component-form__label {
    width: 320px;
    height: 100%;
    padding: 0 26px;
  }
}

@media screen and (max-width: 768px) {
  .component-form__label {
    padding: 10px 14px 10px 22px;
  }
}

.component-form__label span {
  font-size: 1.1rem;
  color: #fff;
}

.component-form__label span.required {
  padding: 2px 8px;
  background-color: #f47272;
}

.component-form__label span.ok {
  padding: 2px 12px;
  background-color: #64CCA3;
  border-radius: 12px;
}

.component-form__label span.ninni {
  padding: 2px 8px;
  background-color: #9F9F9F;
}

.component-form__label small {
  font-weight: 500;
  font-size: 1.2rem;
}

.component-form__control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  height: 100%;
}

.component-form__control p{
  font-size: 16px;
}


@media screen and (min-width: 769px) {
  .component-form__control {
    padding: 0 26px;
    width: calc(100% - 320px);
    border-left: 1px solid #CECECE;
  }
}

@media screen and (max-width: 768px) {
  .component-form__control {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 12px 20px;
  }
}

.component-form__control--confirm {
  font-size: 1.4rem;
}

.component-form__control .input {
  font-size: 1.4rem;
}

@media screen and (min-width: 769px) {
  .component-form__control .input {
    max-width: 68%;
  }
}

@media screen and (max-width: 768px) {
  .component-form__control .input {
    width: 100%;
  }
}

.component-form__control .select {
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .component-form__control .select {
    width: 100%;
  }
}

.component-form__control .select:not(.is-multiple):not(.is-loading)::after {
  border-color: #000;
  border-width: 2px;
}

@media screen and (max-width: 768px) {
  .component-form__control .select select {
    width: 100%;
  }
}

.component-form__control .input-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.4rem;
}

@media screen and (min-width: 769px) {
  .component-form__control .input-item {
    width: calc(100% / 3);
  }
}

@media screen and (max-width: 768px) {
  .component-form__control .input-item {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 768px) {
  .component-form__control .input-item:nth-child(1) {
    width: 100%;
    margin-bottom: 16px;
  }
}

.component-form__control .input-item:nth-child(3) {
  padding-left: 20px;
}

.component-form__control .input-item .select {
  width: 100%;
  margin-right: 10px;
}

@media screen and (min-width: 769px) {
  .component-form__control .input-item .select {
    max-width: 120px;
  }
}

.component-form__control .input-item .select select {
  width: 100%;
}

.component-form__control .radio {
  font-size: 1.6rem;
  color: #9f9f9f;
}

@media screen and (max-width: 768px) {
  .component-form__control .radio {
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .component-form__control .radio--3 {
    width: calc(100% / 3);
  }
}

@media screen and (min-width: 769px) {
  .component-form__control .radio--4 {
    width: calc(100% / 4);
  }
}

.component-form__control .radio + .radio {
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .component-form__control .radio + .radio {
    margin-top: 14px;
  }
}

.component-form__control .radio input:checked + span {
  font-weight: bold;
  color: #000;
}

.component-form__reform {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
}

@media screen and (min-width: 769px) {
  .component-form__reform {
    margin: 60px 0 76px 0;
  }
}

@media screen and (max-width: 768px) {
  .component-form__reform {
    margin: 40px 0 30px 0;
  }
}

.component-form__reform input {
  margin-right: 0.6em;
}

.component-form__policy {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.component-form__policy a {
  font-weight: bold;
  color: #00707f;
}

.component-form__btn {
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.4);
  font-weight: bold;
  letter-spacing: 0.15em;
  line-height: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.component-form__btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-size: contain;
  background-position: center center;
}

.component-form__btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-size: contain;
  background-position: center center;
}

.component-form__btn--back::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(180deg); /* 回転を追加 */
  transform: translateY(-50%) rotate(180deg); /* 回転を追加 */
  background-size: contain;
  background-position: center center;
  left: 30px;  /* 矢印を左側に配置 */
  width: 10px;
  height: 16px;
  background-image: url("../../img/common/btn-arrow-medium.svg");
}

.component-form__btn--green {
  /* background-color: #CECECE; */
  background-color: #00707f;
}

.component-form__btn--back {
  /* background-color: #CECECE; */
  background-color:  #999;
}z

.component-form__btn--green:hover {
  background-color: #64cca3;
}

.component-form__btn--pink {
  background-color: #f47272;
}

.component-form__btn:hover {
  opacity: 1;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  color: #fff;
}

@media screen and (min-width: 769px) {
  .component-form__btn {
    width: 352px;
    height: 72px;
    border-radius: 55px;
    font-size: 2rem;
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  .component-form__btn {
    max-width: 345px;
    width: 100%;
    height: 76px;
    border-radius: 38px;
    font-size: 2rem;
    margin-top: 40px;
  }
}

.component-form__btn::before {
  right: 30px;
  width: 10px;
  height: 16px;
  background-image: url("../../img/common/btn-arrow-medium.svg");
}
