@import url("../../../common/css/common.css");

main img {
  width: 100%;
}

/* index.php ご利用に関する条件 */
.loan-section-box {
  border: 1px solid #0fa8bc;
  border-radius: 10px;
  padding-bottom: 15px;
  margin: 15px auto 0;
}

h4.loan-section-h4 {
  padding: 10px 15px 10px 40px;
  background-color: #e4f3f5;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

h4.loan-section-h4 span {
  position: relative;
}

h4.loan-section-h4 span::before {
  content: "";
  position: absolute;
  top: calc(50% + 2px);
  left: -22px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  background-color: #0fa8bc;
}

h4.loan-section-h4 span::after {
  content: "";
  position: absolute;
  top: calc(50% + 2px);
  left: -19px;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.loan-section-title {
  font-size: 1.65rem;
  text-align: center;
  margin-top: 15px;
  color: #50a032;
}

.loan-section-text {
  margin: 15px auto;
  padding: 0 15px;
}

.loan-section-detail {
  text-align: center;
}

.loan-section-detail a {
  background-color: #0fa8bc;
  border-radius: 20px;
  color: #fff;
  padding: 5px 30px 5px 15px;
  display: inline-block;
  margin: auto;
  text-shadow: 2px 2px 1px #296c80, -2px 2px 1px #296c80, 2px -2px 1px #296c80,
    -2px -2px 1px #33474d, 2px 0px 1px #296c80, 0px 2px 1px #296c80,
    -2px 0px 1px #296c80, 0px -2px 1px #296c80;
  text-decoration: none;
}

.loan-section-detail span {
  position: relative;
}

.loan-section-detail span::before,
.loan-section-detail span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
}

.loan-section-detail span::before {
  width: 17px;
  height: 17px;
  background-color: #e4f3f5;
  border-radius: 50%;
}

.loan-section-detail span::after {
  width: 0;
  height: 0;
  border-width: 5px;
  border-style: solid;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: #000;
}

@media screen and (max-width: 750px) {
  .loan-section-box {
    width: calc(100% - 30px);
  }
}

@media screen and (min-width: 750px) {
  .loan-section-title {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 750px) {
  .other_flex2:last-child .other_flex2_box {
    flex-basis: calc(50% - 5px);
  }
}
