@charset "utf-8";

/*-----------------------------------
header
-----------------------------------*/
/*--Large screens--*/
@media print, screen and (min-width: 668px){
    #header{
        position: relative;
        margin-bottom: 1px;
        border-bottom: 3px solid #5EBBB9;
    }
    .site{
        display: table;
        margin: 20px 0;
    }
    .site .logo,
    .site h1{
        display: table-cell;
        vertical-align: middle;
    }
    .site .logo img{
        width: 155px;
        margin-right: 15px;
    }
    .site h1{
        font-size: 75%;
    }

    ul#menu{
        width: 100%;
        display: table;
        margin-bottom: -3px;
    }
    #menu li{
        display: table-cell;
        background: #FFF;
        text-align: center;
    }
    #menu li a{
        display: block;
        margin-right: 5px;
        padding: 7px 5px 5px;
        border-bottom: 3px solid #5EBBB9;
        font-size: 100%;
        color: #333;
    }
    #menu li:first-child a{
        margin-left: 5px;
    }
    #menu li a:hover{
        background: #F4FBFB;
        border-radius: 5px 5px 0 0;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-bottom: 3px solid #3D8D8B;
        text-decoration: none;
    }
    #menu li.gn-tax span{
        background-image: url(/static/image/icon/gn-tax.png);
    }
    #menu li.gn-exception span{
        background-image: url(/static/image/icon/gn-exception.png);
    }
    #menu li.gn-monetize span{
        background-image: url(/static/image/icon/gn-monetize.png);
    }
    #menu li.gn-simulation span{
        background-image: url(/static/image/icon/gn-simulation.png);
    }
    #menu li.gn-blog span{
        background-image: url(/static/image/icon/gn-blog.png);
    }
    #menu li span{
        padding: 2px 0 2px 32px;
        background-position: left center;
        background-repeat: no-repeat;
    }
}

/*--Small screens--*/
@media only screen and (max-width: 667px){
    #header .columns{
        margin: 0;
        padding: 0;
    }
    #header{
        position: relative;
    }
    .logo{
        margin: 5px 0.9375em;
    }
    .logo img{
        width: 100px;
    }
    h1{
        margin: 0 1.3em 5px;
        font-size: 10px;
    }
    #menu{
        background: #346562;
    }
    #menu li{
        float: left;
        width: 50%;
        background: #346562;
        border-bottom: 1px solid #FFF;
        font-size: 80%;
        line-height: 1.5;
    }
    #menu li:last-child,
    #menu li:nth-last-child(2):nth-child(odd){
        border-bottom: none;
    }
    #menu li:nth-child(odd){
        border-right: 1px solid #FFF;
    }
    #menu li a{
        display: block;
        padding: 8px;
    }
    #menu li a,#menu li a:hover,#menu li a:visited{
        color: #FFF;
        text-decoration: none;
    }
}
/*--Medium screens--*/
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    #menu li a{
        padding: 7px 5px 3px;
        font-size: 83%;
    }
    #menu li span{
        padding: 5px 0 5px 28px;
        background-size: 20px auto;
    }
}

/*-----------------------------------
fixed-inq
-----------------------------------*/
.fixed-inq{
    position: fixed;
    z-index: 2000;
}
.fixed-inq li a{
    display: block;
    background-color: rgba( 51, 51, 51, 0.85);
    background-repeat: no-repeat;
    text-align: center;
}
.fixed-inq li.mail a{
    background-image: url(/static/image/icon/mail.png);
    -webkit-background-size: 18px 13px;
    -moz-background-size: 18px 13px;
    -o-background-size: 18px 13px;
    -ms-background-size: 18px 13px;
    background-size: 18px 13px;
}
.fixed-inq li.tel a{
    background-image: url(/static/image/icon/fd.png);
    -webkit-background-size: 20px 13px;
    -moz-background-size: 20px 13px;
    -o-background-size: 20px 13px;
    -ms-background-size: 20px 13px;
    background-size: 20px 13px;
}
.fixed-inq li a,.fixed-inq li a:hover,.fixed-inq li a:visited{
    color: #FFF;
    text-decoration: none;
}

/*--Large screens--*/
@media print, screen and (min-width: 40.063em){
    .fixed-inq{
        top: 0;
        right: 0;
    }
    .fixed-inq li{
        float: left;
        font-size: 95%;
        font-weight: bold;
    }
    .fixed-inq li a:hover{
        background-color: #000;
    }
    .fixed-inq li a{
        padding: 7px 18px 7px 50px;
        background-position: 20px 13px;
        font-weight: bold;
    }
    .fixed-inq li a span{
        margin-left: 7px;
        font-size: 80%;
        font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", Osaka, sans-serif;
    }
    .fixed-inq li.mail a{
        margin-right: 1px;
        border-radius: 0 0 0 5px;
        -webkit-border-radius: 0 0 0 5px;
        -moz-border-radius: 0 0 0 5px;
    }
    .fixed-inq li.tel a{
        margin-right: 10px;
        border-radius: 0 0 5px 0;
        -webkit-border-radius: 0 0 5px 0;
        -moz-border-radius: 0 0 5px 0;
    }
    .fixed-inq li.area{
        margin-right: 5px;
        padding: 7px 18px 7px 45px;
        background-image: url(/static/image/icon/area.png);
        background-color: rgba( 52, 101, 98, 0.85);
        background-repeat: no-repeat;
        background-position: 16px 8px;
        -webkit-background-size: 23px 20px;
        -moz-background-size: 23px 20px;
        -o-background-size: 23px 20px;
        -ms-background-size: 23px 20px;
        background-size: 23px 20px;
        text-align: center;
        color: #FFF;
        border-radius: 0 0 5px 5px;
        -webkit-border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;   
    }
}

/*--Small screens--*/
@media only screen and (max-width: 40em){
    .fixed-inq{
        bottom: 0;
        background-color: #333;
    }
    .fixed-inq ul{
        display: table;
        width: 100%;
    }
    .fixed-inq li{
        display: table-cell;
        width: 50%;
    }
    .fixed-inq li.mail{
        border-right: 1px solid #FFF;
    }
    .fixed-inq li a{
        display: block;
        padding: 7px 10px 7px 30px;
        background-position: 15px 13px;
    }
    .fixed-inq li a span{
        display: none;
    }
}

/*--Medium screens--*/
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .fixed-inq li.tel a{
        margin-right: 2px;
    }
}

/*-----------------------------------
pageup
-----------------------------------*/
.pagetop{
    position: fixed;
    cursor: pointer;
    z-index: 3000;
    display: block;
    background: url(/static/image/common/pageup.png) no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/*--Large screens--*/
@media print, screen and (min-width: 40.063em){
    .pagetop{
        right: 30px;
        bottom: 30px;
        width: 48px;
        height: 48px;
        -webkit-background-size: 48px 48px;
        -moz-background-size: 48px 48px;
        -o-background-size: 48px 48px;
        -ms-background-size: 48px 48px;
        background-size: 48px 48px;
    }
}
/*--Small screens--*/
@media only screen and (max-width: 40em){
    .pagetop{
        right: 0.9375em;
        bottom: 3em;
        width: 30px;
        height: 30px;
        -webkit-background-size: 30px 30px;
        -moz-background-size: 30px 30px;
        -o-background-size: 30px 30px;
        -ms-background-size: 30px 30px;
        background-size: 30px 30px;
    }
}

/*-----------------------------------
footer
-----------------------------------*/
#footer,
#footer a,
#footer a:hover,
#footer a:visited{
    font-size: 95%;
    color: #FFF;
}
#footer{
    background: #429B99;
}
.footer-inq{
    background-color: #FFF;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    color: #333;
}
.footer-inq li{
    text-align: center;
}
.footer-inq li.tel{
    font-size: 125%;
    line-height: 1.1;
}
.footer-inq li.tel a{
    padding-left: 30px;
    background-image: url(/static/image/icon/fd-gray.png);
    background-repeat: no-repeat;
    background-position: 0 3px;
    -webkit-background-size: 25px 16px;
    -moz-background-size: 25px 16px;
    -o-background-size: 25px 16px;
    -ms-background-size: 25px 16px;
    background-size: 25px 16px;
}
#footer .footer-inq li.tel a,#footer .footer-inq li.tel a:hover,#footer .footer-inq li.tel a:visited{
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.footer-inq li.tel span{
    font-size: 65%;
}
.footer-inq li.mail a{
    display: block;
    padding: 3px 15px 3px 45px;
    background: #333;
    background-image: url(/static/image/icon/mail.png);
    background-repeat: no-repeat;
    background-position: 20px 8px;
    -webkit-background-size: 18px 13px;
    -moz-background-size: 18px 13px;
    -o-background-size: 18px 13px;
    -ms-background-size: 18px 13px;
    background-size: 18px 13px;
    text-decoration: none;
}
.footer-inq li.mail a:hover{
    background-color: #000;
}

/*--Large screens--*/
@media print, screen and (min-width: 40.063em){
    #footer{
        padding: 30px 0;
    }
    .footer-summary{
        padding-right: 30px;
        border-right: 1px dotted #FFF;
    }
    .footer-logo{
        margin-bottom: 20px;
    }
    .footer-logo img{
        width: 221px;
    }
    .footer-inq{
        margin-top: 20px;
        padding: 12px 15px;
    }
    .footer-inq ul{
        display: table;
        width: 100%;
    }
    .footer-inq li{
        display: table-cell;
        width: 50%;
        padding: 0 5px;
        vertical-align: middle;
    }
    .footer-link{
        padding-left: 40px;
    }
    .footer-link ul{
        float: left;
        margin-right: 40px;
    }
    .copyright{
        font-size: 80%;
        text-align: right;
    }
}

/*--Small screens--*/
@media only screen and (max-width: 40em){
    #footer{
        padding: 0.9375em 0 3em;
    }
    #footer .columns{
        margin: 0;
        padding: 0;
    }
    .footer-logo{
        margin: 0 0.9375em 0.8em;
    }
    .footer-logo img{
        width: 180px;
    }
    #footer p{
        margin: 0 0.9375em 0.9375em;
    }
    /*.footer-inq{
        margin: 0.9375em;
        padding: 0.9375em;
    }
    .footer-inq li.mail{
        width: 80%;
        margin: 10px auto 0;
    }*/
    .footer-link ul:first-child{
        border-top: 1px solid #FFF;
    }
    .footer-link li{
        border-bottom: 1px solid #FFF;
    }
    .footer-link li a{
        display: block;
        padding: 4px 0.9375em;
        text-decoration: none;
    }
    .footer-link li a:hover{
        background: #3D8D8B;
    }
    .copyright{
        padding: 10px 0;
        font-size: 70%;
        text-align: center;
    }
}

/*--Medium screens--*/
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .footer-inq li{
        display: block;
        width: 100%;
    }
    .footer-inq li.tel{
        margin-bottom: 10px;
    }
    .footer-link ul{
        margin-bottom: 15px;
    }
    .copyright{
        margin-top: 10px;
    }
}

/*-----------------------------------
clear
-----------------------------------*/
.row,
.site
{
    display: block;
    min-height: 1%;
}
.row:after.
.site:after
{
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}
