@font-face {
	font-family: 'MOBO-Bold';
	src: url('../assets/font/MOBO-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'MOBO-Regular';
	src: url('../assets/font/MOBO-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'MOBO-SemiBold';
	src: url('../assets/font/MOBO-SemiBold.woff2') format('woff2');
}

@font-face {
	font-family: 'MOBO';
	src: url('../assets/font/MOBO.woff2') format('woff2');
}

.site-header{
    background: url('../assets/img/bg-image.png');
    background-repeat: repeat; 
}

header{
    display: flex;
    justify-content: space-between;
    padding: 30px 45px;
    position: fixed;
    /* position: absolute; */
    z-index: 100;
    
    width: 100%;
    
}

.header-container{
    display: flex;
    justify-content: space-between;
    width: calc(100vw - 90px);
    height: 68px;
    align-items: center;
    
}
.logo-image{
    width: 340px;
    height: auto;
}

:root {
    --background-navbar: rgba(55, 55, 55, 0.98);
  }
  
  .header {
    background: var(--background-navbar);
    position: fixed;
    width: 100%;
    height: 52px;
  }

  .ubuntu{
    font-family: "Noto Sans JP", serif;
    font-weight: 300;
  }

  .noto{
    font-family: "Noto Sans JP", serif;
    font-weight: 300;
  }

  .inherit{
    color: inherit !important;
  }
  
  .header__menu-text{
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.05em;
    /* transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s; */
    color: #ffffff;
  }

  .header__menu-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 100%;
    margin: auto;
    gap: 5em;
  }

  /* Nav items */
  .menu {
    list-style: none;
    position: absolute;
    height: 100dvh;
    top: 0;
    right: 0;

    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    /* transform: scale(1, 0); */
    /* transform-origin: top; */

    transform: translateX(100%);
    color: #ffffff;
    
  }
  
  /* Hamburger menu button */
  .menu-btn:checked ~ .menu {
    /* transform: scale(1, 1); */
    /* transform-origin: top; */
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    background-color: #1D232A;
    border-top-left-radius: 100%;
    border-bottom-left-radius: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    transform: translateX(0);
  }
  
  /* Hamburger menbu text */
  .menu a {
    text-decoration: none;
    transition: 0.5s;
  }
  .header__menu-item{
    transform-origin: center;
  }
  .header__menu-item:hover{
    transform: scale(1.1) translateY(-3px);
  }
  .menu li {
    padding: 20px;
    margin: auto;
    opacity: 0;
    transition: 0.3s;
    text-align: center;
  }

  .header__menu-list{
    display: inline-grid;
    /* flex-grow: 1; */
    align-content: center;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  .header__menue-contents{
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .header__menue-contents img{
    height: 50px;
    width: auto;
  }
  
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    /* transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s; */
  }
  
  .menu-btn {
    display: none;
  }
  
  .menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 24px 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    Z-INDEX: 11;
  }
  
  .navicon {
    background: #1A1A1A;
    display: block;
    height: 3px;
    width: 48px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #1A1A1A;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before {
    top: 16px;
  }
  
  .navicon:after {
    bottom: 16px;
  }
  
  /* Hamburger Menu Animation Start */
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
    background: #ffffff;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
    background: #ffffff;
  }
  
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }

  .menu-btn:checked ~ .menu-icon-top-page {
    background: none;
  }
  /* Hamburger Menu Animation End */

  .header {
    background: rgba(55, 55, 55, 0.98);
    position: fixed;
    width: 100%;
    height: 52px;
}

.menu-icon {
    /* mix-blend-mode: difference; */
    position: relative;
    z-index: 10;
}

.menu-icon-top-page {
  border-radius: 50%;
}

.navicon {
    background: #1A1A1A;
    display: block;
    height: 3px;
    width: 48px;
    position: relative;
    transition: 0.3s;
}

.header__menue-contents a:hover{
  transform: scale(1.1);
}

@media screen and (min-width: 1024px) {
  .menu {
    width: 818px;
    padding: 100px 0 150px 100px;
  }
}

/* タブレット向けスタイル (縦向き) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .menu {
    width: 90%;
    padding: 100px 0 150px 50px;
  }
  .header__menu-container{
    /* max-height: 800px; */
  }
}

@media screen and (max-width: 767px) {
  header {
    padding: 10px;

}

.header-container {
  width: calc(100vw - 20px);
  align-items: center;
}


.logo-image {
  width: 200px;
  height: auto;
}


.navicon {
  height: 2px !important;
  width: 32px !important;
}

.navicon:before {
  top: 11px;
}
.navicon:after {
  bottom: 11px;
}
  .menu {
    width: 90%;
    padding: 100px 10px 100px 10px;
    border-radius: 0 !important;
  }
  .header__menu-list{
    font-size: 22px;
  }
  .header__menue-contents {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.menu li {
  padding: 15px;
}

.header__menue-contents img {
  height: calc(calc(90vw - 120px) / 6);
  max-height: 50px;
  min-height: 45px;
  width: auto;
}

.menu-icon-top-page {
  padding: 24px 5px;
}

}