.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

.h2-wideline {
  position: relative;
  color: #00469b;
  font-size: 2em;
}

.h2-wideline::after {
  display: block;
  content: "";
  border-bottom: 3px solid #00469b;
  position: relative;
  top: 5px;
  width: 100%;
  margin-bottom: 20px;
}

.h3-waku {
  background-color: var(--bs-success);
  font-size: 1.1em;
}

.h3-waku span {
  background-color: #ff5500;
  display: inline-block;
  margin-right: 20px;
}

.table-terms {
  border: 3px solid var(--bs-success);
}

.table-terms tr th:first-child, .table-terms tr td:first-child {
  background-color: #d8eb00;
}

.table-qanda h5 {
  border-bottom: 1px dotted #CCC;
  padding-bottom: 9px;
  display: flex;
  text-align: left;
}

.h2-wideline-gray::after {
  display: block;
  content: "";
  border-bottom: 3px solid #444;
  position: relative;
  top: 5px;
  width: 100%;
  margin-bottom: 20px;
}

.h2-wideline-gray {
  position: relative;
  color: #444;
  font-size: 2em;
}

.table-qanda p {
  display: flex;
}

.table-qanda {
}

.contact-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  flex: 1 auto;
  flex-direction: row;
}

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

@keyframes zoomBg {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 110%;
  }
  100% {
    background-size: 100%;
  }
}

.aap-pp {
  font-size: 0.9em;
}

.aap-pp h2 {
  font-size: 1.5em;
}

.aap-pp h3 {
  font-size: 1.3em;
}

.aap-pp h4 {
  font-size: 1.2em;
}

.top-jisseki img {
  position: absolute;
  top: -20px;
  width: 220px;
  right: 42px;
}

.top-title {
  background: url("../../assets/img/Top-Main-ColorTip.png");
  transform: perspective(0px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -5;
  animation: zoomBg 5s ease-in-out infinite;
}

@media (min-width: 768px) {
  .contact-hosoku {
    width: 65%;
    font-size: 0.8em;
    margin-bottom: 40px;
    margin-top: -20px;
    margin-left: 34%;
  }
}

@media (max-width: 769px) {
  .contact-hosoku {
    width: 96%;
    font-size: 0.8em;
    margin-bottom: 40px;
    margin-top: -20px;
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .merit-3 {
    width: 70%;
    margin: 0 auto;
  }
}

.reason-list .lh-lg {
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .table-terms tr th, .table-terms tr td {
    width: 100%;
    display: block;
  }
}

@media (min-width: 768px) {
  .table-terms tr th, .table-terms tr td {
    width: 100%;
    display: block;
  }
}

@media (min-width: 768px) {
  .table-terms tr th, .table-terms tr td {
    width: 100%;
    display: block;
  }
}

@media (min-width: 769px) {
  .table-terms tr th, .table-terms tr td {
    display: table-cell;
  }
}

@media (min-width: 769px) {
  .table-terms tr th, .table-terms tr td {
    display: table-cell;
  }
}

@media (min-width: 769px) {
  .table-terms tr th:nth-child(1), .table-responsive tr td:nth-child(1) {
    width: 30%;
  }
}

@media (min-width: 769px) {
  .reason-list div {
    flex-basis: 50%;
  }
}

@media (max-width: 576px) {
  .merit-3 {
    width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .row-cols-1 > * {
    flex: 0 0 auto;
    width: 33.3333%;
  }
}

