html {
    font-size: 16px;
}
 
body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #333;
}
 
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}




/*----------------------------------------------------
　グローバルメニュー
----------------------------------------------------*/
.header-nav li {position: relative;}
.header-nav .sub-menu {
    position: absolute;
    top: 30px;
    left: 0;
    overflow: hidden;
    width: 250px;
    height: 0;
    transition: .8s;
    transform: translateY(-8%);
    opacity: 0;
}
.header-nav li:hover .sub-menu {
    height: auto;
    transform: translateY(0);
    opacity: 1;
}
.header-nav .sub-menu li {
    display: block;
    margin-left: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
    background-color: rgb(255 255 255 / 90%);
}

.header-nav .menu-item-has-children:nth-last-child(1) .sub-menu,
.header-nav .menu-item-has-children:nth-last-child(2) .sub-menu {
    right: 0;
    left: auto;
}
.header-nav .sub-menu li a {
    padding: 1em;
}
 
@media(max-width: 820px) {
  .header-nav li a {
    text-align: left;
  }
 
  .header-nav .menu-item-has-children > a {
    padding-bottom: 1em;
  }
 
  .header-nav .sub-menu li a {
    position: relative;
    padding: 1rem 1rem 1rem 2.75em;
  }
 
  .header-nav .sub-menu li a::before {
    position: absolute;
    top: 1.25em;
    left: 1.75em;
    display: block;
    width: .5em;
    height: .5em;
    content: "";
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
  }
}





