/* Reset default browser CSS
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
    outline: 0;
}
body {
    background: #fff;
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    font-weight: normal;
    text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
a img {
    border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}


/* clearfix
----------------------------------------------- */
.cf:before,
.cf:after{
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.cf:after{clear: both}
.cf{zoom:1}


.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

 /* layout
---------------------------------------------- */
body{
    font-family:;
    background: #fff;
}

.left{
    float: left;
}

.right{
    float:right;
}


strong{
    font-weight: bold;
}

 /* CommonMaterial
---------------------------------------------- */
body{
font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

.min-w{min-width: 1200px;}
.inframe{width: 1180px;margin: auto;}

.hakouso_icon .hakouso_icon_a{fill:#336699;}
.hakouso_icon .hakouso_icon_b{fill:#174c81;}
.hakouso_icon .txt{fill:#fff;}


 /* header
---------------------------------------------- */
#header{
    padding: 24px 0;
    text-align: center;
}

#header h1{
    margin-top: 22px;
    text-align: center;
}

#header h1 a{
    display: block;
    background: url(../img/logo.svg) no-repeat center;
    width: 280px;
    text-indent: -9999px;
    margin: auto;
}

#header nav ul li a img{
    box-sizing:content-box;
}


#header nav ul li{display: inline-block;}
#header nav ul li a{
    display: block;
    width: 120px;
    color:#0a9a87;
    text-decoration: none;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

#header nav ul li a img{
    display: block;
    margin: auto;
    width: 30%;
    margin-bottom: 10%;
    padding: 6px;
    border: 2px solid #fff;

    transition: all .5s ease;
    -webkit-transition: all .5s ease;

}

#header nav ul li a:hover img{
    border: 2px solid #0a9a87;
    border-radius: 100%;
}


 /* Footer
---------------------------------------------- */
footer{
     background: #0a9a87;
}

footer .contactlink{
    width: 500px;
    margin:auto;
    padding: 0.5% 0;
}

footer .contactlink a{
    display: block;
    width: 100%;
    margin: auto;
    color: #fff;
    text-decoration: none;
    padding: 3% 0;
    border: 1px solid #fff;
    font-size: 14px;
    text-align: center; 
}


footer .inframe{
    padding: 24px 0;
    border-top: 1px solid #006666;
}


footer .hakouso_icon{
    width: 300px;
    text-align: center;
    margin: auto;
}

footer .hakouso_icon img{
    display: block;
    height: 22px;
    margin: auto;
}

footer address{
    padding-top: 3%;
    font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
    font-size:10px;
    color: #fff;
    padding-right: 24px;
}



 /* SP-Tablet
-------------------------------------------------------------------------------------------- */

@media screen and (max-width: 960px) {

    .min-w{min-width:auto !important;}
    .inframe{width:auto;}
    .left,.right{float: none}

      #header{
        background: #fff;
        padding: 0;
        text-align: center;
        left: 0;
        width: 100%;
        border-top-width: 3px;
    }

    #header h1{
       float: none;
       margin: 0;
       padding: 0;
       height: auto;
       margin: 2% auto;
       text-align: center;
    }

    #header h1 a{
        display: block;
        margin: auto;
        width: 280px;
        height: 28px;
    }

    #header nav{
        background: #fff;
        height:auto;
        width: 100%;
        text-align: center;
        padding:2% 0 1%  0;
        margin-top: 0;
        border-top: 1px solid #eaf2fa;
    }

    #header nav ul li{
        width: 18.2%;
        padding: 0;
        margin: 0;
    }
    #header nav ul li.costomer{display: none;}

    #header nav ul li a{
        display: block;
        width: 100%;
        font-size: 60%;
        vertical-align: middle;
    }

    #header nav ul li a img{
        margin: auto;
        width: 35%;
        padding: 0;
        padding-bottom: 10%;
        margin-bottom:0;
        border:none;
    }

    #header nav ul li a:hover img{
        border:none;
        border-radius:0;
    }



    footer{
        text-align: center;
    }
    footer .contactlink{
        width: 96%;
        margin:auto;
        padding: 1% 0;
    }
    footer .contactlink a{
        padding: 4% 0;
    }
    footer address{
        padding-right: 0;
    }


}

