
@import url(https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap);
@media screen and (max-width: 767px) {
/* overlay-styles.css */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  
  .hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }
  
  .hamburger-overlay__line:nth-of-type(1) { top: 14px; }
  .hamburger-overlay__line:nth-of-type(2) { top: 23px; }
  .hamburger-overlay__line:nth-of-type(3) { top: 32px; }
  
  .hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
  }
  
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }
  
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
  }
  
  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }
  
  .nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }
  
  .nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
  }
  
  .nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.05s; }
  .nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.1s; }
  .nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.15s; }
  .nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.2s; }
  .nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.25s; }
    .nav-overlay.active .nav-overlay__item:nth-child(6) { transition-delay: 0.3s; }
    .nav-overlay.active .nav-overlay__item:nth-child(7) { transition-delay: 0.35s; }
    .nav-overlay.active .nav-overlay__item:nth-child(8) { transition-delay: 0.4s; }
    .nav-overlay.active .nav-overlay__item:nth-child(9) { transition-delay: 0.45s; }
    .nav-overlay.active .nav-overlay__item:nth-child(10) { transition-delay: 0.5s; }
  .nav-overlay_heading{
    font-family:'Zen Kaku Gothic New','Noto Sans JP', sans-serif;
    display: inline-block;
    padding: 1rem;
    color: #fff;
    font-size: 1.2rem;
  }
  .nav-overlay__link {
    font-family:'Zen Kaku Gothic New','Noto Sans JP', sans-serif;
    display: inline-block;
    padding: 0.7rem;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color .3s;
  }
  
  .nav-overlay__link:hover {
    color: #4a90e2;
  }    
}
@media screen and (min-width: 768px) {
    /* overlay-styles.css */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
  }
  
  .hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #333;
    transition: all .6s;
  }
  
  .hamburger-overlay__line:nth-of-type(1) { top: 14px; }
  .hamburger-overlay__line:nth-of-type(2) { top: 23px; }
  .hamburger-overlay__line:nth-of-type(3) { top: 32px; }
  
  .hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
  }
  
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }
  
  .nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
  }
  
  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }
  
  .nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }
  
  .nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
  }
  
  .nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.05s; }
  .nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.1s; }
  .nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.15s; }
  .nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.2s; }
  .nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.25s; }
    .nav-overlay.active .nav-overlay__item:nth-child(6) { transition-delay: 0.3s; }
    .nav-overlay.active .nav-overlay__item:nth-child(7) { transition-delay: 0.35s; }
    .nav-overlay.active .nav-overlay__item:nth-child(8) { transition-delay: 0.4s; }
    .nav-overlay.active .nav-overlay__item:nth-child(9) { transition-delay: 0.45s; }
    .nav-overlay.active .nav-overlay__item:nth-child(10) { transition-delay: 0.5s; }
  .nav-overlay_heading{
    font-family:'Zen Kaku Gothic New','Noto Sans JP', sans-serif;
    display: inline-block;
    padding: 1rem;
    color: #fff;
    font-size: 1.5rem;
  }
  .nav-overlay_bunkatsu{
    display: grid;
    grid-template-rows: repeat(4,auto);
    grid-template-columns:repeat(2,auto);
    grid-auto-flow: column;
  }
  .nav-overlay__link {
    font-family:'Zen Kaku Gothic New','Noto Sans JP', sans-serif;
    display: inline-block;
    padding: 1rem;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color .3s;
  }
  
  .nav-overlay__link:hover {
    color: #4a90e2;
  }
  #mask{
    display: none;
    transition: all .5s;
  }
  .open #mask{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
  }
}
@media screen and (min-width:768px) {
    .top_logo{
        top: 0;
        left: 0;
        z-index: 50;
        height: 100px;
    }
}
@media screen and (max-width: 767px) {
    .top_logo{
        top: 20px;
        left: 0;
        z-index: 50;
        height: 50px;
    } 
}