
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* cssリセットここまで */

body{
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;;
    background: #e2e2e2;
}

.container{
    margin: 0 auto;
    max-width: 1200px;
    background: #fff;
}

/* ヘッダーここから */
.h-h1{
    height: 100px;
    position: relative;
    border-top: 5px solid #0e36ca;
}

.h-logo{
    width: 300px;
    position: absolute;
    top: 50%;
    left: 4%;
    transform:translateY(-50%);
}

.h-nav{
    letter-spacing: -.4em;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
    text-decoration: none;
}

.h-list{
    display: inline-block;
    width: calc(99.9%/6);
    border-right: 1px solid #d2d2d2;
    position: relative;
    height: 64px;
    box-sizing: border-box;
    vertical-align: bottom;
}

.h-l-box{
    letter-spacing: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #666;
    width: 90%;
    text-align: center;
}

.h-l-top{
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: bolder;
}

.h-l-bottom{
    color: #c9baba;
    font-size: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.h-image{
    width: 100%;
    height: auto;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
    display:none;
  }

/* ヘッダー781px以上はこれを表示 */

@media screen and (min-width:781px){

    .h-list:last-child{
        border: none;
    }

    .h-list:hover{
        background: #e6ebfa;
        transition: .3s;
    }

    .h-list:hover::before{
        content: '';
        background: #0e36ca;
        width: 4px;
        height: 60%;
        top: 13px;
        left: 10px;
        position: absolute;
        transition: .3s;
    }

    .h-list:hover .h-l-top{
        color: #0e36ca;
        }

    .now{
        background: #e6ebfa;
    }

    .now::before{
        content: '';
        background: #0e36ca;
        width: 4px;
        height: 60%;
        top: 13px;
        left: 10px;
        position: absolute;
    }
}

/* ヘッダー781px以上はこれを表示ここまで */

/* ヘッダースマホ780px以下はこれを表示 */

@media screen and (max-width:780px){

    .h-list{
        display: block;
        background: #000;
        opacity: .8;
        width: 100%;
        height: 94px;
        border-bottom: 1px solid #fff;
    }

    .h-l-top{
        margin-bottom: 15px;
        color: #fff;
        font-size: 18px;
        font-weight: normal;
        text-align: left;
    }
    
    .h-l-bottom{
        color: #fff;
        font-size: 13px;
        letter-spacing: 1px;
        text-align: left;
    }


    #nav-drawer{
        position: relative;
      }
      
          
      /*アイコンのスペース*/

      #nav-open {
        display: inline;
        width: 30px;
        height: 22px;
        vertical-align: middle;
      }
      
      /*ハンバーガーアイコンをCSSだけで表現*/
      .span1 {
        position: absolute;
        height: 4px;/*線の太さ*/
        width: 31px;/*長さ*/
        background: #000;
        display: block;
        content: '';
        cursor: pointer;
        top: 60px;
        right: 35px;
      }

      .span2 {
        position: absolute;
        height: 4px;/*線の太さ*/
        width: 31px;/*長さ*/
        background: #000;
        display: block;
        content: '';
        cursor: pointer;
        top: 50px;
        right: 35px;
      }

      .span3 {
        position: absolute;
        height: 4px;/*線の太さ*/
        width: 31px;/*長さ*/
        background: #000;
        display: block;
        content: '';
        cursor: pointer;
        top: 40px;
        right: 35px;
      }
      

      .span4{
        position: absolute;
        height: 53px;
        width: 53px;
        border: 1px solid #000;
        content:'';
        right: -11px;
        top: -15px;

      }
      
      /*中身*/
      #nav-content {
        overflow: auto;
        position: absolute;
        top: 100;
        left: 0;
        z-index: 9999;/*最前面に*/
        width: 100%;/*右側に隙間を作る（閉じるカバーを表示）*/
        height: 570px;
        transform: translateX(-105%);/*左に隠しておく*/
      }
      
      /*チェックが入ったらもろもろ表示*/
     
      #nav-input:checked ~ #nav-content {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);/*中身を表示（右へスライド）*/
      }  

      #nav-input:checked ~ label:after {
        content: '×';
        font-size: 51px;
        background: #fff;
        top: 27px;
        right: 33px;
        position: absolute;
    }
}
/* ヘッダースマホ780px以下はこれを表示ここまで */

/* ヘッダースマホここまで */

/* ヘッダーここまで */

/* メインここから */

/* メイン781px以上はこれを表示 */

@media screen and (min-width:781px){
    .main{
        float: left;
        width: 67%;
        margin: 25px;
    }
}

/* メイン781px以上はこれを表示ここまで */

/* メイン780px以下はこれを表示 */

@media screen and (max-width:780px){
    .main{
        width: 95%;
        margin: 25px auto;
    }
}

/* メイン780px以下はこれを表示ここまで */

.m-h2{
    margin-bottom: 20px;
    padding: 15px 40px;
    color: #fff;
    background: #103bdc;
    font-weight: normal;
    font-size: 18px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px #e2e2e2;
    position: relative;
}

.m-h2::before{
    content: '';
    background: #879dee;
    width: 3px;
    height: 30px;
    top: 10px;
    left: 20px;
    position: absolute;
}

.m-dl{
    margin: 20px;
    line-height: 2;
}

.m-dt{
    float: left;
    color: #0e36ca;
    margin-right: 20px;
    letter-spacing: 0.1em;
}

.m-dd{
    color: #666;
    border-bottom: 1px solid #ccc;
}

.m-new{
    color: #fff;
    background: red;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 11px;
    vertical-align: top;
}

.main a{
    color: #666;
}

.main a:hover{
    color: #0e36ca;
    text-decoration: none;
}

.m-log{
    text-align: right;
    margin-right: 20px;
    margin-bottom: 30px;
}

.m-h3{
    color: #666;
    background:linear-gradient(#fff, #eee);
    border: 1px solid #ccc;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: normal;
    font-size: 17px;

}
.m-p{
    margin: 10px 20px;
    line-height: 2;
    color: #666;
    font-size: 15px;
}

.m-red{
    color: red;
}

.m-p .m-red{
    font-weight: bold;
}

/* メインcompany */

.m-table{
    width: 100%;
    margin-bottom: 30px;
}

.m-th, .m-td{
    padding: 17px;
    color: #666;
    border: 1px solid #ccc;
    font-size: 15px;
}

.m-th{
    width: 20%;
    font-weight: normal;
}

.m-p .m-gray{
    padding: 5px 10px;
    color: #444;
    background: #ccc;
    border-radius: 3px;
}

/*  メインcompanyここまで */

/* メインservice */

.m-s-box{
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(#fff, #f6f6f6);
    border: 1px solid #ccc;
    box-shadow: 1px 2px 3px 2px #e5e5e5;
    overflow: hidden;
    position: relative;
}

.m-s-nobox{
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(#fff, #f6f6f6);
    border: 1px solid #ccc;
    box-shadow: 1px 2px 3px 2px #e5e5e5;
}

.m-s-box:hover{
    background: #fff;
    transition: .3s;
}

.m-s-box::before{
    content: '→';
    position: absolute;
    border-radius: 2px;
    width: 30px;
    height: 22px;
    color: #fff;
    background: #7e7e7e;
    padding-top: 8px;
    top: 20px;
    right: 20px;
    text-align: center;
}

.m-s-box:hover::before{
    background: #000;
}

.m-s-img{
    margin-right: 10px;
    width: 30%;
    float: left;
}

.m-s-title{
    margin: 5px 0px 10px 0px;
    color: #0e36ca;
    font-size: 18px;
}

.m-s-p{
    line-height: 2;
    color: #666;
    font-size: 15px;
}

.m-s-link{
    text-decoration: none;
}

.m-s-box:hover .m-s-p{
    color: #0e36ca;
}



/* メインserviceここまで */

/* メインrecruit */

.m-caption{
    padding: 17px;
    color: #666;
    border: 1px solid #ccc;
    border-bottom: none;
    font-size: 15px;
    text-align: left;
}

/* メインrecruitここまで */

/* メインcontact */

.m-red2{
    color: red;
}

.m-con-table{
    width: 100%;
}
.m-con-th, .m-con-td{
    padding: 15px;
    color: #666;
    border: 1px solid #ccc;
    font-size: 15px;
    font-weight: normal;
}

.m-con-th{
    vertical-align: middle;
    width: 140px;
}

.m-con-td{
    text-align: left;
}

input{
    width: 50%;
}

textarea{
    width: 95%;
}

.m-con-button{
    padding: 3px;
    margin-top: 20px;
    width: 130px;
    font-size: 15px;
}

.m-con-form{
    text-align: center;
}

/* メインcontactここまで */

/* メインここまで */

/* サイドここから */

/* サイド781px以上はこれを表示 */

@media screen and (min-width:781px){
    .side{
        float: left;
        width: 23%;
        margin: 20px 10px;
    }
}

/* サイド781px以上はこれを表示ここまで */

/* サイド780px以下はこれを表示 */

@media screen and (max-width:780px){
    .side{
        width: 95%;
        margin: 25px auto;
    }
}

/* サイド780px以下はこれを表示ここまで */

.s-framebox{
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(#fff, #eaeaea);
    border: 1px solid #d2d2d2;
    box-shadow: 0px 0px 0px 1px #fff inset;
    color: #666;
}

.s-h4{
    padding: 20px 10px;
    border-top: 4px solid #0e36ca;
    border-bottom: 1px solid #d2d2d2;
    background: #eee;
}

.s-ul{
    list-style: none;
}

.side a{
    color: #666;
    text-decoration: none;
}

.side a:hover{
    color: #0e36ca;
}

.s-list{
    border-bottom: 1px solid #d2d2d2;
    padding: 10px;
    font-size: 15px;
    overflow: hidden;
}
.s-list:hover{
    background: #fff;
    transition: .3s;
}

.s-noframebox{
    margin-bottom: 20px;
    color: #666;
}

.s-img{
    width: 20%;
    float: left;
    margin-right: 10px;
}

.s-l-title{
    color: #0e36ca;
    font-size: 12px;
}

.s-l-description{
    font-size: 11px;
}

.s-company{
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.s-address{
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
}


/* サイドここまで */

/* フッターここから */

.footer{
    color: #fff;
    background: #0e36ca;
    clear: both;
    text-align: center;
    padding: 20px;
}

.footer a{
    color: #fff;
    text-decoration: none;
}

.footer a:hover{
    color: #0e36ca;
    transition: .3s;
}

.footer-top{
    font-size: 13px;
}

.footer-bottom{
    padding-top: 10px;
    font-size: 12px;
}

/* フッターここまで */

/* 上に戻るボタン */

.page-top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 40px;
    bottom: 100px;
    background: #030303;
    border: 1px solid #fff;
    opacity: .6; 
}

.page-top a::before{
    content: '↑';
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

.page-top:hover{
    background: #aaa;
    opacity: 1;
    transition: .3s;
}

/* 上に戻るボタンここまで */

