:root {
  --app-lp-hero-padding-top: 116px;
}
.site-header.app-product-header {
  --app-header-bg: #1b1012;
  --app-header-text: #f5f5f5;
  --app-header-link: #d1d5db;
  --app-header-accent: #b12b4b;
  --app-header-toggle-bg: rgba(177, 43, 75, .22);
  --app-header-toggle-line: #ffe7ec;
  --app-header-menu-bg: #0d0d0d;
  --app-header-menu-border: #333;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 60px;
  min-height: 60px;
  box-sizing: border-box;
  background: var(--app-header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  backdrop-filter: blur(10px);
}
body.marketing-page {
  padding-top: 60px !important;
}
.app-product-header + main :is(
  .hero,
  .availability-hero,
  .copyboard-hero,
  .linkboard-hero,
  .sitecheck-hero,
  .taskboard-hero
) {
  padding-top: var(--app-lp-hero-padding-top);
}
.site-header.app-product-header .header-inner.app-product-header__inner {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.app-product-header .app-product-header__brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--app-header-text);
  text-decoration: none;
}
.app-product-header .app-product-header__title {
  display: inline-flex;
  min-width: 0;
  padding: 0 16px 0 0;
  align-items: center;
  color: var(--app-header-text);
  font-family: 'Yomogi', 'Noto Sans JP', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .36);
  white-space: nowrap;
}
.app-product-header .app-product-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.app-product-header .app-product-header__nav a {
  width: auto;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--app-header-link);
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.app-product-header .app-product-header__nav a:hover,
.app-product-header .app-product-header__nav a:focus-visible { color: var(--app-header-text); }
.app-product-header .app-product-header__toggle {
  display: none;
  width: 46px;
  height: 40px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--app-header-accent) 58%, transparent);
  border-radius: 10px;
  background: var(--app-header-toggle-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 10px rgba(0, 0, 0, .22);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.app-product-header .app-product-header__toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--app-header-toggle-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  transition: transform .22s ease, opacity .18s ease;
}
.app-product-header .app-product-header__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.app-product-header .app-product-header__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.app-product-header .app-product-header__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.app-product-header.app-product-header--availability {
  --app-header-bg: rgba(255, 255, 255, .96);
  --app-header-text: #18333a;
  --app-header-link: #18333a;
  --app-header-accent: #13877d;
  --app-header-toggle-bg: #f3f8f5;
  --app-header-toggle-line: #0d665f;
  --app-header-menu-bg: #fff;
  --app-header-menu-border: #d8e2de;
  border-bottom-color: #d8e2de;
}
.app-product-header.app-product-header--copyboard {
  --app-header-bg: rgba(255, 255, 255, .95);
  --app-header-text: #172033;
  --app-header-link: #172033;
  --app-header-accent: #075ea8;
  --app-header-toggle-bg: #eaf4ff;
  --app-header-toggle-line: #075ea8;
  --app-header-menu-bg: #fff;
  --app-header-menu-border: #d6deea;
  border-bottom-color: #d6deea;
}
.app-product-header.app-product-header--linkboard { --app-header-bg: #28183d; --app-header-text: #faf6ff; --app-header-link: #e8dcf5; --app-header-accent: #a855f7; --app-header-menu-bg: #28183d; }
.app-product-header.app-product-header--lightsketch { --app-header-bg: #17130d; --app-header-text: #fff8e8; --app-header-link: #f5e8c8; --app-header-accent: #ffd24a; --app-header-toggle-bg: rgba(255, 210, 74, .12); --app-header-toggle-line: #fff2c7; --app-header-menu-bg: #17130d; }
.app-product-header.app-product-header--taskboard { --app-header-bg: #0b2239; --app-header-accent: #4aa9ff; --app-header-toggle-bg: rgba(0, 103, 192, .46); --app-header-toggle-line: #f3f8ff; --app-header-menu-bg: #0b2239; }
.app-product-header.app-product-header--sitecheck { --app-header-accent: #378af5; --app-header-toggle-bg: rgba(8, 23, 44, .82); --app-header-toggle-line: #e7f3ff; }
.app-product-header.app-product-header--kaikei { --app-header-bg: #126ea5; --app-header-text: #ffffff; --app-header-link: #e5f6fc; --app-header-accent: #0798bd; --app-header-toggle-bg: rgba(255, 255, 255, .14); --app-header-toggle-line: #ffffff; --app-header-menu-bg: #126ea5; }
.site-footer.home-footer.app-product-footer {
  min-height: 82px;
  padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: #1b1012;
  color: #d1d5db;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}
.site-footer.home-footer.app-product-footer--availability { border-top-color: #d8e2de; background: rgba(255, 255, 255, .96); color: #18333a; }
.site-footer.home-footer.app-product-footer--copyboard { border-top-color: #d6deea; background: rgba(255, 255, 255, .95); color: #172033; }
.site-footer.home-footer.app-product-footer--taskboard { background: #0b2239; color: #dbeafe; }
@media (max-width: 900px) {
  .site-header.app-product-header .header-inner.app-product-header__inner { padding: 0 16px; }
  .site-header.app-product-header .app-product-header__brand .app-product-header__title { padding: 0; font-size: 28px; }
  .site-header.app-product-header .menu-toggle.app-product-header__toggle { position: absolute; top: 50%; right: 16px; display: inline-flex; transform: translateY(-50%); }
  .app-product-header .app-product-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(260px, 86vw);
    padding: 12px;
    border: 1px solid var(--app-header-menu-border);
    border-radius: 12px;
    background: var(--app-header-menu-bg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    transform: translateY(-6px);
  }
  .app-product-header .app-product-header__nav.open { display: flex; opacity: 1; transform: translateY(0); }
  .app-product-header .app-product-header__nav a { width: 100%; padding: 6px 2px; border-bottom: 0; text-align: left; }
}
@media (max-width: 980px) {
  :root { --app-lp-hero-padding-top: 104px; }
}
@media (max-width: 520px) {
  .site-header.app-product-header .app-product-header__brand .app-product-header__title { max-width: calc(100vw - 94px); overflow: hidden; font-size: 25px; text-overflow: ellipsis; }
}
@media (max-width: 720px) {
  :root { --app-lp-hero-padding-top: 98px; }
}
