/* アンシル紹介ページ（/ancil）専用（2026-11-18）。
   アプリ（apps/mobile/src/lib/theme.ts）と同じ色：生成りの背景・紺・人ごとのやわらかい色。
   見出しは丸ゴシック（M PLUS Rounded 1c）で、アプリのやさしい雰囲気に合わせる。
   ほかのページに効かないよう、すべて .anc の中・anc- で始まるクラスだけで書く */
.anc {
  --anc-brand: #23407a;
  --anc-brand-dark: #1a3263;
  --anc-brand-soft: #e7ecf6;
  --anc-bg: #f7f4ee;
  --anc-cream: #fbf8f2;
  --anc-surface: #ffffff;
  --anc-border: #e9e3d8;
  --anc-text: #1f2733;
  --anc-sub: #6b7380;
  --anc-call: #2f8f5b;
  --anc-coral: #e0876a;
  --anc-round: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
  background: var(--anc-cream);
  color: var(--anc-text);
  font-feature-settings: 'palt';
  line-height: 1.8;
}
/* テーマ共通の main・footer の上の余白（すき間に薄い色の帯が見える）を消す */
.wp-site-blocks > main.anc,
.wp-site-blocks > main.anc + footer {
  margin-block-start: 0 !important;
}
.anc *,
.anc *::before,
.anc *::after {
  box-sizing: border-box;
}
.anc img {
  max-width: 100%;
  display: block;
}
.anc h1,
.anc h2,
.anc p,
.anc ul,
.anc figure,
.anc blockquote {
  margin: 0;
}
.anc ul {
  padding: 0;
  list-style: none;
}
.anc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ボタン（アプリと同じ丸いボタン） */
.anc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.anc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.anc-btn:hover {
  transform: translateY(-1px);
}
.anc-btn.is-primary {
  background: var(--anc-brand);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(35, 64, 122, 0.7);
}
.anc-btn.is-soft {
  background: var(--anc-surface);
  color: var(--anc-brand);
  border: 1px solid var(--anc-border);
}
.anc-btn.is-white {
  background: #fff;
  color: var(--anc-brand-dark);
}
.anc-btn.is-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.anc-btn.is-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
  box-shadow: none;
}
.anc-btn:focus-visible {
  outline: 3px solid rgba(35, 64, 122, 0.4);
  outline-offset: 2px;
}

/* ヒーロー */
.anc-hero {
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(224, 135, 106, 0.14), transparent 60%),
    radial-gradient(600px 380px at 0% 90%, rgba(106, 155, 216, 0.12), transparent 60%),
    var(--anc-bg);
  padding-block: clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.anc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.anc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--anc-round);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--anc-brand);
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 999px;
  padding: 6px 18px 6px 10px;
  margin-bottom: 22px;
}
.anc-brand img {
  width: 34px;
  height: auto;
}
.anc-brand span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--anc-sub);
}
.anc-hero__title {
  font-family: var(--anc-round);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin-bottom: 20px !important;
}
.anc-hero__title span {
  display: inline-block;
}
.anc-hero__lead {
  color: #3b4452;
  font-size: 1.05rem;
  max-width: 34em;
  margin-bottom: 28px !important;
}
.anc-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px !important;
}
.anc-proof li {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 16px;
  padding: 10px 16px;
  line-height: 1.4;
}
.anc-proof b {
  display: block;
  font-family: var(--anc-round);
  color: var(--anc-brand);
}
.anc-proof span {
  font-size: 0.8rem;
  color: var(--anc-sub);
}

.anc-hero__visual {
  position: relative;
  min-height: 520px;
}
.anc-hero__bg {
  position: absolute;
  inset: 40px 0 40px 12%;
  width: 88%;
  height: calc(100% - 80px);
  object-fit: cover;
  border-radius: 36px;
}
.anc-phone {
  background: #fff;
  border: 7px solid #23272f;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(40, 30, 10, 0.55);
}
.anc-phone img {
  width: 100%;
}
.anc-phone--front {
  position: absolute;
  width: 46%;
  left: 2%;
  top: 0;
  aspect-ratio: 9 / 18;
}
.anc-phone--back {
  position: absolute;
  width: 42%;
  right: 4%;
  bottom: 0;
  aspect-ratio: 9 / 18;
  transform: rotate(4deg);
}
.anc-phone--front img,
.anc-phone--back img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.anc-bubble {
  position: absolute;
  left: 40%;
  top: 46%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 26px -12px rgba(40, 30, 10, 0.5);
  white-space: nowrap;
}
.anc-bubble img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* 区切り */
.anc-section {
  padding-block: clamp(56px, 8vw, 96px);
}
.anc-section--tint {
  background: var(--anc-bg);
}
.anc-eyebrow {
  font-family: var(--anc-round);
  font-weight: 800;
  color: var(--anc-brand);
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.anc-tag {
  font-size: 0.8rem;
  background: var(--anc-call);
  color: #fff;
  border-radius: 999px;
  padding: 1px 12px;
}
.anc-h2 {
  font-family: var(--anc-round);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.45;
  text-wrap: balance;
  margin-bottom: 16px !important;
}
.anc-lead {
  color: #3b4452;
  max-width: 40em;
  margin-bottom: 26px !important;
}
.anc-note {
  color: var(--anc-sub);
  font-size: 0.88rem;
  margin-top: 22px !important;
}

/* 3つの特長 */
.anc-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.anc-trio li {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 26px;
  padding: 18px 18px 24px;
}
.anc-trio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}
.anc-trio b {
  font-family: var(--anc-round);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}
.anc-trio p {
  color: #4a5361;
  font-size: 0.95rem;
}

/* 2列（画面と説明） */
.anc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.anc-split--top {
  align-items: start;
  margin-top: 26px;
}
.anc-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.anc-shots .anc-phone:nth-child(2) {
  margin-top: 48px;
}
.anc-checks {
  display: grid;
  gap: 12px;
}
.anc-checks li {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 18px;
  padding: 14px 18px;
  color: #4a5361;
  line-height: 1.7;
}
.anc-checks b {
  display: block;
  color: var(--anc-text);
  font-family: var(--anc-round);
  font-size: 1.05rem;
}

/* 学校・団体 */
.anc-pain {
  display: grid;
  gap: 10px;
}
.anc-pain li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 16px;
}
.anc-pain li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 3px solid var(--anc-coral);
}
.anc-report {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 50px -30px rgba(40, 30, 10, 0.45);
}
.anc-report__head,
.anc-report__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--anc-sub);
}
.anc-live {
  color: var(--anc-call);
  font-weight: 700;
}
.anc-live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--anc-call);
  margin-right: 6px;
}
.anc-report__title {
  font-weight: 800;
  margin: 8px 0 14px !important;
}
.anc-report__kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.anc-report__kpi div {
  border: 1px solid var(--anc-border);
  border-radius: 14px;
  text-align: center;
  padding: 8px 4px;
  background: var(--anc-cream);
  line-height: 1.4;
}
.anc-report__kpi small {
  display: block;
  color: var(--anc-sub);
  font-size: 0.72rem;
}
.anc-report__kpi b {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.anc-report__bar {
  height: 8px;
  border-radius: 8px;
  background: var(--anc-brand-soft);
  overflow: hidden;
  margin-bottom: 12px;
}
.anc-report__bar span {
  display: block;
  height: 100%;
  background: var(--anc-brand);
}
.anc-quote {
  margin-top: 40px !important;
  background: var(--anc-brand);
  color: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  line-height: 1.9;
}
.anc-quote__q {
  font-family: var(--anc-round);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 12px !important;
}
.anc-quote p:not(.anc-quote__q) {
  opacity: 0.9;
}
.anc-feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px !important;
}
.anc-feat li {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 20px;
  padding: 18px 20px;
}
.anc-feat b {
  font-family: var(--anc-round);
  font-size: 1.08rem;
}
.anc-feat p {
  color: #4a5361;
  font-size: 0.95rem;
  margin-top: 4px !important;
}

/* 料金 */
.anc-plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.anc-plan {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-radius: 22px;
  padding: 20px;
}
.anc-plan.is-featured {
  border: 2px solid var(--anc-brand);
}
.anc-plan.is-family {
  background: #eef6f1;
  border-color: #cfe5d8;
}
.anc-plan__name {
  font-family: var(--anc-round);
  font-weight: 800;
  color: var(--anc-brand);
}
.anc-plan.is-family .anc-plan__name {
  color: var(--anc-call);
}
.anc-plan__price {
  font-size: 1.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  margin: 6px 0 10px !important;
}
.anc-plan__price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--anc-sub);
}
.anc-plan__for {
  font-size: 0.88rem;
  color: #4a5361;
  line-height: 1.7;
}

/* 最後のお誘い */
.anc-cta {
  background: linear-gradient(160deg, var(--anc-brand), var(--anc-brand-dark));
  color: #fff;
  padding-block: clamp(56px, 8vw, 88px);
  text-align: center;
}
.anc-cta__in {
  display: grid;
  justify-items: center;
  gap: 14px;
}
.anc-cta img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.5);
}
.anc-cta h2 {
  color: #fff;
  font-family: var(--anc-round);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  text-wrap: balance;
}
.anc-cta p {
  opacity: 0.88;
}
.anc-cta .anc-actions {
  justify-content: center;
  margin-top: 8px;
}

/* スマホ・タブレット */
@media (max-width: 900px) {
  .anc-hero__grid,
  .anc-split {
    grid-template-columns: 1fr;
  }
  .anc-hero__visual {
    min-height: 0;
    aspect-ratio: 1 / 1.05;
  }
  .anc-plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .anc-trio {
    grid-template-columns: 1fr;
  }
  .anc-trio li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 4px 16px;
    align-items: start;
  }
  .anc-trio img {
    grid-row: span 2;
    aspect-ratio: 1;
    margin: 0;
  }
}
@media (max-width: 560px) {
  .anc-feat,
  .anc-plans {
    grid-template-columns: 1fr;
  }
  .anc-trio li {
    grid-template-columns: 88px 1fr;
  }
  .anc-bubble {
    left: 22%;
    top: auto;
    bottom: 6%;
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .anc-btn {
    transition: none;
  }
}

/* 2026-11-20 会社で使う（アンシル・ワーク）。アンシル・ワークの紺とオレンジで、家族・学校の欄と見分けられるように */
.anc-section--work { background: #eef2f8; border-top: 4px solid #1f3a5f; }
.anc-work-brand { display: flex; align-items: center; gap: .5rem; }
.anc-work-brand img { width: 28px; height: 28px; border-radius: 7px; }
.anc-section--work .anc-tag { background: #1f3a5f; color: #fff; }
.anc-section--work .anc-plan.is-featured { border-color: #1f3a5f; }
.anc-section--work .anc-actions { margin-top: 1.4rem; }
.anc-plans--work { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2rem; }
.anc-plans--work .anc-plan { grid-column: span 2; }
.anc-plans--work .anc-plan.is-featured { grid-column: span 3; }
.anc-plans--work .anc-plan__price small { display: block; }
.anc-report__kpi b.is-alert { color: #d23b3b; }
.anc-proof a { display: contents; color: inherit; text-decoration: none; }
@media (max-width: 860px) { .anc-plans--work { grid-template-columns: 1fr; } .anc-plans--work .anc-plan, .anc-plans--work .anc-plan.is-featured { grid-column: auto; } }
@media (min-width: 901px) { .anc-section--work .anc-report { position: sticky; top: 110px; } }

/* ===== お問い合わせ（/ancil-contact・2026-12-03）=====
   入口ごとの色：main.anc-ct[data-service=work|school] で --anc-brand を差し替える（js が ?service= と選んだ相談先から付ける） */
.anc-ct { background: var(--anc-bg); --anc-ct-ring: rgba(35, 64, 122, 0.18); }
.anc-ct[data-service="work"] { --anc-brand: #1f3a5f; --anc-brand-dark: #172c49; --anc-brand-soft: #e6ecf4; --anc-ct-ring: rgba(31, 58, 95, 0.2); }
.anc-ct[data-service="school"] { --anc-brand: #1c5b4a; --anc-brand-dark: #154638; --anc-brand-soft: #e3f1ec; --anc-ct-ring: rgba(28, 91, 74, 0.2); }
.anc-ct-hero {
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(224, 135, 106, 0.14), transparent 60%),
    radial-gradient(600px 380px at 0% 90%, rgba(106, 155, 216, 0.12), transparent 60%),
    var(--anc-bg);
  padding-block: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 32px);
  text-align: center;
}
.anc-ct-hero .anc-hero__title { margin-bottom: 14px !important; color: var(--anc-brand-dark); }
.anc-ct-hero__lead { color: #3b4452; max-width: 36em; margin: 0 auto !important; }
.anc-ct-hero__lead b { color: var(--anc-brand); }
.anc-ct-body {
  max-width: 1080px;
  margin: 0 auto !important;
  padding: 8px max(20px, env(safe-area-inset-left, 0px)) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.anc-ct-body > * { margin-block: 0 !important; }
.anc-ct-card {
  background: var(--anc-surface);
  border: 1px solid var(--anc-border);
  border-top: 5px solid var(--anc-brand);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 24px 48px -32px rgba(31, 39, 51, 0.35);
  transition: border-color 0.2s ease;
}
.anc-ct-card .entry-content > * { margin-block: 0; }
.anc-ct-side { display: grid; gap: 16px; }
.anc-ct-box { background: var(--anc-surface); border: 1px solid var(--anc-border); border-radius: 18px; padding: 22px 22px 20px; }
.anc-ct-box h2 { font-family: var(--anc-round); font-weight: 800; font-size: 1.05rem; color: var(--anc-brand); margin-bottom: 14px !important; }
.anc-ct-steps { list-style: none; margin: 0; padding: 0; counter-reset: ancct; display: grid; gap: 14px; }
.anc-ct-steps li { counter-increment: ancct; position: relative; padding-left: 44px; }
.anc-ct-steps li::before {
  content: counter(ancct);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--anc-brand-soft); color: var(--anc-brand);
  font-family: var(--anc-round); font-weight: 800;
  display: grid; place-items: center;
}
.anc-ct-steps b, .anc-ct-links b { display: block; font-weight: 800; line-height: 1.5; }
.anc-ct-steps span, .anc-ct-links span { display: block; color: var(--anc-sub); font-size: 0.86rem; line-height: 1.6; }
.anc-ct-links { display: grid; gap: 8px; }
.anc-ct-links a { display: block; text-decoration: none; color: var(--anc-text); border-radius: 12px; padding: 10px 12px; background: var(--anc-cream); border: 1px solid var(--anc-border); }
.anc-ct-links a:hover { border-color: var(--anc-brand); }
.anc-ct-links b::after { content: ' →'; color: var(--anc-brand); }
.anc-ct-fine { color: var(--anc-sub); font-size: 0.84rem; padding: 0 6px; }

/* フォーム（Contact Form 7）。テーマ共通の css/contact-form.css より強くするため .anc-ct を前に付ける */
.anc-ct .wpcf7 form > p, .anc-ct .wpcf7 .anc-f { margin: 0 0 22px; }
.anc-ct .wpcf7 .anc-f__label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.95rem; color: var(--anc-text); margin-bottom: 8px; }
.anc-ct .wpcf7 .anc-f__req, .anc-ct .wpcf7 .anc-f__opt { font-size: 0.7rem; font-weight: 800; border-radius: 999px; padding: 1px 9px; line-height: 1.6; }
.anc-ct .wpcf7 .anc-f__req { background: var(--anc-coral); color: #fff; }
.anc-ct .wpcf7 .anc-f__opt { background: #eeeae2; color: var(--anc-sub); }
.anc-ct .wpcf7 .anc-f__hint { display: block; color: var(--anc-sub); font-size: 0.82rem; margin-top: 6px; }
.anc-ct .wpcf7 input[type="text"],
.anc-ct .wpcf7 input[type="email"],
.anc-ct .wpcf7 textarea,
.anc-ct .wpcf7 select {
  border: 1.5px solid var(--anc-border);
  border-radius: 14px;
  background: var(--anc-cream);
  color: var(--anc-text);
  padding: 13px 16px;
  font-size: 1rem; /* 16px 未満にすると iPhone で拡大される */
  font-family: inherit;
}
.anc-ct .wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7380' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.anc-ct .wpcf7 textarea { height: 200px; min-height: 140px; line-height: 1.7; }
.anc-ct .wpcf7 input[type="text"]:focus,
.anc-ct .wpcf7 input[type="email"]:focus,
.anc-ct .wpcf7 textarea:focus,
.anc-ct .wpcf7 select:focus { border-color: var(--anc-brand); background: #fff; box-shadow: 0 0 0 4px var(--anc-ct-ring); }
.anc-ct .wpcf7 input::placeholder, .anc-ct .wpcf7 textarea::placeholder { color: #a9a396; }

/* 相談先（ラジオボタンを、押しやすい札に） */
.anc-ct .wpcf7 .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.anc-ct .wpcf7 .wpcf7-radio .wpcf7-list-item { margin: 0; display: block; }
.anc-ct .wpcf7 .wpcf7-radio label {
  display: flex; align-items: center; gap: 10px; height: 100%;
  border: 1.5px solid var(--anc-border); border-radius: 14px; background: var(--anc-cream);
  padding: 12px 14px; cursor: pointer; font-weight: 700; font-size: 0.93rem; line-height: 1.45; margin: 0; color: var(--anc-text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.anc-ct .wpcf7 .wpcf7-radio input[type="radio"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--anc-brand); }
.anc-ct .wpcf7 .wpcf7-radio label:hover { border-color: var(--anc-brand); }
.anc-ct .wpcf7 .wpcf7-radio label:has(input:checked) { border-color: var(--anc-brand); background: var(--anc-brand-soft); box-shadow: 0 0 0 1px var(--anc-brand) inset; }
.anc-ct .wpcf7 .wpcf7-radio label:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--anc-ct-ring); }

/* 同意と送信 */
.anc-ct .wpcf7 .anc-f--agree { background: var(--anc-cream); border: 1px solid var(--anc-border); border-radius: 14px; padding: 14px 16px; font-size: 0.92rem; }
.anc-ct .wpcf7 .anc-f--agree .wpcf7-list-item { margin: 0; }
.anc-ct .wpcf7 .anc-f--agree label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0; cursor: pointer; }
.anc-ct .wpcf7 .anc-f--agree input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--anc-brand); }
.anc-ct .wpcf7 .anc-f--agree a { color: var(--anc-brand); font-weight: 700; }
.anc-ct .wpcf7 .anc-f--agree .anc-f__hint { margin: 6px 0 0 28px; }
.anc-ct .wpcf7 .anc-f--submit { margin: 26px 0 0; text-align: center; }
.anc-ct .wpcf7 input[type="submit"], .anc-ct .wpcf7 .wpcf7-submit {
  display: block; margin: 0 auto; width: 100%; max-width: 360px;
  background: var(--anc-brand); color: #fff; border: 0; border-radius: 999px;
  padding: 16px 28px; font-family: var(--anc-round); font-weight: 800; font-size: 1.05rem; cursor: pointer;
  box-shadow: 0 12px 24px -12px var(--anc-brand);
  transition: transform 0.15s ease, background 0.15s ease;
}
.anc-ct .wpcf7 input[type="submit"]:hover { background: var(--anc-brand-dark); transform: translateY(-1px); }
.anc-ct .wpcf7 input[type="submit"]:disabled { background: #b9bfc9; box-shadow: none; cursor: not-allowed; transform: none; }
.anc-ct .wpcf7 .wpcf7-spinner { display: none; margin: 10px auto 0; }
.anc-ct .wpcf7 form.submitting .wpcf7-spinner { display: block; }
.anc-ct .wpcf7 .wpcf7-not-valid-tip { color: #c2412d; font-size: 0.85rem; font-weight: 700; margin-top: 6px; }
.anc-ct .wpcf7 .wpcf7-response-output { border-radius: 14px; margin: 20px 0 0; padding: 14px 16px; font-weight: 700; text-align: center; }
.anc-ct .wpcf7 form.sent .wpcf7-response-output { background: #e8f5ee; border: 1.5px solid var(--anc-call); color: #1f6b43; }
.anc-ct .wpcf7 form.invalid .wpcf7-response-output,
.anc-ct .wpcf7 form.unaccepted .wpcf7-response-output,
.anc-ct .wpcf7 form.failed .wpcf7-response-output,
.anc-ct .wpcf7 form.spam .wpcf7-response-output,
.anc-ct .wpcf7 form.aborted .wpcf7-response-output { background: #fdf0ec; border: 1.5px solid var(--anc-coral); color: #a63a22; }
.anc-ct .wpcf7 .anc-f--recaptcha { color: var(--anc-sub); font-size: 0.75rem; text-align: center; margin: 14px 0 0; }
@media (max-width: 860px) {
  .anc-ct-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .anc-ct .wpcf7 .wpcf7-radio { grid-template-columns: 1fr; }
  .anc-ct-card { border-radius: 18px; }
}
