.header_nav {
  & > a, & summary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  & details { position: relative; }
  & summary {
    gap: 9px;
    font: 500 15px/1.6em var(--serif);
  }
  & .subnav {
    position: absolute;
    z-index: 2;
    inset: 100% auto auto -14px;
    width: max-content;
    min-width: 192px;
    padding: 6px 10px;
    border: 1px solid #ded2c7;
    border-radius: 3px 16px 3px 3px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 10px 28px #281e2433;
    & a + a { border-top: 1px solid #e8dfd8; }
  }
}
.header_nav .subnav a, .drawer_group .drawer_links a {
  min-height: 44px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 500 15px/1.6em var(--serif);
  transition: background-color var(--feedback), color var(--feedback);
  &::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
  }
  &:focus-visible { outline-offset: -3px; }
}
.drawer_group .drawer_links {
  padding: 3px 8px 4px 15px;
  border-left: 2px solid #b59bab;
  background: #f3ede5;
  color: var(--plum);
  & a + a { border-top: 1px solid #ded3c9; }
}
:is(.header_nav, .drawer_group) summary .chevron {
  flex: none;
  transform: rotate(45deg);
  transition: transform var(--feedback);
}
.header_nav details[open] > summary .chevron, .drawer_group[open] > summary .chevron {
  transform: rotate(225deg);
}
@media (hover: hover) and (pointer: fine) {
  .header_nav summary:hover, .header_nav details[open] > summary {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .header_nav .subnav a:hover, .menu_panel .contents summary:hover, .drawer_group .drawer_links a:hover {
    background-color: #eee6df;
    color: var(--plum);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .header_nav details[open] > .subnav { animation: koniwa-subnav-in 180ms ease-out; }
}
@keyframes koniwa-subnav-in {
  from { opacity: 0; transform: translateY(-4px); }
}
/* 最終更新: 2026-12-02 13:17 */
