@charset "utf-8";

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    min-width: 100%;
    margin: 0;
    padding: 5px;
    color: rgb(98, 115, 115);
}


a {
    text-decoration: none;
}

a:link { color:#000000; text-decoration:none }
a:visited { color:#000000; text-decoration:none }
a:hover { color:#000000; text-decoration:none }
a:active { color:#000000; text-decoration:none }

a:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.8;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.wrap {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}


#main_logo {
    text-align: center;
    margin-bottom: 40px;
        margin-top: 50px;
    clear: both;
}



h1 {
    
    font-size: 0;
    text-align: center;
    margin-bottom: 20px;
}

h1 img {
    width: 100px;
}

h2{
    text-align: center;
    font-weight: 300;
    font-size: 20px;
        margin-right: 430px;
    margin-top: 35px;
 }
 
        .pro{
            margin-top: 40px;
                margin-left: 15px;
            font-size: 14px;
        }

#line{
     border-bottom: solid 1px #dbdbdb;
    margin-top: 50px;
}

#contens{
    width: 594px;
    margin-left: auto;
    margin-right: auto;
}

.menu {
text-align: center;
        margin-right: 40px;
}

.menu li{
    font-size: 14px;
    display: inline;
     margin: 0 20px 0 20px;
}
  .pc img{
            width: 500px;
        }
        .wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            column-gap: 10px;
    row-gap: 20px;
            
          }
          #global-nav{
    padding-top: 50px;
}
        .works_img img {
            width: 100%;
}
footer{
       margin-top: 0px;
    clear: both;
        border-top: solid 1px #dbdbdb;
}





/* パソコンで見たときは"pc"のclassがついた画像が表示される */

.pc {
        margin-top: 20px;
    display: block !important;
}

.sp {
    display: none !important;
}

#menu_f {
    text-align: center;
    font-size: 12px;
    color: #aaa;
}


@media screen and (max-width: 960px)
/* 960px以下に適用 */

    {

           h2{
               margin-left: 0;
               margin-left: 15px;
        }
        #main_logo img{
 width: 80%;
            text-align: center;
}
    .menu {
    margin-top: 0;
    text-align: center;
    margin-right: 40px;
        font-size: 12px;
}
       /* .works_img img {
    float: left;
    width: 25%;
    height: 25%;
    margin-right: 10px;
    margin-left: 10px;
}*/

       


}

@media screen and (max-width: 480px)
/* 480px以下に適用 */
    {

    body {
        min-width: 0%;
        width: 100%;
padding: 0;
    }

    .wrap {

        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }
        #main_logo img{
            margin-bottom: 50px;
 width: 80%;
            text-align: center;
}

.menu li {

     margin: 0 10px 0 10px;
}
.menu {
    margin-top: 0px;

}
    img {
        width: 100%;
    }

        h1{
                text-align: center;
            margin-bottom: 10px;
        }
        h2{
            margin-bottom: 120px;
            margin-left: 0;
                margin-left: 15px;
    margin-top: 85px;
        }
                .pro{
            font-size: 8px;
        }
        #global-nav {
            margin-top: 10px;
            padding-top: 0px;
        }

        .sp img{
                padding-left: 10px;
            width: 200px;
        }
        

#main_logo {
    margin-bottom: 0px;
 
}
     

        #line{
            margin-bottom: 20px;
        }
        iframe{
            height: 1000px;
            padding: 5px;
        }

    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
        #pagetop {
    width: 40px;
    right: 20px;
    top: -60px;
}
}



}
