/*
Theme Name: AYC Automation Service Site
Theme URI: https://and-y-concept.com/
Author: And Y Concept / ChatGPT
Author URI: https://and-y-concept.com/
Description: 組織運営をラクにする自動化システム向けのクラシックWordPressテーマ。管理画面編集対応プラグインと連携し、サービスサイト、実績、専門記事、カンタン相談導線に対応。
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayc-automation-theme
Tags: custom-menu, custom-logo, featured-images, one-column, two-columns, blog
*/

:root {
  --ayc-bg: #fffdf7;
  --ayc-bg-soft: #f4fbf8;
  --ayc-bg-blue: #e6f4f3;
  --ayc-yellow: #f3e34f;
  --ayc-yellow-soft: #fff7cc;
  --ayc-green: #0f5e48;
  --ayc-green-dark: #073d30;
  --ayc-ink: #2f3133;
  --ayc-muted: #707780;
  --ayc-line: #e7e3d7;
  --ayc-white: #ffffff;
  --ayc-shadow: 0 18px 45px rgba(18, 44, 38, 0.12);
  --ayc-radius-lg: 28px;
  --ayc-radius-md: 18px;
  --ayc-radius-sm: 12px;
  --ayc-container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ayc-bg);
  color: var(--ayc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.82; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input, textarea, select { font: inherit; }

.ayc-container {
  width: min(100% - 32px, var(--ayc-container));
  margin-inline: auto;
}
.ayc-narrow {
  width: min(100% - 32px, 880px);
  margin-inline: auto;
}
.ayc-section {
  padding: clamp(58px, 8vw, 104px) 0;
  position: relative;
}
.ayc-section--soft { background: var(--ayc-bg-soft); }
.ayc-section--green { background: var(--ayc-green-dark); color: #fff; }
.ayc-section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.ayc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ayc-green);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ayc-eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: var(--ayc-yellow);
}
.ayc-section--green .ayc-eyebrow { color: var(--ayc-yellow); }
.ayc-title {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.ayc-lead {
  color: var(--ayc-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  margin: 18px 0 0;
  max-width: 780px;
}
.ayc-section--green .ayc-lead { color: rgba(255,255,255,0.82); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 227, 215, 0.86);
  box-shadow: 0 8px 22px rgba(19, 39, 35, 0.05);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 auto;
}
.site-branding__logo .custom-logo {
  max-height: 48px;
  width: auto;
}
.site-branding__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ayc-green), var(--ayc-green-dark));
  color: #fff;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 10px 22px rgba(15,94,72,.22);
}
.site-branding__text {
  min-width: 0;
}
.site-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.site-tagline {
  display: none;
  margin: 4px 0 0;
  color: var(--ayc-muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}
.site-title a { color: var(--ayc-ink); }

.primary-menu-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}
.primary-menu,
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
}
.primary-menu > li {
  display: inline-flex;
  align-items: center;
}
.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ayc-ink);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.primary-menu a:hover {
  background: rgba(15,94,72,.08);
  color: var(--ayc-green);
  opacity: 1;
}
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--ayc-green);
  background: rgba(15,94,72,.10);
}
.ayc-header-cta,
.ayc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--ayc-green);
  color: #fff;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(15, 94, 72, 0.18);
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.ayc-header-cta:hover,
.ayc-btn:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 14px 34px rgba(15,94,72,.24); }
.ayc-btn--light { background: #fff; color: var(--ayc-green); }
.ayc-btn--ghost { background: transparent; color: var(--ayc-green); border: 1px solid var(--ayc-green); box-shadow: none; }
.ayc-btn--wide { width: 100%; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--ayc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ayc-ink);
  position: relative;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transform: translateX(-50%);
}
.menu-toggle span { top: 21px; }
.menu-toggle::before { top: 15px; }
.menu-toggle::after { top: 27px; }

.ayc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 9vw, 112px) 0 clamp(58px, 8vw, 92px);
}
.ayc-hero::before,
.ayc-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 0;
  pointer-events: none;
}
.ayc-hero::before {
  width: 650px;
  height: 650px;
  left: -250px;
  top: -220px;
  background: rgba(231, 244, 243, 0.92);
}
.ayc-hero::after {
  width: 300px;
  height: 300px;
  right: 8vw;
  top: 72px;
  background: rgba(243, 227, 79, 0.35);
}
.ayc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}
.ayc-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ayc-line);
  background: rgba(255,255,255,.78);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ayc-green);
  font-weight: 800;
  font-size: .92rem;
}
.ayc-hero__title {
  margin: 22px 0 0;
  font-size: clamp(2.15rem, 5.4vw, 4.8rem);
  line-height: 1.18;
  letter-spacing: .02em;
}
.ayc-hero__title strong { color: var(--ayc-green); }
.ayc-hero__text {
  color: var(--ayc-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin: 24px 0 0;
  max-width: 680px;
}
.ayc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.ayc-hero__visual {
  position: relative;
  min-height: 420px;
}
.ayc-visual-card {
  position: absolute;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--ayc-shadow);
  border: 1px solid rgba(255,255,255,.72);
  padding: 24px;
}
.ayc-visual-card h3 { margin: 0; font-size: 1.2rem; }
.ayc-visual-card p { margin: 10px 0 0; color: var(--ayc-muted); }
.ayc-visual-card--main {
  inset: 38px 0 auto 42px;
  min-height: 250px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(230,244,243,.96));
}
.ayc-visual-card--sub {
  right: 28px;
  bottom: 24px;
  width: min(270px, 70%);
}
.ayc-visual-card--mini {
  left: 0;
  bottom: 72px;
  width: 220px;
  background: var(--ayc-green);
  color: #fff;
}
.ayc-visual-card--mini p { color: rgba(255,255,255,.82); }
.ayc-orbit {
  position: absolute;
  right: 20px;
  top: 0;
  width: 120px;
  height: 120px;
  background: var(--ayc-yellow);
  border-radius: 45% 55% 55% 45%;
  transform: rotate(-35deg);
  box-shadow: 0 20px 40px rgba(243,227,79,.32);
}
.ayc-icon-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ayc-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15,94,72,.09);
  color: var(--ayc-green);
  padding: 8px 12px;
  font-weight: 800;
  font-size: .88rem;
}
.ayc-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ayc-card {
  background: #fff;
  border: 1px solid var(--ayc-line);
  border-radius: var(--ayc-radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 10px 30px rgba(34, 49, 46, 0.06);
  height: 100%;
}
.ayc-card--accent { background: linear-gradient(135deg, #fff, var(--ayc-bg-soft)); }
.ayc-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ayc-yellow-soft);
  color: var(--ayc-green);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.ayc-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.5; }
.ayc-card p { margin: 12px 0 0; color: var(--ayc-muted); }
.ayc-card ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--ayc-muted); }
.ayc-card li + li { margin-top: 6px; }

.ayc-two-col {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.ayc-message-box {
  border-radius: 36px;
  background: #fff;
  border: 1px solid var(--ayc-line);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--ayc-shadow);
}
.ayc-message-box strong { color: var(--ayc-green); }
.ayc-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ayc-bg-soft);
  color: var(--ayc-green);
  font-weight: 800;
}
.ayc-list-check {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ayc-list-check li {
  position: relative;
  background: #fff;
  border: 1px solid var(--ayc-line);
  border-radius: 18px;
  padding: 16px 18px 16px 52px;
  font-weight: 700;
}
.ayc-list-check li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--ayc-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

.ayc-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ayc-capability {
  background: #fff;
  border: 1px solid var(--ayc-line);
  border-radius: 22px;
  padding: 20px;
  min-height: 145px;
}
.ayc-capability__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ayc-bg-blue);
  font-weight: 900;
  color: var(--ayc-green);
  margin-bottom: 12px;
}
.ayc-capability h3 { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.ayc-capability p { margin: 8px 0 0; color: var(--ayc-muted); font-size: .92rem; }

.ayc-flow {
  counter-reset: flow;
  display: grid;
  gap: 18px;
}
.ayc-flow__item {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 82px minmax(0,1fr);
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--ayc-line);
  border-radius: 24px;
  padding: 22px;
}
.ayc-flow__num {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--ayc-green);
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ayc-flow__num::after { content: counter(flow, decimal-leading-zero); }
.ayc-flow h3 { margin: 0; font-size: 1.18rem; }
.ayc-flow p { margin: 8px 0 0; color: var(--ayc-muted); }

.ayc-work-grid,
.ayc-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ayc-work-card,
.ayc-post-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ayc-line);
  box-shadow: 0 12px 30px rgba(34, 49, 46, 0.06);
}
.ayc-work-card__image,
.ayc-post-card__image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ayc-bg-blue), var(--ayc-yellow-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ayc-green);
  font-weight: 900;
  font-size: 1.1rem;
  overflow: hidden;
}
.ayc-work-card__body,
.ayc-post-card__body { padding: 22px; }
.ayc-work-card h3,
.ayc-post-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.ayc-work-card p,
.ayc-post-card p { margin: 10px 0 0; color: var(--ayc-muted); font-size: .94rem; }
.ayc-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ayc-bg-soft);
  color: var(--ayc-green);
  font-weight: 800;
  font-size: .78rem;
}

.ayc-cta {
  border-radius: 36px;
  padding: clamp(30px, 5vw, 56px);
  background: linear-gradient(135deg, var(--ayc-green-dark), var(--ayc-green));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ayc-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(243,227,79,.22);
}
.ayc-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.ayc-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.ayc-cta p { margin: 12px 0 0; color: rgba(255,255,255,.82); }

.entry-header {
  padding: clamp(42px, 7vw, 76px) 0 36px;
  background: linear-gradient(180deg, var(--ayc-bg-soft), var(--ayc-bg));
}
.entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.3;
}
.entry-content {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) 0;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 2em 0 .65em; }
.entry-content h3 { font-size: 1.35rem; margin: 1.7em 0 .55em; }
.entry-content p { color: var(--ayc-muted); }
.entry-content a { color: var(--ayc-green); font-weight: 700; }

.ayc-contact-form {
  background: #fff;
  border: 1px solid var(--ayc-line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--ayc-shadow);
}
.ayc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ayc-form-field--full { grid-column: 1 / -1; }
.ayc-contact-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}
.ayc-contact-form input,
.ayc-contact-form textarea,
.ayc-contact-form select {
  width: 100%;
  border: 1px solid var(--ayc-line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ayc-ink);
}
.ayc-contact-form textarea { min-height: 150px; resize: vertical; }
.ayc-form-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ayc-bg-soft);
  color: var(--ayc-green);
  font-weight: 700;
}
.ayc-form-message--error { background: #fff1ef; color: #b33b2f; }

.site-footer {
  background: #1f2424;
  color: #fff;
  padding: 46px 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 28px;
}
.site-footer p { margin: 10px 0 0; color: rgba(255,255,255,.72); }
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
}
.footer-menu a { color: rgba(255,255,255,.85); font-weight: 700; font-size: .92rem; }
.site-info {
  padding-top: 20px;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}

.alignwide { max-width: var(--ayc-container); margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }


/* Header refinement v1.3: keep desktop navigation on one line */
@media (min-width: 1001px) {
  .site-header__inner {
    min-height: 76px;
  }
  .site-branding {
    max-width: 280px;
  }
  .primary-menu-wrap {
    min-width: 0;
  }
  .primary-menu {
    flex-wrap: nowrap;
  }
  .primary-menu a {
    white-space: nowrap;
  }
  .ayc-header-cta {
    flex: 0 0 auto;
  }
}

@media (max-width: 1100px) {
  .site-tagline { display: none; }
  .primary-menu a { padding: 9px 12px; font-size: 0.88rem; }
}
@media (max-width: 1100px) {
  .ayc-hero__inner,
  .ayc-two-col { grid-template-columns: 1fr; }
  .ayc-hero__visual { min-height: 360px; }
  .ayc-section-grid,
  .ayc-work-grid,
  .ayc-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ayc-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: block; }
  .primary-menu-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--ayc-line);
    border-radius: 22px;
    box-shadow: var(--ayc-shadow);
    padding: 16px;
  }
  body.menu-open .primary-menu-wrap { display: flex; }
  .primary-menu { display: grid; justify-content: stretch; gap: 6px; }
  .primary-menu > li { display: block; }
  .primary-menu a {
    display: block;
    min-height: 0;
    padding: 12px 12px;
    border-radius: 14px;
    white-space: normal;
  }
  .ayc-header-cta { width: 100%; margin-top: 10px; }
}
@media (max-width: 700px) {
  .admin-bar .site-header { top: 0; }
  .site-header__inner { min-height: 66px; }
  .site-branding { min-width: 0; flex: 1 1 auto; }
  .site-title { font-size: .92rem; }
  .site-branding__mark { width: 42px; height: 42px; border-radius: 14px; }
  .ayc-hero__actions { flex-direction: column; }
  .ayc-btn { width: 100%; }
  .ayc-visual-card--main { left: 0; }
  .ayc-visual-card--sub { right: 0; }
  .ayc-visual-card--mini { left: 0; bottom: 20px; }
  .ayc-section-grid,
  .ayc-capability-grid,
  .ayc-work-grid,
  .ayc-post-grid,
  .site-footer__grid,
  .ayc-cta__inner,
  .ayc-form-grid { grid-template-columns: 1fr; }
  .footer-menu { justify-content: flex-start; }
  .ayc-flow__item { grid-template-columns: 1fr; }
  .ayc-flow__num { width: 54px; height: 54px; }
}

/* Plugin compatibility additions */
.ayc-scene-card-auto a, .ayc-work-card a, .ayc-post-card a { text-decoration: none; }
.ayc-contact-form select { width: 100%; border: 1px solid var(--ayc-line); border-radius: 14px; padding: 12px 14px; background: #fff; }


/* Hero refinement v1.4: remove overlapping visual cards */
.ayc-hero--simple {
  padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 8vw, 104px);
}
.ayc-hero--simple .ayc-hero__inner {
  display: block;
  max-width: 960px;
}
.ayc-hero--simple .ayc-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.ayc-hero--simple .ayc-hero__title {
  max-width: 900px;
}
.ayc-hero--simple .ayc-hero__text {
  max-width: 760px;
}
.ayc-hero--simple::before {
  width: 560px;
  height: 560px;
  left: auto;
  right: -220px;
  top: -250px;
  background: rgba(230,244,243,.75);
}
.ayc-hero--simple::after {
  width: 320px;
  height: 320px;
  right: 12vw;
  top: 48px;
  background: rgba(243,227,79,.26);
}
@media (max-width: 700px) {
  .ayc-hero--simple {
    padding: 58px 0 70px;
  }
  .ayc-hero--simple::before {
    width: 360px;
    height: 360px;
    right: -180px;
    top: -180px;
  }
  .ayc-hero--simple::after {
    width: 180px;
    height: 180px;
    right: 4vw;
    top: 40px;
  }
}


/* Header overlap safety v1.5 */
@media (min-width: 1101px) {
  .site-branding {
    margin-right: 28px;
  }
  .primary-menu-wrap {
    overflow: visible;
  }
}


/* Use-case section readability v1.6 */
.ayc-scene-card-auto > .ayc-scene-body:only-child {
  grid-column: 1 / -1;
}
@media (min-width: 921px) {
  .ayc-scene-card-auto > .ayc-scene-body:only-child {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 760px);
    gap: 28px;
    align-items: start;
  }
  .ayc-scene-card-auto > .ayc-scene-body:only-child .ayc-before-after-auto {
    margin-top: 0;
  }
}
.ayc-before-after-auto {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
