/* ------------------------------------------------
   global header
*/
.gl-h-container {
  border-bottom: 2px solid #111;
}
/* 高さ定義 */
.gl-h-logo {
  font-size: 24px;
  align-content: center;
}
.gl-h-logo img {
  height: 48px;
}
@media screen and (min-width: 768px) {
  .gl-h {
    height: 80px;
  }  
  .mv.-pctb-cover {
    margin-top: -80px;
  }
  .gl-h-logo {
    height: 80px;
  }
}
@media screen and (max-width: 767px) {
  .gl-h {
    height: 66px;
  }
  .mv.-sp-cover {
    margin-top: -66px;
  }
  .gl-h-logo {
    height: 66px;
  }
  .drawer-nav {
    top: 66px;
  }
}
/* */

.gl-h-container {
  position: relative;
  width: 100%;
  z-index: 50;
  top: 0;
}
.admin-bar .gl-h-container {
  top: 32px;
}
.gl-h-block {
  position: relative;
}
.gl-h-container.-pos-fix {
  position: fixed;
}

/* ------------ */
.gl-h-container.-color-light {
  color: #000;
  background-color: #FFF;
}
.gl-h-container.-color-dark {
  color: #FFF;
  background-color: #000;
}
.drawer:not(.drawer-open) .gl-h-container.-color-dark .drawer-hamburger-icon,
.gl-h-container.-color-dark .drawer-hamburger-icon::after,
.gl-h-container.-color-dark .drawer-hamburger-icon::before {
  background-color: #FFF;
}
.gl-h-block {
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gl-h .menu a,
.gl-h-logo a {
  text-decoration: none;
  color: inherit;
}
.gl-h ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.gl-h-logo {
  margin: 0;
}
.drawer-nav {
  color: inherit;
}
.gl-h-nav {
  font-size: 14px;
  line-height: 1.6;  
}
.gl-h .menu a,
.gl-h .menu-label {
  font-weight: bold;
  display: block;
}
@media screen and (min-width: 1024px) {
  .gl-h-nav > .menu {
    margin: 0 1em 0 2em;
  }
  .gl-h .menu-label {
    padding: .5em 1em;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .gl-h-nav > .menu {
    margin: 0 .5em;
  }  
  .gl-h .menu-label {
    padding: .5em;
  }
}
@media screen and (min-width: 768px) {
  .gl-h li {
    margin: 0;
  }
  .gl-h-nav {
    display: flex;
    align-items: center;
  }
  .gl-h-nav-buttons {
    order: 2;
    padding-right: 5px;
  }
  .gl-h-nav-buttons img {
    height: 48px;
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,.15);
  }
  .gl-h-nav > .menu {
    display: flex;
    flex-grow: 1;
  }
  .gl-h .menu-label {
    height: 80px;
    align-content: center;
  }
  .gl-h .menu-item:hover {
    color: #CE93D8;
  }
  .gl-h .-children {
    position: absolute;
    background: #111;
    color: #FFF;
    top: 80px;
  }
  .gl-h .-children .menu-label {
    height: auto;
    padding: 1em;
  }
  .drawer-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: inherit; 
  }
}
@media screen and (max-width: 767px) {
  .drawer--right.drawer-open .drawer-hamburger {
    right: 0 !important;
  }
  .drawer-hamburger {
    width: 24px;
    padding: 23px .5rem;    
  }
  .drawer-hamburger-icon, .drawer-hamburger-icon::after, .drawer-hamburger-icon::before {
    height: 1px;
  }
  .drawer-hamburger-icon {
    margin-top: 9px;
  }
  .drawer-hamburger-icon::before {
    top: -9px;
  }
  .drawer-hamburger-icon::after {
    top: 9px;
  }
  .drawer-nav {
    max-height: 100%;
    overflow-y: scroll;
    color: #FFF;
    background: #111;
  }
  .gl-h-nav {
    padding: 10px 0 140px;
    box-sizing: border-box;
    width: 100%;
  }
  .gl-h .menu-item {
    margin: 0;
    border-bottom: 1px solid #FFF;
  }
  .gl-h .menu-item a {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .gl-h .menu-item.-has-children .menu-item {
    border-top: 1px solid #FFF;
    border-bottom: 0;
  }
  .gl-h-nav > .menu > .menu-item > * {
    padding-left: 1em;
    padding-right: 1em;
  }
  .drawer--right .drawer-nav {
    right: -100%;
  }
  .gl-h .menu-item.-has-children > .menu-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .gl-h .menu-label  {
    flex-grow: 1;
  }
  .gl-h .menu .-children {
    color: #CE93D8;
  }
  .gl-h .js-drilldown-trigger {
    height: 1.5em;
    width: 1.5em;
    display: block;
    background: url(../images/icon-plus.png) no-repeat center center;
    background-size: 15px;
    cursor: pointer;
  }
  .gl-h .js-drilldown.-is-show .js-drilldown-trigger {
    background-image: url(../images/icon-minus.png);
    background-size: 15px 1px;    
  }  
}
.gl-h-sns {
  margin: 30px 0 0;
  text-align: center;
}
.gl-h-sns a {
  margin: 0 10px;
}
.gl-h-sns img {
  height: 30px;
}


/* ------------------------------------------------
   footer
*/
.gl-f {
  color: #FFF;
  background: #111;
  font-size: 14px;
}
.gl-f a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .gl-f-nav {
    display: flex;
    justify-content: space-between;
  }
  .gl-f-nav-top {
    flex: 0 0 23.5%;
    margin-left: 2%;
  }
  .gl-f-nav > :not(:first-child) {
    flex-grow: 1;
  }
  .gl-f-nav .menu {
    column-count: 3;
  }
}
@media screen and (max-width: 767px) {
  .gl-f-nav .menu {
    column-count: 2;
  }
}

.gl-f-logo {
  margin: 0;
}
.gl-f-nav ul {
  padding-left: 0;
  margin: 0;
  list-style-type: none;
}
.gl-f-nav-top,
.gl-f-nav li {
  margin-bottom: 20px;
}
.gl-f-copy {
  text-align: center;
  font-size: 12px;
  padding: 1em 0;
  border-top: 1px solid #FFF;
}
.gl-f-copy > * {
  white-space: nowrap;
}
.gl-f-copy > :not(:first-child)::before {
  content: "｜";
}
@media screen and (min-width: 768px) {
  .gl-f {
    margin-top: 50px;
    padding: 80px 0 0;
  }
  .gl-f-row {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .gl-f-logo {
    text-align: right;
  }
  .gl-f-logo img {
    height: 58px;
  }
}
@media screen and (max-width: 767px) {
  .gl-f {
    margin-top: 40px;    
    padding: 40px 0 64px;
  }
  .gl-f-row {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .gl-f-logo {
    text-align: center;
    margin-bottom: 20px;
  }
  .gl-f-logo img {
    height: 42px;
  }
}


/* ------------------------------------------------
 */
.gl-fixed {
  position: fixed;
  z-index: 99;
}
.gl-fixed > * {
  display: inline-block;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .gl-fixed {
    bottom: 0;
    right: 0;
    height: 64px;
    width: 100%;
    background: rgba(0,0,0,.7);
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .gl-fixed > :not(:last-child) {
    margin-right: 10px;
  }
  .gl-fixed img {
    height: 48px;
  }
}

/* ------------------------------------------------
 */
.gl-fixed-sns {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}
.gl-fixed-sns a {
  text-decoration: none;
  display: inline-block;
  margin-left: 20px;
}
.gl-fixed-sns img {
  height: 45px;
}
