:root {
  --asa-shell-container: 1120px;
  --asa-shell-font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --asa-shell-red: #ed0018;
  --asa-shell-red-soft: #fff0f2;
  --asa-shell-ink: #20242b;
  --asa-shell-muted: #6e7580;
  --asa-shell-line: #e7e9ed;
  --asa-shell-shadow: 0 16px 38px rgba(28, 34, 43, 0.12);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--asa-shell-font-family);
}

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

/* Spam-prevention honeypot. The hidden attribute keeps it invisible even when
   inline styles are blocked by Content-Security-Policy. */
.asa-honeypot[hidden] {
  display: none !important;
}

.asa-site-header.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(230, 232, 236, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.asa-site-header .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--asa-shell-container));
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
  gap: 24px;
}

.asa-site-header .brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 14px;
  color: var(--asa-shell-ink);
  text-decoration: none;
}

.asa-site-header .brand__service-logo {
  display: block;
  flex: 0 0 auto;
  width: 260px;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.asa-site-header .brand__shop {
  min-width: 0;
  max-width: 190px;
  margin: 0;
  overflow: visible;
  padding-left: 14px;
  border-left: 1px solid var(--asa-shell-line);
  color: var(--asa-shell-ink);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.asa-site-header .site-nav {
  display: block;
  margin: 0;
  padding: 0;
}

.asa-site-header .site-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 4px;
  list-style: none;
}

.asa-site-header .site-nav__list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--asa-shell-ink);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.asa-site-header .site-nav__list a:hover,
.asa-site-header .site-nav__list a:focus-visible,
.asa-site-header .site-nav__list a[aria-current="page"] {
  color: var(--asa-shell-red);
  background: var(--asa-shell-red-soft);
}

.asa-site-header .menu-button {
  display: none;
}

.asa-site-footer.site-footer {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--asa-shell-line);
  color: var(--asa-shell-ink);
  background: #fff;
  text-align: initial;
}

.asa-site-footer .site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(calc(100% - 40px), var(--asa-shell-container));
  margin: 0 auto;
  padding: 35px 0 27px;
  gap: 25px 40px;
}

.asa-site-footer .footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  gap: 13px;
  line-height: 1.35;
}

.asa-site-footer .footer-brand img {
  display: block;
  flex: 0 0 auto;
  width: 240px;
  max-width: none;
  height: auto;
  margin: 0;
}

.asa-site-footer .footer-brand > strong {
  min-width: 0;
  max-width: 240px;
  margin: 0;
  overflow: visible;
  padding-left: 13px;
  border-left: 1px solid var(--asa-shell-line);
  color: var(--asa-shell-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.asa-site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  gap: 9px 22px;
  list-style: none;
}

.asa-site-footer .footer-nav a {
  color: #4f5661;
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
}

.asa-site-footer .footer-nav a:hover,
.asa-site-footer .footer-nav a:focus-visible {
  color: var(--asa-shell-red);
}

.asa-site-footer .copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--asa-shell-line);
  color: #8a9099;
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1040px) {
  .asa-site-header .site-header__inner,
  .asa-site-footer .site-footer__inner {
    width: min(calc(100% - 32px), var(--asa-shell-container));
  }

  .asa-site-header .site-header__inner {
    flex-wrap: wrap;
  }

  .asa-site-header .site-nav {
    flex: 1 0 100%;
    padding-bottom: 10px;
  }

  .js .asa-site-header .site-header__inner {
    flex-wrap: nowrap;
  }

  .js .asa-site-header .menu-button {
    position: relative;
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--asa-shell-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
  }

  .asa-site-header .menu-button > span:not(.visually-hidden) {
    position: absolute;
    top: 50%;
    left: 11px;
    display: block;
    width: 20px;
    height: 2px;
    margin: -1px 0 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: var(--asa-shell-ink);
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .asa-site-header .menu-button > span:nth-child(1) { transform: translateY(-6px); }
  .asa-site-header .menu-button > span:nth-child(3) { transform: translateY(6px); }
  .asa-site-header .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: rotate(45deg); }
  .asa-site-header .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .asa-site-header .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: rotate(-45deg); }

  .js .asa-site-header .site-nav {
    position: absolute;
    z-index: 1001;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    visibility: hidden;
    flex: none;
    width: auto;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--asa-shell-line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: var(--asa-shell-shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: visibility 0.2s, opacity 0.2s ease, transform 0.2s ease;
  }

  .js .asa-site-header .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .asa-site-header .site-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asa-site-header .site-nav__list a {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  .asa-site-header .site-header__inner { min-height: 68px; }
  .asa-site-header .brand__service-logo { width: 180px; }
  .asa-site-header .brand__shop { max-width: 150px; font-size: 1rem; }
  .asa-site-footer .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .asa-site-footer .footer-brand { justify-content: center; }
  .asa-site-footer .footer-brand img { width: 220px; }
  .asa-site-footer .footer-nav { justify-content: center; }
}

@media (max-width: 520px) {
  .asa-site-header .site-header__inner,
  .asa-site-footer .site-footer__inner {
    width: min(calc(100% - 24px), var(--asa-shell-container));
  }

  .asa-site-header .site-header__inner { gap: 10px; }
  .asa-site-header .brand { flex: 1 1 auto; gap: 8px; }
  .asa-site-header .brand__service-logo { width: 200px; }
  .asa-site-header .brand__shop {
    max-width: none;
    padding-left: 8px;
    font-size: 1rem;
  }

  .asa-site-header .site-nav { right: 8px; left: 8px; }
  .asa-site-header .site-nav__list { grid-template-columns: 1fr; }
  .asa-site-footer .footer-brand { gap: 8px; }
  .asa-site-footer .footer-brand img { width: 200px; }
  .asa-site-footer .footer-brand > strong { max-width: 150px; padding-left: 8px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .asa-site-header *,
  .asa-site-footer * { scroll-behavior: auto !important; transition: none !important; }
}

