body {
  background-color: #ffffff;
  font-family: "Arial", sans-serif;
  caret-color: rgba(255, 255, 255, 0);
  min-height: 100vh;
  padding-bottom: 40px;
  position: relative;
  margin-bottom: 80px;
}

a {
  cursor: pointer;
}

:root {
  --main-color:#151748;
  --sub-color:#157d97;
}

img {
  width: 100%;
}

.hide {
  display: none;
}

header {
  border-bottom: 1px solid #adadad;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  padding: 25px 0;
  text-align: center;
}
header h1 {
  margin-bottom: 1.5rem;
}
header h1 img {
  width: 300px;
}
header nav ul {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
}
header nav ul li {
  border-right: 1px solid;
  padding: 0 1rem;
}
header nav ul li:nth-of-type(1) {
  border-left: 1px solid;
}

@media screen and (max-width: 959px) {
  header {
    padding: 20px 0 15px;
  }
}
@media screen and (max-width: 959px) {
  header h1 {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 959px) {
  header h1 img {
    width: 185px;
  }
}
@media screen and (max-width: 959px) {
  header nav ul {
    font-size: 0.6rem;
  }
}
@media screen and (max-width: 959px) {
  header nav ul li {
    padding: 0 0.8rem;
  }
}
main .start {
  text-align: center;
}
main .start h1 {
  border-left: 5px solid rgb(0, 82, 164);
  border-right: 5px solid rgb(0, 82, 164);
  font-family: "Mochiy Pop One", sans-serif;
  text-align: left;
  padding: 20px 50px;
  width: 90%;
  max-width: 700px;
  margin: 60px auto 0;
  position: relative;
}
main .start h1 img {
  position: absolute;
  right: 30px;
  top: 18%;
  width: 110px;
}
main .start h1 .sub {
  color: var(--sub-color);
  font-size: 1.5rem;
  line-height: 1.7;
  margin-left: 20px;
}
main .start h1 .sp {
  display: none;
}
main .start h1 .main {
  color: var(--main-color);
  line-height: 1.7;
  letter-spacing: 2px;
  font-size: 1.8rem;
}
main .start h1 .main .big {
  color: #1b1e90;
  font-size: 2.5rem;
}
main .start .btn {
  left: 50%;
  position: absolute;
  text-align: center;
  bottom: 43%;
  transform: translateX(-50%);
  background-color: var(--sub-color);
  box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.56);
  border: none;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 70px;
  padding: 0 1rem;
  width: 400px;
}
main .sim {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
main .sim .questions-wrap .questions {
  height: calc(100vh - 40px);
  margin-bottom: 13rem;
  position: relative;
}
main .sim .questions-wrap .questions h3 {
  color: #191970;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 50px;
}
main .sim .questions-wrap .questions h3:after {
  background-color: var(--main-color);
  bottom: -1rem;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 50px;
}
main .sim .questions-wrap .questions:not(.q1) h3 {
  padding-top: 98px;
}
main .sim .questions-wrap .questions.q5 h3, main .sim .questions-wrap .questions.q6 h3 {
  margin-bottom: 30px;
}
main .sim .questions-wrap .questions ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 50px;
}
main .sim .questions-wrap .questions ul li {
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 2px 2px 1px #ccc;
  box-sizing: content-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 80px;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  width: 41%;
}
main .sim .questions-wrap .questions ul li::after {
  display: block;
  content: "";
  width: 41%;
}
main .sim .questions-wrap .questions ul li img {
  height: 10rem;
  margin-top: 0.5rem;
  -o-object-fit: contain;
  object-fit: contain;
  width: 10rem;
}
main .sim .questions-wrap .questions ul li span {
  font-size: 17px;
  letter-spacing: 0.2rem;
  color: #7c7b79;
  font-weight: 600;
}
main .sim .questions-wrap .questions ul li.choose {
  border: 2px solid var(--main-color);
}
main .sim .questions-wrap .questions .next-arrow {
  position: relative;
}
main .sim .questions-wrap .questions .next-arrow .text {
  color: #7c7b79;
  width: 100%;
  font-size: 20px;
  letter-spacing: 0.2rem;
  margin-top: 20px;
  margin-bottom: 20px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
}
main .sim .questions-wrap .questions .next-arrow .arrow-wrap {
  text-align: center;
}
main .sim .questions-wrap .questions .next-arrow .arrow-wrap .arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-bottom: 4px solid #000;
  border-right: 4px solid #000;
  transform: rotate(45deg);
}
main .sim .results h3 {
  color: var(--main-color);
  margin-bottom: 3rem;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2.5;
  text-align: center;
  position: relative;
}
main .sim .results h3:after {
  background-color: var(--main-color);
  bottom: 0rem;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 50px;
}
main .sim .results .red {
  color: red;
  text-align: center;
}
main .sim .results .calc-result {
  margin-bottom: 3rem;
  text-align: center;
}
main .sim .results .calc-result .num {
  color: var(--sub-color);
  font-size: 3rem;
  font-weight: bold;
  margin-right: 1rem;
}
main .sim .results ul, main .sim .results p {
  line-height: 2;
}
main .sim .results .input-answers {
  line-height: 2.2;
  padding: 0 3%;
}
main .sim .results .contact-link {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}
main .sim .results .contact-link a {
  align-items: center;
  border: 1px solid rgb(16, 208, 99);
  background-color: rgb(34, 224, 116);
  box-shadow: 2px 2px rgba(0, 0, 0, 0.129);
  border-radius: 10px;
  color: white;
  display: flex;
  font-size: 1.8rem;
  font-weight: bold;
  font-size: 1.5rem;
  justify-content: center;
  line-height: 85px;
  letter-spacing: 1px;
  padding: 14px 22px 14px 14px;
  width: 470px;
}
main .sim .results .contact-link a img {
  height: 50px;
  margin-right: 15px;
  width: 50px;
  -o-object-fit: contain;
  object-fit: contain;
}
@media screen and (max-width: 959px) {
  main .sim .results .contact-link a img {
    height: 30px;
    width: 30px;
  }
}
main .sim .results .links {
  color: black;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 30px;
}
main .sim .results .links .content {
  align-items: center;
  border-radius: 5px;
  justify-content: center;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: bold;
  padding: 16px 24px 16px 16px;
  width: 340px;
}
@media screen and (max-width: 959px) {
  main .sim .results .links .content {
    width: 220px;
  }
}
main .sim .results .links .content a {
  width: 50%;
}
main .sim .results .links .content img {
  height: 50px;
  margin-right: 15px;
  width: 50px;
  -o-object-fit: contain;
  object-fit: contain;
}
main .sim .results .links .content.line {
  border: 1px solid;
  background-color: var(--sub-color);
  box-shadow: 2px 2px rgba(0, 0, 0, 0.129);
  color: white;
}
main .sim .results .links .content.phone {
  border: 1px solid rgb(142, 142, 142);
  box-shadow: 2px 2px rgba(0, 0, 0, 0.129);
}
main .sim .results .restart-btn {
  background-color: var(--sub-color);
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  left: 50%;
  line-height: 80px;
  margin: 3rem auto;
  padding: 0 1rem;
  position: relative;
  text-align: center;
  transform: translateX(-50%);
  width: 400px;
}
main .footer-links {
  bottom: 0;
  display: flex;
  position: fixed;
  width: 100%;
  z-index: 99;
}
main .footer-links .content {
  align-items: center;
  display: flex;
  color: white;
  gap: 0 20px;
  font-size: 0.7rem;
  flex-direction: column;
  justify-content: center;
  padding: 3px 0;
  text-align: center;
  width: 33.3333333333%;
  max-width: 400px;
}
main .footer-links .content img {
  height: 18px;
  width: 18px;
}
main .footer-links .content p {
  margin-top: 5px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.25;
}
main .footer-links .content p.pc, main .footer-links .content p.sp {
  display: none;
}
main .footer-links .mail {
  background-color: var(--sub-color);
  width: 33.3333333333%;
}
main .footer-links .mail img {
  margin-top: 5px;
}
main .footer-links .line {
  background-color: #00C300;
  width: 33.3333333333%;
}
main .footer-links .line img {
  margin-top: 5px;
}
main .footer-links .phone {
  background-color: var(--main-color);
  width: 33.3333333333%;
}
main .footer-links .phone p {
  line-height: 1.5;
}
main .footer-links .phone p.pc span {
  font-size: 0.9rem;
  line-height: 1;
}

@media screen and (max-width: 959px) {
  main .start h1 {
    border-left: 3px solid rgb(0, 82, 164);
    border-right: 3px solid rgb(0, 82, 164);
    padding: 20px 20px;
    width: 360px;
  }
}
@media screen and (max-width: 959px) {
  main .start h1 img {
    width: 50px;
    top: 25%;
    right: 10px;
  }
}
@media screen and (max-width: 959px) {
  main .start h1 .sub {
    margin-left: 5px;
    font-size: 1rem;
  }
}
@media screen and (max-width: 959px) {
  main .start h1 .sp {
    display: block;
  }
}
@media screen and (max-width: 959px) {
  main .start h1 .main {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 959px) {
  main .start h1 .main .big {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 959px) {
  main .start .btn {
    font-size: 1rem;
    width: 300px;
  }
}
@media screen and (max-width: 959px) {
  main .sim {
    padding: 0.5rem;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions {
    margin-bottom: 0;
    height: calc(100svh - 30px);
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions h3 {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions ul {
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 20px;
    height: 346px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions ul li {
    padding: 10px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions ul li img {
    height: 7rem;
    width: 7rem;
    padding: 0 5px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions ul li span {
    font-size: 14px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions .next-arrow .text {
    margin-bottom: 10px;
    font-size: 18px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .questions-wrap .questions .next-arrow .arrow-wrap .arrow {
    width: 15px;
    height: 15px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results h3 {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .calc-result {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .calc-result .num {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .contact-link a {
    font-size: 0.9rem;
    line-height: 65px;
    width: 310px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .links {
    align-items: center;
    flex-direction: column;
    gap: 15px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .links .content {
    font-size: 0.7rem;
    padding: 8px 12px 8px 8px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .links .content img {
    height: 25px;
    margin-right: 5px;
    width: 25px;
  }
}
@media screen and (max-width: 959px) {
  main .sim .results .restart-btn {
    font-size: 1.2rem;
    width: 300px;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links {
    gap: 0 20px;
    background-color: rgb(128, 128, 128);
    padding: 20px;
    justify-content: center;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .content {
    color: var(--main-color);
    font-size: 1.2rem;
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding: 0;
    text-align: left;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .content .img {
    align-items: center;
    display: flex;
    height: 100%;
    padding: 10px;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .content img {
    height: 50px;
    padding: 3px;
    width: 50px;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .content p {
    padding: 10px;
    margin-right: auto;
    padding-left: 40px;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .content p.pc {
    display: inline;
  }
}
@media screen and (max-width: 965px) {
  main .footer-links .content p.sp {
    display: inline;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .mail {
    background-color: white;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .mail .img {
    background-color: var(--sub-color);
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .mail img {
    margin: 0;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .line {
    background-color: white;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .line .img {
    background-color: #00C300;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .line img {
    margin: 0;
    padding: 0;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .phone {
    background-color: white;
  }
}
@media screen and (min-width: 966px) {
  main .footer-links .phone .img {
    background-color: var(--main-color);
  }
}
footer {
  background-color: #403D3C;
  bottom: 0;
  color: white;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 98;
}
footer.qa {
  position: fixed;
  z-index: 98;
}
footer p {
  line-height: 40px;
}

@media screen and (max-width: 959px) {
  footer p {
    font-size: 0.8rem;
    line-height: 30px;
  }
}