html {
  font-size: 10px;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  html {
    font-size: 1vw;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 2.667vw;
  }
}
body {
  color: #072334;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

@media (max-width: 526px) {
  html {
    font-size: 2.532vw;
  }
}
img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

main {
  max-width: 525px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 120px;
}
@media (max-width: 525px) {
  main {
    padding-bottom: 12rem;
  }
}

footer {
  max-width: 525px;
  margin-left: auto;
  margin-right: auto;
  height: 80px;
  background: #0A1F5D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  margin-bottom: 150px;
}

@media (max-width: 525px) {
  footer {
    margin-bottom: 14rem;
    height: 8rem;
  }
}
.footer_law, .footer_copyright {
  color: #FFF;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: "Noto Serif JP";
  font-size: 12px;
  font-style: normal;
  font-weight: 550;
  line-height: 1;
}

.sec03 {
  position: relative;
}

.ab {
  position: absolute;
  max-width: 95.47%;
  width: 100%;
}

.sec03_btn_wrap {
  bottom: 0;
  left: 53%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.sec03_btn_wrap a {
  width: 93%;
}

.dokidoki {
  -webkit-animation: dokidoki 1s ease 0s infinite alternate;
          animation: dokidoki 1s ease 0s infinite alternate;
  -webkit-transform-origin: center;
          transform-origin: center;
  display: inline-block;
}
@-webkit-keyframes dokidoki {
  from {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes dokidoki {
  from {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
  }
  to {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


.sec02 {
  position: relative;
}

.sec_cta {
  position: absolute;
}

.sec_cta_btn_wrap {
  position: absolute;
  bottom: 8%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

.sec_cta_btn_wrap a {
  display: block;
  width: 100%;
}

.page-top {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 8px 0 8px 0;
  background-color: #fff;
  display: block;
  text-align: center;
  max-width: 525px;
  margin-left: auto;
  margin-right: auto;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.dokidoki_top {
  max-width: 95.47%;
  width: 100%;
}

@media (max-width: 525px) {
  .page-top {
    padding: 0.8rem 0 0.8rem 0;
  }
}
a {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.7;
}

.sec_cta_img {
  width: 90%;
  margin-left: auto;
  margin-right: auto;

}

.sec_cta_btn_wrap {
  width: 82%;
}

/* ========================
   お問い合わせフォーム
   ======================== */
.sec_form {
  background: #fff;
  padding: 50px 20px 60px;
}
@media (max-width: 525px) {
  .sec_form {
    padding: 5rem 2rem 6rem;
  }
}
.form_inner {
  max-width: 480px;
  margin: 0 auto;
}
.form_heading {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 24px;
  color: #c9a84c;
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
@media (max-width: 525px) {
  .form_heading {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
  }
}
.form_lead {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  color: #555;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 30px;
}
@media (max-width: 525px) {
  .form_lead {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }
}
.form_group {
  margin-bottom: 20px;
}
@media (max-width: 525px) {
  .form_group {
    margin-bottom: 2rem;
  }
}
.form_group label {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
@media (max-width: 525px) {
  .form_group label {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
}
.required {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #c9a84c;
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}
@media (max-width: 525px) {
  .required {
    font-size: 1.1rem;
    padding: 0.2rem 0.8rem;
    margin-left: 0.8rem;
  }
}
.form_group input,
.form_group select {
  width: 100%;
  padding: 14px 16px;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 2px solid #c9a84c;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 525px) {
  .form_group input,
  .form_group select {
    padding: 1.4rem 1.6rem;
    font-size: 1.6rem;
    border-radius: 0.6rem;
  }
}
.form_group input:focus,
.form_group select:focus {
  outline: none;
  border-color: #e0c36a;
  -webkit-box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
          box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}
.form_group input::-webkit-input-placeholder {
  color: #aaa;
}
.form_group input::-moz-placeholder {
  color: #aaa;
}
.form_group input:-ms-input-placeholder {
  color: #aaa;
}
.form_group input::placeholder {
  color: #aaa;
}
.form_group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form_submit {
  margin-top: 32px;
  text-align: center;
}
@media (max-width: 525px) {
  .form_submit {
    margin-top: 3.2rem;
  }
}
.btn_submit {
  display: inline-block;
  width: 100%;
  padding: 18px 0;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e0c36a 0%, #c9a84c 50%, #b8943f 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.15em;
  -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 525px) {
  .btn_submit {
    padding: 1.8rem 0;
    font-size: 1.8rem;
    border-radius: 5rem;
  }
}
.btn_submit:hover {
  opacity: 0.85;
}

/* ========================
   フローティングCTA
   ======================== */
.floating_cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100%;
  max-width: 525px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 525px) {
  .floating_cta {
    padding: 0.8rem 1.6rem;
  }
}
.floating_cta_btn {
  display: block;
  width: 90%;
  margin: 0 auto;
}
.floating_cta_btn img {
  width: 100%;
  height: auto;
}