.p-main {
  overflow: hidden;
  position: relative;
  background-color: #FFF9e5;
}
@media only screen and (min-width: 768px) {
  .p-main {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}
@media only screen and (max-width: 767px) {
  .p-main {
    padding-top: 7.2vw;
    padding-bottom: 10.6666666667vw;
  }
}
.p-main .inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .p-main .inner {
    max-width: 1060px;
    padding: 0 50px;
  }
}
@media only screen and (max-width: 767px) {
  .p-main .inner {
    padding: 0 4vw;
  }
}
.p-main .ttl {
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .p-main .ttl img {
    max-width: 682px;
  }
}
@media only screen and (max-width: 767px) {
  .p-main .ttl img {
    max-width: 90.9333333333vw;
  }
}
@media only screen and (min-width: 768px) {
  .p-main .answer {
    margin-top: 10px;
    padding-left: 1px;
  }
}
@media only screen and (max-width: 767px) {
  .p-main .answer {
    margin-top: 0px;
  }
}
@media only screen and (min-width: 768px) {
  .p-main .guide {
    margin-top: 60px;
    padding-left: 1px;
  }
  .p-main .guide img {
    max-width: 468px;
  }
}
@media only screen and (max-width: 767px) {
  .p-main .guide {
    margin-top: 40px;
  }
}

.three-step {
  position: relative;
  background-color: #ffffff;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .three-step {
    padding-top: 40px;
    padding-bottom: 79px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step {
    padding-top: 7.2vw;
    padding-bottom: 10.6666666667vw;
  }
}
.three-step .inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
@media only screen and (min-width: 768px) {
  .three-step .inner {
    max-width: 800px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .inner {
    padding: 0 4vw;
  }
}
@media only screen and (min-width: 768px) {
  .three-step .ttl img {
    max-width: 502px;
    margin-bottom: 35px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .ttl img {
    margin-bottom: 24px;
  }
}
.three-step .step {
  position: relative;
}
.three-step .step p {
  position: absolute;
  top: 60%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}
@media only screen and (min-width: 768px) {
  .three-step .step {
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .step {
    margin-bottom: 20px;
  }
}
.three-step .flex-box {
  display: flex;
}
@media only screen and (min-width: 768px) {
  .three-step .flex-box {
    flex-flow: row;
    justify-content: space-between;
    margin-top: -5px;
    margin-bottom: 25px;
    padding: 25px;
  }
  .three-step .flex-box img {
    max-width: 217px;
    margin-left: 55px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .flex-box {
    flex-flow: column;
    flex-direction: column-reverse;
    padding: 30px;
  }
  .three-step .flex-box img {
    margin-top: -30px;
    margin-bottom: 20px;
  }
}
.three-step .step-text {
  text-align: left;
  line-height: 1.7;
}
@media only screen and (min-width: 768px) {
  .three-step .step-text {
    font-size: 26px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .step-text {
    font-size: 0;
  }
}
.three-step .note {
  font-weight: normal;
  text-indent: -1em;
  letter-spacing: 0.1em;
  text-indent: 0em;
}
@media only screen and (min-width: 768px) {
  .three-step .note {
    font-size: 16px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .note {
    font-size: 11px;
  }
}
.three-step .note.-note01 {
  text-indent: 0em;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .three-step .note.-note01 {
    margin-top: 15px;
    padding-left: 1em;
  }
}
.three-step .note.-note01::before {
  content: "*";
  position: absolute;
}
@media only screen and (min-width: 768px) {
  .three-step .note.-note01::before {
    font-size: 18px;
    left: 1px;
  }
}
.three-step .application {
  background-color: #FFF7D9;
  border: solid #e1e1e1;
  box-sizing: border-box;
  border-radius: 26px;
}
@media only screen and (min-width: 768px) {
  .three-step .application {
    margin-bottom: 20px;
    padding: 40px 70px;
    border-width: 5px;
    font-size: 26px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .application {
    margin-bottom: 15px;
    padding: 25px;
    border-width: 3px;
    font-size: 12px;
  }
}
@media only screen and (min-width: 768px) {
  .three-step .application ul {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .application ul {
    margin-top: 5px;
  }
}
.three-step .application li {
  position: relative;
  padding-left: 1em;
  text-align: left;
}
.three-step .application li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  background-color: #777;
  border-radius: 50%;
}
@media only screen and (min-width: 768px) {
  .three-step .application li::before {
    width: 17px;
    height: 17px;
  }
}
@media only screen and (max-width: 767px) {
  .three-step .application li::before {
    top: 0.4em;
    width: 11px;
    height: 11px;
  }
}

.contact {
  position: relative;
  background-color: #FFF7D9;
}
.contact .inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
@media only screen and (min-width: 768px) {
  .contact .inner {
    max-width: 1060px;
  }
}
@media only screen and (max-width: 767px) {
  .contact .inner {
    padding: 0 4vw;
  }
}
@media only screen and (min-width: 768px) {
  .contact img {
    margin-top: 80px;
  }
}
@media only screen and (max-width: 767px) {
  .contact img {
    margin-top: 40px;
  }
}
.contact button {
  position: absolute;
  text-decoration: underline;
  left: 50%;
  top: 89%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  color: #1486CC;
}

.m-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
@media only screen and (max-width: 767px) {
  .m-modal-container {
    padding: 16.8vw 8vw 24vw;
  }
}
.m-modal-container.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.m-modal-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
}

.m-modal-body {
  z-index: 99;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 800px;
  max-height: 747px;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 767px) {
  .m-modal-body {
    object-fit: contain;
  }
}
@media only screen and (max-width: 767px) {
  .m-modal-body iframe {
    width: 100%;
  }
}

.m-modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  top: -18px;
  right: -17px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .m-modal-close {
    top: -18px;
    right: -16px;
    width: 35px;
    height: 35px;
  }
}

.m-modal-close::before, .m-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 15px;
  background: #fff;
}

.m-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.m-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m-modal-content {
  background: #fff;
  text-align: left;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
@media only screen and (min-width: 768px) {
  .m-modal-content {
    padding: 46px 51px;
  }
}
@media only screen and (max-width: 767px) {
  .m-modal-content {
    height: auto;
    padding: 6.4vw 6.4vw;
  }
}
.m-modal-content .ttl {
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .m-modal-content .ttl {
    font-size: 24px;
  }
}
@media only screen and (max-width: 767px) {
  .m-modal-content .ttl {
    font-size: 17px;
  }
}
.m-modal-content .note {
  font-weight: normal;
  text-indent: -1em;
  padding-left: 1em;
}
@media only screen and (min-width: 768px) {
  .m-modal-content .note {
    margin-top: 13px;
    font-size: 17px;
    line-height: 1.9;
  }
}
@media only screen and (max-width: 767px) {
  .m-modal-content .note {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.9;
  }
}
.m-modal-content .note + .note {
  margin-top: 0px;
}

.m-modal-content iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

body {
  padding: auto;
}
