/* FAQページのCSS */
html {
    scroll-padding-top: 80px;
}

a:hover{
    color: #77C2FD;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-title {
    font-weight: bold;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    margin-top: 135px;
    margin-bottom: 30px;
}

h3 {
    border-bottom: 2px solid #042A4C;
    width: 100%;
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
}

.faq_section h3{
    border: none;
    background-color: #f3f4f5;
    padding: 10px 15px 10px 18px;
    width: 93%;
    border-left: #042A4C 5px solid;
}

#i-3{
    width: 200%;
}

.faq-category-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 50px 70px;
    margin: 30px auto 50px;
}

.article_list li{
    list-style: none;
}

.article_list a{
    text-decoration: none;
    position: relative;
    &:hover {
        color: #77C2FD;
    }
}

.article_list a::after{
    content: '';
    position: absolute;
    background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/list-decoration.png);
    background-size: cover;
    width: 9px;
    height: 12px;
    top: 2px;
    left: -24px;
}

.table_of_contents_wrapper {
    padding: 20px 30px 25px;
    margin-bottom: 20px;
}

.table_of_contents {
    padding: 8px 32px 10px;
    background-color: #f3f4f5;
    border-radius: 8px;
}

.table_of_contents_parent {
    padding-top: 6px;
    padding-bottom: 6px;
}

.table_of_contents_title {
    font-weight: bold;
    margin-bottom: 8px;
}

.table_of_contents_children {
    padding: 5px 18px;
    background-color: #fff;
}

.table_of_contents_child {
    display: inline-block;
}

.table_of_contents_child a {
    color: #042A4C;
    text-decoration: none;
    &:hover {
        color: #77C2FD;
    }
}

#search-area form {
    padding: 0px 0px 20px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#search-area label{
    width: 80%;
}

#search-area .search-field {
    padding-left: 15px;
    padding-right: 15px;
    height: 40px;
    width: 100%;
    color: #042A4C;
    border: 1px solid #042A4C;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1rem;
}

#search-area .search-button {
    width: 19%;
    position: relative;
}

#search-area .search-button::before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/faq-search.png);
    background-size: cover;
    top: 10px;
    left: 20%;
}

#search-area .search-submit {
    width: 100%;
    padding: 8px 32px;
    background-color: #042A4C;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
}

::-webkit-full-page-media, :future, :root
#search-area .search-submit{
    height: 40px;
}

@-moz-document url-prefix() {
    #search-area .search-submit{
        height: 40px;
    }
  }

.contacter-wrap{
background-color: #f3f4f5;
}

.contacter {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
    text-align: center;
}

.contacter-title{
    padding: 30px 0 20px;
    font-size: 20px;
    font-weight: 700;
}

.contacter a{
    text-decoration: none;
    border: 1px solid #042A4C;
    padding: 15px 40px;
    border-radius: 30px;
    background-color: #fff;
    font-weight: 700;
    transition: 0.3s;
    &:hover{
        background-color: #042A4C;
        color: #fff;
    }
}

.contact-button{
    margin-top: 35px;
}


/* ↓FAQ詳細ページ↓ */
.faq-detail-page{
    padding-top: 50px;
}

.faq-detail-page .wrap{
    padding-bottom: 80px;
}

.faq-article-title{
    position: relative;
    padding-left: 55px;
    line-height: 40px;
    font-size: 24px;
}

.faq-article-title::after{
    content: "";
    background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/Q.png);
    background-size: contain;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0;
    width: 40px;
    height: 40px;
}

th{
    color: #fff;
    background-color: #042A4C;
    border: #042A4C 1px solid;
    border-left: #fff 1px solid;
    border-right: none;
    text-align: center;
    box-sizing: border-box;
    font-weight: 700;
    padding: 8px;
}

th:nth-child(1){
    border-left: #042A4C 1px solid;
}

th:last-child{
    border-right: #042A4C 1px solid;
}

td{
    border: #042A4C 1px solid;
    box-sizing: border-box;
    padding: 5px;
    color: #042A4C;
    background-color: #fff;
    
}

.faq_list_link {
    padding-bottom: 50px; 
}

.faq_list_link span{
    position: relative;
    padding-right: 30px;
}

.faq_list_link span::before{
    content: "";
    background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/back.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    top: -3px;
    left: 0;
    width: 24px;
    height: 23px;
}


/* ↓FAQ検索ページ↓ */
.post-title{
    position: relative;
    padding-bottom: 15px;
    line-height: 35px;
}
.post-title::after{
    content: '';
    position: absolute;
    background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/list-decoration.png);
    background-size: cover;
    width: 14px;
    height: 20px;
    top: 6px;
    left: -24px;
}
.post-title a{
    text-decoration: none;
    font-weight: 700;
}
.searched_article_wrap{
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 0 0 30px 30px;
    border-bottom: #042A4C 1px solid;
}
.pan_list{
    padding-bottom: 30px;
}


/* FAQ内のTable要素 */
table.stock_table {
    text-align: center;
}

@media screen and (max-width:834px){
    #i-3{
        width: 93%;
    }
    .faq-category-wrap{
        grid-template-columns: 1fr;
        gap: 0 0;
        margin: 0 auto 40px;
    }
    .faq_section h3{
        width: 96%;
        margin: 10px auto 25px;
    }
    .faq_section{
        width: 96%;
        margin: 0 auto;
        padding: 15px 0 0;
    }
    #search-area .search-button{
        width: 150px;
        margin-left: 8px;
    }
    #search-area label{
        max-width: 640px;
    }
}


@media screen and (max-width:480px) {
    .wrap{
        margin-top: 135px;
        padding: 0 15px;
    }
    .table_of_contents_wrapper {
        padding: 30px 0px;
        margin-bottom: 0;
    }

    .table_of_contents {
        padding: 8px 12px;
    }

    .table_of_contents_child {
        display: list-item;
    }
    #search-area .search-submit{
        padding: 8px 0 8px 18px;
        height: 100%;
    }

    .table_of_contents_divider {
        display: none;
    }
    .faq-title{
        font-size: 24px;
        line-height: 30px;
        margin-top: 12px;
        margin-bottom: 12px;
        margin-left: 0px;
    }
    #search-area label{
        width: 75%;
    }
    #search-area .search-button {
        width: 24%;
    }
    #search-area .search-button::before{
        left: 11%;
    }
    
    #search-area form{
        padding: 15px 0px 30px;
    }
    .faq_section h3{
        width: 90%;
        margin: 10px auto 25px;
    }
    .table_of_contents_parent{
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* ↓FAQ詳細ページ↓ */
    .faq-detail-page .wrap{
        margin-top: 0;
        padding-bottom: 30px;
    }
    .faq-detail-page{
        padding-top: 30px;
    }
    .faq_list_link{
        padding-bottom: 30px;
    }
    .faq-article-title{
        font-size: 22px;
        line-height: 30px;
        padding-bottom: 30px;
        padding-left: 38px;
    }
    .faq-article-title::after{
        width: 25px;
        height: 25px;
        top: 2px;
    }
    .contacter{
        padding: 0 15px 40px;
    }

    /* ↓FAQ検索ページ↓ */
    .pricing{
        padding: 0 0 30px;
    }
    .post-title{
        font-size: 20px;
        line-height: 30px;
    }
    .post-title::after{
        width: 11px;
        height: 16px;
        left: -18px;
    }
    article:after{
        display: none;
    }
    .searched_article_wrap{
        padding-bottom: 15px;
        padding-left: 20px;
    }
}