a{
  color: #333;
}

body
{
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: #333333;
}

button{
  display: none;
}

.topcontactW{
  width: 1000px;
  position: relative;
  margin: 0 auto;
}

.topcontact{
  position: absolute;
  top: 0;
  right: 0;
}

.topcontact ul{
  display: flex;
  font-size: 15px;
}

.topcontact ul li{
  height: 35px;
  background: #3ca5a5;
  color: #fff;
  width: 200px;
  border-radius: 0 0 5px 5px;
  line-height: 35px;
  margin: 0 0 0 10px;
}

.topcontact ul li:first-child{
  background: #db465d;
}

.topcontact ul li a{
  color: #fff;
  display: block;
  text-decoration: none;
}

.topcontact ul li a:hover{
  opacity: 0.8;
}

/* ================
header
================ */
header
{
  height: 100px;
  display: flex;
  align-items: center;
}

header h1
{
  font-size: 30px;
  width: 50%;
}

main h2{
  font-size: 29px;
}

header nav
{
  width: 50%;
}
header nav ul
{
  width: 500px;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
header nav li
{
  font-size: 12px;
}
header nav li  a
{
  color: #333333;
  text-decoration: none;
}

header nav li  a:hover{
  text-decoration: underline;
}

/* ================
main
================ */
main
{

}
.main_image
{
  background: url(../img/main_img.jpg);
  background-position: top center;
  height: 800px;
}

.news .newsInner,
.business,
.bizCase,
.recruit,
.our_company{
  max-width: 1000px;
  margin: 0 auto;
}

#newsWrap{
  max-height: 180px;
  overflow-y: scroll;
}

.news
{
  background: #ddd;
  padding: 50px 0;
}
.news div.newsInner{

}

.news h2{
  text-align: left;
}

#newsBox {
  background: #fff;
  border-radius: 5px;
  padding: 30px;
}

#newsBox ul {

}

#newsBox li {
  display: flex;
  border-bottom: 1px dashed #ddd;
  margin: 10px 0;
}

#newsBox .date {
  font-size: 12px;
}

#newsBox .title {
  font-size: 14px;
  margin:0 0 0 20px;
}

.business
{
  padding: 50px 0;
}
.business h2 {
  text-align: left;
}
.bizWrite{
  margin: 50px 0 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.bizWrite p{
  text-align: left;
  font-size: 20px;
  font-weight: 100;
}
.bizWrite img {
  width: 250px;
  background: #ddd;
  display: block;
}
.bizCase
{
  padding: 50px 0;
}

.bizCase h2
{
  text-align: left;
}
.bizCase ul{
  display: flex;
  justify-content: space-between;
}
.bizCase li{
  width:calc(100% / 4 - 10px);
}
.bizCase li img{
  width: 100%;
}
.bizCase li:first-child img{
  margin-left: 0;
}

.recruit_wrap{
  background: #ddd;
}
.recruit
{
  padding: 50px 0;
}

.recruit h2{

}

.recruit dl{
  font-size: 16px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.recruit dl dt,
.recruit dl dd{
  margin: 0 0 2px 0;
}
.recruit dl dt{
  width: 20%;
  height: 80px;
  background: #454545;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.recruit dl dd{
  width: 80%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  padding:0 20px;
}

.our_company{
  padding: 50px 0;
}

.our_company h2{
}

.our_company table{
  margin: 30px auto 0;
  font-size: 18px;
  width: 400px;
}

.our_company tr{
  height: 60px;
}

.our_company th,
.our_company td{

  text-align: left;
  border-bottom: 1px solid #ddd;
}

.map iframe{
  vertical-align: bottom;
}

/* ================
footer
================ */
.fWrap{
  background: #ddd;
}
footer
{
  width: 1000px;
  height: 400px;
  display: flex;
  margin: 0 auto;
}

footer .fleft{
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .fleft img{
}

footer .fright{
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer .fright .fnav{
  width: 70%;
}

footer .fright .fnav ul{
  font-size: 15px;
  display: flex;
  justify-content: space-between;
}

footer .fright .faddress{
  margin: 30px 0 0 0;
  padding: 0;
  font-size: 16px;
}

footer .fright .ftel{
  margin: 0;
  padding: 0;
  font-size: 35px;
}

footer .fcontact{
  display: block;
  background: #48bcc1;
  border-radius: 10px;
  font-size: 20px;
  width: 310px;
  height: 50px;
  margin-top: 30px;
  line-height: 50px;
  color: #fff;
  text-decoration: none;
}

footer .fcontact:hover{
  opacity: 0.8;
}

/* ニュース用CSS */

/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

ul#newsList{
  margin:0 0 15px;
  padding:0;
  font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
ul#newsList li{
  color:#666;
  font-size:12px;
  margin:0;
  padding:5px 0;
  margin-bottom:3px;
  border-bottom:1px dotted #ccc;
  line-height:120%;
  list-style-type:none;
}
ul#newsList li a{color: #666; text-decoration:none;}
ul#newsList li a:hover{color:#039;text-decoration:underline;}

.catName{
  display:inline-block;
  padding:3px 8px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:11px;
  line-height:100%;
  margin:0 2px;
}
.newMark{
  display:inline-block;
  border:1px solid #F00;
  padding:1px 4px;
  font-size:11px;
  line-height:100%;
  background:#F00;
  color:#fff;
  box-shadow:1px 1px 1px #999;
  border-radius:8px;
  font-style:italic;
}
.comment{
  display:block;
  padding:3px 0;
  float:left;
  overflow:hidden;
  width:500px;/* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
}
.thumbNailWrap{
  display:block;
  width:110px;
  float:left;
  height:80px;
  overflow:hidden;
}

@media screen and (max-width:999px){
  .menuopen{
    display: block;
  }
  .active{
    display: block;
  }
  .topcontactW {
    width: 100%;
    position: fixed;
    bottom: 50px;
  }
  .topcontactW .topcontact {
    width: 100%;
  }
  .topcontact ul {

  }
  .topcontact ul li {
    margin: 0;
    width: 50%;
    border-radius: 0;
    height: 50px;
    line-height: 50px;
  }
  .topcontact ul li a {
  }
  header{
    position: relative;
    height: 60px;
    align-items: flex-start;
  }
  header h1{
    line-height: 60px;
    text-align: left;
    padding-left: 10px;
    font-size: 15px;
  }
  header h1 img{
    max-width: 100%;
    max-height: 50px;
  }
  .hnav{
    width: 100%;
    height: 100%;
    transition: all 0.2s;
    transform: translate(100%);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.95);
  }
  nav.open {
    transform: translate(0);
  }
  header button{
    margin: 0;
    padding: 0;
    border: none;
    width: 100px;
    height: 50px;
    position: absolute;
    background: #000;
    right: 5px;
    color: #fff;
    top: 5px;
    line-height: 50px;
    font-size: 15px;
    z-index: 2;
  }
  header button span{
    width: 100%;
    height: 4px;
    background: #000;
    display: block;
    position: absolute;
    border-radius: 2px;
  }
  header nav ul{
    display: block;
    width: inherit;
    margin: 60px 0 0 0;
  }
  header nav ul li{
    height: 50px;
    line-height: 50px;
    border-top: 1px solid #000;
  }
  header nav ul li:last-child{
    border-bottom: 1px solid #000;
  }
  header nav ul li a{
    font-size: 16px;
  }
  .main_image{
    height: calc(100vh - 110px);
    background-size: cover;
  }
  .news .newsInner,
  .business,
  .bizCase,
  .recruit,
  .our_company {
    width: 100%;
    margin: 0 auto;
  }
  .news{
    width: 100%;
    padding: 20px;
  }
  .news h2{
    font-size: 22px;
  }
  .news #newsBox{
    padding: 10px 10px;
    margin: 20px 0 0 0;
  }
  .business{
    padding: 20px
  }
  .business h2{
    font-size: 22px;
  }
  .bizWrite p{
    font-size: 14px;
  }
  .business img{
    width: 40%;
  }
  .bizCase{
    padding: 20px;
  }
  .bizCase h2{
    font-size: 22px;
  }
  .bizCase ul{
    flex-wrap: wrap;
  }
  .bizCase ul li{
    width: calc(100% / 2);
    background: #fff;
  }

  .bizCase ul li img{
    padding: 10px;
    width: 100%;
  }
  .recruit dl{
    padding: 20px;
  }
  .our_company table{
    width: 100%;
  }
  footer{
    height: inherit;
    width: 100%;
    flex-direction: column-reverse;
    margin-bottom: 80px;
    background: #fff;
  }
  footer .fcontact{
    display: none;
  }
  footer .fright,
  footer .fleft{
   width: 100%;
  }
  footer .fleft{
    font-size: 25px;
  }
  footer .fright .fnav{
    width: 100%;
  }
  footer .fright .fnav ul{
    flex-wrap: wrap;
  }
  footer .fright .fnav ul li{
    width: 50%;
    padding: 20px 0;
    border-bottom: 1px solid #fff;
    background: #5f5f5f;
    color: #fff;
    box-sizing: border-box;
  }
  footer .fright .fnav ul li:nth-child(2),
  footer .fright .fnav ul li:nth-child(4){
    border-left: 1px solid #fff;
  }
  footer .fright .fnav ul li a{
    color: #fff;
  }
  .recruit dl{
    font-size: 12px;
  }
  .ftel a{
    font-size: 20px;
  }
}
