@charset 'utf-8';

@media screen and (max-width: 1280px) {
    :root{
        --wrap: 100%;
        --space: 20px;
        --minus-space: -20px;
        --padding: 80px;
    }
    .wrap{
        padding: 0 20px;
    }
    .scroll-animation{
        display: none !important;
    }
    .scroll-animation-sp{
        display: block;
        text-align: center;
    }

    /* HEADER */
    #header{
        align-items: center;
    }
    .header-menu,
    .header-link{
        display: none;
    }
    #drawer .header-menu,
    #drawer .header-link{
        display: block;
    }
    .header-logo{
        position: relative;
        z-index: 1;
    }
    .nav-toggle-wrap{
        display: block;
        width: 48px;
        height: 48px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        position: relative;
        z-index: 1;
    }
    .nav-toggle{
        display: block;
        position: relative;
        width: 22px;
        height: 16px;
    }
    .nav-toggle span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--base-color);
        transition: .2s;
    }
    .nav-toggle span:nth-child(1){
        top: 0;
    }
    .nav-toggle span:nth-child(2){
        top: 7px;
    }
    .nav-toggle span:nth-child(3){
        top: 14px;
    }
    .nav-toggle.open span:nth-child(1){
        top: 7px;
        transform: rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2){
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3){
        top: 7px;
        transform: rotate(-45deg);
    }

    #drawer{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 100px 20px 20px;
        transform: translateX(-100%);
        transition: .3s;
        overflow-y: auto;
        overscroll-behavior: none;
    }
    #drawer.open{
        transform: translateX(0);
    }
    .header-menu{
        position: initial;
        transform: initial;
    }
    .header-menu__list{
        flex-direction: column;
        gap: 10px;
    }
    .header-menu__list li a{
        color: #fff;
    }
    .header-menu__apply{
        display: block;
        text-align: center;
        padding: 0 25px;
    }
    .header-menu__apply li{
        padding: 10px 0;
    }
    .header-menu__apply li:nth-of-type(2){
        padding: 10px 0;
        margin: 0;
        border-top: 1px solid var(--red);
        border-bottom: 1px solid var(--red);
        border-left: none;
        border-right: none;
    }
    .header-link{
        margin-top: 20px;
        text-align: center;
    }
    .header-link__item{
        margin: 0 auto 10px;
    }
    .header-link__item:last-child{
        margin-bottom: 0;
    }
}

@media screen and (max-width: 991px) {
    #body-wrap{
        min-width: 320px;
    }


     /* FOOTER */
     #footer{
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        margin-top: 150px;
        padding: 50px 0 30px;
    }
    .footer-bg{
        width: 450px;
    }
    .footer-illust{
        width: 100px;
    }
    .footer-text{
        font-size: 32px;
        margin-bottom: 30px;
    }
    .footer-card{
        margin-bottom: 15px;
    }
    .footer-card__box img:not(.footer-card__box-shadow){
        width: 240px;
    }
    .footer-text-slider__item{
        font-size: 90px;
    }
    .footer-tel__tel{
        border: none;
        padding: 0;
        margin-top: 20px;
    }
    .footer-tel__ttl{
        font-size: 20px;
    }
    .footer-tel{
        display: block;
        text-align: center;
    }
    .footer-tel__tel-box{
        justify-content: center;
    }
    .footer-bottom{
        flex-direction: column-reverse;
    }
    .footer-bottom__copy{
        margin-top: 15px;
    }


    /* INDEX */
    .mv{
        height: auto;
        padding: 200px 0 100px;
        background-size: 400px;
    }
    .mv-ttl img{
        width: 400px;
    }
    .mv-illust img{
        width: 300px;
    }
    .mv-illust.left{
        left: -130px;
    }
    .mv-illust.right{
        right: -130px;
    }
    .credit-choose-sec__grid{
        grid-template-columns: repeat(1,1fr);
    }
    .credit-intro-sec{
        padding-top: 100px;
    }
    .credit-intro-sec__ttl img{
        width: 500px;
    }
    .credit-intro-sec__ttl{
        font-size: 50px;
    }
    .credit-intro-sec__img img{
        width: 500px;
    }
    .credit-merit-ttl__illust{
        position: initial;
        transform: initial;
        margin-bottom: 25px;
        justify-content: center;
    }
    .credit-merit-ttl__illust-item{
        position: initial;
        transform: initial !important;
        left: auto !important;
        right: auto !important;
    }
    .credit-merit-ttl__text img{
        height: 90px;
    }
    .credit-radius-sec::before{
        width: 100%;
    }
    .illust-position-left::before{
        border-radius: 0 20px 20px 0;
    }
    .illust-position-right::before{
        border-radius: 20px 0 0 20px;
    }
    .credit-choose-sec::after,
    .credit-benefit-sec::after,
    .credit-point-sec::after,
    .credit-exchange-sec::after{
        background-size: 160px;
    }
    .credit-merit-ttlWrap{
        margin-bottom: 50px;
    }
    .credit-choose-sec__grid-item__card{
        justify-content: center;
    }
    .credit-choose-sec__grid-item__text{
        text-align: center;
        margin-bottom: 20px;
        min-height: initial;
    }
    .credit-radius-sec__text br{
        display: none;
    }
    .credit-radius-sec + .credit-radius-sec{
        margin-top: 0;
    }
    .credit-benefit__sec-grid{
        grid-template-columns: repeat(1,1fr);
    }
    .credit-benefit__sec-grid.col4{
        grid-template-columns: repeat(2,1fr);
    }
    .credit-faq-sec__other{
        display: block;
        padding: 30px 20px;
    }
    .credit-faq-sec__other-ttl{
        max-width: 100%;
    }
    .credit-faq-sec__other-item{
        border-left: none;
        padding: 0;
        max-width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}


@media screen and (max-width: 767px) {        
    p{
        font-size: 14px;
    }

    /* HEADER */
    #header{
        padding: 20px 20px 0;
    }
    .header-logo{
        padding: 0;
    }
    .header-logo img{
        width: 125px;
    }


    /* FOOTER */
    #footer{
        border-radius: 0;
        padding: 100px 0 25px;
    }
    .footer-illust{
        width: 146px;
    }
    .footer-bg{
        top: -50px;
        overflow: hidden;
        width: 100%;
        left: 0;
        transform: initial;
    }
    .footer-bg img{
        width: 780px;
        max-width: 780px;
        transform: translateX(-50%);
        position: relative;
        left: 50%;
    }
    .footer-text{
        font-size: 24px;
        line-height: 1.633;
        margin-bottom: 20px;
    }
    .footer-card__box img:not(.footer-card__box-shadow){
        width: 197px;
    }
    .footer-tel__ttl{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .footer-tel{
        margin-top: 20px;
    }
    .footer-tel__tel-box dt{
        margin-bottom: 15px;
    }
    .footer-tel__tel-box dd a{
        font-size: 30px;
    }
    .footer-tel__tel-box{
        gap: 0;
        margin-bottom: 20px;
    }
    .footer-tel__tel-box dd{
        width: calc(100% - 50px);
        padding-left: 15px;
        text-align: left;
    }
    .footer-tel__tel-box dd span{
        font-size: 12px;
    }
    .footer-copy{
        margin-top: 20px;
        padding-top: 20px;
    }
    .footer-bottom ul{
        display: block;
        font-size: 14px;
        text-align: center;
    }
    .footer-bottom ul li{
        margin-bottom: 5px;
    }
    .footer-bottom ul li:last-child{
        margin-bottom: 0;
    }


    .e_topbtn {
        right: 4vw;
        bottom: 17.5956vw;
    }
    .e_topbtn a{
        width: 12vw;
        height: 12vw;
    }

    /* INDEX */
    .mv{
        padding: 110px 0 60px;
        background-size: 240px;
    }
    .mv-ttl img{
        width: 300px;
    }
    .mv-illust img{
        width: 120px;
    }
    .bg-slider__text-item{
        font-size: 30px;
        margin-bottom: 10px;
    }
    .scroll-animation-sp__img img{
        width: 260px;
    }
    .scroll-animation-sp__text{
        margin-top: 50px;
    }
    .credit-intro-sec__ttl{
        font-size: 24px;
    }
    .credit-intro-sec__ttl img{
        width: 250px;
        margin-bottom: 0;
    }
    .credit-intro-sec{
        margin-top: 100px;
        padding: 0 0 30px;
        background-size: 200px;
    }
    .credit-merit-ttl__illust-item img{
        width: 100px;
    }
    .credit-radius-sec{
        padding: 30px 0 60px;
    }
    .credit-choose-sec::after, .credit-benefit-sec::after, .credit-point-sec::after, .credit-exchange-sec::after{
        display: none;
    }
    .credit-merit-ttl__text img{
        height: 55px;
    }
    .credit-merit-ttlWrap{
        margin-bottom: 30px;
    }
    .credit-choose-sec__grid-item{
        border-radius: 10px;
        padding: 25px;
    }
    .credit-choose-sec__grid-item__card-name{
        font-size: 16px;
    }
    .credit-choose-sec__grid-item__btn a{
        font-size: 14px;
    }
    .credit-radius-sec__text{
        font-size: 14px;
        text-align: left;
        margin: 30px 0 50px;
    }
    .credit-radius-sec__btn a{
        width: 100%;
        font-size: 22px;
        padding: 30px 25px;
    }
    .credit-radius-sec__btn a img{
        right: -20px;
        top: -50px;
    }
    .credit-benefit__sec-grid__item-num img{
        width: 72px;
    }
    .credit-benefit__sec-grid__item-illust img{
        width: 110px;
    }
    .credit-point-sec .credit-benefit__sec-grid__item-illust img{
        width: 80px;
    }
    .credit-benefit__sec-grid__item::before{
        border-radius: 10px;
    }
    .credit-benefit__sec-grid__item-ttl{
        font-size: 18px;
    }
    .credit-benefit__sec-grid{
        gap: 18px 12px;
    }
    .credit-exchange-sec .credit-benefit__sec-grid.col4{
        grid-template-columns: repeat(1,1fr);
    }
    .credit-exchange-sec .credit-benefit__sec-grid__item:nth-of-type(2) .credit-benefit__sec-grid__item-illust img{
        width: 140px;
    }
    .credit-faq-sec{
        padding-top: 40px;
    }
    .credit-faq-sec__ttl img{
        height: 30px;
    }
    .credit-faq-sec__ttl{
        margin-bottom: 40px;
    }
    .credit-faq-sec__content-q__icon, .credit-faq-sec__content-a__icon{
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .credit-faq-sec__content-q__ttl{
        line-height: 1.6;
        padding: 0 20px 0 12px;
        font-size: 15px;
    }
    .credit-faq-sec__content-q__ttl, .credit-faq-sec__content-a__text{
        width: calc(100% - 40px);
    }
    .credit-faq-sec__content-a__text{
        font-size: 14px;
    }
    .credit-faq-sec__content-q::before{
        width: 16px;
        height: 16px;
    }
    .credit-faq-sec__content-box{
        padding: 0 15px;
    }
    .credit-faq-sec__content-a__text{
        padding-top: 6px;
        padding-left: 10px;
    }
    .credit-faq-sec__other{
        margin-top: 30px;
    }
    .credit-faq-sec__other-ttl{
        font-size: 18px;
    }
    .credit-faq-sec__other{
        padding: 20px;
    }
}