@charset "utf-8";

/* HTML5 ? Boilerplate
 * ==|== normalize ==========================================================
 */


.secondInner ul li.icon-dog span:before{background: url("img/lib/nav/dog.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-shop span:before{background: url("img/lib/nav/shop.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-blog span:before{background: url("img/lib/nav/blog.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-staff span:before{background: url("img/lib/nav/staff.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-program span:before{background: url("img/lib/nav/program.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-security span:before{background: url("img/lib/nav/security.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-info span:before{background: url("img/lib/nav/info.png") no-repeat center; content:""; display: block; background-size: cover;}
.secondInner ul li.icon-mail span:before{background: url("img/lib/nav/mail.png") no-repeat center; content:""; display: block; background-size: cover;}


.ropa {
	font-family: 'Ropa Sans', sans-serif;
}


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

  header {
    width: 100%;
    /*min-width: 1420px;*/
    min-width: 1200px;
    height: 100px;
    background: url("img/lib/header_bg.png") no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: 9999;
    box-sizing: border-box;
  }

  .headerInner {
    max-width: 1440px;
    height: 100px;
    margin: 0 auto;
    padding: 0 25px;
    /*padding: 0 20px;*/
    box-sizing: border-box;
  }

  #logo {
    width: 13%;
    float: left;
    margin-top: 20px;
    margin-right: 0;
  }

  #logo img {
    width: 90%;
    margin: 0 3%;
  }

  .gMenu {
    width: 87%;
    height: 100px;
    float: right;
    margin: 0 auto 0 0;
    box-sizing:border-box;
  }

  .gMenu ul {
    width: 100%;
    height: 100%;
  }

  .gMenu ul li {
    float: left;
    /*width: 6.6%;*/
    /*width: 6.2%;*/
    width: 5.8%;
    height: 86px;
    /*padding: 26px 1.2% 0;*/
    padding: 32px 1.0% 0;
    margin-top: 14px;
    box-sizing: border-box;
  }

  .gMenu ul li img {
    /*width: 105%;*/
    /*width: 100%;*/
    width: 103%;
  }

  .gMenu ul li:nth-child(8) {
    position: relative;
    /*background: url("img/common/sp_headerList_bg01.png") center bottom no-repeat;*/
    background: url("img/common/headerList_bg01.png") center bottom no-repeat;
    /*background-size: 115%;*/
    /*background-size: 105%;*/
    background-size: 113%;
  }

  .secondMenu {
    width: 100%;
    background-color: #fff;
  }

  .secondInner {
    width: 100%;
    max-width: 1025px;
    height: 70px;
    margin: 0 auto;
  }

  .secondInner ul {
    width: 100%;
    margin: 0 auto;
  }

  .secondInner ul li {
    float: left;
    width: 120px;
    height: 94px;
    font-size: 8px;
    line-height: 1.2;
    text-align: center;
  }

  .secondInner ul li a{
    color: #111;
    text-decoration: none;
  }

  .secondInner ul li span{
    display:block;
    padding-top: 5px;
  }


  .secondInner ul li span:before {
    width: 20px;
    height: 20px;
    margin: 10px auto;
  }

  .secondInner ul li:last-child {
    /*width: 190px;*/
    width: 200px;
    height: 100%;
    /*margin: 20px 30px;*/
    margin: 19px 30px;
    text-align: center;
    float: right;
  }

  .hTel a{
    font-size: 300%;
    font-weight: bold;
    line-height: 1.5;
    
  }

  #recruitBtn {
    width: 300px;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 20px;
  }

  #recruitBtn li {
    float: left;
    width: 48%;
    margin: 0 1%;
  }

  #recruitBtn a {
    display: block;
    width: 100%;
    padding: 5px;
    text-align: center;
    box-sizing: border-box;
    background: #fff;
    color: #2a83d6;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    font-size: 90%;
  }

  #recruitBtn a:hover {
    background: #2a83d6;
    color: #fff;
  }
}

/* ===================
  タブレット
  =================== */

@media only screen and (min-width:481px) and (max-width:1024px) {
  
  header {
    width: 100%;
    height: 160px;
    background: url("img/lib/header_bg.png") no-repeat;
    background-position: center -60px;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: 9999;
    box-sizing: border-box;
    overflow: hidden;
  }

  .headerInner {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
  }

  #logo {
    width: 20%;
    float: left;
    margin-top: 24px;
    margin-right: 3%;
  }

  #logo img {
    width: 80%;
    margin: 0 10%;
  }

  .gMenu {
    width: 74%;
    float: right;
    margin: 0 3% 0 0;
    box-sizing: border-box;
    overflow-x: scroll;
  }

  .gMenu ul {
    /*width: 680px;*/
    width: 730px;
    display: flex;
    box-sizing: border-box;
  }

  .gMenu ul li {
    width: 22%;
    height: 70px;
    margin-top: 10px;
    /*padding: 5% 1.5% 0;*/
    /*padding: 4.8% 1.8% 0;*/
    /*padding: 4.8% 1.5% 0;*/
    padding: 5.0% 1.5% 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .gMenu ul li img {
    /*width: 90%;*/
    width: 100%;
    padding: 5% 5% 0;
  }

  .gMenu ul li:nth-child(1) {
    position: relative;
    /*background: url("img/common/sp_headerList_bg01.png") center bottom no-repeat;*/
    background: url("img/common/headerList_bg01.png") center bottom no-repeat;
    background-size: contain;
  }

  .gMenu ul li:nth-child(1):after {
    content: "";
    width: 100%;
    height: 3px;
    display: block;
    background: #fff;
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .secondMenu {
    width: 100%;
    background-color: #fff;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .secondInner {
    width: 750px;
    margin: 0 auto;
    overflow: hidden;
    height: 80px;
  }

  .secondInner ul li {
    float: left;
    width: 100px;
    /*height: 80px;*/
    height: 70px;
    font-size: 8px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .secondInner ul li a {
    color: #111;
  }

  .secondInner ul li span {
    display:block;
    padding-top: 15px;
  }

  .secondInner ul li span:before {
    width: 20px;
    height: 20px;
    margin: 7px auto;
  }

  .secondInner ul li:nth-child(1) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/info.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(2) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/blog.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(3) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon_blog.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(4) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon03.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(5) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon04.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(6) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon05.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(7) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon06.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(8) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon07.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(9) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon08.png") no-repeat center;
    background-size: cover;
  }

  .secondInner ul li:nth-child(10) span:before {
    content:"";
    display: block;
    background: url("img/lib/nav/nav_icon09.png") no-repeat center;
    background-size: cover;
  }


  .secondInner ul li:last-child {
    width: 270px;
    height: 100%;
    /*margin: 22px 30px;*/
    margin: 19px 30px;
    text-align: center;
    float: right;
  }

  .hTel a {
    font-size: 280%;
  font-weight: bold;
  line-height: 1.5;
  }
}

/* ===================
  スマホ
  =================== */

@media only screen and (max-width: 480px) {
  header {
    width: 100%;
    height: initial;
    background: url("img/lib/header_bg.png") no-repeat;
    background-size: cover;
    background-position: center -44px;
    position: fixed;
    top: 0;
    z-index: 9999;
    box-sizing: border-box;
  }
  
  .headerInner {
    width: 100%;
    /*height: 82px;*/
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  #logo {
    width: 30%;
    margin: 0 auto;
  }
  
  #logo img {
    width: 100%;
  }
  
  .gMenu {
    width: 100%;
    overflow: scroll;
  }
  
  .gMenu ul {
    /*width: 750px;*/
    /*width: 880px;*/
    width: 945px;
    display: flex;
  }
  
  .gMenu ul li {
    width: 25%;
    height: 48px;
    height: 56px;
    /*padding: 1.3% 1.5% 0;*/
    /*padding: 1.5% 1.3% 0;*/
    /*padding: 1.6% 1.1% 0;*/
    padding : 1.8% 1.1% 0;
    box-sizing: border-box;
    text-align: center;
  }
  
  .gMenu ul li img {
    width: 100%;
    margin: 0 auto;
  }
  
  .gMenu ul li:nth-child(1) {
    position: relative;
    /*background: url("img/common/sp_headerList_bg01.png") center bottom no-repeat;*/
    background: url("img/common/headerList_bg01.png") center bottom no-repeat;
    background-size: contain;
  }
  
  
  .secondMenu {
    width: 100%;
    height: 50px;
    background-color: #fff;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  
  .secondInner {
    width: 500px;
    height: 50px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }
  
  .secondInner_left {
    display: block;
    width: 18px;
    height: 42px;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    position: fixed;
    top: 95px;
    left: 0;
    z-index: 2;
  }

  .secondInner_right {
    display: block;
    width: 30px;
    height: 88px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%);
    position: fixed;
    top: 48px;
    right: 0;
    z-index: 2;
  }
  
  .secondInner ul li {
    float: left;
    /*width: 90px;*/
    width: 75px;
    height: 60px;
    font-size: 8px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .secondInner ul li a {
    color: #111;
  }
  
  .secondInner ul li span {
    display:block;
    padding-top: 2px;
  }
  
  
  .secondInner ul li span:before {
    width: 15px;
    height: 15px;
    margin: 8px auto;
  }
  
  .secondInner ul li:last-child {
    width: 180px;
    height: 100%;
    /*margin: 10px 30px 0;*/
    margin: 10px 10px 0;
    text-align: center;
  }
  
  .hTel a {
    font-size: 280%;
    font-weight: bold;
    line-height: 1.5;
  }
}


/*デバイス別ヘッダー調整*/

/*ギャラクシー系*/
@media only screen and (max-width: 360px){

  header{background-position: center -44px;}
  .gMenu{height: 50px;}
  .gMenu ul li{height: 50px;}
}

/*iphone5(se)*/
@media only screen and (max-width: 320px){

  header{background-position: center -44px;}
  .gMenu{height: 53px;}
  .gMenu ul li{height: 53px;}
}

/*ipad pro*/


/*=====================
  スマホ横
  =====================*/
@media only screen and (max-width: 900px) and  (orientation: landscape) {
/* 横向きの場合のスタイル */

  #header {
    height: 140px;
    background-position: center -44px;
  }

  .headerInner {
    height: 60px;
    box-sizing: border-box;
  }

  #logo {
    margin-top: 20px;
  }

  .gMenu {
    height: 60px;
  }

  .gMenu ul li {
    float: left;
    width: 24%;
    height: 50px;
    /*padding: 3% 1.5% 0;*/
    /*padding: 2.2% 1.2% 0;*/
    /*padding: 2.3% 1.1% 0;*/
    padding: 2.9% 1.1% 0;
    box-sizing:border-box;
  }

  .gMenu ul li:nth-child(2) {
    background-size: contain;
  }

  .gMenu ul li img {
    width: 80%;
    padding: 0 10%;
  }

  .main,#commonContents {
    padding-top: 140px;
  }
}

/*=====================
  ipad横
  =====================*/
@media only screen and (min-width: 1024px) and (max-width:1024px) and (orientation: landscape) {
/* 横向きの場合のスタイル */
  header {
    background-position: center -60px;
  }

  .gMenu ul li {
    width: 17%;
  }

  .gMenu ul li img {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main,#commonContents {
    padding-top: 160px;
  }
}

@media only screen and (min-width:1025px) and (max-width:1299px) {
  header {
    min-width: 1025px;!important
  }
  
  .gMenu ul li{
    padding: 40px 1.0% 0;!important
  }
}