@charset "utf-8";
/*--------------------------------- 
レスポンシブ対応の邪魔になる記述を上書きで修正


--------------------------------- */

/*--------------------------------- 
チェックボックスを非表示
--------------------------------- */
.nav-switch{display: none;}


/*--------------------------------- 
ここから1440px以下のが画面に向けた記述
メディアクエリー対応
--------------------------------- */
@media screen and (max-width: 1440px){

    .btn{
        position: fixed;
        width: 240px;
        
        height: 36px;   
        top: 160px;
        right: 20px;
        /* margin-top: -30px; */
        /* margin-left:  70%; */
    }


}





/*--------------------------------- 
ここから959px以下のが画面に向けた記述
メディアクエリー対応
--------------------------------- */
@media screen and (max-width: 959px){
    /* ヘッター */


    /* ハンバーガーボタンの配置 */
    .nav-burger{
        display: block;
            /* textをボックスに変換 */
        width: 30px;
        height: 28px;
        position: fixed;
        top: 30px;
        left: 18px;
        background-image: url(../images/h-btm.png);
        /* z-index: 800; */
            /* ポジションとセットで指定　重なり順 */
    }

        /* 三本線のボタンを□のボタンの切り替え */
    .nav-switch:checked ~ .nav-burger{
        width: 30px;
        height: 41px;
        background-image: url(../images/close.png);
                /*疑似クラス（hover）とかの仲間  */
        z-index: 900;

    }

        /* マウスカーソルの調整 */
    .nav-burger:hover{
        cursor: pointer;
    }
     /* ナビゲーション */
    .globalnav_back2{
        display: none;
    }

    .nav_btn{

        max-width: 240px;
        width: auto;
        background-color: rgba(35, 35, 35, 0);
        height: 36px;
        margin-bottom: 10px;
        margin-left: 0%;
    }

    .nav_btn a{
        display: inline-block;
        /* position: fixed; */
        width: 240px;
        line-height: 2.4em;
        background-color: rgba(35, 35, 35, 0);
        font-family: "Noto Serif JP", serif;
        font-weight: bold;
        border-radius: 6px;
        border: none;
        color: #fff;
    
        /* ホバーを追加する時に必要なコメント */
        transition: background-color 0.2s;
    
        margin-bottom: 10px;
    }


    /* ボタンのクリック */
    .nav-switch:checked ~ nav .globalnav_back2{
        background-image: none;
        background-color: rgba(35, 35, 35, 0.92);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding-top: 40px;

        z-index: 899;

        display:block;
    }

    .nav_nenu{
        font-size: 24px;
        color: #ffffff;
        text-align: center;
    
        /* margin: 40px auto; */
    }

    .nav_btn a:hover{
        background-color: rgba(179, 174, 172, 0.5);
        border-bottom: none;
        border-right: none;
    }

    /* ---------------------------------
    headerの役割をする記述
    --------------------------------- */
    .company_logo{
        width: auto;
        max-width: 500px;
        height: 161px;
        margin: auto auto;
    }

    .logo{
        margin-top: 40px;
        margin-bottom: 20px;
        max-width: 120px;
        width: auto;
    }

    .company{
        width: 380px;
        margin-top: 40px;
    }

    .company_p2{
        font-size: 30px;
        height: 40px;
    }

    .btn{
        position: fixed;
        width: 200px;
        height: 28px;   
        top: 40px;
        right: 20px;
    }

    .btn a{
        width: 200px;
        line-height: 2.0em;
    }

    nav{
        height: 400px;
        width: auto;
    }

    .business_style P{
        font-size: 32px;
        padding-top: 16px;
    }


    /* ---------------------------------
    footerの役割をする記述
    --------------------------------- */

    .footer_company{
        width: 380px;
        margin-top: 40px;
    }

    .footer_company_p2{
        font-size: 30px;
        height: 40px;
    }


    .footer_btn{
        width: 200px;
        height: 28px;   
    }

    .footer_btn a{
        width: 200px;
        line-height: 2.0em;
    }


}


/*--------------------------------- 
ここから768px以下のが画面に向けた記述
メディアクエリー対応
--------------------------------- */
@media screen and (max-width:768px){



    .company_logo{
        width: auto;
        max-width: 380px;
        height: 140px;
        margin: auto auto;
    }

    .company{
        width: 240px;
        margin-top: 40px;
    }

    .company_concept{
        display: block;
    }

    .company_concept{
        width: 240px;
        margin: 0px auto;

    }

    .company_p1{
        font-size: 12px;
        height: 20px;
        margin-top: 0px;
    }

    .company_p2{
        font-size: 18px;
        height: 26px;
    }

    .company_p3{
        font-size: 12px;
        height: 26px;
    }

    .btn{
        position: fixed;
        width: 160px;
        height: 28px;   
        top: 40px;
        right: 20px;
    }

    .btn a{
        width: 160px;
        line-height: 1.6em;
        font-size: 12px;
    }

    .top_aboutus_h2 h2{
        margin: 20px auto;
    }

    .picture_01{
        background-image: none; 
    }

    .picture_02{
        background-image: none; 
    }

    .top_aboutus_b{
        margin-left: 10px;
        margin-right: 10px;
    }



    .h2_01_p{
        margin: -150px auto 0px;
        padding: 0px 20px;

        font-size: 16px;
    }


    .top_business{
        display: block;
        /* justify-content: center; */
    }
    
    .top_business_h2 h2{
        margin: 0px auto;
    }

    .top_business_01{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_01_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_business_02{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_02_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_business_03{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_03_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_business_04{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_04_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_business_05{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_05_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_business_06{
        width: 250px;
        height: 338px;

        margin: 0px auto;
    }

    .top_business_06_p{
        height: 58px;
        font-size: 16px;
        line-height: 1.6em;
    }

    .top_topics_h2 p{
        font-size: 20px;

    }

    /* ---------------------------------
    footerの役割をする記述
    --------------------------------- */
    footer{
        height: 400px;
    }


    .footer_nav_nenu_all{
        display: block;
        width: 300px;
    }

    .footer_company_logo{
        width: auto;
        max-width: 380px;
        height: 140px;
        margin: auto auto;

        margin-top: 60px;
    }

    .footer_company{
        width: 240px;
        margin-top: 40px;
    }

    .footer_company_concept{
        display: block;
    }

    .footer_company_concept{
        width: 240px;
        margin: 0px auto;

    }

    .footer_company_p1{
        font-size: 12px;
        height: 20px;
        margin-top: 0px;
    }

    .footer_company_p2{
        font-size: 18px;
        height: 26px;
    }

    .footer_company_p3{
        font-size: 12px;
        height: 26px;
    }




}


/*--------------------------------- 
ここから500px以下のが画面に向けた記述
メディアクエリー対応
--------------------------------- */
@media screen and (max-width:500px){

    .company{
        width: 200px;
        margin-top: 50px;
    }

    .company_concept{
        width: 200px;
        margin: 0px auto;
    }

    .logo{
        margin-top: 40px;
        margin-bottom: 20px;
        max-width: 100px;
        width: auto;
    }

    nav{
        height: 280px;
        width: auto;
    }


    .business_style P{
        font-size: 22px;
        padding-top: 20px;
    }

    .footer_company{
        width: 200px;
        margin-top: 50px;
    }

    .footer_company_concept{
        width: 200px;
        margin: 0px auto;
    }

}

