/* Shared shell for ad campaign landing pages (campaign/<slug>/).
   Deliberately has NO site nav and NO footer links: these pages exist to
   convert a single ad click into one action, not to route visitors around
   the rest of the site. Relies on the tokens defined in /site/styles.css
   (--navy, --terracotta, --ink, --muted, --border, --surface, fonts), which
   every campaign page must load before this file. */

body[data-campaign]{background:#fff}

/* Minimal header: logo + one CTA button, no nav links. */
.cmp-header{position:sticky;top:0;z-index:50;height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.cmp-header-inner{width:min(100% - 40px,1120px);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cmp-brand{display:flex;align-items:center;gap:10px;min-width:0}
.cmp-brand img{width:120px;height:auto}

/* Hero */
.cmp-hero{padding:56px 0 40px;background:var(--surface)}
.cmp-hero-inner{width:min(100% - 40px,1120px);margin-inline:auto}
.cmp-eyebrow{font-size:.72rem;letter-spacing:.14em;color:var(--navy);font-weight:700;text-transform:uppercase}
.cmp-hero h1{font-family:"Noto Serif JP",serif;color:var(--navy);font-weight:400;font-size:clamp(28px,4vw,48px);line-height:1.45;margin:14px 0}
.cmp-hero p{line-height:1.9;max-width:640px}

/* Generic section wrapper for body content between hero and CTA. */
.cmp-section{padding:48px 0}
.cmp-section-inner{width:min(100% - 40px,1120px);margin-inline:auto}

/* CTA: the only action on the page. Appears inline and can be repeated. */
.cmp-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 32px;border-radius:999px;background:var(--terracotta);color:#fff;font-weight:700;font-size:1rem}
.cmp-cta:hover{transform:translateY(-1px);box-shadow:var(--shadow)}

/* Sticky CTA bar: stays reachable without a nav to fall back on. */
.cmp-sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:12px 20px;background:rgba(3,40,76,.96);display:flex;align-items:center;justify-content:center;gap:16px}
.cmp-sticky-cta .cmp-cta{min-height:48px}

/* Minimal footer: company name + privacy link only, no site nav. */
.cmp-footer{padding:24px 0 72px;border-top:1px solid var(--border)}
.cmp-footer-inner{width:min(100% - 40px,1120px);margin-inline:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;font-size:.72rem;color:var(--muted)}
.cmp-footer a{color:var(--muted)}

@media(max-width:600px){
  .cmp-hero{padding:40px 0 28px}
  .cmp-section{padding:36px 0}
  .cmp-sticky-cta{padding:10px 16px}
}

/* 「動きを減らす」設定のときは動かさない（OS/ブラウザの設定を尊重する）。
   広告LP全体に効かせたいので、施策ごとのCSSではなくここに置く。 */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  body[data-campaign] *,
  body[data-campaign] *::before,
  body[data-campaign] *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }
  .cmp-cta:hover{transform:none}
}
