/* トップLPと各サブページで共通の上部メニュー。 */
#js-header,
#js-menu {
  color: #3b4043;
  font: 15px/1.9 "M PLUS 1p", "Hiragino Sans", sans-serif;
}

#js-header .mh-feature-link {
  color: #922457;
  font-weight: 800;
}

#js-header a:focus-visible,
#js-menu a:focus-visible,
#js-header button:focus-visible,
#js-menu button:focus-visible {
  outline: 2px solid #86234f;
  outline-offset: 3px;
}

#js-header .mh-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}

#js-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff7fb;
  overflow: auto;
  padding: 20px 24px 40px;
  box-sizing: border-box;
}

#js-menu[hidden] { display: none; }

#js-menuclose {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 0;
  background: none;
  color: #333;
  cursor: pointer;
}

#js-menu .mh-close__t { font: 700 12px/1 sans-serif; letter-spacing: .08em; }
#js-menu .mh-menu__logo { margin: 4px 0 0; }
#js-menu .mh-menu__logo img { height: 44px; width: auto; }
#js-menu .mh-menu__list { list-style: none; margin: 24px 0 0; padding: 0; }

#js-menu .mh-menu__list a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px dashed #f3cfe1;
  color: #3b4043;
  font: 800 17px/1.9 "M PLUS Rounded 1c", "Hiragino Sans", sans-serif;
  text-decoration: none;
}

#js-menu .mh-menu__btns { display: flex; gap: 10px; margin-top: 24px; }

#js-menu .mh-menu__btns a {
  flex: 1;
  padding: 14px;
  border-radius: 999px;
  text-align: center;
  font-family: "M PLUS Rounded 1c", "Hiragino Sans", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

#js-menu .mh-menu__btns .is-login { border: 2px solid #e761a4; color: #e761a4; background: #fff; }
#js-menu .mh-menu__btns .is-signup { background: #e761a4; color: #fff; }

@media (max-width: 1024px) {
  #js-header .mh-nav { display: none !important; }
  #js-header .mh-burger { display: block; }
}

@media (max-width: 720px) {
  #js-header > div { gap: 10px !important; flex-wrap: nowrap !important; }
  #js-header img { height: 32px !important; }
  #js-header .mh-btns a { padding: 8px 12px !important; font-size: 12px !important; white-space: nowrap; }
  #js-header .mh-btns a[href*="/login"] { display: none !important; }
}

@media print {
  #js-header, #js-menu { display: none !important; }
}
