@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
* {
  box-sizing: border-box;
}

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

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html.scrollPrevent {
  overflow: hidden;
  height: 100%;
}

body {
  background: #fff;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #000;
  height: auto !important;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (max-width: 767px) {
  body {
    font-size: 1.6rem;
  }
}

main {
  overflow: hidden;
}

figure {
  margin: 0;
  text-align: center;
}

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

figure figcaption {
  margin-top: 0.5em;
  text-align: left;
}

picture {
  margin: 0;
  text-align: center;
}

picture img {
  max-width: unset;
  height: auto;
}

a {
  color: #175396;
  transition: all .3s;
  overflow-wrap: anywhere;
}

a:hover {
  color: #175396;
  text-decoration: none;
}

a:not([class]) img,
a.swipebox img {
  transition: all .3s;
}

a:not([class]):hover img,
a.swipebox:hover img {
  opacity: 0.8;
}

img {
  vertical-align: middle;
}

img.circle {
  border-radius: 50%;
}

p {
  margin: 0.5em 0 1em;
  overflow-wrap: anywhere;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

ol,
ul {
  margin: 0 0 1em;
  padding: 0 0 0 2.5em;
  line-height: 1.6;
}

ol:last-child,
ul:last-child {
  margin-bottom: 0;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin: 0.5em 0;
  padding-left: 2em;
}

ol ol:last-child,
ol ul:last-child,
ul ol:last-child,
ul ul:last-child {
  margin-bottom: 0.5em;
}

ul.list-unstyled {
  padding-left: 0;
  list-style: none;
}

ul.list-unstyled ol,
ul.list-unstyled ul {
  padding-left: 2em;
}

ul.list-inline {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: -7px;
  font-size: 0rem;
  margin-bottom: 16px;
}

ul.list-inline > li {
  display: inline;
  padding-left: 7px;
  padding-right: 7px;
  white-space: nowrap;
  font-size: 1.6rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

main .contents_wrapper {
  max-width: 100%;
  padding: 0;
}

@media (min-width: 768px) {
  p {
    margin: 0.5em 0 1em;
  }
}

.container {
  margin: auto;
}

.container img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 1000px;
  }
}

@media (max-width: 1249px) {
  .container {
    width: calc(100% - 40px);
    margin: auto;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 100%;
  }
}

header {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .header_logo {
  text-align: center;
  margin: 0;
  line-height: 1;
}

footer {
  margin-top: clamp(40px, 6.4vw, 80px);
  padding: 60px 0 60px;
  background: #fef5ea;
}

footer .p-footer-logo {
  margin-bottom: 60px;
}

footer .p-footer-nav ul {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

footer .p-footer-nav ul a {
  color: #2b2b2b;
}

@media (max-width: 767px) {
  footer .p-footer-logo img {
    max-width: 55%;
  }
}

.mt-1 {
  margin-top: 1em !important;
}

.diagnosis-container {
  padding: clamp(40px, 8vw, 100px) 0;
}

.color_orange {
  color: #f17b1b;
}

.color_red {
  color: #f11b1b;
}

h2.ttl {
  text-align: center;
  margin: 0 auto 24px;
  font-size: clamp(26px, 4.8vw, 60px);
  line-height: 1.4;
  font-weight: 700;
}

.question-title {
  text-align: center;
  font-size: clamp(18px, 2.08vw, 26px);
  font-weight: 500;
  line-height: 140%;
  margin: 0 auto 30px;
  color: #2b2b2b;
  line-height: 1.76923;
}

@media (max-width: 767px) {
  .question-title {
    text-align: left;
  }
}

.question-title .number {
  color: #F27040;
  text-align: center;
  font-size: clamp(35px, 5.2vw, 65px);
  font-weight: 700;
  line-height: .9;
  display: block;
  padding-bottom: 12px;
  font-family: Arial, sans-serif;
}

.question-title .color {
  color: #F27040;
}

.last .question-title {
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.4;
  font-weight: 700;
}

.txt_inner {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  margin-bottom: 24px;
}

.no .txt_inner {
  font-size: clamp(16px, 1.44vw, 18px);
  line-height: 1.5;
  margin-bottom: 24px;
}

.no .txt_inner p:not(:last-child) {
  margin-bottom: 2em;
}

.txt_inner .color {
  color: #F27040;
}

.form_container {
  background: #fff;
  padding: clamp(20px, 4.8vw, 60px);
  border-radius: 10px;
}

.form_container h3 {
  text-align: center;
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 45px);
  margin: 0 auto 20px;
  line-height: 1.4;
}

.form_container .hs-form-frame h2 {
  text-align: center !important;
}

.form_table {
  width: 100%;
}

.form_table th,
.form_table td {
  vertical-align: top;
  padding: clamp(5px, 1.2vw, 15px) 0;
  font-weight: 400;
}

.form_table th {
  width: 220px;
  text-align: left;
  font-size: clamp(14px, 1.76vw, 22px);
}

.form_table td input[type="text"],
.form_table td input[type="tel"],
.form_table td select {
  width: 100%;
  background: #f9f9f9;
  border: solid 1px #cfcfcf;
  padding: 8px clamp(15px, 2.16vw, 27px) 10px;
  border-radius: 5px;
  min-height: clamp(50px, 6.16vw, 77px);
}

.form_table td input,
.form_table td textarea,
.form_table td select {
  font-size: clamp(14px, 1.76vw, 22px);
}

.form_table td input::-moz-placeholder, .form_table td textarea::-moz-placeholder, .form_table td select::-moz-placeholder {
  color: #a6a6a6;
}

.form_table td input:-ms-input-placeholder, .form_table td textarea:-ms-input-placeholder, .form_table td select:-ms-input-placeholder {
  color: #a6a6a6;
}

.form_table td input::placeholder,
.form_table td textarea::placeholder,
.form_table td select::placeholder {
  color: #a6a6a6;
}

.form_table td textarea {
  width: 100%;
  min-height: clamp(220px, 30.4vw, 380px);
  background: #f9f9f9;
  border: solid 1px #cfcfcf;
  border-radius: 5px;
  padding: clamp(15px, 2.16vw, 27px);
}

.form_table td select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form_table td select:invalid {
  color: #a6a6a6;
}

.form_table td select option {
  font-size: 14px;
}

.form_table .note {
  font-size: 90%;
}

@media (min-width: 768px) {
  .form_table th {
    padding-top: clamp(28px, 3.2vw, 40px);
  }
  .form_table th.pd-normal {
    padding-top: clamp(5px, 1.2vw, 15px);
  }
  .form_table th.position-middle {
    vertical-align: middle;
  }
}

@media (max-width: 767px) {
  .form_table th,
  .form_table td {
    display: block;
    width: 100%;
  }
}

.formrun-system-show {
  color: #f11b1b;
  font-size: clamp(14px, 1.28vw, 16px);
  font-weight: 400;
}

.required-mark {
  color: #f11b1b;
}

button[type="submit"] {
  display: inline-block;
  margin: clamp(5px, 1.6vw, 20px) auto 0;
  padding: 15px clamp(10px, 1.6vw, 20px);
  background-color: #f17b1b;
  color: #fff;
  font-size: clamp(15px, 1.68vw, 21px);
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s ease;
}

button[type="submit"]:hover {
  opacity: .8;
  transition: .3s ease;
}

@media ( min-width : 768px ) {
  button[type="submit"] {
    min-width: 370px;
  }
}

.diagnosis-card {
  max-width: 1000px;
  min-height: clamp(350px, 38.64vw, 483px);
  width: 100%;
  margin: auto;
  background: #F2F2F2;
  padding: clamp(20px, 3.6vw, 40px) clamp(20px, 3.6vw, 40px) clamp(100px, 12.8vw, 160px);
  position: relative;
  border-radius: 10px;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 620px;
  width: 100%;
  margin: auto;
}

.answer-options .option-item {
  background: #fff;
  padding: clamp(10px, 1.6vw, 20px) clamp(10px, 1.7vw, 25px) clamp(10px, 1.44vw, 18px);
  cursor: pointer;
  border: solid 1px #cfcfcf;
  border-radius: 5px;
  font-size: clamp(18px, 2.08vw, 26px);
  line-height: .9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-label::before {
  content: "";
  display: inline-block;
  width: clamp(15px, 1.68vw, 21px);
  height: clamp(15px, 1.68vw, 21px);
  margin-right: 10px;
  vertical-align: middle;
  background: #fff;
  border: 3px solid #ccc;
  border-radius: 50%;
  box-sizing: border-box;
  transform: translateY(-2px);
}

.option-item input[type="radio"]:checked + .option-label::before {
  border-color: #f2842a;
}

.size-small-type .option-item {
  font-size: 95%;
}

.size-small-type .option-label::before {
  transform: translateY(0);
}

.progress-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0;
  list-style: none;
  margin: 0;
  position: absolute;
  bottom: 82px;
  left: 0;
  width: 100%;
}

@media (max-width: 767px) {
  .progress-bar {
    bottom: 60px;
  }
}

.progress-bar li {
  background: #F27040;
  width: 100%;
  height: 5px;
}

.step1 .progress-bar li:nth-child(2),
.step1 .progress-bar li:nth-child(3) {
  background: #F0BDAB;
}

.step2 .progress-bar li:nth-child(3) {
  background: #F0BDAB;
}

.next-button {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 82px;
  cursor: pointer;
  background: #F27040;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2.08vw, 26px);
  border-radius: 0 0 10px 10px;
}

.back-to-top {
  background: #51b31b;
}

@media (max-width: 767px) {
  .next-button {
    height: 60px;
  }
}

@media (min-width: 768px) {
  .pc-text-ceter {
    text-align: center;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .next-button {
    transition: .3s ease;
  }
  .next-button:hover {
    opacity: .8;
    transition: .3s ease;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
  .pc-text-center {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

.mainimage_area {
  position: relative;
}

.mainimage_area .maincopy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
  .mainimage_area .maincopy {
    max-width: 1714px;
    width: 89.2708%;
  }
}

@media (max-width: 767px) {
  .mainimage_area .maincopy {
    width: 100%;
    max-width: 95%;
  }
}

.bread {
  margin-bottom: 40px;
}

.bread ul {
  list-style: none;
  padding: 0%;
  display: flex;
  align-items: center;
  gap: 25px;
}

.bread ul li {
  position: relative;
}

.bread ul li:not(:last-child):before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 1px #2b2b2b;
  border-right: solid 1px #2b2b2b;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 10px);
  margin: auto;
}

.p-thanks-page {
  padding: clamp(40px, 8vw, 100px) 0;
}

.p-thanks-page p {
  font-size: clamp(18px, 1.76vw, 22px);
}

.p-thanks-page .js-tel {
  font-size: 130%;
}

@media (min-width: 768px) {
  .p-thanks-page p {
    text-align: center;
  }
}

h1.h1 {
  background: url(/wp-content/uploads/page_title_bg.jpg) no-repeat center/cover;
  height: clamp(130px, 14.4vw, 180px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  h1.h1 {
    font-size: 1.5em;
  }
}

.text-large {
  font-size: clamp(24px, 3.84vw, 48px) !important;
}

.text-center {
  text-align: center!important;
}

.privacy-txt {
  font-size: clamp(18px, 1.92vw, 24px);
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 700;
}