@charset "UTF-8";
/*----------------------------------------------------
　基本設定
----------------------------------------------------*/
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}
/*----------------------------------------------------
　ヘッダー
----------------------------------------------------*/
.header {
  position: fixed;
  z-index: 2;
  width: calc(100% - 60px);
  max-width: 1140px;
  min-width: 980px;
  height: 70px;
  margin: 0 10px;
  background: #fff;
  border-top: 7px solid #1b2741;
  transition: .3s;
}
.logo {
  display: block;
  margin: 5px 10px 0 0;
  background-color: #fff;
  font-size: 20px;
  transition: .3s;
}
/*----------------------------------------------------
  ナビゲーション
----------------------------------------------------*/
nav {
  width: 100%;
  margin-top: 10px;
}
nav ul {
  list-style: none;
  padding: 0;
}
nav > ul > li {
  width: 100%;
  background-color: #fff;
}
nav > ul > li > a {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 3px;
  padding: 10px 0 8px;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  color: #069;
  font-size: 1.4rem;
  text-align: center;
  text-decoration: none;
  transition: .3s;
}
nav > ul > li > a > span {
	position: relative;
  padding-left: 0;
}
nav > ul > li.upper > a:link,
nav > ul > li.upper > a:visited,
nav > ul > li.upper > a:hover,
nav > ul > li.upper > a:active {
  background: #c6eaff;
  background: -webkit-linear-gradient(top, #c6eaff 0%,#ffffff 70%);
  background: linear-gradient(to bottom, #c6eaff 0%,#ffffff 70%);
  color: #333;
  text-decoration: none;
  text-shadow: 0 0 1px #999;
}
nav > ul > li.lower > a:link,
nav > ul > li.lower > a:visited,
nav > ul > li.lower > a:hover,
nav > ul > li.lower > a:active {
  background: #ffeeaa;
  background: -webkit-linear-gradient(top, #ffeeaa 0%,#ffffff 70%);
  background: linear-gradient(to bottom, #ffeeaa 0%,#ffffff 70%);
  color: #333;
  text-decoration: none;
  text-shadow: 0 0 1px #999;
}
nav > ul > li > a::before {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #ddd;
}
nav > ul > li > a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #f60;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
nav > ul > li > a:hover::after {
  background: #f60;
	transform-origin: left top;
  transform: scale(1, 1);
}
body.home nav > ul > li.home > a::after,
body.post-type-archive-seminar nav > ul > li.seminar > a::after,
body.seminar nav > ul > li.seminar > a::after,
body.page-id-278 nav > ul > li.consulting > a::after,
body nav > ul > li.current > a::after {
  background: #069;
  transform-origin: left top;
  transform: scale(1, 1);
}
nav > ul > li:first-child > a {
  border-top: 1px solid #ccc;
}
  nav {
    margin-top: 0;
  }
  nav > ul > li.upper > a:link,
  nav > ul > li.upper > a:visited,
  nav > ul > li.upper > a:hover,
  nav > ul > li.upper > a:active,
  nav > ul > li.lower > a:link,
  nav > ul > li.lower > a:visited,
  nav > ul > li.lower > a:hover,
  nav > ul > li.lower > a:active {
    margin-bottom: 10px;
    border-radius: 2px;
  }
  nav > ul > li > a::after {
    left: 10px;
    width: calc(100% - 20px);
  }
  nav > ul > li > a::before {
    left: 10px;
    width: calc(100% - 20px);
  }

  nav > ul {
    width: calc(100% - 40px);
    margin: 5px auto 0;
    font-size: 0;
  }
  nav > ul > li {
    display: inline-block;
    width: calc(100% / 5);
    margin: 0;
    padding: 0 3px;
    font-size: 1.6rem;
    vertical-align: top;
  }
  nav > ul > li > a {
    margin: 0 0 5px;
    padding-bottom: 5px;
    border: none;
    color: #333;
    text-decoration: none;
  }
  nav > ul > li:first-child > a {
    border-top: none;
  }

