@charset "UTF-8";
.p-payment {
  max-width: 980px;
  margin: 0 auto
}

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

.p-payment #transfer, .p-payment #credit, .p-payment #loan, .p-payment #settlement {
  scroll-margin-top: 80px
}

.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: 219.25px;
  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 {
  background: #b60081;
  margin: 26px auto 0
}

#loan .c-button a.c-button__link {
  border: solid 2px #b60081
}

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

#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 {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff
}

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

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

.bg-yellow div.c-button {
  max-width: 416px;
  height: 64px
}

.bg-yellow .attention {
  position: relative;
  display: inline-block;
  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)
}

@media screen and (max-width:768px) {
  #payment_contents .l-wrapper {
    margin: 4px auto 0
  }
  .p-payment #transfer, .p-payment #credit, .p-payment #loan, .p-payment #settlement {
    scroll-margin-top: 0
  }
  .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
  }
  .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 {
    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
  }
  .flex_credit li {
    width: 92px;
    height: 58px
  }
}

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

@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-limit{
  max-width: fit-content;
  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;
  }
}