@charset "UTF-8";

/**************************************************
* ヘッダー ※変更不可
***************************************************/
/*------------------------------
ヘッダー、Gナビ共通 ※変更不可
------------------------------*/
.l-head {
  width: 100%;
  height: 3.75rem;
  background: var(--color--white01);
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  font-size: var(--smallest);
  letter-spacing: 0.2rem;
  padding: 0 var(--space-1);
}
.l-head-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-head-left {
  width: 100%;
  max-width: 9.375rem;
}

/*------------------------------
Gナビ共通
------------------------------*/
.l-head-global-nav {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow-y: auto;
  margin: 0;
  background-color: var(--color--white01);
}
.l-head-global-nav ul {
  list-style: none;
  left: 50%;
  padding: 50px 10px 10px;
  margin: 0;
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.l-head-global-nav ul li a {
  border-bottom: 1px solid var(--color--gray05);
  color: var(--color--bk);
  display: block;
  padding: 0.6em 0.4em;
  text-align: center;
  text-decoration: none;
  border-right: none;
  padding: var(--space-2) var(--space-1);
  font-size: var(--font-medium);
}


@media (min-width: 600px) {
  .l-head {
    height: 4.375rem;
  }
  .l-head-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-2)
  }
  .l-head-left {
    max-width: 8.75rem;
  }
  .l-head-right {
    display: flex;
    align-items: center;
    flex: 1;
    width: fit-content;
    gap: .25rem;
  }

  .l-head-global-nav {
    position: relative;
    display: flex;
    flex: 1;
  }
  .l-head-global-nav nav {
    width: 100%;
  }

  .l-head-global-nav ul {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: var(--space-2);
    padding: 0;
  }
  .l-head-global-nav ul li a {
    position: relative;
    font-size: clamp(.625rem, 1.2vw, 1.125rem);
    border: none;
    padding: var(--space-2) 0;
  }

  /* CTA */
  .l-head-cta {
    width: fit-content;
  }
  @media (min-width: 700px) {
    .l-head-right {
      gap: var(--space-1); 
    }
  }
  @media (min-width: 750px) {
    .l-head-global-nav br.l-tb {
      display: none;
    }
  }

}

@media (min-width: 1023px) {
  .l-head {
    height: 5rem;
  }
  .l-head-right {
    gap: var(--space-3);
  }
  
  .l-head-left {
    max-width: 16.25rem;
  }

  .l-head-global-nav ul li a {
    font-size: clamp(.8125rem, 1vw, 1.125rem);
  }
  .l-head-global-nav ul li a:hover {
    color: var(--color--key);
  }
  .l-head-global-nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: .1875rem;
    background-color: var(--color--key);
    opacity: 0;
    transition: opacity 0.4s;
  }
  .l-head-global-nav ul li a:hover::after {
    opacity: 1;
  }
  
  @media (min-width: 1100px) {
    .l-head-right {
      gap: var(--space-4);
    }
    .l-head-left {
      max-width: 18.125rem;
    }
  }
}





