h2{
  font-size: 25px;
  text-align: center;
  margin: 20px;
}

p{
  color: #4b4b4b;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a{
  color: #4b4b4b;
  font-size: 14px;
  letter-spacing:0.02em;
  text-decoration: none;
  transition:color 0.2s ease 0.1s , background-image 0.2s ease 0.1s ;
  -webkit-transition:color 0.2s ease 0.1s , background-image 0.2s ease 0.1s ;
}

a:hover{
  font-size: 14px;
  color: #0086d1;
}

h2,h3,h4,h5,ul,li,p,a,td,time{
  font-family: "Shin Go Regular";
}

strong{
  font-family: "Shin Go Medium";
}

.page-content-inr{
  max-width:1200px;
  margin: auto;
  padding: 20px 0 100px;
}


/*ヘッダー*/

header{
 box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
 z-index: 100;
 position: fixed;
 width: 100%;
 height: 110px;
 background-color: #fff;
 -webkit-transition: all .3s ease;
 transition: all .3s ease;
}

header #header-content{
  height: 110px;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

h1.logo{
  float: left;
  width: 253px;
  padding:40px 20px 20px 20px;
}

nav{
  float: right;
  right: 10px;
}

nav ul li{
  float: left;
}

span.text-bottom{
  display: block;
  padding-top: 90px;
}

.button {
  font-family: "Shin Go Regular";
  display: inline-block;
  width: 130px;
  height: 110px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  letter-spacing: 1px;
  position: relative;
  z-index:100;
  background-color: #fff;
  color: #0086d1;
  line-height: 0px;
}

.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button:hover {
  color: #fff;
}

.button::after {
  top: -100%;
  width: 100%;
  height: 100%;
}

.button:hover::after {
  top: 0;
  background-color: #d7083b;
}



/*ヘッダー スクロール後*/

header.smaller{
 box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
 background-color: #fff;
 position:fixed;
 width: 100%;
 height: 70px;
 z-index: 100;
}

header.smaller h1.logo{
  float: left;
  width: 253px;
  padding:20px 20px 8px 20px;
}

header.smaller li.li-style a.button{
  color: #0086d1;
  display: block;
  font-family: "Shin Go Regular";
  letter-spacing: 1px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 130px;
  height: 70px;
}

header.smaller li.li-style a span.text-bottom{
  display: block;
  padding-top: 50px;
}

header.smaller li.li-style a span.text-bottom2{
  display: block;
  padding-top:30px;
}

header.smaller li.li-style a.button:hover{
  color: #f7f7f7;
}

header.smaller ul.works-menu-list{
    position: static;
}

/*smf-toggle*/

#smf-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 20px;
  width: 30px;
  height: 35px;
  cursor: pointer;
  z-index: 101;
}

#smf-toggle div {
  position: relative;
}

#smf-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

#smf-toggle span:nth-child(1) {
  top: 0;
}

#smf-toggle span:nth-child(2) {
  top: 11px;
}

#smf-toggle span:nth-child(3) {
  top: 22px;
}

/*コンテンツ*/

#content{
  max-width:960px;
  clear: both;
  margin: auto;
  padding: 20px;
}

#top-image{
  max-width:1200px;
  height: 580px;
  margin:auto;
  background-image: url('../images/top-image-d.png');
  background-position: right;
  background-repeat: no-repeat;
  padding: 200px 0 0 0;
}

#top-image-copy{
  max-width:1200px;
  height: 580px;
  background-image: url('../images/top-image-copy.png');
  background-position: left bottom;
  background-repeat: no-repeat;
}

#information{
  margin: 150px auto;
}

#top-company{
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  clear: both;
  padding:100px 0 150px;
  position: relative;
  z-index: 90;
}

.top-company-content{
  max-width: 960px;
  margin: auto;
}

div.company-data{
  line-height: 1.6;
  max-width: 600px;
  margin: auto;
  padding: 10px;
}

/*フッター*/

#page-top{
clear: both;
overflow: hidden;
background-color: #fbfbfb;
}

#page-top a{
  display: block;
  float: right;
  width: 40px;
  margin: 20px;
}

footer{
  background: #414141;
  clear: both;
  padding: 20px 0px 0px;
}

footer #footer-content{
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.footnav{
  float: left;
}

.footnav a{
  color: #d7d7d7;
  font-size: 13px;
}

.footnav ul li{
  float: left;
  margin: 10px;
}

.footnav a:hover{
  color: #89b6cf;
}

p.footerbanner{
  clear: both;
}

#copyright p{
  clear: both;
  color: #838383;
  display:block;
  font-size: 12px;
  padding: 30px 0 0 0;
  text-align: center;
}

@media screen and (min-width:795px) and (max-width:980px){

  /*ナビゲーション*/
  nav ul li a.button{
    width: 100px;
  }

  /*スクロール後*/

    header.smaller li.li-style a.button{
      width: 100px;
    }

    header.smaller li.works-menu-button a.button2{
      width: 100px;
    }

    h1.logo{
      width: 180px;
    }

    h1.logo img{
      width: 180px;
    }

    header.smaller h1.logo{
      width: 180px;
    }

    header.smaller h1.logo img{
      width: 180px;
    }

    #top-image{
      max-width:1200px;
      height: 580px;
      margin:auto;
      background-image: url('../images/top-image-d.png');
      background-position: right;
      background-repeat: no-repeat;
      padding: 110px 0 0 0;
    }

    #top-image-copy{
      max-width:1200px;
      height: 580px;
      background-image: url('../images/top-image-copy.png');
      background-position: left bottom;
      background-repeat: no-repeat;
      background-size: 90% auto;
    }

    #top-company{
      padding:80px 0px;
    }

    .top-company-content{
      max-width: 95%;
      margin: auto;
    }

}

@media screen and (max-width:794px) {
  header{
   box-shadow:none;
   position:relative;
   z-index:100;
   height: 68px;
  }

  h1.logo{
    width: 180px;
    height: 68px;
    padding: 0px 0px 0px 20px;
  }

  h1.logo img{
    width: 180px;
    margin-top: 20px;
  }

  header #header-content{
    height:auto;
    margin: auto;
    position: relative;
  }

  header #smf-nav{
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    display: block;
    overflow: hidden;
    position: absolute;
    width: 100%;
    z-index: 999;
  }

  nav {
    clear: both;
    display:block;
    float: none;
    right: 0px;
    width: 100%;
    position: absolute;
    top: -488px;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    z-index: 100;
  }

  nav ul li {
    float:none;
    width: 100%;
    /*height: 60px;*/
  }

  span.text-bottom {
    display: block;
    padding-top:30px;
  }

  .button {
    display:block;
    width:100%;
    height:60px;
    text-align: center;
    text-decoration: none;
    line-height:0px;
    position:static;
    z-index:100;
    background-color: #fff;
    color: #0086d1;
    line-height: 0px;
  }

  .button:hover {
    background-color: #d7083b;
  }

  .button::before,
  .button::after {
    content: none;
  }

  .button,
  .button::before,
  .button::after {
    content: none;
  }

  .button:hover {
    color: #fff;
  }

  .button::after {
    content: none;
  }

  .button:hover::after {
    content: none;
  }

  #smf-toggle {
        display: block;
    }

    /* #nav-toggle 切り替えアニメーション */
    .open #smf-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #smf-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #smf-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* nav スライドアニメーション */
    .open nav{
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

    /*ヘッダー スクロール後*/

    header.smaller{
     box-shadow: none;
     background-color: #fff;
     position:fixed;
     width: 100%;
     height: 68px;
     z-index: 100;
    }

    header.smaller #smf-nav{
      height: 68px;
    }

    header.smaller h1.logo{
      float: left;
      width: 180px;
      height: 60px;
      padding: 0px 0px 0px 20px;
    }

    header.smaller h1.logo img{
      float: left;
      width: 180px;
      margin-top: 20px;
    }

    header.smaller li.li-style a.button{
      width:100%;
      height: 60px;
    }

    header.smaller li.li-style a span.text-bottom{
      display: block;
      padding-top: 30px;
    }

    header.smaller li.li-style a.button:hover{
      color: #f7f7f7;
    }

    #page-content{
      clear: both;
      margin: auto;
      padding:0px;
    }

    #top-image{
      width: 100%;
      height: 580px;
      margin:auto;
      background-image: url('../images/top-image-d.png');
      background-position: right top;
      background-repeat: no-repeat;
      padding: 0px;
    }

    #top-image-copy{
      width:100%;
      height: 580px;
      background-image: url('../images/top-image-copy.png');
      background-position: left bottom;
      background-repeat: no-repeat;
      background-size: 90% auto;
    }

    #information{
      margin: 150px auto 100px;
    }
}

@media screen and (max-width:600px) {
  #top-image{
    width: 100%;
    height: 500px;
    margin:auto;
    background-image: url('../images/top-image-d.png');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 85%;
    padding: 0px;
  }

  #top-image-copy{
    width:100%;
    height: 500px;
    background-image: url('../images/top-image-copy.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 90% auto;
  }

  #information{
    margin: 30px auto;
  }
}

@media screen and (max-width:414px) {
  #top-image{
    width: 100%;
    height: 350px;
    margin:auto;
    background-image: url('../images/top-image-d.png');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 85%;
    padding: 0px;
  }

  #top-image-copy{
    width:100%;
    height: 350px;
    background-image: url('../images/top-image-copy.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 90% auto;
  }

  .footnav ul li{
    float:none;
  }
}
