body {
  margin: 0%;
}

h1, h2 {
  font-size: 32px;
  font-weight: 600;
}

h1 {
  text-align: center;
} 

@media screen and (max-width:767.9px) {
  h1, h2 {
    font-size: 18px;
  }
}

p {
  margin: 0%;
}

img {
  width: 100%;
  height: auto;
}

.bg-light {
  background-color: #f9f9f9;
}

header {
  display: flex;
}

.header-left a {
  display: block;
  height: 100%;
  margin: 0px 0px 0px 100px;
  padding: 0px 0px 0px 0px;
  width: 100px;
}

@media screen and (max-width: 1199.9px) {
  .header-left a {
    height: 100%;
    margin: 0px 0px 0px 50px;
  }
}

@media screen and (max-width: 991.9px) {
  .header-left a {
    margin: 0px 0px 0px 30px;
    height: 100%;
  }
}

@media screen and (max-width: 575.9px) {
  .header-left a {
    margin: 0px 0px 0px 12px;
    height: 100%;
  }
}

.form-wrapper {
  width: 100%;
  height: 752px;
}

@media screen and (max-width:767.9px) {
  .form-wrapper {
    height: 585px;
  }
}

.form-container {
  width: 100%;
  overflow: hidden;
}

.step {
  margin: 0 auto;
}

ul {
  list-style: none;
  width: 100px;
  margin: 0 auto;
  padding: 0%;
  display: flex;
  justify-content: space-between;
  color: #c8505e;
}

ul li {
  display: inline-block;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

li.current .stepInner {
  background-color: #c8505e;
  color: #ffffff;
  border-radius: 50%;
}

.stepInner {
  width: 22px;
  height: 22px;
}

#contact-form {
  width: 500vw;
  display: flex;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  z-index: 5;
}

.form-item {
  width: 100vw;
  padding-left: 20px;
  padding-right: 20px;
}


.form-content {
  width: 840px;
  margin: 30px auto;
}

.form-content .row {
  justify-content: center;
}

@media screen and (max-width: 1199.9px) {
  .form-content {
    width: 696px;
  }
}

@media screen and (max-width: 991.9px) {
  .form-content {
    width: 83%;
  }
}

@media screen and (max-width: 767.9px) {
  .form-content {
    width: 90%;
  }
  .form-content .row {
    justify-content: space-between;
  }
}

@media screen and (max-width: 575.9px) {
  .form-content {
    width: 100%;
  }
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  width: 220px;
  margin: 0 auto;
}

.next, .prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 40px;
  font-size: 18px;
  margin: 0 auto;
  cursor: pointer;
  border: 2px solid #c8505e;
  background-color: #c8505e;
  color: #ffffff;
}

.row {
  --bs-gutter-x: 0rem;
}

.relative {
  position: relative;
  padding: 20px;
  background-color: #ffffff;
  width: 250px;
  height: 200px;
  border: 2px solid #c8505e;
}

@media screen and (max-width: 767.9px) {
  .relative {
    width: 48%;
    height: auto;
    padding: 10px;
  }
}

.relative input {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  background: none;
  cursor: pointer;
}

.relative input:checked {
  background: #f4fbe5;
  opacity: 0.4;
}

.relative span {
  display: block;
  font-size: 24px;
}

@media screen and (max-width:767.9px) {
  .relative span {
    font-size: 14px;
  }
}

.relative img {
  width: 130px;
  height: 130px;
}

.pref-select {
  margin: 30px auto;
  margin-bottom: 0%;
}

#pref {
  width: 225px;
  height: 40px;
}

.thanks-header h1 {
  color: #c8505e;
}

.thanks-header p {
  font-size: 16px;
  font-weight: 500;
}

.instagram h2 {
  font-size: 24px;
}

@media screen and (max-width: 767.9px) {
  .instagram h2 {
    font-size: 16px;
  }
}

.instagram a {
  margin: 30px auto;
  display: block;
  text-decoration: none;
  width: 270px;
  height: 70px;
  line-height: 70px;
  font-size: 20px;
  color: white;
  font-weight: 600;
  background-color: #1AA894;
  border-radius: 8px;
}

@media screen and (max-width: 767.9px) {
  .instagram a {
    margin: 30px auto;
    width: 180px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    border-radius: 5px;
  }
}

.instagram a:hover {
  opacity: 0.8;
}

.instagram .backToTop {
  background-color: grey;
  color: white;
}

#tel-error, #email-error, #name-error {
  font-size: 14px;
  color: tomato;
  display: none;
}

footer {
  background-color: #EBE3DF;
}
footer .container .footer-contents {
  width: 100%;
}
@media screen and (max-width: 575px) {
  footer .container .footer-contents {
    width: 70%;
    margin: 0 auto;
  }
}
footer .container .footer-contents .footer-left {
  width: 20%;
}
@media screen and (max-width: 991px) {
  footer .container .footer-contents .footer-left {
    width: 50%;
    margin: 0 auto;
  }
}
footer .container .footer-contents .footer-center {
  width: 45%;
  margin-right: 5%;
}
@media screen and (max-width: 991px) {
  footer .container .footer-contents .footer-center {
    width: 100%;
    margin-right: 0%;
    padding-top: 40px;
  }
}
footer .container .footer-contents .footer-center p {
  font-size: 20px;
}
@media screen and (max-width: 575px) {
  footer .container .footer-contents .footer-center p {
    font-size: 12px;
  }
}
footer .container .footer-contents .footer-center a {
  color: #212529;
  text-decoration: underline;
  display: inline-block;
}
footer .container .footer-contents .footer-center a:hover {
  opacity: 0.8;
}
footer .container .footer-contents .footer-right {
  width: 30%;
}
@media screen and (max-width: 991px) {
  footer .container .footer-contents .footer-right {
    width: 100%;
    padding-top: 40px;
  }
}
footer .container .footer-contents .footer-right a img {
  margin-right: 30px;
  width: auto;
}
@media screen and (max-width: 767px) {
  footer .container .footer-contents .footer-right a img {
    margin-right: 15px;
  }
}
@media screen and (max-width: 575px) {
  footer .container .footer-contents .footer-right a img {
    width: 30px;
    height: 30px;
  }
}
footer .container .footer-contents .footer-right a:hover {
  opacity: 0.8;
}
footer .container .footer-contents .footer-right p {
  font-size: 16px;
}
@media screen and (max-width: 575px) {
  footer .container .footer-contents .footer-right p {
    font-size: 12px;
  }
}
footer .container .footer-contents .footer-right .syashinkan-img {
  width: 200px;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  footer .container .footer-contents .footer-right .syashinkan-img {
    width: 120px;
    margin-bottom: 17px;
  }
}
footer .container .footer-contents .footer-right .syashinkan-img a {
  display: block;
  width: 100%;
  height: 100%;
}
footer .container .footer-contents .footer-right .syashinkan-img a img {
  width: 100%;
  height: auto;
}
footer .container .footer-contents .footer-right .syashinkan-img a:hover {
  opacity: 0.8;
}
footer .container .copyright {
  text-align: center;
  font-size: 20px;
}
@media screen and (max-width: 991px) {
  footer .container .copyright {
    margin-top: 50px;
  }
}
@media screen and (max-width: 575px) {
  footer .container .copyright {
    font-size: 10px;
  }
}

.modal-area {
  width: 70%;
  height: auto;
  margin: 0 auto;
  background-color: #f9f9f9;
}
@media screen and (max-width: 991px) {
  .modal-area {
    width: 80%;
  }
}
@media screen and (max-width: 575px) {
  .modal-area {
    width: 90%;
  }
}
.modal-area .modal-wrapper {
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper {
    padding-right: 0;
    padding-left: 0;
  }
}
.modal-area .modal-wrapper h2 {
  font-size: 24px;
  color: #C8505E;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper h2 {
    font-size: 20px;
  }
}
.modal-area .modal-wrapper .ashirai {
  margin-top: 16px;
  width: 208px;
  height: 20px;
}
.modal-area .modal-wrapper p {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper p {
    font-size: 14px;
  }
}
.modal-area .modal-wrapper .modal-container {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container {
    flex-direction: column;
  }
}
.modal-area .modal-wrapper .modal-container img {
  width: 30%;
  margin-right: 5%;
  margin-left: 5%;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container img {
    width: 150px;
    height: auto;
  }
  .modal-area .modal-wrapper .modal-container .modal-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
}
.modal-area .modal-wrapper .modal-container .modal-contents p {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container .modal-contents p {
    font-size: 14px;
  }
  .modal-area .modal-wrapper .modal-container .modal-contents p.insta-start {
    font-size: 16px;
    margin-bottom: 10px;
  }
}
.modal-area .modal-wrapper .modal-container .modal-contents .instagram-link {
  width: 180px;
  height: 45px;
  display: block;
  text-decoration: none;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container .modal-contents .instagram-link {
    width: 160px;
    height: 40px;
  }
}
.modal-area .modal-wrapper .modal-container .modal-contents .instagram-link:hover {
  color: #fff;
  opacity: 0.8;
}
.modal-area .modal-wrapper .modal-container .modal-contents .instagram-link .instagram-container {
  width: 180px;
  height: 45px;
  background-color: #C8505E;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container .modal-contents .instagram-link .instagram-container {
    width: 160px;
    height: 40px;
  }
}
.modal-area .modal-wrapper .modal-container .modal-contents .instagram-link .instagram-container img {
  width: 30px;
  margin-right: 10px;
  margin-left: 0;
}
@media screen and (max-width: 767px) {
  .modal-area .modal-wrapper .modal-container .modal-contents .instagram-link .instagram-container img {
    width: 25px;
  }
}
.modal-area .modal-wrapper .modal-container .modal-contents .instagram-link .instagram-container p {
  font-size: 14px;
}
.modal-area .modal-wrapper #backToTop {
  background-color: #BCBCBC;
  color: #fff;
  width: 100px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.modal-area .modal-wrapper #backToTop:hover {
  opacity: 0.8;
}
.modal-area .modal-wrapper #backToTop p {
  font-size: 10px;
}
