.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mod-site-shell,
.mod-footer {
  color: var(--mod-ink, #20201d);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.mod-site-shell a,
.mod-footer a {
  color: inherit;
  text-decoration: none;
}

.mod-top-bar {
  background: #1f1f1c;
  color: #fff;
}

.mod-top-bar__inner {
  max-width: 1180px;
  min-height: 34px;
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.mod-top-bar__inner a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mod-site-header {
  background: #fff;
  border-bottom: 1px solid #ded8cc;
}

.mod-site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mod-site-header__desktop {
  display: none;
}

.mod-site-header__top,
.mod-site-header__bottom {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mod-site-header__logo img,
.mod-site-header__mobile-logo img {
  display: block;
  width: auto;
}

.mod-site-header__logo img {
  height: 42px;
}

.mod-site-header__nav,
.mod-site-header__icons,
.mod-site-header__keywords,
.mod-footer__links,
.mod-footer__sub-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mod-site-header__nav {
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 800;
}

.mod-site-header__icons {
  gap: 12px;
  color: #555149;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.mod-site-header__bottom {
  padding: 0 0 14px;
}

.mod-site-header__keywords {
  gap: 10px;
  color: #5f5b52;
  font-size: 0.78rem;
}

.mod-site-header__keywords span {
  color: #20201d;
  font-weight: 900;
}

.mod-site-search {
  display: flex;
  align-items: stretch;
  min-width: 260px;
  border: 1px solid #d8d2c5;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.mod-site-search input[type="search"] {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 10px 14px;
  color: #20201d;
  background: transparent;
  font: inherit;
}

.mod-site-search button {
  min-width: 58px;
  border: 0;
  padding: 0 14px;
  background: #1c5f57;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mod-site-header__mobile {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.mod-site-header__mobile-logo {
  justify-self: center;
}

.mod-site-header__mobile-logo img {
  max-height: 32px;
}

.mod-site-header__mobile-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mod-mobile-action {
  min-width: 44px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #20201d;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.mod-mobile-action img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.mod-mobile-menu-button {
  justify-self: start;
}

.mod-hamburger {
  width: 22px;
  display: grid;
  gap: 4px;
}

.mod-hamburger span {
  display: block;
  height: 2px;
  background: #20201d;
}

.mod-mobile-search {
  padding: 0 12px 12px;
}

.mod-mobile-search .mod-site-search {
  width: 100%;
  min-width: 0;
}

.mod-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.mod-mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mod-mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
  transition: background 0.2s ease;
}

.mod-mobile-drawer.is-open .mod-mobile-drawer__overlay {
  background: rgba(0, 0, 0, 0.44);
}

.mod-mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.2);
}

.mod-mobile-drawer.is-open .mod-mobile-drawer__panel {
  transform: translateX(0);
}

.mod-mobile-drawer__head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e2ddd2;
}

.mod-mobile-drawer__head p {
  margin: 0;
  font-weight: 900;
}

.mod-mobile-drawer__head button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mod-mobile-drawer__head button span {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 20px;
  height: 2px;
  background: #20201d;
}

.mod-mobile-drawer__head button span:first-child {
  transform: rotate(45deg);
}

.mod-mobile-drawer__head button span:last-child {
  transform: rotate(-45deg);
}

.mod-mobile-drawer__body {
  height: calc(100% - 58px);
  padding: 14px;
  overflow-y: auto;
}

.mod-mobile-drawer__nav,
.mod-mobile-drawer__links {
  display: grid;
}

.mod-mobile-drawer__nav a {
  padding: 14px 4px;
  border-bottom: 1px solid #ebe6dc;
  font-weight: 900;
}

.mod-mobile-drawer__search {
  display: block;
  min-width: 0;
  margin: 18px 0;
  border: 0;
  border-radius: 0;
}

.mod-mobile-drawer__search label {
  display: block;
  margin-bottom: 8px;
  color: #5f5b52;
  font-size: 0.78rem;
  font-weight: 900;
}

.mod-mobile-drawer__search > div {
  display: flex;
  border: 1px solid #d8d2c5;
  border-radius: 999px;
  overflow: hidden;
}

.mod-mobile-drawer__links {
  gap: 8px;
  padding-top: 12px;
  color: #5f5b52;
  font-size: 0.86rem;
}

body.is-mod-drawer-open {
  overflow: hidden;
}

.mod-footer {
  position: relative;
  margin-top: 28px;
  background: #26231f;
  color: #f8f4ea;
}

.mod-pagetop {
  position: absolute;
  right: 12px;
  top: -22px;
}

.mod-pagetop img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.mod-footer__main {
  padding: 34px 14px 28px;
}

.mod-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.mod-footer__top,
.mod-footer__middle {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.mod-footer__middle {
  margin-top: 24px;
}

.mod-footer__links,
.mod-footer__sub-links {
  justify-content: center;
  gap: 12px 18px;
  text-align: center;
}

.mod-footer__links {
  font-size: 0.82rem;
}

.mod-footer__sub-links {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.mod-footer__brand img {
  display: block;
  width: 54px;
  height: auto;
}

.mod-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mod-footer__bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 374px) {
  .mod-mobile-action {
    min-width: 38px;
    font-size: 0.62rem;
  }

  .mod-site-header__mobile {
    grid-template-columns: minmax(62px, 1fr) auto minmax(62px, 1fr);
    padding-inline: 8px;
  }
}

@media (min-width: 860px) {
  .mod-site-header__desktop {
    display: grid;
    gap: 16px;
    padding: 18px 18px 0;
  }

  .mod-site-header__top,
  .mod-site-header__bottom {
    display: flex;
  }

  .mod-site-header__mobile,
  .mod-mobile-search {
    display: none;
  }

  .mod-footer__top,
  .mod-footer__middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mod-footer__middle {
    margin-top: 28px;
  }

  .mod-footer__links,
  .mod-footer__sub-links {
    justify-content: flex-start;
  }
}
