@charset "utf-8";

.secFaqTitle {
    background: url(../img/faq/faqHero.jpg) center center no-repeat;
    background-size: cover;
}

.secFaqTitle .titleFaqEng {
    font-size: var(--pcFontSize45);
    color: var(--ColorWhite);
    letter-spacing: var(--pcLetterSpacing45_50);
}

.secFaqTitle .titleFaqJp {
    margin-top: 0.6rem;
    font-size: var(--pcFontSize25);
    color: var(--ColorWhite);
    letter-spacing: var(--pcLetterSpacing25_40);
}

@media only screen and (max-width:1215px){
    .secFaqTitle {
        height: 22rem;
        background-position: center center;
        background-size: cover;
    }
    .secFaqTitle {
        background-image: url(../img/faq/faqHero_sp.jpg);
    }
    .secFaqTitle .titleFaqEng {
        font-size: var(--spFontSize30);
        letter-spacing: 0;
    }
    .secFaqTitle .titleFaqJp {
        font-size: var(--spFontSize17);
        letter-spacing: var(--spLetterSpacing17_40);
    }
}

.secFaq {
    margin: 8rem auto 5rem;
}

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

.secFaq .titCategory {
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    display: flex;
    padding: 3.5rem 7.5rem 3.5rem 5.4rem;
    font-size: var(--pcFontSize26);
    line-height: var(--pcLineHeight26_30);
    letter-spacing: var(--pcLetterSpacing26_40);
    color: var(--textColor);
    font-weight: bold;
    background: var(--formFlowBox);
    overflow-wrap: break-word;
}

.secFaq .titCategory::before {
    content: "";
    position: absolute;
    left: 3rem;
    top: 4.6rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: currentColor;
}

.secFaq .titCategory::after {
    position: absolute;
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    background:
        linear-gradient(currentColor, currentColor) center center / 1.8rem 0.2rem no-repeat,
        linear-gradient(currentColor, currentColor) center center / 0.2rem 1.8rem no-repeat;
    right: 3rem;
    top: calc(50% - 0.9rem);
}

.secFaq .titCategory.opened {
    color: var(--ColorWhite);
    background: var(--keyColor);
    border-bottom: 0;
}

.secFaq .titCategory.opened + .boxList {
    border: 0.1rem solid var(--keyColor);
    border-top: 0;
}

.secFaq .titCategory.opened::after {
    background:
        linear-gradient(currentColor, currentColor) center center / 1.8rem 0.2rem no-repeat;
}

.secFaq .boxList {
    display: none;
}

.secFaq .boxItem {
    background: var(--ColorWhite);
    padding: 3rem;
    position: relative;
}

.secFaq .boxAnswer {
    display: none;
}

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

.secFaq .queBox::before {
    position: absolute;
    content: "";
    width: 1.8rem;
    height: 0.2rem;
    background: var(--ColorBlack);
    right: 0;
    top: calc(50% - 0.1rem);
}

.secFaq .queBox::after {
    position: absolute;
    content: "";
    width: 0.2rem;
    height: 1.8rem;
    background: var(--ColorBlack);
    right: 0.8rem;
    top: calc(50% - 0.9rem);
}

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

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

.secFaq .titQuestion {
    font-size: var(--pcFontSize18);
    line-height: var(--pcLineHeight18_34);
    margin-left: 1.5rem;
    padding-top: 0.4rem;
    font-weight: bold;
    padding-right: 7rem;
}

.secFaq .innerBox {
    display: flex;
    margin-top: 1.5rem;
}

.secFaq .txtAnswer {
    margin-left: 1.7rem;
    font-size: var(--pcFontSize18);
    line-height: var(--pcLineHeight18_34);
    padding-top: 0.4rem;
    letter-spacing: var(--pcLetterSpacing12_50);
    padding-right: 7rem;
}

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

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

.secFaq a {
    display: inline-block;
    color: #0078ff;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

@media only screen and (max-width: 1215px) {
    .secFaq {
        margin: 3rem auto 3rem;
    }

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

    .secFaq .titCategory {
        padding: 1.5rem 4.8rem 1.5rem 2.7rem;
        font-size: var(--spFontSize15);
        line-height: var(--spLineHeight15_25);
        letter-spacing: 0;
    }

    .secFaq .titCategory::before {
        width: 0.5rem;
        height: 0.5rem;
        left: 1.5rem;
        top: 2.45rem;
    }

    .secFaq .titCategory::after {
        height: 1.4rem;
        right: 1.1rem;
        top: calc(50% - 0.7rem);
        width: 2rem;
        background: linear-gradient(currentColor, currentColor) center center / 1.1rem 0.1rem no-repeat, linear-gradient(currentColor, currentColor) center center / 0.1rem 1.1rem no-repeat;
    }

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

    .secFaq .titCategory.opened::after {
        background:
            linear-gradient(currentColor, currentColor) center center / 1.1rem 0.1rem no-repeat;
    }

    .secFaq .boxItem {
        padding: 2.4rem 0 2.5rem;
        position: relative;
        border-bottom: 1px solid #f3f5f6;
    }

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

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

    .secFaq .boxItem::before {
        position: absolute;
        content: "";
        width: 4rem;
        height: 2rem;
        right: 0;
        bottom: 0;
        background: linear-gradient(var(--ColorWhite), var(--ColorWhite)) center center / 1rem 0.1rem no-repeat,
            var(--textColor);
        z-index: 2;
    }

    .secFaq .boxItem::after {
        position: absolute;
        content: "";
        width: 0.1rem;
        height: 1rem;
        right: calc((4rem / 2) - (0.1rem / 2));
        bottom: calc((2rem / 2) - (1rem / 2));
        background: var(--ColorWhite);
        z-index: 3;
    }

    .secFaq .boxItem.opened::before {
        background: linear-gradient(var(--textColor), var(--textColor)) center center / 1rem 0.1rem no-repeat,
            #f3f5f6;
    }

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

    .secFaq .icon {
        width: 2.6rem;
    }

    .secFaq .queBox .icon {
        width: 8.715%;
        max-width: 2.5rem;
    }

    .secFaq .queBox .icon::before {
        font-size: var(--spFontSize16);
    }

    .secFaq .boxAnswer .icon {
        width: 7.465%;
        max-width: 2.5rem;
    }

    .secFaq .titQuestion {
        font-size: var(--spFontSize13);
        line-height: var(--spLineHeight13_20);
        padding-top: 0.2rem;
        padding-right: 1.5rem;
        margin-left: 1rem;
    }

    .secFaq .innerBox {
        margin-top: 1rem;
    }

    .secFaq .txtAnswer {
        font-size: var(--spFontSize12);
        line-height: var(--spLineHeight12_20);
        padding-top: 0.2rem;
        margin-left: 0.9rem;
        padding-right: 1.5rem;
    }
}

