/* ICHIZEN service pages — shared base. Concatenated from style.css + header.css + footer.css */
/* ==================== TOKENS + BASE ==================== */
/*
Theme Name: ICHIZEN Swell Child
Template: swell
Version: 1.1.0
Description: Swellの子テーマ。header / footer / front-page をフルカスタム。Swellは固定ページコンテンツや投稿エディタ機能を提供する基盤として使用。
Author: ICHIZEN HOLDINGS
*/

/* ========================================
   Design Tokens — source of truth for the entire site
   (synced with ichizen_journal_v3.html :root)
   ======================================== */
:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F6F5F1;        /* warm off-white section bg */
  --color-bg-dark: #0C0C0C;
  --color-text: #141414;          /* near-black */
  --color-text-sub: #565656;
  --color-text-mute: #9A968E;
  --color-border: #E7E4DC;        /* warm light border */
  --color-border-strong: #1c1c1c;
  --color-accent: #D85A30;        /* ICHIZEN orange */
  --color-accent-dark: #BE451E;
  --color-accent-soft: rgba(216, 90, 48, 0.08);
  --color-paper: #EFEDE6;
  --color-paper-2: #EAE7DE;
  --color-cta-bg: #6B6B6B;
  --color-cta-card-dark: #1F1F1F;
  --color-cta-card-blue: #1B3A8B; /* misnomer — was originally blue, now accent. Kept for back-compat */

  /* Typography */
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  --font-en: "Inter", var(--font-jp);
  --font-mono: "JetBrains Mono", "Menlo", "Consolas", monospace;
  --font-sans: var(--font-jp); /* 後方互換 */

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 72px;
  --space-3xl: 120px;

  /* Layout */
  --container: 1240px;
  --container-wide: 1400px;
  --container-narrow: 920px;
  --header-h: 80px;

  /* Effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-card: 32px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
  --slide-transition: 600ms cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================
   Reset (minimal)
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin: 0; }

/* 英字/数字はInter */
.en, .top-fv__big, [class*="__en"], [class*="-en"], [class*="eyebrow"], [class*="num"] {
  font-family: var(--font-en);
}

::selection { background: var(--color-accent); color: #fff; }

/* ========================================
   Layout
   ======================================== */
/* Content min-height. padding-top for the fixed header is set on body in
   header.css (one source of truth — was previously also on #site-main here,
   causing a double-padding bug). */
#site-main { min-height: calc(100vh - var(--header-h)); }

.l-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }

/* セクション共通の見出しラベル (EN small caps + JA) */
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}
.sec-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}

/* ========================================
   Buttons (LANY風 pill + arrow)
   ======================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.btn::after {
  content: "";
  width: 16px;
  height: 8px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M12 0l4 4-4 4-1-1 2-2H0V3h13l-2-2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M12 0l4 4-4 4-1-1 2-2H0V3h13l-2-2z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform var(--transition);
}
.btn:hover::after { transform: translateX(4px); }

.btn--primary { background: var(--color-text); color: #fff; }
.btn--primary:hover { background: var(--color-accent); transform: translateY(-2px); }

.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

.btn--outline { border-color: rgba(20,20,20,0.25); color: var(--color-text); }
.btn--outline:hover { border-color: var(--color-text); background: var(--color-text); color: #fff; transform: translateY(-2px); }

.btn--ghost-light { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--color-text); border-color: #fff; }

/* ========================================
   Scroll Reveal (top.js が is-in を付与)
   ======================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==================== HEADER ==================== */
/* ================================================================
   ICHIZEN site-header — fixed at top of page, nav-dropdown for Service,
   site-header__dl pill, mobile responsive overrides.
   Synced from ichizen_journal_v3.html (single source of truth for now).
   ================================================================ */

/* ===== HEADER ===== */
/* Fixed/sticky header — visible across all sections */
body { padding-top: var(--header-h); }
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-xl);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}
.site-header__logo {
  display: inline-flex; align-items: center;
}
.site-header__logo img {
  height: 38px;
  width: auto;
  display: block;
}
.site-header__right { display: flex; align-items: center; gap: 36px; }
.site-header__nav {
  display: flex; gap: 30px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.site-header__nav a {
  color: var(--color-text-sub);
  transition: color var(--transition);
  position: relative;
}
.site-header__nav a:hover { color: var(--color-text); }
.site-header__nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.site-header__nav a:hover::after { transform: scaleX(1); }
.site-header__contact {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: #fff;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.site-header__contact::after {
  content: "→";
  transition: transform var(--transition);
}
.site-header__contact:hover { background: var(--color-accent); }
.site-header__contact:hover::after { transform: translateX(3px); }

/* Header: 資料ダウンロード button — orange pill right of Contact */
.site-header__dl {
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #fff;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.site-header__dl::after {
  content: "↓";
  font-family: var(--font-en);
  transition: transform var(--transition);
}
.site-header__dl:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}
.site-header__dl:hover::after { transform: translateY(2px); }

/* Header: Service nav-dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  /* mirror .site-header__nav a styles inherited from parent */
  display: inline-block;
}
.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 14px;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 14px 32px -18px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  z-index: 6;
}
/* Invisible hover bridge so cursor can travel from trigger to menu without dropping the hover state */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s;
}
.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown__item:hover {
  background: var(--color-bg-alt);
}
.nav-dropdown__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.nav-dropdown__label {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.nav-dropdown__item:hover .nav-dropdown__label { color: var(--color-accent); }


/* Mobile: hide the inline nav, keep Contact + DL pills visible.
     (In ichizen_journal_v3.html this rule was duplicated inside each section's
     @media block — consolidated here for the WP version.) */
@media (max-width: 768px) {
  .site-header__nav { display: none; }
  .site-header__right { gap: 0; }
}

/* ==================== FOOTER + CTA ==================== */
/* ================================================================
   ICHIZEN footer-area — CTA gray block (grows from footer) on top of
   the white footer (3-column sitemap + pills + copyright + page-top).
   Background watermark marquee 'Outperform Bitcoin' anchored bottom.
   Synced from ichizen_journal_v3.html.
   ================================================================ */

/* ============================================================
   FOOTER AREA — CTA gray block sitting on top of white footer
   Width: viewport padding `max(40px, 8.3vw)` to match other sections
   ============================================================ */
.footer-area {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

/* ===== CTA (gray block, "grows from footer") ===== */
.cta {
  position: relative;
  background: var(--color-cta-bg);
  padding: 88px max(40px, 8.3vw) 0;
  z-index: 2;
}
.cta__inner {
  position: relative;
}
.cta__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.cta__title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
  word-break: keep-all;
}
.cta__title .dot { color: var(--color-accent); }
.cta__body {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin: 0;
  letter-spacing: 0.02em;
  padding-top: 12px;
}
.cta__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cta-card {
  position: relative;
  aspect-ratio: 1.7 / 1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 36px 40px;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  box-shadow: 0 -14px 32px -18px rgba(20,20,20,0.25);
}
.cta-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 -22px 42px -18px rgba(20,20,20,0.35);
}
.cta-card--dark { background: var(--color-cta-card-dark); }
.cta-card--blue { background: var(--color-accent); }
.cta-card__kicker {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.cta-card__center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 16px 0;
}
.cta-card__label {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}
.cta-card__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}
.cta-card__more {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.cta-card__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cta-card__arrow svg { width: 14px; height: 14px; }
.cta-card:hover .cta-card__more { color: #fff; }
.cta-card:hover .cta-card__arrow {
  background: var(--color-accent);
  transform: translateX(4px);
}
/* Accent-bg card: arrow needs a contrasting hover so it doesn't blend in */
.cta-card--blue:hover .cta-card__arrow { background: var(--color-text); }

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding: 64px max(40px, 8.3vw) 0;
  z-index: 2;
}
.footer__inner {
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.95fr);
  gap: 56px;
  padding-bottom: 56px;
}
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
}
.footer__brand-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.footer__brand-sub {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-text-sub);
  margin-bottom: 36px;
}
.footer__socials {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}
.footer__social {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: color var(--transition), transform var(--transition);
}
.footer__social:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__privacy {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.footer__privacy:hover { color: var(--color-accent); }
.footer__sitemap {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer__services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 12px;
  margin-top: 14px;
}
.footer__sitemap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.footer__solo-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__group-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin: 0 0 14px;
}
.footer__group-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--color-text-sub);
  transition: color var(--transition);
  text-decoration: none;
}
.footer__link::before {
  content: "—";
  color: var(--color-text-mute);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-right: 4px;
}
.footer__link span {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.footer__link:hover { color: var(--color-accent); }
.footer__group--solo .footer__group-title { margin: 0; }
.footer__group--solo a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__group--solo a:hover { color: var(--color-accent); }
.footer__pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-pill {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition);
}
.footer-pill__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1.2;
}
.footer-pill__icon {
  width: 18px; height: 18px;
  color: var(--color-text);
  display: inline-flex;
}
.footer-pill__icon svg { width: 100%; height: 100%; }
.footer-pill__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.footer-pill__arrow svg { width: 12px; height: 12px; }
.footer-pill:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(0,0,0,0.18);
}
.footer-pill:hover .footer-pill__arrow {
  background: var(--color-accent);
  transform: translateX(2px);
}
.footer-pill--ext .footer-pill__arrow svg { transform: rotate(-45deg); }
.footer__bottom {
  position: relative;
  z-index: 3;
  padding: 28px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.footer__copy {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-text-sub);
}
.footer__pagetop {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition);
}
.footer__pagetop:hover { color: var(--color-accent); }
.footer__pagetop-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer__pagetop:hover .footer__pagetop-arrow {
  background: var(--color-accent);
  transform: translateY(-3px);
}
.footer__pagetop-arrow svg { width: 12px; height: 12px; }

/* ===== Background watermark marquee ===== */
.footer-bg-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  height: 140px;
  display: flex;
  align-items: flex-end;
}
.footer-bg-marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: bgMarquee 80s linear infinite;
  will-change: transform;
}
@keyframes bgMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.footer-bg-marquee__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(80px, 11vw, 160px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: rgba(20,20,20,0.05);
  white-space: nowrap;
  user-select: none;
}
.footer-bg-marquee__item .sep {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(216,90,48,0.12);
  margin: 0 12px;
}

/* Reveal — uses existing bizReveal keyframe */
.cta, .footer {
  opacity: 0;
  transform: translateY(12px);
  animation: bizReveal 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.cta    { animation-delay: 100ms; }
.footer { animation-delay: 240ms; }

@media (max-width: 1024px) {
  .cta__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .cta__cards { grid-template-columns: 1fr; gap: 18px; }
  .cta-card { aspect-ratio: 2 / 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 40px; }
  .footer__services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__sitemap-row { grid-template-columns: repeat(3, 1fr); }
  .footer__pills { flex-direction: row; flex-wrap: wrap; }
  .footer-pill { flex: 1 1 220px; }
  .footer-bg-marquee { height: 110px; }
}
@media (max-width: 768px) {
  .cta { padding: 56px var(--space-xl) 0; }
  .cta-card { padding: 28px 26px; aspect-ratio: 1.4 / 1; }
  .cta-card__label { font-size: clamp(18px, 5.6vw, 24px); }
  .cta-card__arrow { width: 40px; height: 40px; }
  .footer { padding: 48px var(--space-xl) 0; }
  .footer__brand-logo { font-size: 36px; }
  .footer__services-grid { grid-template-columns: 1fr; }
  .footer__sitemap-row { grid-template-columns: 1fr; row-gap: 24px; }
  .footer__pills { flex-direction: column; }
  .footer__bottom { grid-template-columns: 1fr; gap: 16px; padding-bottom: 32px; }
  .footer-bg-marquee { height: 80px; }
  .footer-bg-marquee__item { font-size: clamp(56px, 14vw, 80px); gap: 32px; padding-right: 32px; }
}


/* @keyframes used by the .cta/.footer reveal animations above.
     Defined here so footer.css is self-sufficient — service pages that load
     footer.css but not top.css still get a working reveal. */
@keyframes bizReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Global spacing — push footer-area down on all pages
   so the page-end CTA and footer CTA aren't visually packed
   ============================================================ */
.footer-area { margin-top: 80px; }

/* CF7フォームのレイアウト（.ct-d-form 相当） */
.wpcf7-form { display:flex; flex-direction:column; gap:22px; }
.wpcf7-form .wpcf7-response-output { margin:0; border-radius:10px; }
