/*--------------------------------------------------
HEADER
-------------------------------------------------- */
header {
  width: calc(100% - 60px);
  z-index: 100;
}
header h1 {
  margin: 0;
}
header img {
  max-width: 100%;
  max-height: 100%;
}

/* header image
------------------------------ */
.fa {
    display: inline!important;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.header-image .fa {
    margin-right: 5px;
}
.header-image {
  height: 110px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 60px;
    color: #fff;
  transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.header-image a {
    color: #fff;
    display: block;
}
.head_btn_01 {
    background: #ef9580;
}
.head_btn_02 {
    border-right: 1px solid #972525;
}
.head_btn_02,.head_btn_03 {
    background: #df5d5d;
}
.header-image.fixed {
  padding-top: 10px;
  padding-bottom: 10px;
  height: 70px;
}
@media (max-width: 991px) {
  .header-image {
    height: 90px;
  }
  .header-image.fixed {
    height: 60px;
  }
}
@media (max-width: 767px) {
  header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 0;

    }
    header .row{
        background: #fff;
    }
    .header-image a {
        font-size: 13px;
    }
}
  header > .container {background: #fff;}
  .header-image {
    height: 60px;
  }
  .header-image.fixed {
    height: 60px;
  }


/* header hamgurger
------------------------------ */

  .hamburger {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
      color: #808080;
  }
.hamburger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
    position: absolute;
    left: 13px;
    width: 29px;
    height: 1px;
    background-color: #808080;
}
.hamburger span:nth-of-type(1) {
    top: 12px;
}
.hamburger span:nth-of-type(2) {
    top: 20px;
}
.hamburger span:nth-of-type(3) {
    top: 28px;
}
.hamburger.active span:nth-of-type(1) {
    -webkit-transform: translateY(8px) rotate(-45deg);
    transform: translateY(8px) rotate(-45deg);
}
.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}
.hamburger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
}
.hamburger:after {
  content: "MENU";
  font-size: 10px;
  color: #808080;
  position: absolute;
  top: 32px;
  left: 13px;
}

/* header navi
------------------------------ */
nav {
  background: #fff;
  width: 100%;
  height: 75px;
  transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
nav.fixed {
  height: 60px;
  padding: 10px 0;
}
nav ul {
    text-align: right;
  height: 75px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav li {
    line-height: 75px;
    vertical-align: top;
    margin: 0;
  padding: 0;
  display: inline-block;
}
nav li:last-child {
  border-right: 1px solid rgba(255, 255, 255, .75);
}
nav a {
  display: inline-block;
  height: 35px;
  line-height: 35px;
  padding: 0px;
  color: #fff;
  font-size: 18px;
  transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

nav.fixed a {
  height: 30px;
  line-height: 30px;
  font-size: 16px;
}

nav a:hover {
    color: #fff;
  text-decoration: none;
}
nav a:focus {
  color: #fff;
  text-decoration: none;
}
span.nav_line {
    display: inline-block;
    height: 75px;
    width: 17.5px;
    padding: 0 10px;
    line-height: 75px;
    background: url(../images/m_line.png);
    background-repeat: no-repeat;
    background-size: 17.5px 65px;
    background-position: center;
}

nav.fixed ul {
    height: auto;
}
nav.fixed .nav_line {
    display: none;
}
nav.fixed li {
    padding: 0 10px;
    line-height: inherit;
}


  nav, nav.fixed {
    height: auto;
    padding: 0;
    overflow: hidden;
  }
  nav ul {
    height: 0;
  }
  nav li {
    float: inherit!important;
    margin: 0;
    padding: 0;
    line-height: 54px;
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, .75);
    display: block;
  }
  nav li:last-child {
    border: none;
  }
  nav a, nav.fixed a {
    height: 50px;
    line-height: 50px;
    padding: 0;
    font-size: 14px;
      font-weight: bold;
  }


.nav_sp {
    width: calc(100% + 60px);
    background: #da6d80;
    opacity: .9;
}
.sp_head_btn {
    display: block;
    position: absolute;
    top: 5px;
    right: 60px;
    width: auto;
    height: 45px;
}

    nav.fixed ul {
        height: 0;
    }
    nav.fixed li {
        padding: 0;
        line-height: 54px;
    }
@media (max-width: 767px) {
    .nav_sp {
        width: 100%;
    }
}
/* header spacer
------------------------------ */
#spacer {
  position: relative;
  height: 0px;
}

@media (max-width: 767px) {
  #spacer {
    height: 55px;
  }
  .spacer_sp {
    height: 95px!important;
  }
}
.pagelink {
    margin-top: -60px;
    padding-top: 60px;
}

