.overlay {
  position: relative;
  /*overflow: hidden;*/
  width: 100%;
  height: auto;
}

.scrolling-bg {
  position: absolute;
  top: 98px;
  left: 0;
  width: 200%;
  height: 600px;
  background: url('../../assets/img/Top-Main-Slider.png') repeat-x;
  background-size: 1800px 600px;
  animation: scroll-bg 50s linear infinite;
  overflow: hidden;
}

@keyframes scroll-bg {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1800px 0;
  }
}

.my-box {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0080ff;
  border-radius: 8px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: bold;
  position: relative;
}

.my-box-inner {
  display: inline-block;
  padding: 5px 10px;
  background: white;
  border-radius: 4px;
  color: #0080ff;
  width: 100%;
  box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #ff5500;
  margin: 0 auto;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #ff5500;
  margin: -20px auto 0 auto;
  z-index: 10;
}

.my-heading {
  background-color: var(--bs-primary);
  padding: 10px 5px;
  font-size: 10pt;
  transform: perspective(0px);
  border-radius: 5px;
  height: auto;
  margin: 45px 0px 0px 2%;
  z-index: 5;
  position: absolute;
  width: 90%;
}

.my-heading {
  background-color: var(--bs-primary);
  padding: 10px 5px;
  font-size: 10pt;
  transform: perspective(0px);
  border-radius: 5px;
  height: auto;
  margin: 45px 0px 0px 2%;
  z-index: 5;
  position: absolute;
  width: 90%;
}

element..my-heading {
  background-color: var(--bs-primary);
  padding: 10px 5px;
  font-size: 10pt;
  transform: perspective(0px);
  border-radius: 5px;
  height: auto;
  margin: 45px 0px 0px 2%;
  z-index: 5;
  position: absolute;
  width: 90%;
}

@media (min-width: 767.98px) {
  .my-heading {
    padding: 10px 5px;
    font-size: 15pt;
    margin: 50px auto 0px 8%;
    width: 80%;
  }
}

.headread {
  background: var(--bs-success);
  padding: 10px;
  color: var(--bs-light);
  margin: 0;
  font-size: 10pt;
}

@media (min-width: 767.98px) {
  .headread {
    background: var(--bs-success);
    padding: 10px;
    color: var(--bs-light);
    margin: 0;
    font-size: 12pt;
  }
}

.header-back {
  background: url("../../assets/img/Top-Background.jpg"), var(--bs-warning);
  height: auto;
  z-index: -10;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .top-text {
    font-size: 0.8em;
  }
}

@media (min-width: 767px) {
  .top-text {
    font-size: 1.0em;
  }
}

.Top-h1 {
  font-size: 0.9em;
  margin-bottom: -80px;
  z-index: 10;
  position: relative;
  box-shadow: 3px 3px 3px #333;
}

@media (max-width: 767px) {
  .Top-h1 {
    font-size: 0.9em;
    margin-bottom: -30px;
    z-index: 10;
    position: relative;
  }
}

@media (max-width: 576px) {
  .Top-h1 {
    font-size: 0.9em;
    margin-bottom: -50px;
    z-index: 10;
    position: relative;
  }
}

@media (max-width: 300px) {
  .Top-h1 {
    font-size: 0.9em;
    margin-bottom: 0px;
    z-index: 10;
    position: relative;
  }
}

@media (max-width: 300px) {
  .Top-h1 {
    font-size: 0.5em;
    margin-bottom: -80px;
    z-index: 10;
    position: relative;
  }
}

@media (min-width: 768px) {
  .Top-h1 {
    font-size: 1.3em;
    margin-bottom: -110px;
    z-index: 10;
    position: relative;
  }
}

.Top-3text + p {
  font-size: 0.8em;
}

.Top-3text + p {
  font-size: 0.8em;
}

.Top-3text + p {
  font-size: 0.8em;
}

.Top-3text + p {
  font-size: 0.8em;
}

.Top-3text div > p {
  font-size: clamp(1.0rem, 5vw, 1.2rem);
}

.Top-3text + p {
  font-size: 0.8em;
}

@media (min-width: 768px) {
  .Top-3text div > p {
    font-size: 1.4em;
  }
}

.mw-1080p {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.area-cta-blue {
  background-color: #00469b;
  color: white;
  padding: 10px;
  min-height: 220px;
}

@media (max-width: 768px) {
  .area-cta-blue {
    background-color: #00469b;
    color: white;
    padding: 10px;
    height: auto;
  }
}

.table-qanda p > span:nth-child(1) {
  background-color: var(--bs-blue);
  width: 80px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
  font-size: 15pt;
  text-indent: 5px;
}

.table-qanda p > span:nth-child(2) {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-qanda h5 > span:nth-child(1) {
  background-color: var(--bs-pink);
  width: 80px;
  display: flex;
  color: #FFF;
  margin-right: 20px;
  justify-content: center;
  align-items: center;
  text-indent: 5px;
  font-size: 15pt;
}

.table-qanda h5 > span:nth-child(2) {
  width: 100%;
  display: flex;
  align-items: center;
}

.contact-row .check-required {
  width: 50px;
  background-color: var(--bs-danger);
  display: flex;
  color: #FFF;
  margin-right: 20px;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
}

.contact-row .check-title {
  width: 160px;
  display: flex;
  margin-right: 20px;
  align-items: center;
  font-weight: bold;
  font-size: 0.95em;
}

.contact-row h5 {
  width: 300px;
  display: flex;
  margin-right: 20px;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  height: 80px;
}

.contact-row > div:nth-child(1) {
  display: flex;
  align-content: center;
  height: 40px;
  justify-content: left;
  flex-direction: row;
  border-bottom: 1px solid #CCC;
  align-items: flex-start;
  margin-right: 20px;
  flex-basis: 30%;
}

@media (max-width: 768px) {
  .contact-row > div:nth-child(1) {
    justify-content: center;
    display: flex;
    align-content: center;
    height: 40px;
    justify-content: left;
    flex-direction: row;
    border-bottom: 1px solid #CCC;
    align-items: flex-start;
    margin-right: 20px;
    flex-basis: 100%;
    margin-bottom: 10px;
  }
}

.contact-row > div:nth-child(2) {
  display: flex;
  border-bottom: none;
  gap: 2%;
  width: 66%;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-row > div:nth-child(2) {
    display: flex;
    border-bottom: none;
    gap: 2%;
    width: 97%;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
}

.form-check-label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .reason-list div {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .w-90percent.md-back {
    background-color: #0080ff;
  }
}

