body {
    color: #333333;
}

h1,h2,h3,p {
    text-align: center;
    font-family: "游明朝","YuMincho","ヒラギノ明朝 proN W3","Hiragino Mincho proN","MS P明朝","MS明朝",serif;
}
h1 {
    border-top: solid 10px cornflowerblue;
    margin-top: 0;
    padding: 50px 0 10px 0;
}

h2 {
    font-size: 2.6rem    
}

h3{
    font-size: 1.5rem;
}

p {
    font-size: 16px;
    line-height: 1.375;
}
.inline {
    width: 70%;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}
.inline2 {
    width: 50%;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

section {
    padding: 1.3rem 0 1rem;
}

/*ヘッダー　*/
header p {
    text-align: center;
    font-size: 14px;
}

/* グローバルナビ */
.globalNavi {
    margin: 0 auto;
    margin: 30px 0 0;
    background: linear-gradient(0deg,#1037D5,#31AEE7);
    
}
.globalNavi ul {
    width: 600px;
    padding: 0;
    margin: 0 auto;
}
.globalNavi ul:after {
    content: "";
    clear: both;
    display: block;
}
.globalNavi ul li {
    width: 150px;
    float: left;
    border-right: solid 1px #FFFFFF;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px;
    line-height: 1.429;
    text-shadow: 0 0 3px rgba(255,255,255,0.6);
}
.globalNavi ul li:first-child {
    border-left: solid 1px #FFFFFF;
}
.globalNavi ul li a{
    color: #FFF;
    display: block;
    padding: 15px 0;
}
.globalNavi ul li a:hover {
    background-color: #FFFFFF;
    color: cornflowerblue;
}

/* メインビジュアル　*/
.mainVisual  {
    height: 524px;
}

/* お知らせ */
#news table {
    width: 80%;
    margin: 0 auto;
}
#news  th, 
#news  td {
    font-size: 14px;
    line-height: 1.429;
    border-bottom: dotted 1px #CCCCCC;
    padding: 10px 0;
    vertical-align: top;
}
#news  th {
    white-space: nowrap;
   padding-right: 30px; 
}
#news  td {
    width: 100%;
}

/* 企業概要　*/
#about {
    background-image: url(../image/background-img1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#about ul {
    list-style: square;
}
/* 表　*/
.details {
}
.details table {
    width: 80%;
    margin: 0 auto;
    border: solid 1px #CCCCCC;
    border-collapse: collapse;
}

.details table th,
.details table td {
    border: solid 1px #CCCCCC;
    padding: 5px 10px;
}
.details table th {
    background-color: cornflowerblue;
    white-space: nowrap;
}
.details table td {
    background-color: #FFFFFF;
    width: 100%;
}

/* 協力会社 */
.company {
    width: 50%;
    text-align: left;
    margin: 0 auto;
}
.company ul li a{
    text-decoration: none;
    color: inherit;
}
.company ul li a:hover {
    color: cornflowerblue;
}
/* 事業内容　*/
#description h3 img {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    display: block;
}

/* 工業機械の製作　*/
.mainDescription p {
    margin: 50px 0;
}
.mainDescription .photo img {
    margin: 10px;
}

/* その他　*/
.other p {
    margin: 50px 0;
}

/* 製品例　*/
#product {
    background-image: url(../image/background-img2.jpg);
    background-size: cover;
    background-repeat: no-repeat;    
}
#product .inline {
    width: 70%;
    margin: 0 auto;
}
#product::after {
    content: "";
    display: block;
    clear: both;
}
#product a:hover {
    opacity: 0.8;
}
#product figcaption {
    font-size: 13px;
    padding: 5px;
}
#product ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#product li {
    padding: 10px;
    flex: 0 0 19%;
}

/* お問い合わせ　*/
#contact h2,
#access h2 {
    font-size: 1.8rem;
}

/*　フッター */
footer {
    background: linear-gradient(0deg,#1037D5,#31AEE7);
    margin: 0;
    padding: 20px 0 0;
}
footer ul {
    display: flex;
}
footer ul li{
    padding: 0 10px;
}
footer ul li a {
    color: inherit;
    text-shadow: 0 0 3px rgba(255,255,255,0.6);
}
footer ul li a:hover {
    color: #FFFFFF;
}
footer .inline {
    width: 400px;
    margin: 0 auto;
    text-align: center;
}
footer .inline p {
    font-size: 14px;
    color: black;
}

/*　先頭へ戻る　*/
#pagetop {
    text-align: right;
    margin-right: 30px;
}
#pagetop a {
    color: inherit;
    font-size: 0.8em;
}
#pagetop a:hover {
    color: cornflowerblue;
}

/* コピーライト　*/
#copyright {
    background-color: #CCCCCC;
    text-align: center;
}

/* ここから上がPC向けCSS */
@media screen and (max-width: 480px) {
    
    /*この中がスマートフォン向けCSS */
    img {
        border: 0;
        max-width: 100%;
        height: auto;
    }
    ul {
        -webkit-padding-start: 0;
    }
    article .inline {
        width: 90%;
    }
    h1 {
        margin: 10px;
    }
    header p {
        margin: 10px;
    }
    
    /*　グローバルナビ　*/
     .globalNavi {
        background: rgba(255,255,255,0.85);
        position: relative;
        z-index: 1;
         display: none;
    }
    .globalNavi ul {
        display: block;
        padding: 20px 0 12rem 0;
        width: 100%
    }
    .globalNavi ul li {
        font-size: 0.85rem;
        padding: 20px;
        color: #606060;
        border-bottom: 1px solid rgba(118,123,133,0.3);
        text-align: center;
        width: 100%;
    }
    .globalNavi ul li a {
        color: #333;
        font-weight: normal;
        text-align: none;
    }
    .globalNavi ul li a:hover {
        color: #1861ae!important;
    }
    
    /*　メインビジュアル　*/
    .mainVisual  {
        height: 286.86px;
    }
    
    /*　お知らせ　*/
    #news table {
       width: 100%; 
    }    
    /*　企業概要　*/
    .company {
        width: 70%;
    }
    .details table {
        width: 100%;
    }
    
    /*　事業紹介　*/
    #product .inline {
        
    }
    #product ul {
        display: block;
    }
    
    /* フッター　*/
    .footer ul {
        display: block;
    }
    footer ul {
        display: block;
    }
    footer .inline {
        width: 90%;
    }
   　footer nav {
        width: 100%;
    }
    footer nav ul li {
        flex-grow:1;
        flex-basis: auto;
        border-bottom: 1px solid #c0c0c0;
        padding: 1rem 0;
    }
    footer nav ul li:first-child {
        border-top: 1px solid #c0c0c0;
    }
    footer nav ul li a {
        display: block;
    }
    footer .inline {
        width: 100%;
    }
   
    /*　スマートフォン用メニュー　*/
    #menuWrapper {
        width: 100%;
        background: rgba(255,255,255,0.85);
        padding: 15px 15px 10px 15px;
        position: fixed;
        box-sizing: border-box;
    }
    
    .trigger,.trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    .trigger {
        position: relative;
        width: 35px;
        height: 30px;
    }
    .trigger span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: #718085;
        border-radius: 4px;
        opacity: 1;
    }
    .trigger a:hover {
        opacity: 1;
    }
    .trigger span:nth-of-type(1){
        top: 0;
    }
    .trigger span:nth-of-type(2) {
        top: 12px;
    }
    .trigger span:nth-of-type(3){
        bottom: 0;
    }
    .trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(10px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }
    .trigger.active span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
        -webkit-animation: active-menu-bar02 .8s forwards;
        animation: active-menu-bar02 .8s forwards;
    }
    @-webkit-keyframes sctive-menu-bar02 {100%{height: 0}}
    @keyframes active-menu-bar02 {100%{height: 0; }}
    .trigger.active span:nth-of-type(3){
        -webkit-transform: translateY(-15px) rotate(45deg);
        transform: translateY(-15px) rotate(45deg);
    }
    .onanimation{
        display: block;
    }
    