@charset "UTF-8";

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.5;
  background-color: #F8F8F8;
  margin: 0;
}

.bg_img {
  position: fixed;
  bottom: 8%;
  left: 0;
  width: 110%;
  margin-left: -5%;
  z-index: -1;
}

@media (max-width: 768px) {
  .bg_img {
    display: none;
  }
}

.bg_img img {
  display: block;
  width: 100%;
  height: auto;
}

.wrapper {
  color: #0A0A0A;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  background-color: #fff;
  padding-top: 40px;
}

.footer {
  background: #f2f2f2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 70px 0;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}

.footer-logo {
  width: 180px;
  margin-bottom: 0;
}

.footer-text {
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #666;
  font-weight: 300;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-content {
    display: block;
    padding: 24px 0 42px;
  }

  .footer-logo {
    width: 160px;
    margin-bottom: 8px;
  }

  .footer-text {
    text-align: center;
  }
}

.container {
  padding: 16px 24px 33px;
}

.bg_accent {
  background-color: #FAF7F4;
}

.icon_01 {
  display: block;
  margin: 26px auto 10px;
  width: 40px;
  height: auto;
}

.icon_01 img {
  display: block;
  width: 100%;
}

.test_name {
  font-size: 34px;
  line-height: 48px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 36px;
}

.test_text {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  line-height: 2;
}

.test_text_02 {
  font-size: 10px;
  text-align: center;
  font-weight: bold;
  line-height: 1.6;
}

.u_mb20 {
  margin-bottom: 20px;
}

.content_wrap {
  padding-top: 50px;
}

.label_black {
  background-color: #0A0A0A;
  padding: 4px 0 6px;
  margin-bottom: 40px;
}

.label_black p {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
}

.age_input {
  margin-bottom: 11px;
  text-align: center;
}

.age_input_text {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.age_input input[type="number"] {
  width: 90px;
  padding: 3px 0 5px;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  border: 3px solid #DFDDDA;
  background-color: #F9F8F7;
  letter-spacing: 0.16em;
  margin-left: 24px;
}

.age_input input[type="number"]::placeholder {
  color: #DFDDDA;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.age_input input[type="number"]::-webkit-inner-spin-button,
.age_input input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.age_input input[type="number"] {
  -moz-appearance: textfield;
}

.age_unit02 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.error_message {
  font-size: 14px;
  font-weight: 600;
  color: #FF0000;
  text-align: center;
  margin-top: 8px;
  margin-right: 6px;
  min-height: 24px;
  display: block;
  visibility: hidden;
}

.error_message.is-visible {
  visibility: visible;
}

.step_text {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 26px;
  text-align: center;
}

.test_img {
  width: 45px;
  height: auto;
  margin: 0 auto 4px;
}

.test_img img {
  display: block;
  width: 100%;
  height: auto;
}

.test_title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-align: center;
}

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

ul.check .list {
  display: inline-block;
  width: 100%;
  padding: 0;
  background-color: #F9F8F7;
  border: 1px solid #DFDDDA;
  margin-bottom: 20px;
}

ul.check .list:last-child {
  margin-bottom: 0;
}

ul.check .list:has(input[type="checkbox"]:checked) {
  background-color: #F2E7D9;
  border-color: #F2E7D9;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]+label {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 20px 15px 48px;
}

input[type="checkbox"]+label:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  width: 20px;
  height: 20px;
  border-radius: 1px;
  border: 1px solid #000;
  background-color: #ffffff;
  transform: translateY(-50%);
  margin-top: 1px;
}

input[type="checkbox"]:checked+label:after {
  content: '✔';
  position: absolute;
  top: 49%;
  left: 14px;
  width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000000;
  transform: translateY(-50%);
}

.btn_wrap {
  text-align: center;
  padding-bottom: 40px;
  background-color: #FAF7F4;
}

.btn_01 {
  display: inline-block;
  width: 222px;
  margin: 0 auto;
  padding: 13px 0 14px;
  background-color:#819D7D;
  border-radius: 1px;
  cursor: pointer;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.btn_01:hover {
  opacity: 0.7;
}

.result_area {
  width: 100%;
  display: none;
}

.result_card {
  padding: 40px 0 36px;
  text-align: center;
}

.result_list {
  margin: 0;
  padding: 0;
}

.result_term {
  padding-bottom: 20px;
  margin: 0 18px;
  font-size: 28px;
  font-weight: 700;
}

.result_detail {
  border: 2px solid #DFDDDA;
  background-color: #F9F8F7;
  margin: 0 24px;
}

.result_heading {
  margin-top: 27px;
  font-size: 18px;
  font-weight: 700;
}

.result_img {
  width: 84px;
  height: auto;
  margin: 12px auto 8px;
}

.result_img img {
  display: block;
  width: 100%;
  height: auto;
}

.age_unit {
  font-size: 28px;
  font-weight: bold;
  color: #E70000;
  padding-left: 6px;
}

.result_description {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  margin: 20px 32px;
  text-align: left;
}

.result_age_number {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #E70000;
  line-height: 1;
}

.result_message {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 10px 0 20px;
  margin: 0 32px;
  border-bottom: 1px solid #DFDDDA;
}

.result_quotation {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  padding-top: 16px;
}

.check_count {
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translate(calc(450px/2), -50%);
  z-index: 200;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

.check_count.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.check_count_inner {
  width: 211px;
  background-color: #819D7D;
  color: #ffffff;
  padding: 18px 0 16px;
  text-align: center;
}

.check_count_label {
  font-size: 16px;
  font-weight: 600;
}

.check_count_label::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 18px;
  margin-right: 6px;
  background-image: url("../images/icon_07.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.check_count_value {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.check_count_number {
  width: 36px;
  font-size: 32px;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: inline-block;
  margin-right: 4px;
}

.check_count_arrow {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 15px solid #819D7D;
  margin-left: 6px;
  margin-right: -1px;
}

@media (max-width: 768px) {
  .check_count {
    width: 100%;
    max-width: 450px;
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    justify-content: center;
  }

  .check_count_inner {
    padding: 7px 0 24px;
    min-width: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: baseline;
  }

  .check_count_label {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .check_count_number {
    width: 42px;
    font-size: 26px;
    margin-right: 0;
  }

  .check_count_value {
    font-size: 14px;
  }

  .check_count_arrow {
    display: none;
  }
}
