@charset "UTF-8";

.p-payment {
  max-width: 980px;
  margin: 0 auto;
}

a:link:hover {
  opacity: 1;
}

#payment_contents .l-wrapper {
  width: 100%;
  margin: 0 auto;
}

.p-payment #transfer,
.p-payment #credit,
.p-payment #loan,
.p-payment #settlement {
  margin-top: -48px;
  padding-top: 48px;
}

.p-payment_txt {
  text-align: center;
  font-size: 20px;
  line-height: 1.7;
  margin-top: 25px;
}

.p-payment__linkbox {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  margin-top: 24px;
}

.p-payment__linkcont a {
  display: flex;
  padding: 0 42px 0 16px;
  height: 54px;
  width: 161px;
  border: solid 1px #815124;
  border-width: 1px 0 1px 1px;
  color: #815124;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  align-items: center;
  position: relative;
}

.p-payment__linkcont a:hover {
  color: #fff;
  background: #815124;
  transition: .5s;
}

.p-payment__linkbox li:last-child {
  border: solid 1px #815124;
  border-width: 0 1px 0 0;
}

.payment-box {
  margin-bottom: 46px;
}

.p-payment .c-header__brown {
  background: #76471b;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  height: 64px;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  padding: 0 50px;
  background-size: auto auto;
  background-color: #9d652f;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 1px, #76471b 1px, #76471b 6px);
}

.p-payment__linkcont a::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border-top: solid 2px #815124;
  border-right: solid 2px #815124;
  transform: rotate(135deg);
  position: absolute;
  top: 40%;
  right: 16px;
}

.p-payment__linkcont a:hover::after {
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
}

.p-payment-wrap {
  padding: 29px 50px 0;
}

.p-payment-comments {
  font-size: 14px;
  margin-top: 20px;
}

.p-payment-wrap .common_image {
  float: left;
  shape-outside: inherit;
  margin-right: 32px;
}

.p-payment-wrap .common_txt {
  font-size: 18px;
  line-height: 1.7;
}

#credit .p-payment_txt {
  font-size: 18px;
  margin: auto;
}

.flex_credit {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px auto 0;
}

#settlement .p-payment_txt {
  font-size: 18px;
  text-align: start;
  line-height: 1.6;
  margin: auto
}

#settlement .flex_credit {
  gap: 9.33333px;
  margin: 24px auto;
}

#settlement div {
  text-align: center;
}

#loan .c-button {
  position: relative;
  color: #fff;
  font-weight: 600;
  max-width: 340px;
  height: 48px;
  background: #b60081;
  border: solid 2px #b60081;
  margin: 26px auto 0;
  z-index: 0;
}

#loan .c-button::before,
.bg-yellow .c-button::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0%;
  height: 100%;
  background-color: #fff;
  transition: .4s;
}

#loan .c-button:hover::before,
.bg-yellow .c-button:hover::before {
  width: 100%;
}

#loan .c-button a.c-button__link {
  display: flex;
  justify-content: center;
  font-size: 18px;
  height: 100%;
  align-items: center;
  cursor: pointer;
  border: none;
}

.bg-yellow .c-button a.c-button__link {
  display: flex;
  justify-content: center;
  font-size: 18px;
  height: 100%;
  align-items: center;
  cursor: pointer;
}

#loan .c-button:hover {
  color: #b60081;
}

.bg-yellow .c-button:hover {
  color: #eb6120;
}

#loan .c-button a.c-button__link span::after {
  border-top: solid 1px #b60081;
  border-right: solid 1px #b60081;
}

#loan .c-button a.c-button__link:hover span::after,
.bg-yellow .c-button a.c-button__link:hover span::after {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}

#loan .c-button a.c-button__link:hover span::before {
  background-color: #b60081;
  transition: .5s;
}

.bg-yellow .c-button a.c-button__link:hover span::before {
  background-color: #eb6120;
  transition: .5s;
}

.bg-yellow {
  background: #faf39a;
  text-align: center;
  padding: 40px 0;
}

.bg-yellow .c-button {
  max-width: 416px;
  height: 64px;
  background: #eb6120;
  border: solid 2px #eb6120;
  color: #fff;
  font-weight: 600;
  z-index: 0;
  position: relative;
  margin: 0 auto
}

.bg-yellow .attention {
  position: relative;
  display: inline-block;
  line-height: 1.6;
  padding: 0 26px;
  margin-bottom: 18px;
}

.bg-yellow .attention:before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 1px;
  height: 64%;
  background: #000;
  border-radius: 3px;
  transform: rotate(-38deg);
}

.bg-yellow .attention:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 1px;
  height: 64%;
  background: #000;
  border-radius: 3px;
  transform: rotate(38deg);
}

#settlement .flex_credit li {
  width: 140px;
}

@media screen and (max-width:768px) {
  #lower {
    padding-top: 60px;
  }

  #payment_contents .l-wrapper {
    margin: 4px auto 0;
  }

  .p-payment #transfer,
  .p-payment #credit,
  .p-payment #loan,
  .p-payment #settlement {
    margin-top: -66px;
    padding-top: 66px;
  }

  .p-payment_txt {
    text-align: start;
    font-size: 18px;
    margin: 26px 20px 0;
  }

  .p-payment__linkbox {
    flex-flow: column;
    margin: 29px 20px 50px;
  }

  .p-payment__linkcont a {
    width: 100%;
    border-width: 1px 1px 0 1px;
    box-sizing: border-box;
  }

  .p-payment__linkbox li:last-child {
    border-width: 0 0 1px 0;
  }

  .p-payment .c-header__brown {
    height: 72px;
    justify-content: center;
    padding: 0;
  }

  .p-payment-wrap {
    padding: 22px 20px 0;
  }

  .p-payment-wrap .common_txt {
    line-height: 1.5;
  }

  .p-payment-wrap .common_image {
    width: 128px;
    height: 128px;
    margin-right: 20px;
  }

  #loan .p-payment-wrap .common_image {
    margin-right: 20px;
  }
}

@media screen and (min-width:920px) {

  .c-headline,
  #loan .c-button a.c-button__link span {
    letter-spacing: 1.2px;
    margin-right: 24px;
  }
}

@media screen and (max-width:768px) {
  #settlement .p-payment_txt {
    line-height: 1.5;
  }

  .flex_credit {
    width: 100%;
    row-gap: 27px;
    column-gap: 20px;
    margin: 22px auto 0
  }
}

@media screen and (max-width:768px) {
  #settlement .flex_credit {
    width: 100%;
  }
}

@media screen and (max-width:768px) {
  #loan .c-button {
    margin: 40px auto 0;
  }

  #loan .c-button:hover {
    color: #fff;
  }

  #loan .c-button::before {
    background-color: #b60081;
  }

  #loan .c-button a.c-button__link:hover span {
    color: #fff;
  }

  #loan .c-button a.c-button__link:hover span::before {
    background-color: #fff;
  }

  #loan .c-button a.c-button__link:hover span::after {
    border-top: solid 1px #b60081;
    border-right: solid 1px #b60081;
  }
}

@media screen and (max-width:768px) {
  .bg-yellow .attention {
    margin-bottom: 6px;
    padding: 0 24px;
  }

  .bg-yellow div.c-button {
    width: 264px;
    height: 48px;
  }

  .bg-yellow .attention:before {
    height: 60%;
  }

  .bg-yellow .attention:after {
    height: 60%;
  }
}


.p-payment div.c-button a.c-button__link span::before {
  content: "";
  width: 18px;
  height: 18px;
  vertical-align: top;
  border-radius: 18px;
  background-color: #fff;
  position: absolute;
  right: -30px;
  top: 1px;
}

.p-payment div.c-button a.c-button__link span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-top: solid 1px #b60081;
  border-right: solid 1px #b60081;
  transform: rotate(45deg);
  position: absolute;
  top: 1px;
  right: -23px;
  bottom: 0;
  margin: auto;
}

div.c-button a.c-button__link span {
  position: relative;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .p-payment div.c-button a.c-button__link span::before {
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
  }

  .p-payment div.c-button a.c-button__link span::after {
    right: -7px;
  }

  .c-button a.c-button__link {
    padding-right: 20px;
  }
}

.p-limit {
  max-width: 735px;
  text-align: center;
  font-weight: bold;
  margin: 0 auto;
}

.p-limit__text {
  font-size: 16px;
  padding: 11.5px 0;
  background: #FFB97A;
  border: solid 1px #815124;
}

.p-limit-wrap {
  display: flex;
  border-left: solid 1px #815124;
}

.p-limit-wrap__item {
  background: #FFF;
  border-right: dashed 1px #815124;
  border-bottom: solid 1px #815124;
}

.p-limit-wrap__item:last-child {
  border-right: solid 1px #815124;
}

.p-limit-wrap__item-ttl {
  font-size: 14px;
  font-weight: bold;
  padding: 7.5px 0;
  background: #FFE9D5;
}

.p-limit-wrap__item-txt {
  position: relative;
  width: 147px;
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
  color: #D32A14;
  font-weight: bold;
  height: 40px;
  background: #FFF;
}

.p-limit-wrap__item-txt span {
  font-size: 24px;
  font-weight: bold;
}

.p-limit-wrap__item-txt small {
  font-size: 12px;
  position: absolute;
  top: 15px;
}

.p-limit-wrap__item--hidden {
  width: 148px;
  border: none;
}

.u-display-sp {
  display: none;
}

@media screen and (max-width: 493px) {
  #settlement .flex_credit {
    flex-wrap: nowrap;
    margin: 9.33333px auto;
  }

  #settlement .p-payment_txt {
    margin-bottom: 24px;
  }

  .p-limit-inner {
    white-space: nowrap;
    overflow: auto;
  }

  .p-limit {
    margin-top: 24px;
  }

  .u-display-pc {
    display: none;
  }

  .u-display-sp {
    display: block;
  }
}