@charset "utf-8";
/* ------------------------------------------ */
/* FAQ CSS */
/* ------------------------------------------ */


/* ページ看板 */
.page-sign-area {
    display: block;
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 96px;
}
@media (max-width: 1300px) {
    .page-sign-area {
        height: 500px;
        margin-top: 70px;
    }
}
@media (max-width: 768px) {
    .page-sign-area {
        height: 200px;
    }
}
.page-sign-area:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-color: rgba(175, 199, 220, 0.5);
}
/* .faq .page-sign-area {
    background: url("../img/faq/page-sign.jpg") no-repeat center;
    background-size: cover;
} */
.faq .page-sign-area .page-title {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.page-ctitle {
    display: table;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 15px;
}
.page-ctitle:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #000;
    position: absolute;
    left: 0;
    bottom: 0;
}
.page-ctitle .text {
    display: block;
    letter-spacing: 0.1em;
    line-height: 1.1;
    font-weight: 700;
}

#subPage.faq .common-contactbox {
    background: none;
    /* padding-top: 100px; */
}
#subPage.faq .faq-wrapper {
    background: url(../img/lifeplan/bg-main.png) no-repeat center bottom;
    background-size: contain;
}
@media (max-width: 768px) {
    #subPage.faq .common-contactbox {
        background: none;
        padding-top: 50px;
    }
    
}


/* col-category */
.col-category {
    display: block;
}

.col-category .container-full {
    max-width: 1024px;
}

.col-category .cate-wrap {
    display: flex;
    width: calc(100% + 60px);
    overflow: hidden;
    margin-left: -30px;
}

.col-category .cate-wrap .c-tab {
    display: block;
    width : 33.33333%;
    width : -webkit-calc(100% / 3);
    width : calc(100% / 3);
    transition: all 0.28s ease;
    margin: 0 30px;
}
.col-category .cate-wrap .c-tab:hover {
    opacity: 0.6;
}

.col-category .cate-wrap .c-tab .c-name {
    display: block;
    width: 100%;
    height: 110px;
    /* background: url(../img/faq/bg-catebtn.png) no-repeat center; */
    cursor: pointer;
    position: relative;
}

.col-category .cate-wrap .c-tab.tab-housing .c-name {
    background-color: rgba(45,66,148,1);
}
.col-category .cate-wrap .c-tab.tab-housing:hover .c-name {
    background-color: rgba(45,66,148,0.5);
}
.col-category .cate-wrap .c-tab.tab-lifeplan .c-name {
    background-color: rgba(69,108,132,1);
}
.col-category .cate-wrap .c-tab.tab-lifeplan:hover .c-name {
    background-color: rgba(69,108,132,0.5);
}
.col-category .cate-wrap .c-tab.tab-kids .c-name {
    background-color: rgba(160,139,57,1);
}
.col-category .cate-wrap .c-tab.tab-kids:hover .c-name {
    background-color: rgba(160,139,57,0.5);
}

 
.col-category .cate-wrap .c-tab .c-name .text {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    letter-spacing: 0.1em;
    line-height: 1.1;
}


@media (max-width: 991px) {
    .col-category .cate-wrap {
        display: flex;
        width: calc(100% + 20px);
        overflow: hidden;
        margin-left: -10px;
    }
    
    .col-category .cate-wrap .c-tab {
        display: block;
        margin: 0 10px;
    }
    .col-category .cate-wrap .c-tab:hover {
        opacity: 0.6;
    }
    
    .col-category .cate-wrap .c-tab .c-name {
        display: block;
        width: 100%;
        height: 80px;
        cursor: pointer;
        position: relative;
    }
    
    .col-category .cate-wrap .c-tab .c-name .text {
        letter-spacing: 0.05em;
        line-height: 1.2;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
}



/* faq-contents */
.faq-contents {
}

.faq-contents .container-full {
    max-width: 1024px;
    counter-reset: number 0;
}

.faq-contents .qa-box {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.faq-contents.faq-housing .qa-box .q-box {
    background-color: rgba(45, 66, 148, 1);
}
.faq-contents.faq-lifeplan .qa-box .q-box {
    background-color: rgba(69, 108, 132, 1);
}
.faq-contents.faq-kids .qa-box .q-box {
    background-color: rgba(160, 139, 57, 1);
}

.faq-contents .qa-box .q-box .inner {
    display: block;
    width: 100%;
    color: #fff;
    padding: 20px 0;
    position: relative;
    cursor: pointer;
}

.faq-contents .qa-box .q-box .inner:before {
    counter-increment: number 1;
    content: "Q"counter(number);
    display: table;
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    font-size: 31px;
}
/* 
.faq-contents .qa-box .q-box .inner .Qnum {
    display: table;
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.faq-contents .qa-box .q-box .inner .Qnum .text {
    display: block;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
} */

.faq-contents .qa-box .q-box .inner .Qtext {
    display: block;
    padding: 0 100px 0 100px;
}

.faq-contents .qa-box .q-box .inner .Qtext .text {
    display: block;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: justify;
}

.faq-contents .qa-box .q-box .inner .icon-plus {
    display: block;
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.faq-contents .qa-box .q-box .inner .icon-plus span {
    display: block;
    width: 26px;
    height: 26px;
    position: relative;
}

.faq-contents .qa-box .q-box .inner .icon-plus span:before {
    content: "";
    display: block;
    width: 24px;
    height: 4px;
    background-color: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: all 0.28s ease;
}

.faq-contents .qa-box .q-box .inner .icon-plus span:after {
    content: "";
    display: block;
    width: 24px;
    height: 4px;
    background-color: #fff;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg);
    margin-top: -4px;
    transition: all 0.28s ease;
}
.faq-contents .qa-box .q-box.active .inner .icon-plus span:after {
    -webkit-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
}

.faq-contents.faq-housing .qa-box .a-box {
    display: none;
    border-left: 2px solid rgba(45, 66, 148, 1);
    border-bottom: 2px solid rgba(45, 66, 148, 1);
    border-right: 2px solid rgba(45, 66, 148, 1);
}
.faq-contents.faq-lifeplan .qa-box .a-box {
    border-left: 2px solid rgba(69, 108, 132, 1);
    border-bottom: 2px solid rgba(69, 108, 132, 1);
    border-right: 2px solid rgba(69, 108, 132, 1);
}
.faq-contents.faq-kids .qa-box .a-box {
    border-left: 2px solid rgba(160, 139, 57, 1);
    border-bottom: 2px solid rgba(160, 139, 57, 1);
    border-right: 2px solid rgba(160, 139, 57, 1);
}

.faq-contents .qa-box .a-box .inner {
    display: block;
    padding: 25px 100px;
}

.faq-contents .qa-box .a-box .inner .text {
    display: block;
    letter-spacing: 0.03em;
    line-height: 1.7;
    text-align: justify;
}

@media (max-width: 768px) {
    .faq-contents .qa-box {
        margin-bottom: 20px;
    }
    
    .faq-contents .qa-box .q-box .inner {
        padding: 20px 0;
    }
    
    .faq-contents .qa-box .q-box .inner .Qnum {
        left: 20px;
    }
    
    .faq-contents .qa-box .q-box .inner .Qtext {
        padding: 0 55px 0 80px;
    }

    .faq-contents .qa-box .q-box .inner .icon-plus {
        right: 18px;
    }
    
    .faq-contents .qa-box .q-box .inner .icon-plus span {
        width: 20px;
        height: 20px;
    }
    
    .faq-contents .qa-box .q-box .inner .icon-plus span:before {
        width: 20px;
        height: 3px;
    }
    
    .faq-contents .qa-box .q-box .inner .icon-plus span:after {
        width: 20px;
        height: 3px;
        margin-top: -3px;
    }
    
    .faq-contents .qa-box .a-box {
        border-left: 2px solid #000;
        border-bottom: 2px solid #000;
        border-right: 2px solid #000;
    }
    
    .faq-contents .qa-box .a-box .inner {
        padding: 25px 30px;
    }

}



/* タブ制御 */
.faq-contents {
    display: none;
}
.faq-contents.active {
    display: block;
    animation: panel-show .5s ease-in-out forwards;
}
  
@keyframes panel-show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
