/*------------------------------
	Header
------------------------------*/
/*logo
---------------------*/
#header #logo {
  display: flex;
  align-items: flex-end;
  width: 50%;
}
#header #logo img {
  width: 100%;
  height: auto;
}
#header #logo #logoimg img {
  max-width: 170px;
}
#header #logo h1 {
  font-size: 1em;
  letter-spacing: 1px;
  margin: 0;
}
#header h1 a {
  color: rgba(0, 0, 0, 1.00);
}
#header #logo h1 img {
  max-width: 490px;
}
@media (max-width:991.98px) {
  #header #logo h1 {
    font-size: 11px;
    letter-spacing: 0px;
  }
}
@media (max-width:767.98px) {
  #header #logo {
    display: flex;
    width: 70%;
  }
  #header #logo h1 {
    letter-spacing: 0px;
  }
  #header #logoimg {
    max-width: 80px;
  }
  #header #logo .ttl img {
    max-width: 280px;
  }
}
@media (max-width:575.98px) {
  #header #logo {
    display: flex;
    width: 70%;
  }
  #header #logo h1 {
    font-size: 8px;
    letter-spacing: 0px;
  }
  #header #logoimg {
    max-width: 70px;
  }
  #header #logo .ttl img {
    max-width: 230px;
  }
}
/*nav
---------------------*/
.inner {
  width: 100%;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
}
.head-inner {
  display: none;
}
.slick-next {
  right: 0;
}
#top-head {
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto auto;
  padding: 0;
  line-height: 1;
  z-index: 9999;
  -webkit-font-smoothing: antialiased;
}
#top-head a, #top-head {
  text-decoration: none;
}
/*トグルボタンのCSS
-------------*/
#nav-toggle {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1100;
  display: flex;
  border-radius: 100%;
  padding: 14px 14px;
  background-color: rgba(61, 72, 47, 1.00);
  text-align: center;
  width: 70px;
  height: 70px;
  color: rgba(255, 255, 255, 1.00);
  transition: all 1.5s ease 0s;
}
#nav-toggle:hover {
  background-color: rgba(80, 102, 52, 1.00);
}
@media (max-width:767.98px) {
  #nav-toggle {
    padding: 10px 10px;
    width: 60px;
    height: 60px;
  }
}
#nav-toggle div {
  position: relative;
  top: 12px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  left: 50%;
  transform: translate(-50%, 0%);
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 1.00);
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 8px;
}
#nav-toggle span:nth-child(3) {
  top: 16px;
}
#nav-toggle {
  display: block;
}
/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
  top: 8px;
  transform: rotate(315deg);
}
.open #nav-toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 8px;
  transform: rotate(-315deg);
}
/* #global-nav スライドアニメーション */
.open #global-nav {
  /* #global-nav top + #mobile-head height */
  transform: translateY(0);
}
/* navi
------------------------------*/
#global-nav {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 50%;
  transform: translateX(100%);
  max-width: 520px;
  transition: .5s ease-in-out;
  background-color: rgba(61, 72, 47, 1.00);
  padding: 8em 0em 4em 2em;
  margin-top: 0px;
  border-bottom-left-radius: 20px;
  display: inline-block;
}
#global-nav ul {
  list-style: none;
  padding: 0;
  margin: auto;
  width: 90%;
}
#global-nav ul li {
  padding: 0;
  margin: 0;
}
#top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
  width: 100%;
  display: flex;
  color: white;
  padding: 0;
}
@media (min-width:992px) {
  #global-nav ul {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    writing-mode: vertical-lr;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    line-height: 40px;
    list-style-type: none;
    margin: 0;
  }
  #global-nav ul li a {
    font-size: 1.2em;
  }
  #global-nav ul a:hover {
    margin-top: -5px;
    transition: all 0.6s ease;
  }
  #global-nav ul ul {
    padding-top: 1em;
    list-style-type: none;
  }
}
@media (max-width:991.98px) {
  #global-nav {
    width: auto;
    max-width: inherit;
    min-width: 300px;
    padding: 5em 2em 4em 3em;
  }
  #global-nav ul {
    line-height: 30px;
    list-style-type: none;
    margin: 0;
  }
  #global-nav ul li a {
    font-size: 1.2em;
  }
  #global-nav ul a:hover {
    margin-left: -5px;
    transition: all 0.6s ease;
  }
  #global-nav ul ul {
    padding-left: 1em;
    list-style-type: none;
  }
}
@media (max-width:767.98px) {
  #global-nav {
    width: auto;
    max-width: inherit;
    min-width: 300px;
    padding: 5em 2em 4em 3em;
  }
  #global-nav ul {
    line-height: 40px;
    list-style-type: none;
    margin: 0;
  }
  #global-nav ul li a {
    font-size: 1.2em;
  }
  #global-nav ul ul {
    padding-left: 1em;
    list-style-type: none;
  }
}
@media (max-width:500px) {
  #global-nav ul {
    line-height: 30px;
  }
  #global-nav ul li a {
    font-size: 14px;
  }
}
/*固定化されたとき
-----------*/
#top-head.fixed {
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: top 0.80s ease-in;
  height: 80px;
  padding: 0;
  margin: auto;
}
#top-head.fixed #logo {
  display: none;
}