/*
 * Header CSS
 * 2026-04-26
 */

/*Custum Logo*/
.custom-logo{
  display:block;
  height:72px;
  width:auto;
}

@media (max-width:767px){
  .custom-logo{
    height:54px;
  }
}

/*音声対応*/
/* 通常は視覚的に隠す */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
}

/* キーボードフォーカス時だけ見える */
.skip-link:focus{
  left:1rem;
  top:1rem;

  z-index:9999;

  background:#fff;
  color:#000;

  padding:.7rem 1rem;
  border-radius:.5rem;

  box-shadow:
   0 4px 14px rgba(0,0,0,.16);
}

.utility-nav a {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   Header Navigation
======================================== */

.site-header nav ul,
.ak-header nav ul,
.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav li,
.ak-header nav li,
.main-navigation li {
  margin: 0;
  padding: 0;
}

.site-header nav a,
.ak-header nav a,
.main-navigation a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  color: var(--ak-color-text, #2f2a24);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus,
.ak-header nav a:hover,
.ak-header nav a:focus,
.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--ak-color-accent, #8a5a2b);
  background: rgba(138, 90, 43, 0.08);
}

/* 現在表示中のページ */
.site-header nav .current-menu-item > a,
.site-header nav .current_page_item > a,
.site-header nav .current-menu-ancestor > a,
.site-header nav .current_page_ancestor > a,
.ak-header nav .current-menu-item > a,
.ak-header nav .current_page_item > a,
.ak-header nav .current-menu-ancestor > a,
.ak-header nav .current_page_ancestor > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_ancestor > a {
  color: var(--ak-color-accent, #8a5a2b);
  background: rgba(138, 90, 43, 0.14);
  font-weight: 600;
}

@media (max-width: 720px) {
  .site-header nav ul,
  .ak-header nav ul,
  .main-navigation ul {
    gap: 0.3rem;
  }

  .site-header nav a,
  .ak-header nav a,
  .main-navigation a {
    padding: 0.4rem 0.6rem;
    font-size: 0.88rem;
  }
}