html{
    font-size: 62.5%;
}
body{
    color: #fff;
    background: #0B0B0B;
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    font-size:1.6rem;/* 16px*/
    line-height: 2;

}
h1 {
    font-size: 36px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));/* 24px~36pxで可変*/
    line-height: 1.3;
}
h2 {
    font-size: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
}
@media (min-width: 1200px) {/* 1200px以上*/
    h1 {
        font-size: 3.6rem;/* 36px*/
    }
    h2 {
        font-size: 2.4rem;/* 24px*/
    }
}
@media screen and (max-width: 640px) {/* 640px以下*/
    body{
    line-height: 2;
    }
    h1{
        font-size: 2.4rem;/* 24px*/
    }
    h2 {
        font-size: 2rem;/* 20px*/
    }
}

.txt_L{text-align: left}
.txt_C{text-align: center}
.txt_R{text-align: right}

.f_bold{font-weight: bold}
.f_nomal{font-weight:normal}
.f_lighter{font-weight: lighter}

.padding10{padding: 10px}
.padding20{padding: 20px}

.margin-B20{margin-bottom: 20px;}
.margin-B40{margin-bottom: 40px;}
/*--------header-----------*/
.inner {
    width: 1160px;
    margin: 0 auto;
    position: relative;
}
 
.inner:after {
    content:"";
    clear: both;
    display: block;
}
#top-head {
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 15px 0 20px;
  line-height: 1;
  z-index: 999;
  background:  rgba(255,255,255,.7)

}
 
#top-head a,
#top-head {
    color: #333;
    text-decoration: none;
}
 
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    position: relative;
    font-size: 36px;
    height: 50px;
}
 
#top-head .logo a {
  position: absolute;
  width: 100%;
  height: 50px;
}
 
#global-nav ul {
    list-style: none;
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 14px;
    font-weight: bold;
}
#global-nav ul li {
    float: left;
    padding:0 20px;
}
#global-nav ul li a {
    padding: 5px 5px;
    position: relative;
    display: inline-block;
}
 
#global-nav ul li a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   -webkit-transform: scaleX(0);
   -ms-transform: scaleX(0);
   transform: scaleX(0);
   background-color: #333;
   -webkit-transition: all .3s ease;
   transition: all .3s ease;
}
 
#global-nav ul li a:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}
 
nav span{
    background:#666;
    height:2px;
    display:block;
    position:relative;
    width:50px;
    left:0;
}
 
 
/*--------固定化されたときのCSS-----------*/
 
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    background: #fff;
    background: rgba(255,255,255,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
 
#top-head.fixed .logo {
  position: relative;
    font-size: 24px;
    color: #333;
}
 
#top-head.fixed .logo a {
  position: absolute;
  width: 100%;
  height: 30px;
 
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0;
    padding-bottom: 10px;
}
 
 
 
/*-----------スマホのトグルボタンのCSS-------------*/
 
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}
 
 
/*---------gnav sp--------------*/
/*-----------スマホ-------------*/
@media screen and (max-width: 767px) {
    .head-inner {
      display: none;
    }
 
    .slick-next {
      right: 0;
    }
 
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background:  rgba(255,255,255,.7);
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        height: 50px;
        top: 15px;
        color: #333;
        font-size: 26px;
    }
    #top-head.fixed .logo img,
    #top-head .logo img{
        max-width: 280px;
        height: 40px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #000;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
        padding: 0;
        color: #fff;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}
 
/*------------タブレット用------------------*/
 
@media screen and (max-width: 1024px) {
  .head-inner {
    display: none;
  }
 
  .slick-next {
    right: 0;
  }
 
  #top-head,
  .inner {
      width: 100%;
      padding: 0;
  }
  #top-head {
      top: 0;
      position: fixed;
      margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
      padding-top: 0;
      background: transparent;
  }
  #mobile-head {
      /*background: #fff;*/
      width: 100%;
      height: 70px;
      z-index: 999;
      position: relative;
  }
  #top-head.fixed .logo,
  #top-head .logo {
      position: absolute;
      left: 13px;
      height: 50px;
      top: 15px;
      color: #333;
      font-size: 26px;
  }
  #global-nav {
      position: absolute;
      /* 開いてないときは画面外に配置 */
      top: -500px;
      background: rgb(0,0,0,0.8);
      width: 100%;
      text-align: center;
      padding: 10px 0;
      -webkit-transition: .5s ease-in-out;
      -moz-transition: .5s ease-in-out;
      transition: .5s ease-in-out;
  }
  #global-nav ul {
      list-style: none;
      position: static;
      right: 0;
      bottom: 0;
      font-size: 14px;
  }
  #global-nav ul li {
      float: none;
      position: static;
      padding: 18px 0;
      color: #fff;
  }
  #top-head #global-nav ul li a,
  #top-head.fixed #global-nav ul li a {
      width: 100%;
      display: block;
      color: #fff;
      padding: 10px 0;
  }
  #nav-toggle {
      display: block;
      right: 25px;
      top: 20px;
  }
  /* #nav-toggle 切り替えアニメーション */
  .open #nav-toggle span:nth-child(1) {
      top: 11px;
      -webkit-transform: rotate(315deg);
      -moz-transform: rotate(315deg);
      transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
      width: 0;
      left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
      top: 11px;
      -webkit-transform: rotate(-315deg);
      -moz-transform: rotate(-315deg);
      transform: rotate(-315deg);
  }
  /* #global-nav スライドアニメーション */
  .open #global-nav {
      /* #global-nav top + #mobile-head height */
      -moz-transform: translateY(570px);
      -webkit-transform: translateY(570px);
      transform: translateY(570px);
  }
 
 
}
/*----------スライダー----------*/
.swiper-container{
    width: 100%;
    height: 100vh;
}
.swiper-slide > img {
    object-fit: cover; /* IE: not support */
    width: 100%;
    height: 100%;
}
.swiper-container .swiper-slide{
    position: relative;
}
.swiper-slide .textbox{
    position: absolute;
    top: 30%;
    left: 10%;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    color: #fff;

}
.swiper-slide .textbox .title h2{
    font-size: 32px;
    font-weight: bold;
}
.swiper-slide .textbox .subtitle{
    font-size: 20px;
    font-weight: bold;
}
.swiper-slide .textbox .subtitle h2{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.7em;  
}
.swiper-slide .textbox .text{
    max-width: 400px;
    font-size: 14px;
}
.swiper-container .swiper-slide .slide_link{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide_pc { display: block !important; }
.slide_sp { display: none !important; }
/*-----------スマホ-------------*/
@media screen and (max-width: 740px) {
    .swiper-container{
        width: 100%;
        height: 100vh;
    }
    .swiper-slide .textbox .title h2{
        font-size: 20px;
        font-weight: bold;
    }
    .swiper-slide .textbox .subtitle{
        font-size: 14px;
        font-weight: bold;
    }
    .swiper-slide .textbox .subtitle h2{
        font-size: 16px;
        font-weight: bold;
        line-height: 1.7em;    
    }
    .swiper-slide .textbox .text{
        max-width: 240px;
        font-size: 12px;
    }
    .slide_pc { display: none !important; }
    .slide_sp { display: block !important; }
}
/*---------コンテンツ--------*/
.container{
    max-width: 980px;
    margin: 40px auto;
}
/*---------事業入り口--------*/
.business_box{
    padding: 20px;
    text-align: center;
}

.business_box .img_box a > img{
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.business_box .text_box > h3{
    margin: 10px 0 20px;
    text-align: center;
    font-weight: bold;
}

/*------フッター-------*/
footer{
    padding: 0;
    background: #666;
}
footer .footer_box{
    padding: 20px 0;
}
footer .footer_title{
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
}
footer .company_title{
    padding: 4px 0;
    font-weight: bold;
}
footer ul{
    list-style: none;
    font-size: 1.2rem
}
footer ul a{
    color: #fff;
    text-decoration: none;
}
footer ul a:hover{
    color: #222;
}
@media screen and (max-width: 1024px) {
    .company_box{
        margin-bottom: 20px;
    }
}
footer .copyright{
    padding: 20px 0;
    background: #000;
    font-size: .8rem;
}

/*----会社案内------*/
#company-page{
    padding-top: 80px;
}

#company-page h2{
    margin-bottom: 40px;
    text-align: center;
}
#company-page h3{
    margin-bottom: 10px;
    font-weight: bold;
}
.tbl_box{
    margin: 20px 0 40px;
}
.tbl_box .company_tbl{
    width: 100%;
}
.tbl_box .company_tbl tr{
    border-bottom: 1px solid #fff;
}
.tbl_box .company_tbl th,
.tbl_box .company_tbl td{
    padding: 10px;
}
.tbl_box .company_tbl tr:nth-child(even){
    background: #222;
}
.tbl_box .company_tbl tr:nth-child(odd){
    background: #444;
}
.tbl_box .company_tbl tr:hover{
    background: #666;
}