html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

@font-face {
  font-family: 'Noto Serif JP ExtraLight';
  font-style: normal;
  font-weight: normal;
  src: local('Noto Serif JP ExtraLight'), url('../fonts/NotoSerifJP[wght].woff') format('woff');
}

@font-face {
  font-family: "bootstrap-icons";
  src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
    url("../fonts/bootstrap-icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "bootstrap-icons";
  src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
    url("../fonts/bootstrap-icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Noto Serif JP ExtraLight';
  background: #fff;
  color: #343434;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header {
  padding: 6px 0;
}

.quiz-container {
  max-width: 575px;
  width: 100%;
  /*padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 10px;*/
}

.step {
  display: none;
}

.step h2 {
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
  line-height: normal;
  margin-bottom: 30px;
}

.step p {
  font-size: 18px;
  margin-bottom: 30px;
}

.step ul li {
  margin-bottom: 10px;
}

.step ul li .bi {
  font-weight: 600;
  color: blue;
}

.step.active {
  display: block;
}

.options button,
.options input,
.options select {
  display: block;
  width: 25px;
  height: 25px;
  margin: 10px 0;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  margin-right: 10px;
}

.btn-back {
  border: none;
  background: transparent;
  font-size: 14px;
  color: #9f9f9f;
}

.btn-back:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.btn-nav {
  color: white;
  width: 100%;
  display: block;
  padding: 10px;
  font-size: 16px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(2, 15, 92);
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
}

.btn-nav:hover {
  opacity: 0.9;
  background-color: rgb(2, 15, 92);
}

.progress-bar {
  height: 5px;
  background: #020f5c;
  margin: 20px 0;
  border-radius: 3px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #007ccc;
  width: 0;
  transition: width 0.3s ease;
}

.quiz-container .step {
  display: none;
}

.quiz-container .step.active {
  display: block;
}

.progress-bar {
  height: 5px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar .progress {
  height: 100%;
  width: 0%;
  background: #020f5c;
  transition: width 0.3s ease-in-out;
}

.options label {
  margin-bottom: 15px;
  cursor: pointer;
  border: 1px solid #dedede;
  box-shadow: 0px 1px 6px #00000042;
  padding: 5px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  /* Use 'center' if you prefer vertical centering */
  gap: 8px;
  font-family: "Roboto", sans-serif;
}

.options label input[type="radio"] {
  accent-color: #020f5c;
  /* for modern browsers */
  transform: scale(1.2);
  flex-shrink: 0;
}

p.input-label {
  font-size: 12px;
  color: #333333;
  margin-bottom: 15px;
}

.input-with-placeholder {
  width: 100%;
  position: relative;
}

.input-with-placeholder label {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 30%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 300ms all;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #a7a5a5;
}

.input-with-placeholder input {
  width: 100%;
  height: 70px;
  padding: 0 15px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: 0px 1px 6px rgb(0 0 0 / 14%);
  border-bottom: 1px solid #020f5c;
  position: relative;
}

/*.input-with-placeholder input::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background-color: #020f5c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.input-with-placeholder input:focus::after {
  transform: scaleX(1);
}*/

.country-select select {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  background-repeat: no-repeat;
  background-position: 10px center;
  padding-left: 50px;
  height: 45px;
}

.country-select select option {
  padding-left: 20px;
}

.input-with-placeholder input:focus {
  border: none;
  outline: none;
}

.input-with-placeholder input:valid+label,
.input-with-placeholder input:focus+label {
  height: 15%;
  padding-left: 15px;
  /* transform: translateY(-84%); */
  font-size: 10px;
  top: 7px;
  color: #777;
}


.input-with-placeholder-2 {
  width: 100%;
  position: relative;
}

.input-with-placeholder-2 label {
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 30%;
  display: flex;
  align-items: center;
  padding-left: 15px;
  transition: 300ms all;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  color: #a7a5a5;
}

.input-with-placeholder-2 input {
  width: 100%;
  height: 70px;
  padding: 0 15px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: 0px 1px 6px rgb(0 0 0 / 14%);
  border-bottom: 1px solid #020f5c;
  position: relative;
}

.input-with-placeholder-2 input:focus {
  border: none;
  outline: none;
}

p.terms {
  font-size: 14px;
  text-align: center;
  padding: 20px 20px;
}


.inner-hero {
  background: #020f5c;
  padding: 50px 30px;
}

.inner-hero h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 900;
}

.innet-cnt {
  padding-top: 50px;
}

.innet-cnt h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.innet-cnt h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.innet-cnt ul {
  list-style: disc;
  margin: 10px 0;
}

.innet-cnt ul li {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  line-height: normal;
  margin: 6px 0;
}

.innet-cnt p {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}


.footer-sec {
  /*position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;*/
  padding: 50px 0 30px 0;
  background-color: #f7f7f7;
}

.footer-sec p.copy {
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-sec a {
  color: #020f5c;
  font-size: 14px;
  line-height: normal;
  margin: 5px 0;
  padding: 0 10px;
  border-right: 1px solid #333333;
}

.footer-sec a:last-child {
  border-right: none;
}

.innet-cnt h2 {
  font-size: 20px;
  font-weight: 600;
}

.thankvh {
  height: 50vh;
}

.phone-number a {
  font-size: 25px;
  background-color: #020f5c;
  padding: 6px 20px 7px;
  color: #fff;
  border-radius: 10px;
  margin-top: 0;
  display: inline-block;
  border: 1px solid transparent;
  -moz-transition: all 300ms ease-in-out 0s;
  -webkit-transition: all 300ms ease-in-out 0s;
  transition: all 300ms ease-in-out 0s;
  text-decoration: none;
}

.phone-number a:hover,
.phone-number a:focus {
  background: transparent;
  border: 1px solid #020f5c;
  color: #020f5c;
}

.logo-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.body-sec {
  background-color: #f7f7f7;
  padding: 50px 0;
}



@media only screen and (max-width: 767px) {
  .body-sec {
    padding: 10px 0px 0;
  }

  .phone-number a {
    font-size: 18px;
    padding: 10px 15px;
  }

  .phone-number a svg.me-3 {
    margin-right: 6px !important;
  }

  .step h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .step p {
    font-size: 0.6rem;
    text-align: justify;
    margin-bottom: 10px;
    padding: 0 !important;
  }

  .footer-sec {
    padding: 20px 0px;
  }

  .inner-hero h1 {
    font-size: 22px;
    margin: 0;
  }

  .inner-hero {
    padding: 20px;
  }

  .innet-cnt {
    padding-top: 15px;
  }

  .innet-cnt ul {
    padding-left: 15px;
  }
}

/* Hide phone number (including icon/link) on screens narrower than 768px */
@media (max-width: 499px) {
  .header .phone-number {
    display: none !important;
  }

  .header {
    padding: 8px 0 10px;
  }

  .logo-sec {
    justify-content: center;
  }
}