@charset "utf-8";

/*-----------------------------------------------
    secCmnHero
-----------------------------------------------*/
.secCmnHero{
    background: url(../img/faq/bgCmnHero.jpg) center top no-repeat;
}
@media only screen and (max-width:767px){
    .secCmnHero{
        background: url(../img/faq/bgCmnHero_sp.jpg) center top / cover;
    }
}

/*-----------------------------------------------
    index
-----------------------------------------------*/
.secFaq {
    margin: 80px auto 50px;
}

.secFaq .faqBox:nth-child(n+2) {
    margin-top: 30px;
}

.secFaq .titCategory {
    position: relative;
    max-width: 100%;
    display: flex;
    padding: 35px 70px 35px 54px;
    font-size: 26px;
    letter-spacing: 1.14px;
    line-height: calc(30 / 26);
    color: #504f4a;
    font-weight: bold;
    background: #f7f4f0;
    overflow-wrap: break-word;
}

.secFaq .titCategory::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 48px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.secFaq .titCategory::after {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    background:
        linear-gradient(currentColor, currentColor) center center / 18px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center center / 2px 18px no-repeat;
    right: 30px;
    top: calc(50% - 9px);
}

.secFaq .titCategory.opened {
    color: #fff;
    background: #f36021;
    border-bottom: 0;
}

.secFaq .titCategory.opened + .boxList {
    border: 1px solid #f36021;
    border-top: 0;
}

.secFaq .titCategory.opened::after {
    background:
        linear-gradient(currentColor, currentColor) center center / 18px 2px no-repeat;
}

.secFaq .boxList {
    display: none;
}

.secFaq .boxItem {
    background: #fff;
    padding: 30px;
    position: relative;
}

.secFaq .boxAnswer {
    display: none;
}

.secFaq .queBox {
    display: flex;
    position: relative;
}

.secFaq .queBox::before {
    position: absolute;
    content: "";
    width: 18px;
    height: 2px;
    background: #000;
    right: 0;
    top: calc(50% - 1px);
}

.secFaq .queBox::after {
    position: absolute;
    content: "";
    width: 2px;
    height: 18px;
    background: #000;
    right: 8px;
    top: calc(50% - 9px);
}

.secFaq .queBox.opened::after {
    display: none;
}

.secFaq .icon {
    flex-shrink: 0;
}

.secFaq .titQuestion {
    font-size: 18px;
    line-height: 34px;
    margin-left: 15px;
    padding-top: 4px;
    font-weight: bold;
    padding-right: 70px;
}

.secFaq .innerBox {
    display: flex;
    margin-top: 15px;
}

.secFaq .txtAnswer {
    margin-left: 16px;
    font-size: 18px;
    line-height: 33px;
    padding-top: 4px;
    letter-spacing: 0.5px;
    padding-right: 70px;
}

.secFaq .boxItem + .boxItem {
    border-top: 0;
}

@media only screen and (min-width:768px) {
    .secFaq .boxItem + .boxItem::before {
        content: "";
        position: absolute;
        left: 30px;
        right: 30px;
        top: 0;
        border-top: 1px solid #dadada;
    }
}

.secFaq a {
    display: inline-block;
    color: #0078ff;
}

@media only screen and (max-width: 767px) {
    .secFaq {
        margin: 64px auto 30px;
    }

    .secFaq .faqBox:nth-child(n+2) {
        margin-top: 14px;
    }

    .secFaq .titCategory {
        min-height: 55px;
        padding: 15px 48px 15px 27px;
        font-size: 15px;
        letter-spacing: 1.3px;
        line-height: calc(25 / 15);
    }

    .secFaq .titCategory::before {
        width: 5px;
        height: 5px;
        left: 15px;
        top: 26px;
    }

    .secFaq .titCategory::after {
        height: 14px;
        right: 11px;
        top: calc(50% - 7px);
        width: 20px;
        background: linear-gradient(currentColor, currentColor) center center / 11px 1px no-repeat, linear-gradient(currentColor, currentColor) center center / 1px 11px no-repeat;
    }

    
    .secFaq .titCategory.opened + .boxList {
        border: none;
    }

    .secFaq .titCategory.opened::after {
        background:
            linear-gradient(currentColor, currentColor) center center / 11px 1px no-repeat;
    }

    .secFaq .boxItem {
        padding: 19px 0 16px;
        position: relative;
        border-bottom: 1px solid #f3f5f6;
    }

    .secFaq .boxItem + .boxItem {
        border-top: 0;
    }

    .secFaq .queBox::before {
        display: none;
    }

    .secFaq .queBox::after {
        display: none;
    }

    .secFaq .boxItem::before {
        position: absolute;
        content: "";
        width: 40px;
        height: 20px;
        right: 0;
        bottom: 0;
        background: linear-gradient(#fff, #fff) center center / 10px 1px no-repeat,
            #504f4a;
        z-index: 2;
    }

    .secFaq .boxItem::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 10px;
        right: calc((40px / 2) - (1px / 2));
        bottom: calc((20px / 2) - (10px / 2));
        background: #fff;
        z-index: 3;
    }

    .secFaq .boxItem.opened::before {
        background: linear-gradient(#504f4a, #504f4a) center center / 10px 1px no-repeat,
            #f3f5f6;
    }

    .secFaq .boxItem.opened::after {
        display: none;
    }

    .secFaq .icon {
        width: 26px;
    }

    .secFaq .queBox .icon {
        width: 8.715%;
        max-width: 25px;
    }

    .secFaq .queBox .icon::before {
        font-size: 16px;
    }

    .secFaq .boxAnswer .icon {
        width: 7.465%;
        max-width: 25px;
    }

    .secFaq .titQuestion {
        font-size: 13px;
        line-height: 20px;
        padding-top: 2px;
        padding-right: 15px;
        margin-left: 8px;
    }

    .secFaq .innerBox {
        margin-top: 10px;
    }

    .secFaq .txtAnswer {
        font-size: 12px;
        line-height: 20px;
        padding-top: 2px;
        margin-left: 8px;
        padding-right: 15px;
    }
}
