:root {
  --sf-page-ink: #242424;
  --sf-page-blue: #0878b2;
  --sf-page-sky: #dff5ff;
  --sf-page-orange: #f39800;
  --sf-page-line: #d8dde2;
  --sf-page-paper: #fffdf8;
}

html { overflow-x: clip; scroll-behavior: smooth; }
body.sf-static-page {
  margin: 0;
  overflow-x: clip;
  color: var(--sf-page-ink);
  background: #f5f6f7;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sf-static-main { overflow: clip; }
.sf-static-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(38px, 5vw, 66px);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.24), transparent 24%),
    linear-gradient(135deg, #0a82b8 0%, #075d91 100%);
}
.sf-static-kicker {
  margin: 0 0 12px;
  color: #bcecff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .24em;
}
.sf-static-hero h1 {
  max-width: 960px;
  margin: 0 auto;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.35;
}
.sf-static-shell { padding: clamp(34px, 5vw, 72px) 0 clamp(70px, 8vw, 120px); }
.sf-migrated-content {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(26px, 4.5vw, 64px);
  border: 1px solid rgba(36,36,36,.13);
  border-radius: 30px;
  background: var(--sf-page-paper);
  box-shadow: 0 16px 0 rgba(36,36,36,.10);
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.sf-migrated-content > :first-child { margin-top: 0 !important; }
.sf-migrated-content > :last-child { margin-bottom: 0 !important; }
.sf-migrated-content h1,
.sf-migrated-content h2,
.sf-migrated-content h3,
.sf-migrated-content h4 { color: var(--sf-page-ink); font-weight: 900; line-height: 1.5; }
.sf-migrated-content h2 {
  margin: 2.5em 0 1em;
  padding: 0 0 .55em;
  border-bottom: 4px solid var(--sf-page-orange);
  font-size: clamp(24px, 3vw, 34px);
}
.sf-migrated-content h3 {
  margin: 2em 0 .9em;
  padding: .75em 1em;
  border-left: 7px solid var(--sf-page-blue);
  background: var(--sf-page-sky);
  font-size: clamp(20px, 2.4vw, 26px);
}
.sf-migrated-content h4 { margin: 1.7em 0 .7em; font-size: 19px; }
.sf-migrated-content p { margin: 0 0 1.25em; }
.sf-migrated-content a { color: #006fa8; font-weight: 700; text-underline-offset: .2em; }
.sf-migrated-content a:hover,
.sf-migrated-content a:focus-visible { color: #9a5800; text-decoration-thickness: 3px; }
.sf-migrated-content img,
.sf-migrated-content video { max-width: 100%; height: auto; }
.sf-migrated-content iframe { max-width: 100%; }
.sf-migrated-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}
.sf-migrated-content th,
.sf-migrated-content td { padding: 12px 14px; border: 1px solid var(--sf-page-line); }
.sf-migrated-content ul,
.sf-migrated-content ol { padding-left: 1.5em; }
.sf-migrated-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.4em;
  border-left: 6px solid var(--sf-page-orange);
  background: #fff5df;
}
.sf-migrated-content form {
  position: relative;
  margin-top: 28px;
  padding-top: 54px !important;
}
.sf-migrated-content form::before {
  position: absolute;
  inset: 0 0 auto;
  padding: 10px 14px;
  border: 2px solid #d66b00;
  border-radius: 10px;
  color: #7b3c00;
  background: #fff1dc;
  content: "ステージング環境のため、このフォームからは送信できません。";
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}
.sf-staging-form-placeholder {
  margin: 28px 0;
  padding: 18px;
  border: 2px dashed #d66b00;
  border-radius: 16px;
  background: #fffaf1;
}
.sf-staging-form-notice {
  margin: 0 0 22px !important;
  padding: 12px 15px;
  border-radius: 10px;
  color: #713800;
  background: #ffe5be;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.65;
}
.sf-migrated-content button,
.sf-migrated-content input[type="submit"],
.sf-migrated-content input[type="button"],
.sf-migrated-content .btn,
.sf-migrated-content [class*="button"] {
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.sf-migrated-content button:hover,
.sf-migrated-content input[type="submit"]:hover,
.sf-migrated-content input[type="button"]:hover,
.sf-migrated-content .btn:hover,
.sf-migrated-content [class*="button"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 0 0 4px rgba(255,230,0,.45), 0 10px 24px rgba(8,120,178,.28);
}

@media (max-width: 780px) {
  .sf-static-hero { padding: 44px 0 34px; }
  .sf-static-kicker { font-size: 11px; }
  .sf-static-hero h1 { font-size: clamp(23px, 7vw, 34px); }
  .sf-static-shell { width: min(100% - 28px, 1180px); padding: 26px 0 68px; }
  .sf-migrated-content {
    padding: 24px 18px 30px;
    border-radius: 20px;
    box-shadow: 0 9px 0 rgba(36,36,36,.10);
    font-size: 15px;
    line-height: 1.85;
  }
  .sf-migrated-content h2 { font-size: 22px; }
  .sf-migrated-content h3 { padding: .65em .8em; font-size: 18px; }
  .sf-migrated-content h4 { font-size: 17px; }
  .sf-migrated-content th,
  .sf-migrated-content td { min-width: 120px; padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sf-migrated-content button,
  .sf-migrated-content input,
  .sf-migrated-content .btn,
  .sf-migrated-content [class*="button"] { transition: none !important; }
}
