@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}
body {
  background: url(../img/patterns/zwartevilt.png);
  color: #404040;
  font-weight: lighter;
  line-height: 1.7em;
  font-family: Avenir, Helvetica, Arial, Verdana, Roboto, sans-serif,
               "游ゴシック",
               "Yu Gothic",
               "游ゴシック体",
               "YuGothic",
               "メイリオ",
               "Meiryo",
               "ヒラギノ角ゴ ProN W3",
               "Hiragino Kaku Gothic ProN",
               "ＭＳ Ｐゴシック",
               "MS P Gothic";
}
a {
  text-decoration:none;
}
section {
  font-size: 17px;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.wd-1020 {
  width: 1020px;
  margin: 0 auto;
}
.wd-100 {
  width: 100%;
}
.wd-55per {
  width: 55%;
}
.wd-50per {
  width: 50%;
}
.wd-40per {
  width: 40%;
}
.hi-auto {
  height: auto;
}
.fl-l {
float: left;
}
.fl-r{
float:right;
}
.fz-10{
  font-size:10px;
}
.fz-14{
  font-size:14px;
}
.fz-25{
  font-size:25px;
}
.line-h-35{
  line-height:35px;
}
.f-white{
  color:#FFF;
}
.bold{
  font-weight:bold;
}
.pd-tb-100{
  padding:100px 0;
}
.m-top-10{
  margin-top:10px;
}
.m-btm-7{
  margin-bottom:7px;
}
.l-h-15{
  line-height: 15px;
}
.title{
  font-size:20px;
  font-weight:700;
  white-space:nowrap;
  width:150px;
  border-bottom:solid 1px #f19500;
  padding-bottom: 20px;
}
header{
  height:80px;
  background:#FFF;
  position:fixed;
  z-index:999;
  top:0;
  border-top:solid 3px #f19500;
}
header .wd-1020{
  position:relative;
}
#logo{
  position:absolute;
  top:25px;
  left:0;	
}
#gl_menu{
  position:absolute;
  top:23px;
  right:0;
}
#gl_menu li{
  list-style:none;
  display:inline-block;
  margin-right:30px;
}
#gl_menu li:last-child{
  margin-right:0;
}
#gl_menu li a{
  color:#727272;
  font-size:17px;
  font-weight:600;
}
#gl_menu li a:hover{
  color:#f19500;
}
.gl_menu_m label,.gl_menu_m input[type=checkbox]{
  display:none;
}
#topbanner{
  background:url(../img/top_bg.jpg) #f19500;
  background-position: 50% 80px;
  background-size:cover;
  background-attachment:fixed;
}
/* TODO temporary holder for mock youtube image
        remove or replace when video is ready
#topbanner img {
  margin: 0 auto;
  padding: 150px 0 70px;
  display: block;
}
*/
#about{
  background:url(../img/about_bg.jpg) #f19500;
  background-position:center;
  background-size:cover;
  margin-top: 80px; /* TODO remove when youtube video added */
}
#about h2 {
  color: #404040;
}
#about .title {
  margin-bottom: 40px;
  border-color: #fff;
}
.pfx-demand {
  height: 420px;
}

.pfx-example {
  height: 420px;
}
.about_r-box_text{
  margin-top:70px;
}
#merit{
  background:#FFF;
}
#merit article {
  overflow: hidden;
  padding: 0 50px;
  box-sizing: border-box;
}

#merit article > img {
  width: 100%;
}
.merit_l-box{
  margin-top:50px;
}
.merit_l-box_text{
  margin-top:50px;
}
.merit_r-box{
  margin-top:140px;	
}
.merit_r-box_m{
  display:none;
}
#media{
  background:#f6f6f6;
}
.media_title{
  margin:0 auto 100px auto;
}
.media_list{
  width:1020px;
  margin:0 auto;
}
.media_list li{
  width:20%;
  list-style:none;
  display:inline-block;
  margin-right: -4px;
  vertical-align: top;
  margin-bottom: 40px;
}
.media_list img{
  display:block;
  margin:0 auto;
  width:80%;
}
.media_list_mini_img{
  width: 160px;
}
#company{
  background: url(../img/patterns/binding_dark.png);
  color:#FFF;
}
.company_title{
  margin-bottom:65px;
}
.company_map{
  border:0; 
  margin-bottom:100px;
  height: 400px;
  width: 400px;
}

.company_l-box{
  font-size:11px;
  margin-bottom:100px;
}
.company_contact-btn{
  display:block;
  margin:0 auto;
  padding: 20px 0;
  width:300px;
  border:solid 5px #FFF;
  background:none;
  color:#FFF;
  font-weight:bold;
  font-size:25px;
  text-align: center;
  border-radius: 45px;
}
.company_contact-btn:hover{
  background: #f19500;
}
footer{
  background:#000;
  font-size:12px;
  color:#FFF;
  padding:20px 0;
  text-align:center;
}

/*
  モバイル media query
*/
@media screen and (max-width:600px) {
  header{
    height:40px;
    border-style:none;
  }
  .title{
    font-size:20px;
    width:100px;
    padding: 0;
  }

  .wd-55per,.wd-50per,.wd-40per,.media_list,.company_l-box,.merit_l-box_m,.media_list{
    width:100%;
  }
  .wd-1020{
    margin:0 auto;
    width:88%;
  }
  .pd-tb-100{
    padding:30px 0;
  }
  .fl-l,.fl-r{
    float:none;
  }
  #logo{
     position:absolute;
     top:10px;
     left:0;	
     height:20px;
  }
  #gl_menu{
    display:none;
    position:absolute;
    top:40px;
    right:-22px;
    background:#FFF;
    width:auto;
  }
  #gl_menu li{
    display:block;
    margin: 0;
  }
  #gl_menu li a {
    display: block;
    padding: 10px 15px;
  }
  .gl_menu_m{
    position:relative;
  }
  .gl_menu_m > label{
    display:block;
    position:relative;
    top:5px;
    right:0;
    float:right;
    text-align:center;
    color:#FFF;
    background:#f19500;
    padding:10px 6px;
    margin-right:-10px;
    border-radius: 4px;
  }
  .gl_menu_m > label > span:before,
  .gl_menu_m > label > span:after,
  .gl_menu_m > label > span {
    content: '';
    display: block;
    margin: 2px 0;
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    position: relative;
  }
  .gl_menu_m > label > span:before {
    position: absolute;
    top: -9px;
  }
  .gl_menu_m > label > span:after {
    position: absolute;
    bottom: -9px;
  }
  .gl_menu_m input[type=checkbox]:checked~#gl_menu{
    display:block;
  }
  #about,#topbanner{
    background-position:center;
  }
  #about {
    margin-top: 40px;
  }
  #about .title {
    margin-bottom: 30px;
  }
  #about .pfx-demand {
    display: none;
  }
  #about .pfx-example {
    background: url(../img/iphone_06_sp.jpg) no-repeat bottom center;
    background-size: 100%;
    width: 100%;
    max-width: 375px;
    height: 300px;
    box-sizing: border-box;
    padding-left: 100%;
  }
  #about > div {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction:column;
    flex-direction: column;
  }
  #about > div > .about_r-box {
    -webkit-order:1;
    order: 1;
    margin-bottom: 30px;
  }
  #about > div > div:first-of-type {
    -webkit-order:2;
    order: 2;
  }
  .about_r-box_text,.merit_r-box{
    margin-top:0;
  }
  #merit article {
    padding: 0;
  }
  .merit_r-box_text{
    margin-top:30px;
  }
  .merit_l-box_m{
    display:block;
    margin-top:0;
  }
  .media_title{
    float:none;
    margin:0 0 30px 0;
  }
  .media_list li {
    display: inline-block;
    width: 44%;
    margin: 0 2% 13px 2%;
  }
  .media_list li:last-child,nth-last-child(2):nth-child(odd) {
    margin-bottom:0;
  }
  .media_list img{
  display:block;
  margin:0 auto;
  width:70%;
}
  #company{
    background:#4f5259;
    color:#FFF;
  }
  .company_title{
    margin-bottom:30px;
  }
  .company_map{
    display:block;
    width:100%;
    height:280px;
    margin-bottom:30px;
  }
  .company_l-box{
    font-size:11px;
    margin-bottom:30px;
  }
  .company_contact-btn{
    width:70%;
    font-size:18px;
    border:solid 2px #FFF;
    border-radius: 25px;
    padding: 10px 0;
  }
  .company_contact-btn:hover{
    background:#333;
  }
  footer{
    height:30px;
    font-size:7px;
  }
}

@media screen and (min-width:600px) {
.media_list li:nth-of-type(5n+1):nth-of-last-type(-n+5),
.media_list li:nth-of-type(5n+1):nth-of-last-type(-n+5) ~ li {
  margin-bottom: 0;
}
}