@charset "utf-8";

/* ◆ PC SIZE ◆
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ヘッダー
━━━━━━━━━━━━━━━━━━━━━━ */

header {
  width: 100%;
  position: fixed;
  top: 0;
  background: #000;
  z-index: 999;
}

header .inner {
  display: table;
  width: 100%;
  margin: 0 auto;
}

header .inner h1 {
  display: table-cell;
  width: 240px;
  padding: 0 0 0 30px;
  vertical-align: middle;
}

header .inner h1 a {
  display: block;
  line-height: 0;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all  0.3s ease;
}

header .inner h1 a:hover {
  opacity: 0.5;
}

header .inner h1 img {
  width: 100%;
}

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

header nav ul {
  letter-spacing: -0.5em;
  text-align: right;
}

header nav li {
  display: inline-block;
  padding: 0 30px;
  background: url('../img/gnav_line.jpg') no-repeat center left;
  letter-spacing: normal;
  vertical-align: middle;
}

header nav ul li a {
  display: block;
  position: relative;
  padding: 25px 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all  0.3s ease;
  letter-spacing: 0.1em;
}

header nav ul li:first-child {
  background: none;
}

header nav ul li a:hover {
  color: #ffcb00;
}

header nav ul li a::after {
  position: absolute;
  bottom: 10px;
  left: 50%;
  border-top: 5px solid #959595;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition: all  0.3s ease;
  content: '';
}

header nav ul li a:hover::after {
  position: absolute;
  bottom: 10px; /* 三角形の高さ＋ボックスのボーダーをマイナスに */
  left: 50%;
  border-top: 5px solid #ffcb00;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: '';

  /* 中央寄せに使用 */
}

header nav ul li span {
  display: block;
  margin-top: 5px;
  font-family: Montserrat;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.05em;
}

#nav_toggle {
  display: none;
}

/* 追従
━━━━━━━━━━━━━━━━━━━━━━ */

.tsui {
  width: 42px;
  position: fixed;
  top: 80%;
  right: 10px;
  border: solid 2px#000;
  border-radius: 5px 0 0 5px;
  background: #ffcb00;
  z-index: 100;
}

.tsui li {
  display: table;
  width: 40px;
  height: 40px;
}

.tsui li a {
  display: table-cell;
  width: 42px;
  height: 42px;
  border-top: solid 2px #000;
  line-height: 0;
  text-align: center;
  vertical-align: middle;
}

.tsui li:first-child a {
  border-top: none;
}

.tsui li a img {
  width: 25px;
}

.tsui li.fortop a img {
  width: 15px;
}

/* フッター
━━━━━━━━━━━━━━━━━━━━━━ */

footer {
  border-top: solid 2px #fff;
  background: #000;
}

footer p.copy {
  padding: 8px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
}

/* ◆ TAB SIZE ◆
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (width <=1030px){
  header {
    width: 100%;
    position: fixed;
    background: #000;
    z-index: 10000;
  }

  header .inner {
    display: block;
    width: auto;
    height: 57px;
    position: relative;
    margin: 0 auto;
    padding: 0 1%;
  }

  header .inner h1 {
    display: block;
    width: 200px;
    position: relative;
    top: 9px;
    padding: 3px 0 0 1%;
  }

  header .inner h1 img {
    width: 100%;
  }

  header .inner h1 a {
    display: block;
    line-height: 0;
  }

  header .inner h1 a:hover {
    opacity: 1;
  }

  header nav {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 57px;
    left: 0;
    background: #333;
    z-index: 999;
  }

  header nav.close {
    display: none;
  }

  header nav ul{
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  header nav ul li{
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid #666;
    background: none;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    position: relative;
    padding: 25px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
  }

  header nav ul li:first-child {
    margin: 0;
  }

  header nav ul li a:hover {
    color: #fff;
  }

  header nav ul li a::after {
    display: none;
  }

  /* 開閉ボタン */

  #nav_toggle{
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 14px;
    right: 1%;
    z-index: 100;
  }

  #nav_toggle div {
    position: relative;
  }

  #nav_toggle span{
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    background: #ffcb00;
    transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  #nav_toggle span:nth-child(1){
    top: 0;
  }

  #nav_toggle span:nth-child(2){
    top: 12px;
  }

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

  /* 開閉ボタンopen時 */
  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
    transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
    transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  header nav ul li a.current::after {
    display: none;
  }

  /* 追従
━━━━━━━━━━━━━━━━━━━━━━ */

  .tsui {
    display: table;
    width: 100%;
    position: relative;
    top: auto;
    right: 0;
    border: none;
    border-radius: 0;
    background: #ffcb00;
    z-index: 100;
  }

  .tsui li {
    display: table-cell;
    width: 33.3333%;
    height: auto;
    border-left: solid 2px #000;
  }

  .tsui li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px 0;
    border-top: none;
    line-height: 0;
    text-align: center;
    vertical-align: middle;
  }

  .tsui li:first-child a {
    border-top: none;
  }

  .tsui li a img {
    width: 25px;
    margin: 0 auto;
  }

  .tsui li.fortop a img {
    width: 20px;
  }

  .tsui li.search {
    display: none;
  }

  /* フッター
━━━━━━━━━━━━━━━━━━━━━━ */

  footer {
    border-top: none;
    background: #000;
  }

  footer p.copy {
    padding: 8px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
  }







} /* END TAB ------------ */

/* ◆ SP SIZE ◆
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (width <=768px){
  header {
    width: 100%;
    position: fixed;
    background: #000;
    z-index: 10000;
  }

  header .inner {
    display: block;
    width: auto;
    height: 57px;
    position: relative;
    margin: 0 auto;
    padding: 0 1%;
  }

  header .inner h1 {
    display: block;
    width: 180px;
    position: relative;
    top: 10px;
  }

  header .inner h1 img {
    width: 100%;
  }

  header .inner h1 a {
    display: block;
    line-height: 0;
  }

  header .inner h1 a:hover {
    opacity: 1;
  }

  header nav{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 57px;
    left: 0;
    background: #333;
    z-index: 999;
  }

  header nav ul{
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  header nav ul li{
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid #666;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    position: relative;
    padding: 25px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
  }

  header nav ul li:first-child {
    margin: 0;
  }

  header nav ul li a:hover {
    color: #fff;
  }

  header nav ul li a:hover::after {
    display: none;
  }

  header nav ul li a.on::after {
    display: none;
  }

  /* 開閉ボタン */

  #nav_toggle{
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 14px;
    right: 1%;
    z-index: 100;
  }

  #nav_toggle div {
    position: relative;
  }

  #nav_toggle span{
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    background: #ffcb00;
    transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  #nav_toggle span:nth-child(1){
    top: 0;
  }

  #nav_toggle span:nth-child(2){
    top: 12px;
  }

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

  /* 開閉ボタンopen時 */
  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
    transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
    transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  /* 追従
━━━━━━━━━━━━━━━━━━━━━━ */

  .tsui {
    display: table;
    width: 100%;
    position: relative;
    top: auto;
    right: 0;
    border: none;
    border-radius: 0;
    background: #ffcb00;
    z-index: 100;
  }

  .tsui li {
    display: table-cell;
    width: 33.3333%;
    height: auto;
    border-left: solid 2px #000;
  }

  .tsui li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 0;
    border-top: none;
    line-height: 0;
    text-align: center;
    vertical-align: middle;
  }

  .tsui li:first-child a {
    border-top: none;
  }

  .tsui li a img {
    width: 25px;
    margin: 0 auto;
  }

  .tsui li.fortop a img {
    width: 20px;
  }

  .tsui li.search {
    display: none;
  }

  /* フッター
━━━━━━━━━━━━━━━━━━━━━━ */

  footer {
    border-top: none;
    background: #000;
  }

  footer p.copy {
    padding: 8px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
  }

  /* フッター
━━━━━━━━━━━━━━━━━━━━━━ */

  footer {
    background: #000;
  }

  footer p.copy {
    padding: 8px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
  }





} /* END SP ------------ */
