﻿@charset "utf-8";

/* --------------------------------


  nav


-------------------------------- */

/* --------------------------------

  ナビゲーション（全体・共通スタイル）

-------------------------------- */

  #head-nav {
    display:none;
  }
  .nav .inner {
    position: static;
    padding: 0;
    z-index: 1;
  }

  .nav-link {
    display: table;
    position: relative;
    width: 100%;
    text-decoration: none;
    color: #fff;
    text-align: left;
  }

  .nav-name {
    display: table-cell;
    vertical-align: middle;
    letter-spacing: -.05em;
  }

  .nav-arrow {
    position: relative;
    display: inline-block;
  }

  .nav-arrow:before {
    position: absolute;
    left: 0;
  }

@media print, screen and (min-width: 1101px) {
  #head-nav {
    display:block;
  }
  .nav-link {
    text-align: center;
  }

  .nav {
    margin-top: -64px;
    padding-top: 64px;
  }

  .nav-items {
    position: relative;
    display: table;
    width: 100%;
  }

  .nav-item {
    display: table-cell;
    vertical-align: middle;
  }

}

/* --------------------------------

  ナビゲーション（上部.head-nav）

-------------------------------- */

@media print, screen and (min-width: 1101px) {

  .head-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .head-nav:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50px;
    background: rgba(255,255,255,.9);
  }

  .head-nav .inner {
    padding-top: 8px;
    text-align: center;
  }

#nav-item-contact{
  text-align:right;
}
#nav-item-app1{
  width: 240px;
  text-align:right;
  position: relative;
}

  .head-nav li:not(:last-child) {
    margin-right: 2em;
  }



  .head-nav .nav-link {
    font-size: 1.05em;
  }

  .head-nav .nav-arrow {
    padding-left: 1.2em;
  }

  .head-nav .nav-arrow:before {
    white-space: pre-wrap;
    content: '≫  ';
    padding-right: 10px;
    display:inline-block;
    width:50px;
    text-align:left;
  }

  .nav-link-app1 {
    margin-top: -54px;
    padding-top: 38px;
    padding-bottom: 10px;
    padding-left: 1.4em;
    padding-right: 1.4em;
  }
  #nav-item-app1 a{
    color: #333 !important;
  }


  .nav-link-app1:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 36px;
    height: 36px;
    background: #fff url(../img/base/logo.png) no-repeat center;
    border-radius: 4px;
    background-size: 38px auto;
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.07);
  }

  .nav-link-app1 .nav-name {
    position: absolute;
    z-index: 1;
    float: left;
    margin-right:1em;
    padding-top: 7px;
  }

  #nav-item-contact a{
    color: #00A6C4 !important;
    font-size:1.5em;
    padding: 10px;
    text-align: right;
  }
}

@media screen and (max-width: 1100px) {

  .head-nav .nav-link {
    padding-left: 1em;
    padding-right: 1em;
    height: 82px;
    font-size: 1.5em;
    border-bottom: 1px dotted #fff;
  }

}



/* --------------------------------

  ナビゲーション（下部.main-nav）

-------------------------------- */

  .main-nav .nav-link {
    padding-left: 1em;
    padding-right: 1em;
    height: 82px;
    font-size: 1.5em;
    white-space: nowrap;
  }

  .main-nav .nav-link:hover,
  .main-nav .sub-nav-open .nav-link {
    color: #333;
    background-color: rgba(255,255,255,.55);
  }
  #nav-item-recruit, #nav-item-app3{
    background:url("../img/base/arrow-right.svg") no-repeat;
    background-size:14px;
    background-position: 95% 50%;
  }
  .nav-item-open{
    background:url("../img/base/arrow-bottom.svg") no-repeat;
    background-size:14px;
    background-position: 95% 50%;
  }
  .sub-nav-open{
    background:url("../img/base/arrow-top.svg") no-repeat;
    background-size:14px;
    background-position: 95% 30px;
  }



  .main-nav .nav-link:hover .nav-arrow:before,
  .main-nav .sub-nav-open .nav-arrow:before {
    opacity: 1;
  }

  .nav-item-app2,
  .nav-item-contact2 {
    display: none;
  }

@media print, screen and (min-width: 1101px) {

  .nav-item-open, #nav-item-recruit, #nav-item-app3{
    background: none;
  }

  .main-nav .nav-arrow {
    padding-left: 1.5em;
    padding-right: 1em;
  }

  .main-nav .nav-arrow:before {
    content: '▼';
    top: .2em;
    font-size: .8em;
    color: #fff !important;
    opacity: 0;
  }
  .main-nav {
    display: block;
    position: absolute;
    left: 0;
    top: 246px;
    width: 100%;
    height: 82px;
    background-color: rgba(0,166,196,.8);
    z-index: 10000;
    font-size:12px;
  }

  #top .main-nav {
    top: 490px;
  }

  .main-nav .nav-items {
    width: 100%;
  }

  .nav-item-contact {
    display: none;
  }

  .main-nav .nav-link {
    background-image: url(../img/menu/nav-border.png);
    background-repeat: no-repeat;
    background-position: right;
  }

  #nav .main-nav .nav-link.nav-link-contact2 {
    background-image: url(../img/menu/nav-border.png), url(../img/base/icon_mail.png);
    background-position: right, center;
    background-size: auto, 30px auto;
  }

  .nav-link-contact2 .nav-name {
    visibility: hidden;
  }

}

@media screen and (max-width: 1100px) {

  .nav-item-contact {
    display: none;
  }

  .main-nav .nav-link {
    border-bottom: 1px dotted #fff;
  }

}

/* --------------------------------

  ドロップダウンナビ

-------------------------------- */

  .sub-nav-inner {
    padding-top: 2em;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .sub-nav-list {
    margin-bottom: -20px;
    margin-right: -20px;
    overflow: hidden;
    /* display: -webkit-flex; */
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    /* display: flex; */
    /* -webkit-flex-wrap: wrap; */
    /* flex-wrap: wrap; */
  }

  .sub-nav-list li {
    margin-bottom: 20px;
    padding-right: 20px;
    width: 100%;
    /* background:url("../img/base/arrow-right.svg") no-repeat; */
    /* background-size:18px; */
    /* background-position: 95% 50%; */
  }
  
  .sub-nav-list li img{
    display: none;
  }

  .sub-nav-link {
    text-align: left;
    display: block;
    text-decoration: none;
  }

  .sub-nav-title {
    margin-bottom: .4em;
    line-height: 1.2;
    letter-spacing: -.07em;
    font-weight: bold;
    font-size: 1.14em;
    color: #222;
  }

  .sub-nav-img img {
    width: 100%;
  }

@media print, screen and (min-width: 641px) {

  .sub-nav-list li img{
    display: none;
  }

  .sub-nav-list li {
    /* width: 33.33%; */
  }

}

@media print, screen and (min-width: 1101px) {

  .sub-nav {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(228,228,228,.9);
  }

  .sub-nav-open .sub-nav {
    display: block;
  }

  .sub-nav-inner {
    display: block;
    padding-left: 0px;
    padding-right: 0px;
    /* max-width: 1400px; */
    width: 100%;
    margin: auto;
    padding: 1em 2em;
    overflow: hidden;
  }

  .sub-nav-list {
    text-align: center;
    /* text-align: center; */
    -webkit-flex-wrap: no-wrap;
    flex-wrap: no-wrap;
  }

  .sub-nav-list li {
    display: inline-block;
    width: 14%;
    /* text-align: center; */
  }
  .sub-nav-list li img{
    display: block;
  }
}

@media screen and (max-width: 1100px) {

  .sub-nav {
    display: none;
  }

  .sub-nav-open .sub-nav {
    display: block;
  }

  .sub-nav-inner {
    background: #ECECEC;
  }

}

/* --------------------------------

  .nav.fixed

-------------------------------- */

@media print, screen and (min-width: 1101px) {

  .nav.fixed {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 64px;
    margin-top: 0;
    padding-top: 0;
    transition: .2s margin-top;
    background-color: rgba(0,166,196,.8);
    z-index: 10000;
  }

  .nav.fixed .head-nav {
    display: none;
  }

  .nav.fixed .main-nav {
    position: static;
    padding-left: 83px;
    height: 64px;
    background-color: transparent;
  }

  .main-nav li:last-child .nav-link {
    background-image: url(../img/menu/nav-border.png);
    background-repeat: no-repeat;
    background-position: right;
  }

  .nav.fixed .nav-item-app2,
  .nav.fixed .nav-item-contact2 {
    display: table-cell;
  }

  .nav.fixed .main-nav .nav-link {
    height: 64px;
    font-size: 1.15em;
  }

  .nav.fixed .head-nav:before {
    display: none;
  }

  .nav.fixed .head-nav .inner {
    padding-top: 0;
  }

}

/* --------------------------------

  スマートフォン

-------------------------------- */

@media screen and (max-width: 1100px) {

  .nav {
    display: block;
    position: fixed;
    top: 50px;
    left: -240px;
    height: 100%;
    padding: 0;
    z-index: 100000;
  }

  .nav.open {
    left: 0;
    width: 100%;
    background-color: #00A6C4;
  }

  .nav-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 100%;
    margin-left: 0;
    padding: 50px 0 0;
    background-color: #fff;
    will-change: margin-left;
    z-index: 10;
    -webkit-transition: margin-left .2s;
            transition: margin-left .2s;
  }

  .nav.open .nav-layout {
    width: 100%;
    background-color: #21B2CC;
  }

  .nav .inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

}

/*--------------------------------

  button

--------------------------------*/

  .nav-button {
    display: none;
  }

@media screen and (max-width: 1100px) {

  .nav-button {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    z-index: 1000000;
  }

  .nav-button.active {
    position: fixed;
    width: 100%;
    background-color: #fff;
  }

  .nav-button-icon,
  .nav-button-icon:before,
  .nav-button-icon:after {
    display: block;
    position: absolute;
    top: -12px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    margin: auto;
    background-color: #082506;
  }

  .nav-button-icon:before,
  .nav-button-icon:after {
    content: "";
    top: 0;
    -webkit-transition: 0s;
            transition: 0s;
  }

  .nav-button-icon:before {
    margin-top: -8px;
  }

  .nav-button-icon:after {
    margin-top: 8px;
  }

  .nav-button.active .nav-button-icon {
    background: none;
  }

  .nav-button.active .nav-button-icon:before,
  .nav-button.active .nav-button-icon:after {
    margin-top: 0;
  }

  .nav-button.active .nav-button-icon:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }

  .nav-button.active .nav-button-icon:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }

  .nav-button-name {
    display: block;
    position: absolute;
    bottom: 3px;
    width: 100%;
    color: #082506;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
  }

  .nav-button-name:after {
    content: "MENU";
  }

  .nav-button.active .nav-button-name:after {
    content: "CLOSE";
  }

}

#sphead{
  position: absolute;
  z-index: 100000;
  text-align: center;
  padding-left: 50px;
  width: 100%;
}
#sphead p{ float:left; padding: 15px 0 0 0;}
#sphead div{ float:right; text-align:right; padding:8px 10px 0 0; font-size:0.8em;}

@media print, screen and (min-width: 1101px) {
  #sphead{ display: none;}
  .fixed #nav-item-app1,
  .fixed #nav-item-app2,
  .fixed #tellink{
    display: none;
  }
}