/* Style for PC */
@media screen and (min-width: 1025px) {

  nav.globalmenu {
    width: calc(100% - 100px);
    height: 100px;
    display: block;
    text-align: center;
    overflow: hidden;
    padding:0;
    margin:0 0 0 10px;
    transition: .4s all;
  }

  nav.globalmenu ul {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap:0.1%;
  }

  nav.globalmenu ul li {
    flex:0 0 calc((100% - 0.1% * 8) / 9);
    height: 100px;
    display: block;
    list-style-type: none;
    padding: 0;
    margin:0;
    transition: .4s all;
  }

  nav.globalmenu ul li a {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-image: url(../img/header/box-1st.webp);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: 0 2px;
    transition: .4s all;
  }
  nav.globalmenu ul li a h3 {
    width: 100%;
    height: auto;
    display: block;
    order:1;
    font-size: clamp(10px, 0.9vw, 14px);
    font-weight: 500;
    line-height: 1em;
    letter-spacing: -0.03em;
    color: var(--color-black);
    padding:0;
    margin:0 0 0.5em 0;
    transition: .4s all;
  }
  nav.globalmenu ul li a p {
    width: 100%;
    height: auto;
    display: block;
    order:2;
    font-size: clamp(6px, 0.7vw, 10px);
    font-family: var(--font-en);
    font-weight: 500;
    line-height: 1em;
    color:var(--color-999);
    padding:0;
    margin:0;
    transition: .4s all;
  }
  nav.globalmenu ul li a:hover {
    background-size: 100% 3px;
  }
  nav.globalmenu ul li a:hover h3 {
    color:var(--color-black);
  }
  nav.globalmenu ul li a:hover p {
    color:var(--color-1st);
  }

  header.header-fixed.header-show nav.globalmenu {
    height: 80px;
  }
  header.header-fixed.header-show nav.globalmenu ul {
    height: 80px;
  }
  header.header-fixed.header-show nav.globalmenu ul li {
    height: 80px;
  }
  header.header-fixed.header-show nav.globalmenu ul li a {
    height: 80px;
  }


}

/* Style for Smartphone */
@media screen and (max-width: 1024px) {

nav.globalmenu {
display: none;
}

nav.globalmenu ul {
display: none;
}

nav.globalmenu ul li {
display: none;
}

nav.globalmenu ul li:last-child {
border-bottom: none;
}

nav.globalmenu ul li a {
display: none;
}

}
