#discount-mainimg{
  background-image: url(https://safety-nanbu.com/home2021/asset21/img/discount/discount-mainimg@2x.jpg);
}

/*------------------------------------*\
  #group-discount
\*------------------------------------*/
/* 共通 */
#group-discount{}

p.catch{
  color: #E84040 !important;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
}

p.sub-catch{
    font-size: 18px;
    text-align: center;
}

img.illust{
      display: block;
    margin: 40px auto;
}

p.notice{
  font-size: 14px;
    display: block;
    max-width: 750px;
    margin: -20px auto 0;
}

p.sub-catch2{
  text-align: center;
    font-size: 20px;
    line-height: 1.8;
    font-weight: 600;
    letter-spacing: 2px;
}

p.sub-catch2 span.largest{
  font-size: 30px;
    display: inline-block;
    margin: 0 8px;
      color: #E84040 !important;
  }


/* SP */
@media all and (max-width:767px) {
  .discount-table th, .discount-table td{
    border-bottom: none;
    display: block;
    width: 100%;
    border-bottom-style: none;
  }
.discount-table td {
  border-top: 1px solid #D0D0D0;
  border-left: 1px solid #D0D0D0;
  border-right: 1px solid #D0D0D0;
}
.discount-table {
  border-bottom: solid 1px #D0D0D0;
}
.discount-table tr.last p.bold{
  margin: 0 0 5px;
}
.discount-table tr.last p.txt{
  margin: 0 0 20px;
  line-height: 1.8;
}
#group-discount h2 {
    margin: 10px 0 30px;
}
p.notice{
  padding:0 0 50px;
}
img.illust {
    width: 100%;
    max-width: 100%;
}
p.sub-catch {
    font-size: 15px;
text-align: justify;
}
#referral-discount h2 img.title {
    max-width: 300px !important;
}
}
/* PC */
@media all and (min-width:768px) {
  #group-discount h2{
    margin: 0 0 40px;
  }
  .discount-table td {
    border: 1px solid #D0D0D0;
  }
}

/*------------------------------------*\
  #referral-discount
\*------------------------------------*/
/* 共通 */
#referral-discount{
  padding: 20px 0px 10px;
  margin: 60px auto 30px;
}
#referral-discount h2{
  margin: 0 0 40px;
}

#referral-discount .flex-wrap{
display: flex;
    max-width: 768px;
    margin: 50px auto;
    justify-content: space-between;
}

#referral-discount .flex-wrap p.notice{
    margin: 0 !important;
}

#referral-discount .flex-wrap img{
max-width: 300px;
}
/* SP */
@media all and (max-width:767px) {
  #referral-discount h2{
        margin: 10px 0 30px;
  }
  #referral-discount {
        margin: 40px auto -10px;
        padding: 0 20px;
  }
  #referral-discount .flow-box {
    position: relative;
    width: 90%;
    margin: 0 auto;
    background: #FDFEDA;
    border-radius: 20px;
  }
  #referral-discount .flow-box p {
    font-size: 16px;
        text-align: justify;
        padding: 20px 10px;
        margin: 0 0 55px;
  }
  #referral-discount .flow-box:not(.last)::after{
    bottom: -35px;
  }
  #referral-discount .flow-box h3.title03{
        font-size: 18px;
    }
    p.sub-catch2 {
    font-size: 19px;
}
#referral-discount .flex-wrap {
    flex-direction: column;
}
#referral-discount .flex-wrap img {
    max-width: 100%;
    width:100%;
}
a.discount-btn{
      width: 90%;
    color: #fff !important;
    text-align: center;
    border: none;
}
    #group-discount h2 img.title {
        max-width: 250px !important;
    }
p.catch {
    font-size: 20px;
    text-align: justify;
}
}
@media all and (min-width:768px) {
  #referral-discount .flow-box:not(.last){
    margin-bottom: 70px;
    margin-top: -10px;
  }
  #referral-discount .flow-box p{
    margin: 0;
    padding: 0 30px 25px 30px;
        letter-spacing: 0.5px;
  }
  #referral-discount .flow-box:not(.last)::after{
    bottom: -40px;
  }
}



/*------------------------------------*\
  #discount-loan
\*------------------------------------*/
/* 共通 */
#discount-loan{
  margin: 60px auto 170px;
}

#discount-loan .box{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: auto;
  align-items:flex-start;
}
#discount-loan .box .txt-box{
  max-width: 395px;
  width: 41%;
}
#discount-loan .box .txt-box p{
margin:0;
}

#discount-loan .box .txt-box p.font18{
  margin: 30px 0;
  line-height: 2;
}

#discount-loan .box .txt-box .orange{
  margin: 0 0 0;
  letter-spacing: 3px;
}

#discount-loan .box .img{
  max-width: 530px;
  width: 50%;
}
#discount-loan .box .img img{
  width: 100%;
  height: auto;
}

#discount-loan ul{
  margin: 60px 0 20px;
}
#discount-loan ul li{
  font-weight: 500;
  letter-spacing: 3px;
  margin: 22px 0;
}
#discount-loan ul li span.title{
  background: #67ccc3;
  padding: 3px 20px;
  text-align: center;
  border-radius: 6px;
  color: #fff;
  margin-right: 15px;
}


.discount-loan-point{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: auto;
  align-items:flex-start;
  margin: 40px 0 0 0;
}
.discount-loan-point .point-box{
  background: #FDFEDA;
      max-width: 318px;
      width: 33%;
      text-align: center;
      font-size: 20px;
      font-weight: 500;
      color: #000;
      padding: 20px 20px 20px;
      border-radius: 10px;
}
.discount-loan-point .point-box.orange{
  background-color: #E69C32;
}
.discount-loan-point .point-box.green{
  background-color: #9AC246;
}

#discount-loan h3.bg_gray{
  margin: 90px 0 50px;
}


/* SP */
@media all and (max-width:767px) {
  #discount-loan {
      margin: 40px auto -3px;
      padding-bottom: 10px;
  }
#discount-loan  h2.check-title {
  background-position: 43.5% 5%;
      padding: 140px 0 0!important;
      font-size: 22px;
      text-align: center;
      margin: 30px 0!important;
      letter-spacing: 2px;
}
#discount-loan .box{
    display: block;
  }
#discount-loan .box .txt-box{
    width: 100%;
  }
#discount-loan .box .img{
    width: 100%;
  }
#discount-loan .box .img img{
margin-top: 10px;
  }
#discount-loan .box .txt-box .orange {
letter-spacing: 2px;
}
#discount-loan ul {
    margin: 40px 0 20px;
}
#discount-loan ul li span.title {
    display: block;
    margin-bottom: 10px;
    margin-right: 0;
}
#discount-loan ul li{
font-size: 18px;
}
.discount-loan-point {
display: block;
}
.discount-loan-point .point-box{
      width: 100%;
      max-width: 100%;
      padding: 0;
      margin: 10px auto;
}

.discount-loan-point .point-box p{
  padding: 10px;
}
span.entrace_img{
      margin: 10px 0 30px;
}
#discount-loan h3.bg_gray {
    margin: 40px 0 50px;
}
}
/* PC */
@media all and (min-width:768px) {
  #discount-loan {
      margin: 60px auto 0px;
      padding-bottom: 160px;
  }
  .page-id-254 .footer-wrap{
    margin-top: -100px;
  }
}

/*------------------------------------*\
 #discount-plan02
\*------------------------------------*/
/* 共通 */


/* SP */
@media all and (max-width:767px) {
}
/* PC */
@media all and (min-width:768px) {
}

/*------------------------------------*\
#discount-plan03
\*------------------------------------*/
/* 共通 */


/* SP */

/* PC */
@media all and (min-width:768px) {
}
@media all and (min-width:767px) and (max-width:768px){
.sp_scroll{
width: 100%;
    overflow-x: scroll;
}
span.entrace_img {
    margin: 10px 0 30px;
}
span.sp_scroll {
    display: inline-block;
}
#referral-discount{
  padding: 20px 20px 10px;
}
}

p.paypayend{
    color: #E84040!important;
    font-size: 1.25rem;
    text-align: center;
    border: 2px solid #e84040;
    padding: 5px 10px;
}

p.introduction{
  text-align: center;
      margin: 0 0 40px;
}

.mt50{
margin: 50px auto 0;
}

.discount-wrap img.title{
  max-width:100%!important;
  width:100%!important;
}

.discount-wrap p.title-annotation{
  font-size: 14px;
  text-align: center;
    display: block;
    margin: -40px 0 0;
}
@media all and (max-width:767px) {
  p.introduction{
  text-align:justify;
  }
  #group-discount a.btn03{
    color: #fff!important;
    text-align: center;
    border: none;
    border-radius: 3px;
    margin: 30px auto;
  }
  .discount-wrap p.title-annotation{
    margin: -30px 0 0;
}
}



@media all and (max-width:430px) {
  .loanbnr {
    display: block;
    justify-content: center;
    gap: 100px;
  }
  .loanbnr a img{
    max-height: 100%;
    width: 90%;
  }
}

