/* header固定 */
#header{
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 111;
}
main{
    padding-top: 60px;
}
#app .sub-page {
    margin-top: 0px;
    padding-top: 140px;
}
.pt-5, .py-5 {
    padding-top: 5rem!important;
}
#yjw01, #yjw02, #yjw03, #yjw04, #yjw05, #yjw06 {
    display: block;
    margin-top: -60px;
    padding-top: 60px;
    z-index: -99;
    position: relative;
}

@media (max-width: 575.98px){
    main{
        padding-top: 95px;
    }
    #yjw01, #yjw02, #yjw03, #yjw04, #yjw05, #yjw06 {
        margin-top: -95px;
        padding-top: 95px;
    }
}


/* M&A会社は３分類（修正に伴うデザイン変更） */
#top .main-up .main-up-contents {
    padding: 1rem 2rem;
    min-height: 270px;
}
#top .main-up .main-up-contents p {
    text-align: left;
}


/* 新着企業の画像サイズ統一 */
#top #top-cusers .row .top-cusers-contents img{
    width: 220px;
    max-width: 95%;
    height: 220px;
    object-fit: cover;
}

/* よくある質問の位置変更（フッター→メイン） */
#top .faq-area {
    background: #3882c7;
    padding-top: 60px;
    padding-bottom: 40px;
}
#top .faq-area h2 {
    color: #fff;
}
#top .faq-area .faq-area-contents {
    background: #fff;
    padding: 2rem;
    min-height: 165px;
    margin-bottom: 20px;
    min-height: 240px;
}
#top .faq-area .faq-area-contents h3 {
    color: #3882c7;
    font-size: 1.5rem;
}
#top .faq-area .faq-area-contents p {
    color: #231815;
    margin-bottom: 0;
}

/* フッターに解説追加 */
.footer .footer-middle .footer-commentary {
    width: 80%;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #f3edee;
}
.footer .footer-middle .footer-commentary p {
    margin: 0;
}

/* 企業登録内容を確認→戻るで画像サイズが大きく表示される問題対応 */
#sub-main-regist a img {
    max-width: 100%;
}


/*フッターにSNSリンク追加*/
.footer-logo {
    text-align: center;
    margin: 0 auto;
}
.footer-logo img{
    width: 200px;
    margin-bottom: 10px;
}
.footer-sns {
    text-align: center;
    margin: 0 auto;
    width: 180px;
}
.footer-sns img{
    width: 30px;
    margin: 10px 3px;
}

