/* ビルボード */
#huyouhin-bil {
    background-color: #FFF9C4;
    position: relative;
    padding-bottom: 0!important;
}

#huyouhin-bil::before,
#huyouhin-bil::after{
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    width: 200px;
    height: 180px;
    position: absolute;
}
#huyouhin-bil::before{
    background-image: url(../img/contents/left-bottom-bg.svg);
    bottom: 0;
    left: 0;
}
#huyouhin-bil::after{
    background-image: url(../img/contents/right-top-bg.svg);
    top: 0;
    right: 0;
}

#huyouhin-bil picture,
#huyouhin-bil img {
    display: block;
    width: 100%;
    height: auto;
}
#huyouhin-bil .box {
    width: 100%;
    max-width: 1080px;
    position: relative;
    z-index: 1;
    margin: 3rem auto 0 ;
}
#huyouhin-bil .box::after{
    position: absolute;
    background-image: url(../img/contents/bil-main-img.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 526 / 517;
    content: "";
    width: 526px;
    height: auto;
    top: 3px;
    right: 0;
}




#huyouhin-bil h1{
    display: inline;
    color: #fff;
    background-color: #333;
    border-radius: 10px 10px 0 0;
    padding: 0.5rem 1.5rem;
}

#huyouhin-bil .text-box {
    max-width: 734px;
}
#huyouhin-bil .text-box::after {
    max-width: 734px;
}


#huyouhin-bil .main-text{
    text-align: center;
}

#huyouhin-bil .main-text__appeal {
    color: #fff;
    background-color: #333;
    padding: 1rem;
    border-radius: 10px;
}
#huyouhin-bil .main-text__appeal p {
    margin: 0!important;
    font-size: 40px;
}
#huyouhin-bil .main-text__appeal .big-text {
    font-size: 96px;
    line-height: 1;
    -webkit-text-stroke: 10px #000;
    paint-order: stroke fill;    
}
#huyouhin-bil .main-text__appeal .big-text .max {
    color: #FBE633;
}
#huyouhin-bil .main-text__appeal .small-text {
    line-height: 1;
}

#huyouhin-bil .sub-text{
    max-width: 511px;
    margin-top: 1rem;
}
#huyouhin-bil .ribbon-bg {
    background-image: url(../img/contents/huyouhin-bil-ribbon.svg);
    background-size: contain; 
    background-repeat: no-repeat;
    padding: 12px 16px 12px 2.2rem;
    margin-bottom: 1rem;
}

#huyouhin-bil .ribbon-bg p {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 0;
}

#huyouhin-bil .img-box {
    position: relative;
    width: 100%;
    height: 112px;
    background-color: #fff;
    border-radius: 10px;
    border: solid 5px #E01300;
    padding: 0.5rem;
    margin-bottom: 1rem;
}
#huyouhin-bil .img-box::before {
    position: absolute;
    content: "";
    inset: 0;
    background-image: url(../img/contents/huyouhin-bil-icon.svg);
    background-size: 95% auto;
    background-repeat: no-repeat;
    background-position: center;
}

/* イントロ */
.huyouhin-intro-bg {
    background-image: url(../img/contents/triangle-bg.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
}

/* #huyouhin-intro h1 {
    text-align: center;
    font-size: 3rem;
} */

#huyouhin-intro-head {
    text-align: center;
    margin: 0 0 2rem;
    padding-top: 0;
}

#huyouhin-intro ul {
    list-style: none;
    background-color: #FFF9C4;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 25px;
    position: relative;
    margin-bottom: 5rem;
}

#huyouhin-intro li {
    background-color: #fff;
    color: #E01300;
    font-weight: bold;
    height: fit-content;
    width: 47%;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem;
}
#huyouhin-intro li::before {
    content: "#";
    font-weight: bolder;
    color: #E01300;
}

/* 解決セクション */
#solutionsec-bg {
    position: relative;
    background-color: #F8F7F7;
}

#solutionsec .wrap{
    display: flex;
    padding: 0;
}

#solutionsec-head img {
    width: 443px;
}

#solutionsec .wrap .text-box {
    width: 60%;
    margin-right: 1rem;
}
#solutionsec .wrap .appeal-text {
    font-size: 1.5rem;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0px 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
    margin-top: 1rem;
}

#solutionsec .wrap .wrap-box {
    display: flex;
    color: #fff;
}
#solutionsec .wrap .wrap-box p {
    background-color: #E01300;
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    margin: 1rem 1rem 0 0;
}

#solutionsec .wrap .wrap-box p .dan{
  display: none; 
}
#solutionsec .img-box img{
    height: 100%;
    object-fit: cover;
}

/* 買取サービス3つの強み */
#strengthssec .list-box {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}
#strengthssec .list-box:last-child{
    margin-bottom: 0;
}

#strengthssec .list-box .text-box{
    width: 70%;
    margin-right: 1rem;
}

#strengthssec .h3-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#strengthssec .point-box,
#strengthssec .point-box-2,
#strengthssec .point-box-3 {
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    width: 50px;
    height: 50px;
}

#strengthssec .point-box{
    background-image: url(../img/contents/strengthssec-p1.png);
}
#strengthssec .point-box-2{
    background-image: url(../img/contents/strengthssec-p2.png);
}
#strengthssec .point-box-3{
    background-image: url(../img/contents/strengthssec-p3.png);
}

#strengthssec .h3-box h3 {
    font-weight: bold;
    margin: 0!important;
    padding: 0!important;
}

#strengthssec .img-bgbox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    border-radius: 20px;
    text-align: center;
    background-color: #F8F7F7;
    padding: 0.5rem;
}

#strengthssec .list-box p{
    margin-top: 1rem!important;
}


/* 高く売れるポイント */
#pointsec .pointsec-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 1.5rem;
    padding: 0;
    margin-top: 3rem;
}

#pointsec .pointsec-list li {
    width: 49%;
    display: flex;
}

#pointsec .pointsec-list li .img-box img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
    border: solid 3px #FFF9C4;
}

#pointsec .pointsec-list li .text-box {
    width: 100%;
    background-color: #FFF9C4;
    border-radius: 0 20px 20px 0;
    padding: 1.5rem;
}
#pointsec .pointsec-list li .text-box h3 {
    margin-top: 0;
}

#pointsec .pointsec-list li .text-box .text-box__head {
    font-weight: bold;
    text-align: center;
}

#pointsec .pointsec-list li .text-box p {
    margin-top: 1rem!important;
}

@media screen and (max-width: 1199px) {

    /* ビルボ */
    #huyouhin-bil .box::after{
        width: 396px;
        height: auto;
        top: 131px;
    }
}

@media screen and (max-width: 991px) {

    /* ビルボ */
    #huyouhin-bil {
        padding-bottom: 35rem!important;
    }
    #huyouhin-bil .box::after {
        width: 560px;
        top: 514px;
        left: 50%;
        transform: translateX(-50%);
    }
    #huyouhin-bil .img-box {
        max-width: 555px;
        margin: 0 auto;
    }
    
    #huyouhin-bil .text-box {
        max-width: initial;
    }
    #huyouhin-bil .sub-text {
        max-width: initial;
    }
    #huyouhin-bil .ribbon-bg {
        text-align: center;
        background-position: center;
    }

    /* 解決セクション */
    #solutionsec .wrap{
        flex-direction: column-reverse;
    }
    #solutionsec .wrap .text-box {
        width: 100%;
    }
    #solutionsec .img-box{
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    #solutionsec .img-box img {
        width: 100%;
        height: 500px;
        display: block;
        object-fit: cover;
        object-position: center 30%;
    }
    #solutionsec .appeal-box{
        position: absolute;
        z-index: 2;
        top: 45%;
    }
    
}

/* 767px 未満 */
@media screen and (max-width: 767px) {

    /* ビルボ */
    #huyouhin-bil {
        padding-bottom: 22rem !important;
    }
    #huyouhin-bil h1 {
        border-radius: 10px 10px 0 0;
        padding: 0.5rem 1rem 0;
        line-height: 1;
    }
    #huyouhin-bil .box::after {
        width: 360px;
        top: 99%;
    }
    #huyouhin-bil .main-text__appeal .big-text {
        font-size: calc(2.5rem + 2.5vw);
    }
    #huyouhin-bil .small-text,
    #huyouhin-bil .ribbon-bg p {
        font-size: calc(1rem + 1.5vw)!important;
    }
    #huyouhin-bil .img-box {
        max-width: 432px;
    }
    #huyouhin-bil .ribbon-bg {
        margin-bottom: 0.25rem;
    }
    #huyouhin-bil .img-box {
        height: 76px;
    }
    

    /* イントロ */
    .huyouhin-intro-bg{
        background-image: url(../img/contents/triangle-bg-sp.svg);
    }
    #huyouhin-intro ul {
        margin-bottom: 3rem;
    }
    #huyouhin-intro ul::after {
        background-size: 100%;
        width: 200px;
        height: 143px;
        left: 62%;
        top: 105%;
    }
    #huyouhin-intro li {
        width: 100%;
    }

    /* 解決セクション */
    #solutionsec-head img {
        width: 70%;
    }
    #solutionsec .wrap .appeal-text{
        font-size: 1.2rem;
        margin-top: 4px;
    }
    #solutionsec .wrap .wrap-box p .dan{
        display: block; 
    }
    #solutionsec .appeal-box{
        top: 40%!important;
    }
    #solutionsec .img-box img {
        height: 400px;
    }
    #solutionsec .wrap .wrap-box p {
        margin-top: 4px;
    }

    /* 買取サービス3つの強み */
    #strengthssec .list-box {
        display: block;
    }
    #strengthssec .list-box .text-box{
        width: 100%;
        margin-right:0;
        margin-bottom: 1rem;
    }
    #strengthssec .img-bgbox{
        width: 100%;
        padding: 1rem;
    }

    /* 高く売れるポイント */
    #pointsec .pointsec-list {
    display: block;
    }
    #pointsec .pointsec-list li {
    width: 100%;
    margin-bottom: 1rem;
    }
    #pointsec .pointsec-list li:last-child{
        margin-bottom: 0;
    }

}

@media screen and (max-width: 479px) {
    
    /* イントロ */
    #huyouhin-intro ul::after {
        width: 252px;
        height: 180px;
        left: 50%;
        top: 75%;
    }
    /* 解決セクション */
    #solutionsec .appeal-box{
        top: 30%!important;
    }
    #solutionsec .img-box img {
        height: auto;
    }

}




/* 幅 768px 以上 */
@media screen and (min-width: 48em) {

    /* イントロ */
    #huyouhin-intro ul::after {
    content: "";
    position: absolute;
    width: 252px;
    height: 180px;
    background-image: url(../img/contents/huyouhin-intro.svg);
    background-repeat: no-repeat;
    left: 74%;
    top: 75%;
}
}

/* End min 768px */

/* 幅 880px 以上 */
@media screen and (min-width: 55em) {}

/* End min 880px */

/* 幅 1072px 以上 */
@media screen and (min-width: 67em) {
}

/* End min 1072px */

/* 幅 1264px 以上 */
@media screen and (min-width: 79em) {

/* ビルボード */
    #huyouhin-bil::before,
    #huyouhin-bil::after{
        width: 441px;
        height: 396px;
    }
}

/* End min 1264px */

/* 幅 1600px 以上 */
@media screen and (min-width: 1600px) {}
