@charset "UTF-8";

html {
  font-size: 62.5%;
  /*2*/
  -ms-text-size-adjust: 100%;
  /*1*/
  -webkit-text-size-adjust: 100%;
  /*1*/
}
@include mq(sp) {
  html {
    overflow-x: hidden;
  }
}

body {
  font-family: $font-gothic;
  @media all and (-ms-high-contrast:none) {
    font-family: 'メイリオ','ryo-gothic-plusn', 'Yu Gothic', '游ゴシック', 'YuGothic', '游ゴシック体', 'Hiragino Kaku Gothic ProN', 'MS PGothic', sans-serif;
  }
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6!important;
  font-size: 1.6rem;
  letter-spacing: 0;
  background: #ffffff;
  color: $color-black;
  text-rendering: optimizeLegibility;
  z-index: 1;
}
@media all and (-ms-high-contrast:none) {
  body {
    line-height: 2;
  }
}
@include mq(max_pc) {
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
@include mq(sp) {
  body {
    font-size: 1.4rem;
  }
}
a {
  color: $color-blue;
}
@include mq(tab) {
  img {
    max-width: 100%;
    height: auto;
  }
}


/*header*/

.header {
  @include flex;
  align-items: center;
  height: 115px;
  background: #fff;
  z-index: 2;
  position: relative;
  border-top: 4px solid $color-blue;
  background: url("../images/common/img_header_line.png") 50% 4px no-repeat;
  transition: all 0.8s ease-out;
  &:before{
    width: 100px;
    content: "";
    position: absolute;
    top: 0;
    height: 4px;
    background: $color-blue2;
    left: 0;
    width: 100%;
  }

  &.header_recruite {
    // height: 106px;
    // padding-top: 20px;
  }
  &.header_recruite_bottom {
  }

  &.fade_in {
    opacity: 1;
    top: 0;
    width: 100%;
    background-color: #fff;
  }

  &-inner {
    @include flex;
    @include width(l);
    align-items: center;
    justify-content: space-between;
    color: $color-white;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    transition: all 0.6s ease-out;
  }

  &_logo {
    display: block;
    width: 385px;
    max-width: 60%;
    padding: 10px 0;
    font-weight: bold;
    img{
      max-width: 100%;
      height: auto;
      display: block;
    }
  }
  /*固定ヘッダー*/
  &_fixed {
    position: fixed;
    top: -80px;
    left: 0;
    // overflow: hidden;
    width: 100%;
    background: #fff;
    height: 70px;
    z-index: -1;
    transition: all 0.5s ease;

    &-inner {
      height: 70px;
    }

    &_logo {
      display: block;
      width: 200px!important;
      max-width: 33%;
      font-weight: bold;

      img {
        max-width: 100%;
      }
    }

    &.visible {
      opacity: 1;
      top: 0;
      z-index: 10;
    }
  }
  /*--/固定ヘッダー*/
}
@include mq(tab) {
  .header {
    height: 49px;
    padding: 10px 0;

    .header-inner {
      max-width: 96%;
    }

    &_logo {
      width: 300px;
    }
  }
}
@include mq(sp) {
  .header {
    height: 49px;
    padding: 10px 0;
    &.header_recruite {
      height: 49px;
    }

    .header-inner {
      height: auto;
    }

    &_logo {}
  }
}

.header_menu_box {
  @include flex;
  justify-content: flex-end;
  max-width: 65%;
  width: 670px;
  height: 100%;
  &_rec{
    margin-top: auto;
  }


  .menu_inner {
    width: 100%;
  }

  nav.header_menu {
    display: block;
    width: 100%;
    height: 100%;

    > ul {
      @include flex;
      justify-content: space-between;
      align-items: center;

      &.header_menu_recruite {
        justify-content: flex-end;

        li a {
          font-size: 1.35rem;
          padding: 26px 20px 5px;
          white-space: nowrap;
        }
      }
      > li {
        @include flex;
        align-items: center;
        align-content: center;
        position: relative;
        height: auto;
      transition: all 0.27s ease-out;

        > a,
        .header_menu_btn {
          @include flex;
          align-items: center;
          align-content: center;
          align-self: center;
          justify-content: center;
          font-size: 1.4rem;
          color: #000;
          padding: 26px 4px;
          letter-spacing: 1px;
          line-height: 1.4;
          height: auto;
          letter-spacing: 0;
          text-align: center;
          position: relative;
          white-space: nowrap;

          &:before {
            display: block;
            left: 50%;
            right: 50%;
            display: block;
            height: 2px;
            background: $color-blue;
            transition: all 0.4s ease-out;
            position: absolute;
            bottom: 5%;
            content: "";
          }

          &:hover:before {
            left: 0;
            right: 0;
          }

          &.header_menu_contact {
            background: $color-blue;
            color: #fff;
            width: 180px;
            margin-left: 15px;
            position: relative;
            transition: all 0.3s ease-out;
            overflow: hidden;

            span {
              position: relative;
              z-index: 2;
              transition: all 0.3s ease-out 0.2s;
            }

            &_2 {
              padding: 20px 5px;
            }
          }

          &.header_menu_contact:before {
            display: block;
            width: 100%;
            height: 100%;
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            background: $color-blue3;
            transition: all 0.3s ease-out;
          }

          &.header_menu_contact:after {
            display: block;
            width: 100%;
            height: 100%;
            content: "";
            position: absolute;
            top: 0;
            right: -100%;
            background: $color-blue3;
            transition: all 0.3s ease-out;
          }

          &.header_menu_contact:hover:before {
            left: -50%;
          }

          &.header_menu_contact:hover:after {
            right: -50%;
          }

          &.header_menu_contact:hover {
            filter:alpha(opacity=100);
            /* IE 6,7*/
            -ms-filter:  "alpha(opacity=100)";
            /* IE 8,9 */
            -moz-opacity: 1;
            /* FF , Netscape */
            -khtml-opacity: 1;
            /* Safari 1.x */
            opacity: 1;
            zoom: 1;
            /*IE*/
          }

          &.header_menu_saiyo {
            background: $color-green;
            color: #fff;
            width: 100px;
            padding: 20px 10px;
            margin-left: 0;
            position: relative;
            transition: all 0.3s ease-out;
            overflow: hidden;
            font-size: 1.5rem;

            span {
              position: relative;
              z-index: 2;
              transition: all 0.3s ease-out 0.2s;
            }

            &_2 {
              padding: 20px 5px;
              background: $color-blue2;
            }
          }

          &.header_menu_saiyo:before {
            display: block;
            width: 100%;
            height: 100%;
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            background: desaturate($color-green2,20%);
            transition: all 0.3s ease-out;
          }

          &.header_menu_saiyo_2:before {
            background: desaturate($color-blue2,15%);
          }

          &.header_menu_saiyo:after {
            display: block;
            width: 100%;
            height: 100%;
            content: "";
            position: absolute;
            top: 0;
            right: -100%;
            background: desaturate($color-green2,20%);
            transition: all 0.3s ease-out;
          }

          &.header_menu_saiyo_2:after {
            background: desaturate($color-blue2,15%);
          }

          &.header_menu_saiyo:hover:before {
            left: -50%;
          }

          &.header_menu_saiyo:hover:after {
            right: -50%;
          }

          &.header_menu_saiyo:hover {
            filter:alpha(opacity=100);
            /* IE 6,7*/
            -ms-filter:  "alpha(opacity=100)";
            /* IE 8,9 */
            -moz-opacity: 1;
            /* FF , Netscape */
            -khtml-opacity: 1;
            /* Safari 1.x */
            opacity: 1;
            zoom: 1;
            /*IE*/
          }
        }

        .header_menu_sub {
          @include flex;
          flex-wrap: wrap;
          opacity: 0;
          height: 0;
          position: absolute;
          background: #EFEFEF;
          top: 50px;
          width: 180px;
          left: -50px;
          transition: all 0.35s ease-out 0.10s;

          li {
            display: none;
            margin-left: 0;
            padding: 0;
            width: 100%;

            a {
              display: block;
              background: #EFEFEF;
              padding: 0;
              color: $color-black;
              border-bottom: 1px solid $color-gray2;
              font-size: 0;
            }

            &:last-child a {
              border-bottom: 0;
            }
          }
        }

        &:hover .header_menu_sub {
          top: 70px;
          height: auto;
          opacity: 1;

          li {
            display: block;
          }

          a {
            padding: 10px;
            font-size: 1.2rem;
          }
        }
      }

      &.header_menu_pc {
        height: 100%;
      }

      &.header_menu_sp {
        display: none;
      }
    }
  }
}

#sp_menu{
  display: none;
}


@include mq(max_pc) {
  .header_menu_box {
    nav.header_menu {
      display: none;
      max-width: 100%;
      position: fixed;
      height: 100vh;
      width: 100vw;
      top: 0;
      left: 0;
      z-index: 10;
      background: rgba($color-blue2,0.8);
      > ul {
        &.header_menu_pc {
          display: none;
        }
      }
    }
  }


.sp_menu{
    padding: 60px 40px 40px 10%;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 100;
    left: 0;
    background:rgba($color-blue2,0.95);

    li {
      text-align: left;
      margin-left: 0;
      padding: 0;
      font-size: 1.4rem;
      .sp_sub_btn {
        display: block;
        padding: 4px 0;
        color: #fff;
        font-size: 1.4rem;
        position: relative;

        &:after {
          display: inline-block;
          content: "▶";
          width: 1em;
          height: 1em;
          font-size: 1rem;
          margin-left: 10px;
          margin-top: -3px;
          color: $color-white;
          transition: all 0.3s ease;
        }

        &.open:after {
          transform: rotateZ(90deg);
        }
      }

      a {
        text-align: left;
        font-size: 1.4rem;
        display: block;
        padding: 4px 0;
        color: #fff;
      }

      .sp_menu_sub {
        display: none;
        margin-left: 13%;
      }
    }
  }



}
//固定ヘッダーメニュー

.header_menu_fixed {
  // overflow: hidden;
  padding: 0;
  li {
    a {
      padding: 15px 5px;
    }
  }
}
//--/固定ヘッダーメニュー
@include mq(sp) {
  .header_menu_box {
    @include flex;
    justify-content: flex-end;
    max-width: 100%;
    height: 100%;

    .menu_inner {
      width: 100%;
    }

    nav.header_menu {
      display: none;
      position: fixed;
      background: #fff;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      > ul {
        @include flex;
        justify-content: space-between;
        align-items: center;

        > li {
          @include flex;
          align-items: center;
          align-content: center;
          position: relative;
          height: 100%;
          transition: all 0.27s ease-out;

          > a,
          .header_menu_btn {
            @include flex;
            align-items: center;
            align-content: center;
            align-self: center;
            justify-content: center;
            font-size: 1.5rem;
            color: #000;
            padding: 28px 5px;
            letter-spacing: 1px;
            line-height: 1.4;
            height: 100%;
            letter-spacing: 0;
            text-align: center;
            position: relative;

            &:before {
              display: block;
              left: 50%;
              right: 50%;
              display: block;
              height: 2px;
              background: $color-blue;
              transition: all 0.4s ease-out;
              position: absolute;
              bottom: 15px;
              content: "";
            }

            &:hover:before {
              left: 0;
              right: 0;
            }

            &.header_menu_contact {
              background: $color-blue;
              color: #fff;
              width: 180px;
              margin-left: 20px;
              position: relative;
              transition: all 0.3s ease-out;
              overflow: hidden;

              span {
                position: relative;
                z-index: 2;
                transition: all 0.2s ease-out 0.2s;
              }
            }

            &.header_menu_contact:before {
              display: block;
              width: 100%;
              height: 100%;
              content: "";
              position: absolute;
              top: 0;
              left: -100%;
              background: $color-blue3;
              transition: all 0.18s ease-out;
            }

            &.header_menu_contact:after {
              display: block;
              width: 100%;
              height: 100%;
              content: "";
              position: absolute;
              top: 0;
              right: -100%;
              background: $color-blue3;
              transition: all 0.18s ease-out;
            }

            &.header_menu_contact:hover:before {
              left: -50%;
            }

            &.header_menu_contact:hover:after {
              right: -50%;
            }

            &.header_menu_contact:hover {
              filter:alpha(opacity=100);
              /* IE 6,7*/
              -ms-filter:  "alpha(opacity=100)";
              /* IE 8,9 */
              -moz-opacity: 1;
              /* FF , Netscape */
              -khtml-opacity: 1;
              /* Safari 1.x */
              opacity: 1;
              zoom: 1;
              /*IE*/
            }
          }

          .header_menu_sub {
            @include flex;
            flex-wrap: wrap;
            opacity: 0;
            height: 0;
            position: absolute;
            background: #EFEFEF;
            top: 50px;
            width: 180px;
            left: -50px;
            transition: all 0.35s ease-out 0.10s;

            li {
              display: none;
              margin-left: 0;
              padding: 0;
              width: 100%;

              a {
                display: block;
                background: #EFEFEF;
                padding: 0;
                color: $color-black;
                border-bottom: 1px solid $color-gray2;
                font-size: 0;
              }

              &:last-child a {
                border-bottom: 0;
              }
            }
          }

          &:hover .header_menu_sub {
            top: 70px;
            height: auto;
            opacity: 1;

            li {
              display: block;
            }

            a {
              padding: 10px;
              font-size: 1.2rem;
            }
          }
        }

        &.header_menu_pc {
          height: 100%;
        }

        &.header_menu_sp {
          display: none;
        }
        @include mq(max_pc) {
          &.header_menu_pc {
            display: none;
          }

          &.header_menu_sp {
            display: block;
            padding: 20px;

            li {
              text-align: left;
              margin-left: 0;
              padding: 2px 0;
              font-size: 1.4rem;

              .header_sub_btn {
                display: block;
                padding: 5px 0;
                position: relative;

                &:after {
                  display: inline-block;
                  content: "▶";
                  width: 1em;
                  height: 1em;
                  font-size: 1rem;
                  margin-left: 10px;
                  margin-top: -3px;
                  color: $color-white;
                  transition: all 0.3s ease;
                }

                &.open:after {
                  transform: rotateZ(90deg);
                }
              }

              a {
                text-align: left;
                font-size: 1.4rem;
                display: block;
                padding: 7px 0;
              }

              .header_menu_sp_sub {
                display: none;
                margin-left: 1em;
              }
            }
          }
        }
      }
    }
  }
}
@include mq(pc) {
  #nav_toggle {
    display: none;
  }
}
/*menu-toggle*/
@include mq(max_pc) {
  #nav_toggle {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 28px;
    z-index: 10000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*開閉ボタンopen時*/
    & div {
      position: relative;
      width: 100%;
      height: 28px;
    }

    & span {
      display: block;
      height: 2px;
      background: $color-black;
      position: absolute;
      width: 100%;
      left: 0;
      -webkit-transition: 0.5s ease-in-out;
      -moz-transition: 0.5s ease-in-out;
      transition: 0.5s ease-in-out;
    }

    & span:nth-child(1) {
      top: 6px;
    }

    & span:nth-child(2) {
      top: 15px;
    }

    & span:nth-child(3) {
      top: 24px;
    }
    //#nav_toggle
  }

}

@include mq(sp_tab) {
  #nav_toggle {
    width: 30px;
    height: 28px;
  }
}
@include mq(sp) {
  #nav_toggle {
    @include flex;
    justify-content: center;
    align-items: center;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 28px;
    div{
          height: 28px;
    }
  }
}
@include mq(sp_tab) {
  #nav_toggle.open {
    & span:nth-child(1) {
      top: 12px;
      -webkit-transform: rotate(135deg);
      -moz-transform: rotate(135deg);
      transform: rotate(135deg);
    }

    & span:nth-child(2) {
      width: 0;
      left: 50%;
      opacity: 0;
    }

    & span:nth-child(3) {
      top: 12px;
      -webkit-transform: rotate(-135deg);
      -moz-transform: rotate(-135deg);
      transform: rotate(-135deg);
    }
  }
}
@include mq(sp) {
  #nav_toggle.open {
    & span:nth-child(1) {
      top: 15px;
      -webkit-transform: rotate(135deg);
      -moz-transform: rotate(135deg);
      transform: rotate(135deg);
    }

    & span:nth-child(2) {
      width: 0;
      left: 50%;
      opacity: 0;
    }

    & span:nth-child(3) {
      top: 15px;
      -webkit-transform: rotate(-135deg);
      -moz-transform: rotate(-135deg);
      transform: rotate(-135deg);
    }
  }
}




/*-------------------------------
          	sub　サブページ
-------------------------------*/

.sub_page_title {
  /*  background: url(../images/common/wrapper_line.png) 100% 0px no-repeat;*/
  padding: 40px 0 0;
  max-width: 100%;
  margin-bottom: 30px;
  position: relative;
  opacity: 0;
  top: 0;
  transition: all 1.5s ease-out;

  &_2 {
    padding: 25px 0;
  }

  &.fade_in {
    opacity: 1;
  }

  &.sub_page_title_flex {
    @include flex;
    justify-content: space-between;
  }
}
@include mq(tab) {
  .sub_page_title {
    padding: 15px 0 0;
    max-width: 100%;
    margin-bottom: 20px;
    &_2 {
      padding: 15px 0;
    }

    &.sub_page_title_flex {
      @include flex-wrap;
    }
  }


}



.sub_title {
  font-size: 5.3rem;
  @include font(bold1);
  line-height: 1.3;
  font-weight: 700;

  span {
    display: block;
    @include font(maru);
    font-size: 2.8rem;
    color: $color-blue2;
    letter-spacing: -0.2px;
  }
}

@include mq(tab) {

  .sub_title {
    font-size: 3.3rem;
    @include font(bold1);
    line-height: 1.3;

    span {
      display: block;
      @include font(maru);
      font-size: 2.2rem;
      color: $color-blue;
      letter-spacing: -0.2px;
    }
  }

}
@include mq(sp) {

  .sub_title {
    font-size: 2.8rem;
    span {
      font-size: 2.0rem;
    }
  }

}

.sub_page_line {
  display: block;
  width: 100%;
  height: 8px;
  border-top: 4px solid $color-blue;
  background: $color-blue2;
  content: "";
}

.recruite {
  .sub_page_line {
    display: none;
  }
}

.top_link{
  display: block;
  width: 100%;
  text-align: right;
  a{
    display: inline-block;
    text-align: right;
    color: #000;
    margin-bottom: 60px;
    &:before{
      display: inline-block;
      width: 0;
      height: 0;
border-style: solid;
border-width: 0 7.5px 15px 7.5px;
border-color: transparent transparent #000000 transparent;
content: "";
margin-right: 10px;

    }
  }
}

.link_btn{
  &_1{
    @include flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 60px;
    margin: auto;
    font-size: 2.0rem;
    border: 2px solid #000;
    color: #000;
    line-height: 1;
    &:after{
      display: inline-block;
      content: ">";
      margin-left: 10px;
      width: 1em;
      height: 1em;
    }

  }

}


@include mq(sp) {
  .link_btn{
    &_1{
      height: 56px;
      font-size: 1.6rem;
    }
  }
}
