@charset "UTF-8";
/* ---------- [ base ] ---------- */
*{
    margin: 0;
    padding: 0;
}

body{
/*    
    background: #000;
*/
/*        Test        */
    background: white;
    color: #32488A;


    margin-left:auto;
    margin-right:auto;
    text-align:center;
}
/* ---------- [ max-width:600px ] ---------- */
@media(max-width:600px){
        /* ---------- [ header start] ---------- */
        div.openbtn{
            text-align:right;
    
            margin-right:0;
        }
        span{
            text-align:right;
        }
    
        header{
            z-index: 99;
            position: fixed;
            width: 100%;
            height:65px;
            background-color:rgba(255, 255, 255, 0.8);
            display: flex;
            margin-top:0;
    
        }
    
        div#header1{
            text-align:left;
        }
        .headerlogo{
            width:65%;
            margin-left:5px;
        }
    
        img.headerlogo{
            width:50%;
            margin-top:5px;
            height:60px;
        }
    
        #header2,#menu{
            display:none;
        }
        #bnr_jpg{
            width:100%;
        }
        .gmap{
            width:100%;
        }
    
        /* ---------- [ ヘッダーメニュー ] ---------- */
        /*========= ナビゲーションのためのCSS ===============*/
    
        #g-nav{
            /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
            position:fixed;
            z-index: 999;
            /*ナビのスタート位置と形状*/
            top:-120%;
            left:0;
            width:100%;
            height: 50vh;/*ナビの高さ*/
            background:#999;
            /*動き*/
            transition: all 0.6s;
        }
    
        /*アクティブクラスがついたら位置を0に*/
        #g-nav.panelactive{
            top: 0;
        }
    
        /*ナビゲーションの縦スクロール*/
        #g-nav.panelactive #g-nav-list{
            /*ナビの数が増えた場合縦スクロール*/
            position: fixed;
            z-index: 999; 
            width: 100%;
            height: 50vh;/*表示する高さ*/
            overflow: auto;
            -webkit-overflow-scrolling: touch;
        }
    
        /*ナビゲーション*/
        #g-nav ul {
            /*ナビゲーション天地中央揃え*/
            position: absolute;
            z-index: 999;
            top:50%;
            left:50%;
            transform: translate(-50%,-50%);
        }
    
        /*リストのレイアウト設定*/
    
        #g-nav li{
            list-style: none;
            text-align: center; 
        }
    
        #g-nav li a{
            color: #333;
            text-decoration: none;
            padding:10px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: bold;
        }
    
        /*========= ボタンのためのCSS ===============*/
        .openbtn{
            position:fixed;
            top:10px;
            right:10px;
            cursor: pointer;
            width: 50px;
            height:50px;
            z-index: 99999999;
        }
    
        /*×に変化*/	
        .openbtn span{
            display: inline-block;
            transition: all .4s;
            position: absolute;
            left: 14px;
            height: 3px;
            border-radius: 2px;
            background-color: #666;
            width: 45%;
        }
    
        .openbtn span:nth-of-type(1) {
            top:15px;	
        }
    
        .openbtn span:nth-of-type(2) {
            top:23px;
        }
    
        .openbtn span:nth-of-type(3) {
            top:31px;
        }
    
        .openbtn.active span:nth-of-type(1) {
            top: 18px;
            left: 18px;
            transform: translateY(6px) rotate(-45deg);
            width: 30%;
        }
    
        .openbtn.active span:nth-of-type(2) {
            opacity: 0;
        }
    
        .openbtn.active span:nth-of-type(3){
            top: 30px;
            left: 18px;
            transform: translateY(-6px) rotate(45deg);
            width: 30%;
        }
        /* ---------- [ ヘッダーメニュー ] ---------- */
    
        div.main{
            width:100%;
            height:100vh;
    
        }
        /* ---------- [ header end] ---------- */

    /* ---------- [ Main Start] ---------- */
    h1{
        padding-top:50px;
    }
    main{
        width:100%;
        margin-left:auto;
        margin-right:auto;
    }

    .textbox1{

        padding:0px 10px;
    }

    input#name.textbox{
        padding-left:-5px;
        padding-right:-5px;
    }
    .lefttext{
        padding:0px 10px;
    }

    #name.text{
        width:100%;

    }


    .textbox{
        background-color:#f5faf9;

        height: 80px;
        width: 100%;
        border: none;
    }

    .lefttext{
        font-weight: normal;
        text-align: left;
        padding: 15px 0;
        width: 260px;
        vertical-align: top;
    }

    input#submit{
        width:50px
    }

    /* ---------- [ Main End] ---------- */



    /* ---------- [ footer ] ---------- */
    #footer{
        display:inline-block;
        width:100%;
        height:100%;
        color:#fff;
        background:#333;
        bottom:0;
    }

    #menu-footer li {
        display: inline-block;
        list-style:none;
        width: 16%;
        margin-left: auto;
        margin-right: auto;
        text-decoration: none;
    }

    #menu-footer li a{
        color:#32488A;
    }
    /* ---------- [ footer end ] ---------- */
}
/* ---------- [ max-width:600px End ] ---------- */

/* ---------- [ min-width:1280px ] ---------- */
    @media(min-width:1280px){
    /* ---------- [ Header ] ---------- */

    #openbtn,#g-nav{
        display:none;
    }

    #menu-header {
        list-style:none;
        overflow: hidden;
    }

    #menu{
        width:1140px;
        display:inline-block;;
    }

    #menu-header li a {
        text-decoration: none;
    /*        Test        */
        color: #32488A;
        font-weight: bold;
        padding: 20px;
    }

    #menu-header li {
        width: 16%;
        text-align:center;
    /*        Test        */
        background-color: white;
        display: inline-block;
        height: 50px;
        line-height: 50px;
        margin-left: auto;
        margin-right: auto;

    }

    #top-header {
        display:flex;

    }

    header{
        display:inline-block;
        width:1140px;

    }

    #header1 h1{
        text-align:left;
        float:left;
    }

    #header2{
        text-align:rigth;
    }

    h3{
        text-align:left;
    }

    #top-header #header2{
        margin-left:auto;

    }

    #menu #menu-header.li{
        margin-left:auto;
        margin-right:auto;
        text-align:center;
    }

    #center_buttom li {
        display: inline-block;
        list-style:none;
        margin-left:auto;
        margin-right:auto;
    }
    /* ---------- [ Header End] ---------- */




    /* ---------- [ Main Start] ---------- */
    main{
        width:1140px;
        margin-left:auto;
        margin-right:auto;
    }

    .textbox1{
        display:flex;
    }

    .textbox2{
        display:flex;
    }

    .textbox{
        background-color:#f5faf9;
        padding: 10px;
        height: 80px;
        width: 100%;
        border: none;
    }

    .lefttext{
        font-weight: normal;
        text-align: left;
        padding: 15px 0;
        width: 260px;
        vertical-align: top;
    }


    /* ---------- [ Main End] ---------- */



    /* ---------- [ footer ] ---------- */
    #footer{
        display:inline-block;
        width:100%;
        height:100%;
        color:#fff;
        background:#333;
        bottom:0;
    }

    #menu-footer li {
        display: inline-block;
        list-style:none;
        width: 16%;
        margin-left: auto;
        margin-right: auto;
        text-decoration: none;
    }

    #menu-footer li a{
        color:#32488A;
    }
    /* ---------- [ footer end ] ---------- */
}
/* ---------- [ min-width:1280px ] ---------- */