body{
  background-color: #d2d2d2;
}
.container{
  width: 1200px;
  background-color: white;
  margin: 0 auto;
}
.h-title{
 height: 100px;
 border-top: 5px solid blue;
 position: relative;
}
.h-title .h-logo{
 width: 300px;
 position: absolute;
 top: 50%;
 left: 4%;
 transform: translateY(-50%);
}
.h-nav{
  border-top: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
}
.h-menu{
  letter-spacing: -.4em;
}
.h-list{
  display: inline-block;
  width: calc(100%/6);
  position: relative;
  letter-spacing: normal;
  height: 64px;
  border-right: 1px solid #d2d2d2;
  box-sizing: border-box;
  vertical-align: bottom;
}
.h-list:hover .h-1top{
  color: #0e36ca;
}
.h-list:hover{
  background-color: #e6ebfa;
}
.h-list:hover .h-1box{
 border-left: 3px solid #103deb;
}
.h-1box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90%;
  text-align: center;
}
.h-1top{
 font-size: 15px;
 color: #666666;
 margin-bottom: 4px;
}
.h-1bottom{
 font-size: 10px;
 color: #bababa;
 text-align: center;
}
.active{
  background-color: #e6ebfa;
}
.active .h-1box{
  border-left: 3px solid #103deb;
 }
.active .h-1top{
  color: #0e36ca;
}
.h-img{
  max-width: 100%;
  height: auto;
}
.contents{
  padding: 30px;
  display: flex;
  flex-direction: row;
}
.main{
  width: 100%;
}
.m-h2{
  background: #0f3bda;
  color: #fff;
  padding: 14px 12px 14px 24px;
  border-radius: 4px;
  font-size: 18px;
  margin-bottom: 24px;
}
.m-h2::first-letter{
  border-left: 3px solid #8e9eef;
  padding-left: 16px;
}
.m-h3{
  background: #f6f6f6;
  color: #666;
  padding: 14px 12px 14px 24px;
  border-radius: 4px;
  font-size: 17px;
  border: #ccc 1px solid;
}
.m-section{
  color: #666666;
  margin-bottom: 24px;
}
.u-border{
  text-decoration: underline 1px #666666;
}
.recruit{
 padding: 10px;
}
.recruit table .m-section-th{
  text-align: left;
}
.recruit table .heading{
  text-align: center;
}
.link table .m-section-th{
  text-align: left;
}
.link table .heading{
  text-align: center;
}
.m-info{
  margin-left: 12px;
  margin-right: 12px;
  font-size: 15px;
}
.m-info-date{
  float: left;
  padding: 8px 32px 8px 0;
  color: blue;
}
.m-info-content{
  padding: 8px;
  border-bottom: 1px solid #ccc;
}
.m-info-new{
  background-color: red;
  font-size: 11px;
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}
.m-log{
  text-align: right;
  padding-top: 24px;
}
.m-log a{
  color: #666666;
}
.m-p{
  font-size: 15px;
  color: #666666;
  margin: 24px 16px;
  line-height: 2;
}
.m-p a{
  color: #666666;
}
.m-p .gray{
  border: 1px solid #cccccc; 
  background-color: #cccccc;
  border-radius: 4px;
  color: black;
  font-weight: lighter;
  padding: 5px;
 }
.m-point{
  color: red;
}
.m-pointbold{
  color: red;
  font-weight: bold;
}
.m-section table{
  width: 100%;
}
.m-section th{
  border:1px solid #ccc;
  padding: 15px;
  width: 25%;
  text-align: center;
}
.m-section td{
  border:1px solid #ccc;
  padding: 15px;
  text-align: left;
}
.m-section td a{
  color: #666666;
  text-decoration: underline;
}
.m-section td a:hover{
  color: blue;
  text-decoration: none;
}
.m-section .link .heading{
  width: 25%;
}
.card{
  border: 1px solid #ccc;
  padding: 20px;
  overflow: hidden;
  line-height: 2;
  position: relative;
  box-shadow: 0px 5px 10px #ccc;
  background: linear-gradient(#fff,#ddd);
}
.card:hover{
  box-shadow: 0px 10px 20px #ccc;
  transform: translateY(-5px);
  transition: .3s;
}
.card img{
  width: 25%;
  float: left;
  margin-right: 10px;
}
a{
  text-decoration: none;
  color: #666
}
.card h4{
  color: blue;
}
.card::before{
  content: "→";
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  border-radius: 3px;
  background: #666;
  width: 30px;
  height: 30px;
  text-align: center;
}
.card-no{
  border: 1px solid #ccc;
  padding: 20px;
  overflow: hidden;
  line-height: 2;
  position: relative;
  box-shadow: 0px 5px 10px #ccc;
  background: linear-gradient(#fff,#ddd);
}
.card-no h4{
  color: blue;
}
.contact{
  width: 100%;
}
.contact th{
  border: solid 1px #ccc;
  padding: 10px;
  color: #666666;
  width: 25%;
  vertical-align: middle;
}
.contact td{
  border: solid 1px #ccc;
  padding: 10px;
  color: #666666;
}
.contact .namemail{
  width: 60%;
}
textarea{
  width: 90%;
}
.m-p input .submit{
  width: 20%;
}
form{
  text-align: center;
}
.s-framebox{
  padding: 10px;
  border: 1px solid #ccc;
  background: #f4f4f4;
  margin-bottom: 24px;
  color: #666666;
}
.s-box{
  margin-bottom: 24px;
  color: #666666;
}
.s-h4{
  padding: 28px 10px;
  border-top: 5px solid blue;
  background: #eeeeee;
  border-bottom: 1px solid #d2d2d2;
}
.s-list{
  border-bottom: 1px solid #d2d2d2;
  padding: 15px;
  overflow: hidden;
}
.s-list a{
  text-decoration: none;
  color: #666666;
}
.s-list:hover{
  background: white;
}
.s-list:hover a{
  color: blue;
}
.s-img{
  float: left;
  width: 20%;
  margin-right: 5px;  
}
.s-l-title{
  color: blue;
  font-size: 11px;
}
.s-l-description{
  font-size: 11px;
}
.s-company-title{
  font-weight: bold;
  text-align: center;
  font-size: 15px;
  padding: 10px 0;
}
.s-company-info{
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}
.footer{
  text-align: center;
  font-size: 13px;
  clear: both;
  background: blue;
  color: #ffffff;
  padding: 16px 0;
  line-height: 2;
}
.footerunder{
  font-size: 12px;
}
.footer a{
  text-decoration: none;
  color: #ffffff;
}
.footer a:hover{
  color: blue;
  }


#nav-open span, #nav-open span:before,#nav-open span:after{
  position: absolute;
  height: 3px;
  width: 30px;
  background: #666;
  content: "";
  cursor: pointer;
}
#nav-open span{
  top: 38px;
  right: 30px;
}
#nav-open span:before{
  bottom: -12px;
}
#nav-open span:after{
  bottom: -24px;
}
#nav-input{
  display: none;
}

.nav-invisible{
  display: none;
}
#nav-contents{
  position: absolute;
  top: 100px;
  z-index: 100;
  width: 100%;
  height: auto;
  background: black;
  transition: .3s;
  opacity: 0;
}

#nav-input:checked ~ #nav-contents{
  opacity: .8;
}

.sp-menu-list{
  border-bottom: 1px solid white;
  text-align: left;
  line-height: 2.0;
  padding: 16px;
}

.sp-menu-list a{
  color: white;
  text-decoration: none;
}

.sp-menu-top{
  font-size: 18px;
}

.sp-menu-bottom{
  font-size: 11px;
}

@media screen and (max-width: 780px){
  body{
    font-size: 12px;
    line-height: 1.5;
  }
  .container{
    width: 98%;
  }
  .h-title .h-logo{
    width: 60%;
  }
  .h-nav{
    display: none;
  }
  .main{
    width: auto;
  }
  .m-h2, .m-h3{
    font-size: 16px;
    line-height: 1.5;
    padding: 7px 6px 7px 8px;
  }
  .m-h2::first-letter{
    padding-left: 8px;
  }
  .m-info-content{
    font-size: 8px;
    line-height: 1.5;
  }
  .m-info-new{
    font-size: 8px;
    padding: 1px 2px;
  }
  .m-log a{
    font-size: 12px;
  }
  .m-info-date{
    font-size: 8px;
  }
  .contents{
    flex-direction: column;
    padding: 2%;
  }
  .side{
    width: auto;
    padding: 0;
  }
}