@charset "utf-8";

/* 総本店 */

.header {
  width: 22.0rem;
  height: 100%;
  color: #fff;
  background-color: #191919;
  position: fixed;
  top: 0;
  text-align: center;
  overflow-y: auto;
  padding: 6rem 3.27rem 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.header::-webkit-scrollbar{
  display:none;
}

.header_img_link {
  display: inline-block;
  /* margin-top: 6.0rem; */
  margin-bottom: 2rem;
}

.header_logo_img {
  width: 15.46rem;
  overflow: hidden;
  display: block;
}

.header_logo_img2 {
  width: 10.0rem;
  overflow: hidden;
  /* margin-bottom: 7rem; */
}

.header_h .header_logo_img {
  width: 10rem;
}

.header_h .header_logo_img2{
  width: 15.46rem;
}

.header_h .header_img_link2 {
  display: inline-block;
}

.header_nav_list {
  margin-bottom: 3.0rem;
}

.header_nav_list_c {
  /* margin-bottom: 6.6rem; */
}

.header_page_link {
  font-family: var(--ZenMincho);
  font-weight: 400;
  line-height: calc(21em / 15);
  letter-spacing: calc(1.5em / 15);
  font-size: 1.5rem;
  color: #C4A959;
  position: relative;
}

/* .header_page_link::before {
  position: absolute;
  display: block;
  content: '';
  top: -1rem;
  left: calc((100% - 0.3rem) / 2);
  aspect-ratio: 1;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: #fff;
  margin-bottom: 1rem;
} */

.header_nav_wrapper{
  margin-top: 4.8rem;
}

.header_link_outer {
  display: flex;
  gap: 1.128rem;
  justify-content: center;
  margin-top: 2.6rem;
  height: fit-content;
}

.header_link_outer .header_nav_list{
  margin: 0;
}

.header_link_f {
  width: 2.115rem;
  object-fit: cover;
}

.header_link_i {
  width: 2.132rem;
  object-fit: cover;
}

.header_link_y {
  width: 2.932rem;
  object-fit: cover;
}

.header_link_x {
  width: 2.132rem;
  object-fit: cover;
}

/* 博多一幸舎 */

.header_h {
  width: 22.0rem;
  height: 100%;
  color: #fff;
  background-image: url('../img/header_back_g_img.png');
  position: fixed;
  top: 0;
  overflow-y: auto;
  text-align: center;
  padding: 6rem 3.15rem 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.header_h::-webkit-scrollbar{
  display:none;
}


.header_page_link_h {
  font-family: var(--ZenMincho);
  font-weight: 400;
  line-height: calc(21em / 15);
  letter-spacing: calc(1.5em / 15);
  font-size: 1.5rem;
  color: #BC0000;
  position: relative;
}

/* .header_page_link_h::before {
  position: absolute;
  display: block;
  content: '';
  top: -1rem;
  left: calc((100% - 0.3rem) / 2);
  aspect-ratio: 1;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: #000;
  margin-bottom: 1rem;
} */

@media screen and (max-width:699.98px) {

    
  .header.pc_only,
  .header_h,
  .pc_only{
    display: none;
  }


/* 総本店ハンバーガーメニュー */

/* ロゴ */
  .header_img_link_b {
    position: fixed;
    top: 2.0rem;
    left: 2.0rem;
    display: inline-block;
    z-index: 99999;
  }

  .header_logo_img_b {
    /* width: 15.46rem; */
    width: 19.7rem;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7)) 
          drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  }

  /*閉じた時 ロゴ */
  
  .header_img_link_w {
    display: inline-block;
  }

  .header_logo_img_w {
    width: 19.7rem;
    object-fit: cover;
    display: block;
    z-index: 999999;
    margin-top: 2.5rem;
    margin-left: 2.0rem;
  }
  
  .header_logo_img2_w {
    width: 12.5rem;
    object-fit: cover;
    display: block;
    z-index: 999999;
    margin-top: 0.7rem;
    margin-left: 2.0rem;
  }

  .hamburger_fade {
    position: fixed;
    top: 2.0rem;
    right: 2.0rem;
    z-index: 999999;
    width: 5rem;
    height: 5rem;
    padding: 0;
    background: #000;
    cursor: pointer;
    border-radius: 50%;
    border: solid 0.1rem #000;
  }

  .hamburger_fade.header_active_sp {
    background: #fff;
  }

  .hamburger_fade_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 3rem;
    height: 2rem;
  }

  .hamburger_fade_line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: #fff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .hamburger_fade_line:nth-child(1) { top: 0; }
  .hamburger_fade_line:nth-child(2) { top: 0.9rem; }
  .hamburger_fade_line:nth-child(3) { top: 1.8rem; }
  
  .hamburger_fade.header_active .hamburger_fade_line {
    background-color: #000;
  }
  
  .hamburger_fade.header_active .hamburger_fade_line:nth-child(1) {
    transform: translateY(0.9rem) rotate(30deg);
  }
  
  .hamburger_fade.header_active .hamburger_fade_line:nth-child(2) {
    opacity: 0;
    transform: translateX(2rem);
  }
  
  .hamburger_fade.header_active .hamburger_fade_line:nth-child(3) {
    transform: translateY(-0.9rem) rotate(-30deg);
  }
  
  .hamberger_fade.header_active_sp {
    filter: invert(100%);
  }

  .nav_fade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 99999;
  }

  .nav_fade_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav_fade.header_active {
    visibility: visible;
  }

  .nav_fade.header_active .nav_fade_bg {
    opacity: 1;
  }

  .nav_fade_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .nav_fade_list {
    text-align: center;
    margin-top: 3.8rem;
    display: flex;
    gap: 4.0rem;
    flex-direction: column;
    justify-content: center;    
  }

  .nav_fade_item {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .nav_fade.header_active .nav_fade_item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav_fade.header_active .nav_fade_item:nth-child(1) { transition-delay: 0.2s; }
  .nav_fade.header_active .nav_fade_item:nth-child(2) { transition-delay: 0.3s; }
  .nav_fade.header_active .nav_fade_item:nth-child(3) { transition-delay: 0.4s; }
  .nav_fade.header_active .nav_fade_item:nth-child(4) { transition-delay: 0.5s; }
  .nav_fade.header_active .nav_fade_item:nth-child(5) { transition-delay: 0.6s; }
  .nav_fade.header_active .nav_fade_item:nth-child(6) { transition-delay: 0.7s; }
  .nav_fade.header_active .nav_fade_item:nth-child(7) { transition-delay: 0.8s; }

  .nav_fade_link {
    display: inline-block;
    color: #C4A959;
    font-size: 1.5rem;
    line-height: calc(21em / 15);
    letter-spacing: calc(1.5em / 15);
    font-family: var(--ZenMincho);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .header_link_outer_sp {
    display: flex;
    gap: 1.993rem;
    justify-content: center;
    margin-top: 6.5rem;
  }
  
  .header_link_f_sp {
    width: 3.0rem;
    object-fit: cover;
  }

  .header_link_i_sp {
    width: 3.0rem;
    object-fit: cover;
  }

  .header_link_y_sp {
    width: 3.8rem;
    object-fit: cover;
  }

  .header_link_x_sp {
    width: 3.0rem;
    object-fit: cover;
  }

  /* 博多一幸舎ハンバーガーメニュー */

  /* ロゴ */
  .hakata_logo1 {
    width: 15.7rem;
    object-fit: cover;
    display: block;
  }

  /* 閉じた時のロゴ */
  .header_img_link_w {
    display: inline-block;
  }

  .header_logo_img_w_h {
    width: 15.833rem;
    object-fit: cover;
    display: block;
    z-index: 999999;
    margin-top: 2.1rem;
    margin-left: 2.0rem;
  }
  
  .header_logo_img2_w_h {
    width: 15.306rem;
    object-fit: cover;
    display: block;
    z-index: 999999;
    margin-top: 0.7rem;
    margin-left: 2.0rem;
  }

  .nav_fade_bg_hakata {
    background-image: url('../img/header_bg_sp.png');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

  .nav_fade.header_active {
    visibility: visible;
  }

  .nav_fade.header_active .nav_fade_bg_hakata {
    opacity: 1;
  }

  .nav_fade_link_h {
    display: inline-block;
    color: #BC0000;
    line-height: calc(21em / 15);
    letter-spacing: calc(1.5em / 15);
    font-size: 1.5rem;
    font-family: var(--ZenMincho);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  /* .nav_fade_link_h::before {
    position: absolute;
    display: block;
    content: '';
    top: -1rem;
    left: calc((100% - 0.3rem) / 2);
    aspect-ratio: 1;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background-color: #000;
    margin-bottom: 1rem;
  } */

  /* ハンバーガーメニュー */
  .hamburger_fade_h {
    position: fixed;
    top: 2.0rem;
    right: 2.0rem;
    z-index: 999999;
    width: 5rem;
    height: 5rem;
    padding: 0;
    background: #000;
    cursor: pointer;
    border-radius: 50%;
    border: solid 0.1rem #000;
  }

  .hamburger_fade_h.header_active_sp {
    background: #000;
  }

  .hamburger_fade_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 3rem;
    height: 2rem;
  }

  .hamburger_fade_line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: #fff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .hamburger_fade_line:nth-child(1) { top: 0; }
  .hamburger_fade_line:nth-child(2) { top: 0.9rem; }
  .hamburger_fade_line:nth-child(3) { top: 1.8rem; }
  
  .hamburger_fade_h.header_active .hamburger_fade_line {
    background-color: #fff;
  }
  
  .hamburger_fade_h.header_active .hamburger_fade_line:nth-child(1) {
    transform: translateY(0.9rem) rotate(30deg);
  }
  
  .hamburger_fade_h.header_active .hamburger_fade_line:nth-child(2) {
    opacity: 0;
    transform: translateX(2rem);
  }
  
  .hamburger_fade_h.header_active .hamburger_fade_line:nth-child(3) {
    transform: translateY(-0.9rem) rotate(-30deg);
  }
  
  .hamberger_fade_h.header_active_sp {
    filter: invert(100%);
  }
}