@charset "utf-8";
/* CSS Document */
@media screen and (min-width:428px) and ( max-width:1280px) {
    #top-img {
        height: 300px;
        
        background-image: url("../images/top-2.png");
    }
    
    /*-- header --*/
    .logo {
        padding-left: 20px;
    }
    
    #header ul li a {
        padding: 15px 30px;
        
        font-size: 18px;
    }
    
    /*-- contents --*/
    .contents {
        width: 85%;
    }
    
    .footer-cont {
        width: 85%;
    }
    
    
    /*-- footer --*/
    .footer-box ul li {
        font-size: 18px;
    }
    
    .footer-box ul li a {
        position: relative;
        display: block;
        margin: 8px 0;
        padding-left: 25px;
        
        color: #FFFFFF;
        font-size: 18px;
        font-weight: bold;
        text-decoration: none;
    }
    
    .footer-box ul li a::before {
        top: 6px;
    }
    
    .footer-menu {
        font-size: 25px;
    }
    
    /*-- table --*/
    .Executive,
    .Business,
    .Public {
        font-size: 18px;
    }
    
    .font-small {
        font-size: 16px;
    }
}

@media screen and (max-width: 428px) {
    #top-img {
        margin-top: 70px;
        height: 100px;
        background-image: url("../images/top-3.png");
    }
    
    /*- header -*/
    
    #header {
        position: fixed;
        justify-content: space-between;
        
        height: 70px;
        width: 100%;
    }
    
    #header ul {
        display: block;
        padding-top: 80px;
        
        margin: 0 auto;
        width: 85%;
    }
    
    #header ul li {
        color: #FFFFFF;
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    #header ul li a {
        position: relative;
        display: block;
        padding: 0 0 0 35px;
    
        color: #FFFFFF;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
}

    #header ul li a::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 4px solid #FFF;
    border-right: 4px solid #FFF;
}

    #header ul.facility li a {
        font-size: 20px;
        margin: 20px 0;
    }
    


    
    .nav {
        display: none;
    }
    
    .logo {
        padding: 10px;
    }
    
    .logo img {
        width: 64%;
    }
    
    .footer-box h2,
    .footer-box ul li a{
        display: none;
    }
    
    
    .openbtn{
        display: block;
        position: relative;
        z-index: 9999;
        
        margin-right: 10px;
        cursor: pointer;
        width: 50px;
        height:50px;
    }
    
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        top:15px;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 50%;
    }
    
    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);
        background-color: #FFFFFF;
        width: 45%;
    }
    
    .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);
        background-color: #FFFFFF;
        width: 45%;
    }
    
    
    
    #g-nav{
        display: block;
        position:fixed;
        z-index: 9998;
        top:0;
        right: -120%;
        width:100%;
        height: 100vh;
        background:#0458a1;
        transition: all 0.6s;
    }
    
    #g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
    
    #g-nav.panelactive{
        right: 0;
    }
    
    #g-nav-list {
        display: block;
    }
    
    #footer {
        padding: 20px 0;
    }
    
    .footer-cont {
        justify-content: center;
        width: 90%;
    }
    
    .footer-box ul li {
        margin: 5px 0;
        font-size: 15px;
    }
    
    p.copy {
        padding-top: 20px;
        font-size: 12px;
    }
    
    
    .contents {
        width: 90%;
    }
    
    .border {
        width: 100%;
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .border:before,
    .border:after {
        display: none;
    }
    
    .heading {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    
    .bottom {
        margin-bottom: 50px;
    }
    
    ol li {
        font-size: 18px;
    }
    
    ol li::before {
    padding-right: 10px;
    
    font-size: 20px;
    }
    
    .index-img {
        height: 100px;
    }

    
}