@charset 'UTF-8';

/* =============
main
================ */

.article{
    padding-top: 80px;
}

.page__navi{
    font-family: Spectral;
    font-size: 1.4rem;
    font-weight: 300;
}

.main__image{
    margin-top: 17px;
    height: 160px;
    overflow: hidden;
    object-fit: cover;
}

.main__image img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    transform: scale(1.3);
}

.lu-17{
    color: var(--primary-grage, #9B949A);
    font-family: Lusitana;
    font-size: 1.7rem;
    line-height: 1;
    text-align: center;
    margin-top: 14px;
}

.plan__topic{
    margin: 0;
}

.topic__klee{
    line-height: 1.8;
}

.main__text{
    margin-top: 14px;
    text-align: center;
}

.top__tab{
    padding-top: 14px;
}

.text-gg{
    color: var(--primary-grage);
}

/* tab仕様 */
.Tab{
    margin-top: 20px;
}

.tab__item{
    font-size: 1.4rem;
    display: block;
    width: 82px;
    height: 44px;
    text-align: center;
    align-items: center;
    line-height: 2.8;
    border: 1px solid var(--primary-grage, #9B949A);
}

.tab__itemFoot{
    font-size: 1.4rem;
    display: block;
    width: 82px;
    height: 44px;
    text-align: center;
    align-items: center;
    line-height: 2.8;
    border: 1px solid var(--primary-grage, #9B949A);
}

.tab__item.tabActive::after{
    display: block;
    content: url(../../images/qaPage__arrow.svg);
    width: 15px;
    height: 8px;
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translateX(-50%);
}

.tab__itemFoot.tabActive::before{
    display: block;
    content: '';
    background-image: url(../../images/qaPage__arrow.svg);
    rotate: 180deg;
    width: 15px;
    height: 8px;
    position: absolute;
    top: -7px;
    right: 50%;
    transform: translateX(-50%);
}


.tab__item span{
    letter-spacing: 0;
    line-height: 2.2;
    font-size: 1.6rem;
}
.tab__itemFoot span{
    letter-spacing: 0;
    line-height: 2.2;
    font-size: 1.6rem;
}



.tabActive{
    background-color: var(--primary-grage);
    color: var(--primary-wh);
    position: relative;
}

.faq.is-tabActive{
    display: block;
    animation-name: tabAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes tabAnime{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}



.tab__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.faq{
    display: none;
    opacity: 0;
}

.back--texca{
    margin-top: 17px;
}

.back--texca{
    background-image: url(../../images/back_stone.jpg);
    background-repeat: repeat;
    background-size: contain;
    padding: 10px 2.6%;
}

.faq{
    background:var(--primary-wh) ;
    padding: 5px 2.95%;
}

.faq__topic{
    color: var(--primary-darkGy, #7A828C);
    font-size: 1.8rem;
    text-align: center;
}

.topic-borderIn{
    height: 40px;
    padding: 4px 0;
}

.topic-borderOut{
    height: 56px;
}

.question{
    font-size: 1.8rem;
    font-weight: 400;
    position: relative;
    padding-left: 25px;
}

.question::before{
    display: block;
    content: 'Q';
    color: var(--primary-bl, #AAC5D5);
    font-family: Spectral;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    /* padding-right: 5px; */
    position: absolute;
    top: 2px;
    left: 1px;
}

dl{
    padding: 10px 0 15px 0;
    border-top: solid 1px var(--primary-grage);
}

.item--size dl:first-of-type{
    border-top: none;
}

.answer{
    margin-top: 8px;
    background: rgba(170, 197, 213, 0.20);
    padding: 3px 5px 8px;
    padding-left: 25px;
    position: relative;
    line-height: 1.58;
}

.answer::before{
    display: block;
    content: 'A';
    color: var(--primary-darkGy, #7A828C);
    font-family: Spectral;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    position: absolute;
    top: 4px;
    left: 5px;
}

.arrow--gy{
    background:var(--primary-grage) ;
}

.arrow--gy::after{
    background:var(--primary-grage) ;
    height: 1.7px;
    top: -9.5;
}

.pageBtn-txt {
    width: 221px;
    margin: 14px 0 0 auto;
}

.item--size{
    padding-bottom: 10px;
}

.answer a{
    margin: 14px 0 0 auto;
    width: 235px;
}

.section--tab{
    padding-bottom: 17px;
}

@media screen and (min-width:768px){
    .article{
        max-width: 1220px;
        margin: 0 auto;
    }

    .main__image{
        height: 240px;
    }

    .main__image img{
        height: 240px;
        scale: 1;
    }

    .tab__item,
    .tab__itemFoot{
        width: 175px;
        height: 44px;
    }

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

    .question{
        padding-left: 32px;
    }

    .question::before{
        font-size: 3.2rem;
        top: -2px;
    }

    .answer{
        padding-left: 45px;
    }

    .answer::before{
        font-size: 2.6rem;
        top: 0;
        left: 20px;
    }

    .topic-borderIn{
        display: block;
        height: 44px;
    }

    .topic-borderOut{
        height: 60px;
    }

}