@charset "UTF-8";
/* =====
 * 共通レイアウト
============================================================================= */
body {
  font-family: 'ヒラギノ角ゴ Pro W3', 'HiraKakuPro-W3', '游ゴシック', YuGothic, 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', Arial, verdana, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
  color: #333;
}

/* -----
 * link setting
----------------------------------------------------------------------------- */
a:link, a:visited, a:active {
  color: #03c;
  outline: 0px none #000;
}

a img {
  vertical-align: bottom;
  box-shadow: #000 0 0 0;
}

/* -----
 * tag setting
----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 1.3em 0 1em;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

p, ul, ol, table {
  margin: 1em 0;
}
p:last-child, ul:last-child, ol:last-child, table:last-child {
  margin-bottom: 0;
}
p:first-child, ul:first-child, ol:first-child, table:first-child {
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.sp-only-block {
  display: none;
}

.pc-only-block {
  display: block;
}

/* -----
 * Wrapper
----------------------------------------------------------------------------- */
#Wrapper {
  min-width: 1120px;
}

/* -----
 * Header
----------------------------------------------------------------------------- */
#Header {
  height: 138px;
  position: relative;
}

#Header h1 {
  display: inline-block;
  position: absolute;
  top: 40px;
  left: 30px;
}

#Gnav {
  width: 1120px;
  margin: 0 auto;
  position: relative;
}

#Gnav .gnav {
  width: 360px;
  position: absolute;
  top: 75px;
  right: 0;
}

#Gnav ul {
  display: table;
  table-layout: fixed;
  position: relative;
  z-index: 1;
}

#Gnav ul li {
  display: table-cell;
}

#Gnav ul li a:hover img {
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  opacity: 1;
}

#Gnav .active {
  width: 120px;
  height: 30px;
  background-color: #66ccff;
  position: absolute;
  top: 0;
  left: 0;
}

#Gnav .sp-btn {
  display: none;
}

/* -----
 * Footer
----------------------------------------------------------------------------- */
#Footer {
  margin-top: 90px;
}

#Footer .top {
  width: 1086px;
  margin: 0 auto;
  padding: 30px 0 50px;
  text-align: center;
  border-top: 1px solid #666;
}

#Footer .top .inner {
  display: inline-block;
  text-align: left;
  padding-left: 118px;
  background: transparent url(../images/common/foot_logo.gif) 0 50% no-repeat;
}

#Footer .top h2 {
  font-size: 24px;
  margin-bottom: 0;
}

#Footer .top p {
  margin-top: 0.5em;
  font-size: 16px;
}

#Footer .top .tel,
#Footer .top .fax {
  margin-left: 1em;
}

#Footer .top .num {
  display: block;
}

#Footer .bottom {
  background-color: #003399;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 2px 0;
}

#FootNaviSP {
  display: none;
}

/* -----
 * PageTitle
----------------------------------------------------------------------------- */
#PageTitle {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 378px;
  margin-bottom: 80px;
  background-position: 50% 50%;
  background-size: cover;
}

#PageTitle .inner {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#PageTitle .inner h2 {
  margin: 0;
  padding: 0;
}

#PageTitle .inner h2 img {
  width: 305px;
  height: auto;
}

/* -----
 * contents
----------------------------------------------------------------------------- */
.contents-wrapper {
  width: 1086px;
  margin: 0 auto;
}

/* -----
 * responsive
----------------------------------------------------------------------------- */
@media screen and (min-width: 944px) {
  /* PC */
  /* -----
   * link setting
  ----------------------------------------------------------------------------- */
  a img {
    transition: opacity 0.3s linear 0s;
    -moz-transition: opacity 0.3s linear 0s;
    -webkit-transition: opacity 0.3s linear 0s;
    -o-transition: opacity 0.3s linear 0s;
    -ms-transition: opacity 0.3s linear 0s;
  }

  a:hover img {
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
  }

  a.tel-link {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
  }
}

@media screen and (min-width: 768px) and (max-width: 943px) {
  /* tablet */
  /* -----
   * link setting
  ----------------------------------------------------------------------------- */
  a.tel-link {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
  }
}

@media screen and (max-width: 767px) {
  /* smart phone */
  body {
    width: 100%;
    font-size: 16px;
  }

  .sp-only-block {
    display: block;
  }

  .pc-only-block {
    display: none;
  }


  /* -----
   * link setting
  ----------------------------------------------------------------------------- */
  a.tel-link {
    pointer-events: auto;
    text-decoration: underline;
  }

  /* -----
   * Wrapper
  ----------------------------------------------------------------------------- */
  #Wrapper {
    min-width: initial;
    min-width: auto;
  }

  /* -----
   * Header
  ----------------------------------------------------------------------------- */
  #Header {
    height: auto;
  }

  #Header h1 {
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    padding: 15px 70px 0 20px;
    box-sizing: border-box;
  }

  #Header h1 a {
    display: block;
    max-width: 100%;
    width: 273px;
    height: 48px;
    background: url(../images/common/head_logo_sp.png) 0 50% no-repeat;
    background-size: contain;
  }

  #Header h1 a img {
    display: none;
  }

  #Gnav {
    width: auto;
    padding-top: 78px;
    pointer-events: none;
  }

  #Gnav.opened {
    background-color: rgba(255,255,255,0.9);
    pointer-events: auto;
  }

  #Gnav .gnav {
    width: auto;
    position: static;
    height: 0px;
    overflow: hidden;
    transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -webkit-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
  }

  #Gnav.opened .gnav {
    height: 222px;
  }

  #Gnav ul {
    display: block;
  }

  #Gnav ul li {
    display: block;
    border-bottom: 1px solid #fff;
  }

  #Gnav ul li:last-child {
    border-bottom: none;
  }

  #Gnav ul li a {
    display: block;
    height: 74px;
    background-color: #333;
    background-position: 20% 50%;
    background-repeat: no-repeat;
    background-size: 215px 20px;
  }

  #Gnav ul li.n1 a {
    background-image: url(../images/common/head_nav_home_sp.png);
  }

  #Gnav ul li.n2 a {
    background-image: url(../images/common/head_nav_company_sp.png);
  }

  #Gnav ul li.n3 a {
    background-image: url(../images/common/head_nav_access_sp.png);
  }

  #Gnav ul li a img {
    display: none;
  }

  #Gnav .active {
    display: none;
  }

  #Gnav .sp-btn {
    display: block;
    width: 30px;
    height: 30px;
    overflow: hidden;
    background: transparent url(../images/common/head_btn_sp.gif) 0 0 no-repeat;
    background-size: 30px 60px;
    text-indent: -9999em;
    position: absolute;
    top: 20px;
    right: 20px;
    pointer-events: auto;
  }

  #Gnav.opened .sp-btn {
    background-position: 0 100%;
  }

  /* -----
   * Footer
  ----------------------------------------------------------------------------- */
  #Footer {
    margin-top: 0;
  }

  #Footer .top {
    width: auto;
    padding: 15px 20px;
    text-align: left;
    border-top: none;
  }

  #Footer .top .inner {
    display: block;
    padding: 0;
    background: none;
  }

  #Footer .top h2 {
    display: none;
  }

  #Footer .top p {
    margin-top: 0;
    font-size: 13px;
  }

  #Footer .top .address {
    display: block;
  }

  #Footer .top .tel {
    margin-left: 0;
  }

  #Footer .top .tel a {
    color: inherit;
    text-decoration: none;
  }

  #Footer .bottom {
    background-color: #333;
    font-size: 10px;
    padding: 2px 0;
  }

  #FootNaviSP {
    display: block;
    margin-top: 50px;
  }

  #FootNaviSP li {
    background: #333 url(../images/common/foot_nav_arw.png) 20px 50% no-repeat;
    background-size: 16px 28px;
    border-bottom: 1px solid #fff;
  }

  #FootNaviSP li:last-child {
    border-bottom: none;
  }

  #FootNaviSP li a {
    display: block;
    padding: 35px 15px 35px 50px; 
  }

  #FootNaviSP li a img {
    width: 215px;
    height: auto;
    max-width: 90%;
  }

  /* -----
   * PageTitle
  ----------------------------------------------------------------------------- */
  #PageTitle {
    height: 153px;
    margin-bottom: 30px;
  }

  #PageTitle .inner h2 img {
    width: 250px;
  }

  /* -----
   * contents
  ----------------------------------------------------------------------------- */
  .contents-wrapper {
    width: auto;
    padding: 0 25px;
  }

}
