/* ==========================================
                    リセット
============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================
                    基準設定
============================================ */
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* アクセシビリティ：キーボード操作時のフォーカス表示 */
:focus-visible {
  outline: 3px solid #fda726;
  outline-offset: 2px;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}


/* ==========================================================
   ナビゲーション（PC SP スクロール追従固定 完全対応版）
========================================================== */

/* 親要素（site-header）の高さ制限による sticky 解除を防止 */
.site-header {
  display: contents; /* 子要素（navやbanner）の描画コンテキストをbody直下と同等に展開するプロパティ */
}

/* PC用ナビゲーション */
.footer-menu.pc-global-menu {
  width: 100%;
  padding: 25px;
  background-color: #fff8c9;
  font-size: 1.8rem;
  position: sticky;
  top: 0;
  z-index: 9998;
}

@media screen and (max-width: 768px) {
  .footer-menu.pc-global-menu {
    display: none !important;
  }
}

/* SP用ナビゲーション */
.sp-hamburger-menu {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu {
    display: block !important;
    width: 100%;
    padding: 10px 0;
    background: #54250e;
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .sp-hamburger-menu .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 45px;
    background-color: #54250e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px;
    position: relative;
    z-index: 1000;
  }

  .sp-hamburger-menu .hamburger-btn span:not(.hamburger-text) {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  .sp-hamburger-menu .hamburger-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 2px;
  }

  .sp-hamburger-menu .nav-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #54250e;
    margin-top: 0;
    padding: 5px 40px 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  }

  .sp-hamburger-menu.is-open .nav-content {
    display: block;
  }

  .sp-hamburger-menu.is-open .hamburger-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .sp-hamburger-menu.is-open .hamburger-btn span:nth-child(2) {
    opacity: 0;
  }
  .sp-hamburger-menu.is-open .hamburger-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .sp-hamburger-menu.is-open .hamburger-text {
    display: none;
  }
}

/* メニューリスト・ボタン等のデザイン */
.menu-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu .menu-list {
    flex-direction: column;
    gap: 10px;
  }
}

.menu-item a {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  width: 185px;
  height: 70px;
  background-color: #54250e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  padding: 0 10px;
  border-bottom: solid 5px #47231b;
  transition: 0.2s ease-in-out;
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu .menu-item{
    border-radius: 0px;
    border-bottom: 2px dashed #ffffff;
      }
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu .menu-item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 280px;
    height: 50px;
    padding: 0 15px;
    border-bottom:none;
  }
}

.menu-item img,
.menu-item a img {
  width: 35px;
  height: auto;
  justify-self: start;
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu .menu-item a img {
    width: 30px;
    margin-right: 15px;
  }
}

.menu-item a .text,
.textp {
  text-align: center;
  justify-self: center;
  line-height: 1.2;
  font-size: 1.9rem;
}

.textp {
  font-feature-settings: "palt";
}

@media screen and (max-width: 768px) {
  .sp-hamburger-menu .menu-item a .text,
  .sp-hamburger-menu .textp {
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.1;
  }
}

.menu-item a:hover {
  background-color: #f8b93b;
  border-bottom: solid 5px #c77d29;  
  transform: translateY(3px);
}

@media screen and (max-width: 768px) {
  .menu-item a:hover {
    opacity: 0.8;
  }
}